visuddhinanda 4 سال پیش
والد
کامیت
a7921db229
100فایلهای تغییر یافته به همراه6684 افزوده شده و 8510 حذف شده
  1. 43 0
      app/sync/table_wbw.php
  2. 1 1
      node_modules/highcharts/es-modules/masters/modules/streamgraph.src.js
  3. 1 1
      node_modules/highcharts/es-modules/masters/modules/sunburst.src.js
  4. 1 1
      node_modules/highcharts/es-modules/masters/modules/tilemap.src.js
  5. 1 1
      node_modules/highcharts/es-modules/masters/modules/timeline.src.js
  6. 1 1
      node_modules/highcharts/es-modules/masters/modules/treegrid.src.js
  7. 1 1
      node_modules/highcharts/es-modules/masters/modules/treemap.src.js
  8. 1 1
      node_modules/highcharts/es-modules/masters/modules/variable-pie.src.js
  9. 1 1
      node_modules/highcharts/es-modules/masters/modules/variwide.src.js
  10. 1 1
      node_modules/highcharts/es-modules/masters/modules/vector.src.js
  11. 1 1
      node_modules/highcharts/es-modules/masters/modules/venn.src.js
  12. 1 1
      node_modules/highcharts/es-modules/masters/modules/windbarb.src.js
  13. 1 1
      node_modules/highcharts/es-modules/masters/modules/wordcloud.src.js
  14. 1 1
      node_modules/highcharts/es-modules/masters/modules/xrange.src.js
  15. 1 1
      node_modules/highcharts/es-modules/masters/themes/avocado.src.js
  16. 1 1
      node_modules/highcharts/es-modules/masters/themes/dark-blue.src.js
  17. 1 1
      node_modules/highcharts/es-modules/masters/themes/dark-green.src.js
  18. 1 1
      node_modules/highcharts/es-modules/masters/themes/dark-unica.src.js
  19. 1 1
      node_modules/highcharts/es-modules/masters/themes/gray.src.js
  20. 1 1
      node_modules/highcharts/es-modules/masters/themes/grid-light.src.js
  21. 1 1
      node_modules/highcharts/es-modules/masters/themes/grid.src.js
  22. 1 1
      node_modules/highcharts/es-modules/masters/themes/high-contrast-dark.src.js
  23. 1 1
      node_modules/highcharts/es-modules/masters/themes/high-contrast-light.src.js
  24. 1 1
      node_modules/highcharts/es-modules/masters/themes/sand-signika.src.js
  25. 1 1
      node_modules/highcharts/es-modules/masters/themes/skies.src.js
  26. 1 1
      node_modules/highcharts/es-modules/masters/themes/sunset.src.js
  27. 0 684
      node_modules/highcharts/es-modules/parts.js
  28. 97 97
      node_modules/highcharts/highcharts-3d.js
  29. 0 0
      node_modules/highcharts/highcharts-3d.js.map
  30. 103 110
      node_modules/highcharts/highcharts-3d.src.js
  31. 788 779
      node_modules/highcharts/highcharts-gantt.js
  32. 0 0
      node_modules/highcharts/highcharts-gantt.js.map
  33. 328 955
      node_modules/highcharts/highcharts-gantt.src.js
  34. 191 190
      node_modules/highcharts/highcharts-more.js
  35. 0 0
      node_modules/highcharts/highcharts-more.js.map
  36. 237 223
      node_modules/highcharts/highcharts-more.src.js
  37. 372 149
      node_modules/highcharts/highcharts.d.ts
  38. 574 567
      node_modules/highcharts/highcharts.js
  39. 0 0
      node_modules/highcharts/highcharts.js.map
  40. 372 149
      node_modules/highcharts/highcharts.src.d.ts
  41. 329 956
      node_modules/highcharts/highcharts.src.js
  42. 691 682
      node_modules/highcharts/highmaps.js
  43. 0 0
      node_modules/highcharts/highmaps.js.map
  44. 157 784
      node_modules/highcharts/highmaps.src.js
  45. 762 748
      node_modules/highcharts/highstock.js
  46. 0 0
      node_modules/highcharts/highstock.js.map
  47. 329 956
      node_modules/highcharts/highstock.src.js
  48. 2 2
      node_modules/highcharts/indicators/acceleration-bands.js
  49. 2 2
      node_modules/highcharts/indicators/acceleration-bands.src.js
  50. 3 3
      node_modules/highcharts/indicators/accumulation-distribution.js
  51. 0 0
      node_modules/highcharts/indicators/accumulation-distribution.js.map
  52. 6 2
      node_modules/highcharts/indicators/accumulation-distribution.src.js
  53. 7 7
      node_modules/highcharts/indicators/ao.js
  54. 0 0
      node_modules/highcharts/indicators/ao.js.map
  55. 10 5
      node_modules/highcharts/indicators/ao.src.js
  56. 3 3
      node_modules/highcharts/indicators/apo.js
  57. 0 0
      node_modules/highcharts/indicators/apo.js.map
  58. 3 2
      node_modules/highcharts/indicators/apo.src.js
  59. 3 3
      node_modules/highcharts/indicators/aroon-oscillator.js
  60. 0 0
      node_modules/highcharts/indicators/aroon-oscillator.js.map
  61. 2 16
      node_modules/highcharts/indicators/aroon-oscillator.src.js
  62. 4 4
      node_modules/highcharts/indicators/aroon.js
  63. 0 0
      node_modules/highcharts/indicators/aroon.js.map
  64. 4 6
      node_modules/highcharts/indicators/aroon.src.js
  65. 3 3
      node_modules/highcharts/indicators/atr.js
  66. 0 0
      node_modules/highcharts/indicators/atr.js.map
  67. 6 3
      node_modules/highcharts/indicators/atr.src.js
  68. 2 2
      node_modules/highcharts/indicators/bollinger-bands.js
  69. 2 2
      node_modules/highcharts/indicators/bollinger-bands.src.js
  70. 3 3
      node_modules/highcharts/indicators/cci.js
  71. 0 0
      node_modules/highcharts/indicators/cci.js.map
  72. 6 3
      node_modules/highcharts/indicators/cci.src.js
  73. 7 7
      node_modules/highcharts/indicators/chaikin.js
  74. 0 0
      node_modules/highcharts/indicators/chaikin.js.map
  75. 14 3
      node_modules/highcharts/indicators/chaikin.src.js
  76. 2 2
      node_modules/highcharts/indicators/cmf.js
  77. 0 0
      node_modules/highcharts/indicators/cmf.js.map
  78. 6 3
      node_modules/highcharts/indicators/cmf.src.js
  79. 2 2
      node_modules/highcharts/indicators/dema.js
  80. 4 4
      node_modules/highcharts/indicators/dema.src.js
  81. 3 3
      node_modules/highcharts/indicators/dpo.js
  82. 0 0
      node_modules/highcharts/indicators/dpo.js.map
  83. 3 2
      node_modules/highcharts/indicators/dpo.src.js
  84. 2 2
      node_modules/highcharts/indicators/ema.js
  85. 0 0
      node_modules/highcharts/indicators/ema.js.map
  86. 6 5
      node_modules/highcharts/indicators/ema.src.js
  87. 15 15
      node_modules/highcharts/indicators/ichimoku-kinko-hyo.js
  88. 0 0
      node_modules/highcharts/indicators/ichimoku-kinko-hyo.js.map
  89. 15 9
      node_modules/highcharts/indicators/ichimoku-kinko-hyo.src.js
  90. 201 180
      node_modules/highcharts/indicators/indicators-all.js
  91. 0 0
      node_modules/highcharts/indicators/indicators-all.js.map
  92. 889 102
      node_modules/highcharts/indicators/indicators-all.src.js
  93. 12 12
      node_modules/highcharts/indicators/indicators.js
  94. 0 0
      node_modules/highcharts/indicators/indicators.js.map
  95. 5 5
      node_modules/highcharts/indicators/indicators.src.js
  96. 2 2
      node_modules/highcharts/indicators/keltner-channels.js
  97. 3 3
      node_modules/highcharts/indicators/keltner-channels.src.js
  98. 12 12
      node_modules/highcharts/indicators/macd.js
  99. 0 0
      node_modules/highcharts/indicators/macd.js.map
  100. 12 12
      node_modules/highcharts/indicators/macd.src.js

+ 43 - 0
app/sync/table_wbw.php

@@ -0,0 +1,43 @@
+<?php
+
+require_once "../path.php";
+require_once "../sync/function.php";
+
+$input = (object) [
+    "database" =>  _FILE_DB_USER_WBW_,
+    "table" =>  "wbw",
+    "uuid" =>  "id",
+    "sync_id" =>  ["block_id","wid"],
+    "modify_time" =>  "modify_time",
+    "receive_time" =>  "receive_time",
+	"where"=>" ",
+    "insert" => [
+        'id',
+		'block_id',
+		'book',
+		'paragraph',
+		'wid',
+		'word',
+		'data',
+		'status',
+		'owner',
+		'receive_time',
+		'modify_time'
+    ],
+    "update" =>  [
+        'id',
+		'book',
+		'paragraph',
+		'word',
+		'data',
+		'status',
+		'owner',
+		'receive_time',
+		'modify_time'
+    ]    
+];
+
+$result = do_sync($input);
+echo json_encode($result, JSON_UNESCAPED_UNICODE);
+
+?>

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/streamgraph.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/streamgraph
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/sunburst.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/sunburst
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/tilemap.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highmaps JS v9.0.1 (2021-02-16)
+ * @license Highmaps JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/tilemap
  * @requires highcharts
  * @requires highcharts/modules/map

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/timeline.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/timeline
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/treegrid.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts Gantt JS v9.0.1 (2021-02-16)
+ * @license Highcharts Gantt JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/treegrid
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/treemap.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/treemap
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/variable-pie.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/variable-pie
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/variwide.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/variwide
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/vector.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/vector
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/venn.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/venn
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/windbarb.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/windbarb
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/wordcloud.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/wordcloud
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/modules/xrange.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/modules/xrange
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/avocado.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/avocado
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/dark-blue.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/dark-blue
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/dark-green.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/dark-green
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/dark-unica.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/dark-unica
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/gray.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/gray
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/grid-light.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/grid-light
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/grid.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/grid
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/high-contrast-dark.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/high-contrast-dark
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/high-contrast-light.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/high-contrast-light
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/sand-signika.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/sand-signika
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/skies.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/skies
  * @requires highcharts
  *

+ 1 - 1
node_modules/highcharts/es-modules/masters/themes/sunset.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  * @module highcharts/themes/sunset
  * @requires highcharts
  *

+ 0 - 684
node_modules/highcharts/es-modules/parts.js

@@ -1,684 +0,0 @@
-'use strict';
-/* eslint-disable max-len, no-unused-vars */
-var HighchartsConfig = {
-    'version': [{
-        'highcharts': '4.0.1-modified'
-    }, {
-        'Highstock': '2.0.1-modified'
-    }],
-    'parts': [{
-        'name': 'Intro',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Globals',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Utilities',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Options',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Color',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'SvgRenderer',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Html',
-        'component': 'Html',
-        'group': 'Features',
-        'baseUrl': 'parts',
-        'depends': {
-            'component': ['Core']
-        }
-    }, {
-        'name': 'VmlRenderer',
-        'component': 'VML renderer',
-        'group': 'Renderers',
-        'depends': {
-            'component': ['Html']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Tick',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'PlotLineOrBand',
-        'component': 'Plotlines or bands',
-        'group': 'Features',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Axis',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'DateTimeAxis',
-        'component': 'Datetime axis',
-        'group': 'Features',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'LogarithmicAxis',
-        'component': 'Logarithmic axis',
-        'group': 'Features',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Tooltip',
-        'component': 'Tooltip',
-        'group': 'Dynamics and Interaction',
-        'depends': {
-            'component': ['Interaction']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Pointer',
-        'component': 'Interaction',
-        'group': 'Dynamics and Interaction',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'TouchPointer',
-        'component': 'Touch',
-        'group': 'Dynamics and Interaction',
-        'depends': {
-            'component': ['Interaction', 'Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'MSPointer',
-        'component': 'MS Touch',
-        'group': 'Dynamics and Interaction',
-        'depends': {
-            'component': ['Touch']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Legend',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Chart',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'CenteredSeriesMixin',
-        'component': 'CenteredSeriesMixin',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Point',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Series',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Stacking',
-        'component': 'Stacking',
-        'group': 'Features',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Dynamics',
-        'component': 'Dynamics',
-        'group': 'Dynamics and Interaction',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'LineSeries',
-        'component': 'Line',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'AreaSeries',
-        'component': 'Area',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'SplineSeries',
-        'component': 'Spline',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'AreaSplineSeries',
-        'component': 'AreaSpline',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core', 'Area', 'Spline']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'ColumnSeries',
-        'component': 'Column',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'BarSeries',
-        'component': 'Bar',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core', 'Column']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'ScatterSeries',
-        'component': 'Scatter',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core', 'Column']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'PieSeries',
-        'component': 'Pie',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core'],
-            'name': ['CenteredSeriesMixin']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'DataLabels',
-        'component': 'Datalabels',
-        'group': 'Features',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Interaction',
-        'component': 'Interaction',
-        'group': 'Dynamics and Interaction',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'OrdinalAxis',
-        'component': 'Stock',
-        'group': 'Stock',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'DataGrouping',
-        'component': 'Stock',
-        'group': 'Stock',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'OHLCSeries',
-        'component': 'OHLC',
-        'group': 'Stock',
-        'depends': {
-            'component': ['Stock', 'Column']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'CandlestickSeries',
-        'component': 'Candlestick',
-        'group': 'Stock',
-        'depends': {
-            'component': ['Stock', 'OHLC', 'Column']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'FlagsSeries',
-        'component': 'Flags',
-        'group': 'Stock',
-        'depends': {
-            'component': ['Stock', 'Column']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Scroller',
-        'component': 'Stock',
-        'group': 'Stock',
-        'depends': {
-            'component': ['Core', 'Line']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'RangeSelector',
-        'component': 'Stock',
-        'group': 'Stock',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'StockNavigation',
-        'component': 'Stock',
-        'group': 'Stock',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'StockChart',
-        'component': 'Stock',
-        'group': 'Stock',
-        'depends': {
-            'component': ['Core', 'Interaction', 'Tooltip']
-        },
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Pane',
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'RadialAxis',
-        'depends': {
-            'name': ['CenteredSeriesMixin']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'AreaRangeSeries',
-        'component': 'Arearange',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Column', 'Area']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'AreaSplineRangeSeries',
-        'component': 'Areasplinerange',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Arearange', 'Spline']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'ColumnRangeSeries',
-        'component': 'Columnrange',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core', 'Column', 'Arearange']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'ColumnPyramidSeries',
-        'component': 'Columnpyramid',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core', 'Column']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'GaugeSeries',
-        'component': 'Gauge',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core', 'Line'],
-            'name': ['RadialAxis', 'Pane', 'PlotLineOrBand']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'BoxPlotSeries',
-        'component': 'Boxplot',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Column']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'ErrorBarSeries',
-        'component': 'Errorbar',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Boxplot']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'WaterfallSeries',
-        'component': 'Waterfall',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Column', 'Stacking']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'BubbleSeries',
-        'component': 'Bubble',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core', 'Scatter']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'PackedBubbleSeries',
-        'component': 'Packedbubble',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core', 'Scatter']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'Polar',
-        'component': 'Polar',
-        'group': 'Features',
-        'depends': {
-            'component': ['Core'],
-            'name': ['RadialAxis', 'Pane', 'Column', 'Area']
-        },
-        'baseUrl': 'parts-more'
-    }, {
-        'name': 'Facade',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'Outro',
-        'component': 'Core',
-        'group': 'Core',
-        'baseUrl': 'parts'
-    }, {
-        'name': 'funnel.src',
-        'component': 'Funnel',
-        'group': 'Chart and Serie types',
-        'depends': {
-            'component': ['Core', 'Datalabels', 'Pie']
-        },
-        'baseUrl': 'modules'
-    }, {
-        'name': 'exporting.src',
-        'component': 'Exporting',
-        'group': 'Modules',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'modules'
-    }, {
-        'name': 'offline-exporting.src',
-        'component': 'Offline exporting',
-        'group': 'Modules',
-        'depends': {
-            'component': ['Core', 'Exporting']
-        },
-        'baseUrl': 'modules'
-    }, {
-        'name': 'data.src',
-        'component': 'Data',
-        'group': 'Modules',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'modules'
-    }, {
-        'name': 'no-data-to-display.src',
-        'component': 'No data to display',
-        'group': 'Modules',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'modules'
-    }, {
-        'name': 'drilldown.src',
-        'component': 'Drilldown',
-        'group': 'Modules',
-        'depends': {
-            'component': ['Core']
-        },
-        'baseUrl': 'modules'
-    }, {
-        'name': 'solid-gauge.src',
-        'component': 'Solid gauge',
-        'group': 'Modules',
-        'depends': {
-            'component': ['Gauge']
-        },
-        'baseUrl': 'modules'
-    }, {
-        'name': 'HeatmapIntro',
-        'component': 'Heatmap',
-        'group': 'Modules',
-        'depends': {
-            'component': ['Core', 'Column', 'Scatter']
-        },
-        'baseUrl': 'parts-map'
-    }, {
-        'name': 'HeatmapGlobals',
-        'component': 'Heatmap',
-        'group': 'Modules',
-        'depends': {
-            'component': []
-        },
-        'baseUrl': 'parts-map'
-    }, {
-        'name': 'ColorAxis',
-        'component': 'Heatmap',
-        'group': 'Modules',
-        'depends': {
-            'component': []
-        },
-        'baseUrl': 'parts-map'
-    }, {
-        'name': 'ColorSeriesMixin',
-        'component': 'Heatmap',
-        'group': 'Modules',
-        'depends': {
-            'component': []
-        },
-        'baseUrl': 'parts-map'
-    }, {
-        'name': 'HeatmapSeries',
-        'component': 'Heatmap',
-        'group': 'Modules',
-        'depends': {
-            'component': []
-        },
-        'baseUrl': 'parts-map'
-    }, {
-        'name': 'Outro',
-        'component': 'Heatmap',
-        'group': 'Modules',
-        'depends': {
-            'component': []
-        },
-        'baseUrl': 'parts-map'
-    }],
-    'groups': {
-        'Core': {
-            'description': 'The Core of Highcharts',
-            'depends': {
-                'component': ['Line']
-            }
-        },
-        'Stock': {
-            'description': 'Highstock lets you create stock or general timeline charts'
-        },
-        'Chart and Serie types': {
-            'description': 'All the serie types available with Highcharts. Note: Line series is the base serie, required by the Core module'
-        },
-        'Features': {
-            'description': 'Enable behaviours to the chart'
-        },
-        'Renderers': {
-            'description': 'Alternatives to standard SVG rendering'
-        },
-        'Modules': {
-            'description': ''
-        },
-
-        'Dynamics and Interaction': {
-            'description': 'Leaving these out makes your chart completely static'
-        }
-    },
-    'components': {
-        'Core': {
-            'description': 'This module is required for all other modules.'
-        },
-        'Stock': {
-            'description': 'For general stock and timeline chart, including navigator, scrollbar and range selector'
-        },
-        'VML renderer': {
-            'description': 'This concerns old IE, which doesn\'t support SVG.'
-        },
-        'Tooltip': {
-            'description': 'The tooltip appears when hovering over a point in a series'
-        },
-        'Interaction': {
-            'description': 'Enabling mouse interaction with the chart'
-        },
-        'Touch': {
-            'description': 'Zooming the preferred way, by two-finger gestures. In response to the zoomType settings, the charts can be zoomed in and out as well as panned by one finger.'
-        },
-        'Html': {
-            'description': 'Use HTML to render the contents of the tooltip instead of SVG. Using HTML allows advanced formatting like tables and images in the tooltip. It is also recommended for rtl languages'
-        },
-        'Datetime axis': {
-            'description': 'Enable support for an Axis based on time units'
-        },
-        'Plotlines or bands': {
-            'description': 'Enable drawing plotlines and -bands on your chart.'
-        },
-        'Logarithmic axis': {
-            'description': 'Enable logarithmic axis. On a logarithmic axis the numbers along the axis increase logarithmically and the axis adjusts itself to the data series present in the chart.'
-        },
-        'Stacking': {
-            'description': 'Stack the data in your series on top of each other instead of overlapping.'
-        },
-        'Datalabels': {
-            'description': 'Data labels display each point\'s value or other information related to the point'
-        },
-        'Polar': {
-            'description': 'For turning the regular chart  into a polar chart.'
-        },
-        'MS Touch': {
-            'description': 'Optimised touch support for Microsoft touch devices'
-        },
-        'Dynamics': {
-            'description': 'Adds support for creating more dynamic charts, by adding API methods for adding series, points, etc.'
-        },
-        'Line': {
-            'description': ''
-        },
-        'Area': {
-            'description': ''
-        },
-        'Spline': {
-            'description': ''
-        },
-        'Column': {
-            'description': ''
-        },
-        'Bar': {
-            'description': ''
-        },
-        'Scatter': {
-            'description': ''
-        },
-        'Pie': {
-            'description': ''
-        },
-        'Arearange': {
-            'description': ''
-        },
-        'Areaspline': {
-            'description': ''
-        },
-        'Areasplinerange': {
-            'description': ''
-        },
-        'Columnrange': {
-            'description': ''
-        },
-        'Columnpyramid': {
-            'description': ''
-        },
-        'Packedbubble': {
-            'description': ''
-        },
-        'Gauge': {
-            'description': ''
-        },
-        'BoxPlot': {
-            'description': 'A box plot, or box-and-whiskers chart, displays groups of data by their five point summaries: minimum, lower quartile, median, upper quartile and maximum. '
-        },
-        'Bubble': {
-            'description': 'Bubble charts allow three dimensional data to be plotted in an X/Y diagram with sized bubbles.'
-        },
-        'Waterfall': {
-            'description': 'Waterfall charts display the cumulative effects of income and expences, or other similar data. In Highcharts, a point can either be positive or negative, an intermediate sum or the total sum.'
-        },
-        'Funnel': {
-            'description': 'A funnel is a chart type mainly used by sales personnel to monitor the stages of the sales cycle, from first interest to the closed sale.'
-        },
-        'ErrorBar': {
-            'description': 'An error bar series is a secondary series that lies on top of a parent series and displays the possible error range of each parent point.'
-        },
-        'OHLC': {
-            'description': 'The Open-High-Low-Close chart is typically used to illustrate movements in the price over time'
-        },
-        'Candlestick': {
-            'description': 'Like the OHLC chart, using columns to represent the range of price movement.'
-        },
-        'Flags': {
-            'description': 'Series consists of flags marking events or points of interests'
-        },
-        'Exporting': {
-            'description': 'For saving the chart to an image'
-        },
-        'Data': {
-            'description': 'Intended to ease the common process of loading data from CSV, HTML tables and even Google Spreadsheets'
-        },
-        'No data to display': {
-            'description': 'When there\'s no data to display, the chart is showing a message'
-        },
-        'Drilldown': {
-            'description': 'Add drill down features, allowing point click to show detailed data series related to each point.'
-        },
-        'Solid gauge': {
-            'description': 'Display your data in a solid gauge'
-        },
-        'Heatmap': {
-            'description': 'Make heatmap out of your data'
-        }
-    }
-};
-/* eslint-enable no-unused-vars */

+ 97 - 97
node_modules/highcharts/highcharts-3d.js

@@ -1,104 +1,104 @@
 /*
- Highcharts JS v9.0.1 (2021-02-15)
+ Highcharts JS v9.1.0 (2021-05-03)
 
  3D features for Highcharts JS
 
  License: www.highcharts.com/license
 */
-(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(D){a(D);a.Highcharts=D;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function D(a,q,u,C){a.hasOwnProperty(q)||(a[q]=C.apply(null,u))}a=a?a._modules:{};D(a,"Extensions/Math3D.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,q){function u(l,c,b){c=0<b&&b<Number.POSITIVE_INFINITY?
-b/(l.z+c.z+b):1;return{x:l.x*c,y:l.y*c}}function G(l,c,b,p){var m=c.options.chart.options3d,d=w(p,b?c.inverted:!1),e={x:c.plotWidth/2,y:c.plotHeight/2,z:m.depth/2,vd:w(m.depth,1)*w(m.viewDistance,0)},g=c.scale3d||1;p=n*m.beta*(d?-1:1);m=n*m.alpha*(d?-1:1);var r=Math.cos(m),f=Math.cos(-p),H=Math.sin(m),a=Math.sin(-p);b||(e.x+=c.plotLeft,e.y+=c.plotTop);return l.map(function(b){var c=(d?b.y:b.x)-e.x;var k=(d?b.x:b.y)-e.y;b=(b.z||0)-e.z;c={x:f*c-a*b,y:-H*a*c+r*k-f*H*b,z:r*a*c+H*k+r*f*b};k=u(c,e,e.vd);
-k.x=k.x*g+e.x;k.y=k.y*g+e.y;k.z=c.z*g+e.z;return{x:d?k.y:k.x,y:d?k.x:k.y,z:k.z}})}function d(d,c){var b=c.options.chart.options3d,p=c.plotWidth/2;c=c.plotHeight/2;b=w(b.depth,1)*w(b.viewDistance,0)+b.depth;return Math.sqrt(Math.pow(p-w(d.plotX,d.x),2)+Math.pow(c-w(d.plotY,d.y),2)+Math.pow(b-w(d.plotZ,d.z),2))}function v(d){var c=0,b;for(b=0;b<d.length;b++){var p=(b+1)%d.length;c+=d[b].x*d[p].y-d[p].x*d[b].y}return c/2}function t(d,c,b){return v(G(d,c,b))}var w=q.pick,n=a.deg2rad;a.perspective3D=u;
-a.perspective=G;a.pointCameraDistance=d;a.shapeArea=v;a.shapeArea3d=t;return{perspective:G,perspective3D:u,pointCameraDistance:d,shapeArea:v,shapeArea3D:t}});D(a,"Core/Renderer/SVG/SVGElement3D.js",[a["Core/Color/Color.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,q,u){var G=a.parse,d=u.defined,v=u.merge,t=u.objectEach,w=u.pick,n;(function(a){a.base={initArgs:function(c){var b=this,d=b.renderer,a=d[b.pathType+"Path"](c),l=a.zIndexes;b.parts.forEach(function(e){b[e]=
-d.path(a[e]).attr({"class":"highcharts-3d-"+e,zIndex:l[e]||0}).add(b)});b.attr({"stroke-linejoin":"round",zIndex:l.group});b.originalDestroy=b.destroy;b.destroy=b.destroyParts;b.forcedSides=a.forcedSides},singleSetterForParts:function(c,b,d,a,l,e){var g={};a=[null,null,a||"attr",l,e];var r=d&&d.zIndexes;d?(r&&r.group&&this.attr({zIndex:r.group}),t(d,function(b,e){g[e]={};g[e][c]=b;r&&(g[e].zIndex=d.zIndexes[e]||0)}),a[1]=g):(g[c]=b,a[0]=g);return this.processParts.apply(this,a)},processParts:function(c,
-b,d,a,l){var e=this;e.parts.forEach(function(g){b&&(c=w(b[g],!1));if(!1!==c)e[g][d](c,a,l)});return e},destroyParts:function(){this.processParts(null,null,"destroy");return this.originalDestroy()}};a.cuboid=v(a.base,{parts:["front","top","side"],pathType:"cuboid",attr:function(c,b,a,l){if("string"===typeof c&&"undefined"!==typeof b){var p=c;c={};c[p]=b}return c.shapeArgs||d(c.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](c.shapeArgs||c)):q.prototype.attr.call(this,c,void 0,
-a,l)},animate:function(c,b,p){if(d(c.x)&&d(c.y)){c=this.renderer[this.pathType+"Path"](c);var l=c.forcedSides;this.singleSetterForParts("d",null,c,"animate",b,p);this.attr({zIndex:c.zIndexes.group});l!==this.forcedSides&&(this.forcedSides=l,a.cuboid.fillSetter.call(this,this.fill))}else q.prototype.animate.call(this,c,b,p);return this},fillSetter:function(c){this.forcedSides=this.forcedSides||[];this.singleSetterForParts("fill",null,{front:c,top:G(c).brighten(0<=this.forcedSides.indexOf("top")?0:
-.1).get(),side:G(c).brighten(0<=this.forcedSides.indexOf("side")?0:-.1).get()});this.color=this.fill=c;return this}})})(n||(n={}));return n});D(a,"Core/Renderer/SVG/SVGRenderer3D.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Extensions/Math3D.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Renderer/SVG/SVGElement3D.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,q,u,C,d,v,t,w){function n(b,e,c,g,d,f,a,r){var h=[],k=
-f-d;return f>d&&f-d>Math.PI/2+.0001?(h=h.concat(n(b,e,c,g,d,d+Math.PI/2,a,r)),h=h.concat(n(b,e,c,g,d+Math.PI/2,f,a,r))):f<d&&d-f>Math.PI/2+.0001?(h=h.concat(n(b,e,c,g,d,d-Math.PI/2,a,r)),h=h.concat(n(b,e,c,g,d-Math.PI/2,f,a,r))):[["C",b+c*Math.cos(d)-c*E*k*Math.sin(d)+a,e+g*Math.sin(d)+g*E*k*Math.cos(d)+r,b+c*Math.cos(f)+c*E*k*Math.sin(f)+a,e+g*Math.sin(f)-g*E*k*Math.cos(f)+r,b+c*Math.cos(f)+a,e+g*Math.sin(f)+r]]}var l=a.animObject,c=q.parse,b=u.charts,p=u.deg2rad,m=C.perspective,x=C.shapeArea,e=
-w.defined,g=w.extend,r=w.merge,f=w.pick,H=Math.cos,J=Math.sin,K=Math.PI,E=4*(Math.sqrt(2)-1)/3/(K/2);t.prototype.elements3d=v;t.prototype.toLinePath=function(b,e){var c=[];b.forEach(function(b){c.push(["L",b.x,b.y])});b.length&&(c[0][0]="M",e&&c.push(["Z"]));return c};t.prototype.toLineSegments=function(b){var e=[],c=!0;b.forEach(function(b){e.push(c?["M",b.x,b.y]:["L",b.x,b.y]);c=!c});return e};t.prototype.face3d=function(c){var g=this,h=this.createElement("path");h.vertexes=[];h.insidePlotArea=
-!1;h.enabled=!0;h.attr=function(c){if("object"===typeof c&&(e(c.enabled)||e(c.vertexes)||e(c.insidePlotArea))){this.enabled=f(c.enabled,this.enabled);this.vertexes=f(c.vertexes,this.vertexes);this.insidePlotArea=f(c.insidePlotArea,this.insidePlotArea);delete c.enabled;delete c.vertexes;delete c.insidePlotArea;var h=m(this.vertexes,b[g.chartIndex],this.insidePlotArea),k=g.toLinePath(h,!0);h=x(h);h=this.enabled&&0<h?"visible":"hidden";c.d=k;c.visibility=h}return d.prototype.attr.apply(this,arguments)};
-h.animate=function(c){if("object"===typeof c&&(e(c.enabled)||e(c.vertexes)||e(c.insidePlotArea))){this.enabled=f(c.enabled,this.enabled);this.vertexes=f(c.vertexes,this.vertexes);this.insidePlotArea=f(c.insidePlotArea,this.insidePlotArea);delete c.enabled;delete c.vertexes;delete c.insidePlotArea;var h=m(this.vertexes,b[g.chartIndex],this.insidePlotArea),k=g.toLinePath(h,!0);h=x(h);h=this.enabled&&0<h?"visible":"hidden";c.d=k;this.attr("visibility",h)}return d.prototype.animate.apply(this,arguments)};
-return h.attr(c)};t.prototype.polyhedron=function(b){var c=this,h=this.g(),g=h.destroy;this.styledMode||h.attr({"stroke-linejoin":"round"});h.faces=[];h.destroy=function(){for(var b=0;b<h.faces.length;b++)h.faces[b].destroy();return g.call(this)};h.attr=function(b,g,f,k){if("object"===typeof b&&e(b.faces)){for(;h.faces.length>b.faces.length;)h.faces.pop().destroy();for(;h.faces.length<b.faces.length;)h.faces.push(c.face3d().add(h));for(var a=0;a<b.faces.length;a++)c.styledMode&&delete b.faces[a].fill,
-h.faces[a].attr(b.faces[a],null,f,k);delete b.faces}return d.prototype.attr.apply(this,arguments)};h.animate=function(b,e,g){if(b&&b.faces){for(;h.faces.length>b.faces.length;)h.faces.pop().destroy();for(;h.faces.length<b.faces.length;)h.faces.push(c.face3d().add(h));for(var f=0;f<b.faces.length;f++)h.faces[f].animate(b.faces[f],e,g);delete b.faces}return d.prototype.animate.apply(this,arguments)};return h.attr(b)};t.prototype.element3d=function(b,c){var e=this.g();g(e,this.elements3d[b]);e.initArgs(c);
-return e};t.prototype.cuboid=function(b){return this.element3d("cuboid",b)};t.prototype.cuboidPath=function(c){function e(b){return 0===k&&1<b&&6>b?{x:I[b].x,y:I[b].y+10,z:I[b].z}:I[0].x===I[7].x&&4<=b?{x:I[b].x+10,y:I[b].y,z:I[b].z}:0===p&&2>b||5<b?{x:I[b].x,y:I[b].y,z:I[b].z+10}:I[b]}function g(b){return I[b]}var f=c.x,d=c.y,a=c.z||0,k=c.height,r=c.width,p=c.depth,y=b[this.chartIndex],z=y.options.chart.options3d.alpha,F=0,I=[{x:f,y:d,z:a},{x:f+r,y:d,z:a},{x:f+r,y:d+k,z:a},{x:f,y:d+k,z:a},{x:f,y:d+
-k,z:a+p},{x:f+r,y:d+k,z:a+p},{x:f+r,y:d,z:a+p},{x:f,y:d,z:a+p}],l=[];I=m(I,y,c.insidePlotArea);var A=function(b,c,z){var f=[[],-1],d=b.map(g),h=c.map(g);b=b.map(e);c=c.map(e);0>x(d)?f=[d,0]:0>x(h)?f=[h,1]:z&&(l.push(z),f=0>x(b)?[d,0]:0>x(c)?[h,1]:[d,0]);return f};var B=A([3,2,1,0],[7,6,5,4],"front");c=B[0];var H=B[1];B=A([1,6,7,0],[4,5,2,3],"top");r=B[0];var J=B[1];B=A([1,2,5,6],[0,7,4,3],"side");A=B[0];B=B[1];1===B?F+=1E6*(y.plotWidth-f):B||(F+=1E6*f);F+=10*(!J||0<=z&&180>=z||360>z&&357.5<z?y.plotHeight-
-d:10+d);1===H?F+=100*a:H||(F+=100*(1E3-a));return{front:this.toLinePath(c,!0),top:this.toLinePath(r,!0),side:this.toLinePath(A,!0),zIndexes:{group:Math.round(F)},forcedSides:l,isFront:H,isTop:J}};t.prototype.arc3d=function(b){function e(b){var c=!1,e={},f;b=r(b);for(f in b)-1!==k.indexOf(f)&&(e[f]=b[f],delete b[f],c=!0);return c?[e,b]:!1}var h=this.g(),a=h.renderer,k="x y r innerR start end depth".split(" ");b=r(b);b.alpha=(b.alpha||0)*p;b.beta=(b.beta||0)*p;h.top=a.path();h.side1=a.path();h.side2=
-a.path();h.inn=a.path();h.out=a.path();h.onAdd=function(){var b=h.parentGroup,c=h.attr("class");h.top.add(h);["out","inn","side1","side2"].forEach(function(e){h[e].attr({"class":c+" highcharts-3d-side"}).add(b)})};["addClass","removeClass"].forEach(function(b){h[b]=function(){var c=arguments;["top","out","inn","side1","side2"].forEach(function(e){h[e][b].apply(h[e],c)})}});h.setPaths=function(b){var c=h.renderer.arc3dPath(b),e=100*c.zTop;h.attribs=b;h.top.attr({d:c.top,zIndex:c.zTop});h.inn.attr({d:c.inn,
-zIndex:c.zInn});h.out.attr({d:c.out,zIndex:c.zOut});h.side1.attr({d:c.side1,zIndex:c.zSide1});h.side2.attr({d:c.side2,zIndex:c.zSide2});h.zIndex=e;h.attr({zIndex:e});b.center&&(h.top.setRadialReference(b.center),delete b.center)};h.setPaths(b);h.fillSetter=function(b){var e=c(b).brighten(-.1).get();this.fill=b;this.side1.attr({fill:e});this.side2.attr({fill:e});this.inn.attr({fill:e});this.out.attr({fill:e});this.top.attr({fill:b});return this};["opacity","translateX","translateY","visibility"].forEach(function(b){h[b+
-"Setter"]=function(b,c){h[c]=b;["out","inn","side1","side2","top"].forEach(function(e){h[e].attr(c,b)})}});h.attr=function(b){var c;if("object"===typeof b&&(c=e(b))){var f=c[0];arguments[0]=c[1];g(h.attribs,f);h.setPaths(h.attribs)}return d.prototype.attr.apply(h,arguments)};h.animate=function(b,c,g){var a=this.attribs,k="data-"+Math.random().toString(26).substring(2,9);delete b.center;delete b.z;delete b.alpha;delete b.beta;var z=l(f(c,this.renderer.globalAnimation));if(z.duration){c=e(b);h[k]=0;
-b[k]=1;h[k+"Setter"]=u.noop;if(c){var F=c[0];z.step=function(b,c){function e(b){return a[b]+(f(F[b],a[b])-a[b])*c.pos}c.prop===k&&c.elem.setPaths(r(a,{x:e("x"),y:e("y"),r:e("r"),innerR:e("innerR"),start:e("start"),end:e("end"),depth:e("depth")}))}}c=z}return d.prototype.animate.call(this,b,c,g)};h.destroy=function(){this.top.destroy();this.out.destroy();this.inn.destroy();this.side1.destroy();this.side2.destroy();return d.prototype.destroy.call(this)};h.hide=function(){this.top.hide();this.out.hide();
-this.inn.hide();this.side1.hide();this.side2.hide()};h.show=function(b){this.top.show(b);this.out.show(b);this.inn.show(b);this.side1.show(b);this.side2.show(b)};return h};t.prototype.arc3dPath=function(b){function c(b){b%=2*Math.PI;b>Math.PI&&(b=2*Math.PI-b);return b}var e=b.x,f=b.y,d=b.start,g=b.end-.00001,a=b.r,r=b.innerR||0,k=b.depth||0,y=b.alpha,z=b.beta,F=Math.cos(d),p=Math.sin(d);b=Math.cos(g);var l=Math.sin(g),A=a*Math.cos(z);a*=Math.cos(y);var B=r*Math.cos(z),m=r*Math.cos(y);r=k*Math.sin(z);
-var t=k*Math.sin(y);k=[["M",e+A*F,f+a*p]];k=k.concat(n(e,f,A,a,d,g,0,0));k.push(["L",e+B*b,f+m*l]);k=k.concat(n(e,f,B,m,g,d,0,0));k.push(["Z"]);var x=0<z?Math.PI/2:0;z=0<y?0:Math.PI/2;x=d>-x?d:g>-x?-x:d;var E=g<K-z?g:d<K-z?K-z:g,v=2*K-z;y=[["M",e+A*H(x),f+a*J(x)]];y=y.concat(n(e,f,A,a,x,E,0,0));g>v&&d<v?(y.push(["L",e+A*H(E)+r,f+a*J(E)+t]),y=y.concat(n(e,f,A,a,E,v,r,t)),y.push(["L",e+A*H(v),f+a*J(v)]),y=y.concat(n(e,f,A,a,v,g,0,0)),y.push(["L",e+A*H(g)+r,f+a*J(g)+t]),y=y.concat(n(e,f,A,a,g,v,r,t)),
-y.push(["L",e+A*H(v),f+a*J(v)]),y=y.concat(n(e,f,A,a,v,E,0,0))):g>K-z&&d<K-z&&(y.push(["L",e+A*Math.cos(E)+r,f+a*Math.sin(E)+t]),y=y.concat(n(e,f,A,a,E,g,r,t)),y.push(["L",e+A*Math.cos(g),f+a*Math.sin(g)]),y=y.concat(n(e,f,A,a,g,E,0,0)));y.push(["L",e+A*Math.cos(E)+r,f+a*Math.sin(E)+t]);y=y.concat(n(e,f,A,a,E,x,r,t));y.push(["Z"]);z=[["M",e+B*F,f+m*p]];z=z.concat(n(e,f,B,m,d,g,0,0));z.push(["L",e+B*Math.cos(g)+r,f+m*Math.sin(g)+t]);z=z.concat(n(e,f,B,m,g,d,r,t));z.push(["Z"]);F=[["M",e+A*F,f+a*p],
-["L",e+A*F+r,f+a*p+t],["L",e+B*F+r,f+m*p+t],["L",e+B*F,f+m*p],["Z"]];e=[["M",e+A*b,f+a*l],["L",e+A*b+r,f+a*l+t],["L",e+B*b+r,f+m*l+t],["L",e+B*b,f+m*l],["Z"]];l=Math.atan2(t,-r);f=Math.abs(g+l);b=Math.abs(d+l);d=Math.abs((d+g)/2+l);f=c(f);b=c(b);d=c(d);d*=1E5;g=1E5*b;f*=1E5;return{top:k,zTop:1E5*Math.PI+1,out:y,zOut:Math.max(d,g,f),inn:z,zInn:Math.max(d,g,f),side1:F,zSide1:.99*f,side2:e,zSide2:.99*g}};return t});D(a,"Core/Axis/Tick3D.js",[a["Core/Utilities.js"]],function(a){var q=a.addEvent,u=a.extend,
-G=a.wrap;return function(){function d(){}d.compose=function(a){q(a,"afterGetLabelPosition",d.onAfterGetLabelPosition);G(a.prototype,"getMarkPath",d.wrapGetMarkPath)};d.onAfterGetLabelPosition=function(a){var d=this.axis.axis3D;d&&u(a.pos,d.fix3dPosition(a.pos))};d.wrapGetMarkPath=function(a){var d=this.axis.axis3D,v=a.apply(this,[].slice.call(arguments,1));if(d){var n=v[0],l=v[1];if("M"===n[0]&&"L"===l[0])return d=[d.fix3dPosition({x:n[1],y:n[2],z:0}),d.fix3dPosition({x:l[1],y:l[2],z:0})],this.axis.chart.renderer.toLineSegments(d)}return v};
-return d}()});D(a,"Core/Axis/Axis3D.js",[a["Core/Globals.js"],a["Extensions/Math3D.js"],a["Core/Axis/Tick.js"],a["Core/Axis/Tick3D.js"],a["Core/Utilities.js"]],function(a,q,u,C,d){var v=q.perspective,t=q.perspective3D,w=q.shapeArea,n=d.addEvent,l=d.merge,c=d.pick,b=d.wrap,p=a.deg2rad,m=function(){function b(b){this.axis=b}b.prototype.fix3dPosition=function(b,d){var e=this.axis,f=e.chart;if("colorAxis"===e.coll||!f.chart3d||!f.is3d())return b;var a=p*f.options.chart.options3d.alpha,g=p*f.options.chart.options3d.beta,
-l=c(d&&e.options.title.position3d,e.options.labels.position3d);d=c(d&&e.options.title.skew3d,e.options.labels.skew3d);var m=f.chart3d.frame3d,k=f.plotLeft,t=f.plotWidth+k,h=f.plotTop,n=f.plotHeight+h;f=!1;var x=0,u=0,q={x:0,y:1,z:0};b=e.axis3D.swapZ({x:b.x,y:b.y,z:0});if(e.isZAxis)if(e.opposite){if(null===m.axes.z.top)return{};u=b.y-h;b.x=m.axes.z.top.x;b.y=m.axes.z.top.y;k=m.axes.z.top.xDir;f=!m.top.frontFacing}else{if(null===m.axes.z.bottom)return{};u=b.y-n;b.x=m.axes.z.bottom.x;b.y=m.axes.z.bottom.y;
-k=m.axes.z.bottom.xDir;f=!m.bottom.frontFacing}else if(e.horiz)if(e.opposite){if(null===m.axes.x.top)return{};u=b.y-h;b.y=m.axes.x.top.y;b.z=m.axes.x.top.z;k=m.axes.x.top.xDir;f=!m.top.frontFacing}else{if(null===m.axes.x.bottom)return{};u=b.y-n;b.y=m.axes.x.bottom.y;b.z=m.axes.x.bottom.z;k=m.axes.x.bottom.xDir;f=!m.bottom.frontFacing}else if(e.opposite){if(null===m.axes.y.right)return{};x=b.x-t;b.x=m.axes.y.right.x;b.z=m.axes.y.right.z;k=m.axes.y.right.xDir;k={x:k.z,y:k.y,z:-k.x}}else{if(null===m.axes.y.left)return{};
-x=b.x-k;b.x=m.axes.y.left.x;b.z=m.axes.y.left.z;k=m.axes.y.left.xDir}"chart"!==l&&("flap"===l?e.horiz?(g=Math.sin(a),a=Math.cos(a),e.opposite&&(g=-g),f&&(g=-g),q={x:k.z*g,y:a,z:-k.x*g}):k={x:Math.cos(g),y:0,z:Math.sin(g)}:"ortho"===l?e.horiz?(q=Math.cos(a),l=Math.sin(g)*q,a=-Math.sin(a),g=-q*Math.cos(g),q={x:k.y*g-k.z*a,y:k.z*l-k.x*g,z:k.x*a-k.y*l},a=1/Math.sqrt(q.x*q.x+q.y*q.y+q.z*q.z),f&&(a=-a),q={x:a*q.x,y:a*q.y,z:a*q.z}):k={x:Math.cos(g),y:0,z:Math.sin(g)}:e.horiz?q={x:Math.sin(g)*Math.sin(a),
-y:Math.cos(a),z:-Math.cos(g)*Math.sin(a)}:k={x:Math.cos(g),y:0,z:Math.sin(g)});b.x+=x*k.x+u*q.x;b.y+=x*k.y+u*q.y;b.z+=x*k.z+u*q.z;f=v([b],e.chart)[0];d&&(0>w(v([b,{x:b.x+k.x,y:b.y+k.y,z:b.z+k.z},{x:b.x+q.x,y:b.y+q.y,z:b.z+q.z}],e.chart))&&(k={x:-k.x,y:-k.y,z:-k.z}),b=v([{x:b.x,y:b.y,z:b.z},{x:b.x+k.x,y:b.y+k.y,z:b.z+k.z},{x:b.x+q.x,y:b.y+q.y,z:b.z+q.z}],e.chart),f.matrix=[b[1].x-b[0].x,b[1].y-b[0].y,b[2].x-b[0].x,b[2].y-b[0].y,f.x,f.y],f.matrix[4]-=f.x*f.matrix[0]+f.y*f.matrix[2],f.matrix[5]-=f.x*
-f.matrix[1]+f.y*f.matrix[3]);return f};b.prototype.swapZ=function(b,c){var e=this.axis;return e.isZAxis?(c=c?0:e.chart.plotLeft,{x:c+b.z,y:b.y,z:b.x-c}):b};return b}();return function(){function a(){}a.compose=function(c){l(!0,c.defaultOptions,a.defaultOptions);c.keepProps.push("axis3D");n(c,"init",a.onInit);n(c,"afterSetOptions",a.onAfterSetOptions);n(c,"drawCrosshair",a.onDrawCrosshair);n(c,"destroy",a.onDestroy);c=c.prototype;b(c,"getLinePath",a.wrapGetLinePath);b(c,"getPlotBandPath",a.wrapGetPlotBandPath);
-b(c,"getPlotLinePath",a.wrapGetPlotLinePath);b(c,"getSlotWidth",a.wrapGetSlotWidth);b(c,"getTitlePosition",a.wrapGetTitlePosition);C.compose(u)};a.onAfterSetOptions=function(){var b=this.chart,a=this.options;b.is3d&&b.is3d()&&"colorAxis"!==this.coll&&(a.tickWidth=c(a.tickWidth,0),a.gridLineWidth=c(a.gridLineWidth,1))};a.onDestroy=function(){["backFrame","bottomFrame","sideFrame"].forEach(function(b){this[b]&&(this[b]=this[b].destroy())},this)};a.onDrawCrosshair=function(b){this.chart.is3d()&&"colorAxis"!==
-this.coll&&b.point&&(b.point.crosshairPos=this.isXAxis?b.point.axisXpos:this.len-b.point.axisYpos)};a.onInit=function(){this.axis3D||(this.axis3D=new m(this))};a.wrapGetLinePath=function(b){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:b.apply(this,[].slice.call(arguments,1))};a.wrapGetPlotBandPath=function(b){if(!this.chart.is3d()||"colorAxis"===this.coll)return b.apply(this,[].slice.call(arguments,1));var c=arguments,a=c[2],f=[];c=this.getPlotLinePath({value:c[1]});a=this.getPlotLinePath({value:a});
-if(c&&a)for(var e=0;e<c.length;e+=2){var d=c[e],m=c[e+1],l=a[e],k=a[e+1];"M"===d[0]&&"L"===m[0]&&"M"===l[0]&&"L"===k[0]&&f.push(d,m,k,["L",l[1],l[2]],["Z"])}return f};a.wrapGetPlotLinePath=function(b){var c=this.axis3D,a=this.chart,e=b.apply(this,[].slice.call(arguments,1));if("colorAxis"===this.coll||!a.chart3d||!a.is3d()||null===e)return e;var d=a.options.chart.options3d,m=this.isZAxis?a.plotWidth:d.depth;d=a.chart3d.frame3d;var l=e[0],p=e[1];e=[];"M"===l[0]&&"L"===p[0]&&(c=[c.swapZ({x:l[1],y:l[2],
-z:0}),c.swapZ({x:l[1],y:l[2],z:m}),c.swapZ({x:p[1],y:p[2],z:0}),c.swapZ({x:p[1],y:p[2],z:m})],this.horiz?(this.isZAxis?(d.left.visible&&e.push(c[0],c[2]),d.right.visible&&e.push(c[1],c[3])):(d.front.visible&&e.push(c[0],c[2]),d.back.visible&&e.push(c[1],c[3])),d.top.visible&&e.push(c[0],c[1]),d.bottom.visible&&e.push(c[2],c[3])):(d.front.visible&&e.push(c[0],c[2]),d.back.visible&&e.push(c[1],c[3]),d.left.visible&&e.push(c[0],c[1]),d.right.visible&&e.push(c[2],c[3])),e=v(e,this.chart,!1));return a.renderer.toLineSegments(e)};
-a.wrapGetSlotWidth=function(b,a){var e=this.chart,d=this.ticks,g=this.gridGroup;if(this.categories&&e.frameShapes&&e.is3d()&&g&&a&&a.label){g=g.element.childNodes[0].getBBox();var m=e.frameShapes.left.getBBox(),l=e.options.chart.options3d;e={x:e.plotWidth/2,y:e.plotHeight/2,z:l.depth/2,vd:c(l.depth,1)*c(l.viewDistance,0)};var p,k;l=a.pos;var n=d[l-1];d=d[l+1];0!==l&&n&&n.label&&n.label.xy&&(p=t({x:n.label.xy.x,y:n.label.xy.y,z:null},e,e.vd));d&&d.label&&d.label.xy&&(k=t({x:d.label.xy.x,y:d.label.xy.y,
-z:null},e,e.vd));d={x:a.label.xy.x,y:a.label.xy.y,z:null};d=t(d,e,e.vd);return Math.abs(p?d.x-p.x:k?k.x-d.x:g.x-m.x)}return b.apply(this,[].slice.call(arguments,1))};a.wrapGetTitlePosition=function(b){var c=b.apply(this,[].slice.call(arguments,1));return this.axis3D?this.axis3D.fix3dPosition(c,!0):c};a.defaultOptions={labels:{position3d:"offset",skew3d:!1},title:{position3d:null,skew3d:null}};return a}()});D(a,"Core/Axis/ZAxis.js",[a["Core/Axis/Axis.js"],a["Core/Utilities.js"]],function(a,q){var u=
-this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var a in c)c.hasOwnProperty(a)&&(b[a]=c[a])};return a(c,b)};return function(c,b){function d(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),G=q.addEvent,d=q.merge,v=q.pick,t=q.splat,w=function(){function a(){}a.compose=function(c){G(c,"afterGetAxes",a.onAfterGetAxes);c=c.prototype;c.addZAxis=
-a.wrapAddZAxis;c.collectionsWithInit.zAxis=[c.addZAxis];c.collectionsWithUpdate.push("zAxis")};a.onAfterGetAxes=function(){var c=this,b=this.options;b=b.zAxis=t(b.zAxis||{});c.is3d()&&(c.zAxis=[],b.forEach(function(b,a){b.index=a;b.isX=!0;c.addZAxis(b).setScale()}))};a.wrapAddZAxis=function(c){return new n(this,c)};return a}(),n=function(a){function c(b,c){b=a.call(this,b,c)||this;b.isZAxis=!0;return b}u(c,a);c.prototype.getSeriesExtremes=function(){var b=this,c=b.chart;b.hasVisibleSeries=!1;b.dataMin=
-b.dataMax=b.ignoreMinPadding=b.ignoreMaxPadding=void 0;b.stacking&&b.stacking.buildStacks();b.series.forEach(function(a){!a.visible&&c.options.chart&&c.options.chart.ignoreHiddenSeries||(b.hasVisibleSeries=!0,a=a.zData,a.length&&(b.dataMin=Math.min(v(b.dataMin,a[0]),Math.min.apply(null,a)),b.dataMax=Math.max(v(b.dataMax,a[0]),Math.max.apply(null,a))))})};c.prototype.setAxisSize=function(){var b=this.chart;a.prototype.setAxisSize.call(this);this.width=this.len=b.options.chart&&b.options.chart.options3d&&
-b.options.chart.options3d.depth||0;this.right=b.chartWidth-this.width-this.left};c.prototype.setOptions=function(b){b=d({offset:0,lineWidth:0},b);this.isZAxis=!0;a.prototype.setOptions.call(this,b);this.coll="zAxis"};c.ZChartComposition=w;return c}(a);return n});D(a,"Core/Chart/Chart3D.js",[a["Core/Axis/Axis.js"],a["Core/Axis/Axis3D.js"],a["Core/Chart/Chart.js"],a["Core/Animation/Fx.js"],a["Core/Globals.js"],a["Extensions/Math3D.js"],a["Core/Options.js"],a["Core/Utilities.js"],a["Core/Axis/ZAxis.js"]],
-function(a,q,u,C,d,v,t,w,n){var l=v.perspective,c=v.shapeArea3D,b=t.defaultOptions,p=w.addEvent,m=w.isArray,x=w.merge,e=w.pick,g=w.wrap,r;(function(a){function f(b){this.is3d()&&"scatter"===b.options.type&&(b.options.type="scatter3d")}function r(){if(this.chart3d&&this.is3d()){var b=this.renderer,c=this.options.chart.options3d,a=this.chart3d.get3dFrame(),e=this.plotLeft,f=this.plotLeft+this.plotWidth,g=this.plotTop,k=this.plotTop+this.plotHeight;c=c.depth;var h=e-(a.left.visible?a.left.size:0),l=
-f+(a.right.visible?a.right.size:0),m=g-(a.top.visible?a.top.size:0),p=k+(a.bottom.visible?a.bottom.size:0),r=0-(a.front.visible?a.front.size:0),n=c+(a.back.visible?a.back.size:0),t=this.hasRendered?"animate":"attr";this.chart3d.frame3d=a;this.frameShapes||(this.frameShapes={bottom:b.polyhedron().add(),top:b.polyhedron().add(),left:b.polyhedron().add(),right:b.polyhedron().add(),back:b.polyhedron().add(),front:b.polyhedron().add()});this.frameShapes.bottom[t]({"class":"highcharts-3d-frame highcharts-3d-frame-bottom",
-zIndex:a.bottom.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:h,y:p,z:r},{x:l,y:p,z:r},{x:l,y:p,z:n},{x:h,y:p,z:n}],enabled:a.bottom.visible},{fill:d.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:e,y:k,z:c},{x:f,y:k,z:c},{x:f,y:k,z:0},{x:e,y:k,z:0}],enabled:a.bottom.visible},{fill:d.color(a.bottom.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:r},{x:h,y:p,z:n},{x:e,y:k,z:c},{x:e,y:k,z:0}],enabled:a.bottom.visible&&!a.left.visible},{fill:d.color(a.bottom.color).brighten(-.1).get(),
-vertexes:[{x:l,y:p,z:n},{x:l,y:p,z:r},{x:f,y:k,z:0},{x:f,y:k,z:c}],enabled:a.bottom.visible&&!a.right.visible},{fill:d.color(a.bottom.color).get(),vertexes:[{x:l,y:p,z:r},{x:h,y:p,z:r},{x:e,y:k,z:0},{x:f,y:k,z:0}],enabled:a.bottom.visible&&!a.front.visible},{fill:d.color(a.bottom.color).get(),vertexes:[{x:h,y:p,z:n},{x:l,y:p,z:n},{x:f,y:k,z:c},{x:e,y:k,z:c}],enabled:a.bottom.visible&&!a.back.visible}]});this.frameShapes.top[t]({"class":"highcharts-3d-frame highcharts-3d-frame-top",zIndex:a.top.frontFacing?
--1E3:1E3,faces:[{fill:d.color(a.top.color).brighten(.1).get(),vertexes:[{x:h,y:m,z:n},{x:l,y:m,z:n},{x:l,y:m,z:r},{x:h,y:m,z:r}],enabled:a.top.visible},{fill:d.color(a.top.color).brighten(.1).get(),vertexes:[{x:e,y:g,z:0},{x:f,y:g,z:0},{x:f,y:g,z:c},{x:e,y:g,z:c}],enabled:a.top.visible},{fill:d.color(a.top.color).brighten(-.1).get(),vertexes:[{x:h,y:m,z:n},{x:h,y:m,z:r},{x:e,y:g,z:0},{x:e,y:g,z:c}],enabled:a.top.visible&&!a.left.visible},{fill:d.color(a.top.color).brighten(-.1).get(),vertexes:[{x:l,
-y:m,z:r},{x:l,y:m,z:n},{x:f,y:g,z:c},{x:f,y:g,z:0}],enabled:a.top.visible&&!a.right.visible},{fill:d.color(a.top.color).get(),vertexes:[{x:h,y:m,z:r},{x:l,y:m,z:r},{x:f,y:g,z:0},{x:e,y:g,z:0}],enabled:a.top.visible&&!a.front.visible},{fill:d.color(a.top.color).get(),vertexes:[{x:l,y:m,z:n},{x:h,y:m,z:n},{x:e,y:g,z:c},{x:f,y:g,z:c}],enabled:a.top.visible&&!a.back.visible}]});this.frameShapes.left[t]({"class":"highcharts-3d-frame highcharts-3d-frame-left",zIndex:a.left.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.left.color).brighten(.1).get(),
-vertexes:[{x:h,y:p,z:r},{x:e,y:k,z:0},{x:e,y:k,z:c},{x:h,y:p,z:n}],enabled:a.left.visible&&!a.bottom.visible},{fill:d.color(a.left.color).brighten(.1).get(),vertexes:[{x:h,y:m,z:n},{x:e,y:g,z:c},{x:e,y:g,z:0},{x:h,y:m,z:r}],enabled:a.left.visible&&!a.top.visible},{fill:d.color(a.left.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:n},{x:h,y:m,z:n},{x:h,y:m,z:r},{x:h,y:p,z:r}],enabled:a.left.visible},{fill:d.color(a.left.color).brighten(-.1).get(),vertexes:[{x:e,y:g,z:c},{x:e,y:k,z:c},{x:e,y:k,z:0},
-{x:e,y:g,z:0}],enabled:a.left.visible},{fill:d.color(a.left.color).get(),vertexes:[{x:h,y:p,z:r},{x:h,y:m,z:r},{x:e,y:g,z:0},{x:e,y:k,z:0}],enabled:a.left.visible&&!a.front.visible},{fill:d.color(a.left.color).get(),vertexes:[{x:h,y:m,z:n},{x:h,y:p,z:n},{x:e,y:k,z:c},{x:e,y:g,z:c}],enabled:a.left.visible&&!a.back.visible}]});this.frameShapes.right[t]({"class":"highcharts-3d-frame highcharts-3d-frame-right",zIndex:a.right.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.right.color).brighten(.1).get(),
-vertexes:[{x:l,y:p,z:n},{x:f,y:k,z:c},{x:f,y:k,z:0},{x:l,y:p,z:r}],enabled:a.right.visible&&!a.bottom.visible},{fill:d.color(a.right.color).brighten(.1).get(),vertexes:[{x:l,y:m,z:r},{x:f,y:g,z:0},{x:f,y:g,z:c},{x:l,y:m,z:n}],enabled:a.right.visible&&!a.top.visible},{fill:d.color(a.right.color).brighten(-.1).get(),vertexes:[{x:f,y:g,z:0},{x:f,y:k,z:0},{x:f,y:k,z:c},{x:f,y:g,z:c}],enabled:a.right.visible},{fill:d.color(a.right.color).brighten(-.1).get(),vertexes:[{x:l,y:p,z:r},{x:l,y:m,z:r},{x:l,y:m,
-z:n},{x:l,y:p,z:n}],enabled:a.right.visible},{fill:d.color(a.right.color).get(),vertexes:[{x:l,y:m,z:r},{x:l,y:p,z:r},{x:f,y:k,z:0},{x:f,y:g,z:0}],enabled:a.right.visible&&!a.front.visible},{fill:d.color(a.right.color).get(),vertexes:[{x:l,y:p,z:n},{x:l,y:m,z:n},{x:f,y:g,z:c},{x:f,y:k,z:c}],enabled:a.right.visible&&!a.back.visible}]});this.frameShapes.back[t]({"class":"highcharts-3d-frame highcharts-3d-frame-back",zIndex:a.back.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.back.color).brighten(.1).get(),
-vertexes:[{x:l,y:p,z:n},{x:h,y:p,z:n},{x:e,y:k,z:c},{x:f,y:k,z:c}],enabled:a.back.visible&&!a.bottom.visible},{fill:d.color(a.back.color).brighten(.1).get(),vertexes:[{x:h,y:m,z:n},{x:l,y:m,z:n},{x:f,y:g,z:c},{x:e,y:g,z:c}],enabled:a.back.visible&&!a.top.visible},{fill:d.color(a.back.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:n},{x:h,y:m,z:n},{x:e,y:g,z:c},{x:e,y:k,z:c}],enabled:a.back.visible&&!a.left.visible},{fill:d.color(a.back.color).brighten(-.1).get(),vertexes:[{x:l,y:m,z:n},{x:l,y:p,
-z:n},{x:f,y:k,z:c},{x:f,y:g,z:c}],enabled:a.back.visible&&!a.right.visible},{fill:d.color(a.back.color).get(),vertexes:[{x:e,y:g,z:c},{x:f,y:g,z:c},{x:f,y:k,z:c},{x:e,y:k,z:c}],enabled:a.back.visible},{fill:d.color(a.back.color).get(),vertexes:[{x:h,y:p,z:n},{x:l,y:p,z:n},{x:l,y:m,z:n},{x:h,y:m,z:n}],enabled:a.back.visible}]});this.frameShapes.front[t]({"class":"highcharts-3d-frame highcharts-3d-frame-front",zIndex:a.front.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.front.color).brighten(.1).get(),
-vertexes:[{x:h,y:p,z:r},{x:l,y:p,z:r},{x:f,y:k,z:0},{x:e,y:k,z:0}],enabled:a.front.visible&&!a.bottom.visible},{fill:d.color(a.front.color).brighten(.1).get(),vertexes:[{x:l,y:m,z:r},{x:h,y:m,z:r},{x:e,y:g,z:0},{x:f,y:g,z:0}],enabled:a.front.visible&&!a.top.visible},{fill:d.color(a.front.color).brighten(-.1).get(),vertexes:[{x:h,y:m,z:r},{x:h,y:p,z:r},{x:e,y:k,z:0},{x:e,y:g,z:0}],enabled:a.front.visible&&!a.left.visible},{fill:d.color(a.front.color).brighten(-.1).get(),vertexes:[{x:l,y:p,z:r},{x:l,
-y:m,z:r},{x:f,y:g,z:0},{x:f,y:k,z:0}],enabled:a.front.visible&&!a.right.visible},{fill:d.color(a.front.color).get(),vertexes:[{x:f,y:g,z:0},{x:e,y:g,z:0},{x:e,y:k,z:0},{x:f,y:k,z:0}],enabled:a.front.visible},{fill:d.color(a.front.color).get(),vertexes:[{x:l,y:p,z:r},{x:h,y:p,z:r},{x:h,y:m,z:r},{x:l,y:m,z:r}],enabled:a.front.visible}]})}}function n(){this.styledMode&&(this.renderer.definition({tagName:"style",textContent:".highcharts-3d-top{filter: url(#highcharts-brighter)}\n.highcharts-3d-side{filter: url(#highcharts-darker)}\n"}),
-[{name:"darker",slope:.6},{name:"brighter",slope:1.4}].forEach(function(b){this.renderer.definition({tagName:"filter",attributes:{id:"highcharts-"+b.name},children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncR",attributes:{type:"linear",slope:b.slope}},{tagName:"feFuncG",attributes:{type:"linear",slope:b.slope}},{tagName:"feFuncB",attributes:{type:"linear",slope:b.slope}}]}]})},this))}function t(){var b=this.options;this.is3d()&&(b.series||[]).forEach(function(a){"scatter"===(a.type||
-b.chart.type||b.chart.defaultSeriesType)&&(a.type="scatter3d")})}function k(){var b=this.options.chart.options3d;if(this.chart3d&&this.is3d()){b&&(b.alpha=b.alpha%360+(0<=b.alpha?0:360),b.beta=b.beta%360+(0<=b.beta?0:360));var a=this.inverted,c=this.clipBox,e=this.margin;c[a?"y":"x"]=-(e[3]||0);c[a?"x":"y"]=-(e[0]||0);c[a?"height":"width"]=this.chartWidth+(e[3]||0)+(e[1]||0);c[a?"width":"height"]=this.chartHeight+(e[0]||0)+(e[2]||0);this.scale3d=1;!0===b.fitToPlot&&(this.scale3d=this.chart3d.getScale(b.depth));
-this.chart3d.frame3d=this.chart3d.get3dFrame()}}function q(){this.is3d()&&(this.isDirtyBox=!0)}function h(){this.chart3d&&this.is3d()&&(this.chart3d.frame3d=this.chart3d.get3dFrame())}function v(){this.chart3d||(this.chart3d=new C(this))}function u(b){return this.is3d()||b.apply(this,[].slice.call(arguments,1))}function w(b){var a=this.series.length;if(this.is3d())for(;a--;)b=this.series[a],b.translate(),b.render();else b.call(this)}function G(b){b.apply(this,[].slice.call(arguments,1));this.is3d()&&
-(this.container.className+=" highcharts-3d-chart")}var C=function(){function b(b){this.frame3d=void 0;this.chart=b}b.prototype.get3dFrame=function(){var b=this.chart,a=b.options.chart.options3d,d=a.frame,f=b.plotLeft,g=b.plotLeft+b.plotWidth,k=b.plotTop,h=b.plotTop+b.plotHeight,m=a.depth,p=function(a){a=c(a,b);return.5<a?1:-.5>a?-1:0},r=p([{x:f,y:h,z:m},{x:g,y:h,z:m},{x:g,y:h,z:0},{x:f,y:h,z:0}]),n=p([{x:f,y:k,z:0},{x:g,y:k,z:0},{x:g,y:k,z:m},{x:f,y:k,z:m}]),t=p([{x:f,y:k,z:0},{x:f,y:k,z:m},{x:f,
-y:h,z:m},{x:f,y:h,z:0}]),q=p([{x:g,y:k,z:m},{x:g,y:k,z:0},{x:g,y:h,z:0},{x:g,y:h,z:m}]),v=p([{x:f,y:h,z:0},{x:g,y:h,z:0},{x:g,y:k,z:0},{x:f,y:k,z:0}]);p=p([{x:f,y:k,z:m},{x:g,y:k,z:m},{x:g,y:h,z:m},{x:f,y:h,z:m}]);var u=!1,J=!1,w=!1,H=!1;[].concat(b.xAxis,b.yAxis,b.zAxis).forEach(function(b){b&&(b.horiz?b.opposite?J=!0:u=!0:b.opposite?H=!0:w=!0)});var x=function(b,a,c){for(var d=["size","color","visible"],f={},g=0;g<d.length;g++)for(var k=d[g],h=0;h<b.length;h++)if("object"===typeof b[h]){var m=b[h][k];
-if("undefined"!==typeof m&&null!==m){f[k]=m;break}}b=c;!0===f.visible||!1===f.visible?b=f.visible:"auto"===f.visible&&(b=0<a);return{size:e(f.size,1),color:e(f.color,"none"),frontFacing:0<a,visible:b}};d={axes:{},bottom:x([d.bottom,d.top,d],r,u),top:x([d.top,d.bottom,d],n,J),left:x([d.left,d.right,d.side,d],t,w),right:x([d.right,d.left,d.side,d],q,H),back:x([d.back,d.front,d],p,!0),front:x([d.front,d.back,d],v,!1)};"auto"===a.axisLabelPosition?(q=function(b,a){return b.visible!==a.visible||b.visible&&
-a.visible&&b.frontFacing!==a.frontFacing},a=[],q(d.left,d.front)&&a.push({y:(k+h)/2,x:f,z:0,xDir:{x:1,y:0,z:0}}),q(d.left,d.back)&&a.push({y:(k+h)/2,x:f,z:m,xDir:{x:0,y:0,z:-1}}),q(d.right,d.front)&&a.push({y:(k+h)/2,x:g,z:0,xDir:{x:0,y:0,z:1}}),q(d.right,d.back)&&a.push({y:(k+h)/2,x:g,z:m,xDir:{x:-1,y:0,z:0}}),r=[],q(d.bottom,d.front)&&r.push({x:(f+g)/2,y:h,z:0,xDir:{x:1,y:0,z:0}}),q(d.bottom,d.back)&&r.push({x:(f+g)/2,y:h,z:m,xDir:{x:-1,y:0,z:0}}),n=[],q(d.top,d.front)&&n.push({x:(f+g)/2,y:k,z:0,
-xDir:{x:1,y:0,z:0}}),q(d.top,d.back)&&n.push({x:(f+g)/2,y:k,z:m,xDir:{x:-1,y:0,z:0}}),t=[],q(d.bottom,d.left)&&t.push({z:(0+m)/2,y:h,x:f,xDir:{x:0,y:0,z:-1}}),q(d.bottom,d.right)&&t.push({z:(0+m)/2,y:h,x:g,xDir:{x:0,y:0,z:1}}),h=[],q(d.top,d.left)&&h.push({z:(0+m)/2,y:k,x:f,xDir:{x:0,y:0,z:-1}}),q(d.top,d.right)&&h.push({z:(0+m)/2,y:k,x:g,xDir:{x:0,y:0,z:1}}),f=function(a,c,e){if(0===a.length)return null;if(1===a.length)return a[0];for(var d=0,f=l(a,b,!1),g=1;g<f.length;g++)e*f[g][c]>e*f[d][c]?d=
-g:e*f[g][c]===e*f[d][c]&&f[g].z<f[d].z&&(d=g);return a[d]},d.axes={y:{left:f(a,"x",-1),right:f(a,"x",1)},x:{top:f(n,"y",-1),bottom:f(r,"y",1)},z:{top:f(h,"y",-1),bottom:f(t,"y",1)}}):d.axes={y:{left:{x:f,z:0,xDir:{x:1,y:0,z:0}},right:{x:g,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:k,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:h,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:w?g:f,y:k,xDir:w?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:w?g:f,y:h,xDir:w?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}};return d};b.prototype.getScale=function(b){var a=
-this.chart,c=a.plotLeft,e=a.plotWidth+c,d=a.plotTop,f=a.plotHeight+d,g=c+a.plotWidth/2,k=d+a.plotHeight/2,h=Number.MAX_VALUE,m=-Number.MAX_VALUE,p=Number.MAX_VALUE,r=-Number.MAX_VALUE,n=1;var t=[{x:c,y:d,z:0},{x:c,y:d,z:b}];[0,1].forEach(function(b){t.push({x:e,y:t[b].y,z:t[b].z})});[0,1,2,3].forEach(function(b){t.push({x:t[b].x,y:f,z:t[b].z})});t=l(t,a,!1);t.forEach(function(b){h=Math.min(h,b.x);m=Math.max(m,b.x);p=Math.min(p,b.y);r=Math.max(r,b.y)});c>h&&(n=Math.min(n,1-Math.abs((c+g)/(h+g))%1));
-e<m&&(n=Math.min(n,(e-g)/(m-g)));d>p&&(n=0>p?Math.min(n,(d+k)/(-p+d+k)):Math.min(n,1-(d+k)/(p+k)%1));f<r&&(n=Math.min(n,Math.abs((f-k)/(r-k))));return n};return b}();a.Composition=C;a.defaultOptions={chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:null,frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}};a.compose=function(c,e){var l=c.prototype;e=e.prototype;l.is3d=function(){return this.options.chart.options3d&&
-this.options.chart.options3d.enabled};l.propsRequireDirtyBox.push("chart.options3d");l.propsRequireUpdateSeries.push("chart.options3d");e.matrixSetter=function(){if(1>this.pos&&(m(this.start)||m(this.end))){var b=this.start||[1,0,0,1,0,0],a=this.end||[1,0,0,1,0,0];var c=[];for(var e=0;6>e;e++)c.push(this.pos*a[e]+(1-this.pos)*b[e])}else c=this.end;this.elem.attr(this.prop,c,null,!0)};x(!0,b,a.defaultOptions);p(c,"init",v);p(c,"addSeries",f);p(c,"afterDrawChartBox",r);p(c,"afterGetContainer",n);p(c,
-"afterInit",t);p(c,"afterSetChartSize",k);p(c,"beforeRedraw",q);p(c,"beforeRender",h);g(d.Chart.prototype,"isInsidePlot",u);g(c,"renderSeries",w);g(c,"setClassName",G)}})(r||(r={}));r.compose(u,C);n.ZChartComposition.compose(u);q.compose(a);"";return r});D(a,"Core/Series/Series3D.js",[a["Extensions/Math3D.js"],a["Core/Series/Series.js"],a["Core/Utilities.js"]],function(a,q,u){var G=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,
-a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return a(c,b)};return function(c,b){function d(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),d=a.perspective;a=u.addEvent;var v=u.extend,t=u.merge,w=u.pick,n=u.isNumber;u=function(a){function c(){return null!==a&&a.apply(this,arguments)||this}G(c,a);c.prototype.translate=function(){a.prototype.translate.apply(this,arguments);this.chart.is3d()&&this.translate3dPoints()};
-c.prototype.translate3dPoints=function(){var b=this.options,a=this.chart,c=w(this.zAxis,a.options.zAxis[0]),l=[],e,g=[];this.zPadding=(b.stacking?n(b.stack)?b.stack:0:this.index||0)*(b.depth||0+(b.groupZPadding||1));for(e=0;e<this.data.length;e++){b=this.data[e];if(c&&c.translate){var r=c.logarithmic&&c.val2lin?c.val2lin(b.z):b.z;b.plotZ=c.translate(r);b.isInside=b.isInside?r>=c.min&&r<=c.max:!1}else b.plotZ=this.zPadding;b.axisXpos=b.plotX;b.axisYpos=b.plotY;b.axisZpos=b.plotZ;l.push({x:b.plotX,
-y:b.plotY,z:b.plotZ});g.push(b.plotX||0)}this.rawPointsX=g;a=d(l,a,!0);for(e=0;e<this.data.length;e++)b=this.data[e],c=a[e],b.plotX=c.x,b.plotY=c.y,b.plotZ=c.z};c.defaultOptions=t(q.defaultOptions);return c}(q);a(q,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()});v(q.prototype,{translate3dPoints:u.prototype.translate3dPoints});return u});D(a,"Series/Column3D/Column3DComposition.js",[a["Series/Column/ColumnSeries.js"],a["Core/Globals.js"],a["Core/Series/Series.js"],a["Extensions/Math3D.js"],
-a["Core/Series/SeriesRegistry.js"],a["Extensions/Stacking.js"],a["Core/Utilities.js"]],function(a,q,u,C,d,v,t){function w(b,a){var c=b.series,e={},d,g=1;c.forEach(function(b){d=x(b.options.stack,a?0:c.length-1-b.index);e[d]?e[d].series.push(b):(e[d]={series:[b],position:g},g++)});e.totalStacks=g+1;return e}function n(b){var a=b.apply(this,[].slice.call(arguments,1));this.chart.is3d&&this.chart.is3d()&&(a.stroke=this.options.edgeColor||a.fill,a["stroke-width"]=x(this.options.edgeWidth,1));return a}
-function l(b,a,c){var d=this.chart.is3d&&this.chart.is3d();d&&(this.options.inactiveOtherPoints=!0);b.call(this,a,c);d&&(this.options.inactiveOtherPoints=!1)}function c(b){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];return this.series.chart.is3d()?this.graphic&&"g"!==this.graphic.element.nodeName:b.apply(this,a)}var b=a.prototype,p=q.svg,m=C.perspective;q=t.addEvent;var x=t.pick;t=t.wrap;t(b,"translate",function(b){b.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.translate3dShapes()});
-t(u.prototype,"justifyDataLabel",function(b){return arguments[2].outside3dPlot?!1:b.apply(this,[].slice.call(arguments,1))});b.translate3dPoints=function(){};b.translate3dShapes=function(){var b=this,a=b.chart,c=b.options,d=c.depth,l=(c.stacking?c.stack||0:b.index)*(d+(c.groupZPadding||1)),p=b.borderWidth%2?.5:0,n;a.inverted&&!b.yAxis.reversed&&(p*=-1);!1!==c.grouping&&(l=0);l+=c.groupZPadding||1;b.data.forEach(function(c){c.outside3dPlot=null;if(null!==c.y){var e=c.shapeArgs,f=c.tooltipPos,g;[["x",
-"width"],["y","height"]].forEach(function(a){g=e[a[0]]-p;0>g&&(e[a[1]]+=e[a[0]]+p,e[a[0]]=-p,g=0);g+e[a[1]]>b[a[0]+"Axis"].len&&0!==e[a[1]]&&(e[a[1]]=b[a[0]+"Axis"].len-e[a[0]]);if(0!==e[a[1]]&&(e[a[0]]>=b[a[0]+"Axis"].len||e[a[0]]+e[a[1]]<=p)){for(var d in e)e[d]=0;c.outside3dPlot=!0}});"rect"===c.shapeType&&(c.shapeType="cuboid");e.z=l;e.depth=d;e.insidePlotArea=!0;n={x:e.x+e.width/2,y:e.y,z:l+d/2};a.inverted&&(n.x=e.height,n.y=c.clientX);c.plot3d=m([n],a,!0,!1)[0];f=m([{x:f[0],y:f[1],z:l+d/2}],
-a,!0,!1)[0];c.tooltipPos=[f.x,f.y]}});b.z=l};t(b,"animate",function(b){if(this.chart.is3d()){var a=arguments[1],c=this.yAxis,d=this,e=this.yAxis.reversed;p&&(a?d.data.forEach(function(b){null!==b.y&&(b.height=b.shapeArgs.height,b.shapey=b.shapeArgs.y,b.shapeArgs.height=1,e||(b.shapeArgs.y=b.stackY?b.plotY+c.translate(b.stackY):b.plotY+(b.negative?-b.height:b.height)))}):(d.data.forEach(function(b){null!==b.y&&(b.shapeArgs.height=b.height,b.shapeArgs.y=b.shapey,b.graphic&&b.graphic.animate(b.shapeArgs,
-d.options.animation))}),this.drawDataLabels()))}else b.apply(this,[].slice.call(arguments,1))});t(b,"plotGroup",function(b,a,c,d,m,l){"dataLabelsGroup"!==a&&this.chart.is3d()&&(this[a]&&delete this[a],l&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(l)),this[a]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[a].survive=!0,"group"===a||"markerGroup"===a))&&(arguments[3]="visible");return b.apply(this,Array.prototype.slice.call(arguments,
-1))});t(b,"setVisible",function(b,a){var c=this,d;c.chart.is3d()&&c.data.forEach(function(b){d=(b.visible=b.options.visible=a="undefined"===typeof a?!x(c.visible,b.visible):a)?"visible":"hidden";c.options.data[c.data.indexOf(b)]=b.options;b.graphic&&b.graphic.attr({visibility:d})});b.apply(this,Array.prototype.slice.call(arguments,1))});q(a,"afterInit",function(){if(this.chart.is3d()){var b=this.options,a=b.grouping,c=b.stacking,d=x(this.yAxis.options.reversedStacks,!0),m=0;if("undefined"===typeof a||
-a){a=w(this.chart,c);m=b.stack||0;for(c=0;c<a[m].series.length&&a[m].series[c]!==this;c++);m=10*(a.totalStacks-a[m].position)+(d?c:-c);this.xAxis.reversed||(m=10*a.totalStacks-m)}b.depth=b.depth||25;this.z=this.z||0;b.zIndex=m}});t(b,"pointAttribs",n);t(b,"setState",l);t(b.pointClass.prototype,"hasNewShapeType",c);d.seriesTypes.columnRange&&(q=d.seriesTypes.columnrange.prototype,t(q,"pointAttribs",n),t(q,"setState",l),t(q.pointClass.prototype,"hasNewShapeType",c),q.plotGroup=b.plotGroup,q.setVisible=
-b.setVisible);t(u.prototype,"alignDataLabel",function(b,a,c,d,l){var e=this.chart;d.outside3dPlot=a.outside3dPlot;if(e.is3d()&&this.is("column")){var f=this.options,g=x(d.inside,!!this.options.stacking),k=e.options.chart.options3d,p=a.pointWidth/2||0;f={x:l.x+p,y:l.y,z:this.z+f.depth/2};e.inverted&&(g&&(l.width=0,f.x+=a.shapeArgs.height/2),90<=k.alpha&&270>=k.alpha&&(f.y+=a.shapeArgs.width));f=m([f],e,!0,!1)[0];l.x=f.x-p;l.y=a.outside3dPlot?-9E9:f.y}b.apply(this,[].slice.call(arguments,1))});t(v.prototype,
-"getStackBox",function(b,a,c,f,l,p,n,t){var e=b.apply(this,[].slice.call(arguments,1));if(a.is3d()&&c.base){var g=+c.base.split(",")[0],h=a.series[g];g=a.options.chart.options3d;h&&h instanceof d.seriesTypes.column&&(h={x:e.x+(a.inverted?n:p/2),y:e.y,z:h.options.depth/2},a.inverted&&(e.width=0,90<=g.alpha&&270>=g.alpha&&(h.y+=p)),h=m([h],a,!0,!1)[0],e.x=h.x-p/2,e.y=h.y)}return e});"";return a});D(a,"Series/Pie3D/Pie3DPoint.js",[a["Core/Series/SeriesRegistry.js"]],function(a){var q=this&&this.__extends||
-function(){var a=function(d,q){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var n in d)d.hasOwnProperty(n)&&(a[n]=d[n])};return a(d,q)};return function(d,q){function t(){this.constructor=d}a(d,q);d.prototype=null===q?Object.create(q):(t.prototype=q.prototype,new t)}}();a=a.seriesTypes.pie.prototype.pointClass;var u=a.prototype.haloPath;return function(a){function d(){var d=null!==a&&a.apply(this,arguments)||this;d.series=void 0;return d}
-q(d,a);d.prototype.haloPath=function(){return this.series.chart.is3d()?[]:u.apply(this,arguments)};return d}(a)});D(a,"Series/Pie3D/Pie3DSeries.js",[a["Core/Globals.js"],a["Series/Pie3D/Pie3DPoint.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,q,u,C){var d=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return a(d,c)};
-return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),v=a.deg2rad,t=a.svg;a=C.extend;var w=C.pick;u=function(a){function l(){return null!==a&&a.apply(this,arguments)||this}d(l,a);l.prototype.addPoint=function(){a.prototype.addPoint.apply(this,arguments);this.chart.is3d()&&this.update(this.userOptions,!0)};l.prototype.animate=function(c){if(this.chart.is3d()){var b=this.options.animation;var d=this.center;var m=this.group,
-l=this.markerGroup;t&&(!0===b&&(b={}),c?(m.oldtranslateX=w(m.oldtranslateX,m.translateX),m.oldtranslateY=w(m.oldtranslateY,m.translateY),d={translateX:d[0],translateY:d[1],scaleX:.001,scaleY:.001},m.attr(d),l&&(l.attrSetters=m.attrSetters,l.attr(d))):(d={translateX:m.oldtranslateX,translateY:m.oldtranslateY,scaleX:1,scaleY:1},m.animate(d,b),l&&l.animate(d,b)))}else a.prototype.animate.apply(this,arguments)};l.prototype.drawDataLabels=function(){if(this.chart.is3d()){var c=this.chart.options.chart.options3d;
-this.data.forEach(function(b){var a=b.shapeArgs,d=a.r,l=(a.start+a.end)/2;b=b.labelPosition;var e=b.connectorPosition,g=-d*(1-Math.cos((a.alpha||c.alpha)*v))*Math.sin(l),n=d*(Math.cos((a.beta||c.beta)*v)-1)*Math.cos(l);[b.natural,e.breakAt,e.touchingSliceAt].forEach(function(b){b.x+=n;b.y+=g})})}a.prototype.drawDataLabels.apply(this,arguments)};l.prototype.pointAttribs=function(c){var b=a.prototype.pointAttribs.apply(this,arguments),d=this.options;this.chart.is3d()&&!this.chart.styledMode&&(b.stroke=
-d.edgeColor||c.color||this.color,b["stroke-width"]=w(d.edgeWidth,1));return b};l.prototype.translate=function(){a.prototype.translate.apply(this,arguments);if(this.chart.is3d()){var c=this,b=c.options,d=b.depth||0,l=c.chart.options.chart.options3d,n=l.alpha,e=l.beta,g=b.stacking?(b.stack||0)*d:c._i*d;g+=d/2;!1!==b.grouping&&(g=0);c.data.forEach(function(a){var f=a.shapeArgs;a.shapeType="arc3d";f.z=g;f.depth=.75*d;f.alpha=n;f.beta=e;f.center=c.center;f=(f.end+f.start)/2;a.slicedTranslation={translateX:Math.round(Math.cos(f)*
-b.slicedOffset*Math.cos(n*v)),translateY:Math.round(Math.sin(f)*b.slicedOffset*Math.cos(n*v))}})}};return l}(u.seriesTypes.pie);a(u,{pointClass:q});"";return u});D(a,"Series/Pie3D/Pie3DComposition.js",[a["Series/Pie3D/Pie3DPoint.js"],a["Series/Pie3D/Pie3DSeries.js"],a["Core/Series/SeriesRegistry.js"]],function(a,q,u){u.seriesTypes.pie.prototype.pointClass.prototype.haloPath=a.prototype.haloPath;u.seriesTypes.pie=q});D(a,"Series/Scatter3D/Scatter3DPoint.js",[a["Series/Scatter/ScatterSeries.js"],a["Core/Utilities.js"]],
-function(a,q){var u=this&&this.__extends||function(){var a=function(d,t){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var l in d)d.hasOwnProperty(l)&&(a[l]=d[l])};return a(d,t)};return function(d,t){function q(){this.constructor=d}a(d,t);d.prototype=null===t?Object.create(t):(q.prototype=t.prototype,new q)}}(),G=q.defined;return function(a){function d(){var d=null!==a&&a.apply(this,arguments)||this;d.options=void 0;d.series=void 0;return d}
-u(d,a);d.prototype.applyOptions=function(){a.prototype.applyOptions.apply(this,arguments);G(this.z)||(this.z=0);return this};return d}(a.prototype.pointClass)});D(a,"Series/Scatter3D/Scatter3DSeries.js",[a["Extensions/Math3D.js"],a["Series/Scatter3D/Scatter3DPoint.js"],a["Series/Scatter/ScatterSeries.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,q,u,C,d){var v=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&
-function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(d,c)};return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),t=a.pointCameraDistance;a=d.extend;var w=d.merge;d=function(a){function d(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}v(d,a);d.prototype.pointAttribs=function(c){var b=a.prototype.pointAttribs.apply(this,
-arguments);this.chart.is3d()&&c&&(b.zIndex=t(c,this.chart));return b};d.defaultOptions=w(u.defaultOptions,{tooltip:{pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>z: <b>{point.z}</b><br/>"}});return d}(u);a(d.prototype,{axisTypes:["xAxis","yAxis","zAxis"],directTouch:!0,parallelArrays:["x","y","z"],pointArrayMap:["x","y","z"],pointClass:q});C.registerSeriesType("scatter3d",d);"";return d});D(a,"Series/Area3DSeries.js",[a["Extensions/Math3D.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],
-function(a,q,u){var C=a.perspective;a=q.seriesTypes;var d=a.line,v=u.pick;u=u.wrap;u(a.area.prototype,"getGraphPath",function(a){var q=a.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d())return q;var n=d.prototype.getGraphPath,l=this.options;var c=[];var b=[],p,m=v(l.connectNulls,"percent"===l.stacking),t=Math.round(this.yAxis.getThreshold(l.threshold));if(this.rawPointsX)for(p=0;p<this.points.length;p++)c.push({x:this.rawPointsX[p],y:l.stacking?this.points[p].yBottom:t,z:this.zPadding});
-this.chart.options&&this.chart.options.chart&&(l=this.chart.options.chart.options3d,c=C(c,this.chart,!0).map(function(a){return{plotX:a.x,plotY:a.y,plotZ:a.z}}),this.group&&l&&l.depth&&l.beta&&(this.markerGroup&&(this.markerGroup.add(this.group),this.markerGroup.attr({translateX:0,translateY:0})),this.group.attr({zIndex:Math.max(1,270<l.beta||90>l.beta?l.depth-Math.round(this.zPadding||0):Math.round(this.zPadding||0))})));c.reversed=!0;c=n.call(this,c,!0,!0);c[0]&&"M"===c[0][0]&&(c[0]=["L",c[0][1],
-c[0][2]]);this.areaPath&&(c=this.areaPath.splice(0,this.areaPath.length/2).concat(c),c.xMap=this.areaPath.xMap,this.areaPath=c,n.call(this,b,!1,m));return q})});D(a,"masters/highcharts-3d.src.js",[],function(){})});
+(function(c){"object"===typeof module&&module.exports?(c["default"]=c,module.exports=c):"function"===typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(D){c(D);c.Highcharts=D;return c}):c("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(c){function D(c,r,t,E){c.hasOwnProperty(r)||(c[r]=E.apply(null,t))}c=c?c._modules:{};D(c,"Extensions/Math3D.js",[c["Core/Globals.js"],c["Core/Utilities.js"]],function(c,r){function t(m,b,a){b=0<a&&a<Number.POSITIVE_INFINITY?
+a/(m.z+b.z+a):1;return{x:m.x*b,y:m.y*b}}function B(m,b,a,q){var k=b.options.chart.options3d,d=w(q,a?b.inverted:!1),e={x:b.plotWidth/2,y:b.plotHeight/2,z:k.depth/2,vd:w(k.depth,1)*w(k.viewDistance,0)},g=b.scale3d||1;q=u*k.beta*(d?-1:1);k=u*k.alpha*(d?-1:1);var p=Math.cos(k),f=Math.cos(-q),c=Math.sin(k),H=Math.sin(-q);a||(e.x+=b.plotLeft,e.y+=b.plotTop);return m.map(function(a){var b=(d?a.y:a.x)-e.x;var l=(d?a.x:a.y)-e.y;a=(a.z||0)-e.z;b={x:f*b-H*a,y:-c*H*b+p*l-f*c*a,z:p*H*b+c*l+p*f*a};l=t(b,e,e.vd);
+l.x=l.x*g+e.x;l.y=l.y*g+e.y;l.z=b.z*g+e.z;return{x:d?l.y:l.x,y:d?l.x:l.y,z:l.z}})}function d(d,b){var a=b.options.chart.options3d,q=b.plotWidth/2;b=b.plotHeight/2;a=w(a.depth,1)*w(a.viewDistance,0)+a.depth;return Math.sqrt(Math.pow(q-w(d.plotX,d.x),2)+Math.pow(b-w(d.plotY,d.y),2)+Math.pow(a-w(d.plotZ,d.z),2))}function v(d){var b=0,a;for(a=0;a<d.length;a++){var q=(a+1)%d.length;b+=d[a].x*d[q].y-d[q].x*d[a].y}return b/2}function n(d,b,a){return v(B(d,b,a))}var w=r.pick,u=c.deg2rad;c.perspective3D=t;
+c.perspective=B;c.pointCameraDistance=d;c.shapeArea=v;c.shapeArea3d=n;return{perspective:B,perspective3D:t,pointCameraDistance:d,shapeArea:v,shapeArea3D:n}});D(c,"Core/Renderer/SVG/SVGElement3D.js",[c["Core/Color/Color.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Utilities.js"]],function(c,r,t){var B=c.parse,d=t.defined,v=t.merge,n=t.objectEach,w=t.pick,u;(function(c){c.base={initArgs:function(b){var a=this,d=a.renderer,c=d[a.pathType+"Path"](b),m=c.zIndexes;a.parts.forEach(function(e){a[e]=
+d.path(c[e]).attr({"class":"highcharts-3d-"+e,zIndex:m[e]||0}).add(a)});a.attr({"stroke-linejoin":"round",zIndex:m.group});a.originalDestroy=a.destroy;a.destroy=a.destroyParts;a.forcedSides=c.forcedSides},singleSetterForParts:function(b,a,d,c,m,e){var g={};c=[null,null,c||"attr",m,e];var p=d&&d.zIndexes;d?(p&&p.group&&this.attr({zIndex:p.group}),n(d,function(a,e){g[e]={};g[e][b]=a;p&&(g[e].zIndex=d.zIndexes[e]||0)}),c[1]=g):(g[b]=a,c[0]=g);return this.processParts.apply(this,c)},processParts:function(b,
+a,d,c,m){var e=this;e.parts.forEach(function(g){a&&(b=w(a[g],!1));if(!1!==b)e[g][d](b,c,m)});return e},destroyParts:function(){this.processParts(null,null,"destroy");return this.originalDestroy()}};c.cuboid=v(c.base,{parts:["front","top","side"],pathType:"cuboid",attr:function(b,a,c,m){if("string"===typeof b&&"undefined"!==typeof a){var q=b;b={};b[q]=a}return b.shapeArgs||d(b.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](b.shapeArgs||b)):r.prototype.attr.call(this,b,void 0,
+c,m)},animate:function(b,a,q){if(d(b.x)&&d(b.y)){b=this.renderer[this.pathType+"Path"](b);var m=b.forcedSides;this.singleSetterForParts("d",null,b,"animate",a,q);this.attr({zIndex:b.zIndexes.group});m!==this.forcedSides&&(this.forcedSides=m,c.cuboid.fillSetter.call(this,this.fill))}else r.prototype.animate.call(this,b,a,q);return this},fillSetter:function(b){this.forcedSides=this.forcedSides||[];this.singleSetterForParts("fill",null,{front:b,top:B(b).brighten(0<=this.forcedSides.indexOf("top")?0:
+.1).get(),side:B(b).brighten(0<=this.forcedSides.indexOf("side")?0:-.1).get()});this.color=this.fill=b;return this}})})(u||(u={}));return u});D(c,"Core/Renderer/SVG/SVGRenderer3D.js",[c["Core/Animation/AnimationUtilities.js"],c["Core/Color/Color.js"],c["Core/Globals.js"],c["Extensions/Math3D.js"],c["Core/Renderer/SVG/SVGElement.js"],c["Core/Renderer/SVG/SVGElement3D.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Utilities.js"]],function(c,r,t,E,d,v,n,w){function u(a,e,b,g,f,d,c,p){var h=[],l=
+d-f;return d>f&&d-f>Math.PI/2+.0001?(h=h.concat(u(a,e,b,g,f,f+Math.PI/2,c,p)),h=h.concat(u(a,e,b,g,f+Math.PI/2,d,c,p))):d<f&&f-d>Math.PI/2+.0001?(h=h.concat(u(a,e,b,g,f,f-Math.PI/2,c,p)),h=h.concat(u(a,e,b,g,f-Math.PI/2,d,c,p))):[["C",a+b*Math.cos(f)-b*F*l*Math.sin(f)+c,e+g*Math.sin(f)+g*F*l*Math.cos(f)+p,a+b*Math.cos(d)+b*F*l*Math.sin(d)+c,e+g*Math.sin(d)-g*F*l*Math.cos(d)+p,a+b*Math.cos(d)+c,e+g*Math.sin(d)+p]]}var m=c.animObject,b=r.parse,a=t.charts,q=t.deg2rad,k=E.perspective,y=E.shapeArea,e=
+w.defined,g=w.extend,p=w.merge,f=w.pick,J=Math.cos,H=Math.sin,K=Math.PI,F=4*(Math.sqrt(2)-1)/3/(K/2);n.prototype.elements3d=v;n.prototype.toLinePath=function(a,e){var b=[];a.forEach(function(a){b.push(["L",a.x,a.y])});a.length&&(b[0][0]="M",e&&b.push(["Z"]));return b};n.prototype.toLineSegments=function(a){var e=[],b=!0;a.forEach(function(a){e.push(b?["M",a.x,a.y]:["L",a.x,a.y]);b=!b});return e};n.prototype.face3d=function(b){var g=this,h=this.createElement("path");h.vertexes=[];h.insidePlotArea=
+!1;h.enabled=!0;h.attr=function(b){if("object"===typeof b&&(e(b.enabled)||e(b.vertexes)||e(b.insidePlotArea))){this.enabled=f(b.enabled,this.enabled);this.vertexes=f(b.vertexes,this.vertexes);this.insidePlotArea=f(b.insidePlotArea,this.insidePlotArea);delete b.enabled;delete b.vertexes;delete b.insidePlotArea;var h=k(this.vertexes,a[g.chartIndex],this.insidePlotArea),l=g.toLinePath(h,!0);h=y(h);b.d=l;b.visibility=this.enabled&&0<h?"visible":"hidden"}return d.prototype.attr.apply(this,arguments)};
+h.animate=function(b){if("object"===typeof b&&(e(b.enabled)||e(b.vertexes)||e(b.insidePlotArea))){this.enabled=f(b.enabled,this.enabled);this.vertexes=f(b.vertexes,this.vertexes);this.insidePlotArea=f(b.insidePlotArea,this.insidePlotArea);delete b.enabled;delete b.vertexes;delete b.insidePlotArea;var h=k(this.vertexes,a[g.chartIndex],this.insidePlotArea),l=g.toLinePath(h,!0);h=y(h);h=this.enabled&&0<h?"visible":"hidden";b.d=l;this.attr("visibility",h)}return d.prototype.animate.apply(this,arguments)};
+return h.attr(b)};n.prototype.polyhedron=function(a){var b=this,h=this.g(),g=h.destroy;this.styledMode||h.attr({"stroke-linejoin":"round"});h.faces=[];h.destroy=function(){for(var a=0;a<h.faces.length;a++)h.faces[a].destroy();return g.call(this)};h.attr=function(a,g,f,l){if("object"===typeof a&&e(a.faces)){for(;h.faces.length>a.faces.length;)h.faces.pop().destroy();for(;h.faces.length<a.faces.length;)h.faces.push(b.face3d().add(h));for(var c=0;c<a.faces.length;c++)b.styledMode&&delete a.faces[c].fill,
+h.faces[c].attr(a.faces[c],null,f,l);delete a.faces}return d.prototype.attr.apply(this,arguments)};h.animate=function(a,e,g){if(a&&a.faces){for(;h.faces.length>a.faces.length;)h.faces.pop().destroy();for(;h.faces.length<a.faces.length;)h.faces.push(b.face3d().add(h));for(var f=0;f<a.faces.length;f++)h.faces[f].animate(a.faces[f],e,g);delete a.faces}return d.prototype.animate.apply(this,arguments)};return h.attr(a)};n.prototype.element3d=function(a,b){var e=this.g();g(e,this.elements3d[a]);e.initArgs(b);
+return e};n.prototype.cuboid=function(a){return this.element3d("cuboid",a)};n.prototype.cuboidPath=function(b){function e(a){return 0===l&&1<a&&6>a?{x:I[a].x,y:I[a].y+10,z:I[a].z}:I[0].x===I[7].x&&4<=a?{x:I[a].x+10,y:I[a].y,z:I[a].z}:0===m&&2>a||5<a?{x:I[a].x,y:I[a].y,z:I[a].z+10}:I[a]}function g(a){return I[a]}var f=b.x||0,d=b.y||0,c=b.z||0,l=b.height||0,p=b.width||0,m=b.depth||0,x=a[this.chartIndex],z=x.options.chart.options3d.alpha,G=0,I=[{x:f,y:d,z:c},{x:f+p,y:d,z:c},{x:f+p,y:d+l,z:c},{x:f,y:d+
+l,z:c},{x:f,y:d+l,z:c+m},{x:f+p,y:d+l,z:c+m},{x:f+p,y:d,z:c+m},{x:f,y:d,z:c+m}],q=[];I=k(I,x,b.insidePlotArea);var A=function(a,b,z){var f=[[],-1],d=a.map(g),h=b.map(g);a=a.map(e);b=b.map(e);0>y(d)?f=[d,0]:0>y(h)?f=[h,1]:z&&(q.push(z),f=0>y(a)?[d,0]:0>y(b)?[h,1]:[d,0]);return f};var C=A([3,2,1,0],[7,6,5,4],"front");b=C[0];var H=C[1];C=A([1,6,7,0],[4,5,2,3],"top");p=C[0];var J=C[1];C=A([1,2,5,6],[0,7,4,3],"side");A=C[0];C=C[1];1===C?G+=1E6*(x.plotWidth-f):C||(G+=1E6*f);G+=10*(!J||0<=z&&180>=z||360>
+z&&357.5<z?x.plotHeight-d:10+d);1===H?G+=100*c:H||(G+=100*(1E3-c));return{front:this.toLinePath(b,!0),top:this.toLinePath(p,!0),side:this.toLinePath(A,!0),zIndexes:{group:Math.round(G)},forcedSides:q,isFront:H,isTop:J}};n.prototype.arc3d=function(a){function e(a){var b=!1,e={},f;a=p(a);for(f in a)-1!==l.indexOf(f)&&(e[f]=a[f],delete a[f],b=!0);return b?[e,a]:!1}var h=this.g(),c=h.renderer,l="x y r innerR start end depth".split(" ");a=p(a);a.alpha=(a.alpha||0)*q;a.beta=(a.beta||0)*q;h.top=c.path();
+h.side1=c.path();h.side2=c.path();h.inn=c.path();h.out=c.path();h.onAdd=function(){var a=h.parentGroup,b=h.attr("class");h.top.add(h);["out","inn","side1","side2"].forEach(function(e){h[e].attr({"class":b+" highcharts-3d-side"}).add(a)})};["addClass","removeClass"].forEach(function(a){h[a]=function(){var b=arguments;["top","out","inn","side1","side2"].forEach(function(e){h[e][a].apply(h[e],b)})}});h.setPaths=function(a){var b=h.renderer.arc3dPath(a),e=100*b.zTop;h.attribs=a;h.top.attr({d:b.top,zIndex:b.zTop});
+h.inn.attr({d:b.inn,zIndex:b.zInn});h.out.attr({d:b.out,zIndex:b.zOut});h.side1.attr({d:b.side1,zIndex:b.zSide1});h.side2.attr({d:b.side2,zIndex:b.zSide2});h.zIndex=e;h.attr({zIndex:e});a.center&&(h.top.setRadialReference(a.center),delete a.center)};h.setPaths(a);h.fillSetter=function(a){var e=b(a).brighten(-.1).get();this.fill=a;this.side1.attr({fill:e});this.side2.attr({fill:e});this.inn.attr({fill:e});this.out.attr({fill:e});this.top.attr({fill:a});return this};["opacity","translateX","translateY",
+"visibility"].forEach(function(a){h[a+"Setter"]=function(a,b){h[b]=a;["out","inn","side1","side2","top"].forEach(function(e){h[e].attr(b,a)})}});h.attr=function(a){var b;if("object"===typeof a&&(b=e(a))){var f=b[0];arguments[0]=b[1];g(h.attribs,f);h.setPaths(h.attribs)}return d.prototype.attr.apply(h,arguments)};h.animate=function(a,b,g){var c=this.attribs,l="data-"+Math.random().toString(26).substring(2,9);delete a.center;delete a.z;delete a.alpha;delete a.beta;var z=m(f(b,this.renderer.globalAnimation));
+if(z.duration){b=e(a);h[l]=0;a[l]=1;h[l+"Setter"]=t.noop;if(b){var G=b[0];z.step=function(a,b){function e(a){return c[a]+(f(G[a],c[a])-c[a])*b.pos}b.prop===l&&b.elem.setPaths(p(c,{x:e("x"),y:e("y"),r:e("r"),innerR:e("innerR"),start:e("start"),end:e("end"),depth:e("depth")}))}}b=z}return d.prototype.animate.call(this,a,b,g)};h.destroy=function(){this.top.destroy();this.out.destroy();this.inn.destroy();this.side1.destroy();this.side2.destroy();return d.prototype.destroy.call(this)};h.hide=function(){this.top.hide();
+this.out.hide();this.inn.hide();this.side1.hide();this.side2.hide()};h.show=function(a){this.top.show(a);this.out.show(a);this.inn.show(a);this.side1.show(a);this.side2.show(a)};return h};n.prototype.arc3dPath=function(a){function b(a){a%=2*Math.PI;a>Math.PI&&(a=2*Math.PI-a);return a}var e=a.x||0,f=a.y||0,g=a.start||0,d=(a.end||0)-.00001,c=a.r||0,p=a.innerR||0,l=a.depth||0,x=a.alpha||0,z=a.beta||0,G=Math.cos(g),m=Math.sin(g);a=Math.cos(d);var q=Math.sin(d),A=c*Math.cos(z);c*=Math.cos(x);var C=p*Math.cos(z),
+k=p*Math.cos(x);p=l*Math.sin(z);var n=l*Math.sin(x);l=[["M",e+A*G,f+c*m]];l=l.concat(u(e,f,A,c,g,d,0,0));l.push(["L",e+C*a,f+k*q]);l=l.concat(u(e,f,C,k,d,g,0,0));l.push(["Z"]);var y=0<z?Math.PI/2:0;z=0<x?0:Math.PI/2;y=g>-y?g:d>-y?-y:g;var F=d<K-z?d:g<K-z?K-z:d,v=2*K-z;x=[["M",e+A*J(y),f+c*H(y)]];x=x.concat(u(e,f,A,c,y,F,0,0));d>v&&g<v?(x.push(["L",e+A*J(F)+p,f+c*H(F)+n]),x=x.concat(u(e,f,A,c,F,v,p,n)),x.push(["L",e+A*J(v),f+c*H(v)]),x=x.concat(u(e,f,A,c,v,d,0,0)),x.push(["L",e+A*J(d)+p,f+c*H(d)+n]),
+x=x.concat(u(e,f,A,c,d,v,p,n)),x.push(["L",e+A*J(v),f+c*H(v)]),x=x.concat(u(e,f,A,c,v,F,0,0))):d>K-z&&g<K-z&&(x.push(["L",e+A*Math.cos(F)+p,f+c*Math.sin(F)+n]),x=x.concat(u(e,f,A,c,F,d,p,n)),x.push(["L",e+A*Math.cos(d),f+c*Math.sin(d)]),x=x.concat(u(e,f,A,c,d,F,0,0)));x.push(["L",e+A*Math.cos(F)+p,f+c*Math.sin(F)+n]);x=x.concat(u(e,f,A,c,F,y,p,n));x.push(["Z"]);z=[["M",e+C*G,f+k*m]];z=z.concat(u(e,f,C,k,g,d,0,0));z.push(["L",e+C*Math.cos(d)+p,f+k*Math.sin(d)+n]);z=z.concat(u(e,f,C,k,d,g,p,n));z.push(["Z"]);
+G=[["M",e+A*G,f+c*m],["L",e+A*G+p,f+c*m+n],["L",e+C*G+p,f+k*m+n],["L",e+C*G,f+k*m],["Z"]];e=[["M",e+A*a,f+c*q],["L",e+A*a+p,f+c*q+n],["L",e+C*a+p,f+k*q+n],["L",e+C*a,f+k*q],["Z"]];q=Math.atan2(n,-p);f=Math.abs(d+q);a=Math.abs(g+q);g=Math.abs((g+d)/2+q);f=b(f);a=b(a);g=b(g);g*=1E5;d=1E5*a;f*=1E5;return{top:l,zTop:1E5*Math.PI+1,out:x,zOut:Math.max(g,d,f),inn:z,zInn:Math.max(g,d,f),side1:G,zSide1:.99*f,side2:e,zSide2:.99*d}};return n});D(c,"Core/Axis/Tick3D.js",[c["Core/Utilities.js"]],function(c){var r=
+c.addEvent,t=c.extend,B=c.wrap;return function(){function d(){}d.compose=function(c){r(c,"afterGetLabelPosition",d.onAfterGetLabelPosition);B(c.prototype,"getMarkPath",d.wrapGetMarkPath)};d.onAfterGetLabelPosition=function(d){var c=this.axis.axis3D;c&&t(d.pos,c.fix3dPosition(d.pos))};d.wrapGetMarkPath=function(d){var c=this.axis.axis3D,v=d.apply(this,[].slice.call(arguments,1));if(c){var u=v[0],m=v[1];if("M"===u[0]&&"L"===m[0])return c=[c.fix3dPosition({x:u[1],y:u[2],z:0}),c.fix3dPosition({x:m[1],
+y:m[2],z:0})],this.axis.chart.renderer.toLineSegments(c)}return v};return d}()});D(c,"Core/Axis/Axis3D.js",[c["Core/Globals.js"],c["Extensions/Math3D.js"],c["Core/Axis/Tick.js"],c["Core/Axis/Tick3D.js"],c["Core/Utilities.js"]],function(c,r,t,E,d){var v=r.perspective,n=r.perspective3D,w=r.shapeArea,u=d.addEvent,m=d.merge,b=d.pick,a=d.wrap,q=c.deg2rad,k=function(){function a(a){this.axis=a}a.prototype.fix3dPosition=function(a,c){var e=this.axis,f=e.chart;if("colorAxis"===e.coll||!f.chart3d||!f.is3d())return a;
+var d=q*f.options.chart.options3d.alpha,g=q*f.options.chart.options3d.beta,m=b(c&&e.options.title.position3d,e.options.labels.position3d);c=b(c&&e.options.title.skew3d,e.options.labels.skew3d);var k=f.chart3d.frame3d,l=f.plotLeft,n=f.plotWidth+l,h=f.plotTop,u=f.plotHeight+h;f=!1;var y=0,t=0,r={x:0,y:1,z:0};a=e.axis3D.swapZ({x:a.x,y:a.y,z:0});if(e.isZAxis)if(e.opposite){if(null===k.axes.z.top)return{};t=a.y-h;a.x=k.axes.z.top.x;a.y=k.axes.z.top.y;l=k.axes.z.top.xDir;f=!k.top.frontFacing}else{if(null===
+k.axes.z.bottom)return{};t=a.y-u;a.x=k.axes.z.bottom.x;a.y=k.axes.z.bottom.y;l=k.axes.z.bottom.xDir;f=!k.bottom.frontFacing}else if(e.horiz)if(e.opposite){if(null===k.axes.x.top)return{};t=a.y-h;a.y=k.axes.x.top.y;a.z=k.axes.x.top.z;l=k.axes.x.top.xDir;f=!k.top.frontFacing}else{if(null===k.axes.x.bottom)return{};t=a.y-u;a.y=k.axes.x.bottom.y;a.z=k.axes.x.bottom.z;l=k.axes.x.bottom.xDir;f=!k.bottom.frontFacing}else if(e.opposite){if(null===k.axes.y.right)return{};y=a.x-n;a.x=k.axes.y.right.x;a.z=k.axes.y.right.z;
+l=k.axes.y.right.xDir;l={x:l.z,y:l.y,z:-l.x}}else{if(null===k.axes.y.left)return{};y=a.x-l;a.x=k.axes.y.left.x;a.z=k.axes.y.left.z;l=k.axes.y.left.xDir}"chart"!==m&&("flap"===m?e.horiz?(g=Math.sin(d),d=Math.cos(d),e.opposite&&(g=-g),f&&(g=-g),r={x:l.z*g,y:d,z:-l.x*g}):l={x:Math.cos(g),y:0,z:Math.sin(g)}:"ortho"===m?e.horiz?(r=Math.cos(d),m=Math.sin(g)*r,d=-Math.sin(d),g=-r*Math.cos(g),r={x:l.y*g-l.z*d,y:l.z*m-l.x*g,z:l.x*d-l.y*m},d=1/Math.sqrt(r.x*r.x+r.y*r.y+r.z*r.z),f&&(d=-d),r={x:d*r.x,y:d*r.y,
+z:d*r.z}):l={x:Math.cos(g),y:0,z:Math.sin(g)}:e.horiz?r={x:Math.sin(g)*Math.sin(d),y:Math.cos(d),z:-Math.cos(g)*Math.sin(d)}:l={x:Math.cos(g),y:0,z:Math.sin(g)});a.x+=y*l.x+t*r.x;a.y+=y*l.y+t*r.y;a.z+=y*l.z+t*r.z;f=v([a],e.chart)[0];c&&(0>w(v([a,{x:a.x+l.x,y:a.y+l.y,z:a.z+l.z},{x:a.x+r.x,y:a.y+r.y,z:a.z+r.z}],e.chart))&&(l={x:-l.x,y:-l.y,z:-l.z}),a=v([{x:a.x,y:a.y,z:a.z},{x:a.x+l.x,y:a.y+l.y,z:a.z+l.z},{x:a.x+r.x,y:a.y+r.y,z:a.z+r.z}],e.chart),f.matrix=[a[1].x-a[0].x,a[1].y-a[0].y,a[2].x-a[0].x,a[2].y-
+a[0].y,f.x,f.y],f.matrix[4]-=f.x*f.matrix[0]+f.y*f.matrix[2],f.matrix[5]-=f.x*f.matrix[1]+f.y*f.matrix[3]);return f};a.prototype.swapZ=function(a,b){var e=this.axis;return e.isZAxis?(b=b?0:e.chart.plotLeft,{x:b+a.z,y:a.y,z:a.x-b}):a};return a}();return function(){function d(){}d.compose=function(b){m(!0,b.defaultOptions,d.defaultOptions);b.keepProps.push("axis3D");u(b,"init",d.onInit);u(b,"afterSetOptions",d.onAfterSetOptions);u(b,"drawCrosshair",d.onDrawCrosshair);u(b,"destroy",d.onDestroy);b=b.prototype;
+a(b,"getLinePath",d.wrapGetLinePath);a(b,"getPlotBandPath",d.wrapGetPlotBandPath);a(b,"getPlotLinePath",d.wrapGetPlotLinePath);a(b,"getSlotWidth",d.wrapGetSlotWidth);a(b,"getTitlePosition",d.wrapGetTitlePosition);E.compose(t)};d.onAfterSetOptions=function(){var a=this.chart,d=this.options;a.is3d&&a.is3d()&&"colorAxis"!==this.coll&&(d.tickWidth=b(d.tickWidth,0),d.gridLineWidth=b(d.gridLineWidth,1))};d.onDestroy=function(){["backFrame","bottomFrame","sideFrame"].forEach(function(a){this[a]&&(this[a]=
+this[a].destroy())},this)};d.onDrawCrosshair=function(a){this.chart.is3d()&&"colorAxis"!==this.coll&&a.point&&(a.point.crosshairPos=this.isXAxis?a.point.axisXpos:this.len-a.point.axisYpos)};d.onInit=function(){this.axis3D||(this.axis3D=new k(this))};d.wrapGetLinePath=function(a){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:a.apply(this,[].slice.call(arguments,1))};d.wrapGetPlotBandPath=function(a){if(!this.chart.is3d()||"colorAxis"===this.coll)return a.apply(this,[].slice.call(arguments,1));
+var b=arguments,d=b[2],f=[];b=this.getPlotLinePath({value:b[1]});d=this.getPlotLinePath({value:d});if(b&&d)for(var e=0;e<b.length;e+=2){var c=b[e],k=b[e+1],m=d[e],l=d[e+1];"M"===c[0]&&"L"===k[0]&&"M"===m[0]&&"L"===l[0]&&f.push(c,k,l,["L",m[1],m[2]],["Z"])}return f};d.wrapGetPlotLinePath=function(a){var b=this.axis3D,d=this.chart,f=a.apply(this,[].slice.call(arguments,1));if("colorAxis"===this.coll||!d.chart3d||!d.is3d()||null===f)return f;var e=d.options.chart.options3d,c=this.isZAxis?d.plotWidth:
+e.depth;e=d.chart3d.frame3d;var k=f[0],m=f[1];f=[];"M"===k[0]&&"L"===m[0]&&(b=[b.swapZ({x:k[1],y:k[2],z:0}),b.swapZ({x:k[1],y:k[2],z:c}),b.swapZ({x:m[1],y:m[2],z:0}),b.swapZ({x:m[1],y:m[2],z:c})],this.horiz?(this.isZAxis?(e.left.visible&&f.push(b[0],b[2]),e.right.visible&&f.push(b[1],b[3])):(e.front.visible&&f.push(b[0],b[2]),e.back.visible&&f.push(b[1],b[3])),e.top.visible&&f.push(b[0],b[1]),e.bottom.visible&&f.push(b[2],b[3])):(e.front.visible&&f.push(b[0],b[2]),e.back.visible&&f.push(b[1],b[3]),
+e.left.visible&&f.push(b[0],b[1]),e.right.visible&&f.push(b[2],b[3])),f=v(f,this.chart,!1));return d.renderer.toLineSegments(f)};d.wrapGetSlotWidth=function(a,d){var e=this.chart,f=this.ticks,c=this.gridGroup;if(this.categories&&e.frameShapes&&e.is3d()&&c&&d&&d.label){c=c.element.childNodes[0].getBBox();var g=e.frameShapes.left.getBBox(),k=e.options.chart.options3d;e={x:e.plotWidth/2,y:e.plotHeight/2,z:k.depth/2,vd:b(k.depth,1)*b(k.viewDistance,0)};var m=k=void 0,l=d.pos,q=f[l-1];f=f[l+1];0!==l&&
+q&&q.label&&q.label.xy&&(k=n({x:q.label.xy.x,y:q.label.xy.y,z:null},e,e.vd));f&&f.label&&f.label.xy&&(m=n({x:f.label.xy.x,y:f.label.xy.y,z:null},e,e.vd));f={x:d.label.xy.x,y:d.label.xy.y,z:null};f=n(f,e,e.vd);return Math.abs(k?f.x-k.x:m?m.x-f.x:c.x-g.x)}return a.apply(this,[].slice.call(arguments,1))};d.wrapGetTitlePosition=function(a){var b=a.apply(this,[].slice.call(arguments,1));return this.axis3D?this.axis3D.fix3dPosition(b,!0):b};d.defaultOptions={labels:{position3d:"offset",skew3d:!1},title:{position3d:null,
+skew3d:null}};return d}()});D(c,"Core/Axis/ZAxis.js",[c["Core/Axis/Axis.js"],c["Core/Utilities.js"]],function(c,r){var t=this&&this.__extends||function(){var d=function(b,a){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return d(b,a)};return function(b,a){function c(){this.constructor=b}d(b,a);b.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),B=r.addEvent,d=r.merge,v=r.pick,
+n=r.splat,w=function(){function d(){}d.compose=function(b){B(b,"afterGetAxes",d.onAfterGetAxes);b=b.prototype;b.addZAxis=d.wrapAddZAxis;b.collectionsWithInit.zAxis=[b.addZAxis];b.collectionsWithUpdate.push("zAxis")};d.onAfterGetAxes=function(){var b=this,a=this.options;a=a.zAxis=n(a.zAxis||{});b.is3d()&&(b.zAxis=[],a.forEach(function(a,d){a.index=d;a.isX=!0;b.addZAxis(a).setScale()}))};d.wrapAddZAxis=function(b){return new u(this,b)};return d}(),u=function(c){function b(a,b){a=c.call(this,a,b)||this;
+a.isZAxis=!0;return a}t(b,c);b.prototype.getSeriesExtremes=function(){var a=this,b=a.chart;a.hasVisibleSeries=!1;a.dataMin=a.dataMax=a.ignoreMinPadding=a.ignoreMaxPadding=void 0;a.stacking&&a.stacking.buildStacks();a.series.forEach(function(d){if(d.visible||!b.options.chart.ignoreHiddenSeries)a.hasVisibleSeries=!0,d=d.zData,d.length&&(a.dataMin=Math.min(v(a.dataMin,d[0]),Math.min.apply(null,d)),a.dataMax=Math.max(v(a.dataMax,d[0]),Math.max.apply(null,d)))})};b.prototype.setAxisSize=function(){var a=
+this.chart;c.prototype.setAxisSize.call(this);this.width=this.len=a.options.chart.options3d&&a.options.chart.options3d.depth||0;this.right=a.chartWidth-this.width-this.left};b.prototype.setOptions=function(a){a=d({offset:0,lineWidth:0},a);this.isZAxis=!0;c.prototype.setOptions.call(this,a);this.coll="zAxis"};b.ZChartComposition=w;return b}(c);return u});D(c,"Core/Chart/Chart3D.js",[c["Core/Axis/Axis.js"],c["Core/Axis/Axis3D.js"],c["Core/Chart/Chart.js"],c["Core/Animation/Fx.js"],c["Core/Globals.js"],
+c["Extensions/Math3D.js"],c["Core/Options.js"],c["Core/Utilities.js"],c["Core/Axis/ZAxis.js"]],function(c,r,t,E,d,v,n,w,u){var m=v.perspective,b=v.shapeArea3D,a=n.defaultOptions,q=w.addEvent,k=w.isArray,y=w.merge,e=w.pick,g=w.wrap,p;(function(c){function f(a){this.is3d()&&"scatter"===a.options.type&&(a.options.type="scatter3d")}function p(){if(this.chart3d&&this.is3d()){var a=this.renderer,b=this.options.chart.options3d,e=this.chart3d.get3dFrame(),c=this.plotLeft,f=this.plotLeft+this.plotWidth,g=
+this.plotTop,l=this.plotTop+this.plotHeight;b=b.depth;var k=c-(e.left.visible?e.left.size:0),h=f+(e.right.visible?e.right.size:0),m=g-(e.top.visible?e.top.size:0),p=l+(e.bottom.visible?e.bottom.size:0),q=0-(e.front.visible?e.front.size:0),n=b+(e.back.visible?e.back.size:0),u=this.hasRendered?"animate":"attr";this.chart3d.frame3d=e;this.frameShapes||(this.frameShapes={bottom:a.polyhedron().add(),top:a.polyhedron().add(),left:a.polyhedron().add(),right:a.polyhedron().add(),back:a.polyhedron().add(),
+front:a.polyhedron().add()});this.frameShapes.bottom[u]({"class":"highcharts-3d-frame highcharts-3d-frame-bottom",zIndex:e.bottom.frontFacing?-1E3:1E3,faces:[{fill:d.color(e.bottom.color).brighten(.1).get(),vertexes:[{x:k,y:p,z:q},{x:h,y:p,z:q},{x:h,y:p,z:n},{x:k,y:p,z:n}],enabled:e.bottom.visible},{fill:d.color(e.bottom.color).brighten(.1).get(),vertexes:[{x:c,y:l,z:b},{x:f,y:l,z:b},{x:f,y:l,z:0},{x:c,y:l,z:0}],enabled:e.bottom.visible},{fill:d.color(e.bottom.color).brighten(-.1).get(),vertexes:[{x:k,
+y:p,z:q},{x:k,y:p,z:n},{x:c,y:l,z:b},{x:c,y:l,z:0}],enabled:e.bottom.visible&&!e.left.visible},{fill:d.color(e.bottom.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:n},{x:h,y:p,z:q},{x:f,y:l,z:0},{x:f,y:l,z:b}],enabled:e.bottom.visible&&!e.right.visible},{fill:d.color(e.bottom.color).get(),vertexes:[{x:h,y:p,z:q},{x:k,y:p,z:q},{x:c,y:l,z:0},{x:f,y:l,z:0}],enabled:e.bottom.visible&&!e.front.visible},{fill:d.color(e.bottom.color).get(),vertexes:[{x:k,y:p,z:n},{x:h,y:p,z:n},{x:f,y:l,z:b},{x:c,y:l,z:b}],
+enabled:e.bottom.visible&&!e.back.visible}]});this.frameShapes.top[u]({"class":"highcharts-3d-frame highcharts-3d-frame-top",zIndex:e.top.frontFacing?-1E3:1E3,faces:[{fill:d.color(e.top.color).brighten(.1).get(),vertexes:[{x:k,y:m,z:n},{x:h,y:m,z:n},{x:h,y:m,z:q},{x:k,y:m,z:q}],enabled:e.top.visible},{fill:d.color(e.top.color).brighten(.1).get(),vertexes:[{x:c,y:g,z:0},{x:f,y:g,z:0},{x:f,y:g,z:b},{x:c,y:g,z:b}],enabled:e.top.visible},{fill:d.color(e.top.color).brighten(-.1).get(),vertexes:[{x:k,y:m,
+z:n},{x:k,y:m,z:q},{x:c,y:g,z:0},{x:c,y:g,z:b}],enabled:e.top.visible&&!e.left.visible},{fill:d.color(e.top.color).brighten(-.1).get(),vertexes:[{x:h,y:m,z:q},{x:h,y:m,z:n},{x:f,y:g,z:b},{x:f,y:g,z:0}],enabled:e.top.visible&&!e.right.visible},{fill:d.color(e.top.color).get(),vertexes:[{x:k,y:m,z:q},{x:h,y:m,z:q},{x:f,y:g,z:0},{x:c,y:g,z:0}],enabled:e.top.visible&&!e.front.visible},{fill:d.color(e.top.color).get(),vertexes:[{x:h,y:m,z:n},{x:k,y:m,z:n},{x:c,y:g,z:b},{x:f,y:g,z:b}],enabled:e.top.visible&&
+!e.back.visible}]});this.frameShapes.left[u]({"class":"highcharts-3d-frame highcharts-3d-frame-left",zIndex:e.left.frontFacing?-1E3:1E3,faces:[{fill:d.color(e.left.color).brighten(.1).get(),vertexes:[{x:k,y:p,z:q},{x:c,y:l,z:0},{x:c,y:l,z:b},{x:k,y:p,z:n}],enabled:e.left.visible&&!e.bottom.visible},{fill:d.color(e.left.color).brighten(.1).get(),vertexes:[{x:k,y:m,z:n},{x:c,y:g,z:b},{x:c,y:g,z:0},{x:k,y:m,z:q}],enabled:e.left.visible&&!e.top.visible},{fill:d.color(e.left.color).brighten(-.1).get(),
+vertexes:[{x:k,y:p,z:n},{x:k,y:m,z:n},{x:k,y:m,z:q},{x:k,y:p,z:q}],enabled:e.left.visible},{fill:d.color(e.left.color).brighten(-.1).get(),vertexes:[{x:c,y:g,z:b},{x:c,y:l,z:b},{x:c,y:l,z:0},{x:c,y:g,z:0}],enabled:e.left.visible},{fill:d.color(e.left.color).get(),vertexes:[{x:k,y:p,z:q},{x:k,y:m,z:q},{x:c,y:g,z:0},{x:c,y:l,z:0}],enabled:e.left.visible&&!e.front.visible},{fill:d.color(e.left.color).get(),vertexes:[{x:k,y:m,z:n},{x:k,y:p,z:n},{x:c,y:l,z:b},{x:c,y:g,z:b}],enabled:e.left.visible&&!e.back.visible}]});
+this.frameShapes.right[u]({"class":"highcharts-3d-frame highcharts-3d-frame-right",zIndex:e.right.frontFacing?-1E3:1E3,faces:[{fill:d.color(e.right.color).brighten(.1).get(),vertexes:[{x:h,y:p,z:n},{x:f,y:l,z:b},{x:f,y:l,z:0},{x:h,y:p,z:q}],enabled:e.right.visible&&!e.bottom.visible},{fill:d.color(e.right.color).brighten(.1).get(),vertexes:[{x:h,y:m,z:q},{x:f,y:g,z:0},{x:f,y:g,z:b},{x:h,y:m,z:n}],enabled:e.right.visible&&!e.top.visible},{fill:d.color(e.right.color).brighten(-.1).get(),vertexes:[{x:f,
+y:g,z:0},{x:f,y:l,z:0},{x:f,y:l,z:b},{x:f,y:g,z:b}],enabled:e.right.visible},{fill:d.color(e.right.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:q},{x:h,y:m,z:q},{x:h,y:m,z:n},{x:h,y:p,z:n}],enabled:e.right.visible},{fill:d.color(e.right.color).get(),vertexes:[{x:h,y:m,z:q},{x:h,y:p,z:q},{x:f,y:l,z:0},{x:f,y:g,z:0}],enabled:e.right.visible&&!e.front.visible},{fill:d.color(e.right.color).get(),vertexes:[{x:h,y:p,z:n},{x:h,y:m,z:n},{x:f,y:g,z:b},{x:f,y:l,z:b}],enabled:e.right.visible&&!e.back.visible}]});
+this.frameShapes.back[u]({"class":"highcharts-3d-frame highcharts-3d-frame-back",zIndex:e.back.frontFacing?-1E3:1E3,faces:[{fill:d.color(e.back.color).brighten(.1).get(),vertexes:[{x:h,y:p,z:n},{x:k,y:p,z:n},{x:c,y:l,z:b},{x:f,y:l,z:b}],enabled:e.back.visible&&!e.bottom.visible},{fill:d.color(e.back.color).brighten(.1).get(),vertexes:[{x:k,y:m,z:n},{x:h,y:m,z:n},{x:f,y:g,z:b},{x:c,y:g,z:b}],enabled:e.back.visible&&!e.top.visible},{fill:d.color(e.back.color).brighten(-.1).get(),vertexes:[{x:k,y:p,
+z:n},{x:k,y:m,z:n},{x:c,y:g,z:b},{x:c,y:l,z:b}],enabled:e.back.visible&&!e.left.visible},{fill:d.color(e.back.color).brighten(-.1).get(),vertexes:[{x:h,y:m,z:n},{x:h,y:p,z:n},{x:f,y:l,z:b},{x:f,y:g,z:b}],enabled:e.back.visible&&!e.right.visible},{fill:d.color(e.back.color).get(),vertexes:[{x:c,y:g,z:b},{x:f,y:g,z:b},{x:f,y:l,z:b},{x:c,y:l,z:b}],enabled:e.back.visible},{fill:d.color(e.back.color).get(),vertexes:[{x:k,y:p,z:n},{x:h,y:p,z:n},{x:h,y:m,z:n},{x:k,y:m,z:n}],enabled:e.back.visible}]});this.frameShapes.front[u]({"class":"highcharts-3d-frame highcharts-3d-frame-front",
+zIndex:e.front.frontFacing?-1E3:1E3,faces:[{fill:d.color(e.front.color).brighten(.1).get(),vertexes:[{x:k,y:p,z:q},{x:h,y:p,z:q},{x:f,y:l,z:0},{x:c,y:l,z:0}],enabled:e.front.visible&&!e.bottom.visible},{fill:d.color(e.front.color).brighten(.1).get(),vertexes:[{x:h,y:m,z:q},{x:k,y:m,z:q},{x:c,y:g,z:0},{x:f,y:g,z:0}],enabled:e.front.visible&&!e.top.visible},{fill:d.color(e.front.color).brighten(-.1).get(),vertexes:[{x:k,y:m,z:q},{x:k,y:p,z:q},{x:c,y:l,z:0},{x:c,y:g,z:0}],enabled:e.front.visible&&!e.left.visible},
+{fill:d.color(e.front.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:q},{x:h,y:m,z:q},{x:f,y:g,z:0},{x:f,y:l,z:0}],enabled:e.front.visible&&!e.right.visible},{fill:d.color(e.front.color).get(),vertexes:[{x:f,y:g,z:0},{x:c,y:g,z:0},{x:c,y:l,z:0},{x:f,y:l,z:0}],enabled:e.front.visible},{fill:d.color(e.front.color).get(),vertexes:[{x:h,y:p,z:q},{x:k,y:p,z:q},{x:k,y:m,z:q},{x:h,y:m,z:q}],enabled:e.front.visible}]})}}function n(){this.styledMode&&(this.renderer.definition({tagName:"style",textContent:".highcharts-3d-top{filter: url(#highcharts-brighter)}\n.highcharts-3d-side{filter: url(#highcharts-darker)}\n"}),
+[{name:"darker",slope:.6},{name:"brighter",slope:1.4}].forEach(function(a){this.renderer.definition({tagName:"filter",attributes:{id:"highcharts-"+a.name},children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncR",attributes:{type:"linear",slope:a.slope}},{tagName:"feFuncG",attributes:{type:"linear",slope:a.slope}},{tagName:"feFuncB",attributes:{type:"linear",slope:a.slope}}]}]})},this))}function u(){var a=this.options;this.is3d()&&(a.series||[]).forEach(function(b){"scatter"===(b.type||
+a.chart.type||a.chart.defaultSeriesType)&&(b.type="scatter3d")})}function l(){var a=this.options.chart.options3d;if(this.chart3d&&this.is3d()){a&&(a.alpha=a.alpha%360+(0<=a.alpha?0:360),a.beta=a.beta%360+(0<=a.beta?0:360));var b=this.inverted,e=this.clipBox,d=this.margin;e[b?"y":"x"]=-(d[3]||0);e[b?"x":"y"]=-(d[0]||0);e[b?"height":"width"]=this.chartWidth+(d[3]||0)+(d[1]||0);e[b?"width":"height"]=this.chartHeight+(d[0]||0)+(d[2]||0);this.scale3d=1;!0===a.fitToPlot&&(this.scale3d=this.chart3d.getScale(a.depth));
+this.chart3d.frame3d=this.chart3d.get3dFrame()}}function r(){this.is3d()&&(this.isDirtyBox=!0)}function h(){this.chart3d&&this.is3d()&&(this.chart3d.frame3d=this.chart3d.get3dFrame())}function v(){this.chart3d||(this.chart3d=new E(this))}function t(a){return this.is3d()||a.apply(this,[].slice.call(arguments,1))}function w(a){var b=this.series.length;if(this.is3d())for(;b--;)a=this.series[b],a.translate(),a.render();else a.call(this)}function B(a){a.apply(this,[].slice.call(arguments,1));this.is3d()&&
+(this.container.className+=" highcharts-3d-chart")}var E=function(){function a(a){this.frame3d=void 0;this.chart=a}a.prototype.get3dFrame=function(){var a=this.chart,d=a.options.chart.options3d,c=d.frame,f=a.plotLeft,g=a.plotLeft+a.plotWidth,l=a.plotTop,k=a.plotTop+a.plotHeight,h=d.depth,p=function(e){e=b(e,a);return.5<e?1:-.5>e?-1:0},q=p([{x:f,y:k,z:h},{x:g,y:k,z:h},{x:g,y:k,z:0},{x:f,y:k,z:0}]),n=p([{x:f,y:l,z:0},{x:g,y:l,z:0},{x:g,y:l,z:h},{x:f,y:l,z:h}]),u=p([{x:f,y:l,z:0},{x:f,y:l,z:h},{x:f,
+y:k,z:h},{x:f,y:k,z:0}]),r=p([{x:g,y:l,z:h},{x:g,y:l,z:0},{x:g,y:k,z:0},{x:g,y:k,z:h}]),v=p([{x:f,y:k,z:0},{x:g,y:k,z:0},{x:g,y:l,z:0},{x:f,y:l,z:0}]);p=p([{x:f,y:l,z:h},{x:g,y:l,z:h},{x:g,y:k,z:h},{x:f,y:k,z:h}]);var t=!1,H=!1,w=!1,y=!1;[].concat(a.xAxis,a.yAxis,a.zAxis).forEach(function(a){a&&(a.horiz?a.opposite?H=!0:t=!0:a.opposite?y=!0:w=!0)});var B=function(a,b,c){for(var d=["size","color","visible"],f={},g=0;g<d.length;g++)for(var k=d[g],l=0;l<a.length;l++)if("object"===typeof a[l]){var h=a[l][k];
+if("undefined"!==typeof h&&null!==h){f[k]=h;break}}a=c;!0===f.visible||!1===f.visible?a=f.visible:"auto"===f.visible&&(a=0<b);return{size:e(f.size,1),color:e(f.color,"none"),frontFacing:0<b,visible:a}};c={axes:{},bottom:B([c.bottom,c.top,c],q,t),top:B([c.top,c.bottom,c],n,H),left:B([c.left,c.right,c.side,c],u,w),right:B([c.right,c.left,c.side,c],r,y),back:B([c.back,c.front,c],p,!0),front:B([c.front,c.back,c],v,!1)};"auto"===d.axisLabelPosition?(r=function(a,b){return a.visible!==b.visible||a.visible&&
+b.visible&&a.frontFacing!==b.frontFacing},d=[],r(c.left,c.front)&&d.push({y:(l+k)/2,x:f,z:0,xDir:{x:1,y:0,z:0}}),r(c.left,c.back)&&d.push({y:(l+k)/2,x:f,z:h,xDir:{x:0,y:0,z:-1}}),r(c.right,c.front)&&d.push({y:(l+k)/2,x:g,z:0,xDir:{x:0,y:0,z:1}}),r(c.right,c.back)&&d.push({y:(l+k)/2,x:g,z:h,xDir:{x:-1,y:0,z:0}}),q=[],r(c.bottom,c.front)&&q.push({x:(f+g)/2,y:k,z:0,xDir:{x:1,y:0,z:0}}),r(c.bottom,c.back)&&q.push({x:(f+g)/2,y:k,z:h,xDir:{x:-1,y:0,z:0}}),n=[],r(c.top,c.front)&&n.push({x:(f+g)/2,y:l,z:0,
+xDir:{x:1,y:0,z:0}}),r(c.top,c.back)&&n.push({x:(f+g)/2,y:l,z:h,xDir:{x:-1,y:0,z:0}}),u=[],r(c.bottom,c.left)&&u.push({z:(0+h)/2,y:k,x:f,xDir:{x:0,y:0,z:-1}}),r(c.bottom,c.right)&&u.push({z:(0+h)/2,y:k,x:g,xDir:{x:0,y:0,z:1}}),k=[],r(c.top,c.left)&&k.push({z:(0+h)/2,y:l,x:f,xDir:{x:0,y:0,z:-1}}),r(c.top,c.right)&&k.push({z:(0+h)/2,y:l,x:g,xDir:{x:0,y:0,z:1}}),f=function(b,e,c){if(0===b.length)return null;if(1===b.length)return b[0];for(var d=0,f=m(b,a,!1),g=1;g<f.length;g++)c*f[g][e]>c*f[d][e]?d=
+g:c*f[g][e]===c*f[d][e]&&f[g].z<f[d].z&&(d=g);return b[d]},c.axes={y:{left:f(d,"x",-1),right:f(d,"x",1)},x:{top:f(n,"y",-1),bottom:f(q,"y",1)},z:{top:f(k,"y",-1),bottom:f(u,"y",1)}}):c.axes={y:{left:{x:f,z:0,xDir:{x:1,y:0,z:0}},right:{x:g,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:l,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:k,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:w?g:f,y:l,xDir:w?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:w?g:f,y:k,xDir:w?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}};return c};a.prototype.getScale=function(a){var b=
+this.chart,e=b.plotLeft,c=b.plotWidth+e,d=b.plotTop,f=b.plotHeight+d,g=e+b.plotWidth/2,k=d+b.plotHeight/2,l=Number.MAX_VALUE,h=-Number.MAX_VALUE,p=Number.MAX_VALUE,q=-Number.MAX_VALUE,n=1;var u=[{x:e,y:d,z:0},{x:e,y:d,z:a}];[0,1].forEach(function(a){u.push({x:c,y:u[a].y,z:u[a].z})});[0,1,2,3].forEach(function(a){u.push({x:u[a].x,y:f,z:u[a].z})});u=m(u,b,!1);u.forEach(function(a){l=Math.min(l,a.x);h=Math.max(h,a.x);p=Math.min(p,a.y);q=Math.max(q,a.y)});e>l&&(n=Math.min(n,1-Math.abs((e+g)/(l+g))%1));
+c<h&&(n=Math.min(n,(c-g)/(h-g)));d>p&&(n=0>p?Math.min(n,(d+k)/(-p+d+k)):Math.min(n,1-(d+k)/(p+k)%1));f<q&&(n=Math.min(n,Math.abs((f-k)/(q-k))));return n};return a}();c.Composition=E;c.defaultOptions={chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:null,frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}};c.compose=function(b,e){var m=b.prototype;e=e.prototype;m.is3d=function(){return!(!this.options.chart.options3d||
+!this.options.chart.options3d.enabled)};m.propsRequireDirtyBox.push("chart.options3d");m.propsRequireUpdateSeries.push("chart.options3d");e.matrixSetter=function(){if(1>this.pos&&(k(this.start)||k(this.end))){var a=this.start||[1,0,0,1,0,0],b=this.end||[1,0,0,1,0,0];var e=[];for(var c=0;6>c;c++)e.push(this.pos*b[c]+(1-this.pos)*a[c])}else e=this.end;this.elem.attr(this.prop,e,null,!0)};y(!0,a,c.defaultOptions);q(b,"init",v);q(b,"addSeries",f);q(b,"afterDrawChartBox",p);q(b,"afterGetContainer",n);
+q(b,"afterInit",u);q(b,"afterSetChartSize",l);q(b,"beforeRedraw",r);q(b,"beforeRender",h);g(d.Chart.prototype,"isInsidePlot",t);g(b,"renderSeries",w);g(b,"setClassName",B)}})(p||(p={}));p.compose(t,E);u.ZChartComposition.compose(t);r.compose(c);"";return p});D(c,"Core/Series/Series3D.js",[c["Extensions/Math3D.js"],c["Core/Series/Series.js"],c["Core/Utilities.js"]],function(c,r,t){var B=this&&this.__extends||function(){var c=function(b,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,
+b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return c(b,a)};return function(b,a){function d(){this.constructor=b}c(b,a);b.prototype=null===a?Object.create(a):(d.prototype=a.prototype,new d)}}(),d=c.perspective;c=t.addEvent;var v=t.extend,n=t.merge,w=t.pick,u=t.isNumber;t=function(c){function b(){return null!==c&&c.apply(this,arguments)||this}B(b,c);b.prototype.translate=function(){c.prototype.translate.apply(this,arguments);this.chart.is3d()&&this.translate3dPoints()};
+b.prototype.translate3dPoints=function(){var a=this.options,b=this.chart,c=w(this.zAxis,b.options.zAxis[0]),m=[],e,g=[];this.zPadding=(a.stacking?u(a.stack)?a.stack:0:this.index||0)*(a.depth||0+(a.groupZPadding||1));for(e=0;e<this.data.length;e++){a=this.data[e];if(c&&c.translate){var p=c.logarithmic&&c.val2lin?c.val2lin(a.z):a.z;a.plotZ=c.translate(p);a.isInside=a.isInside?p>=c.min&&p<=c.max:!1}else a.plotZ=this.zPadding;a.axisXpos=a.plotX;a.axisYpos=a.plotY;a.axisZpos=a.plotZ;m.push({x:a.plotX,
+y:a.plotY,z:a.plotZ});g.push(a.plotX||0)}this.rawPointsX=g;b=d(m,b,!0);for(e=0;e<this.data.length;e++)a=this.data[e],c=b[e],a.plotX=c.x,a.plotY=c.y,a.plotZ=c.z};b.defaultOptions=n(r.defaultOptions);return b}(r);c(r,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()});v(r.prototype,{translate3dPoints:t.prototype.translate3dPoints});return t});D(c,"Series/Column3D/Column3DComposition.js",[c["Series/Column/ColumnSeries.js"],c["Core/Globals.js"],c["Core/Series/Series.js"],c["Extensions/Math3D.js"],
+c["Core/Series/SeriesRegistry.js"],c["Extensions/Stacking.js"],c["Core/Utilities.js"]],function(c,r,t,E,d,v,n){function w(a,b){var e=a.series,c={},d,g=1;e.forEach(function(a){d=y(a.options.stack,b?0:e.length-1-a.index);c[d]?c[d].series.push(a):(c[d]={series:[a],position:g},g++)});c.totalStacks=g+1;return c}function u(a){var b=a.apply(this,[].slice.call(arguments,1));this.chart.is3d&&this.chart.is3d()&&(b.stroke=this.options.edgeColor||b.fill,b["stroke-width"]=y(this.options.edgeWidth,1));return b}
+function m(a,b,c){var e=this.chart.is3d&&this.chart.is3d();e&&(this.options.inactiveOtherPoints=!0);a.call(this,b,c);e&&(this.options.inactiveOtherPoints=!1)}function b(a){for(var b=[],e=1;e<arguments.length;e++)b[e-1]=arguments[e];return this.series.chart.is3d()?this.graphic&&"g"!==this.graphic.element.nodeName:a.apply(this,b)}var a=c.prototype,q=r.svg,k=E.perspective;r=n.addEvent;var y=n.pick;n=n.wrap;n(a,"translate",function(a){a.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.translate3dShapes()});
+n(t.prototype,"justifyDataLabel",function(a){return arguments[2].outside3dPlot?!1:a.apply(this,[].slice.call(arguments,1))});a.translate3dPoints=function(){};a.translate3dShapes=function(){var a=this,b=a.chart,c=a.options,d=c.depth,m=(c.stacking?c.stack||0:a.index)*(d+(c.groupZPadding||1)),n=a.borderWidth%2?.5:0,q;b.inverted&&!a.yAxis.reversed&&(n*=-1);!1!==c.grouping&&(m=0);m+=c.groupZPadding||1;a.data.forEach(function(c){c.outside3dPlot=null;if(null!==c.y){var e=c.shapeArgs,f=c.tooltipPos,g;[["x",
+"width"],["y","height"]].forEach(function(b){g=e[b[0]]-n;0>g&&(e[b[1]]+=e[b[0]]+n,e[b[0]]=-n,g=0);g+e[b[1]]>a[b[0]+"Axis"].len&&0!==e[b[1]]&&(e[b[1]]=a[b[0]+"Axis"].len-e[b[0]]);if(0!==e[b[1]]&&(e[b[0]]>=a[b[0]+"Axis"].len||e[b[0]]+e[b[1]]<=n)){for(var d in e)e[d]=0;c.outside3dPlot=!0}});"rect"===c.shapeType&&(c.shapeType="cuboid");e.z=m;e.depth=d;e.insidePlotArea=!0;q={x:e.x+e.width/2,y:e.y,z:m+d/2};b.inverted&&(q.x=e.height,q.y=c.clientX);c.plot3d=k([q],b,!0,!1)[0];f=k([{x:f[0],y:f[1],z:m+d/2}],
+b,!0,!1)[0];c.tooltipPos=[f.x,f.y]}});a.z=m};n(a,"animate",function(a){if(this.chart.is3d()){var b=arguments[1],c=this.yAxis,e=this,d=this.yAxis.reversed;q&&(b?e.data.forEach(function(a){null!==a.y&&(a.height=a.shapeArgs.height,a.shapey=a.shapeArgs.y,a.shapeArgs.height=1,d||(a.shapeArgs.y=a.stackY?a.plotY+c.translate(a.stackY):a.plotY+(a.negative?-a.height:a.height)))}):(e.data.forEach(function(a){null!==a.y&&(a.shapeArgs.height=a.height,a.shapeArgs.y=a.shapey,a.graphic&&a.graphic.animate(a.shapeArgs,
+e.options.animation))}),this.drawDataLabels()))}else a.apply(this,[].slice.call(arguments,1))});n(a,"plotGroup",function(a,b,c,d,k,m){"dataLabelsGroup"!==b&&this.chart.is3d()&&(this[b]&&delete this[b],m&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(m)),this[b]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[b].survive=!0,"group"===b||"markerGroup"===b))&&(arguments[3]="visible");return a.apply(this,Array.prototype.slice.call(arguments,
+1))});n(a,"setVisible",function(a,b){var c=this;c.chart.is3d()&&c.data.forEach(function(a){a.visible=a.options.visible=b="undefined"===typeof b?!y(c.visible,a.visible):b;c.options.data[c.data.indexOf(a)]=a.options;a.graphic&&a.graphic.attr({visibility:b?"visible":"hidden"})});a.apply(this,Array.prototype.slice.call(arguments,1))});r(c,"afterInit",function(){if(this.chart.is3d()){var a=this.options,b=a.grouping,c=a.stacking,d=this.yAxis.options.reversedStacks,k=0;if("undefined"===typeof b||b){b=w(this.chart,
+c);k=a.stack||0;for(c=0;c<b[k].series.length&&b[k].series[c]!==this;c++);k=10*(b.totalStacks-b[k].position)+(d?c:-c);this.xAxis.reversed||(k=10*b.totalStacks-k)}a.depth=a.depth||25;this.z=this.z||0;a.zIndex=k}});n(a,"pointAttribs",u);n(a,"setState",m);n(a.pointClass.prototype,"hasNewShapeType",b);d.seriesTypes.columnRange&&(r=d.seriesTypes.columnrange.prototype,n(r,"pointAttribs",u),n(r,"setState",m),n(r.pointClass.prototype,"hasNewShapeType",b),r.plotGroup=a.plotGroup,r.setVisible=a.setVisible);
+n(t.prototype,"alignDataLabel",function(a,b,c,d,m){var e=this.chart;d.outside3dPlot=b.outside3dPlot;if(e.is3d()&&this.is("column")){var f=this.options,g=y(d.inside,!!this.options.stacking),l=e.options.chart.options3d,n=b.pointWidth/2||0;f={x:m.x+n,y:m.y,z:this.z+f.depth/2};e.inverted&&(g&&(m.width=0,f.x+=b.shapeArgs.height/2),90<=l.alpha&&270>=l.alpha&&(f.y+=b.shapeArgs.width));f=k([f],e,!0,!1)[0];m.x=f.x-n;m.y=b.outside3dPlot?-9E9:f.y}a.apply(this,[].slice.call(arguments,1))});n(v.prototype,"getStackBox",
+function(a,b,c,f,m,n,q,u){var e=a.apply(this,[].slice.call(arguments,1));if(b.is3d()&&c.base){var g=+c.base.split(",")[0],h=b.series[g];g=b.options.chart.options3d;h&&h instanceof d.seriesTypes.column&&(h={x:e.x+(b.inverted?q:n/2),y:e.y,z:h.options.depth/2},b.inverted&&(e.width=0,90<=g.alpha&&270>=g.alpha&&(h.y+=n)),h=k([h],b,!0,!1)[0],e.x=h.x-n/2,e.y=h.y)}return e});"";return c});D(c,"Series/Pie3D/Pie3DPoint.js",[c["Core/Series/SeriesRegistry.js"]],function(c){var r=this&&this.__extends||function(){var c=
+function(d,r){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var n in d)d.hasOwnProperty(n)&&(c[n]=d[n])};return c(d,r)};return function(d,r){function n(){this.constructor=d}c(d,r);d.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();c=c.seriesTypes.pie.prototype.pointClass;var t=c.prototype.haloPath;return function(c){function d(){var d=null!==c&&c.apply(this,arguments)||this;d.series=void 0;return d}r(d,c);d.prototype.haloPath=
+function(){return this.series.chart.is3d()?[]:t.apply(this,arguments)};return d}(c)});D(c,"Series/Pie3D/Pie3DSeries.js",[c["Core/Globals.js"],c["Series/Pie3D/Pie3DPoint.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(c,r,t,E){var d=this&&this.__extends||function(){var c=function(d,b){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return c(d,b)};return function(d,b){function a(){this.constructor=
+d}c(d,b);d.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),v=c.deg2rad,n=c.svg;c=E.extend;var w=E.pick;t=function(c){function m(){return null!==c&&c.apply(this,arguments)||this}d(m,c);m.prototype.addPoint=function(){c.prototype.addPoint.apply(this,arguments);this.chart.is3d()&&this.update(this.userOptions,!0)};m.prototype.animate=function(b){if(this.chart.is3d()){var a=this.options.animation;var d=this.center;var k=this.group,m=this.markerGroup;n&&(!0===a&&(a={}),b?(k.oldtranslateX=
+w(k.oldtranslateX,k.translateX),k.oldtranslateY=w(k.oldtranslateY,k.translateY),d={translateX:d[0],translateY:d[1],scaleX:.001,scaleY:.001},k.attr(d),m&&(m.attrSetters=k.attrSetters,m.attr(d))):(d={translateX:k.oldtranslateX,translateY:k.oldtranslateY,scaleX:1,scaleY:1},k.animate(d,a),m&&m.animate(d,a)))}else c.prototype.animate.apply(this,arguments)};m.prototype.drawDataLabels=function(){if(this.chart.is3d()){var b=this.chart.options.chart.options3d;this.data.forEach(function(a){var c=a.shapeArgs,
+d=c.r,m=(c.start+c.end)/2;a=a.labelPosition;var e=a.connectorPosition,g=-d*(1-Math.cos((c.alpha||b.alpha)*v))*Math.sin(m),n=d*(Math.cos((c.beta||b.beta)*v)-1)*Math.cos(m);[a.natural,e.breakAt,e.touchingSliceAt].forEach(function(a){a.x+=n;a.y+=g})})}c.prototype.drawDataLabels.apply(this,arguments)};m.prototype.pointAttribs=function(b){var a=c.prototype.pointAttribs.apply(this,arguments),d=this.options;this.chart.is3d()&&!this.chart.styledMode&&(a.stroke=d.edgeColor||b.color||this.color,a["stroke-width"]=
+w(d.edgeWidth,1));return a};m.prototype.translate=function(){c.prototype.translate.apply(this,arguments);if(this.chart.is3d()){var b=this,a=b.options,d=a.depth||0,k=b.chart.options.chart.options3d,m=k.alpha,e=k.beta,g=a.stacking?(a.stack||0)*d:b._i*d;g+=d/2;!1!==a.grouping&&(g=0);b.data.forEach(function(c){var f=c.shapeArgs;c.shapeType="arc3d";f.z=g;f.depth=.75*d;f.alpha=m;f.beta=e;f.center=b.center;f=(f.end+f.start)/2;c.slicedTranslation={translateX:Math.round(Math.cos(f)*a.slicedOffset*Math.cos(m*
+v)),translateY:Math.round(Math.sin(f)*a.slicedOffset*Math.cos(m*v))}})}};return m}(t.seriesTypes.pie);c(t.prototype,{pointClass:r});"";return t});D(c,"Series/Pie3D/Pie3DComposition.js",[c["Series/Pie3D/Pie3DPoint.js"],c["Series/Pie3D/Pie3DSeries.js"],c["Core/Series/SeriesRegistry.js"]],function(c,r,t){t.seriesTypes.pie.prototype.pointClass.prototype.haloPath=c.prototype.haloPath;t.seriesTypes.pie=r});D(c,"Series/Scatter3D/Scatter3DPoint.js",[c["Series/Scatter/ScatterSeries.js"],c["Core/Utilities.js"]],
+function(c,r){var t=this&&this.__extends||function(){var c=function(d,n){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var m in d)d.hasOwnProperty(m)&&(c[m]=d[m])};return c(d,n)};return function(d,n){function r(){this.constructor=d}c(d,n);d.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),B=r.defined;return function(c){function d(){var d=null!==c&&c.apply(this,arguments)||this;d.options=void 0;d.series=void 0;return d}
+t(d,c);d.prototype.applyOptions=function(){c.prototype.applyOptions.apply(this,arguments);B(this.z)||(this.z=0);return this};return d}(c.prototype.pointClass)});D(c,"Series/Scatter3D/Scatter3DSeries.js",[c["Extensions/Math3D.js"],c["Series/Scatter3D/Scatter3DPoint.js"],c["Series/Scatter/ScatterSeries.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],function(c,r,t,E,d){var v=this&&this.__extends||function(){var c=function(d,b){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&
+function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return c(d,b)};return function(d,b){function a(){this.constructor=d}c(d,b);d.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),n=c.pointCameraDistance;c=d.extend;var w=d.merge;d=function(c){function d(){var b=null!==c&&c.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}v(d,c);d.prototype.pointAttribs=function(b){var a=c.prototype.pointAttribs.apply(this,
+arguments);this.chart.is3d()&&b&&(a.zIndex=n(b,this.chart));return a};d.defaultOptions=w(t.defaultOptions,{tooltip:{pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>z: <b>{point.z}</b><br/>"}});return d}(t);c(d.prototype,{axisTypes:["xAxis","yAxis","zAxis"],directTouch:!0,parallelArrays:["x","y","z"],pointArrayMap:["x","y","z"],pointClass:r});E.registerSeriesType("scatter3d",d);"";return d});D(c,"Series/Area3DSeries.js",[c["Extensions/Math3D.js"],c["Core/Series/SeriesRegistry.js"],c["Core/Utilities.js"]],
+function(c,r,t){var B=c.perspective;c=r.seriesTypes;var d=c.line,v=t.pick;t=t.wrap;t(c.area.prototype,"getGraphPath",function(c){var n=c.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d())return n;var r=d.prototype.getGraphPath,m=this.options;var b=[];var a=[],q=v(m.connectNulls,"percent"===m.stacking),k=Math.round(this.yAxis.getThreshold(m.threshold));if(this.rawPointsX)for(var t=0;t<this.points.length;t++)b.push({x:this.rawPointsX[t],y:m.stacking?this.points[t].yBottom:k,z:this.zPadding});
+m=this.chart.options.chart.options3d;b=B(b,this.chart,!0).map(function(a){return{plotX:a.x,plotY:a.y,plotZ:a.z}});this.group&&m&&m.depth&&m.beta&&(this.markerGroup&&(this.markerGroup.add(this.group),this.markerGroup.attr({translateX:0,translateY:0})),this.group.attr({zIndex:Math.max(1,270<m.beta||90>m.beta?m.depth-Math.round(this.zPadding||0):Math.round(this.zPadding||0))}));b.reversed=!0;b=r.call(this,b,!0,!0);b[0]&&"M"===b[0][0]&&(b[0]=["L",b[0][1],b[0][2]]);this.areaPath&&(b=this.areaPath.splice(0,
+this.areaPath.length/2).concat(b),b.xMap=this.areaPath.xMap,this.areaPath=b,r.call(this,a,!1,q));return n})});D(c,"masters/highcharts-3d.src.js",[],function(){})});
 //# sourceMappingURL=highcharts-3d.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/highcharts-3d.js.map


+ 103 - 110
node_modules/highcharts/highcharts-3d.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  *
  * 3D features for Highcharts JS
  *
@@ -586,10 +586,9 @@
                         this.insidePlotArea),
                         path = renderer.toLinePath(vertexes2d,
                         true),
-                        area = shapeArea(vertexes2d),
-                        visibility = (this.enabled && area > 0) ? 'visible' : 'hidden';
+                        area = shapeArea(vertexes2d);
                     hash.d = path;
-                    hash.visibility = visibility;
+                    hash.visibility = (this.enabled && area > 0) ? 'visible' : 'hidden';
                 }
                 return SVGElement.prototype.attr.apply(this, arguments);
             };
@@ -698,15 +697,15 @@
         };
         // Generates a cuboid path and zIndexes
         SVGRenderer.prototype.cuboidPath = function (shapeArgs) {
-            var x = shapeArgs.x,
-                y = shapeArgs.y,
+            var x = shapeArgs.x || 0,
+                y = shapeArgs.y || 0,
                 z = shapeArgs.z || 0, 
                 // For side calculation (right/left)
                 // there is a need for height (and other shapeArgs arguments)
                 // to be at least 1px
-                h = shapeArgs.height,
-                w = shapeArgs.width,
-                d = shapeArgs.depth,
+                h = shapeArgs.height || 0,
+                w = shapeArgs.width || 0,
+                d = shapeArgs.depth || 0,
                 chart = charts[this.chartIndex],
                 front,
                 back,
@@ -1112,15 +1111,15 @@
         };
         // Generate the paths required to draw a 3D arc
         SVGRenderer.prototype.arc3dPath = function (shapeArgs) {
-            var cx = shapeArgs.x, // x coordinate of the center
-                cy = shapeArgs.y, // y coordinate of the center
-                start = shapeArgs.start, // start angle
-                end = shapeArgs.end - 0.00001, // end angle
-                r = shapeArgs.r, // radius
+            var cx = shapeArgs.x || 0, // x coordinate of the center
+                cy = shapeArgs.y || 0, // y coordinate of the center
+                start = shapeArgs.start || 0, // start angle
+                end = (shapeArgs.end || 0) - 0.00001, // end angle
+                r = shapeArgs.r || 0, // radius
                 ir = shapeArgs.innerR || 0, // inner radius
                 d = shapeArgs.depth || 0, // depth
-                alpha = shapeArgs.alpha, // alpha rotation of the chart
-                beta = shapeArgs.beta; // beta rotation of the chart
+                alpha = shapeArgs.alpha || 0, // alpha rotation of the chart
+                beta = shapeArgs.beta || 0; // beta rotation of the chart
                 // Derived Variables
                 var cs = Math.cos(start), // cosinus of the start angle
                 ss = Math.sin(start), // sinus of the start angle
@@ -1887,16 +1886,16 @@
                     var firstGridLine = gridGroup.element.childNodes[0].getBBox(),
                         frame3DLeft = chart.frameShapes.left.getBBox(),
                         options3d = chart.options.chart.options3d,
-                        origin = {
+                        origin_1 = {
                             x: chart.plotWidth / 2,
                             y: chart.plotHeight / 2,
                             z: options3d.depth / 2,
                             vd: pick(options3d.depth, 1) * pick(options3d.viewDistance, 0)
                         },
-                        labelPos,
-                        prevLabelPos,
-                        nextLabelPos,
-                        slotWidth,
+                        labelPos = void 0,
+                        prevLabelPos = void 0,
+                        nextLabelPos = void 0,
+                        slotWidth = void 0,
                         tickId = tick.pos,
                         prevTick = ticks[tickId - 1],
                         nextTick = ticks[tickId + 1];
@@ -1907,7 +1906,7 @@
                             x: prevTick.label.xy.x,
                             y: prevTick.label.xy.y,
                             z: null
-                        }, origin, origin.vd);
+                        }, origin_1, origin_1.vd);
                     }
                     // If next label position is defined, then recalculate its position
                     // basing on the perspective.
@@ -1916,14 +1915,14 @@
                             x: nextTick.label.xy.x,
                             y: nextTick.label.xy.y,
                             z: null
-                        }, origin, origin.vd);
+                        }, origin_1, origin_1.vd);
                     }
                     labelPos = {
                         x: tick.label.xy.x,
                         y: tick.label.xy.y,
                         z: null
                     };
-                    labelPos = perspective3D(labelPos, origin, origin.vd);
+                    labelPos = perspective3D(labelPos, origin_1, origin_1.vd);
                     // If tick is first one, check whether next label position is
                     // already calculated, then return difference between the first and
                     // the second label. If there is no next label position calculated,
@@ -2178,10 +2177,9 @@
                 // loop through this axis' series
                 axis.series.forEach(function (series) {
                     if (series.visible ||
-                        !(chart.options.chart &&
-                            chart.options.chart.ignoreHiddenSeries)) {
+                        !chart.options.chart.ignoreHiddenSeries) {
                         var seriesOptions = series.options,
-                            zData,
+                            zData = void 0,
                             threshold = seriesOptions.threshold;
                         axis.hasVisibleSeries = true;
                         // Validate threshold in logarithmic axes
@@ -2203,8 +2201,7 @@
                 var axis = this;
                 var chart = axis.chart;
                 _super.prototype.setAxisSize.call(this);
-                axis.width = axis.len = (chart.options.chart &&
-                    chart.options.chart.options3d &&
+                axis.width = axis.len = (chart.options.chart.options3d &&
                     chart.options.chart.options3d.depth) || 0;
                 axis.right = chart.chartWidth - axis.width - axis.left;
             };
@@ -2906,7 +2903,7 @@
                  * Whether it is a 3D chart.
                  */
                 chartProto.is3d = function () {
-                    return (this.options.chart.options3d &&
+                    return Boolean(this.options.chart.options3d &&
                         this.options.chart.options3d.enabled); // #4280
                 };
                 chartProto.propsRequireDirtyBox.push('chart.options3d');
@@ -4203,40 +4200,40 @@
                 // #7103 Reset outside3dPlot flag
                 point.outside3dPlot = null;
                 if (point.y !== null) {
-                    var shapeArgs = point.shapeArgs, tooltipPos = point.tooltipPos, 
+                    var shapeArgs_1 = point.shapeArgs, tooltipPos = point.tooltipPos, 
                         // Array for final shapeArgs calculation.
                         // We are checking two dimensions (x and y).
-                        dimensions = [['x', 'width'], ['y', 'height']], borderlessBase; // Crisped rects can have +/- 0.5 pixels offset.
+                        dimensions = [['x', 'width'], ['y', 'height']], borderlessBase_1; // Crisped rects can have +/- 0.5 pixels offset.
                         // #3131 We need to check if column is inside plotArea.
                         dimensions.forEach(function (d) {
-                            borderlessBase = shapeArgs[d[0]] - borderCrisp;
-                        if (borderlessBase < 0) {
+                            borderlessBase_1 = shapeArgs_1[d[0]] - borderCrisp;
+                        if (borderlessBase_1 < 0) {
                             // If borderLessBase is smaller than 0, it is needed to set
                             // its value to 0 or 0.5 depending on borderWidth
                             // borderWidth may be even or odd.
-                            shapeArgs[d[1]] +=
-                                shapeArgs[d[0]] + borderCrisp;
-                            shapeArgs[d[0]] = -borderCrisp;
-                            borderlessBase = 0;
+                            shapeArgs_1[d[1]] +=
+                                shapeArgs_1[d[0]] + borderCrisp;
+                            shapeArgs_1[d[0]] = -borderCrisp;
+                            borderlessBase_1 = 0;
                         }
-                        if ((borderlessBase + shapeArgs[d[1]] >
+                        if ((borderlessBase_1 + shapeArgs_1[d[1]] >
                             series[d[0] + 'Axis'].len) &&
                             // Do not change height/width of column if 0 (#6708)
-                            shapeArgs[d[1]] !== 0) {
-                            shapeArgs[d[1]] =
+                            shapeArgs_1[d[1]] !== 0) {
+                            shapeArgs_1[d[1]] =
                                 series[d[0] + 'Axis'].len -
-                                    shapeArgs[d[0]];
+                                    shapeArgs_1[d[0]];
                         }
                         if (
                         // Do not remove columns with zero height/width.
-                        (shapeArgs[d[1]] !== 0) &&
-                            (shapeArgs[d[0]] >=
+                        (shapeArgs_1[d[1]] !== 0) &&
+                            (shapeArgs_1[d[0]] >=
                                 series[d[0] + 'Axis'].len ||
-                                shapeArgs[d[0]] + shapeArgs[d[1]] <=
+                                shapeArgs_1[d[0]] + shapeArgs_1[d[1]] <=
                                     borderCrisp)) {
                             // Set args to 0 if column is outside the chart.
-                            for (var key in shapeArgs) { // eslint-disable-line guard-for-in
-                                shapeArgs[key] = 0;
+                            for (var key in shapeArgs_1) { // eslint-disable-line guard-for-in
+                                shapeArgs_1[key] = 0;
                             }
                             // #7103 outside3dPlot flag is set on Points which are
                             // currently outside of plot.
@@ -4247,18 +4244,18 @@
                     if (point.shapeType === 'rect') {
                         point.shapeType = 'cuboid';
                     }
-                    shapeArgs.z = z;
-                    shapeArgs.depth = depth;
-                    shapeArgs.insidePlotArea = true;
+                    shapeArgs_1.z = z;
+                    shapeArgs_1.depth = depth;
+                    shapeArgs_1.insidePlotArea = true;
                     // Point's position in 2D
                     point2dPos = {
-                        x: shapeArgs.x + shapeArgs.width / 2,
-                        y: shapeArgs.y,
+                        x: shapeArgs_1.x + shapeArgs_1.width / 2,
+                        y: shapeArgs_1.y,
                         z: z + depth / 2 // The center of column in Z dimension
                     };
                     // Recalculate point positions for inverted graphs
                     if (chart.inverted) {
-                        point2dPos.x = shapeArgs.height;
+                        point2dPos.x = shapeArgs_1.height;
                         point2dPos.y = point.clientX;
                     }
                     // Calculate and store point's position in 3D,
@@ -4283,21 +4280,21 @@
             else {
                 var args = arguments,
                     init = args[1],
-                    yAxis = this.yAxis,
-                    series = this,
-                    reversed = this.yAxis.reversed;
+                    yAxis_1 = this.yAxis,
+                    series_1 = this,
+                    reversed_1 = this.yAxis.reversed;
                 if (svg) { // VML is too slow anyway
                     if (init) {
-                        series.data.forEach(function (point) {
+                        series_1.data.forEach(function (point) {
                             if (point.y !== null) {
                                 point.height = point.shapeArgs.height;
                                 point.shapey = point.shapeArgs.y; // #2968
                                 point.shapeArgs.height = 1;
-                                if (!reversed) {
+                                if (!reversed_1) {
                                     if (point.stackY) {
                                         point.shapeArgs.y =
                                             point.plotY +
-                                                yAxis.translate(point.stackY);
+                                                yAxis_1.translate(point.stackY);
                                     }
                                     else {
                                         point.shapeArgs.y =
@@ -4311,13 +4308,13 @@
                         });
                     }
                     else { // run the animation
-                        series.data.forEach(function (point) {
+                        series_1.data.forEach(function (point) {
                             if (point.y !== null) {
                                 point.shapeArgs.height = point.height;
                                 point.shapeArgs.y = point.shapey; // #2968
                                 // null value do not have a graphic
                                 if (point.graphic) {
-                                    point.graphic.animate(point.shapeArgs, series.options.animation);
+                                    point.graphic.animate(point.shapeArgs, series_1.options.animation);
                                 }
                             }
                         });
@@ -4356,19 +4353,17 @@
         // When series is not added to group it is needed to change setVisible method to
         // allow correct Legend funcionality. This wrap is basing on pie chart series.
         wrap(columnProto, 'setVisible', function (proceed, vis) {
-            var series = this,
-                pointVis;
+            var series = this;
             if (series.chart.is3d()) {
                 series.data.forEach(function (point) {
                     point.visible = point.options.visible = vis =
                         typeof vis === 'undefined' ?
                             !pick(series.visible, point.visible) : vis;
-                    pointVis = vis ? 'visible' : 'hidden';
                     series.options.data[series.data.indexOf(point)] =
                         point.options;
                     if (point.graphic) {
                         point.graphic.attr({
-                            visibility: pointVis
+                            visibility: vis ? 'visible' : 'hidden'
                         });
                     }
                 });
@@ -4381,15 +4376,15 @@
                     seriesOptions = this.options,
                     grouping = seriesOptions.grouping,
                     stacking = seriesOptions.stacking,
-                    reversedStacks = pick(this.yAxis.options.reversedStacks,
-                    true),
+                    reversedStacks = this.yAxis.options.reversedStacks,
                     z = 0;
                 // @todo grouping === true ?
                 if (!(typeof grouping !== 'undefined' && !grouping)) {
                     var stacks = retrieveStacks(this.chart,
                         stacking),
                         stack = seriesOptions.stack || 0,
-                        i; // position within the stack
+                        i = // position within the stack
+                         void 0; // position within the stack
                         for (i = 0; i < stacks[stack].series.length; i++) {
                             if (stacks[stack].series[i] === this) {
                                 break;
@@ -4550,12 +4545,12 @@
             Not supported
         */
         /*
-        var defaultOptions = H.getOptions();
+        let defaultOptions = H.getOptions();
         defaultOptions.plotOptions.cylinder =
             merge(defaultOptions.plotOptions.column);
-        var CylinderSeries = extendClass(seriesTypes.column, {
-                type: 'cylinder'
-            });
+        let CylinderSeries = extendClass(seriesTypes.column, {
+            type: 'cylinder'
+        });
         seriesTypes.cylinder = CylinderSeries;
 
         wrap(seriesTypes.cylinder.prototype, 'translate', function (proceed) {
@@ -4566,24 +4561,24 @@
                 return;
             }
 
-            var series = this,
-                    chart = series.chart,
-                    options = chart.options,
-                    cylOptions = options.plotOptions.cylinder,
-                    options3d = options.chart.options3d,
-                    depth = cylOptions.depth || 0,
-                    alpha = chart.alpha3d;
+            let series = this,
+                chart = series.chart,
+                options = chart.options,
+                cylOptions = options.plotOptions.cylinder,
+                options3d = options.chart.options3d,
+                depth = cylOptions.depth || 0,
+                alpha = chart.alpha3d;
 
-            var z = cylOptions.stacking ?
-                    (this.options.stack || 0) * depth :
-                    series._i * depth;
+            let z = cylOptions.stacking ?
+                (this.options.stack || 0) * depth :
+                series._i * depth;
             z += depth / 2;
 
             if (cylOptions.grouping !== false) { z = 0; }
 
             each(series.data, function (point) {
-                var shapeArgs = point.shapeArgs,
-                        deg2rad = H.deg2rad;
+                let shapeArgs = point.shapeArgs,
+                    deg2rad = H.deg2rad;
                 point.shapeType = 'arc3d';
                 shapeArgs.x += depth / 2;
                 shapeArgs.z = z;
@@ -4794,7 +4789,7 @@
                 }
                 else {
                     var animation = this.options.animation,
-                        attribs,
+                        attribs = void 0,
                         center = this.center,
                         group = this.group,
                         markerGroup = this.markerGroup;
@@ -4842,13 +4837,13 @@
                 if (this.chart.is3d()) {
                     var series = this,
                         chart = series.chart,
-                        options3d = chart.options.chart.options3d;
+                        options3d_1 = chart.options.chart.options3d;
                     series.data.forEach(function (point) {
                         var shapeArgs = point.shapeArgs,
                             r = shapeArgs.r, 
                             // #3240 issue with datalabels for 0 and null values
-                            a1 = (shapeArgs.alpha || options3d.alpha) * deg2rad,
-                            b1 = (shapeArgs.beta || options3d.beta) * deg2rad,
+                            a1 = (shapeArgs.alpha || options3d_1.alpha) * deg2rad,
+                            b1 = (shapeArgs.beta || options3d_1.beta) * deg2rad,
                             a2 = (shapeArgs.start + shapeArgs.end) / 2,
                             labelPosition = point.labelPosition,
                             connectorPosition = labelPosition.connectorPosition,
@@ -4924,7 +4919,7 @@
             };
             return Pie3DSeries;
         }(PieSeries));
-        extend(Pie3DSeries, {
+        extend(Pie3DSeries.prototype, {
             pointClass: Pie3DPoint
         });
         /* *
@@ -5285,34 +5280,32 @@
                 series.yAxis.getThreshold(options.threshold)),
                 options3d;
             if (series.rawPointsX) {
-                for (var i = 0; i < series.points.length; i++) {
+                for (var i_1 = 0; i_1 < series.points.length; i_1++) {
                     bottomPoints.push({
-                        x: series.rawPointsX[i],
-                        y: options.stacking ? series.points[i].yBottom : translatedThreshold,
+                        x: series.rawPointsX[i_1],
+                        y: options.stacking ? series.points[i_1].yBottom : translatedThreshold,
                         z: series.zPadding
                     });
                 }
             }
-            if (series.chart.options && series.chart.options.chart) {
-                options3d = series.chart.options.chart.options3d;
-                bottomPoints = perspective(bottomPoints, series.chart, true).map(function (point) {
-                    return { plotX: point.x, plotY: point.y, plotZ: point.z };
-                });
-                if (series.group && options3d && options3d.depth && options3d.beta) {
-                    // Markers should take the global zIndex of series group.
-                    if (series.markerGroup) {
-                        series.markerGroup.add(series.group);
-                        series.markerGroup.attr({
-                            translateX: 0,
-                            translateY: 0
-                        });
-                    }
-                    series.group.attr({
-                        zIndex: Math.max(1, (options3d.beta > 270 || options3d.beta < 90) ?
-                            options3d.depth - Math.round(series.zPadding || 0) :
-                            Math.round(series.zPadding || 0))
+            options3d = series.chart.options.chart.options3d;
+            bottomPoints = perspective(bottomPoints, series.chart, true).map(function (point) {
+                return { plotX: point.x, plotY: point.y, plotZ: point.z };
+            });
+            if (series.group && options3d && options3d.depth && options3d.beta) {
+                // Markers should take the global zIndex of series group.
+                if (series.markerGroup) {
+                    series.markerGroup.add(series.group);
+                    series.markerGroup.attr({
+                        translateX: 0,
+                        translateY: 0
                     });
                 }
+                series.group.attr({
+                    zIndex: Math.max(1, (options3d.beta > 270 || options3d.beta < 90) ?
+                        options3d.depth - Math.round(series.zPadding || 0) :
+                        Math.round(series.zPadding || 0))
+                });
             }
             bottomPoints.reversed = true;
             bottomPath = getGraphPath.call(series, bottomPoints, true, true);

+ 788 - 779
node_modules/highcharts/highcharts-gantt.js

@@ -1,786 +1,795 @@
 /*
- Highcharts Gantt JS v9.0.1 (2021-02-15)
+ Highcharts Gantt JS v9.1.0 (2021-05-03)
 
  (c) 2017-2021 Lars Cabrera, Torstein Honsi, Jon Arild Nygard & Oystein Moseng
 
  License: www.highcharts.com/license
 */
-(function(W,O){"object"===typeof module&&module.exports?(O["default"]=O,module.exports=W.document?O(W):O):"function"===typeof define&&define.amd?define("highcharts/highcharts-gantt",function(){return O(W)}):(W.Highcharts&&W.Highcharts.error(16,!0),W.Highcharts=O(W))})("undefined"!==typeof window?window:this,function(W){function O(G,l,e,C){G.hasOwnProperty(l)||(G[l]=C.apply(null,e))}var e={};O(e,"Core/Globals.js",[],function(){var G="undefined"!==typeof W?W:"undefined"!==typeof window?window:{},l=
-G.document,e=G.navigator&&G.navigator.userAgent||"",C=l&&l.createElementNS&&!!l.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,H=/(edge|msie|trident)/i.test(e)&&!G.opera,J=-1!==e.indexOf("Firefox"),D=-1!==e.indexOf("Chrome"),E=J&&4>parseInt(e.split("Firefox/")[1],10),A=function(){};return{product:"Highcharts",version:"9.0.1",deg2rad:2*Math.PI/360,doc:l,hasBidiBug:E,hasTouch:!!G.TouchEvent,isMS:H,isWebKit:-1!==e.indexOf("AppleWebKit"),isFirefox:J,isChrome:D,isSafari:!D&&-1!==e.indexOf("Safari"),
-isTouchDevice:/(Mobile|Android|Windows Phone)/.test(e),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},supportsPassiveEvents:function(){var x=!1;if(!H){var g=Object.defineProperty({},"passive",{get:function(){x=!0}});G.addEventListener&&G.removeEventListener&&(G.addEventListener("testPassive",A,g),G.removeEventListener("testPassive",A,g))}return x}(),symbolSizes:{},svg:C,win:G,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:A,charts:[],dateFormats:{}}});O(e,"Core/Utilities.js",
-[e["Core/Globals.js"]],function(G){function l(z,c,B,Q){var v=c?"Highcharts error":"Highcharts warning";32===z&&(z=v+": Deprecated member");var R=g(z),n=R?v+" #"+z+": www.highcharts.com/errors/"+z+"/":z.toString();v=function(){if(c)throw Error(n);h.console&&-1===l.messages.indexOf(n)&&console.warn(n)};if("undefined"!==typeof Q){var b="";R&&(n+="?");a(Q,function(v,B){b+="\n - "+B+": "+v;R&&(n+=encodeURI(B)+"="+encodeURI(v))});n+=b}B?d(B,"displayError",{code:z,message:n,params:Q},v):v();l.messages.push(n)}
-function e(){var z,c=arguments,B={},d=function(v,B){"object"!==typeof v&&(v={});a(B,function(z,a){"__proto__"!==a&&"constructor"!==a&&(!E(z,!0)||x(z)||A(z)?v[a]=B[a]:v[a]=d(v[a]||{},z))});return v};!0===c[0]&&(B=c[1],c=Array.prototype.slice.call(c,2));var v=c.length;for(z=0;z<v;z++)B=d(B,c[z]);return B}function C(z,c){var B={};a(z,function(a,v){if(E(z[v],!0)&&!z.nodeType&&c[v])a=C(z[v],c[v]),Object.keys(a).length&&(B[v]=a);else if(E(z[v])||z[v]!==c[v])B[v]=z[v]});return B}function H(a,c){return parseInt(a,
-c||10)}function J(a){return"string"===typeof a}function D(a){a=Object.prototype.toString.call(a);return"[object Array]"===a||"[object Array Iterator]"===a}function E(a,c){return!!a&&"object"===typeof a&&(!c||!D(a))}function A(a){return E(a)&&"number"===typeof a.nodeType}function x(a){var z=a&&a.constructor;return!(!E(a,!0)||A(a)||!z||!z.name||"Object"===z.name)}function g(a){return"number"===typeof a&&!isNaN(a)&&Infinity>a&&-Infinity<a}function u(a){return"undefined"!==typeof a&&null!==a}function f(z,
-c,B){var d;J(c)?u(B)?z.setAttribute(c,B):z&&z.getAttribute&&((d=z.getAttribute(c))||"class"!==c||(d=z.getAttribute(c+"Name"))):a(c,function(v,a){z.setAttribute(a,v)});return d}function w(a,c){var B;a||(a={});for(B in c)a[B]=c[B];return a}function b(){for(var a=arguments,c=a.length,B=0;B<c;B++){var d=a[B];if("undefined"!==typeof d&&null!==d)return d}}function m(a,c){G.isMS&&!G.svg&&c&&"undefined"!==typeof c.opacity&&(c.filter="alpha(opacity="+100*c.opacity+")");w(a.style,c)}function t(a,d,B,h,v){a=
-c.createElement(a);d&&w(a,d);v&&m(a,{padding:"0",border:"none",margin:"0"});B&&m(a,B);h&&h.appendChild(a);return a}function I(a,c){return parseFloat(a.toPrecision(c||14))}function q(a,c,B,d){a=+a||0;c=+c;var v=G.defaultOptions.lang,z=(a.toString().split(".")[1]||"").split("e")[0].length,h=a.toString().split("e"),n=c;if(-1===c)c=Math.min(z,20);else if(!g(c))c=2;else if(c&&h[1]&&0>h[1]){var N=c+ +h[1];0<=N?(h[0]=(+h[0]).toExponential(N).split("e")[0],c=N):(h[0]=h[0].split(".")[0]||0,a=20>c?(h[0]*Math.pow(10,
-h[1])).toFixed(c):0,h[1]=0)}var Q=(Math.abs(h[1]?h[0]:a)+Math.pow(10,-Math.max(c,z)-1)).toFixed(c);z=String(H(Q));N=3<z.length?z.length%3:0;B=b(B,v.decimalPoint);d=b(d,v.thousandsSep);a=(0>a?"-":"")+(N?z.substr(0,N)+d:"");a=0>+h[1]&&!n?"0":a+z.substr(N).replace(/(\d{3})(?=\d)/g,"$1"+d);c&&(a+=B+Q.slice(-c));h[1]&&0!==+a&&(a+="e"+h[1]);return a}function p(a,c){if(!a)return c;var B=a.split(".").reverse();if(1===B.length)return c[a];for(a=B.pop();"undefined"!==typeof a&&"undefined"!==typeof c&&null!==
-c;)c=c[a],a=B.pop();return c}function a(a,c,B){for(var d in a)Object.hasOwnProperty.call(a,d)&&c.call(B||a[d],a[d],d,a)}function k(c,d,B){function z(a,v){var B=c.removeEventListener||G.removeEventListenerPolyfill;B&&B.call(c,a,v,!1)}function v(v){var B;if(c.nodeName){if(d){var h={};h[d]=!0}else h=v;a(h,function(a,c){if(v[c])for(B=v[c].length;B--;)z(c,v[c][B].fn)})}}var h="function"===typeof c&&c.prototype||c;if(Object.hasOwnProperty.call(h,"hcEvents")){var n=h.hcEvents;d?(h=n[d]||[],B?(n[d]=h.filter(function(a){return B!==
-a.fn}),z(d,B)):(v(n),n[d]=[])):(v(n),delete h.hcEvents)}}function d(a,d,B,h){B=B||{};if(c.createEvent&&(a.dispatchEvent||a.fireEvent)){var v=c.createEvent("Events");v.initEvent(d,!0,!0);w(v,B);a.dispatchEvent?a.dispatchEvent(v):a.fireEvent(d,v)}else if(a.hcEvents){B.target||w(B,{preventDefault:function(){B.defaultPrevented=!0},target:a,type:d});v=[];for(var z=a,n=!1;z.hcEvents;)Object.hasOwnProperty.call(z,"hcEvents")&&z.hcEvents[d]&&(v.length&&(n=!0),v.unshift.apply(v,z.hcEvents[d])),z=Object.getPrototypeOf(z);
-n&&v.sort(function(a,v){return a.order-v.order});v.forEach(function(v){!1===v.fn.call(a,B)&&B.preventDefault()})}h&&!B.defaultPrevented&&h.call(a,B)}var y=G.charts,c=G.doc,h=G.win;"";(l||(l={})).messages=[];var M;Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};var S=Array.prototype.find?function(a,c){return a.find(c)}:function(a,c){var B,d=a.length;for(B=0;B<d;B++)if(c(a[B],B))return a[B]};a({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(a,c){G[c]=
-function(B){var d;l(32,!1,void 0,(d={},d["Highcharts."+c]="use Array."+a,d));return Array.prototype[a].apply(B,[].slice.call(arguments,1))}});var P,n=function(){var a=Math.random().toString(36).substring(2,9)+"-",c=0;return function(){return"highcharts-"+(P?"":a)+c++}}(),K=G.getOptions=function(){return G.defaultOptions},r=G.setOptions=function(a){G.defaultOptions=e(!0,G.defaultOptions,a);(a.time||a.global)&&G.time.update(e(G.defaultOptions.global,G.defaultOptions.time,a.global,a.time));return G.defaultOptions};
-h.jQuery&&(h.jQuery.fn.highcharts=function(){var a=[].slice.call(arguments);if(this[0])return a[0]?(new (G[J(a[0])?a.shift():"Chart"])(this[0],a[0],a[1]),this):y[f(this[0],"data-highcharts-chart")]});return{addEvent:function(a,c,B,d){void 0===d&&(d={});var v="function"===typeof a&&a.prototype||a;Object.hasOwnProperty.call(v,"hcEvents")||(v.hcEvents={});v=v.hcEvents;G.Point&&a instanceof G.Point&&a.series&&a.series.chart&&(a.series.chart.runTrackerClick=!0);var h=a.addEventListener||G.addEventListenerPolyfill;
-h&&h.call(a,c,B,G.supportsPassiveEvents?{passive:void 0===d.passive?-1!==c.indexOf("touch"):d.passive,capture:!1}:!1);v[c]||(v[c]=[]);v[c].push({fn:B,order:"number"===typeof d.order?d.order:Infinity});v[c].sort(function(a,v){return a.order-v.order});return function(){k(a,c,B)}},arrayMax:function(a){for(var c=a.length,B=a[0];c--;)a[c]>B&&(B=a[c]);return B},arrayMin:function(a){for(var c=a.length,B=a[0];c--;)a[c]<B&&(B=a[c]);return B},attr:f,clamp:function(a,c,B){return a>c?a<B?a:B:c},cleanRecursively:C,
-clearTimeout:function(a){u(a)&&clearTimeout(a)},correctFloat:I,createElement:t,css:m,defined:u,destroyObjectProperties:function(c,d){a(c,function(a,h){a&&a!==d&&a.destroy&&a.destroy();delete c[h]})},discardElement:function(a){M||(M=t("div"));a&&M.appendChild(a);M.innerHTML=""},erase:function(a,c){for(var B=a.length;B--;)if(a[B]===c){a.splice(B,1);break}},error:l,extend:w,extendClass:function(a,c){var B=function(){};B.prototype=new a;w(B.prototype,c);return B},find:S,fireEvent:d,format:function(a,
-c,B){var d="{",v=!1,h=[],n=/f$/,z=/\.([0-9])/,N=G.defaultOptions.lang,b=B&&B.time||G.time;for(B=B&&B.numberFormatter||q;a;){var r=a.indexOf(d);if(-1===r)break;var k=a.slice(0,r);if(v){k=k.split(":");d=p(k.shift()||"",c);if(k.length&&"number"===typeof d)if(k=k.join(":"),n.test(k)){var y=parseInt((k.match(z)||["","-1"])[1],10);null!==d&&(d=B(d,y,N.decimalPoint,-1<k.indexOf(",")?N.thousandsSep:""))}else d=b.dateFormat(k,d);h.push(d)}else h.push(k);a=a.slice(r+1);d=(v=!v)?"}":"{"}h.push(a);return h.join("")},
-getMagnitude:function(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))},getNestedProperty:p,getOptions:K,getStyle:function(a,c,B){if("width"===c)return c=Math.min(a.offsetWidth,a.scrollWidth),B=a.getBoundingClientRect&&a.getBoundingClientRect().width,B<c&&B>=c-1&&(c=Math.floor(B)),Math.max(0,c-G.getStyle(a,"padding-left")-G.getStyle(a,"padding-right"));if("height"===c)return Math.max(0,Math.min(a.offsetHeight,a.scrollHeight)-G.getStyle(a,"padding-top")-G.getStyle(a,"padding-bottom"));h.getComputedStyle||
-l(27,!0);if(a=h.getComputedStyle(a,void 0))a=a.getPropertyValue(c),b(B,"opacity"!==c)&&(a=H(a));return a},inArray:function(a,c,B){l(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"});return c.indexOf(a,B)},isArray:D,isClass:x,isDOMElement:A,isFunction:function(a){return"function"===typeof a},isNumber:g,isObject:E,isString:J,keys:function(a){l(32,!1,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(a)},merge:e,normalizeTickInterval:function(a,c,B,d,v){var h=a;B=b(B,1);var n=a/
-B;c||(c=v?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===d&&(1===B?c=c.filter(function(a){return 0===a%1}):.1>=B&&(c=[1/B])));for(d=0;d<c.length&&!(h=c[d],v&&h*B>=a||!v&&n<=(c[d]+(c[d+1]||c[d]))/2);d++);return h=I(h*B,-Math.round(Math.log(.001)/Math.LN10))},numberFormat:q,objectEach:a,offset:function(a){var d=c.documentElement;a=a.parentElement||a.parentNode?a.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:a.top+(h.pageYOffset||d.scrollTop)-(d.clientTop||0),left:a.left+(h.pageXOffset||
-d.scrollLeft)-(d.clientLeft||0),width:a.width,height:a.height}},pad:function(a,c,B){return Array((c||2)+1-String(a).replace("-","").length).join(B||"0")+a},pick:b,pInt:H,relativeLength:function(a,c,B){return/%$/.test(a)?c*parseFloat(a)/100+(B||0):parseFloat(a)},removeEvent:k,setOptions:r,splat:function(a){return D(a)?a:[a]},stableSort:function(a,c){var B=a.length,d,v;for(v=0;v<B;v++)a[v].safeI=v;a.sort(function(a,v){d=c(a,v);return 0===d?a.safeI-v.safeI:d});for(v=0;v<B;v++)delete a[v].safeI},syncTimeout:function(a,
-c,B){if(0<c)return setTimeout(a,c,B);a.call(0,B);return-1},timeUnits:{millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5},uniqueKey:n,useSerialIds:function(a){return P=b(a,P)},wrap:function(a,c,B){var d=a[c];a[c]=function(){var a=Array.prototype.slice.call(arguments),c=arguments,h=this;h.proceed=function(){d.apply(h,arguments.length?arguments:c)};a.unshift(d);a=B.apply(this,a);h.proceed=null;return a}}}});O(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],
-e["Core/Utilities.js"]],function(e,l){var G=e.SVG_NS,C=l.attr,H=l.createElement,J=l.discardElement,D=l.error,E=l.isString,A=l.objectEach,x=l.splat;"";var g=!1;try{g=!!(new DOMParser).parseFromString("","text/html")}catch(u){}return function(){function u(f){this.nodes="string"===typeof f?this.parseMarkup(f):f}u.filterUserAttributes=function(f){A(f,function(g,b){var m=!0;-1===u.allowedAttributes.indexOf(b)&&(m=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(b)&&(m=E(g)&&u.allowedReferences.some(function(b){return 0===
-g.indexOf(b)}));m||(D("Highcharts warning: Invalid attribute '"+b+"' in config"),delete f[b])});return f};u.setElementHTML=function(f,g){f.innerHTML="";g&&(new u(g)).addToDOM(f)};u.prototype.addToDOM=function(f){function g(b,f){var m;x(b).forEach(function(b){var q=b.tagName,p=b.textContent?e.doc.createTextNode(b.textContent):void 0;if(q)if("#text"===q)var a=p;else if(-1!==u.allowedTags.indexOf(q)){q=e.doc.createElementNS("svg"===q?G:f.namespaceURI||G,q);var k=b.attributes||{};A(b,function(a,b){"tagName"!==
-b&&"attributes"!==b&&"children"!==b&&"textContent"!==b&&(k[b]=a)});C(q,u.filterUserAttributes(k));p&&q.appendChild(p);g(b.children||[],q);a=q}else D("Highcharts warning: Invalid tagName '"+q+"' in config");a&&f.appendChild(a);m=a});return m}return g(this.nodes,f)};u.prototype.parseMarkup=function(f){var w=[];if(g)f=(new DOMParser).parseFromString(f,"text/html");else{var b=H("div");b.innerHTML=f;f={body:b}}var m=function(b,f){var q=b.nodeName.toLowerCase(),p={tagName:q};if("#text"===q){q=b.textContent||
-"";if(/^[\s]*$/.test(q))return;p.textContent=q}if(q=b.attributes){var a={};[].forEach.call(q,function(d){a[d.name]=d.value});p.attributes=a}if(b.childNodes.length){var k=[];[].forEach.call(b.childNodes,function(a){m(a,k)});k.length&&(p.children=k)}f.push(p)};[].forEach.call(f.body.childNodes,function(b){return m(b,w)});b&&J(b);return w};u.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr ul #text".split(" ");
-u.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 xy y y1 y2 zIndex".split(" ");
-u.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");return u}()});O(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,l){var G=l.isNumber,C=l.merge,H=l.pInt;"";l=function(){function l(D){this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(l){return[H(l[1]),H(l[2]),H(l[3]),parseFloat(l[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(l){return[H(l[1]),
-H(l[2]),H(l[3]),1]}}];this.rgba=[];if(e.Color!==l)return new e.Color(D);if(!(this instanceof l))return new l(D);this.init(D)}l.parse=function(D){return new l(D)};l.prototype.init=function(D){var E,A;if((this.input=D=l.names[D&&D.toLowerCase?D.toLowerCase():""]||D)&&D.stops)this.stops=D.stops.map(function(g){return new l(g[1])});else{if(D&&D.charAt&&"#"===D.charAt()){var x=D.length;D=parseInt(D.substr(1),16);7===x?E=[(D&16711680)>>16,(D&65280)>>8,D&255,1]:4===x&&(E=[(D&3840)>>4|(D&3840)>>8,(D&240)>>
-4|D&240,(D&15)<<4|D&15,1])}if(!E)for(A=this.parsers.length;A--&&!E;){var g=this.parsers[A];(x=g.regex.exec(D))&&(E=g.parse(x))}}this.rgba=E||[]};l.prototype.get=function(l){var E=this.input,A=this.rgba;if("undefined"!==typeof this.stops){var x=C(E);x.stops=[].concat(x.stops);this.stops.forEach(function(g,u){x.stops[u]=[x.stops[u][0],g.get(l)]})}else x=A&&G(A[0])?"rgb"===l||!l&&1===A[3]?"rgb("+A[0]+","+A[1]+","+A[2]+")":"a"===l?A[3]:"rgba("+A.join(",")+")":E;return x};l.prototype.brighten=function(l){var E,
-A=this.rgba;if(this.stops)this.stops.forEach(function(x){x.brighten(l)});else if(G(l)&&0!==l)for(E=0;3>E;E++)A[E]+=H(255*l),0>A[E]&&(A[E]=0),255<A[E]&&(A[E]=255);return this};l.prototype.setOpacity=function(l){this.rgba[3]=l;return this};l.prototype.tweenTo=function(l,E){var A=this.rgba,x=l.rgba;x.length&&A&&A.length?(l=1!==x[3]||1!==A[3],E=(l?"rgba(":"rgb(")+Math.round(x[0]+(A[0]-x[0])*(1-E))+","+Math.round(x[1]+(A[1]-x[1])*(1-E))+","+Math.round(x[2]+(A[2]-x[2])*(1-E))+(l?","+(x[3]+(A[3]-x[3])*(1-
-E)):"")+")"):E=l.input||"none";return E};l.names={white:"#ffffff",black:"#000000"};return l}();e.Color=l;e.color=l.parse;return l});O(e,"Core/Color/Palette.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",neutralColor80:"#333333",neutralColor60:"#666666",neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",
-highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",indicatorPositiveLine:"#06b535",indicatorNegativeLine:"#f21313"}});O(e,"Core/Animation/Fx.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,l){var G=e.win,C=l.isNumber,H=l.objectEach;l=function(){function l(l,E,A){this.pos=NaN;this.options=E;this.elem=l;this.prop=A}l.prototype.dSetter=function(){var l=this.paths,E=l&&l[0];l=l&&l[1];var A=[],x=this.now||
-0;if(1!==x&&E&&l)if(E.length===l.length&&1>x)for(var g=0;g<l.length;g++){for(var u=E[g],f=l[g],w=[],b=0;b<f.length;b++){var m=u[b],t=f[b];C(m)&&C(t)&&("A"!==f[0]||4!==b&&5!==b)?w[b]=m+x*(t-m):w[b]=t}A.push(w)}else A=l;else A=this.toD||[];this.elem.attr("d",A,void 0,!0)};l.prototype.update=function(){var l=this.elem,E=this.prop,A=this.now,x=this.options.step;if(this[E+"Setter"])this[E+"Setter"]();else l.attr?l.element&&l.attr(E,A,null,!0):l.style[E]=A+this.unit;x&&x.call(l,A,this)};l.prototype.run=
-function(e,E,A){var x=this,g=x.options,u=function(b){return u.stopped?!1:x.step(b)},f=G.requestAnimationFrame||function(b){setTimeout(b,13)},w=function(){for(var b=0;b<l.timers.length;b++)l.timers[b]()||l.timers.splice(b--,1);l.timers.length&&f(w)};e!==E||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=E,this.unit=A,this.now=this.start,this.pos=0,u.elem=this.elem,u.prop=this.prop,u()&&1===l.timers.push(u)&&f(w)):(delete g.curAnim[this.prop],g.complete&&0===Object.keys(g.curAnim).length&&
-g.complete.call(this.elem))};l.prototype.step=function(l){var E=+new Date,A=this.options,x=this.elem,g=A.complete,u=A.duration,f=A.curAnim;if(x.attr&&!x.element)l=!1;else if(l||E>=u+this.startTime){this.now=this.end;this.pos=1;this.update();var w=f[this.prop]=!0;H(f,function(b){!0!==b&&(w=!1)});w&&g&&g.call(x);l=!1}else this.pos=A.easing((E-this.startTime)/u),this.now=this.start+(this.end-this.start)*this.pos,this.update(),l=!0;return l};l.prototype.initPath=function(l,E,A){function x(b,f){for(;b.length<
-I;){var a=b[0],k=f[I-b.length];k&&"M"===a[0]&&(b[0]="C"===k[0]?["C",a[1],a[2],a[1],a[2],a[1],a[2]]:["L",a[1],a[2]]);b.unshift(a);w&&b.push(b[b.length-1])}}function g(f,p){for(;f.length<I;)if(p=f[f.length/b-1].slice(),"C"===p[0]&&(p[1]=p[5],p[2]=p[6]),w){var a=f[f.length/b].slice();f.splice(f.length/2,0,p,a)}else f.push(p)}var u=l.startX,f=l.endX;E=E&&E.slice();A=A.slice();var w=l.isArea,b=w?2:1;if(!E)return[A,A];if(u&&f){for(l=0;l<u.length;l++)if(u[l]===f[0]){var m=l;break}else if(u[0]===f[f.length-
-u.length+l]){m=l;var t=!0;break}else if(u[u.length-1]===f[f.length-u.length+l]){m=u.length-l;break}"undefined"===typeof m&&(E=[])}if(E.length&&C(m)){var I=A.length+m*b;t?(x(E,A),g(A,E)):(x(A,E),g(E,A))}return[E,A]};l.prototype.fillSetter=function(){l.prototype.strokeSetter.apply(this,arguments)};l.prototype.strokeSetter=function(){this.elem.attr(this.prop,e.color(this.start).tweenTo(e.color(this.end),this.pos),null,!0)};l.timers=[];return l}();e.Fx=l;e.timers=l.timers;return l});O(e,"Core/Animation/AnimationUtilities.js",
-[e["Core/Animation/Fx.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,l,F){var G=F.defined,H=F.getStyle,J=F.isArray,D=F.isNumber,E=F.isObject,A=F.merge,x=F.objectEach,g=F.pick;F=l.setAnimation=function(b,f){f.renderer.globalAnimation=g(b,f.options.chart.animation,!0)};var u=l.animObject=function(b){return E(b)?A({duration:500,defer:0},b):{duration:b?500:0,defer:0}},f=l.getDeferredAnimation=function(b,f,t){var m=u(f),q=0,p=0;(t?[t]:b.series).forEach(function(a){a=u(a.options.animation);
-q=f&&G(f.defer)?m.defer:Math.max(q,a.duration+a.defer);p=Math.min(m.duration,a.duration)});b.renderer.forExport&&(q=0);return{defer:Math.max(0,q-p),duration:Math.min(q,p)}},w=l.stop=function(b,f){for(var m=e.timers.length;m--;)e.timers[m].elem!==b||f&&f!==e.timers[m].prop||(e.timers[m].stopped=!0)};return{animate:function(b,f,t){var m,q="",p,a;if(!E(t)){var k=arguments;t={duration:k[2],easing:k[3],complete:k[4]}}D(t.duration)||(t.duration=400);t.easing="function"===typeof t.easing?t.easing:Math[t.easing]||
-Math.easeInOutSine;t.curAnim=A(f);x(f,function(d,k){w(b,k);a=new e(b,t,k);p=null;"d"===k&&J(f.d)?(a.paths=a.initPath(b,b.pathArray,f.d),a.toD=f.d,m=0,p=1):b.attr?m=b.attr(k):(m=parseFloat(H(b,k))||0,"opacity"!==k&&(q="px"));p||(p=d);p&&p.match&&p.match("px")&&(p=p.replace(/px/g,""));a.run(m,p,q)})},animObject:u,getDeferredAnimation:f,setAnimation:F,stop:w}});O(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],
-e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J){var G=e.animate,E=e.animObject,A=e.stop,x=C.deg2rad,g=C.doc,u=C.hasTouch,f=C.noop,w=C.svg,b=C.SVG_NS,m=C.win,t=J.attr,I=J.createElement,q=J.css,p=J.defined,a=J.erase,k=J.extend,d=J.fireEvent,y=J.isArray,c=J.isFunction,h=J.isNumber,M=J.isString,S=J.merge,P=J.objectEach,n=J.pick,K=J.pInt,r=J.syncTimeout,z=J.uniqueKey;"";e=function(){function L(){this.height=this.element=void 0;this.opacity=1;this.renderer=void 0;this.SVG_NS=b;
-this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ");this.width=void 0}L.prototype._defaultGetter=function(a){a=n(this[a+"Value"],this[a],this.element?this.element.getAttribute(a):null,0);/^[\-0-9\.]+$/.test(a)&&(a=parseFloat(a));return a};L.prototype._defaultSetter=function(a,c,v){v.setAttribute(c,a)};L.prototype.add=function(a){var c=this.renderer,v=this.element;a&&(this.parentGroup=a);this.parentInverted=a&&a.inverted;"undefined"!==typeof this.textStr&&
-"text"===this.element.nodeName&&c.buildText(this);this.added=!0;if(!a||a.handleZ||this.zIndex)var d=this.zIndexSetter();d||(a?a.element:c.box).appendChild(v);if(this.onAdd)this.onAdd();return this};L.prototype.addClass=function(a,c){var v=c?"":this.attr("class")||"";a=(a||"").split(/ /g).reduce(function(a,c){-1===v.indexOf(c)&&a.push(c);return a},v?[v]:[]).join(" ");a!==v&&this.attr("class",a);return this};L.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=
-!1)};L.prototype.align=function(c,d,v){var B,h={};var b=this.renderer;var N=b.alignedObjects;var k,r;if(c){if(this.alignOptions=c,this.alignByTranslate=d,!v||M(v))this.alignTo=B=v||"renderer",a(N,this),N.push(this),v=void 0}else c=this.alignOptions,d=this.alignByTranslate,B=this.alignTo;v=n(v,b[B],b);B=c.align;b=c.verticalAlign;N=(v.x||0)+(c.x||0);var f=(v.y||0)+(c.y||0);"right"===B?k=1:"center"===B&&(k=2);k&&(N+=(v.width-(c.width||0))/k);h[d?"translateX":"x"]=Math.round(N);"bottom"===b?r=1:"middle"===
-b&&(r=2);r&&(f+=(v.height-(c.height||0))/r);h[d?"translateY":"y"]=Math.round(f);this[this.placed?"animate":"attr"](h);this.placed=!0;this.alignAttr=h;return this};L.prototype.alignSetter=function(a){var c={left:"start",center:"middle",right:"end"};c[a]&&(this.alignValue=a,this.element.setAttribute("text-anchor",c[a]))};L.prototype.animate=function(a,c,v){var d=this,B=E(n(c,this.renderer.globalAnimation,!0));c=B.defer;n(g.hidden,g.msHidden,g.webkitHidden,!1)&&(B.duration=0);0!==B.duration?(v&&(B.complete=
-v),r(function(){d.element&&G(d,a,B)},c)):(this.attr(a,void 0,v),P(a,function(a,c){B.step&&B.step.call(this,a,{prop:c,pos:1,elem:this})},this));return this};L.prototype.applyTextOutline=function(a){var c=this.element;-1!==a.indexOf("contrast")&&(a=a.replace(/contrast/g,this.renderer.getContrast(c.style.fill)));var v=a.split(" ");a=v[v.length-1];if((v=v[0])&&"none"!==v&&C.svg){this.fakeTS=!0;this.ySetter=this.xSetter;v=v.replace(/(^[\d\.]+)(.*?)$/g,function(a,c,v){return 2*Number(c)+v});this.removeTextOutline();
-var d=g.createElementNS(b,"tspan");t(d,{"class":"highcharts-text-outline",fill:a,stroke:a,"stroke-width":v,"stroke-linejoin":"round"});[].forEach.call(c.childNodes,function(a){var c=a.cloneNode(!0);c.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(a){return c.removeAttribute(a)});d.appendChild(c)});a=g.createElementNS(b,"tspan");a.textContent="\u200b";t(a,{x:c.getAttribute("x"),y:c.getAttribute("y")});d.appendChild(a);c.insertBefore(d,c.firstChild)}};L.prototype.attr=function(a,
-c,v,d){var B=this.element,h,N=this,b,n,R=this.symbolCustomAttribs;if("string"===typeof a&&"undefined"!==typeof c){var k=a;a={};a[k]=c}"string"===typeof a?N=(this[a+"Getter"]||this._defaultGetter).call(this,a,B):(P(a,function(c,v){b=!1;d||A(this,v);this.symbolName&&-1!==R.indexOf(v)&&(h||(this.symbolAttr(a),h=!0),b=!0);!this.rotation||"x"!==v&&"y"!==v||(this.doTransform=!0);b||(n=this[v+"Setter"]||this._defaultSetter,n.call(this,c,v,B),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(v)&&
-this.updateShadows(v,c,n))},this),this.afterSetters());v&&v.call(this);return N};L.prototype.clip=function(a){return this.attr("clip-path",a?"url("+this.renderer.url+"#"+a.id+")":"none")};L.prototype.crisp=function(a,c){c=c||a.strokeWidth||0;var v=Math.round(c)%2/2;a.x=Math.floor(a.x||this.x||0)+v;a.y=Math.floor(a.y||this.y||0)+v;a.width=Math.floor((a.width||this.width||0)-2*v);a.height=Math.floor((a.height||this.height||0)-2*v);p(a.strokeWidth)&&(a.strokeWidth=c);return a};L.prototype.complexColor=
-function(a,c,v){var h=this.renderer,B,b,N,n,k,r,f,Q,m,q,K=[],t;d(this.renderer,"complexColor",{args:arguments},function(){a.radialGradient?b="radialGradient":a.linearGradient&&(b="linearGradient");if(b){N=a[b];k=h.gradients;r=a.stops;m=v.radialReference;y(N)&&(a[b]=N={x1:N[0],y1:N[1],x2:N[2],y2:N[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===b&&m&&!p(N.gradientUnits)&&(n=N,N=S(N,h.getRadialAttr(m,n),{gradientUnits:"userSpaceOnUse"}));P(N,function(a,c){"id"!==c&&K.push(c,a)});P(r,function(a){K.push(a)});
-K=K.join(",");if(k[K])q=k[K].attr("id");else{N.id=q=z();var d=k[K]=h.createElement(b).attr(N).add(h.defs);d.radAttr=n;d.stops=[];r.forEach(function(a){0===a[1].indexOf("rgba")?(B=F.parse(a[1]),f=B.get("rgb"),Q=B.get("a")):(f=a[1],Q=1);a=h.createElement("stop").attr({offset:a[0],"stop-color":f,"stop-opacity":Q}).add(d);d.stops.push(a)})}t="url("+h.url+"#"+q+")";v.setAttribute(c,t);v.gradient=K;a.toString=function(){return t}}})};L.prototype.css=function(a){var c=this.styles,v={},d=this.element,h="",
-B=!c,N=["textOutline","textOverflow","width"];a&&a.color&&(a.fill=a.color);c&&P(a,function(a,d){c&&c[d]!==a&&(v[d]=a,B=!0)});if(B){c&&(a=k(c,v));if(a)if(null===a.width||"auto"===a.width)delete this.textWidth;else if("text"===d.nodeName.toLowerCase()&&a.width)var b=this.textWidth=K(a.width);this.styles=a;b&&!w&&this.renderer.forExport&&delete a.width;if(d.namespaceURI===this.SVG_NS){var n=function(a,c){return"-"+c.toLowerCase()};P(a,function(a,c){-1===N.indexOf(c)&&(h+=c.replace(/([A-Z])/g,n)+":"+
-a+";")});h&&t(d,"style",h)}else q(d,a);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),a&&a.textOutline&&this.applyTextOutline(a.textOutline))}return this};L.prototype.dashstyleSetter=function(a){var c=this["stroke-width"];"inherit"===c&&(c=1);if(a=a&&a.toLowerCase()){var v=a.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,
-"").split(",");for(a=v.length;a--;)v[a]=""+K(v[a])*n(c,NaN);a=v.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",a)}};L.prototype.destroy=function(){var c=this,d=c.element||{},v=c.renderer,h=v.isSVG&&"SPAN"===d.nodeName&&c.parentGroup||void 0,b=d.ownerSVGElement;d.onclick=d.onmouseout=d.onmouseover=d.onmousemove=d.point=null;A(c);if(c.clipPath&&b){var n=c.clipPath;[].forEach.call(b.querySelectorAll("[clip-path],[CLIP-PATH]"),function(a){-1<a.getAttribute("clip-path").indexOf(n.element.id)&&
-a.removeAttribute("clip-path")});c.clipPath=n.destroy()}if(c.stops){for(b=0;b<c.stops.length;b++)c.stops[b].destroy();c.stops.length=0;c.stops=void 0}c.safeRemoveChild(d);for(v.styledMode||c.destroyShadows();h&&h.div&&0===h.div.childNodes.length;)d=h.parentGroup,c.safeRemoveChild(h.div),delete h.div,h=d;c.alignTo&&a(v.alignedObjects,c);P(c,function(a,v){c[v]&&c[v].parentGroup===c&&c[v].destroy&&c[v].destroy();delete c[v]})};L.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(a){this.safeRemoveChild(a)},
-this);this.shadows=void 0};L.prototype.destroyTextPath=function(a,c){var v=a.getElementsByTagName("text")[0];if(v){if(v.removeAttribute("dx"),v.removeAttribute("dy"),c.element.setAttribute("id",""),this.textPathWrapper&&v.getElementsByTagName("textPath").length){for(a=this.textPathWrapper.element.childNodes;a.length;)v.appendChild(a[0]);v.removeChild(this.textPathWrapper.element)}}else if(a.getAttribute("dx")||a.getAttribute("dy"))a.removeAttribute("dx"),a.removeAttribute("dy");this.textPathWrapper&&
-(this.textPathWrapper=this.textPathWrapper.destroy())};L.prototype.dSetter=function(a,c,v){y(a)&&("string"===typeof a[0]&&(a=this.renderer.pathToSegments(a)),this.pathArray=a,a=a.reduce(function(a,c,v){return c&&c.join?(v?a+" ":"")+c.join(" "):(c||"").toString()},""));/(NaN| {2}|^$)/.test(a)&&(a="M 0 0");this[c]!==a&&(v.setAttribute(c,a),this[c]=a)};L.prototype.fadeOut=function(a){var c=this;c.animate({opacity:0},{duration:n(a,150),complete:function(){c.attr({y:-9999}).hide()}})};L.prototype.fillSetter=
-function(a,c,v){"string"===typeof a?v.setAttribute(c,a):a&&this.complexColor(a,c,v)};L.prototype.getBBox=function(a,d){var v,h=this.renderer,b=this.element,B=this.styles,N=this.textStr,r=h.cache,f=h.cacheKeys,y=b.namespaceURI===this.SVG_NS;d=n(d,this.rotation,0);var z=h.styledMode?b&&L.prototype.getStyle.call(b,"font-size"):B&&B.fontSize;if(p(N)){var m=N.toString();-1===m.indexOf("<")&&(m=m.replace(/[0-9]/g,"0"));m+=["",d,z,this.textWidth,B&&B.textOverflow,B&&B.fontWeight].join()}m&&!a&&(v=r[m]);
-if(!v){if(y||h.forExport){try{var K=this.fakeTS&&function(a){var c=b.querySelector(".highcharts-text-outline");c&&q(c,{display:a})};c(K)&&K("none");v=b.getBBox?k({},b.getBBox()):{width:b.offsetWidth,height:b.offsetHeight};c(K)&&K("")}catch(da){""}if(!v||0>v.width)v={width:0,height:0}}else v=this.htmlGetBBox();h.isSVG&&(a=v.width,h=v.height,y&&(v.height=h={"11px,17":14,"13px,20":16}[B&&B.fontSize+","+Math.round(h)]||h),d&&(B=d*x,v.width=Math.abs(h*Math.sin(B))+Math.abs(a*Math.cos(B)),v.height=Math.abs(h*
-Math.cos(B))+Math.abs(a*Math.sin(B))));if(m&&0<v.height){for(;250<f.length;)delete r[f.shift()];r[m]||f.push(m);r[m]=v}}return v};L.prototype.getStyle=function(a){return m.getComputedStyle(this.element||this,"").getPropertyValue(a)};L.prototype.hasClass=function(a){return-1!==(""+this.attr("class")).split(" ").indexOf(a)};L.prototype.hide=function(a){a?this.attr({y:-9999}):this.attr({visibility:"hidden"});return this};L.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};L.prototype.init=
-function(a,c){this.element="span"===c?I(c):g.createElementNS(this.SVG_NS,c);this.renderer=a;d(this,"afterInit")};L.prototype.invert=function(a){this.inverted=a;this.updateTransform();return this};L.prototype.on=function(a,c){var v,d,h=this.element,b;u&&"click"===a?(h.ontouchstart=function(a){v=a.touches[0].clientX;d=a.touches[0].clientY},h.ontouchend=function(a){v&&4<=Math.sqrt(Math.pow(v-a.changedTouches[0].clientX,2)+Math.pow(d-a.changedTouches[0].clientY,2))||c.call(h,a);b=!0;!1!==a.cancelable&&
-a.preventDefault()},h.onclick=function(a){b||c.call(h,a)}):h["on"+a]=c;return this};L.prototype.opacitySetter=function(a,c,v){this.opacity=a=Number(Number(a).toFixed(3));v.setAttribute(c,a)};L.prototype.removeClass=function(a){return this.attr("class",(""+this.attr("class")).replace(M(a)?new RegExp("(^| )"+a+"( |$)"):a," ").replace(/ +/g," ").trim())};L.prototype.removeTextOutline=function(){var a=this.element.querySelector("tspan.highcharts-text-outline");a&&this.safeRemoveChild(a)};L.prototype.safeRemoveChild=
-function(a){var c=a.parentNode;c&&c.removeChild(a)};L.prototype.setRadialReference=function(a){var c=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=a;c&&c.radAttr&&c.animate(this.renderer.getRadialAttr(a,c.radAttr));return this};L.prototype.setTextPath=function(a,c){var v=this.element,d=this.text?this.text.element:v,b={textAnchor:"text-anchor"},n=!1,N=this.textPathWrapper,r=!N;c=S(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},
-c);var k=l.filterUserAttributes(c.attributes);if(a&&c&&c.enabled){N&&null===N.element.parentNode?(r=!0,N=N.destroy()):N&&this.removeTextOutline.call(N.parentGroup);this.options&&this.options.padding&&(k.dx=-this.options.padding);N||(this.textPathWrapper=N=this.renderer.createElement("textPath"),n=!0);var B=N.element;(c=a.element.getAttribute("id"))||a.element.setAttribute("id",c=z());if(r)for(d.setAttribute("y",0),h(k.dx)&&d.setAttribute("x",-k.dx),a=[].slice.call(d.childNodes),r=0;r<a.length;r++){var y=
-a[r];y.nodeType!==Node.TEXT_NODE&&"tspan"!==y.nodeName||B.appendChild(y)}n&&N&&N.add({element:d});B.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+c);p(k.dy)&&(B.parentNode.setAttribute("dy",k.dy),delete k.dy);p(k.dx)&&(B.parentNode.setAttribute("dx",k.dx),delete k.dx);P(k,function(a,c){B.setAttribute(b[c]||c,a)});v.removeAttribute("transform");this.removeTextOutline.call(N);this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0});this.applyTextOutline=
-this.updateTransform=f}else N&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(v,a),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this};L.prototype.shadow=function(a,c,v){var d=[],h=this.element,b=!1,n=this.oldShadowOptions;var r={color:H.neutralColor100,offsetX:1,offsetY:1,opacity:.15,width:3};var B;!0===a?B=r:"object"===typeof a&&(B=k(r,a));B&&(B&&n&&P(B,function(a,c){a!==n[c]&&(b=!0)}),b&&
-this.destroyShadows(),this.oldShadowOptions=B);if(!B)this.destroyShadows();else if(!this.shadows){var f=B.opacity/B.width;var y=this.parentInverted?"translate(-1,-1)":"translate("+B.offsetX+", "+B.offsetY+")";for(r=1;r<=B.width;r++){var z=h.cloneNode(!1);var m=2*B.width+1-2*r;t(z,{stroke:a.color||H.neutralColor100,"stroke-opacity":f*r,"stroke-width":m,transform:y,fill:"none"});z.setAttribute("class",(z.getAttribute("class")||"")+" highcharts-shadow");v&&(t(z,"height",Math.max(t(z,"height")-m,0)),
-z.cutHeight=m);c?c.element.appendChild(z):h.parentNode&&h.parentNode.insertBefore(z,h);d.push(z)}this.shadows=d}return this};L.prototype.show=function(a){return this.attr({visibility:a?"inherit":"visible"})};L.prototype.strokeSetter=function(a,c,v){this[c]=a;this.stroke&&this["stroke-width"]?(L.prototype.fillSetter.call(this,this.stroke,"stroke",v),v.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===c&&0===a&&this.hasStroke?(v.removeAttribute("stroke"),this.hasStroke=
-!1):this.renderer.styledMode&&this["stroke-width"]&&(v.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)};L.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var a=this.getStyle("stroke-width"),c=0;if(a.indexOf("px")===a.length-2)c=K(a);else if(""!==a){var v=g.createElementNS(b,"rect");t(v,{width:a,"stroke-width":0});this.element.parentNode.appendChild(v);c=v.getBBox().width;v.parentNode.removeChild(v)}return c};L.prototype.symbolAttr=
-function(a){var c=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(v){c[v]=n(a[v],c[v])});c.attr({d:c.renderer.symbols[c.symbolName](c.x,c.y,c.width,c.height,c)})};L.prototype.textSetter=function(a){a!==this.textStr&&(delete this.textPxLength,this.textStr=a,this.added&&this.renderer.buildText(this))};L.prototype.titleSetter=function(a){var c=this.element,v=c.getElementsByTagName("title")[0]||g.createElementNS(this.SVG_NS,"title");c.insertBefore?c.insertBefore(v,
-c.firstChild):c.appendChild(v);v.textContent=String(n(a,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")};L.prototype.toFront=function(){var a=this.element;a.parentNode.appendChild(a);return this};L.prototype.translate=function(a,c){return this.attr({translateX:a,translateY:c})};L.prototype.updateShadows=function(a,c,v){var d=this.shadows;if(d)for(var h=d.length;h--;)v.call(d[h],"height"===a?Math.max(c-(d[h].cutHeight||0),0):"d"===a?this.d:c,a,d[h])};L.prototype.updateTransform=
-function(){var a=this.translateX||0,c=this.translateY||0,d=this.scaleX,h=this.scaleY,b=this.inverted,r=this.rotation,N=this.matrix,k=this.element;b&&(a+=this.width,c+=this.height);a=["translate("+a+","+c+")"];p(N)&&a.push("matrix("+N.join(",")+")");b?a.push("rotate(90) scale(-1,1)"):r&&a.push("rotate("+r+" "+n(this.rotationOriginX,k.getAttribute("x"),0)+" "+n(this.rotationOriginY,k.getAttribute("y")||0)+")");(p(d)||p(h))&&a.push("scale("+n(d,1)+" "+n(h,1)+")");a.length&&k.setAttribute("transform",
-a.join(" "))};L.prototype.visibilitySetter=function(a,c,d){"inherit"===a?d.removeAttribute(c):this[c]!==a&&d.setAttribute(c,a);this[c]=a};L.prototype.xGetter=function(a){"circle"===this.element.nodeName&&("x"===a?a="cx":"y"===a&&(a="cy"));return this._defaultGetter(a)};L.prototype.zIndexSetter=function(a,c){var d=this.renderer,h=this.parentGroup,b=(h||d).element||d.box,n=this.element,N=!1;d=b===d.box;var r=this.added;var k;p(a)?(n.setAttribute("data-z-index",a),a=+a,this[c]===a&&(r=!1)):p(this[c])&&
-n.removeAttribute("data-z-index");this[c]=a;if(r){(a=this.zIndex)&&h&&(h.handleZ=!0);c=b.childNodes;for(k=c.length-1;0<=k&&!N;k--){h=c[k];r=h.getAttribute("data-z-index");var f=!p(r);if(h!==n)if(0>a&&f&&!d&&!k)b.insertBefore(n,c[k]),N=!0;else if(K(r)<=a||f&&(!p(a)||0<=a))b.insertBefore(n,c[k+1]||null),N=!0}N||(b.insertBefore(n,c[d?3:0]||null),N=!0)}return N};return L}();e.prototype["stroke-widthSetter"]=e.prototype.strokeSetter;e.prototype.yGetter=e.prototype.xGetter;e.prototype.matrixSetter=e.prototype.rotationOriginXSetter=
-e.prototype.rotationOriginYSetter=e.prototype.rotationSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.verticalAlignSetter=function(a,c){this[c]=a;this.doTransform=!0};C.SVGElement=e;return C.SVGElement});O(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(e,l){function G(g,u){D(g)?g!==this[u]&&(this[u]=g,this.updateTextPadding()):this[u]=void 0}var C=this&&this.__extends||
-function(){var g=function(u,f){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||function(f,b){for(var m in b)b.hasOwnProperty(m)&&(f[m]=b[m])};return g(u,f)};return function(u,f){function w(){this.constructor=u}g(u,f);u.prototype=null===f?Object.create(f):(w.prototype=f.prototype,new w)}}(),H=l.defined,J=l.extend,D=l.isNumber,E=l.merge,A=l.pick,x=l.removeEvent;return function(g){function u(f,w,b,m,t,I,q,p,a,k){var d=g.call(this)||this;d.paddingSetter=G;d.paddingLeftSetter=
-G;d.paddingRightSetter=G;d.init(f,"g");d.textStr=w;d.x=b;d.y=m;d.anchorX=I;d.anchorY=q;d.baseline=a;d.className=k;"button"!==k&&d.addClass("highcharts-label");k&&d.addClass("highcharts-"+k);d.text=f.text("",0,0,p).attr({zIndex:1});if("string"===typeof t){var y=/^url\((.*?)\)$/.test(t);if(d.renderer.symbols[t]||y)d.symbolKey=t}d.bBox=u.emptyBBox;d.padding=3;d.baselineOffset=0;d.needsBox=f.styledMode||y;d.deferredAttr={};d.alignFactor=0;return d}C(u,g);u.prototype.alignSetter=function(f){f={left:0,
-center:.5,right:1}[f];f!==this.alignFactor&&(this.alignFactor=f,this.bBox&&D(this.xSetting)&&this.attr({x:this.xSetting}))};u.prototype.anchorXSetter=function(f,g){this.anchorX=f;this.boxAttr(g,Math.round(f)-this.getCrispAdjust()-this.xSetting)};u.prototype.anchorYSetter=function(f,g){this.anchorY=f;this.boxAttr(g,f-this.ySetting)};u.prototype.boxAttr=function(f,g){this.box?this.box.attr(f,g):this.deferredAttr[f]=g};u.prototype.css=function(f){if(f){var g={};f=E(f);u.textProps.forEach(function(b){"undefined"!==
-typeof f[b]&&(g[b]=f[b],delete f[b])});this.text.css(g);var b="width"in g;"fontSize"in g||"fontWeight"in g?this.updateTextPadding():b&&this.updateBoxSize()}return e.prototype.css.call(this,f)};u.prototype.destroy=function(){x(this.element,"mouseenter");x(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());e.prototype.destroy.call(this)};u.prototype.fillSetter=function(f,g){f&&(this.needsBox=!0);this.fill=f;this.boxAttr(g,f)};u.prototype.getBBox=function(){var f=
-this.bBox,g=this.padding,b=A(this.paddingLeft,g);return{width:this.width,height:this.height,x:f.x-b,y:f.y-g}};u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};u.prototype.heightSetter=function(f){this.heightSetting=f};u.prototype.on=function(f,g){var b=this,m=b.text,t=m&&"SPAN"===m.element.tagName?m:void 0;if(t){var I=function(m){("mouseenter"===f||"mouseleave"===f)&&m.relatedTarget instanceof
-Element&&(b.element.compareDocumentPosition(m.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY||t.element.compareDocumentPosition(m.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||g.call(b.element,m)};t.on(f,I)}e.prototype.on.call(b,f,I||g);return b};u.prototype.onAdd=function(){var f=this.textStr;this.text.add(this);this.attr({text:H(f)?f:"",x:this.x,y:this.y});this.box&&H(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};u.prototype.rSetter=function(f,g){this.boxAttr(g,
-f)};u.prototype.shadow=function(f){f&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(f));return this};u.prototype.strokeSetter=function(f,g){this.stroke=f;this.boxAttr(g,f)};u.prototype["stroke-widthSetter"]=function(f,g){f&&(this.needsBox=!0);this["stroke-width"]=f;this.boxAttr(g,f)};u.prototype["text-alignSetter"]=function(f){this.textAlign=f};u.prototype.textSetter=function(f){"undefined"!==typeof f&&this.text.attr({text:f});this.updateTextPadding()};u.prototype.updateBoxSize=
-function(){var f=this.text.element.style,g={},b=this.padding,m=this.bBox=D(this.widthSetting)&&D(this.heightSetting)&&!this.textAlign||!H(this.text.textStr)?u.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||m.height||0)+2*b;this.baselineOffset=b+Math.min(this.renderer.fontMetrics(f&&f.fontSize,this.text).b,m.height||Infinity);this.needsBox&&(this.box||(f=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),f.addClass(("button"===
-this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),f.add(this)),f=this.getCrispAdjust(),g.x=f,g.y=(this.baseline?-this.baselineOffset:0)+f,g.width=Math.round(this.width),g.height=Math.round(this.height),this.box.attr(J(g,this.deferredAttr)),this.deferredAttr={})};u.prototype.updateTextPadding=function(){var f=this.text;this.updateBoxSize();var g=this.baseline?0:this.baselineOffset,b=A(this.paddingLeft,this.padding);H(this.widthSetting)&&this.bBox&&
-("center"===this.textAlign||"right"===this.textAlign)&&(b+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(b!==f.x||g!==f.y)f.attr("x",b),f.hasBoxWidthChanged&&(this.bBox=f.getBBox(!0)),"undefined"!==typeof g&&f.attr("y",g);f.x=b;f.y=g};u.prototype.widthSetter=function(f){this.widthSetting=D(f)?f:void 0};u.prototype.getPaddedWidth=function(){var f=this.padding,g=A(this.paddingLeft,f);f=A(this.paddingRight,f);return(this.widthSetting||this.bBox.width||0)+g+f};u.prototype.xSetter=
-function(f){this.x=f;this.alignFactor&&(f-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(f);this.attr("translateX",this.xSetting)};u.prototype.ySetter=function(f){this.ySetting=this.y=Math.round(f);this.attr("translateY",this.ySetting)};u.emptyBBox={width:0,height:0,x:0,y:0};u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return u}(e)});O(e,"Core/Renderer/SVG/TextBuilder.js",
-[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"]],function(e,l,F){var G=e.doc,H=e.SVG_NS,J=l.attr,D=l.isString,E=l.objectEach,A=l.pick;return function(){function x(g){var u=g.styles;this.renderer=g.renderer;this.svgElement=g;this.width=g.textWidth;this.textLineHeight=u&&u.lineHeight;this.textOutline=u&&u.textOutline;this.ellipsis=!(!u||"ellipsis"!==u.textOverflow);this.noWrap=!(!u||"nowrap"!==u.whiteSpace);this.fontSize=u&&u.fontSize}x.prototype.buildSVG=function(){var g=
-this.svgElement,u=g.element,f=g.renderer,w=A(g.textStr,"").toString(),b=-1!==w.indexOf("<"),m=u.childNodes,t=m.length;f=this.width&&!g.added&&f.box;var I=/<br.*?>/g;var q=[w,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(q!==g.textCache){g.textCache=q;for(delete g.actualWidth;t--;)u.removeChild(m[t]);b||this.ellipsis||this.width||-1!==w.indexOf(" ")&&(!this.noWrap||I.test(w))?""!==w&&(f&&f.appendChild(u),w=new F(w),this.modifyTree(w.nodes),w.addToDOM(g.element),
-this.modifyDOM(),this.ellipsis&&-1!==(u.textContent||"").indexOf("\u2026")&&g.attr("title",this.unescapeEntities(g.textStr||"",["&lt;","&gt;"])),f&&f.removeChild(u)):u.appendChild(G.createTextNode(this.unescapeEntities(w)));D(this.textOutline)&&g.applyTextOutline&&g.applyTextOutline(this.textOutline)}};x.prototype.modifyDOM=function(){var g=this,u=this.svgElement,f=J(u.element,"x");[].forEach.call(u.element.querySelectorAll("tspan.highcharts-br"),function(b){b.nextSibling&&b.previousSibling&&J(b,
-{dy:g.getLineHeight(b.nextSibling),x:f})});var w=this.width||0;if(w){var b=function(b,m){var q=b.textContent||"",p=q.replace(/([^\^])-/g,"$1- ").split(" "),a=!g.noWrap&&(1<p.length||1<u.element.childNodes.length),k=g.getLineHeight(m),d=0,y=u.actualWidth;if(g.ellipsis)q&&g.truncate(b,q,void 0,0,Math.max(0,w-parseInt(g.fontSize||12,10)),function(a,d){return a.substring(0,d)+"\u2026"});else if(a){q=[];for(a=[];m.firstChild&&m.firstChild!==b;)a.push(m.firstChild),m.removeChild(m.firstChild);for(;p.length;)p.length&&
-!g.noWrap&&0<d&&(q.push(b.textContent||""),b.textContent=p.join(" ").replace(/- /g,"-")),g.truncate(b,void 0,p,0===d?y||0:0,w,function(a,d){return p.slice(0,d).join(" ").replace(/- /g,"-")}),y=u.actualWidth,d++;a.forEach(function(a){m.insertBefore(a,b)});q.forEach(function(a){m.insertBefore(G.createTextNode(a),b);a=G.createElementNS(H,"tspan");a.textContent="\u200b";J(a,{dy:k,x:f});m.insertBefore(a,b)})}},m=function(f){[].slice.call(f.childNodes).forEach(function(t){t.nodeType===Node.TEXT_NODE?b(t,
-f):(-1!==t.className.baseVal.indexOf("highcharts-br")&&(u.actualWidth=0),m(t))})};m(u.element)}};x.prototype.getLineHeight=function(g){var u;g=g.nodeType===Node.TEXT_NODE?g.parentElement:g;this.renderer.styledMode||(u=g&&/(px|em)$/.test(g.style.fontSize)?g.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(u,g||this.svgElement.element).h};x.prototype.modifyTree=function(g){var u=this,f=function(w,
-b){var m=w.tagName,t=u.renderer.styledMode,I=w.attributes||{};if("b"===m||"strong"===m)t?I["class"]="highcharts-strong":I.style="font-weight:bold;"+(I.style||"");else if("i"===m||"em"===m)t?I["class"]="highcharts-emphasized":I.style="font-style:italic;"+(I.style||"");D(I.style)&&(I.style=I.style.replace(/(;| |^)color([ :])/,"$1fill$2"));"br"===m&&(I["class"]="highcharts-br",w.textContent="\u200b",(b=g[b+1])&&b.textContent&&(b.textContent=b.textContent.replace(/^ +/gm,"")));"#text"!==m&&"a"!==m&&(w.tagName=
-"tspan");w.attributes=I;w.children&&w.children.filter(function(b){return"#text"!==b.tagName}).forEach(f)};for(g.forEach(f);g[0]&&"tspan"===g[0].tagName&&!g[0].children;)g.splice(0,1)};x.prototype.truncate=function(g,u,f,w,b,m){var t=this.svgElement,I=t.renderer,q=t.rotation,p=[],a=f?1:0,k=(u||f||"").length,d=k,y,c=function(a,c){c=c||a;var d=g.parentNode;if(d&&"undefined"===typeof p[c])if(d.getSubStringLength)try{p[c]=w+d.getSubStringLength(0,f?c+1:c)}catch(n){""}else I.getSpanWidth&&(g.textContent=
-m(u||f,a),p[c]=w+I.getSpanWidth(t,g));return p[c]};t.rotation=0;var h=c(g.textContent.length);if(w+h>b){for(;a<=k;)d=Math.ceil((a+k)/2),f&&(y=m(f,d)),h=c(d,y&&y.length-1),a===k?a=k+1:h>b?k=d-1:a=d;0===k?g.textContent="":u&&k===u.length-1||(g.textContent=y||m(u||f,d))}f&&f.splice(0,d);t.actualWidth=h;t.rotation=q};x.prototype.unescapeEntities=function(g,u){E(this.renderer.escapes,function(f,w){u&&-1!==u.indexOf(f)||(g=g.toString().replace(new RegExp(f,"g"),w))});return g};return x}()});O(e,"Core/Renderer/SVG/SVGRenderer.js",
-[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J,D,E){var A=E.addEvent,x=E.attr,g=E.createElement,u=E.css,f=E.defined,w=E.destroyObjectProperties,b=E.extend,m=E.isArray,t=E.isNumber,I=E.isObject,q=E.isString,p=E.merge,a=E.pick,k=E.pInt,d=E.uniqueKey,y=l.charts,c=l.deg2rad,h=l.doc,M=l.isFirefox,
-S=l.isMS,P=l.isWebKit;E=l.noop;var n=l.SVG_NS,K=l.symbolSizes,r=l.win,z,L=function(){function n(a,c,d,h,b,n,r){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(a,c,d,h,b,n,r)}n.prototype.init=function(a,c,d,b,n,N,k){var v=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"});k||v.css(this.getStyle(b));b=v.element;
-a.appendChild(b);x(a,"dir","ltr");-1===a.innerHTML.indexOf("xmlns")&&x(b,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=b;this.boxWrapper=v;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(h.createTextNode("Created with Highcharts 9.0.1"));this.defs=this.createElement("defs").add();this.allowHTML=N;this.forExport=n;this.styledMode=k;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(c,d,!1);var f;M&&a.getBoundingClientRect&&
-(c=function(){u(a,{left:0,top:0});f=a.getBoundingClientRect();u(a,{left:Math.ceil(f.left)-f.left+"px",top:Math.ceil(f.top)-f.top+"px"})},c(),this.unSubPixelFix=A(r,"resize",c))};n.prototype.definition=function(a){return(new J([a])).addToDOM(this.defs.element)};n.prototype.getReferenceURL=function(){if((M||P)&&h.getElementsByTagName("base").length){if(!f(z)){var a=d();a=(new J([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:a},children:[{tagName:"rect",
-attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+a+")",fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(h.body);u(a,{position:"fixed",top:0,left:0,zIndex:9E5});var c=h.elementFromPoint(6,6);z="hitme"===(c&&c.id);h.body.removeChild(a)}if(z)return r.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};n.prototype.getStyle=function(a){return this.style=b({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',
-fontSize:"12px"},a)};n.prototype.setStyle=function(a){this.boxWrapper.css(this.getStyle(a))};n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};n.prototype.destroy=function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();w(this.gradients||{});this.gradients=null;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};n.prototype.createElement=function(a){var c=new this.Element;c.init(this,a);return c};n.prototype.getRadialAttr=
-function(a,c){return{cx:a[0]-a[2]/2+c.cx*a[2],cy:a[1]-a[2]/2+c.cy*a[2],r:c.r*a[2]}};n.prototype.buildText=function(a){(new D(a)).buildSVG()};n.prototype.getContrast=function(a){a=e.parse(a).rgba;a[0]*=1;a[1]*=1.2;a[2]*=.5;return 459<a[0]+a[1]+a[2]?"#000000":"#FFFFFF"};n.prototype.button=function(a,c,d,h,n,N,r,k,f,z){var v=this.label(a,c,d,f,void 0,void 0,z,void 0,"button"),y=0,m=this.styledMode,R=n?p(n):{};a=R&&R.style||{};R=J.filterUserAttributes(R);v.attr(p({padding:8,r:2},R));if(!m){R=p({fill:F.neutralColor3,
-stroke:F.neutralColor20,"stroke-width":1,style:{color:F.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:a},R);var B=R.style;delete R.style;N=p(R,{fill:F.neutralColor10},J.filterUserAttributes(N||{}));var K=N.style;delete N.style;r=p(R,{fill:F.highlightColor10,style:{color:F.neutralColor100,fontWeight:"bold"}},J.filterUserAttributes(r||{}));var q=r.style;delete r.style;k=p(R,{style:{color:F.neutralColor20}},J.filterUserAttributes(k||{}));var t=k.style;delete k.style}A(v.element,S?"mouseover":
-"mouseenter",function(){3!==y&&v.setState(1)});A(v.element,S?"mouseout":"mouseleave",function(){3!==y&&v.setState(y)});v.setState=function(a){1!==a&&(v.state=y=a);v.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][a||0]);m||v.attr([R,N,r,k][a||0]).css([B,K,q,t][a||0])};m||v.attr(R).css(b({cursor:"default"},B));return v.on("click",function(a){3!==y&&h.call(v,a)})};n.prototype.crispLine=function(a,c,d){void 0===d&&
-(d="round");var v=a[0],h=a[1];v[1]===h[1]&&(v[1]=h[1]=Math[d](v[1])-c%2/2);v[2]===h[2]&&(v[2]=h[2]=Math[d](v[2])+c%2/2);return a};n.prototype.path=function(a){var c=this.styledMode?{}:{fill:"none"};m(a)?c.d=a:I(a)&&b(c,a);return this.createElement("path").attr(c)};n.prototype.circle=function(a,c,d){a=I(a)?a:"undefined"===typeof a?{}:{x:a,y:c,r:d};c=this.createElement("circle");c.xSetter=c.ySetter=function(a,c,d){d.setAttribute("c"+c,a)};return c.attr(a)};n.prototype.arc=function(a,c,d,h,b,n){I(a)?
-(h=a,c=h.y,d=h.r,a=h.x):h={innerR:h,start:b,end:n};a=this.symbol("arc",a,c,d,d,h);a.r=d;return a};n.prototype.rect=function(a,c,d,h,b,n){b=I(a)?a.r:b;var v=this.createElement("rect");a=I(a)?a:"undefined"===typeof a?{}:{x:a,y:c,width:Math.max(d,0),height:Math.max(h,0)};this.styledMode||("undefined"!==typeof n&&(a.strokeWidth=n,a=v.crisp(a)),a.fill="none");b&&(a.r=b);v.rSetter=function(a,c,d){v.r=a;x(d,{rx:a,ry:a})};v.rGetter=function(){return v.r};return v.attr(a)};n.prototype.setSize=function(c,d,
-h){var v=this.alignedObjects,b=v.length;this.width=c;this.height=d;for(this.boxWrapper.animate({width:c,height:d},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:a(h,!0)?void 0:0});b--;)v[b].align()};n.prototype.g=function(a){var c=this.createElement("g");return a?c.attr({"class":"highcharts-"+a}):c};n.prototype.image=function(a,c,d,h,n,N){var v={preserveAspectRatio:"none"},k=function(a,c){a.setAttributeNS?a.setAttributeNS("http://www.w3.org/1999/xlink",
-"href",c):a.setAttribute("hc-svg-href",c)},f=function(c){k(y.element,a);N.call(y,c)};1<arguments.length&&b(v,{x:c,y:d,width:h,height:n});var y=this.createElement("image").attr(v);N?(k(y.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),v=new r.Image,A(v,"load",f),v.src=a,v.complete&&f({})):k(y.element,a);return y};n.prototype.symbol=function(c,d,n,k,r,N){var v=this,z=/^url\((.*?)\)$/,m=z.test(c),R=!m&&(this.symbols[c]?c:"circle"),B=R&&this.symbols[R],p;if(B){"number"===
-typeof d&&(p=B.call(this.symbols,Math.round(d||0),Math.round(n||0),k||0,r||0,N));var q=this.path(p);v.styledMode||q.attr("fill","none");b(q,{symbolName:R,x:d,y:n,width:k,height:r});N&&b(q,N)}else if(m){var t=c.match(z)[1];q=this.image(t);q.imgwidth=a(K[t]&&K[t].width,N&&N.width);q.imgheight=a(K[t]&&K[t].height,N&&N.height);var M=function(){q.attr({width:q.width,height:q.height})};["width","height"].forEach(function(a){q[a+"Setter"]=function(a,c){var d={},v=this["img"+c],h="width"===c?"translateX":
-"translateY";this[c]=a;f(v)&&(N&&"within"===N.backgroundSize&&this.width&&this.height&&(v=Math.round(v*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(c,v),this.alignByTranslate||(d[h]=((this[c]||0)-v)/2,this.attr(d)))}});f(d)&&q.attr({x:d,y:n});q.isImg=!0;f(q.imgwidth)&&f(q.imgheight)?M():(q.attr({width:0,height:0}),g("img",{onload:function(){var a=y[v.chartIndex];0===this.width&&(u(this,{position:"absolute",top:"-999em"}),h.body.appendChild(this));
-K[t]={width:this.width,height:this.height};q.imgwidth=this.width;q.imgheight=this.height;q.element&&M();this.parentNode&&this.parentNode.removeChild(this);v.imgCount--;if(!v.imgCount&&a&&!a.hasLoaded)a.onload()},src:t}),this.imgCount++)}return q};n.prototype.clipRect=function(a,c,h,b){var v=d()+"-",n=this.createElement("clipPath").attr({id:v}).add(this.defs);a=this.rect(a,c,h,b,0).add(n);a.id=v;a.clipPath=n;a.count=0;return a};n.prototype.text=function(a,c,d,h){var v={};if(h&&(this.allowHTML||!this.forExport))return this.html(a,
-c,d);v.x=Math.round(c||0);d&&(v.y=Math.round(d));f(a)&&(v.text=a);a=this.createElement("text").attr(v);h||(a.xSetter=function(a,c,d){var v=d.getElementsByTagName("tspan"),h=d.getAttribute(c),b;for(b=0;b<v.length;b++){var n=v[b];n.getAttribute(c)===h&&n.setAttribute(c,a)}d.setAttribute(c,a)});return a};n.prototype.fontMetrics=function(a,c){a=!this.styledMode&&/px/.test(a)||!r.getComputedStyle?a||c&&c.style&&c.style.fontSize||this.style&&this.style.fontSize:c&&C.prototype.getStyle.call(c,"font-size");
-a=/px/.test(a)?k(a):12;c=24>a?a+3:Math.round(1.2*a);return{h:c,b:Math.round(.8*c),f:a}};n.prototype.rotCorr=function(a,d,h){var v=a;d&&h&&(v=Math.max(v*Math.cos(d*c),4));return{x:-a/3*Math.sin(d*c),y:v}};n.prototype.pathToSegments=function(a){for(var c=[],d=[],h={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},b=0;b<a.length;b++)q(d[0])&&t(a[b])&&d.length===h[d[0].toUpperCase()]&&a.splice(b,0,d[0].replace("M","L").replace("m","l")),"string"===typeof a[b]&&(d.length&&c.push(d.slice(0)),d.length=0),d.push(a[b]);
-c.push(d.slice(0));return c};n.prototype.label=function(a,c,d,h,b,n,k,r,f){return new H(this,a,c,d,h,b,n,k,r,f)};return n}();L.prototype.Element=C;L.prototype.SVG_NS=n;L.prototype.draw=E;L.prototype.escapes={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};L.prototype.symbols={circle:function(a,c,d,h){return this.arc(a+d/2,c+h/2,d/2,h/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},square:function(a,c,d,h){return[["M",a,c],["L",a+d,c],["L",a+d,c+h],["L",a,c+h],["Z"]]},triangle:function(a,
-c,d,h){return[["M",a+d/2,c],["L",a+d,c+h],["L",a,c+h],["Z"]]},"triangle-down":function(a,c,d,h){return[["M",a,c],["L",a+d,c],["L",a+d/2,c+h],["Z"]]},diamond:function(a,c,d,h){return[["M",a+d/2,c],["L",a+d,c+h/2],["L",a+d/2,c+h],["L",a,c+h/2],["Z"]]},arc:function(c,d,h,b,n){var v=[];if(n){var k=n.start||0,r=n.end||0,y=n.r||h;h=n.r||b||h;var z=.001>Math.abs(r-k-2*Math.PI);r-=.001;b=n.innerR;z=a(n.open,z);var m=Math.cos(k),p=Math.sin(k),q=Math.cos(r),K=Math.sin(r);k=a(n.longArc,.001>r-k-Math.PI?0:1);
-v.push(["M",c+y*m,d+h*p],["A",y,h,0,k,a(n.clockwise,1),c+y*q,d+h*K]);f(b)&&v.push(z?["M",c+b*q,d+b*K]:["L",c+b*q,d+b*K],["A",b,b,0,k,f(n.clockwise)?1-n.clockwise:0,c+b*m,d+b*p]);z||v.push(["Z"])}return v},callout:function(a,c,d,h,b){var v=Math.min(b&&b.r||0,d,h),n=v+6,k=b&&b.anchorX;b=b&&b.anchorY||0;var r=[["M",a+v,c],["L",a+d-v,c],["C",a+d,c,a+d,c,a+d,c+v],["L",a+d,c+h-v],["C",a+d,c+h,a+d,c+h,a+d-v,c+h],["L",a+v,c+h],["C",a,c+h,a,c+h,a,c+h-v],["L",a,c+v],["C",a,c,a,c,a+v,c]];if(!t(k))return r;a+
-k>=d?b>c+n&&b<c+h-n?r.splice(3,1,["L",a+d,b-6],["L",a+d+6,b],["L",a+d,b+6],["L",a+d,c+h-v]):r.splice(3,1,["L",a+d,h/2],["L",k,b],["L",a+d,h/2],["L",a+d,c+h-v]):0>=a+k?b>c+n&&b<c+h-n?r.splice(7,1,["L",a,b+6],["L",a-6,b],["L",a,b-6],["L",a,c+v]):r.splice(7,1,["L",a,h/2],["L",k,b],["L",a,h/2],["L",a,c+v]):b&&b>h&&k>a+n&&k<a+d-n?r.splice(5,1,["L",k+6,c+h],["L",k,c+h+6],["L",k-6,c+h],["L",a+v,c+h]):b&&0>b&&k>a+n&&k<a+d-n&&r.splice(1,1,["L",k-6,c],["L",k,c-6],["L",k+6,c],["L",d-v,c]);return r}};l.SVGRenderer=
-L;l.Renderer=l.SVGRenderer;return l.Renderer});O(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(e,l,F){var G=F.css,H=F.defined,J=F.extend,D=F.pick,E=F.pInt,A=e.isFirefox;J(l.prototype,{htmlCss:function(x){var g="SPAN"===this.element.tagName&&x&&"width"in x,u=D(g&&x.width,void 0);if(g){delete x.width;this.textWidth=u;var f=!0}x&&"ellipsis"===x.textOverflow&&(x.whiteSpace="nowrap",x.overflow="hidden");this.styles=J(this.styles,
-x);G(this.element,x);f&&this.htmlUpdateTransform();return this},htmlGetBBox:function(){var x=this.element;return{x:x.offsetLeft,y:x.offsetTop,width:x.offsetWidth,height:x.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var x=this.renderer,g=this.element,u=this.translateX||0,f=this.translateY||0,w=this.x||0,b=this.y||0,m=this.textAlign||"left",t={left:0,center:.5,right:1}[m],I=this.styles,q=I&&I.whiteSpace;G(g,{marginLeft:u,marginTop:f});!x.styledMode&&this.shadows&&this.shadows.forEach(function(a){G(a,
-{marginLeft:u+1,marginTop:f+1})});this.inverted&&[].forEach.call(g.childNodes,function(a){x.invertChild(a,g)});if("SPAN"===g.tagName){I=this.rotation;var p=this.textWidth&&E(this.textWidth),a=[I,m,g.innerHTML,this.textWidth,this.textAlign].join(),k;(k=p!==this.oldTextWidth)&&!(k=p>this.oldTextWidth)&&((k=this.textPxLength)||(G(g,{width:"",whiteSpace:q||"nowrap"}),k=g.offsetWidth),k=k>p);k&&(/[ \-]/.test(g.textContent||g.innerText)||"ellipsis"===g.style.textOverflow)?(G(g,{width:p+"px",display:"block",
-whiteSpace:q||"normal"}),this.oldTextWidth=p,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1;a!==this.cTT&&(q=x.fontMetrics(g.style.fontSize,g).b,!H(I)||I===(this.oldRotation||0)&&m===this.oldAlign||this.setSpanRotation(I,t,q),this.getSpanCorrection(!H(I)&&this.textPxLength||g.offsetWidth,q,t,I,m));G(g,{left:w+(this.xCorr||0)+"px",top:b+(this.yCorr||0)+"px"});this.cTT=a;this.oldRotation=I;this.oldAlign=m}}else this.alignOnAdd=!0},setSpanRotation:function(x,g,u){var f={},w=this.renderer.getTransformKey();
-f[w]=f.transform="rotate("+x+"deg)";f[w+(A?"Origin":"-origin")]=f.transformOrigin=100*g+"% "+u+"px";G(this.element,f)},getSpanCorrection:function(x,g,u){this.xCorr=-x*u;this.yCorr=-g}});return l});O(e,"Core/Renderer/HTML/HTMLRenderer.js",[e["Core/Globals.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(e,l,F,C,H){var G=e.isFirefox,D=e.isMS,E=e.isWebKit,A=e.win,x=H.attr,g=H.createElement,u=H.extend,f=H.pick;
-u(C.prototype,{getTransformKey:function(){return D&&!/Edge/.test(A.navigator.userAgent)?"-ms-transform":E?"-webkit-transform":G?"MozTransform":A.opera?"-o-transform":""},html:function(w,b,m){var t=this.createElement("span"),I=t.element,q=t.renderer,p=q.isSVG,a=function(a,d){["opacity","visibility"].forEach(function(b){a[b+"Setter"]=function(c,h,k){var f=a.div?a.div.style:d;F.prototype[b+"Setter"].call(this,c,h,k);f&&(f[h]=c)}});a.addedSetters=!0};t.textSetter=function(a){a!==this.textStr&&(delete this.bBox,
-delete this.oldTextWidth,l.setElementHTML(this.element,f(a,"")),this.textStr=a,t.doTransform=!0)};p&&a(t,t.element.style);t.xSetter=t.ySetter=t.alignSetter=t.rotationSetter=function(a,d){"align"===d?t.alignValue=t.textAlign=a:t[d]=a;t.doTransform=!0};t.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};t.attr({text:w,x:Math.round(b),y:Math.round(m)}).css({position:"absolute"});q.styledMode||t.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});
-I.style.whiteSpace="nowrap";t.css=t.htmlCss;p&&(t.add=function(b){var d=q.box.parentNode,k=[];if(this.parentGroup=b){var c=b.div;if(!c){for(;b;)k.push(b),b=b.parentGroup;k.reverse().forEach(function(h){function b(a,c){h[c]=a;"translateX"===c?n.left=a+"px":n.top=a+"px";h.doTransform=!0}var f=x(h.element,"class"),y=h.styles||{};c=h.div=h.div||g("div",f?{className:f}:void 0,{position:"absolute",left:(h.translateX||0)+"px",top:(h.translateY||0)+"px",display:h.display,opacity:h.opacity,cursor:y.cursor,
-pointerEvents:y.pointerEvents},c||d);var n=c.style;u(h,{classSetter:function(a){return function(c){this.element.setAttribute("class",c);a.className=c}}(c),on:function(){k[0].div&&t.on.apply({element:k[0].div},arguments);return h},translateXSetter:b,translateYSetter:b});h.addedSetters||a(h)})}}else c=d;c.appendChild(I);t.added=!0;t.alignOnAdd&&t.htmlUpdateTransform();return t});return t}});return C});O(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,l){var G=e.win,C=l.defined,
-H=l.error,J=l.extend,D=l.isObject,E=l.merge,A=l.objectEach,x=l.pad,g=l.pick,u=l.splat,f=l.timeUnits;"";l=function(){function w(b){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=G.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(b)}w.prototype.get=function(b,f){if(this.variableTimezone||this.timezoneOffset){var m=f.getTime(),g=m-this.getTimezoneOffset(f);f.setTime(g);b=f["getUTC"+b]();f.setTime(m);return b}return this.useUTC?f["getUTC"+b]():f["get"+b]()};w.prototype.set=
-function(b,f,t){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===b||"Seconds"===b||"Minutes"===b&&0===this.getTimezoneOffset(f)%36E5)return f["setUTC"+b](t);var m=this.getTimezoneOffset(f);m=f.getTime()-m;f.setTime(m);f["setUTC"+b](t);b=this.getTimezoneOffset(f);m=f.getTime()+b;return f.setTime(m)}return this.useUTC?f["setUTC"+b](t):f["set"+b](t)};w.prototype.update=function(b){var f=g(b&&b.useUTC,!0);this.options=b=E(!0,this.options||{},b);this.Date=b.Date||G.Date||Date;this.timezoneOffset=
-(this.useUTC=f)&&b.timezoneOffset;this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=f&&!(!b.getTimezoneOffset&&!b.timezone)};w.prototype.makeTime=function(b,f,t,I,q,p){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments);var k=this.getTimezoneOffset(a);a+=k;var d=this.getTimezoneOffset(a);k!==d?a+=d-k:k-36E5!==this.getTimezoneOffset(a-36E5)||e.isSafari||(a-=36E5)}else a=(new this.Date(b,f,g(t,1),g(I,0),g(q,0),g(p,0))).getTime();return a};w.prototype.timezoneOffsetFunction=
-function(){var b=this,f=this.options,t=f.moment||G.moment;if(!this.useUTC)return function(b){return 6E4*(new Date(b.toString())).getTimezoneOffset()};if(f.timezone){if(t)return function(b){return 6E4*-t.tz(b,f.timezone).utcOffset()};H(25)}return this.useUTC&&f.getTimezoneOffset?function(b){return 6E4*f.getTimezoneOffset(b.valueOf())}:function(){return 6E4*(b.timezoneOffset||0)}};w.prototype.dateFormat=function(b,f,t){var m;if(!C(f)||isNaN(f))return(null===(m=e.defaultOptions.lang)||void 0===m?void 0:
-m.invalidDate)||"";b=g(b,"%Y-%m-%d %H:%M:%S");var q=this;m=new this.Date(f);var p=this.get("Hours",m),a=this.get("Day",m),k=this.get("Date",m),d=this.get("Month",m),y=this.get("FullYear",m),c=e.defaultOptions.lang,h=null===c||void 0===c?void 0:c.weekdays,M=null===c||void 0===c?void 0:c.shortWeekdays;m=J({a:M?M[a]:h[a].substr(0,3),A:h[a],d:x(k),e:x(k,2," "),w:a,b:c.shortMonths[d],B:c.months[d],m:x(d+1),o:d+1,y:y.toString().substr(2,2),Y:y,H:x(p),k:p,I:x(p%12||12),l:p%12||12,M:x(this.get("Minutes",
-m)),p:12>p?"AM":"PM",P:12>p?"am":"pm",S:x(m.getSeconds()),L:x(Math.floor(f%1E3),3)},e.dateFormats);A(m,function(a,c){for(;-1!==b.indexOf("%"+c);)b=b.replace("%"+c,"function"===typeof a?a.call(q,f):a)});return t?b.substr(0,1).toUpperCase()+b.substr(1):b};w.prototype.resolveDTLFormat=function(b){return D(b,!0)?b:(b=u(b),{main:b[0],from:b[1],to:b[2]})};w.prototype.getTimeTicks=function(b,m,t,I){var q=this,p=[],a={};var k=new q.Date(m);var d=b.unitRange,y=b.count||1,c;I=g(I,1);if(C(m)){q.set("Milliseconds",
-k,d>=f.second?0:y*Math.floor(q.get("Milliseconds",k)/y));d>=f.second&&q.set("Seconds",k,d>=f.minute?0:y*Math.floor(q.get("Seconds",k)/y));d>=f.minute&&q.set("Minutes",k,d>=f.hour?0:y*Math.floor(q.get("Minutes",k)/y));d>=f.hour&&q.set("Hours",k,d>=f.day?0:y*Math.floor(q.get("Hours",k)/y));d>=f.day&&q.set("Date",k,d>=f.month?1:Math.max(1,y*Math.floor(q.get("Date",k)/y)));if(d>=f.month){q.set("Month",k,d>=f.year?0:y*Math.floor(q.get("Month",k)/y));var h=q.get("FullYear",k)}d>=f.year&&q.set("FullYear",
-k,h-h%y);d===f.week&&(h=q.get("Day",k),q.set("Date",k,q.get("Date",k)-h+I+(h<I?-7:0)));h=q.get("FullYear",k);I=q.get("Month",k);var M=q.get("Date",k),u=q.get("Hours",k);m=k.getTime();!q.variableTimezone&&q.useUTC||!C(t)||(c=t-m>4*f.month||q.getTimezoneOffset(m)!==q.getTimezoneOffset(t));m=k.getTime();for(k=1;m<t;)p.push(m),m=d===f.year?q.makeTime(h+k*y,0):d===f.month?q.makeTime(h,I+k*y):!c||d!==f.day&&d!==f.week?c&&d===f.hour&&1<y?q.makeTime(h,I,M,u+k*y):m+d*y:q.makeTime(h,I,M+k*y*(d===f.day?1:7)),
-k++;p.push(m);d<=f.hour&&1E4>p.length&&p.forEach(function(c){0===c%18E5&&"000000000"===q.dateFormat("%H%M%S%L",c)&&(a[c]="day")})}p.info=J(b,{higherRanks:a,totalRange:d*y});return p};return w}();e.Time=l;return e.Time});O(e,"Core/Options.js",[e["Core/Globals.js"],e["Core/Color/Color.js"],e["Core/Color/Palette.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(e,l,F,C,H){var G=e.isTouchDevice,D=e.svg;l=l.parse;H=H.merge;"";e.defaultOptions={colors:F.colors,symbols:["circle","diamond","square",
-"triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,
-timezoneOffset:0,useUTC:!0},chart:{styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:F.highlightColor80,backgroundColor:F.backgroundColor,plotBorderColor:F.neutralColor20},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",
-align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:F.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:F.neutralColor40,borderRadius:0,navigation:{activeColor:F.highlightColor100,inactiveColor:F.neutralColor20},itemStyle:{color:F.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:F.neutralColor100},itemHiddenStyle:{color:F.neutralColor20},
-shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:F.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:D,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",
-day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:G?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:l(F.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:F.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",
-position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:F.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};e.defaultOptions.chart.styledMode=!1;"";e.time=new C(H(e.defaultOptions.global,e.defaultOptions.time));e.dateFormat=function(l,A,x){return e.time.dateFormat(l,A,x)};return{dateFormat:e.dateFormat,defaultOptions:e.defaultOptions,time:e.time}});O(e,"Core/Axis/Tick.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,l){var G=e.deg2rad,C=l.clamp,H=
-l.correctFloat,J=l.defined,D=l.destroyObjectProperties,E=l.extend,A=l.fireEvent,x=l.isNumber,g=l.merge,u=l.objectEach,f=l.pick;"";l=function(){function w(b,f,t,g,q){this.isNewLabel=this.isNew=!0;this.axis=b;this.pos=f;this.type=t||"";this.parameters=q||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;A(this,"init");t||g||this.addLabel()}w.prototype.addLabel=function(){var b=this,m=b.axis,t=m.options,g=m.chart,q=m.categories,p=m.logarithmic,a=m.names,k=b.pos,
-d=f(b.options&&b.options.labels,t.labels),y=m.tickPositions,c=k===y[0],h=k===y[y.length-1];a=this.parameters.category||(q?f(q[k],a[k],k):k);var M=b.label;q=(!d.step||1===d.step)&&1===m.tickInterval;y=y.info;var u,P;if(m.dateTime&&y){var n=g.time.resolveDTLFormat(t.dateTimeLabelFormats[!t.grid&&y.higherRanks[k]||y.unitName]);var K=n.main}b.isFirst=c;b.isLast=h;b.formatCtx={axis:m,chart:g,isFirst:c,isLast:h,dateTimeLabelFormat:K,tickPositionInfo:y,value:p?H(p.lin2log(a)):a,pos:k};t=m.labelFormatter.call(b.formatCtx,
-this.formatCtx);if(P=n&&n.list)b.shortenLabel=function(){for(u=0;u<P.length;u++)if(M.attr({text:m.labelFormatter.call(E(b.formatCtx,{dateTimeLabelFormat:P[u]}))}),M.getBBox().width<m.getSlotWidth(b)-2*f(d.padding,5))return;M.attr({text:""})};q&&m._addedPlotLB&&b.moveLabel(t,d);J(M)||b.movedLabel?M&&M.textStr!==t&&!q&&(!M.textWidth||d.style&&d.style.width||M.styles.width||M.css({width:null}),M.attr({text:t}),M.textPxLength=M.getBBox().width):(b.label=M=b.createLabel({x:0,y:0},t,d),b.rotation=0)};w.prototype.createLabel=
-function(b,f,t){var m=this.axis,q=m.chart;if(b=J(f)&&t.enabled?q.renderer.text(f,b.x,b.y,t.useHTML).add(m.labelGroup):null)q.styledMode||b.css(g(t.style)),b.textPxLength=b.getBBox().width;return b};w.prototype.destroy=function(){D(this,this.axis)};w.prototype.getPosition=function(b,f,t,g){var m=this.axis,p=m.chart,a=g&&p.oldChartHeight||p.chartHeight;b={x:b?H(m.translate(f+t,null,null,g)+m.transB):m.left+m.offset+(m.opposite?(g&&p.oldChartWidth||p.chartWidth)-m.right-m.left:0),y:b?a-m.bottom+m.offset-
-(m.opposite?m.height:0):H(a-m.translate(f+t,null,null,g)-m.transB)};b.y=C(b.y,-1E5,1E5);A(this,"afterGetPosition",{pos:b});return b};w.prototype.getLabelPosition=function(b,f,t,g,q,p,a,k){var d=this.axis,y=d.transA,c=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,h=d.staggerLines,m=d.tickRotCorr||{x:0,y:0},I=q.y,P=g||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),n={};J(I)||(I=0===d.side?t.rotation?-8:-t.getBBox().height:2===d.side?m.y+8:Math.cos(t.rotation*G)*
-(m.y-t.getBBox(!1,0).height/2));b=b+q.x+P+m.x-(p&&g?p*y*(c?-1:1):0);f=f+I-(p&&!g?p*y*(c?1:-1):0);h&&(t=a/(k||1)%h,d.opposite&&(t=h-t-1),f+=d.labelOffset/h*t);n.x=b;n.y=Math.round(f);A(this,"afterGetLabelPosition",{pos:n,tickmarkOffset:p,index:a});return n};w.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};w.prototype.getMarkPath=function(b,f,t,g,q,p){return p.crispLine([["M",b,f],["L",b+(q?0:-t),f+(q?t:0)]],g)};w.prototype.handleOverflow=
-function(b){var m=this.axis,t=m.options.labels,g=b.x,q=m.chart.chartWidth,p=m.chart.spacing,a=f(m.labelLeft,Math.min(m.pos,p[3]));p=f(m.labelRight,Math.max(m.isRadial?0:m.pos+m.len,q-p[1]));var k=this.label,d=this.rotation,y={left:0,center:.5,right:1}[m.labelAlign||k.attr("align")],c=k.getBBox().width,h=m.getSlotWidth(this),M=h,u=1,P,n={};if(d||"justify"!==f(t.overflow,"justify"))0>d&&g-y*c<a?P=Math.round(g/Math.cos(d*G)-a):0<d&&g+y*c>p&&(P=Math.round((q-g)/Math.cos(d*G)));else if(q=g+(1-y)*c,g-y*
-c<a?M=b.x+M*(1-y)-a:q>p&&(M=p-b.x+M*y,u=-1),M=Math.min(h,M),M<h&&"center"===m.labelAlign&&(b.x+=u*(h-M-y*(h-Math.min(c,M)))),c>M||m.autoRotation&&(k.styles||{}).width)P=M;P&&(this.shortenLabel?this.shortenLabel():(n.width=Math.floor(P)+"px",(t.style||{}).textOverflow||(n.textOverflow="ellipsis"),k.css(n)))};w.prototype.moveLabel=function(b,f){var m=this,g=m.label,q=!1,p=m.axis,a=p.reversed;g&&g.textStr===b?(m.movedLabel=g,q=!0,delete m.label):u(p.ticks,function(a){q||a.isNew||a===m||!a.label||a.label.textStr!==
-b||(m.movedLabel=a.label,q=!0,a.labelPos=m.movedLabel.xy,delete a.label)});if(!q&&(m.labelPos||g)){var k=m.labelPos||g.xy;g=p.horiz?a?0:p.width+p.left:k.x;p=p.horiz?k.y:a?p.width+p.left:0;m.movedLabel=m.createLabel({x:g,y:p},b,f);m.movedLabel&&m.movedLabel.attr({opacity:0})}};w.prototype.render=function(b,m,t){var g=this.axis,q=g.horiz,p=this.pos,a=f(this.tickmarkOffset,g.tickmarkOffset);p=this.getPosition(q,p,a,m);a=p.x;var k=p.y;g=q&&a===g.pos+g.len||!q&&k===g.pos?-1:1;t=f(t,1);this.isActive=!0;
-this.renderGridLine(m,t,g);this.renderMark(p,t,g);this.renderLabel(p,m,t,b);this.isNew=!1;A(this,"afterRender")};w.prototype.renderGridLine=function(b,m,g){var t=this.axis,q=t.options,p=this.gridLine,a={},k=this.pos,d=this.type,y=f(this.tickmarkOffset,t.tickmarkOffset),c=t.chart.renderer,h=d?d+"Grid":"grid",M=q[h+"LineWidth"],u=q[h+"LineColor"];q=q[h+"LineDashStyle"];p||(t.chart.styledMode||(a.stroke=u,a["stroke-width"]=M,q&&(a.dashstyle=q)),d||(a.zIndex=1),b&&(m=0),this.gridLine=p=c.path().attr(a).addClass("highcharts-"+
-(d?d+"-":"")+"grid-line").add(t.gridGroup));if(p&&(g=t.getPlotLinePath({value:k+y,lineWidth:p.strokeWidth()*g,force:"pass",old:b})))p[b||this.isNew?"attr":"animate"]({d:g,opacity:m})};w.prototype.renderMark=function(b,m,g){var t=this.axis,q=t.options,p=t.chart.renderer,a=this.type,k=a?a+"Tick":"tick",d=t.tickSize(k),y=this.mark,c=!y,h=b.x;b=b.y;var M=f(q[k+"Width"],!a&&t.isXAxis?1:0);q=q[k+"Color"];d&&(t.opposite&&(d[0]=-d[0]),c&&(this.mark=y=p.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(t.axisGroup),
-t.chart.styledMode||y.attr({stroke:q,"stroke-width":M})),y[c?"attr":"animate"]({d:this.getMarkPath(h,b,d[0],y.strokeWidth()*g,t.horiz,p),opacity:m}))};w.prototype.renderLabel=function(b,m,t,g){var q=this.axis,p=q.horiz,a=q.options,k=this.label,d=a.labels,y=d.step;q=f(this.tickmarkOffset,q.tickmarkOffset);var c=!0,h=b.x;b=b.y;k&&x(h)&&(k.xy=b=this.getLabelPosition(h,b,k,p,d,q,g,y),this.isFirst&&!this.isLast&&!f(a.showFirstLabel,1)||this.isLast&&!this.isFirst&&!f(a.showLastLabel,1)?c=!1:!p||d.step||
-d.rotation||m||0===t||this.handleOverflow(b),y&&g%y&&(c=!1),c&&x(b.y)?(b.opacity=t,k[this.isNewLabel?"attr":"animate"](b),this.isNewLabel=!1):(k.attr("y",-9999),this.isNewLabel=!0))};w.prototype.replaceMovedLabel=function(){var b=this.label,f=this.axis,g=f.reversed;if(b&&!this.isNew){var u=f.horiz?g?f.left:f.width+f.left:b.xy.x;g=f.horiz?b.xy.y:g?f.width+f.top:f.top;b.animate({x:u,y:g,opacity:0},void 0,b.destroy);delete this.label}f.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return w}();
-e.Tick=l;return e.Tick});O(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Options.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J,D){var E=e.animObject,A=H.defaultOptions,x=D.addEvent,g=D.arrayMax,u=D.arrayMin,f=D.clamp,w=D.correctFloat,b=D.defined,m=D.destroyObjectProperties,t=D.erase,I=D.error,q=D.extend,p=D.fireEvent,a=D.format,k=D.getMagnitude,d=D.isArray,y=D.isFunction,
-c=D.isNumber,h=D.isString,M=D.merge,S=D.normalizeTickInterval,P=D.objectEach,n=D.pick,K=D.relativeLength,r=D.removeEvent,z=D.splat,L=D.syncTimeout;"";var B=F.deg2rad;e=function(){function e(a,c){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=
-this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0;this.init(a,c)}e.prototype.init=function(a,c){var d=c.isX,h=this;h.chart=
-a;h.horiz=a.inverted&&!h.isZAxis?!d:d;h.isXAxis=d;h.coll=h.coll||(d?"xAxis":"yAxis");p(this,"init",{userOptions:c});h.opposite=n(c.opposite,h.opposite);h.side=n(c.side,h.side,h.horiz?h.opposite?0:2:h.opposite?1:3);h.setOptions(c);var v=this.options,f=v.type;h.labelFormatter=v.labels.formatter||h.defaultLabelFormatter;h.userOptions=c;h.minPixelPadding=0;h.reversed=n(v.reversed,h.reversed);h.visible=!1!==v.visible;h.zoomEnabled=!1!==v.zoomEnabled;h.hasNames="category"===f||!0===v.categories;h.categories=
-v.categories||h.hasNames;h.names||(h.names=[],h.names.keys={});h.plotLinesAndBandsGroups={};h.positiveValuesOnly=!!h.logarithmic;h.isLinked=b(v.linkedTo);h.ticks={};h.labelEdge=[];h.minorTicks={};h.plotLinesAndBands=[];h.alternateBands={};h.len=0;h.minRange=h.userMinRange=v.minRange||v.maxZoom;h.range=v.range;h.offset=v.offset||0;h.max=null;h.min=null;h.crosshair=n(v.crosshair,z(a.options.tooltip.crosshairs)[d?0:1],!1);c=h.options.events;-1===a.axes.indexOf(h)&&(d?a.axes.splice(a.xAxis.length,0,h):
-a.axes.push(h),a[h.coll].push(h));h.series=h.series||[];a.inverted&&!h.isZAxis&&d&&"undefined"===typeof h.reversed&&(h.reversed=!0);h.labelRotation=h.options.labels.rotation;P(c,function(a,c){y(a)&&x(h,c,a)});p(this,"afterInit")};e.prototype.setOptions=function(a){this.options=M(e.defaultOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],M(A[this.coll],a));p(this,"afterSetOptions",{userOptions:a})};
-e.prototype.defaultLabelFormatter=function(){var d=this.axis,h=c(this.value)?this.value:NaN,b=d.chart.time,n=d.categories,f=this.dateTimeLabelFormat,k=A.lang,r=k.numericSymbols;k=k.numericSymbolMagnitude||1E3;var z=r&&r.length,y=d.options.labels.format;d=d.logarithmic?Math.abs(h):d.tickInterval;var m=this.chart,p=m.numberFormatter;if(y)var K=a(y,this,m);else if(n)K=""+this.value;else if(f)K=b.dateFormat(f,h);else if(z&&1E3<=d)for(;z--&&"undefined"===typeof K;)b=Math.pow(k,z+1),d>=b&&0===10*h%b&&null!==
-r[z]&&0!==h&&(K=p(h/b,-1)+r[z]);"undefined"===typeof K&&(K=1E4<=Math.abs(h)?p(h,-1):p(h,-1,void 0,""));return K};e.prototype.getSeriesExtremes=function(){var a=this,d=a.chart,h;p(this,"getSeriesExtremes",null,function(){a.hasVisibleSeries=!1;a.dataMin=a.dataMax=a.threshold=null;a.softThreshold=!a.isXAxis;a.stacking&&a.stacking.buildStacks();a.series.forEach(function(v){if(v.visible||!d.options.chart.ignoreHiddenSeries){var f=v.options,k=f.threshold;a.hasVisibleSeries=!0;a.positiveValuesOnly&&0>=k&&
-(k=null);if(a.isXAxis){if(f=v.xData,f.length){f=a.logarithmic?f.filter(a.validatePositiveValue):f;h=v.getXExtremes(f);var r=h.min;var z=h.max;c(r)||r instanceof Date||(f=f.filter(c),h=v.getXExtremes(f),r=h.min,z=h.max);f.length&&(a.dataMin=Math.min(n(a.dataMin,r),r),a.dataMax=Math.max(n(a.dataMax,z),z))}}else if(v=v.applyExtremes(),c(v.dataMin)&&(r=v.dataMin,a.dataMin=Math.min(n(a.dataMin,r),r)),c(v.dataMax)&&(z=v.dataMax,a.dataMax=Math.max(n(a.dataMax,z),z)),b(k)&&(a.threshold=k),!f.softThreshold||
-a.positiveValuesOnly)a.softThreshold=!1}})});p(this,"afterGetSeriesExtremes")};e.prototype.translate=function(a,d,h,b,n,f){var v=this.linkedParent||this,k=1,r=0,z=b&&v.old?v.old.transA:v.transA;b=b&&v.old?v.old.min:v.min;var N=v.minPixelPadding;n=(v.isOrdinal||v.brokenAxis&&v.brokenAxis.hasBreaks||v.logarithmic&&n)&&v.lin2val;z||(z=v.transA);h&&(k*=-1,r=v.len);v.reversed&&(k*=-1,r-=k*(v.sector||v.len));d?(a=(a*k+r-N)/z+b,n&&(a=v.lin2val(a))):(n&&(a=v.val2lin(a)),a=c(b)?k*(a-b)*z+r+k*N+(c(f)?z*f:0):
-void 0);return a};e.prototype.toPixels=function(a,c){return this.translate(a,!1,!this.horiz,null,!0)+(c?0:this.pos)};e.prototype.toValue=function(a,c){return this.translate(a-(c?0:this.pos),!0,!this.horiz,null,!0)};e.prototype.getPlotLinePath=function(a){function d(a,c,d){if("pass"!==K&&a<c||a>d)K?a=f(a,c,d):P=!0;return a}var h=this,b=h.chart,v=h.left,k=h.top,r=a.old,z=a.value,y=a.translatedValue,m=a.lineWidth,K=a.force,q,g,t,B,M=r&&b.oldChartHeight||b.chartHeight,L=r&&b.oldChartWidth||b.chartWidth,
-P,u=h.transB;a={value:z,lineWidth:m,old:r,force:K,acrossPanes:a.acrossPanes,translatedValue:y};p(this,"getPlotLinePath",a,function(a){y=n(y,h.translate(z,null,null,r));y=f(y,-1E5,1E5);q=t=Math.round(y+u);g=B=Math.round(M-y-u);c(y)?h.horiz?(g=k,B=M-h.bottom,q=t=d(q,v,v+h.width)):(q=v,t=L-h.right,g=B=d(g,k,k+h.height)):(P=!0,K=!1);a.path=P&&!K?null:b.renderer.crispLine([["M",q,g],["L",t,B]],m||1)});return a.path};e.prototype.getLinearTickPositions=function(a,c,d){var h=w(Math.floor(c/a)*a);d=w(Math.ceil(d/
-a)*a);var b=[],n;w(h+a)===h&&(n=20);if(this.single)return[c];for(c=h;c<=d;){b.push(c);c=w(c+a,n);if(c===v)break;var v=c}return b};e.prototype.getMinorTickInterval=function(){var a=this.options;return!0===a.minorTicks?n(a.minorTickInterval,"auto"):!1===a.minorTicks?null:a.minorTickInterval};e.prototype.getMinorTickPositions=function(){var a=this.options,c=this.tickPositions,d=this.minorTickInterval,h=[],b=this.pointRangePadding||0,n=this.min-b;b=this.max+b;var f=b-n;if(f&&f/d<this.len/3){var k=this.logarithmic;
-if(k)this.paddedTicks.forEach(function(a,c,b){c&&h.push.apply(h,k.getLogTickPositions(d,b[c-1],b[c],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())h=h.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(d),n,b,a.startOfWeek));else for(a=n+(c[0]-n)%d;a<=b&&a!==h[0];a+=d)h.push(a)}0!==h.length&&this.trimTicks(h);return h};e.prototype.adjustForMinRange=function(){var a=this.options,c=this.min,d=this.max,h=this.logarithmic,f=0,k,r,z,y;this.isXAxis&&"undefined"===typeof this.minRange&&
-!h&&(b(a.min)||b(a.max)?this.minRange=null:(this.series.forEach(function(a){z=a.xData;y=a.xIncrement?1:z.length-1;if(1<z.length)for(k=y;0<k;k--)if(r=z[k]-z[k-1],!f||r<f)f=r}),this.minRange=Math.min(5*f,this.dataMax-this.dataMin)));if(d-c<this.minRange){var m=this.dataMax-this.dataMin>=this.minRange;var p=this.minRange;var K=(p-d+c)/2;K=[c-K,n(a.min,c-K)];m&&(K[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);c=g(K);d=[c+p,n(a.max,c+p)];m&&(d[2]=h?h.log2lin(this.dataMax):this.dataMax);
-d=u(d);d-c<p&&(K[0]=d-p,K[1]=n(a.min,d-p),c=g(K))}this.min=c;this.max=d};e.prototype.getClosest=function(){var a;this.categories?a=1:this.series.forEach(function(c){var d=c.closestPointRange,h=c.visible||!c.chart.options.chart.ignoreHiddenSeries;!c.noSharedTooltip&&b(d)&&h&&(a=b(a)?Math.min(a,d):d)});return a};e.prototype.nameToX=function(a){var c=d(this.categories),h=c?this.categories:this.names,f=a.options.x;a.series.requireSorting=!1;b(f)||(f=!1===this.options.uniqueNames?a.series.autoIncrement():
-c?h.indexOf(a.name):n(h.keys[a.name],-1));if(-1===f){if(!c)var v=h.length}else v=f;"undefined"!==typeof v&&(this.names[v]=a.name,this.names.keys[a.name]=v);return v};e.prototype.updateNames=function(){var a=this,c=this.names;0<c.length&&(Object.keys(c.keys).forEach(function(a){delete c.keys[a]}),c.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(c){c.xIncrement=null;if(!c.points||c.isDirtyData)a.max=Math.max(a.max,c.xData.length-1),c.processData(),c.generatePoints();c.data.forEach(function(d,
-h){if(d&&d.options&&"undefined"!==typeof d.name){var b=a.nameToX(d);"undefined"!==typeof b&&b!==d.x&&(d.x=b,c.xData[h]=b)}})}))};e.prototype.setAxisTranslation=function(){var a=this,c=a.max-a.min,d=a.axisPointRange||0,b=0,f=0,k=a.linkedParent,r=!!a.categories,z=a.transA,y=a.isXAxis;if(y||r||d){var m=a.getClosest();k?(b=k.minPointOffset,f=k.pointRangePadding):a.series.forEach(function(c){var k=r?1:y?n(c.options.pointRange,m,0):a.axisPointRange||0,v=c.options.pointPlacement;d=Math.max(d,k);if(!a.single||
-r)c=c.is("xrange")?!y:y,b=Math.max(b,c&&h(v)?0:k/2),f=Math.max(f,c&&"on"===v?0:k)});k=a.ordinal&&a.ordinal.slope&&m?a.ordinal.slope/m:1;a.minPointOffset=b*=k;a.pointRangePadding=f*=k;a.pointRange=Math.min(d,a.single&&r?1:c);y&&(a.closestPointRange=m)}a.translationSlope=a.transA=z=a.staticScale||a.len/(c+f||1);a.transB=a.horiz?a.left:a.bottom;a.minPixelPadding=z*b;p(this,"afterSetAxisTranslation")};e.prototype.minFromRange=function(){return this.max-this.range};e.prototype.setTickInterval=function(a){var d=
-this,h=d.chart,f=d.logarithmic,r=d.options,v=d.isXAxis,z=d.isLinked,y=r.maxPadding,m=r.minPadding,K=r.tickInterval,q=r.tickPixelInterval,g=d.categories,t=c(d.threshold)?d.threshold:null,B=d.softThreshold;d.dateTime||g||z||this.getTickAmount();var M=n(d.userMin,r.min);var L=n(d.userMax,r.max);if(z){d.linkedParent=h[d.coll][r.linkedTo];var P=d.linkedParent.getExtremes();d.min=n(P.min,P.dataMin);d.max=n(P.max,P.dataMax);r.type!==d.linkedParent.options.type&&I(11,1,h)}else{if(B&&b(t))if(d.dataMin>=t)P=
-t,m=0;else if(d.dataMax<=t){var u=t;y=0}d.min=n(M,P,d.dataMin);d.max=n(L,u,d.dataMax)}f&&(d.positiveValuesOnly&&!a&&0>=Math.min(d.min,n(d.dataMin,d.min))&&I(10,1,h),d.min=w(f.log2lin(d.min),16),d.max=w(f.log2lin(d.max),16));d.range&&b(d.max)&&(d.userMin=d.min=M=Math.max(d.dataMin,d.minFromRange()),d.userMax=L=d.max,d.range=null);p(d,"foundExtremes");d.beforePadding&&d.beforePadding();d.adjustForMinRange();!(g||d.axisPointRange||d.stacking&&d.stacking.usePercentage||z)&&b(d.min)&&b(d.max)&&(h=d.max-
-d.min)&&(!b(M)&&m&&(d.min-=h*m),!b(L)&&y&&(d.max+=h*y));c(d.userMin)||(c(r.softMin)&&r.softMin<d.min&&(d.min=M=r.softMin),c(r.floor)&&(d.min=Math.max(d.min,r.floor)));c(d.userMax)||(c(r.softMax)&&r.softMax>d.max&&(d.max=L=r.softMax),c(r.ceiling)&&(d.max=Math.min(d.max,r.ceiling)));B&&b(d.dataMin)&&(t=t||0,!b(M)&&d.min<t&&d.dataMin>=t?d.min=d.options.minRange?Math.min(t,d.max-d.minRange):t:!b(L)&&d.max>t&&d.dataMax<=t&&(d.max=d.options.minRange?Math.max(t,d.min+d.minRange):t));c(d.min)&&c(d.max)&&
-!this.chart.polar&&d.min>d.max&&(b(d.options.min)?d.max=d.min:b(d.options.max)&&(d.min=d.max));d.tickInterval=d.min===d.max||"undefined"===typeof d.min||"undefined"===typeof d.max?1:z&&!K&&q===d.linkedParent.options.tickPixelInterval?K=d.linkedParent.tickInterval:n(K,this.tickAmount?(d.max-d.min)/Math.max(this.tickAmount-1,1):void 0,g?1:(d.max-d.min)*q/Math.max(d.len,q));v&&!a&&d.series.forEach(function(a){var c,h;a.processData(d.min!==(null===(c=d.old)||void 0===c?void 0:c.min)||d.max!==(null===
-(h=d.old)||void 0===h?void 0:h.max))});d.setAxisTranslation();p(this,"initialAxisTranslation");d.pointRange&&!K&&(d.tickInterval=Math.max(d.pointRange,d.tickInterval));a=n(r.minTickInterval,d.dateTime&&!d.series.some(function(a){return a.noSharedTooltip})?d.closestPointRange:0);!K&&d.tickInterval<a&&(d.tickInterval=a);d.dateTime||d.logarithmic||K||(d.tickInterval=S(d.tickInterval,void 0,k(d.tickInterval),n(r.allowDecimals,.5>d.tickInterval||void 0!==this.tickAmount),!!this.tickAmount));this.tickAmount||
-(d.tickInterval=d.unsquish());this.setTickPositions()};e.prototype.setTickPositions=function(){var a=this.options,c=a.tickPositions;var d=this.getMinorTickInterval();var h=a.tickPositioner,n=this.hasVerticalPanning(),f="colorAxis"===this.coll,r=(f||!n)&&a.startOnTick;n=(f||!n)&&a.endOnTick;this.tickmarkOffset=this.categories&&"between"===a.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===d&&this.tickInterval?this.tickInterval/5:d;this.single=this.min===this.max&&b(this.min)&&
-!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==a.allowDecimals);this.tickPositions=d=c&&c.slice();!d&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?d=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,a.units),this.min,this.max,a.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):
-this.getLinearTickPositions(this.tickInterval,this.min,this.max):(d=[this.min,this.max],I(19,!1,this.chart)),d.length>this.len&&(d=[d[0],d.pop()],d[0]===d[1]&&(d.length=1)),this.tickPositions=d,h&&(h=h.apply(this,[this.min,this.max])))&&(this.tickPositions=d=h);this.paddedTicks=d.slice(0);this.trimTicks(d,r,n);this.isLinked||(this.single&&2>d.length&&!this.categories&&!this.series.some(function(a){return a.is("heatmap")&&"between"===a.options.pointPlacement})&&(this.min-=.5,this.max+=.5),c||h||this.adjustTickAmount());
-p(this,"afterSetTickPositions")};e.prototype.trimTicks=function(a,c,d){var h=a[0],n=a[a.length-1],f=!this.isOrdinal&&this.minPointOffset||0;p(this,"trimTicks");if(!this.isLinked){if(c&&-Infinity!==h)this.min=h;else for(;this.min-f>a[0];)a.shift();if(d)this.max=n;else for(;this.max+f<a[a.length-1];)a.pop();0===a.length&&b(h)&&!this.options.tickPositions&&a.push((n+h)/2)}};e.prototype.alignToOthers=function(){var a={},c,d=this.options;!1===this.chart.options.chart.alignTicks||!1===d.alignTicks||!1===
-d.startOnTick||!1===d.endOnTick||this.logarithmic||this.chart[this.coll].forEach(function(d){var h=d.options;h=[d.horiz?h.left:h.top,h.width,h.height,h.pane].join();d.series.length&&(a[h]?c=!0:a[h]=1)});return c};e.prototype.getTickAmount=function(){var a=this.options,c=a.tickAmount,d=a.tickPixelInterval;!b(a.tickInterval)&&!c&&this.len<d&&!this.isRadial&&!this.logarithmic&&a.startOnTick&&a.endOnTick&&(c=2);!c&&this.alignToOthers()&&(c=Math.ceil(this.len/d)+1);4>c&&(this.finalTickAmt=c,c=5);this.tickAmount=
-c};e.prototype.adjustTickAmount=function(){var a=this.options,d=this.tickInterval,h=this.tickPositions,f=this.tickAmount,r=this.finalTickAmt,k=h&&h.length,z=n(this.threshold,this.softThreshold?0:null);if(this.hasData()&&c(this.min)&&c(this.max)){if(k<f){for(;h.length<f;)h.length%2||this.min===z?h.push(w(h[h.length-1]+d)):h.unshift(w(h[0]-d));this.transA*=(k-1)/(f-1);this.min=a.startOnTick?h[0]:Math.min(this.min,h[0]);this.max=a.endOnTick?h[h.length-1]:Math.max(this.max,h[h.length-1])}else k>f&&(this.tickInterval*=
-2,this.setTickPositions());if(b(r)){for(d=a=h.length;d--;)(3===r&&1===d%2||2>=r&&0<d&&d<a-1)&&h.splice(d,1);this.finalTickAmt=void 0}}};e.prototype.setScale=function(){var a,c,d,h,b,n,f=!1,r=!1;this.series.forEach(function(a){var c;f=f||a.isDirtyData||a.isDirty;r=r||(null===(c=a.xAxis)||void 0===c?void 0:c.isDirty)||!1});this.setAxisSize();(n=this.len!==(null===(a=this.old)||void 0===a?void 0:a.len))||f||r||this.isLinked||this.forceRedraw||this.userMin!==(null===(c=this.old)||void 0===c?void 0:c.userMin)||
-this.userMax!==(null===(d=this.old)||void 0===d?void 0:d.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=n||this.min!==(null===(h=this.old)||void 0===h?void 0:h.min)||this.max!==(null===(b=this.old)||void 0===b?void 0:b.max))):this.stacking&&this.stacking.cleanStacks();f&&this.panningState&&(this.panningState.isDirty=!0);p(this,"afterSetScale")};e.prototype.setExtremes=function(a,
-c,d,h,b){var f=this,r=f.chart;d=n(d,!0);f.series.forEach(function(a){delete a.kdTree});b=q(b,{min:a,max:c});p(f,"setExtremes",b,function(){f.userMin=a;f.userMax=c;f.eventArgs=b;d&&r.redraw(h)})};e.prototype.zoom=function(a,c){var d=this,h=this.dataMin,f=this.dataMax,r=this.options,k=Math.min(h,n(r.min,h)),v=Math.max(f,n(r.max,f));a={newMin:a,newMax:c};p(this,"zoom",a,function(a){var c=a.newMin,n=a.newMax;if(c!==d.min||n!==d.max)d.allowZoomOutside||(b(h)&&(c<k&&(c=k),c>v&&(c=v)),b(f)&&(n<k&&(n=k),
-n>v&&(n=v))),d.displayBtn="undefined"!==typeof c||"undefined"!==typeof n,d.setExtremes(c,n,!1,void 0,{trigger:"zoom"});a.zoomed=!0});return a.zoomed};e.prototype.setAxisSize=function(){var a=this.chart,c=this.options,d=c.offsets||[0,0,0,0],h=this.horiz,b=this.width=Math.round(K(n(c.width,a.plotWidth-d[3]+d[1]),a.plotWidth)),f=this.height=Math.round(K(n(c.height,a.plotHeight-d[0]+d[2]),a.plotHeight)),r=this.top=Math.round(K(n(c.top,a.plotTop+d[0]),a.plotHeight,a.plotTop));c=this.left=Math.round(K(n(c.left,
-a.plotLeft+d[3]),a.plotWidth,a.plotLeft));this.bottom=a.chartHeight-f-r;this.right=a.chartWidth-b-c;this.len=Math.max(h?b:f,0);this.pos=h?c:r};e.prototype.getExtremes=function(){var a=this.logarithmic;return{min:a?w(a.lin2log(this.min)):this.min,max:a?w(a.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};e.prototype.getThreshold=function(a){var c=this.logarithmic,d=c?c.lin2log(this.min):this.min;c=c?c.lin2log(this.max):this.max;null===
-a||-Infinity===a?a=d:Infinity===a?a=c:d>a?a=d:c<a&&(a=c);return this.translate(a,0,1,0,1)};e.prototype.autoLabelAlign=function(a){var c=(n(a,0)-90*this.side+720)%360;a={align:"center"};p(this,"autoLabelAlign",a,function(a){15<c&&165>c?a.align="right":195<c&&345>c&&(a.align="left")});return a.align};e.prototype.tickSize=function(a){var c=this.options,d=c["tick"===a?"tickLength":"minorTickLength"],h=n(c["tick"===a?"tickWidth":"minorTickWidth"],"tick"===a&&this.isXAxis&&!this.categories?1:0);if(h&&d){"inside"===
-c[a+"Position"]&&(d=-d);var b=[d,h]}a={tickSize:b};p(this,"afterTickSize",a);return a.tickSize};e.prototype.labelMetrics=function(){var a=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[a]&&this.ticks[a].label)};e.prototype.unsquish=function(){var a=this.options.labels,c=this.horiz,d=this.tickInterval,h=d,f=this.len/(((this.categories?1:0)+this.max-this.min)/d),r,k=a.rotation,z=this.labelMetrics(),
-y,m=Number.MAX_VALUE,K,p=Math.max(this.max-this.min,0),q=function(a){var c=a/(f||1);c=1<c?Math.ceil(c):1;c*d>p&&Infinity!==a&&Infinity!==f&&p&&(c=Math.ceil(p/d));return w(c*d)};c?(K=!a.staggerLines&&!a.step&&(b(k)?[k]:f<n(a.autoRotationLimit,80)&&a.autoRotation))&&K.forEach(function(a){if(a===k||a&&-90<=a&&90>=a){y=q(Math.abs(z.h/Math.sin(B*a)));var c=y+Math.abs(a/360);c<m&&(m=c,r=a,h=y)}}):a.step||(h=q(z.h));this.autoRotation=K;this.labelRotation=n(r,k);return h};e.prototype.getSlotWidth=function(a){var d,
-h=this.chart,b=this.horiz,n=this.options.labels,f=Math.max(this.tickPositions.length-(this.categories?0:1),1),r=h.margin[3];if(a&&c(a.slotWidth))return a.slotWidth;if(b&&n&&2>(n.step||0))return n.rotation?0:(this.staggerLines||1)*this.len/f;if(!b){a=null===(d=null===n||void 0===n?void 0:n.style)||void 0===d?void 0:d.width;if(void 0!==a)return parseInt(a,10);if(r)return r-h.spacing[3]}return.33*h.chartWidth};e.prototype.renderUnsquish=function(){var a=this.chart,c=a.renderer,d=this.tickPositions,b=
-this.ticks,n=this.options.labels,f=n&&n.style||{},r=this.horiz,k=this.getSlotWidth(),z=Math.max(1,Math.round(k-2*(n.padding||5))),y={},m=this.labelMetrics(),K=n.style&&n.style.textOverflow,p=0;h(n.rotation)||(y.rotation=n.rotation||0);d.forEach(function(a){a=b[a];a.movedLabel&&a.replaceMovedLabel();a&&a.label&&a.label.textPxLength>p&&(p=a.label.textPxLength)});this.maxLabelLength=p;if(this.autoRotation)p>z&&p>m.h?y.rotation=this.labelRotation:this.labelRotation=0;else if(k){var q=z;if(!K){var g="clip";
-for(z=d.length;!r&&z--;){var t=d[z];if(t=b[t].label)t.styles&&"ellipsis"===t.styles.textOverflow?t.css({textOverflow:"clip"}):t.textPxLength>k&&t.css({width:k+"px"}),t.getBBox().height>this.len/d.length-(m.h-m.f)&&(t.specificTextOverflow="ellipsis")}}}y.rotation&&(q=p>.5*a.chartHeight?.33*a.chartHeight:p,K||(g="ellipsis"));if(this.labelAlign=n.align||this.autoLabelAlign(this.labelRotation))y.align=this.labelAlign;d.forEach(function(a){var c=(a=b[a])&&a.label,d=f.width,h={};c&&(c.attr(y),a.shortenLabel?
-a.shortenLabel():q&&!d&&"nowrap"!==f.whiteSpace&&(q<c.textPxLength||"SPAN"===c.element.tagName)?(h.width=q+"px",K||(h.textOverflow=c.specificTextOverflow||g),c.css(h)):c.styles&&c.styles.width&&!h.width&&!d&&c.css({width:null}),delete c.specificTextOverflow,a.rotation=y.rotation)},this);this.tickRotCorr=c.rotCorr(m.b,this.labelRotation||0,0!==this.side)};e.prototype.hasData=function(){return this.series.some(function(a){return a.hasData()})||this.options.showEmpty&&b(this.min)&&b(this.max)};e.prototype.addTitle=
-function(a){var c=this.chart.renderer,d=this.horiz,h=this.opposite,b=this.options.title,n,f=this.chart.styledMode;this.axisTitle||((n=b.textAlign)||(n=(d?{low:"left",middle:"center",high:"right"}:{low:h?"right":"left",middle:"center",high:h?"left":"right"})[b.align]),this.axisTitle=c.text(b.text,0,0,b.useHTML).attr({zIndex:7,rotation:b.rotation||0,align:n}).addClass("highcharts-axis-title"),f||this.axisTitle.css(M(b.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);f||b.style.width||
-this.isRadial||this.axisTitle.css({width:this.len+"px"});this.axisTitle[a?"show":"hide"](a)};e.prototype.generateTick=function(a){var c=this.ticks;c[a]?c[a].addLabel():c[a]=new J(this,a)};e.prototype.getOffset=function(){var a=this,c=this,d=c.chart,h=d.renderer,f=c.options,r=c.tickPositions,k=c.ticks,z=c.horiz,y=c.side,m=d.inverted&&!c.isZAxis?[1,0,3,2][y]:y,K,q=0,t=0,g=f.title,B=f.labels,M=0,L=d.axisOffset;d=d.clipOffset;var u=[-1,1,1,-1][y],I=f.className,w=c.axisParent;var S=c.hasData();c.showAxis=
-K=S||n(f.showEmpty,!0);c.staggerLines=c.horiz&&B.staggerLines;if(!c.axisGroup){var e=function(c,d,b){return h.g(c).attr({zIndex:b}).addClass("highcharts-"+a.coll.toLowerCase()+d+" "+(a.isRadial?"highcharts-radial-axis"+d+" ":"")+(I||"")).add(w)};c.gridGroup=e("grid","-grid",f.gridZIndex||1);c.axisGroup=e("axis","",f.zIndex||2);c.labelGroup=e("axis-labels","-labels",B.zIndex||7)}S||c.isLinked?(r.forEach(function(a,d){c.generateTick(a,d)}),c.renderUnsquish(),c.reserveSpaceDefault=0===y||2===y||{1:"left",
-3:"right"}[y]===c.labelAlign,n(B.reserveSpace,"center"===c.labelAlign?!0:null,c.reserveSpaceDefault)&&r.forEach(function(a){M=Math.max(k[a].getLabelSize(),M)}),c.staggerLines&&(M*=c.staggerLines),c.labelOffset=M*(c.opposite?-1:1)):P(k,function(a,c){a.destroy();delete k[c]});if(g&&g.text&&!1!==g.enabled&&(c.addTitle(K),K&&!1!==g.reserveSpace)){c.titleOffset=q=c.axisTitle.getBBox()[z?"height":"width"];var x=g.offset;t=b(x)?0:n(g.margin,z?5:10)}c.renderLine();c.offset=u*n(f.offset,L[y]?L[y]+(f.margin||
-0):0);c.tickRotCorr=c.tickRotCorr||{x:0,y:0};g=0===y?-c.labelMetrics().h:2===y?c.tickRotCorr.y:0;t=Math.abs(M)+t;M&&(t=t-g+u*(z?n(B.y,c.tickRotCorr.y+8*u):B.x));c.axisTitleMargin=n(x,t);c.getMaxLabelDimensions&&(c.maxLabelDimensions=c.getMaxLabelDimensions(k,r));z=this.tickSize("tick");L[y]=Math.max(L[y],c.axisTitleMargin+q+u*c.offset,t,r&&r.length&&z?z[0]+u*c.offset:0);f=f.offset?0:2*Math.floor(c.axisLine.strokeWidth()/2);d[m]=Math.max(d[m],f);p(this,"afterGetOffset")};e.prototype.getLinePath=function(a){var c=
-this.chart,d=this.opposite,h=this.offset,b=this.horiz,n=this.left+(d?this.width:0)+h;h=c.chartHeight-this.bottom-(d?this.height:0)+h;d&&(a*=-1);return c.renderer.crispLine([["M",b?this.left:n,b?h:this.top],["L",b?c.chartWidth-this.right:n,b?h:c.chartHeight-this.bottom]],a)};e.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,
-zIndex:7}))};e.prototype.getTitlePosition=function(){var a=this.horiz,c=this.left,d=this.top,h=this.len,b=this.options.title,n=a?c:d,f=this.opposite,r=this.offset,k=b.x||0,z=b.y||0,y=this.axisTitle,m=this.chart.renderer.fontMetrics(b.style&&b.style.fontSize,y);y=Math.max(y.getBBox(null,0).height-m.h-1,0);h={low:n+(a?0:h),middle:n+h/2,high:n+(a?h:0)}[b.align];c=(a?d+this.height:c)+(a?1:-1)*(f?-1:1)*this.axisTitleMargin+[-y,y,m.f,-y][this.side];a={x:a?h+k:c+(f?this.width:0)+r+k,y:a?c+z-(f?this.height:
-0)+r:h+z};p(this,"afterGetTitlePosition",{titlePosition:a});return a};e.prototype.renderMinorTick=function(a){var c=this.chart.hasRendered&&this.old,d=this.minorTicks;d[a]||(d[a]=new J(this,a,"minor"));c&&d[a].isNew&&d[a].render(null,!0);d[a].render(null,!1,1)};e.prototype.renderTick=function(a,c){var d,h=this.ticks,b=this.chart.hasRendered&&this.old;if(!this.isLinked||a>=this.min&&a<=this.max||(null===(d=this.grid)||void 0===d?0:d.isColumn))h[a]||(h[a]=new J(this,a)),b&&h[a].isNew&&h[a].render(c,
-!0,-1),h[a].render(c)};e.prototype.render=function(){var a=this,d=a.chart,h=a.logarithmic,b=a.options,n=a.isLinked,f=a.tickPositions,r=a.axisTitle,k=a.ticks,z=a.minorTicks,y=a.alternateBands,m=b.stackLabels,K=b.alternateGridColor,q=a.tickmarkOffset,t=a.axisLine,g=a.showAxis,B=E(d.renderer.globalAnimation),M,u;a.labelEdge.length=0;a.overlap=!1;[k,z,y].forEach(function(a){P(a,function(a){a.isActive=!1})});if(a.hasData()||n)a.minorTickInterval&&!a.categories&&a.getMinorTickPositions().forEach(function(c){a.renderMinorTick(c)}),
-f.length&&(f.forEach(function(c,d){a.renderTick(c,d)}),q&&(0===a.min||a.single)&&(k[-1]||(k[-1]=new J(a,-1,null,!0)),k[-1].render(-1))),K&&f.forEach(function(c,b){u="undefined"!==typeof f[b+1]?f[b+1]+q:a.max-q;0===b%2&&c<a.max&&u<=a.max+(d.polar?-q:q)&&(y[c]||(y[c]=new F.PlotLineOrBand(a)),M=c+q,y[c].options={from:h?h.lin2log(M):M,to:h?h.lin2log(u):u,color:K,className:"highcharts-alternate-grid"},y[c].render(),y[c].isActive=!0)}),a._addedPlotLB||(a._addedPlotLB=!0,(b.plotLines||[]).concat(b.plotBands||
-[]).forEach(function(c){a.addPlotBandOrLine(c)}));[k,z,y].forEach(function(a){var c,h=[],b=B.duration;P(a,function(a,c){a.isActive||(a.render(c,!1,0),a.isActive=!1,h.push(c))});L(function(){for(c=h.length;c--;)a[h[c]]&&!a[h[c]].isActive&&(a[h[c]].destroy(),delete a[h[c]])},a!==y&&d.hasRendered&&b?b:0)});t&&(t[t.isPlaced?"animate":"attr"]({d:this.getLinePath(t.strokeWidth())}),t.isPlaced=!0,t[g?"show":"hide"](g));r&&g&&(b=a.getTitlePosition(),c(b.y)?(r[r.isNew?"attr":"animate"](b),r.isNew=!1):(r.attr("y",
--9999),r.isNew=!0));m&&m.enabled&&a.stacking&&a.stacking.renderStackTotals();a.old={len:a.len,max:a.max,min:a.min,transA:a.transA,userMax:a.userMax,userMin:a.userMin};a.isDirty=!1;p(this,"afterRender")};e.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(a){a.render()}));this.series.forEach(function(a){a.isDirty=!0})};e.prototype.getKeepProps=function(){return this.keepProps||e.keepProps};e.prototype.destroy=function(a){var c=this,d=c.plotLinesAndBands,
-h;p(this,"destroy",{keepEvents:a});a||r(c);[c.ticks,c.minorTicks,c.alternateBands].forEach(function(a){m(a)});if(d)for(a=d.length;a--;)d[a].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(a){c[a]&&(c[a]=c[a].destroy())});for(h in c.plotLinesAndBandsGroups)c.plotLinesAndBandsGroups[h]=c.plotLinesAndBandsGroups[h].destroy();P(c,function(a,d){-1===c.getKeepProps().indexOf(d)&&delete c[d]})};e.prototype.drawCrosshair=function(a,c){var d=this.crosshair,
-h=n(d.snap,!0),f,r=this.cross,k=this.chart;p(this,"drawCrosshair",{e:a,point:c});a||(a=this.cross&&this.cross.e);if(this.crosshair&&!1!==(b(c)||!h)){h?b(c)&&(f=n("colorAxis"!==this.coll?c.crosshairPos:null,this.isXAxis?c.plotX:this.len-c.plotY)):f=a&&(this.horiz?a.chartX-this.pos:this.len-a.chartY+this.pos);if(b(f)){var y={value:c&&(this.isXAxis?c.x:n(c.stackY,c.y)),translatedValue:f};k.polar&&q(y,{isCrosshair:!0,chartX:a&&a.chartX,chartY:a&&a.chartY,point:c});y=this.getPlotLinePath(y)||null}if(!b(y)){this.hideCrosshair();
-return}h=this.categories&&!this.isRadial;r||(this.cross=r=k.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(h?"category ":"thin ")+d.className).attr({zIndex:n(d.zIndex,2)}).add(),k.styledMode||(r.attr({stroke:d.color||(h?l.parse(C.highlightColor20).setOpacity(.25).get():C.neutralColor20),"stroke-width":n(d.width,1)}).css({"pointer-events":"none"}),d.dashStyle&&r.attr({dashstyle:d.dashStyle})));r.show().attr({d:y});h&&!d.width&&r.attr({"stroke-width":this.transA});this.cross.e=
-a}else this.hideCrosshair();p(this,"afterDrawCrosshair",{e:a,point:c})};e.prototype.hideCrosshair=function(){this.cross&&this.cross.hide();p(this,"afterHideCrosshair")};e.prototype.hasVerticalPanning=function(){var a,c=null===(a=this.chart.options.chart)||void 0===a?void 0:a.panning;return!!(c&&c.enabled&&/y/.test(c.type))};e.prototype.validatePositiveValue=function(a){return c(a)&&0<a};e.prototype.update=function(a,c){var d=this.chart,h=a&&a.events||{};a=M(this.userOptions,a);d.options[this.coll].indexOf&&
-(d.options[this.coll][d.options[this.coll].indexOf(this.userOptions)]=a);P(d.options[this.coll].events,function(a,c){"undefined"===typeof h[c]&&(h[c]=void 0)});this.destroy(!0);this.init(d,q(a,{events:h}));d.isDirtyBox=!0;n(c,!0)&&d.redraw()};e.prototype.remove=function(a){for(var c=this.chart,h=this.coll,b=this.series,f=b.length;f--;)b[f]&&b[f].remove(!1);t(c.axes,this);t(c[h],this);d(c.options[h])?c.options[h].splice(this.options.index,1):delete c.options[h];c[h].forEach(function(a,c){a.options.index=
-a.userOptions.index=c});this.destroy();c.isDirtyBox=!0;n(a,!0)&&c.redraw()};e.prototype.setTitle=function(a,c){this.update({title:a},c)};e.prototype.setCategories=function(a,c){this.update({categories:a},c)};e.defaultOptions={dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,labels:{enabled:!0,indentation:10,
-x:0,style:{color:C.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",minPadding:.01,showEmpty:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",style:{color:C.neutralColor60}},type:"linear",minorGridLineColor:C.neutralColor5,minorGridLineWidth:1,minorTickColor:C.neutralColor40,lineColor:C.highlightColor20,lineWidth:1,gridLineColor:C.neutralColor10,
-tickColor:C.highlightColor20};e.defaultYAxisOptions={endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var a=this.axis.chart.numberFormatter;return a(this.total,-1)},style:{color:C.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};e.defaultLeftAxisOptions=
-{labels:{x:-15},title:{rotation:270}};e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};e.keepProps="extKey hcEvents names series userMax userMin".split(" ");return e}();F.Axis=e;return F.Axis});O(e,"Core/Axis/DateTimeAxis.js",[e["Core/Axis/Axis.js"],e["Core/Utilities.js"]],function(e,l){var G=l.addEvent,C=l.getMagnitude,
-H=l.normalizeTickInterval,J=l.timeUnits,D=function(){function e(e){this.axis=e}e.prototype.normalizeTimeTickInterval=function(e,x){var g=x||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];x=g[g.length-1];var u=J[x[0]],f=x[1],w;for(w=0;w<g.length&&!(x=g[w],u=J[x[0]],f=x[1],g[w+1]&&e<=(u*f[f.length-1]+J[g[w+1][0]])/2);w++);u===J.year&&e<5*u&&(f=[1,2,5]);
-e=H(e/u,f,"year"===x[0]?Math.max(C(e/u),1):1);return{unitRange:u,count:e,unitName:x[0]}};return e}();l=function(){function e(){}e.compose=function(e){e.keepProps.push("dateTime");e.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)};G(e,"init",function(e){"datetime"!==e.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new D(this))})};e.AdditionsClass=D;return e}();l.compose(e);return l});O(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Axis/Axis.js"],
-e["Core/Utilities.js"]],function(e,l){var G=l.addEvent,C=l.getMagnitude,H=l.normalizeTickInterval,J=l.pick,D=function(){function e(e){this.axis=e}e.prototype.getLogTickPositions=function(e,x,g,u){var f=this.axis,w=f.len,b=f.options,m=[];u||(this.minorAutoInterval=void 0);if(.5<=e)e=Math.round(e),m=f.getLinearTickPositions(e,x,g);else if(.08<=e){b=Math.floor(x);var t,I;for(w=.3<e?[1,2,4]:.15<e?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];b<g+1&&!I;b++){var q=w.length;for(t=0;t<q&&!I;t++){var p=this.log2lin(this.lin2log(b)*
-w[t]);p>x&&(!u||a<=g)&&"undefined"!==typeof a&&m.push(a);a>g&&(I=!0);var a=p}}}else x=this.lin2log(x),g=this.lin2log(g),e=u?f.getMinorTickInterval():b.tickInterval,e=J("auto"===e?null:e,this.minorAutoInterval,b.tickPixelInterval/(u?5:1)*(g-x)/((u?w/f.tickPositions.length:w)||1)),e=H(e,void 0,C(e)),m=f.getLinearTickPositions(e,x,g).map(this.log2lin),u||(this.minorAutoInterval=e/5);u||(f.tickInterval=e);return m};e.prototype.lin2log=function(e){return Math.pow(10,e)};e.prototype.log2lin=function(e){return Math.log(e)/
-Math.LN10};return e}();l=function(){function e(){}e.compose=function(e){e.keepProps.push("logarithmic");G(e,"init",function(e){var g=this.logarithmic;"logarithmic"!==e.userOptions.type?this.logarithmic=void 0:g||(this.logarithmic=new D(this))});G(e,"afterInit",function(){var e=this.logarithmic;e&&(this.lin2val=function(g){return e.lin2log(g)},this.val2lin=function(g){return e.log2lin(g)})})};return e}();l.compose(e);return l});O(e,"Core/Axis/PlotLineOrBand.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],
-e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,l,F,C){var G=C.arrayMax,J=C.arrayMin,D=C.defined,E=C.destroyObjectProperties,A=C.erase,x=C.extend,g=C.fireEvent,u=C.merge,f=C.objectEach,w=C.pick;C=function(){function b(b,f){this.axis=b;f&&(this.options=f,this.id=f.id)}b.prototype.render=function(){g(this,"render");var b=this,t=b.axis,e=t.horiz,q=t.logarithmic,p=b.options,a=p.label,k=b.label,d=p.to,y=p.from,c=p.value,h=D(y)&&D(d),M=D(c),S=b.svgElem,P=!S,n=[],K=p.color,r=w(p.zIndex,0),
-z=p.events;n={"class":"highcharts-plot-"+(h?"band ":"line ")+(p.className||"")};var L={},B=t.chart.renderer,x=h?"bands":"lines";q&&(y=q.log2lin(y),d=q.log2lin(d),c=q.log2lin(c));t.chart.styledMode||(M?(n.stroke=K||F.neutralColor40,n["stroke-width"]=w(p.width,1),p.dashStyle&&(n.dashstyle=p.dashStyle)):h&&(n.fill=K||F.highlightColor10,p.borderWidth&&(n.stroke=p.borderColor,n["stroke-width"]=p.borderWidth)));L.zIndex=r;x+="-"+r;(q=t.plotLinesAndBandsGroups[x])||(t.plotLinesAndBandsGroups[x]=q=B.g("plot-"+
-x).attr(L).add());P&&(b.svgElem=S=B.path().attr(n).add(q));if(M)n=t.getPlotLinePath({value:c,lineWidth:S.strokeWidth(),acrossPanes:p.acrossPanes});else if(h)n=t.getPlotBandPath(y,d,p);else return;!b.eventsAdded&&z&&(f(z,function(a,c){S.on(c,function(a){z[c].apply(b,[a])})}),b.eventsAdded=!0);(P||!S.d)&&n&&n.length?S.attr({d:n}):S&&(n?(S.show(!0),S.animate({d:n})):S.d&&(S.hide(),k&&(b.label=k=k.destroy())));a&&(D(a.text)||D(a.formatter))&&n&&n.length&&0<t.width&&0<t.height&&!n.isFlat?(a=u({align:e&&
-h&&"center",x:e?!h&&4:10,verticalAlign:!e&&h&&"middle",y:e?h?16:10:h?6:-4,rotation:e&&!h&&90},a),this.renderLabel(a,n,h,r)):k&&k.hide();return b};b.prototype.renderLabel=function(b,f,g,q){var m=this.label,a=this.axis.chart.renderer;m||(m={align:b.textAlign||b.align,rotation:b.rotation,"class":"highcharts-plot-"+(g?"band":"line")+"-label "+(b.className||"")},m.zIndex=q,q=this.getLabelText(b),this.label=m=a.text(q,0,0,b.useHTML).attr(m).add(),this.axis.chart.styledMode||m.css(b.style));a=f.xBounds||
-[f[0][1],f[1][1],g?f[2][1]:f[0][1]];f=f.yBounds||[f[0][2],f[1][2],g?f[2][2]:f[0][2]];g=J(a);q=J(f);m.align(b,!1,{x:g,y:q,width:G(a)-g,height:G(f)-q});m.show(!0)};b.prototype.getLabelText=function(b){return D(b.formatter)?b.formatter.call(this):b.text};b.prototype.destroy=function(){A(this.axis.plotLinesAndBands,this);delete this.axis;E(this)};return b}();x(e.prototype,{getPlotBandPath:function(b,f,g){void 0===g&&(g=this.options);var m=this.getPlotLinePath({value:f,force:!0,acrossPanes:g.acrossPanes});
-g=this.getPlotLinePath({value:b,force:!0,acrossPanes:g.acrossPanes});var q=[],p=this.horiz,a=1;b=b<this.min&&f<this.min||b>this.max&&f>this.max;if(g&&m){if(b){var k=g.toString()===m.toString();a=0}for(b=0;b<g.length;b+=2){f=g[b];var d=g[b+1],y=m[b],c=m[b+1];"M"!==f[0]&&"L"!==f[0]||"M"!==d[0]&&"L"!==d[0]||"M"!==y[0]&&"L"!==y[0]||"M"!==c[0]&&"L"!==c[0]||(p&&y[1]===f[1]?(y[1]+=a,c[1]+=a):p||y[2]!==f[2]||(y[2]+=a,c[2]+=a),q.push(["M",f[1],f[2]],["L",d[1],d[2]],["L",c[1],c[2]],["L",y[1],y[2]],["Z"]));
-q.isFlat=k}}return q},addPlotBand:function(b){return this.addPlotBandOrLine(b,"plotBands")},addPlotLine:function(b){return this.addPlotBandOrLine(b,"plotLines")},addPlotBandOrLine:function(b,f){var m=this,g=new l.PlotLineOrBand(this,b),q=this.userOptions;this.visible&&(g=g.render());if(g){this._addedPlotLB||(this._addedPlotLB=!0,(q.plotLines||[]).concat(q.plotBands||[]).forEach(function(a){m.addPlotBandOrLine(a)}));if(f){var p=q[f]||[];p.push(b);q[f]=p}this.plotLinesAndBands.push(g)}return g},removePlotBandOrLine:function(b){for(var f=
-this.plotLinesAndBands,g=this.options,e=this.userOptions,q=f.length;q--;)f[q].id===b&&f[q].destroy();[g.plotLines||[],e.plotLines||[],g.plotBands||[],e.plotBands||[]].forEach(function(f){for(q=f.length;q--;)(f[q]||{}).id===b&&A(f,f[q])})},removePlotBand:function(b){this.removePlotBandOrLine(b)},removePlotLine:function(b){this.removePlotBandOrLine(b)}});l.PlotLineOrBand=C;return l.PlotLineOrBand});O(e,"Core/Tooltip.js",[e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,
-l,F){var G=e.doc,H=F.clamp,J=F.css,D=F.defined,E=F.discardElement,A=F.extend,x=F.fireEvent,g=F.format,u=F.isNumber,f=F.isString,w=F.merge,b=F.pick,m=F.splat,t=F.syncTimeout,I=F.timeUnits;"";var q=function(){function p(a,b){this.container=void 0;this.crosshairs=[];this.distance=0;this.isHidden=!0;this.isSticky=!1;this.now={};this.options={};this.outside=!1;this.chart=a;this.init(a,b)}p.prototype.applyFilter=function(){var a=this.chart;a.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+
-a.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{"in":"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{"in":"SourceGraphic"}}]}]});a.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+a.index+"{filter:url(#drop-shadow-"+a.index+")}"})};p.prototype.bodyFormatter=
-function(a){return a.map(function(a){var d=a.series.tooltipOptions;return(d[(a.point.formatPrefix||"point")+"Formatter"]||a.point.tooltipFormatter).call(a.point,d[(a.point.formatPrefix||"point")+"Format"]||"")})};p.prototype.cleanSplit=function(a){this.chart.series.forEach(function(b){var d=b&&b.tt;d&&(!d.isActive||a?b.tt=d.destroy():d.isActive=!1)})};p.prototype.defaultFormatter=function(a){var b=this.points||m(this);var d=[a.tooltipFooterHeaderFormatter(b[0])];d=d.concat(a.bodyFormatter(b));d.push(a.tooltipFooterHeaderFormatter(b[0],
-!0));return d};p.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),E(this.container));F.clearTimeout(this.hideTimer);F.clearTimeout(this.tooltipTimeout)};p.prototype.getAnchor=function(a,b){var d=this.chart;var f=d.pointer;var c=d.inverted,h=d.plotTop,k=d.plotLeft,g=0,p=0,n,K;a=m(a);this.followPointer&&b?("undefined"===typeof b.chartX&&(b=f.normalize(b)),
-f=[b.chartX-k,b.chartY-h]):a[0].tooltipPos?f=a[0].tooltipPos:(a.forEach(function(a){n=a.series.yAxis;K=a.series.xAxis;g+=a.plotX||0;p+=a.plotLow?(a.plotLow+(a.plotHigh||0))/2:a.plotY||0;K&&n&&(c?(g+=h+d.plotHeight-K.len-K.pos,p+=k+d.plotWidth-n.len-n.pos):(g+=K.pos-k,p+=n.pos-h))}),g/=a.length,p/=a.length,f=[c?d.plotWidth-p:g,c?d.plotHeight-g:p],this.shared&&1<a.length&&b&&(c?f[0]=b.chartX-k:f[1]=b.chartY-h));return f.map(Math.round)};p.prototype.getDateFormat=function(a,b,d,f){var c=this.chart.time,
-h=c.dateFormat("%m-%d %H:%M:%S.%L",b),k={millisecond:15,second:12,minute:9,hour:6,day:3},y="millisecond";for(g in I){if(a===I.week&&+c.dateFormat("%w",b)===d&&"00:00:00.000"===h.substr(6)){var g="week";break}if(I[g]>a){g=y;break}if(k[g]&&h.substr(k[g])!=="01-01 00:00:00.000".substr(k[g]))break;"week"!==g&&(y=g)}if(g)var n=c.resolveDTLFormat(f[g]).main;return n};p.prototype.getLabel=function(){var a,b,d,f=this,c=this.chart.renderer,h=this.chart.styledMode,g=this.options,m="tooltip"+(D(g.className)?
-" "+g.className:""),p=(null===(a=g.style)||void 0===a?void 0:a.pointerEvents)||(!this.followPointer&&g.stickOnContact?"auto":"none"),n;a=function(){f.inContact=!0};var K=function(){var a=f.chart.hoverSeries;f.inContact=!1;if(a&&a.onMouseOut)a.onMouseOut()};if(!this.label){if(this.outside){var r=null===(b=this.chart.options.chart)||void 0===b?void 0:b.style;this.container=n=e.doc.createElement("div");n.className="highcharts-tooltip-container";J(n,{position:"absolute",top:"1px",pointerEvents:p,zIndex:Math.max((null===
-(d=this.options.style)||void 0===d?void 0:d.zIndex)||0,((null===r||void 0===r?void 0:r.zIndex)||0)+3)});e.doc.body.appendChild(n);this.renderer=c=new e.Renderer(n,0,0,r,void 0,void 0,c.styledMode)}this.split?this.label=c.g(m):(this.label=c.label("",0,0,g.shape||"callout",null,null,g.useHTML,null,m).attr({padding:g.padding,r:g.borderRadius}),h||this.label.attr({fill:g.backgroundColor,"stroke-width":g.borderWidth}).css(g.style).css({pointerEvents:p}).shadow(g.shadow));h&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+
-this.chart.index));if(f.outside&&!f.split){var z=this.label,q=z.xSetter,t=z.ySetter;z.xSetter=function(a){q.call(z,f.distance);n.style.left=a+"px"};z.ySetter=function(a){t.call(z,f.distance);n.style.top=a+"px"}}this.label.on("mouseenter",a).on("mouseleave",K).attr({zIndex:8}).add()}return this.label};p.prototype.getPosition=function(a,f,d){var k=this.chart,c=this.distance,h={},g=k.inverted&&d.h||0,m,p=this.outside,n=p?G.documentElement.clientWidth-2*c:k.chartWidth,K=p?Math.max(G.body.scrollHeight,
-G.documentElement.scrollHeight,G.body.offsetHeight,G.documentElement.offsetHeight,G.documentElement.clientHeight):k.chartHeight,r=k.pointer.getChartPosition(),z=function(h){var b="x"===h;return[h,b?n:K,b?a:f].concat(p?[b?a*r.scaleX:f*r.scaleY,b?r.left-c+(d.plotX+k.plotLeft)*r.scaleX:r.top-c+(d.plotY+k.plotTop)*r.scaleY,0,b?n:K]:[b?a:f,b?d.plotX+k.plotLeft:d.plotY+k.plotTop,b?k.plotLeft:k.plotTop,b?k.plotLeft+k.plotWidth:k.plotTop+k.plotHeight])},q=z("y"),t=z("x"),e=!this.followPointer&&b(d.ttBelow,
-!k.inverted===!!d.negative),v=function(a,d,b,f,n,k,z){var y=p?"y"===a?c*r.scaleY:c*r.scaleX:c,m=(b-f)/2,K=f<n-c,q=n+c+f<d,t=n-y-b+m;n=n+y-m;if(e&&q)h[a]=n;else if(!e&&K)h[a]=t;else if(K)h[a]=Math.min(z-f,0>t-g?t:t-g);else if(q)h[a]=Math.max(k,n+g+b>d?n:n+g);else return!1},u=function(a,d,b,f,n){var r;n<c||n>d-c?r=!1:h[a]=n<b/2?1:n>d-f/2?d-f-2:n-b/2;return r},w=function(a){var c=q;q=t;t=c;m=a},I=function(){!1!==v.apply(0,q)?!1!==u.apply(0,t)||m||(w(!0),I()):m?h.x=h.y=0:(w(!0),I())};(k.inverted||1<this.len)&&
-w();I();return h};p.prototype.getXDateFormat=function(a,b,d){b=b.dateTimeLabelFormats;var f=d&&d.closestPointRange;return(f?this.getDateFormat(f,a.x,d.options.startOfWeek,b):b.day)||b.year};p.prototype.hide=function(a){var f=this;F.clearTimeout(this.hideTimer);a=b(a,this.options.hideDelay,500);this.isHidden||(this.hideTimer=t(function(){f.getLabel().fadeOut(a?void 0:a);f.isHidden=!0},a))};p.prototype.init=function(a,f){this.chart=a;this.options=f;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=
-!0;this.split=f.split&&!a.inverted&&!a.polar;this.shared=f.shared||this.split;this.outside=b(f.outside,!(!a.scrollablePixelsX&&!a.scrollablePixelsY))};p.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)};p.prototype.move=function(a,b,d,f){var c=this,h=c.now,k=!1!==c.options.animation&&!c.isHidden&&(1<Math.abs(a-h.x)||1<Math.abs(b-h.y)),y=c.followPointer||1<c.len;A(h,{x:k?(2*h.x+a)/3:a,y:k?(h.y+b)/2:b,anchorX:y?void 0:k?(2*h.anchorX+d)/
-3:d,anchorY:y?void 0:k?(h.anchorY+f)/2:f});c.getLabel().attr(h);c.drawTracker();k&&(F.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){c&&c.move(a,b,d,f)},32))};p.prototype.refresh=function(a,f){var d=this.chart,k=this.options,c=a,h={},g=[],p=k.formatter||this.defaultFormatter;h=this.shared;var q=d.styledMode;if(k.enabled){F.clearTimeout(this.hideTimer);this.followPointer=m(c)[0].series.tooltipOptions.followPointer;var n=this.getAnchor(c,f);f=n[0];var K=n[1];!h||c.series&&
-c.series.noSharedTooltip?h=c.getLabelConfig():(d.pointer.applyInactiveState(c),c.forEach(function(a){a.setState("hover");g.push(a.getLabelConfig())}),h={x:c[0].category,y:c[0].y},h.points=g,c=c[0]);this.len=g.length;d=p.call(h,this);p=c.series;this.distance=b(p.tooltipOptions.distance,16);!1===d?this.hide():(this.split?this.renderSplit(d,m(a)):(a=this.getLabel(),k.style.width&&!q||a.css({width:this.chart.spacingBox.width+"px"}),a.attr({text:d&&d.join?d.join(""):d}),a.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+
-b(c.colorIndex,p.colorIndex)),q||a.attr({stroke:k.borderColor||c.color||p.color||l.neutralColor60}),this.updatePosition({plotX:f,plotY:K,negative:c.negative,ttBelow:c.ttBelow,h:n[2]||0})),this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1);x(this,"refresh")}};p.prototype.renderSplit=function(a,k){function d(a,c,d,h,b){void 0===b&&(b=!0);d?(c=Y?0:D,a=H(a-h/2,x.left,x.right-h)):(c-=T,a=b?a-h-v:a+v,a=H(a,b?a:x.left,x.right));return{x:a,y:c}}var y=this,c=y.chart,h=y.chart,
-g=h.plotHeight,m=h.plotLeft,p=h.plotTop,n=h.pointer,K=h.renderer,r=h.scrollablePixelsY,z=void 0===r?0:r;r=h.scrollingContainer;r=void 0===r?{scrollLeft:0,scrollTop:0}:r;var q=r.scrollLeft,t=r.scrollTop,u=h.styledMode,v=y.distance,w=y.options,I=y.options.positioner,x={left:q,right:q+h.chartWidth,top:t,bottom:t+h.chartHeight},N=y.getLabel(),Y=!(!c.xAxis[0]||!c.xAxis[0].opposite),T=p+t,E=0,D=g-z;f(a)&&(a=[!1,a]);a=a.slice(0,k.length+1).reduce(function(a,c,h){if(!1!==c&&""!==c){h=k[h-1]||{isHeader:!0,
-plotX:k[0].plotX,plotY:g,series:{}};var f=h.isHeader,n=f?y:h.series,r=n.tt,q=h.isHeader;var B=h.series;var M="highcharts-color-"+b(h.colorIndex,B.colorIndex,"none");r||(r={padding:w.padding,r:w.borderRadius},u||(r.fill=w.backgroundColor,r["stroke-width"]=w.borderWidth),r=K.label("",0,0,w[q?"headerShape":"shape"]||"callout",void 0,void 0,w.useHTML).addClass((q?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+M).attr(r).add(N));r.isActive=!0;r.attr({text:c});u||r.css(w.style).shadow(w.shadow).attr({stroke:w.borderColor||
-h.color||B.color||l.neutralColor80});c=n.tt=r;q=c.getBBox();n=q.width+c.strokeWidth();f&&(E=q.height,D+=E,Y&&(T-=E));B=h.plotX;B=void 0===B?0:B;M=h.plotY;M=void 0===M?0:M;var L=h.series;if(h.isHeader){B=m+B;var e=p+g/2}else r=L.xAxis,L=L.yAxis,B=r.pos+H(B,-v,r.len+v),L.pos+M>=t+p&&L.pos+M<=t+p+g-z&&(e=L.pos+M);B=H(B,x.left-v,x.right+v);"number"===typeof e?(q=q.height+1,M=I?I.call(y,n,q,h):d(B,e,f,n),a.push({align:I?0:void 0,anchorX:B,anchorY:e,boxWidth:n,point:h,rank:b(M.rank,f?1:0),size:q,target:M.y,
-tt:c,x:M.x})):c.isActive=!1}return a},[]);!I&&a.some(function(a){return a.x<x.left})&&(a=a.map(function(a){var c=d(a.anchorX,a.anchorY,a.point.isHeader,a.boxWidth,!1);return A(a,{target:c.y,x:c.x})}));y.cleanSplit();e.distribute(a,D);a.forEach(function(a){var c=a.pos;a.tt.attr({visibility:"undefined"===typeof c?"hidden":"inherit",x:a.x,y:c+T,anchorX:a.anchorX,anchorY:a.anchorY})});a=y.container;c=y.renderer;y.outside&&a&&c&&(h=N.getBBox(),c.setSize(h.width+h.x,h.height+h.y,!1),n=n.getChartPosition(),
-a.style.left=n.left+"px",a.style.top=n.top+"px")};p.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var a=this.chart,b=this.label,d=a.hoverPoint;if(b&&d){var f={x:0,y:0,width:0,height:0};d=this.getAnchor(d);var c=b.getBBox();d[0]+=a.plotLeft-b.translateX;d[1]+=a.plotTop-b.translateY;f.x=Math.min(0,d[0]);f.y=Math.min(0,d[1]);f.width=0>d[0]?Math.max(Math.abs(d[0]),c.width-d[0]):Math.max(Math.abs(d[0]),c.width);f.height=0>
-d[1]?Math.max(Math.abs(d[1]),c.height-Math.abs(d[1])):Math.max(Math.abs(d[1]),c.height);this.tracker?this.tracker.attr(f):(this.tracker=b.renderer.rect(f).addClass("highcharts-tracker").add(b),a.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}};p.prototype.styledModeFormat=function(a){return a.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')};p.prototype.tooltipFooterHeaderFormatter=
-function(a,b){var d=b?"footer":"header",f=a.series,c=f.tooltipOptions,h=c.xDateFormat,k=f.xAxis,m=k&&"datetime"===k.options.type&&u(a.key),p=c[d+"Format"];b={isFooter:b,labelConfig:a};x(this,"headerFormatter",b,function(d){m&&!h&&(h=this.getXDateFormat(a,c,k));m&&h&&(a.point&&a.point.tooltipDateKeys||["key"]).forEach(function(a){p=p.replace("{point."+a+"}","{point."+a+":"+h+"}")});f.chart.styledMode&&(p=this.styledModeFormat(p));d.text=g(p,{point:a,series:f},this.chart)});return b.text};p.prototype.update=
-function(a){this.destroy();w(!0,this.chart.options.tooltip.userOptions,a);this.init(this.chart,w(!0,this.options,a))};p.prototype.updatePosition=function(a){var b=this.chart,d=b.pointer,f=this.getLabel(),c=a.plotX+b.plotLeft;b=a.plotY+b.plotTop;d=d.getChartPosition();a=(this.options.positioner||this.getPosition).call(this,f.width,f.height,a);if(this.outside){var h=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(f.width+h,f.height+h,!1);if(1!==d.scaleX||1!==d.scaleY)J(this.container,
-{transform:"scale("+d.scaleX+", "+d.scaleY+")"}),c*=d.scaleX,b*=d.scaleY;c+=d.left-a.x;b+=d.top-a.y}this.move(Math.round(a.x),Math.round(a.y||0),c,b)};return p}();e.Tooltip=q;return e.Tooltip});O(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Tooltip.js"],e["Core/Utilities.js"]],function(e,l,F,C,H){var G=e.parse,D=l.charts,E=l.noop,A=H.addEvent,x=H.attr,g=H.css,u=H.defined,f=H.extend,w=H.find,b=H.fireEvent,m=H.isNumber,t=H.isObject,I=H.objectEach,
-q=H.offset,p=H.pick,a=H.splat;"";e=function(){function k(a,b){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.chart=a;this.hasDragged=!1;this.options=b;this.unbindContainerMouseLeave=function(){};this.unbindContainerMouseEnter=function(){};this.init(a,b)}k.prototype.applyInactiveState=function(a){var d=[],c;(a||[]).forEach(function(a){c=a.series;d.push(c);c.linkedParent&&d.push(c.linkedParent);c.linkedSeries&&(d=d.concat(c.linkedSeries));c.navigatorSeries&&d.push(c.navigatorSeries)});
-this.chart.series.forEach(function(a){-1===d.indexOf(a)?a.setState("inactive",!0):a.options.inactiveOtherPoints&&a.setAllPointsToState("inactive")})};k.prototype.destroy=function(){var a=this;"undefined"!==typeof a.unDocMouseMove&&a.unDocMouseMove();this.unbindContainerMouseLeave();l.chartCount||(l.unbindDocumentMouseUp&&(l.unbindDocumentMouseUp=l.unbindDocumentMouseUp()),l.unbindDocumentTouchEnd&&(l.unbindDocumentTouchEnd=l.unbindDocumentTouchEnd()));clearInterval(a.tooltipTimeout);I(a,function(d,
-c){a[c]=void 0})};k.prototype.drag=function(a){var d=this.chart,c=d.options.chart,h=a.chartX,b=a.chartY,f=this.zoomHor,k=this.zoomVert,n=d.plotLeft,g=d.plotTop,r=d.plotWidth,z=d.plotHeight,p=this.selectionMarker,m=this.mouseDownX||0,q=this.mouseDownY||0,v=t(c.panning)?c.panning&&c.panning.enabled:c.panning,e=c.panKey&&a[c.panKey+"Key"];if(!p||!p.touch)if(h<n?h=n:h>n+r&&(h=n+r),b<g?b=g:b>g+z&&(b=g+z),this.hasDragged=Math.sqrt(Math.pow(m-h,2)+Math.pow(q-b,2)),10<this.hasDragged){var u=d.isInsidePlot(m-
-n,q-g);d.hasCartesianSeries&&(this.zoomX||this.zoomY)&&u&&!e&&!p&&(this.selectionMarker=p=d.renderer.rect(n,g,f?1:r,k?1:z,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),d.styledMode||p.attr({fill:c.selectionMarkerFill||G(F.highlightColor80).setOpacity(.25).get()}));p&&f&&(h-=m,p.attr({width:Math.abs(h),x:(0<h?0:h)+m}));p&&k&&(h=b-q,p.attr({height:Math.abs(h),y:(0<h?0:h)+q}));u&&!p&&v&&d.pan(a,c.panning)}};k.prototype.dragStart=function(a){var d=this.chart;d.mouseIsDown=a.type;d.cancelClick=
-!1;d.mouseDownX=this.mouseDownX=a.chartX;d.mouseDownY=this.mouseDownY=a.chartY};k.prototype.drop=function(a){var d=this,c=this.chart,h=this.hasPinched;if(this.selectionMarker){var k={originalEvent:a,xAxis:[],yAxis:[]},p=this.selectionMarker,q=p.attr?p.attr("x"):p.x,n=p.attr?p.attr("y"):p.y,K=p.attr?p.attr("width"):p.width,r=p.attr?p.attr("height"):p.height,z;if(this.hasDragged||h)c.axes.forEach(function(c){if(c.zoomEnabled&&u(c.min)&&(h||d[{xAxis:"zoomX",yAxis:"zoomY"}[c.coll]])&&m(q)&&m(n)){var b=
-c.horiz,f="touchend"===a.type?c.minPixelPadding:0,g=c.toValue((b?q:n)+f);b=c.toValue((b?q+K:n+r)-f);k[c.coll].push({axis:c,min:Math.min(g,b),max:Math.max(g,b)});z=!0}}),z&&b(c,"selection",k,function(a){c.zoom(f(a,h?{animation:!1}:null))});m(c.index)&&(this.selectionMarker=this.selectionMarker.destroy());h&&this.scaleGroups()}c&&m(c.index)&&(g(c.container,{cursor:c._cursor}),c.cancelClick=10<this.hasDragged,c.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])};k.prototype.findNearestKDPoint=
-function(a,b,c){var d=this.chart,f=d.hoverPoint;d=d.tooltip;if(f&&d&&d.isStickyOnContact())return f;var k;a.forEach(function(a){var d=!(a.noSharedTooltip&&b)&&0>a.options.findNearestPointBy.indexOf("y");a=a.searchPoint(c,d);if((d=t(a,!0)&&a.series)&&!(d=!t(k,!0))){d=k.distX-a.distX;var h=k.dist-a.dist,f=(a.series.group&&a.series.group.zIndex)-(k.series.group&&k.series.group.zIndex);d=0<(0!==d&&b?d:0!==h?h:0!==f?f:k.series.index>a.series.index?-1:1)}d&&(k=a)});return k};k.prototype.getChartCoordinatesFromPoint=
-function(a,b){var c=a.series,d=c.xAxis;c=c.yAxis;var f=p(a.clientX,a.plotX),k=a.shapeArgs;if(d&&c)return b?{chartX:d.len+d.pos-f,chartY:c.len+c.pos-a.plotY}:{chartX:f+d.pos,chartY:a.plotY+c.pos};if(k&&k.x&&k.y)return{chartX:k.x,chartY:k.y}};k.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var a=this.chart.container,b=q(a);this.chartPosition={left:b.left,top:b.top,scaleX:1,scaleY:1};var c=a.offsetWidth;a=a.offsetHeight;2<c&&2<a&&(this.chartPosition.scaleX=b.width/
-c,this.chartPosition.scaleY=b.height/a);return this.chartPosition};k.prototype.getCoordinates=function(a){var d={xAxis:[],yAxis:[]};this.chart.axes.forEach(function(c){d[c.isXAxis?"xAxis":"yAxis"].push({axis:c,value:c.toValue(a[c.horiz?"chartX":"chartY"])})});return d};k.prototype.getHoverData=function(a,f,c,h,k,g){var d,n=[];h=!(!h||!a);var m=f&&!f.stickyTracking,r={chartX:g?g.chartX:void 0,chartY:g?g.chartY:void 0,shared:k};b(this,"beforeGetHoverData",r);m=m?[f]:c.filter(function(a){return r.filter?
-r.filter(a):a.visible&&!(!k&&a.directTouch)&&p(a.options.enableMouseTracking,!0)&&a.stickyTracking});f=(d=h||!g?a:this.findNearestKDPoint(m,k,g))&&d.series;d&&(k&&!f.noSharedTooltip?(m=c.filter(function(a){return r.filter?r.filter(a):a.visible&&!(!k&&a.directTouch)&&p(a.options.enableMouseTracking,!0)&&!a.noSharedTooltip}),m.forEach(function(a){var c=w(a.points,function(a){return a.x===d.x&&!a.isNull});t(c)&&(a.chart.isBoosting&&(c=a.getPoint(c)),n.push(c))})):n.push(d));r={hoverPoint:d};b(this,"afterGetHoverData",
-r);return{hoverPoint:r.hoverPoint,hoverSeries:f,hoverPoints:n}};k.prototype.getPointFromEvent=function(a){a=a.target;for(var d;a&&!d;)d=a.point,a=a.parentNode;return d};k.prototype.onTrackerMouseOut=function(a){a=a.relatedTarget||a.toElement;var d=this.chart.hoverSeries;this.isDirectTouch=!1;if(!(!d||!a||d.stickyTracking||this.inClass(a,"highcharts-tooltip")||this.inClass(a,"highcharts-series-"+d.index)&&this.inClass(a,"highcharts-tracker")))d.onMouseOut()};k.prototype.inClass=function(a,b){for(var c;a;){if(c=
-x(a,"class")){if(-1!==c.indexOf(b))return!0;if(-1!==c.indexOf("highcharts-container"))return!1}a=a.parentNode}};k.prototype.init=function(a,b){this.options=b;this.chart=a;this.runChartClick=b.chart.events&&!!b.chart.events.click;this.pinchDown=[];this.lastValidTouch={};C&&(a.tooltip=new C(a,b.tooltip),this.followTouchMove=p(b.tooltip.followTouchMove,!0));this.setDOMEvents()};k.prototype.normalize=function(a,b){var c=a.touches,d=c?c.length?c.item(0):p(c.changedTouches,a.changedTouches)[0]:a;b||(b=
-this.getChartPosition());c=d.pageX-b.left;d=d.pageY-b.top;c/=b.scaleX;d/=b.scaleY;return f(a,{chartX:Math.round(c),chartY:Math.round(d)})};k.prototype.onContainerClick=function(a){var d=this.chart,c=d.hoverPoint;a=this.normalize(a);var h=d.plotLeft,k=d.plotTop;d.cancelClick||(c&&this.inClass(a.target,"highcharts-tracker")?(b(c.series,"click",f(a,{point:c})),d.hoverPoint&&c.firePointEvent("click",a)):(f(a,this.getCoordinates(a)),d.isInsidePlot(a.chartX-h,a.chartY-k)&&b(d,"click",a)))};k.prototype.onContainerMouseDown=
-function(a){var d=1===((a.buttons||a.button)&1);a=this.normalize(a);if(l.isFirefox&&0!==a.button)this.onContainerMouseMove(a);if("undefined"===typeof a.button||d)this.zoomOption(a),d&&a.preventDefault&&a.preventDefault(),this.dragStart(a)};k.prototype.onContainerMouseLeave=function(a){var d=D[p(l.hoverChartIndex,-1)],c=this.chart.tooltip;a=this.normalize(a);d&&(a.relatedTarget||a.toElement)&&(d.pointer.reset(),d.pointer.chartPosition=void 0);c&&!c.isHidden&&this.reset()};k.prototype.onContainerMouseEnter=
-function(a){delete this.chartPosition};k.prototype.onContainerMouseMove=function(a){var d=this.chart;a=this.normalize(a);this.setHoverChartIndex();a.preventDefault||(a.returnValue=!1);("mousedown"===d.mouseIsDown||this.touchSelect(a))&&this.drag(a);d.openMenu||!this.inClass(a.target,"highcharts-tracker")&&!d.isInsidePlot(a.chartX-d.plotLeft,a.chartY-d.plotTop)||this.runPointActions(a)};k.prototype.onDocumentTouchEnd=function(a){D[l.hoverChartIndex]&&D[l.hoverChartIndex].pointer.drop(a)};k.prototype.onContainerTouchMove=
-function(a){if(this.touchSelect(a))this.onContainerMouseMove(a);else this.touch(a)};k.prototype.onContainerTouchStart=function(a){if(this.touchSelect(a))this.onContainerMouseDown(a);else this.zoomOption(a),this.touch(a,!0)};k.prototype.onDocumentMouseMove=function(a){var d=this.chart,c=this.chartPosition;a=this.normalize(a,c);var h=d.tooltip;!c||h&&h.isStickyOnContact()||d.isInsidePlot(a.chartX-d.plotLeft,a.chartY-d.plotTop)||this.inClass(a.target,"highcharts-tracker")||this.reset()};k.prototype.onDocumentMouseUp=
-function(a){var d=D[p(l.hoverChartIndex,-1)];d&&d.pointer.drop(a)};k.prototype.pinch=function(a){var d=this,c=d.chart,h=d.pinchDown,b=a.touches||[],k=b.length,g=d.lastValidTouch,n=d.hasZoom,m=d.selectionMarker,r={},z=1===k&&(d.inClass(a.target,"highcharts-tracker")&&c.runTrackerClick||d.runChartClick),q={};1<k&&(d.initiated=!0);n&&d.initiated&&!z&&!1!==a.cancelable&&a.preventDefault();[].map.call(b,function(a){return d.normalize(a)});"touchstart"===a.type?([].forEach.call(b,function(a,c){h[c]={chartX:a.chartX,
-chartY:a.chartY}}),g.x=[h[0].chartX,h[1]&&h[1].chartX],g.y=[h[0].chartY,h[1]&&h[1].chartY],c.axes.forEach(function(a){if(a.zoomEnabled){var d=c.bounds[a.horiz?"h":"v"],h=a.minPixelPadding,b=a.toPixels(Math.min(p(a.options.min,a.dataMin),a.dataMin)),f=a.toPixels(Math.max(p(a.options.max,a.dataMax),a.dataMax)),n=Math.max(b,f);d.min=Math.min(a.pos,Math.min(b,f)-h);d.max=Math.max(a.pos+a.len,n+h)}}),d.res=!0):d.followTouchMove&&1===k?this.runPointActions(d.normalize(a)):h.length&&(m||(d.selectionMarker=
-m=f({destroy:E,touch:!0},c.plotBox)),d.pinchTranslate(h,b,r,m,q,g),d.hasPinched=n,d.scaleGroups(r,q),d.res&&(d.res=!1,this.reset(!1,0)))};k.prototype.pinchTranslate=function(a,b,c,h,f,k){this.zoomHor&&this.pinchTranslateDirection(!0,a,b,c,h,f,k);this.zoomVert&&this.pinchTranslateDirection(!1,a,b,c,h,f,k)};k.prototype.pinchTranslateDirection=function(a,b,c,h,f,k,g,n){var d=this.chart,r=a?"x":"y",z=a?"X":"Y",p="chart"+z,m=a?"width":"height",q=d["plot"+(a?"Left":"Top")],t,y,e=n||1,M=d.inverted,N=d.bounds[a?
-"h":"v"],u=1===b.length,w=b[0][p],I=c[0][p],x=!u&&b[1][p],P=!u&&c[1][p];c=function(){"number"===typeof P&&20<Math.abs(w-x)&&(e=n||Math.abs(I-P)/Math.abs(w-x));y=(q-I)/e+w;t=d["plot"+(a?"Width":"Height")]/e};c();b=y;if(b<N.min){b=N.min;var l=!0}else b+t>N.max&&(b=N.max-t,l=!0);l?(I-=.8*(I-g[r][0]),"number"===typeof P&&(P-=.8*(P-g[r][1])),c()):g[r]=[I,P];M||(k[r]=y-q,k[m]=t);k=M?1/e:e;f[m]=t;f[r]=b;h[M?a?"scaleY":"scaleX":"scale"+z]=e;h["translate"+z]=k*q+(I-k*w)};k.prototype.reset=function(d,b){var c=
-this.chart,h=c.hoverSeries,f=c.hoverPoint,k=c.hoverPoints,g=c.tooltip,n=g&&g.shared?k:f;d&&n&&a(n).forEach(function(a){a.series.isCartesian&&"undefined"===typeof a.plotX&&(d=!1)});if(d)g&&n&&a(n).length&&(g.refresh(n),g.shared&&k?k.forEach(function(a){a.setState(a.state,!0);a.series.isCartesian&&(a.series.xAxis.crosshair&&a.series.xAxis.drawCrosshair(null,a),a.series.yAxis.crosshair&&a.series.yAxis.drawCrosshair(null,a))}):f&&(f.setState(f.state,!0),c.axes.forEach(function(a){a.crosshair&&f.series[a.coll]===
-a&&a.drawCrosshair(null,f)})));else{if(f)f.onMouseOut();k&&k.forEach(function(a){a.setState()});if(h)h.onMouseOut();g&&g.hide(b);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());c.axes.forEach(function(a){a.hideCrosshair()});this.hoverX=c.hoverPoints=c.hoverPoint=null}};k.prototype.runPointActions=function(a,b){var c=this.chart,d=c.tooltip&&c.tooltip.options.enabled?c.tooltip:void 0,f=d?d.shared:!1,k=b||c.hoverPoint,g=k&&k.series||c.hoverSeries;g=this.getHoverData(k,g,c.series,(!a||
-"touchmove"!==a.type)&&(!!b||g&&g.directTouch&&this.isDirectTouch),f,a);k=g.hoverPoint;var n=g.hoverPoints;b=(g=g.hoverSeries)&&g.tooltipOptions.followPointer;f=f&&g&&!g.noSharedTooltip;if(k&&(k!==c.hoverPoint||d&&d.isHidden)){(c.hoverPoints||[]).forEach(function(a){-1===n.indexOf(a)&&a.setState()});if(c.hoverSeries!==g)g.onMouseOver();this.applyInactiveState(n);(n||[]).forEach(function(a){a.setState("hover")});c.hoverPoint&&c.hoverPoint.firePointEvent("mouseOut");if(!k.series)return;c.hoverPoints=
-n;c.hoverPoint=k;k.firePointEvent("mouseOver");d&&d.refresh(f?n:k,a)}else b&&d&&!d.isHidden&&(k=d.getAnchor([{}],a),d.updatePosition({plotX:k[0],plotY:k[1]}));this.unDocMouseMove||(this.unDocMouseMove=A(c.container.ownerDocument,"mousemove",function(a){var c=D[l.hoverChartIndex];if(c)c.pointer.onDocumentMouseMove(a)}));c.axes.forEach(function(d){var h=p((d.crosshair||{}).snap,!0),b;h&&((b=c.hoverPoint)&&b.series[d.coll]===d||(b=w(n,function(a){return a.series[d.coll]===d})));b||!h?d.drawCrosshair(a,
-b):d.hideCrosshair()})};k.prototype.scaleGroups=function(a,b){var c=this.chart,d;c.series.forEach(function(h){d=a||h.getPlotBox();h.xAxis&&h.xAxis.zoomEnabled&&h.group&&(h.group.attr(d),h.markerGroup&&(h.markerGroup.attr(d),h.markerGroup.clip(b?c.clipRect:null)),h.dataLabelsGroup&&h.dataLabelsGroup.attr(d))});c.clipRect.attr(b||c.clipBox)};k.prototype.setDOMEvents=function(){var a=this,b=this.chart.container,c=b.ownerDocument;b.onmousedown=this.onContainerMouseDown.bind(this);b.onmousemove=this.onContainerMouseMove.bind(this);
-b.onclick=this.onContainerClick.bind(this);this.unbindContainerMouseEnter=A(b,"mouseenter",this.onContainerMouseEnter.bind(this));this.unbindContainerMouseLeave=A(b,"mouseleave",this.onContainerMouseLeave.bind(this));l.unbindDocumentMouseUp||(l.unbindDocumentMouseUp=A(c,"mouseup",this.onDocumentMouseUp.bind(this)));for(var h=this.chart.renderTo.parentElement;h&&"BODY"!==h.tagName;)A(h,"scroll",function(){delete a.chartPosition}),h=h.parentElement;l.hasTouch&&(A(b,"touchstart",this.onContainerTouchStart.bind(this),
-{passive:!1}),A(b,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1}),l.unbindDocumentTouchEnd||(l.unbindDocumentTouchEnd=A(c,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};k.prototype.setHoverChartIndex=function(){var a=this.chart,b=l.charts[p(l.hoverChartIndex,-1)];if(b&&b!==a)b.pointer.onContainerMouseLeave({relatedTarget:!0});b&&b.mouseIsDown||(l.hoverChartIndex=a.index)};k.prototype.touch=function(a,b){var c=this.chart,d;this.setHoverChartIndex();if(1===a.touches.length)if(a=
-this.normalize(a),(d=c.isInsidePlot(a.chartX-c.plotLeft,a.chartY-c.plotTop))&&!c.openMenu){b&&this.runPointActions(a);if("touchmove"===a.type){b=this.pinchDown;var f=b[0]?4<=Math.sqrt(Math.pow(b[0].chartX-a.chartX,2)+Math.pow(b[0].chartY-a.chartY,2)):!1}p(f,!0)&&this.pinch(a)}else b&&this.reset();else 2===a.touches.length&&this.pinch(a)};k.prototype.touchSelect=function(a){return!(!this.chart.options.chart.zoomBySingleTouch||!a.touches||1!==a.touches.length)};k.prototype.zoomOption=function(a){var d=
-this.chart,c=d.options.chart,b=c.zoomType||"";d=d.inverted;/touch/.test(a.type)&&(b=p(c.pinchType,b));this.zoomX=a=/x/.test(b);this.zoomY=b=/y/.test(b);this.zoomHor=a&&!d||b&&d;this.zoomVert=b&&!d||a&&d;this.hasZoom=a||b};return k}();return l.Pointer=e});O(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(e,l,F){function G(){var b=[];b.item=function(b){return this[b]};u(w,function(f){b.push({pageX:f.pageX,pageY:f.pageY,target:f.target})});return b}function H(b,
-f,g,q){"touch"!==b.pointerType&&b.pointerType!==b.MSPOINTER_TYPE_TOUCH||!D[e.hoverChartIndex]||(q(b),q=D[e.hoverChartIndex].pointer,q[f]({type:g,target:b.currentTarget,preventDefault:A,touches:G()}))}var J=this&&this.__extends||function(){var b=function(f,g){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var a in f)f.hasOwnProperty(a)&&(b[a]=f[a])};return b(f,g)};return function(f,g){function q(){this.constructor=f}b(f,g);f.prototype=null===
-g?Object.create(g):(q.prototype=g.prototype,new q)}}(),D=e.charts,E=e.doc,A=e.noop,x=F.addEvent,g=F.css,u=F.objectEach,f=F.removeEvent,w={},b=!!e.win.PointerEvent;return function(m){function t(){return null!==m&&m.apply(this,arguments)||this}J(t,m);t.prototype.batchMSEvents=function(f){f(this.chart.container,b?"pointerdown":"MSPointerDown",this.onContainerPointerDown);f(this.chart.container,b?"pointermove":"MSPointerMove",this.onContainerPointerMove);f(E,b?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};
-t.prototype.destroy=function(){this.batchMSEvents(f);m.prototype.destroy.call(this)};t.prototype.init=function(b,f){m.prototype.init.call(this,b,f);this.hasZoom&&g(b.container,{"-ms-touch-action":"none","touch-action":"none"})};t.prototype.onContainerPointerDown=function(b){H(b,"onContainerTouchStart","touchstart",function(b){w[b.pointerId]={pageX:b.pageX,pageY:b.pageY,target:b.currentTarget}})};t.prototype.onContainerPointerMove=function(b){H(b,"onContainerTouchMove","touchmove",function(b){w[b.pointerId]=
-{pageX:b.pageX,pageY:b.pageY};w[b.pointerId].target||(w[b.pointerId].target=b.currentTarget)})};t.prototype.onDocumentPointerUp=function(b){H(b,"onDocumentTouchEnd","touchend",function(b){delete w[b.pointerId]})};t.prototype.setDOMEvents=function(){m.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(x)};return t}(l)});O(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Options.js"],
-e["Core/Utilities.js"]],function(e,l,F,C,H){var G=l.animObject,D=C.defaultOptions,E=H.addEvent,A=H.defined,x=H.erase,g=H.extend,u=H.fireEvent,f=H.format,w=H.getNestedProperty,b=H.isArray,m=H.isFunction,t=H.isNumber,I=H.isObject,q=H.merge,p=H.objectEach,a=H.pick,k=H.syncTimeout,d=H.removeEvent,y=H.uniqueKey;"";l=function(){function c(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=
-this.series=void 0;this.visible=!0;this.x=void 0}c.prototype.animateBeforeDestroy=function(){var a=this,c={x:a.startXPos,opacity:0},d,b=a.getGraphicalProps();b.singular.forEach(function(b){d="dataLabel"===b;a[b]=a[b].animate(d?{x:a[b].startXPos,y:a[b].startYPos,opacity:0}:c)});b.plural.forEach(function(c){a[c].forEach(function(c){c.element&&c.animate(g({x:a.startXPos},c.startYPos?{x:c.startXPos,y:c.startYPos}:{}))})})};c.prototype.applyOptions=function(d,b){var h=this.series,f=h.options.pointValKey||
-h.pointValKey;d=c.prototype.optionsToObject.call(this,d);g(this,d);this.options=this.options?g(this.options,d):d;d.group&&delete this.group;d.dataLabels&&delete this.dataLabels;f&&(this.y=c.prototype.getNestedProperty.call(this,f));this.formatPrefix=(this.isNull=a(this.isValid&&!this.isValid(),null===this.x||!t(this.y)))?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof b&&h.xAxis&&h.xAxis.hasNames&&(this.x=h.xAxis.nameToX(this));"undefined"===typeof this.x&&
-h&&(this.x="undefined"===typeof b?h.autoIncrement(this):b);return this};c.prototype.destroy=function(){function a(){if(c.graphic||c.dataLabel||c.dataLabels)d(c),c.destroyElements();for(r in c)c[r]=null}var c=this,b=c.series,f=b.chart;b=b.options.dataSorting;var n=f.hoverPoints,g=G(c.series.chart.renderer.globalAnimation),r;c.legendItem&&f.legend.destroyItem(c);n&&(c.setState(),x(n,c),n.length||(f.hoverPoints=null));if(c===f.hoverPoint)c.onMouseOut();b&&b.enabled?(this.animateBeforeDestroy(),k(a,g.duration)):
-a();f.pointCount--};c.prototype.destroyElements=function(a){var c=this;a=c.getGraphicalProps(a);a.singular.forEach(function(a){c[a]=c[a].destroy()});a.plural.forEach(function(a){c[a].forEach(function(a){a.element&&a.destroy()});delete c[a]})};c.prototype.firePointEvent=function(a,c,d){var b=this,h=this.series.options;(h.point.events[a]||b.options&&b.options.events&&b.options.events[a])&&b.importEvents();"click"===a&&h.allowPointSelect&&(d=function(a){b.select&&b.select(null,a.ctrlKey||a.metaKey||
-a.shiftKey)});u(b,a,c,d)};c.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};c.prototype.getGraphicalProps=function(a){var c=this,d=
-[],b,h={singular:[],plural:[]};a=a||{graphic:1,dataLabel:1};a.graphic&&d.push("graphic","upperGraphic","shadowGroup");a.dataLabel&&d.push("dataLabel","dataLabelUpper","connector");for(b=d.length;b--;){var f=d[b];c[f]&&h.singular.push(f)}["dataLabel","connector"].forEach(function(d){var b=d+"s";a[d]&&c[b]&&h.plural.push(b)});return h};c.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,
-percentage:this.percentage,total:this.total||this.stackTotal}};c.prototype.getNestedProperty=function(a){if(a)return 0===a.indexOf("custom.")?w(a,this.options):this[a]};c.prototype.getZone=function(){var a=this.series,c=a.zones;a=a.zoneAxis||"y";var d=0,b;for(b=c[d];this[a]>=b.value;)b=c[++d];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=b&&b.color&&!this.options.color?b.color:this.nonZonedColor;return b};c.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||
-this.graphic.element.nodeName))!==this.shapeType};c.prototype.init=function(a,c,d){this.series=a;this.applyOptions(c,d);this.id=A(this.id)?this.id:y();this.resolveColor();a.chart.pointCount++;u(this,"afterInit");return this};c.prototype.optionsToObject=function(a){var d={},h=this.series,f=h.options.keys,n=f||h.pointArrayMap||["y"],k=n.length,r=0,g=0;if(t(a)||null===a)d[n[0]]=a;else if(b(a))for(!f&&a.length>k&&(h=typeof a[0],"string"===h?d.name=a[0]:"number"===h&&(d.x=a[0]),r++);g<k;)f&&"undefined"===
-typeof a[r]||(0<n[g].indexOf(".")?c.prototype.setNestedProperty(d,a[r],n[g]):d[n[g]]=a[r]),r++,g++;else"object"===typeof a&&(d=a,a.dataLabels&&(h._hasPointLabels=!0),a.marker&&(h._hasPointMarkers=!0));return d};c.prototype.resolveColor=function(){var c=this.series;var d=c.chart.options.chart.colorCount;var b=c.chart.styledMode;delete this.nonZonedColor;b||this.options.color||(this.color=c.color);c.options.colorByPoint?(b||(d=c.options.colors||c.chart.options.colors,this.color=this.color||d[c.colorCounter],
-d=d.length),b=c.colorCounter,c.colorCounter++,c.colorCounter===d&&(c.colorCounter=0)):b=c.colorIndex;this.colorIndex=a(this.options.colorIndex,b)};c.prototype.setNestedProperty=function(a,c,d){d.split(".").reduce(function(a,d,b,h){a[d]=h.length-1===b?c:I(a[d],!0)?a[d]:{};return a[d]},a);return a};c.prototype.tooltipFormatter=function(c){var d=this.series,b=d.tooltipOptions,h=a(b.valueDecimals,""),n=b.valuePrefix||"",k=b.valueSuffix||"";d.chart.styledMode&&(c=d.chart.tooltip.styledModeFormat(c));(d.pointArrayMap||
-["y"]).forEach(function(a){a="{point."+a;if(n||k)c=c.replace(RegExp(a+"}","g"),n+a+"}"+k);c=c.replace(RegExp(a+"}","g"),a+":,."+h+"f}")});return f(c,{point:this,series:this.series},d.chart)};c.prototype.update=function(c,d,b,f){function h(){k.applyOptions(c);var h=g&&k.hasDummyGraphic;h=null===k.y?!h:h;g&&h&&(k.graphic=g.destroy(),delete k.hasDummyGraphic);I(c,!0)&&(g&&g.element&&c&&c.marker&&"undefined"!==typeof c.marker.symbol&&(k.graphic=g.destroy()),c&&c.dataLabels&&k.dataLabel&&(k.dataLabel=
-k.dataLabel.destroy()),k.connector&&(k.connector=k.connector.destroy()));p=k.index;r.updateParallelArrays(k,p);q.data[p]=I(q.data[p],!0)||I(c,!0)?k.options:a(c,q.data[p]);r.isDirty=r.isDirtyData=!0;!r.fixedBox&&r.hasCartesianSeries&&(m.isDirtyBox=!0);"point"===q.legendType&&(m.isDirtyLegend=!0);d&&m.redraw(b)}var k=this,r=k.series,g=k.graphic,p,m=r.chart,q=r.options;d=a(d,!0);!1===f?h():k.firePointEvent("update",{options:c},h)};c.prototype.remove=function(a,c){this.series.removePoint(this.series.data.indexOf(this),
-a,c)};c.prototype.select=function(c,d){var b=this,h=b.series,f=h.chart;this.selectedStaging=c=a(c,!b.selected);b.firePointEvent(c?"select":"unselect",{accumulate:d},function(){b.selected=b.options.selected=c;h.options.data[h.data.indexOf(b)]=b.options;b.setState(c&&"select");d||f.getSelectedPoints().forEach(function(a){var c=a.series;a.selected&&a!==b&&(a.selected=a.options.selected=!1,c.options.data[c.data.indexOf(a)]=a.options,a.setState(f.hoverPoints&&c.options.inactiveOtherPoints?"inactive":""),
-a.firePointEvent("unselect"))})});delete this.selectedStaging};c.prototype.onMouseOver=function(a){var c=this.series.chart,d=c.pointer;a=a?d.normalize(a):d.getChartCoordinatesFromPoint(this,c.inverted);d.runPointActions(a,this)};c.prototype.onMouseOut=function(){var a=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(a.hoverPoints||[]).forEach(function(a){a.setState()});a.hoverPoints=a.hoverPoint=null};c.prototype.importEvents=function(){if(!this.hasImportedEvents){var a=
-this,c=q(a.series.options.point,a.options).events;a.events=c;p(c,function(c,d){m(c)&&E(a,d,c)});this.hasImportedEvents=!0}};c.prototype.setState=function(c,d){var b=this.series,f=this.state,h=b.options.states[c||"normal"]||{},k=D.plotOptions[b.type].marker&&b.options.marker,r=k&&!1===k.enabled,z=k&&k.states&&k.states[c||"normal"]||{},p=!1===z.enabled,m=b.stateMarkerGraphic,q=this.marker||{},t=b.chart,y=b.halo,w,x=k&&b.markerAttribs;c=c||"";if(!(c===this.state&&!d||this.selected&&"select"!==c||!1===
-h.enabled||c&&(p||r&&!1===z.enabled)||c&&q.states&&q.states[c]&&!1===q.states[c].enabled)){this.state=c;x&&(w=b.markerAttribs(this,c));if(this.graphic){f&&this.graphic.removeClass("highcharts-point-"+f);c&&this.graphic.addClass("highcharts-point-"+c);if(!t.styledMode){var N=b.pointAttribs(this,c);var I=a(t.options.chart.animation,h.animation);b.options.inactiveOtherPoints&&N.opacity&&((this.dataLabels||[]).forEach(function(a){a&&a.animate({opacity:N.opacity},I)}),this.connector&&this.connector.animate({opacity:N.opacity},
-I));this.graphic.animate(N,I)}w&&this.graphic.animate(w,a(t.options.chart.animation,z.animation,k.animation));m&&m.hide()}else{if(c&&z){f=q.symbol||b.symbol;m&&m.currentSymbol!==f&&(m=m.destroy());if(w)if(m)m[d?"animate":"attr"]({x:w.x,y:w.y});else f&&(b.stateMarkerGraphic=m=t.renderer.symbol(f,w.x,w.y,w.width,w.height).add(b.markerGroup),m.currentSymbol=f);!t.styledMode&&m&&m.attr(b.pointAttribs(this,c))}m&&(m[c&&this.isInside?"show":"hide"](),m.element.point=this)}c=h.halo;h=(m=this.graphic||m)&&
-m.visibility||"inherit";c&&c.size&&m&&"hidden"!==h&&!this.isCluster?(y||(b.halo=y=t.renderer.path().add(m.parentGroup)),y.show()[d?"animate":"attr"]({d:this.haloPath(c.size)}),y.attr({"class":"highcharts-halo highcharts-color-"+a(this.colorIndex,b.colorIndex)+(this.className?" "+this.className:""),visibility:h,zIndex:-1}),y.point=this,t.styledMode||y.attr(g({fill:this.color||b.color,"fill-opacity":c.opacity},e.filterUserAttributes(c.attributes||{})))):y&&y.point&&y.point.haloPath&&y.animate({d:y.point.haloPath(0)},
-null,y.hide);u(this,"afterSetState")}};c.prototype.haloPath=function(a){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-a,this.plotY-a,2*a,2*a)};return c}();return F.Point=l});O(e,"Core/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,l,F,C){var H=e.animObject,G=e.setAnimation;e=l.isFirefox;var D=l.marginNames,E=l.win,A=C.addEvent,x=C.createElement,g=C.css,u=C.defined,f=C.discardElement,
-w=C.find,b=C.fireEvent,m=C.format,t=C.isNumber,I=C.merge,q=C.pick,p=C.relativeLength,a=C.stableSort,k=C.syncTimeout;C=C.wrap;var d=function(){function d(a,d){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options={};this.padding=0;this.pages=
-[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=a;this.init(a,d)}d.prototype.init=function(a,d){this.chart=a;this.setOptions(d);d.enabled&&(this.render(),A(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=A(this.chart,"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};d.prototype.setOptions=
-function(a){var c=q(a.padding,8);this.options=a;this.chart.styledMode||(this.itemStyle=a.itemStyle,this.itemHiddenStyle=I(this.itemStyle,a.itemHiddenStyle));this.itemMarginTop=a.itemMarginTop||0;this.itemMarginBottom=a.itemMarginBottom||0;this.padding=c;this.initialItemY=c-5;this.symbolWidth=q(a.symbolWidth,16);this.pages=[];this.proximate="proximate"===a.layout&&!this.chart.inverted;this.baseline=void 0};d.prototype.update=function(a,d){var c=this.chart;this.setOptions(I(!0,this.options,a));this.destroy();
-c.isDirtyLegend=c.isDirtyBox=!0;q(d,!0)&&c.redraw();b(this,"afterUpdate")};d.prototype.colorizeItem=function(a,d){a.legendGroup[d?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var c=this.options,f=a.legendItem,h=a.legendLine,k=a.legendSymbol,g=this.itemHiddenStyle.color;c=d?c.itemStyle.color:g;var r=d?a.color||g:g,z=a.options&&a.options.marker,p={fill:r};f&&f.css({fill:c,color:c});h&&h.attr({stroke:r});k&&(z&&k.isMarker&&(p=a.pointAttribs(),d||(p.stroke=p.fill=
-g)),k.attr(p))}b(this,"afterColorizeItem",{item:a,visible:d})};d.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};d.prototype.positionItem=function(a){var c=this,d=this.options,f=d.symbolPadding,k=!d.rtl,n=a._legendItemPos;d=n[0];n=n[1];var g=a.checkbox,r=a.legendGroup;r&&r.element&&(f={translateX:k?d:this.legendWidth-d-2*f-4,translateY:n},k=function(){b(c,"afterPositionItem",{item:a})},u(r.translateY)?r.animate(f,void 0,
-k):(r.attr(f),k()));g&&(g.x=d,g.y=n)};d.prototype.destroyItem=function(a){var c=a.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(c){a[c]&&(a[c]=a[c].destroy())});c&&f(a.checkbox)};d.prototype.destroy=function(){function a(a){this[a]&&(this[a]=this[a].destroy())}this.getAllItems().forEach(function(c){["legendItem","legendGroup"].forEach(a,c)});"clipRect up down pager nav box title group".split(" ").forEach(a,this);this.display=null};d.prototype.positionCheckboxes=
-function(){var a=this.group&&this.group.alignAttr,d=this.clipHeight||this.legendHeight,b=this.titleHeight;if(a){var f=a.translateY;this.allItems.forEach(function(c){var h=c.checkbox;if(h){var k=f+b+h.y+(this.scrollOffset||0)+3;g(h,{left:a.translateX+c.checkboxOffset+h.x-20+"px",top:k+"px",display:this.proximate||k>f-6&&k<f+d-6?"":"none"})}},this)}};d.prototype.renderTitle=function(){var a=this.options,d=this.padding,b=a.title,f=0;b.text&&(this.title||(this.title=this.chart.renderer.label(b.text,d-
-3,d-4,null,null,null,a.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(b.style),this.title.add(this.group)),b.width||this.title.css({width:this.maxLegendWidth+"px"}),a=this.title.getBBox(),f=a.height,this.offsetWidth=a.width,this.contentGroup.attr({translateY:f}));this.titleHeight=f};d.prototype.setText=function(a){var c=this.options;a.legendItem.attr({text:c.labelFormat?m(c.labelFormat,a,this.chart):c.labelFormatter.call(a)})};d.prototype.renderItem=function(a){var c=
-this.chart,d=c.renderer,b=this.options,f=this.symbolWidth,k=b.symbolPadding,g=this.itemStyle,r=this.itemHiddenStyle,p="horizontal"===b.layout?q(b.itemDistance,20):0,m=!b.rtl,t=a.legendItem,e=!a.series,v=!e&&a.series.drawLegendSymbol?a.series:a,y=v.options;y=this.createCheckboxForItem&&y&&y.showCheckbox;p=f+k+p+(y?20:0);var u=b.useHTML,w=a.options.className;t||(a.legendGroup=d.g("legend-item").addClass("highcharts-"+v.type+"-series highcharts-color-"+a.colorIndex+(w?" "+w:"")+(e?" highcharts-series-"+
-a.index:"")).attr({zIndex:1}).add(this.scrollGroup),a.legendItem=t=d.text("",m?f+k:-k,this.baseline||0,u),c.styledMode||t.css(I(a.visible?g:r)),t.attr({align:m?"left":"right",zIndex:2}).add(a.legendGroup),this.baseline||(this.fontMetrics=d.fontMetrics(c.styledMode?12:g.fontSize,t),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,t.attr("y",this.baseline)),this.symbolHeight=b.symbolHeight||this.fontMetrics.f,v.drawLegendSymbol(this,a),this.setItemEvents&&this.setItemEvents(a,t,u));y&&!a.checkbox&&
-this.createCheckboxForItem&&this.createCheckboxForItem(a);this.colorizeItem(a,a.visible);!c.styledMode&&g.width||t.css({width:(b.itemWidth||this.widthOption||c.spacingBox.width)-p+"px"});this.setText(a);c=t.getBBox();a.itemWidth=a.checkboxOffset=b.itemWidth||a.legendItemWidth||c.width+p;this.maxItemWidth=Math.max(this.maxItemWidth,a.itemWidth);this.totalItemWidth+=a.itemWidth;this.itemHeight=a.itemHeight=Math.round(a.legendItemHeight||c.height||this.symbolHeight)};d.prototype.layoutItem=function(a){var c=
-this.options,d=this.padding,b="horizontal"===c.layout,f=a.itemHeight,k=this.itemMarginBottom,g=this.itemMarginTop,r=b?q(c.itemDistance,20):0,p=this.maxLegendWidth;c=c.alignColumns&&this.totalItemWidth>p?this.maxItemWidth:a.itemWidth;b&&this.itemX-d+c>p&&(this.itemX=d,this.lastLineHeight&&(this.itemY+=g+this.lastLineHeight+k),this.lastLineHeight=0);this.lastItemY=g+this.itemY+k;this.lastLineHeight=Math.max(f,this.lastLineHeight);a._legendItemPos=[this.itemX,this.itemY];b?this.itemX+=c:(this.itemY+=
-g+f+k,this.lastLineHeight=f);this.offsetWidth=this.widthOption||Math.max((b?this.itemX-d-(a.checkbox?0:r):c)+d,this.offsetWidth)};d.prototype.getAllItems=function(){var a=[];this.chart.series.forEach(function(c){var d=c&&c.options;c&&q(d.showInLegend,u(d.linkedTo)?!1:void 0,!0)&&(a=a.concat(c.legendItems||("point"===d.legendType?c.data:c)))});b(this,"afterGetAllItems",{allItems:a});return a};d.prototype.getAlignment=function(){var a=this.options;return this.proximate?a.align.charAt(0)+"tv":a.floating?
-"":a.align.charAt(0)+a.verticalAlign.charAt(0)+a.layout.charAt(0)};d.prototype.adjustMargins=function(a,d){var c=this.chart,b=this.options,f=this.getAlignment();f&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(h,k){h.test(f)&&!u(a[k])&&(c[D[k]]=Math.max(c[D[k]],c.legend[(k+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][k]*b[k%2?"x":"y"]+q(b.margin,12)+d[k]+(c.titleOffset[k]||0)))})};d.prototype.proximatePositions=function(){var a=this.chart,d=[],b="left"===this.options.align;
-this.allItems.forEach(function(c){var f;var h=b;if(c.yAxis){c.xAxis.options.reversed&&(h=!h);c.points&&(f=w(h?c.points:c.points.slice(0).reverse(),function(a){return t(a.plotY)}));h=this.itemMarginTop+c.legendItem.getBBox().height+this.itemMarginBottom;var k=c.yAxis.top-a.plotTop;c.visible?(f=f?f.plotY:c.yAxis.height,f+=k-.3*h):f=k+c.yAxis.height;d.push({target:f,size:h,item:c})}},this);l.distribute(d,a.plotHeight);d.forEach(function(c){c.item._legendItemPos[1]=a.plotTop-a.spacing[0]+c.pos})};d.prototype.render=
-function(){var c=this.chart,d=c.renderer,f=this.group,k=this.box,g=this.options,n=this.padding;this.itemX=n;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=p(g.width,c.spacingBox.width-n);var m=c.spacingBox.width-2*n-g.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(m/=2);this.maxLegendWidth=this.widthOption||m;f||(this.group=f=d.g("legend").attr({zIndex:7}).add(),this.contentGroup=d.g().attr({zIndex:1}).add(f),this.scrollGroup=d.g().add(this.contentGroup));
-this.renderTitle();var r=this.getAllItems();a(r,function(a,c){return(a.options&&a.options.legendIndex||0)-(c.options&&c.options.legendIndex||0)});g.reversed&&r.reverse();this.allItems=r;this.display=m=!!r.length;this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;r.forEach(this.renderItem,this);r.forEach(this.layoutItem,this);r=(this.widthOption||this.offsetWidth)+n;var z=this.lastItemY+this.lastLineHeight+this.titleHeight;z=this.handleOverflow(z);z+=n;k||(this.box=k=d.rect().addClass("highcharts-legend-box").attr({r:g.borderRadius}).add(f),
-k.isNew=!0);c.styledMode||k.attr({stroke:g.borderColor,"stroke-width":g.borderWidth||0,fill:g.backgroundColor||"none"}).shadow(g.shadow);0<r&&0<z&&(k[k.isNew?"attr":"animate"](k.crisp.call({},{x:0,y:0,width:r,height:z},k.strokeWidth())),k.isNew=!1);k[m?"show":"hide"]();c.styledMode&&"none"===f.getStyle("display")&&(r=z=0);this.legendWidth=r;this.legendHeight=z;m&&this.align();this.proximate||this.positionItems();b(this,"afterRender")};d.prototype.align=function(a){void 0===a&&(a=this.chart.spacingBox);
-var c=this.chart,d=this.options,b=a.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<c.titleOffset[0]?b+=c.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<c.titleOffset[2]&&(b-=c.titleOffset[2]);b!==a.y&&(a=I(a,{y:b}));this.group.align(I(d,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":d.verticalAlign}),!0,a)};d.prototype.handleOverflow=function(a){var c=this,d=this.chart,b=d.renderer,f=this.options,k=f.y,g=this.padding;k=d.spacingBox.height+("top"===f.verticalAlign?
--k:k)-g;var r=f.maxHeight,p,m=this.clipRect,t=f.navigation,e=q(t.animation,!0),v=t.arrowSize||12,y=this.nav,u=this.pages,w,N=this.allItems,x=function(a){"number"===typeof a?m.attr({height:a}):m&&(c.clipRect=m.destroy(),c.contentGroup.clip());c.contentGroup.div&&(c.contentGroup.div.style.clip=a?"rect("+g+"px,9999px,"+(g+a)+"px,0)":"auto")},I=function(a){c[a]=b.circle(0,0,1.3*v).translate(v/2,v/2).add(y);d.styledMode||c[a].attr("fill","rgba(0,0,0,0.0001)");return c[a]};"horizontal"!==f.layout||"middle"===
-f.verticalAlign||f.floating||(k/=2);r&&(k=Math.min(k,r));u.length=0;a>k&&!1!==t.enabled?(this.clipHeight=p=Math.max(k-20-this.titleHeight-g,0),this.currentPage=q(this.currentPage,1),this.fullHeight=a,N.forEach(function(a,c){var d=a._legendItemPos[1],b=Math.round(a.legendItem.getBBox().height),f=u.length;if(!f||d-u[f-1]>p&&(w||d)!==u[f-1])u.push(w||d),f++;a.pageIx=f-1;w&&(N[c-1].pageIx=f-1);c===N.length-1&&d+b-u[f-1]>p&&d!==w&&(u.push(d),a.pageIx=f);d!==w&&(w=d)}),m||(m=c.clipRect=b.clipRect(0,g,9999,
-0),c.contentGroup.clip(m)),x(p),y||(this.nav=y=b.g().attr({zIndex:1}).add(this.group),this.up=b.symbol("triangle",0,0,v,v).add(y),I("upTracker").on("click",function(){c.scroll(-1,e)}),this.pager=b.text("",15,10).addClass("highcharts-legend-navigation"),d.styledMode||this.pager.css(t.style),this.pager.add(y),this.down=b.symbol("triangle-down",0,0,v,v).add(y),I("downTracker").on("click",function(){c.scroll(1,e)})),c.scroll(0),a=k):y&&(x(),this.nav=y.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=
-0);return a};d.prototype.scroll=function(a,d){var c=this,f=this.chart,h=this.pages,n=h.length,g=this.currentPage+a;a=this.clipHeight;var r=this.options.navigation,p=this.pager,m=this.padding;g>n&&(g=n);0<g&&("undefined"!==typeof d&&G(d,f),this.nav.attr({translateX:m,translateY:a+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(a){a.attr({"class":1===g?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),p.attr({text:g+"/"+n}),[this.down,
-this.downTracker].forEach(function(a){a.attr({x:18+this.pager.getBBox().width,"class":g===n?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),f.styledMode||(this.up.attr({fill:1===g?r.inactiveColor:r.activeColor}),this.upTracker.css({cursor:1===g?"default":"pointer"}),this.down.attr({fill:g===n?r.inactiveColor:r.activeColor}),this.downTracker.css({cursor:g===n?"default":"pointer"})),this.scrollOffset=-h[g-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),
-this.currentPage=g,this.positionCheckboxes(),d=H(q(d,f.renderer.globalAnimation,!0)),k(function(){b(c,"afterScroll",{currentPage:g})},d.duration))};d.prototype.setItemEvents=function(a,d,f){var c=this,h=c.chart.renderer.boxWrapper,k=a instanceof F,g="highcharts-legend-"+(k?"point":"series")+"-active",r=c.chart.styledMode;(f?[d,a.legendSymbol]:[a.legendGroup]).forEach(function(f){if(f)f.on("mouseover",function(){a.visible&&c.allItems.forEach(function(c){a!==c&&c.setState("inactive",!k)});a.setState("hover");
-a.visible&&h.addClass(g);r||d.css(c.options.itemHoverStyle)}).on("mouseout",function(){c.chart.styledMode||d.css(I(a.visible?c.itemStyle:c.itemHiddenStyle));c.allItems.forEach(function(c){a!==c&&c.setState("",!k)});h.removeClass(g);a.setState()}).on("click",function(d){var f=function(){a.setVisible&&a.setVisible();c.allItems.forEach(function(c){a!==c&&c.setState(a.visible?"inactive":"",!k)})};h.removeClass(g);d={browserEvent:d};a.firePointEvent?a.firePointEvent("legendItemClick",d,f):b(a,"legendItemClick",
-d,f)})})};d.prototype.createCheckboxForItem=function(a){a.checkbox=x("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:a.selected,defaultChecked:a.selected},this.options.itemCheckboxStyle,this.chart.container);A(a.checkbox,"click",function(c){b(a.series||a,"checkboxClick",{checked:c.target.checked,item:a},function(){a.select()})})};return d}();(/Trident\/7\.0/.test(E.navigator&&E.navigator.userAgent)||e)&&C(d.prototype,"positionItem",function(a,c){var d=this,b=function(){c._legendItemPos&&
-a.call(d,c)};b();d.bubbleLegend||setTimeout(b)});l.Legend=d;return l.Legend});O(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Options.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,l,F,C){var H=l.defaultOptions,G=C.error,D=C.extendClass,E=C.merge,A;(function(e){function g(g,f){var u=H.plotOptions||{},b=f.defaultOptions;f.prototype.pointClass||(f.prototype.pointClass=F);f.prototype.type=g;b&&(u[g]=b);e.seriesTypes[g]=f}e.seriesTypes={};e.getSeries=function(g,f){void 0===
-f&&(f={});var u=g.options.chart;u=f.type||u.type||u.defaultSeriesType||"";var b=e.seriesTypes[u];e||G(17,!0,g,{missingModuleFor:u});u=new b;"function"===typeof u.init&&u.init(g,f);return u};e.registerSeriesType=g;e.seriesType=function(u,f,w,b,m){var t=H.plotOptions||{};f=f||"";t[u]=E(t[f],w);g(u,D(e.seriesTypes[f]||function(){},b));e.seriesTypes[u].prototype.type=u;m&&(e.seriesTypes[u].prototype.pointClass=D(F,m));return e.seriesTypes[u]}})(A||(A={}));e.seriesType=A.seriesType;e.seriesTypes=A.seriesTypes;
-return A});O(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Legend.js"],e["Core/MSPointer.js"],e["Core/Options.js"],e["Core/Color/Palette.js"],e["Core/Pointer.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"]],function(e,l,F,C,H,J,D,E,A,x,g,u){var f=e.animate,w=e.animObject,b=e.setAnimation,m=F.charts,t=F.doc,I=F.win,q=J.defaultOptions,p=J.time,a=A.seriesTypes,k=g.addEvent,
-d=g.attr,y=g.cleanRecursively,c=g.createElement,h=g.css,M=g.defined,G=g.discardElement,P=g.erase,n=g.error,K=g.extend,r=g.find,z=g.fireEvent,L=g.getStyle,B=g.isArray,Q=g.isFunction,v=g.isNumber,R=g.isObject,aa=g.isString,X=g.merge,N=g.numberFormat,Y=g.objectEach,T=g.pick,ca=g.pInt,U=g.relativeLength,Z=g.removeEvent,V=g.splat,da=g.syncTimeout,fa=g.uniqueKey,ea=F.marginNames,ba=function(){function e(a,c,d){this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=
-this.spacing=this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0;this.getArgs(a,c,d)}e.prototype.getArgs=function(a,c,d){aa(a)||a.nodeName?(this.renderTo=a,this.init(c,d)):this.init(a,
-c)};e.prototype.init=function(a,c){var d,b=a.series,f=a.plotOptions||{};z(this,"init",{args:arguments},function(){a.series=null;d=X(q,a);var h=d.chart||{};Y(d.plotOptions,function(a,c){R(a)&&(a.tooltip=f[c]&&X(f[c].tooltip)||void 0)});d.tooltip.userOptions=a.chart&&a.chart.forExport&&a.tooltip.userOptions||a.tooltip;d.series=a.series=b;this.userOptions=a;var n=h.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=c;this.isResizing=0;this.options=d;this.axes=
-[];this.series=[];this.time=a.time&&Object.keys(a.time).length?new x(a.time):F.time;this.numberFormatter=h.numberFormatter||N;this.styledMode=h.styledMode;this.hasCartesianSeries=h.showAxes;var r=this;r.index=m.length;m.push(r);F.chartCount++;n&&Y(n,function(a,c){Q(a)&&k(r,c,a)});r.xAxis=[];r.yAxis=[];r.pointCount=r.colorCounter=r.symbolCounter=0;z(r,"afterInit");r.firstRender()})};e.prototype.initSeries=function(c){var d=this.options.chart;d=c.type||d.type||d.defaultSeriesType;var b=a[d];b||n(17,
-!0,this,{missingModuleFor:d});d=new b;"function"===typeof d.init&&d.init(this,c);return d};e.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(a){a.points||a.data||!a.enabledDataSorting||a.setData(a.options.data,!1)})};e.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(a,c){return a.linkedSeries.length||c.linkedSeries.length?c.linkedSeries.length-a.linkedSeries.length:0})};e.prototype.orderSeries=function(a){var c=this.series;for(a=
-a||0;a<c.length;a++)c[a]&&(c[a].index=a,c[a].name=c[a].getName())};e.prototype.isInsidePlot=function(a,c,d){var b=d?c:a;a=d?a:c;b={x:b,y:a,isInsidePlot:0<=b&&b<=this.plotWidth&&0<=a&&a<=this.plotHeight};z(this,"afterIsInsidePlot",b);return b.isInsidePlot};e.prototype.redraw=function(a){z(this,"beforeRedraw");var c=this.hasCartesianSeries?this.axes:this.colorAxis||[],d=this.series,f=this.pointer,h=this.legend,k=this.userOptions.legend,n=this.isDirtyLegend,r=this.isDirtyBox,g=this.renderer,p=g.isHidden(),
-m=[];this.setResponsive&&this.setResponsive(!1);b(this.hasRendered?a:!1,this);p&&this.temporaryDisplay();this.layOutTitles();for(a=d.length;a--;){var q=d[a];if(q.options.stacking||q.options.centerInCategory){var t=!0;if(q.isDirty){var e=!0;break}}}if(e)for(a=d.length;a--;)q=d[a],q.options.stacking&&(q.isDirty=!0);d.forEach(function(a){a.isDirty&&("point"===a.options.legendType?("function"===typeof a.updateTotals&&a.updateTotals(),n=!0):k&&(k.labelFormatter||k.labelFormat)&&(n=!0));a.isDirtyData&&
-z(a,"updatedData")});n&&h&&h.options.enabled&&(h.render(),this.isDirtyLegend=!1);t&&this.getStacks();c.forEach(function(a){a.updateNames();a.setScale()});this.getMargins();c.forEach(function(a){a.isDirty&&(r=!0)});c.forEach(function(a){var c=a.min+","+a.max;a.extKey!==c&&(a.extKey=c,m.push(function(){z(a,"afterSetExtremes",K(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(r||t)&&a.redraw()});r&&this.drawChartBox();z(this,"predraw");d.forEach(function(a){(r||a.isDirty)&&a.visible&&a.redraw();
-a.isDirtyData=!1});f&&f.reset(!0);g.draw();z(this,"redraw");z(this,"render");p&&this.temporaryDisplay(!0);m.forEach(function(a){a.call()})};e.prototype.get=function(a){function c(c){return c.id===a||c.options&&c.options.id===a}var d=this.series,b;var f=r(this.axes,c)||r(this.series,c);for(b=0;!f&&b<d.length;b++)f=r(d[b].points||[],c);return f};e.prototype.getAxes=function(){var a=this,c=this.options,d=c.xAxis=V(c.xAxis||{});c=c.yAxis=V(c.yAxis||{});z(this,"getAxes");d.forEach(function(a,c){a.index=
-c;a.isX=!0});c.forEach(function(a,c){a.index=c});d.concat(c).forEach(function(c){new l(a,c)});z(this,"afterGetAxes")};e.prototype.getSelectedPoints=function(){var a=[];this.series.forEach(function(c){a=a.concat(c.getPointsCollection().filter(function(a){return T(a.selectedStaging,a.selected)}))});return a};e.prototype.getSelectedSeries=function(){return this.series.filter(function(a){return a.selected})};e.prototype.setTitle=function(a,c,d){this.applyDescription("title",a);this.applyDescription("subtitle",
-c);this.applyDescription("caption",void 0);this.layOutTitles(d)};e.prototype.applyDescription=function(a,c){var d=this,b="title"===a?{color:D.neutralColor80,fontSize:this.options.isStock?"16px":"18px"}:{color:D.neutralColor60};b=this.options[a]=X(!this.styledMode&&{style:b},this.options[a],c);var f=this[a];f&&c&&(this[a]=f=f.destroy());b&&!f&&(f=this.renderer.text(b.text,0,0,b.useHTML).attr({align:b.align,"class":"highcharts-"+a,zIndex:b.zIndex||4}).add(),f.update=function(c){d[{title:"setTitle",
-subtitle:"setSubtitle",caption:"setCaption"}[a]](c)},this.styledMode||f.css(b.style),this[a]=f)};e.prototype.layOutTitles=function(a){var c=[0,0,0],d=this.renderer,b=this.spacingBox;["title","subtitle","caption"].forEach(function(a){var f=this[a],h=this.options[a],k=h.verticalAlign||"top";a="title"===a?-3:"top"===k?c[0]+2:0;if(f){if(!this.styledMode)var n=h.style.fontSize;n=d.fontMetrics(n,f).b;f.css({width:(h.width||b.width+(h.widthAdjust||0))+"px"});var r=Math.round(f.getBBox(h.useHTML).height);
-f.align(K({y:"bottom"===k?n:a+n,height:r},h),!1,"spacingBox");h.floating||("top"===k?c[0]=Math.ceil(c[0]+r):"bottom"===k&&(c[2]=Math.ceil(c[2]+r)))}},this);c[0]&&"top"===(this.options.title.verticalAlign||"top")&&(c[0]+=this.options.title.margin);c[2]&&"bottom"===this.options.caption.verticalAlign&&(c[2]+=this.options.caption.margin);var f=!this.titleOffset||this.titleOffset.join(",")!==c.join(",");this.titleOffset=c;z(this,"afterLayOutTitles");!this.isDirtyBox&&f&&(this.isDirtyBox=this.isDirtyLegend=
-f,this.hasRendered&&T(a,!0)&&this.isDirtyBox&&this.redraw())};e.prototype.getChartSize=function(){var a=this.options.chart,c=a.width;a=a.height;var d=this.renderTo;M(c)||(this.containerWidth=L(d,"width"));M(a)||(this.containerHeight=L(d,"height"));this.chartWidth=Math.max(0,c||this.containerWidth||600);this.chartHeight=Math.max(0,U(a,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))};e.prototype.temporaryDisplay=function(a){var c=this.renderTo;if(a)for(;c&&c.style;)c.hcOrigStyle&&
-(h(c,c.hcOrigStyle),delete c.hcOrigStyle),c.hcOrigDetached&&(t.body.removeChild(c),c.hcOrigDetached=!1),c=c.parentNode;else for(;c&&c.style;){t.body.contains(c)||c.parentNode||(c.hcOrigDetached=!0,t.body.appendChild(c));if("none"===L(c,"display",!1)||c.hcOricDetached)c.hcOrigStyle={display:c.style.display,height:c.style.height,overflow:c.style.overflow},a={display:"block",overflow:"hidden"},c!==this.renderTo&&(a.height=0),h(c,a),c.offsetWidth||c.style.setProperty("display","block","important");c=
-c.parentNode;if(c===t.body)break}};e.prototype.setClassName=function(a){this.container.className="highcharts-container "+(a||"")};e.prototype.getContainer=function(){var a=this.options,f=a.chart;var k=this.renderTo;var r=fa(),g,p;k||(this.renderTo=k=f.renderTo);aa(k)&&(this.renderTo=k=t.getElementById(k));k||n(13,!0,this);var q=ca(d(k,"data-highcharts-chart"));v(q)&&m[q]&&m[q].hasRendered&&m[q].destroy();d(k,"data-highcharts-chart",this.index);k.innerHTML="";f.skipClone||k.offsetWidth||this.temporaryDisplay();
-this.getChartSize();q=this.chartWidth;var e=this.chartHeight;h(k,{overflow:"hidden"});this.styledMode||(g=K({position:"relative",overflow:"hidden",width:q+"px",height:e+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none"},f.style));this.container=k=c("div",{id:r},g,k);this._cursor=k.style.cursor;this.renderer=new (F[f.renderer]||F.Renderer)(k,q,e,null,f.forExport,a.exporting&&a.exporting.allowHTML,this.styledMode);b(void 0,this);this.setClassName(f.className);
-if(this.styledMode)for(p in a.defs)this.renderer.definition(a.defs[p]);else this.renderer.setStyle(f.style);this.renderer.chartIndex=this.index;z(this,"afterGetContainer")};e.prototype.getMargins=function(a){var c=this.spacing,d=this.margin,b=this.titleOffset;this.resetMargins();b[0]&&!M(d[0])&&(this.plotTop=Math.max(this.plotTop,b[0]+c[0]));b[2]&&!M(d[2])&&(this.marginBottom=Math.max(this.marginBottom,b[2]+c[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(d,c);z(this,"getMargins");
-a||this.getAxisMargins()};e.prototype.getAxisMargins=function(){var a=this,c=a.axisOffset=[0,0,0,0],d=a.colorAxis,b=a.margin,f=function(a){a.forEach(function(a){a.visible&&a.getOffset()})};a.hasCartesianSeries?f(a.axes):d&&d.length&&f(d);ea.forEach(function(d,f){M(b[f])||(a[d]+=c[f])});a.setChartSize()};e.prototype.reflow=function(a){var c=this,d=c.options.chart,b=c.renderTo,f=M(d.width)&&M(d.height),h=d.width||L(b,"width");d=d.height||L(b,"height");b=a?a.target:I;delete c.pointer.chartPosition;if(!f&&
-!c.isPrinting&&h&&d&&(b===I||b===t)){if(h!==c.containerWidth||d!==c.containerHeight)g.clearTimeout(c.reflowTimeout),c.reflowTimeout=da(function(){c.container&&c.setSize(void 0,void 0,!1)},a?100:0);c.containerWidth=h;c.containerHeight=d}};e.prototype.setReflow=function(a){var c=this;!1===a||this.unbindReflow?!1===a&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=k(I,"resize",function(a){c.options&&c.reflow(a)}),k(this,"destroy",this.unbindReflow))};e.prototype.setSize=
-function(a,c,d){var k=this,n=k.renderer;k.isResizing+=1;b(d,k);d=n.globalAnimation;k.oldChartHeight=k.chartHeight;k.oldChartWidth=k.chartWidth;"undefined"!==typeof a&&(k.options.chart.width=a);"undefined"!==typeof c&&(k.options.chart.height=c);k.getChartSize();k.styledMode||(d?f:h)(k.container,{width:k.chartWidth+"px",height:k.chartHeight+"px"},d);k.setChartSize(!0);n.setSize(k.chartWidth,k.chartHeight,d);k.axes.forEach(function(a){a.isDirty=!0;a.setScale()});k.isDirtyLegend=!0;k.isDirtyBox=!0;k.layOutTitles();
-k.getMargins();k.redraw(d);k.oldChartHeight=null;z(k,"resize");da(function(){k&&z(k,"endResize",null,function(){--k.isResizing})},w(d).duration)};e.prototype.setChartSize=function(a){var c=this.inverted,d=this.renderer,b=this.chartWidth,f=this.chartHeight,h=this.options.chart,k=this.spacing,n=this.clipOffset,r,g,p,m;this.plotLeft=r=Math.round(this.plotLeft);this.plotTop=g=Math.round(this.plotTop);this.plotWidth=p=Math.max(0,Math.round(b-r-this.marginRight));this.plotHeight=m=Math.max(0,Math.round(f-
-g-this.marginBottom));this.plotSizeX=c?m:p;this.plotSizeY=c?p:m;this.plotBorderWidth=h.plotBorderWidth||0;this.spacingBox=d.spacingBox={x:k[3],y:k[0],width:b-k[3]-k[1],height:f-k[0]-k[2]};this.plotBox=d.plotBox={x:r,y:g,width:p,height:m};b=2*Math.floor(this.plotBorderWidth/2);c=Math.ceil(Math.max(b,n[3])/2);d=Math.ceil(Math.max(b,n[0])/2);this.clipBox={x:c,y:d,width:Math.floor(this.plotSizeX-Math.max(b,n[1])/2-c),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(b,n[2])/2-d))};a||this.axes.forEach(function(a){a.setAxisSize();
-a.setAxisTranslation()});z(this,"afterSetChartSize",{skipAxes:a})};e.prototype.resetMargins=function(){z(this,"resetMargins");var a=this,c=a.options.chart;["margin","spacing"].forEach(function(d){var b=c[d],f=R(b)?b:[b,b,b,b];["Top","Right","Bottom","Left"].forEach(function(b,h){a[d][h]=T(c[d+b],f[h])})});ea.forEach(function(c,d){a[c]=T(a.margin[d],a.spacing[d])});a.axisOffset=[0,0,0,0];a.clipOffset=[0,0,0,0]};e.prototype.drawChartBox=function(){var a=this.options.chart,c=this.renderer,d=this.chartWidth,
-b=this.chartHeight,f=this.chartBackground,h=this.plotBackground,k=this.plotBorder,n=this.styledMode,r=this.plotBGImage,g=a.backgroundColor,p=a.plotBackgroundColor,m=a.plotBackgroundImage,q,e=this.plotLeft,t=this.plotTop,v=this.plotWidth,y=this.plotHeight,u=this.plotBox,N=this.clipRect,B=this.clipBox,K="animate";f||(this.chartBackground=f=c.rect().addClass("highcharts-background").add(),K="attr");if(n)var w=q=f.strokeWidth();else{w=a.borderWidth||0;q=w+(a.shadow?8:0);g={fill:g||"none"};if(w||f["stroke-width"])g.stroke=
-a.borderColor,g["stroke-width"]=w;f.attr(g).shadow(a.shadow)}f[K]({x:q/2,y:q/2,width:d-q-w%2,height:b-q-w%2,r:a.borderRadius});K="animate";h||(K="attr",this.plotBackground=h=c.rect().addClass("highcharts-plot-background").add());h[K](u);n||(h.attr({fill:p||"none"}).shadow(a.plotShadow),m&&(r?(m!==r.attr("href")&&r.attr("href",m),r.animate(u)):this.plotBGImage=c.image(m,e,t,v,y).add()));N?N.animate({width:B.width,height:B.height}):this.clipRect=c.clipRect(B);K="animate";k||(K="attr",this.plotBorder=
-k=c.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());n||k.attr({stroke:a.plotBorderColor,"stroke-width":a.plotBorderWidth||0,fill:"none"});k[K](k.crisp({x:e,y:t,width:v,height:y},-k.strokeWidth()));this.isDirtyBox=!1;z(this,"afterDrawChartBox")};e.prototype.propFromSeries=function(){var c=this,d=c.options.chart,b,f=c.options.series,h,k;["inverted","angular","polar"].forEach(function(n){b=a[d.type||d.defaultSeriesType];k=d[n]||b&&b.prototype[n];for(h=f&&f.length;!k&&h--;)(b=a[f[h].type])&&
-b.prototype[n]&&(k=!0);c[n]=k})};e.prototype.linkSeries=function(){var a=this,c=a.series;c.forEach(function(a){a.linkedSeries.length=0});c.forEach(function(c){var d=c.options.linkedTo;aa(d)&&(d=":previous"===d?a.series[c.index-1]:a.get(d))&&d.linkedParent!==c&&(d.linkedSeries.push(c),c.linkedParent=d,d.enabledDataSorting&&c.setDataSortingOptions(),c.visible=T(c.options.visible,d.options.visible,c.visible))});z(this,"afterLinkSeries")};e.prototype.renderSeries=function(){this.series.forEach(function(a){a.translate();
-a.render()})};e.prototype.renderLabels=function(){var a=this,c=a.options.labels;c.items&&c.items.forEach(function(d){var b=K(c.style,d.style),f=ca(b.left)+a.plotLeft,h=ca(b.top)+a.plotTop+12;delete b.left;delete b.top;a.renderer.text(d.html,f,h).attr({zIndex:2}).css(b).add()})};e.prototype.render=function(){var a=this.axes,c=this.colorAxis,d=this.renderer,b=this.options,f=0,h=function(a){a.forEach(function(a){a.visible&&a.render()})};this.setTitle();this.legend=new C(this,b.legend);this.getStacks&&
-this.getStacks();this.getMargins(!0);this.setChartSize();b=this.plotWidth;a.some(function(a){if(a.horiz&&a.visible&&a.options.labels.enabled&&a.series.length)return f=21,!0});var k=this.plotHeight=Math.max(this.plotHeight-f,0);a.forEach(function(a){a.setScale()});this.getAxisMargins();var n=1.1<b/this.plotWidth;var r=1.05<k/this.plotHeight;if(n||r)a.forEach(function(a){(a.horiz&&n||!a.horiz&&r)&&a.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries?h(a):c&&c.length&&
-h(c);this.seriesGroup||(this.seriesGroup=d.g("series-group").attr({zIndex:3}).add());this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0};e.prototype.addCredits=function(a){var c=this,d=X(!0,this.options.credits,a);d.enabled&&!this.credits&&(this.credits=this.renderer.text(d.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){d.href&&(I.location.href=d.href)}).attr({align:d.position.align,zIndex:8}),
-c.styledMode||this.credits.css(d.style),this.credits.add().align(d.position),this.credits.update=function(a){c.credits=c.credits.destroy();c.addCredits(a)})};e.prototype.destroy=function(){var a=this,c=a.axes,d=a.series,b=a.container,f,h=b&&b.parentNode;z(a,"destroy");a.renderer.forExport?P(m,a):m[a.index]=void 0;F.chartCount--;a.renderTo.removeAttribute("data-highcharts-chart");Z(a);for(f=c.length;f--;)c[f]=c[f].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(f=d.length;f--;)d[f]=
-d[f].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(c){var d=a[c];d&&d.destroy&&(a[c]=d.destroy())});b&&(b.innerHTML="",Z(b),h&&G(b));Y(a,function(c,d){delete a[d]})};e.prototype.firstRender=function(){var a=this,c=a.options;if(!a.isReadyToRender||a.isReadyToRender()){a.getContainer();a.resetMargins();a.setChartSize();a.propFromSeries();a.getAxes();
-(B(c.series)?c.series:[]).forEach(function(c){a.initSeries(c)});a.linkSeries();a.setSeriesData();z(a,"beforeRender");E&&(a.pointer=F.hasTouch||!I.PointerEvent&&!I.MSPointerEvent?new E(a,c):new H(a,c));a.render();a.pointer.getChartPosition();if(!a.renderer.imgCount&&!a.hasLoaded)a.onload();a.temporaryDisplay(!0)}};e.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(a){a&&"undefined"!==typeof this.index&&a.apply(this,[this])},this);z(this,"load");z(this,"render");M(this.index)&&
-this.setReflow(this.options.chart.reflow);this.hasLoaded=!0};e.prototype.addSeries=function(a,c,d){var b,f=this;a&&(c=T(c,!0),z(f,"addSeries",{options:a},function(){b=f.initSeries(a);f.isDirtyLegend=!0;f.linkSeries();b.enabledDataSorting&&b.setData(a.data,!1);z(f,"afterAddSeries",{series:b});c&&f.redraw(d)}));return b};e.prototype.addAxis=function(a,c,d,b){return this.createAxis(c?"xAxis":"yAxis",{axis:a,redraw:d,animation:b})};e.prototype.addColorAxis=function(a,c,d){return this.createAxis("colorAxis",
-{axis:a,redraw:c,animation:d})};e.prototype.createAxis=function(a,c){var d=this.options,b="colorAxis"===a,f=c.redraw,h=c.animation;c=X(c.axis,{index:this[a].length,isX:"xAxis"===a});var k=b?new F.ColorAxis(this,c):new l(this,c);d[a]=V(d[a]||{});d[a].push(c);b&&(this.isDirtyLegend=!0,this.axes.forEach(function(a){a.series=[]}),this.series.forEach(function(a){a.bindAxes();a.isDirtyData=!0}));T(f,!0)&&this.redraw(h);return k};e.prototype.showLoading=function(a){var d=this,b=d.options,n=d.loadingDiv,
-r=d.loadingSpan,g=b.loading,p=function(){n&&h(n,{left:d.plotLeft+"px",top:d.plotTop+"px",width:d.plotWidth+"px",height:d.plotHeight+"px"})};n||(d.loadingDiv=n=c("div",{className:"highcharts-loading highcharts-loading-hidden"},null,d.container));r||(d.loadingSpan=r=c("span",{className:"highcharts-loading-inner"},null,n),k(d,"redraw",p));n.className="highcharts-loading";u.setElementHTML(r,T(a,b.lang.loading,""));d.styledMode||(h(n,K(g.style,{zIndex:10})),h(r,g.labelStyle),d.loadingShown||(h(n,{opacity:0,
-display:""}),f(n,{opacity:g.style.opacity||.5},{duration:g.showDuration||0})));d.loadingShown=!0;p()};e.prototype.hideLoading=function(){var a=this.options,c=this.loadingDiv;c&&(c.className="highcharts-loading highcharts-loading-hidden",this.styledMode||f(c,{opacity:0},{duration:a.loading.hideDuration||100,complete:function(){h(c,{display:"none"})}}));this.loadingShown=!1};e.prototype.update=function(a,c,d,b){var f=this,h={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},
-k,n,r,g=a.isResponsiveOptions,m=[];z(f,"update",{options:a});g||f.setResponsive(!1,!0);a=y(a,f.options);f.userOptions=X(f.userOptions,a);if(k=a.chart){X(!0,f.options.chart,k);"className"in k&&f.setClassName(k.className);"reflow"in k&&f.setReflow(k.reflow);if("inverted"in k||"polar"in k||"type"in k){f.propFromSeries();var q=!0}"alignTicks"in k&&(q=!0);Y(k,function(a,c){-1!==f.propsRequireUpdateSeries.indexOf("chart."+c)&&(n=!0);-1!==f.propsRequireDirtyBox.indexOf(c)&&(f.isDirtyBox=!0);-1!==f.propsRequireReflow.indexOf(c)&&
-(g?f.isDirtyBox=!0:r=!0)});!f.styledMode&&"style"in k&&f.renderer.setStyle(k.style)}!f.styledMode&&a.colors&&(this.options.colors=a.colors);a.time&&(this.time===p&&(this.time=new x(a.time)),X(!0,f.options.time,a.time));Y(a,function(c,d){if(f[d]&&"function"===typeof f[d].update)f[d].update(c,!1);else if("function"===typeof f[h[d]])f[h[d]](c);else"color"!==d&&-1===f.collectionsWithUpdate.indexOf(d)&&X(!0,f.options[d],a[d]);"chart"!==d&&-1!==f.propsRequireUpdateSeries.indexOf(d)&&(n=!0)});this.collectionsWithUpdate.forEach(function(c){if(a[c]){if("series"===
-c){var b=[];f[c].forEach(function(a,c){a.options.isInternal||b.push(T(a.options.index,c))})}V(a[c]).forEach(function(a,k){var h=M(a.id),n;h&&(n=f.get(a.id));!n&&f[c]&&(n=f[c][b?b[k]:k])&&h&&M(n.options.id)&&(n=void 0);n&&n.coll===c&&(n.update(a,!1),d&&(n.touched=!0));!n&&d&&f.collectionsWithInit[c]&&(f.collectionsWithInit[c][0].apply(f,[a].concat(f.collectionsWithInit[c][1]||[]).concat([!1])).touched=!0)});d&&f[c].forEach(function(a){a.touched||a.options.isInternal?delete a.touched:m.push(a)})}});
-m.forEach(function(a){a.chart&&a.remove(!1)});q&&f.axes.forEach(function(a){a.update({},!1)});n&&f.getSeriesOrderByLinks().forEach(function(a){a.chart&&a.update({},!1)},this);q=k&&k.width;k=k&&k.height;aa(k)&&(k=U(k,q||f.chartWidth));r||v(q)&&q!==f.chartWidth||v(k)&&k!==f.chartHeight?f.setSize(q,k,b):T(c,!0)&&f.redraw(b);z(f,"afterUpdate",{options:a,redraw:c,animation:b})};e.prototype.setSubtitle=function(a,c){this.applyDescription("subtitle",a);this.layOutTitles(c)};e.prototype.setCaption=function(a,
-c){this.applyDescription("caption",a);this.layOutTitles(c)};e.prototype.showResetZoom=function(){function a(){c.zoomOut()}var c=this,d=q.lang,b=c.options.chart.resetZoomButton,f=b.theme,k=f.states,h="chart"===b.relativeTo||"spaceBox"===b.relativeTo?null:this.scrollablePlotBox||"plotBox";z(this,"beforeShowResetZoom",null,function(){c.resetZoomButton=c.renderer.button(d.resetZoom,null,null,a,f,k&&k.hover).attr({align:b.position.align,title:d.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(b.position,
-!1,h)});z(this,"afterShowResetZoom")};e.prototype.zoomOut=function(){z(this,"selection",{resetSelection:!0},this.zoom)};e.prototype.zoom=function(a){var c=this,d,b=c.pointer,f=!1,k=c.inverted?b.mouseDownX:b.mouseDownY;!a||a.resetSelection?(c.axes.forEach(function(a){d=a.zoom()}),b.initiated=!1):a.xAxis.concat(a.yAxis).forEach(function(a){var h=a.axis,n=c.inverted?h.left:h.top,r=c.inverted?n+h.width:n+h.height,g=h.isXAxis,p=!1;if(!g&&k>=n&&k<=r||g||!M(k))p=!0;b[g?"zoomX":"zoomY"]&&p&&(d=h.zoom(a.min,
-a.max),h.displayBtn&&(f=!0))});var h=c.resetZoomButton;f&&!h?c.showResetZoom():!f&&R(h)&&(c.resetZoomButton=h.destroy());d&&c.redraw(T(c.options.chart.animation,a&&a.animation,100>c.pointCount))};e.prototype.pan=function(a,c){var d=this,b=d.hoverPoints,f=d.options.chart,k=d.options.mapNavigation&&d.options.mapNavigation.enabled,n;c="object"===typeof c?c:{enabled:c,type:"x"};f&&f.panning&&(f.panning=c);var r=c.type;z(this,"pan",{originalEvent:a},function(){b&&b.forEach(function(a){a.setState()});var c=
-[1];"xy"===r?c=[1,0]:"y"===r&&(c=[0]);c.forEach(function(c){var b=d[c?"xAxis":"yAxis"][0],f=b.horiz,h=a[f?"chartX":"chartY"];f=f?"mouseDownX":"mouseDownY";var g=d[f],p=(b.pointRange||0)/2,m=b.reversed&&!d.inverted||!b.reversed&&d.inverted?-1:1,q=b.getExtremes(),z=b.toValue(g-h,!0)+p*m;m=b.toValue(g+b.len-h,!0)-p*m;var e=m<z;g=e?m:z;z=e?z:m;m=b.hasVerticalPanning();var t=b.panningState;!m||c||t&&!t.isDirty||b.series.forEach(function(a){var c=a.getProcessedData(!0);c=a.getExtremes(c.yData,!0);t||(t=
-{startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});v(c.dataMin)&&v(c.dataMax)&&(t.startMin=Math.min(T(a.options.threshold,Infinity),c.dataMin,t.startMin),t.startMax=Math.max(T(a.options.threshold,-Infinity),c.dataMax,t.startMax))});c=Math.min(T(null===t||void 0===t?void 0:t.startMin,q.dataMin),p?q.min:b.toValue(b.toPixels(q.min)-b.minPixelPadding));p=Math.max(T(null===t||void 0===t?void 0:t.startMax,q.dataMax),p?q.max:b.toValue(b.toPixels(q.max)+b.minPixelPadding));b.panningState=t;b.isOrdinal||
-(m=c-g,0<m&&(z+=m,g=c),m=z-p,0<m&&(z=p,g-=m),b.series.length&&g!==q.min&&z!==q.max&&g>=c&&z<=p&&(b.setExtremes(g,z,!1,!1,{trigger:"pan"}),d.resetZoomButton||k||g===c||z===p||!r.match("y")||(d.showResetZoom(),b.displayBtn=!1),n=!0),d[f]=h)});n&&d.redraw(!1);h(d.container,{cursor:"move"})})};return e}();K(ba.prototype,{callbacks:[],collectionsWithInit:{xAxis:[ba.prototype.addAxis,[!0]],yAxis:[ba.prototype.addAxis,[!1]],series:[ba.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis",
-"series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});F.chart=function(a,c,d){return new ba(a,
-c,d)};F.Chart=ba;"";return ba});O(e,"Mixins/LegendSymbol.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,l){var G=l.merge,C=l.pick;return e.LegendSymbolMixin={drawRectangle:function(e,l){var D=e.symbolHeight,E=e.options.squareSymbol;l.legendSymbol=this.chart.renderer.rect(E?(e.symbolWidth-D)/2:0,e.baseline-D+1,E?D:e.symbolWidth,D,C(e.options.symbolRadius,D/2)).addClass("highcharts-point").attr({zIndex:3}).add(l.legendGroup)},drawLineMarker:function(e){var l=this.options,D=l.marker,E=
-e.symbolWidth,A=e.symbolHeight,x=A/2,g=this.chart.renderer,u=this.legendGroup;e=e.baseline-Math.round(.3*e.fontMetrics.b);var f={};this.chart.styledMode||(f={"stroke-width":l.lineWidth||0},l.dashStyle&&(f.dashstyle=l.dashStyle));this.legendLine=g.path([["M",0,e],["L",E,e]]).addClass("highcharts-graph").attr(f).add(u);D&&!1!==D.enabled&&E&&(l=Math.min(C(D.radius,x),x),0===this.symbol.indexOf("url")&&(D=G(D,{width:A,height:A}),l=0),this.legendSymbol=D=g.symbol(this.symbol,E/2-l,e-l,2*l,2*l,D).addClass("highcharts-point").add(u),
-D.isMarker=!0)}}});O(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Options.js"],e["Core/Color/Palette.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J,D,E,A){var x=e.animObject,g=e.setAnimation,u=l.hasTouch,f=l.svg,w=l.win,b=C.defaultOptions,m=D.seriesTypes,t=A.addEvent,I=A.arrayMax,q=A.arrayMin,p=A.clamp,a=A.cleanRecursively,
-k=A.correctFloat,d=A.defined,y=A.erase,c=A.error,h=A.extend,M=A.find,G=A.fireEvent,P=A.getNestedProperty,n=A.isArray,K=A.isFunction,r=A.isNumber,z=A.isString,L=A.merge,B=A.objectEach,Q=A.pick,v=A.removeEvent,R=A.splat,aa=A.syncTimeout;e=function(){function e(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}e.prototype.init=
-function(a,c){G(this,"init",{options:c});var d=this,b=a.series,f;this.eventOptions=this.eventOptions||{};this.eventsToUnbind=[];d.chart=a;d.options=c=d.setOptions(c);d.linkedSeries=[];d.bindAxes();h(d,{name:c.name,state:"",visible:!1!==c.visible,selected:!0===c.selected});var k=c.events;B(k,function(a,c){K(a)&&d.eventOptions[c]!==a&&(K(d.eventOptions[c])&&v(d,c,d.eventOptions[c]),d.eventOptions[c]=a,t(d,c,a))});if(k&&k.click||c.point&&c.point.events&&c.point.events.click||c.allowPointSelect)a.runTrackerClick=
-!0;d.getColor();d.getSymbol();d.parallelArrays.forEach(function(a){d[a+"Data"]||(d[a+"Data"]=[])});d.isCartesian&&(a.hasCartesianSeries=!0);b.length&&(f=b[b.length-1]);d._i=Q(f&&f._i,-1)+1;d.opacity=d.options.opacity;a.orderSeries(this.insert(b));c.dataSorting&&c.dataSorting.enabled?d.setDataSortingOptions():d.points||d.data||d.setData(c.data,!1);G(this,"afterInit")};e.prototype.is=function(a){return m[a]&&this instanceof m[a]};e.prototype.insert=function(a){var c=this.options.index,d;if(r(c)){for(d=
-a.length;d--;)if(c>=Q(a[d].options.index,a[d]._i)){a.splice(d+1,0,this);break}-1===d&&a.unshift(this);d+=1}else a.push(this);return Q(d,a.length-1)};e.prototype.bindAxes=function(){var a=this,d=a.options,b=a.chart,f;G(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(h){b[h].forEach(function(c){f=c.options;if(d[h]===f.index||"undefined"!==typeof d[h]&&d[h]===f.id||"undefined"===typeof d[h]&&0===f.index)a.insert(c.series),a[h]=c,c.isDirty=!0});a[h]||a.optionalAxis===h||c(18,!0,b)})});
-G(this,"afterBindAxes")};e.prototype.updateParallelArrays=function(a,c){var d=a.series,b=arguments,f=r(c)?function(b){var f="y"===b&&d.toYData?d.toYData(a):a[b];d[b+"Data"][c]=f}:function(a){Array.prototype[c].apply(d[a+"Data"],Array.prototype.slice.call(b,2))};d.parallelArrays.forEach(f)};e.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length};e.prototype.autoIncrement=function(){var a=
-this.options,c=this.xIncrement,d,b=a.pointIntervalUnit,f=this.chart.time;c=Q(c,a.pointStart,0);this.pointInterval=d=Q(this.pointInterval,a.pointInterval,1);b&&(a=new f.Date(c),"day"===b?f.set("Date",a,f.get("Date",a)+d):"month"===b?f.set("Month",a,f.get("Month",a)+d):"year"===b&&f.set("FullYear",a,f.get("FullYear",a)+d),d=a.getTime()-c);this.xIncrement=c+d;return c};e.prototype.setDataSortingOptions=function(){var a=this.options;h(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});
-d(a.pointRange)||(a.pointRange=1)};e.prototype.setOptions=function(a){var c=this.chart,f=c.options,h=f.plotOptions,k=c.userOptions||{};a=L(a);c=c.styledMode;var n={plotOptions:h,userOptions:a};G(this,"setOptions",n);var r=n.plotOptions[this.type],g=k.plotOptions||{};this.userOptions=n.userOptions;k=L(r,h.series,k.plotOptions&&k.plotOptions[this.type],a);this.tooltipOptions=L(b.tooltip,b.plotOptions.series&&b.plotOptions.series.tooltip,b.plotOptions[this.type].tooltip,f.tooltip.userOptions,h.series&&
-h.series.tooltip,h[this.type].tooltip,a.tooltip);this.stickyTracking=Q(a.stickyTracking,g[this.type]&&g[this.type].stickyTracking,g.series&&g.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:k.stickyTracking);null===r.marker&&delete k.marker;this.zoneAxis=k.zoneAxis;f=this.zones=(k.zones||[]).slice();!k.negativeColor&&!k.negativeFillColor||k.zones||(h={value:k[this.zoneAxis+"Threshold"]||k.threshold||0,className:"highcharts-negative"},c||(h.color=k.negativeColor,h.fillColor=
-k.negativeFillColor),f.push(h));f.length&&d(f[f.length-1].value)&&f.push(c?{}:{color:this.color,fillColor:this.fillColor});G(this,"afterSetOptions",{options:k});return k};e.prototype.getName=function(){return Q(this.options.name,"Series "+(this.index+1))};e.prototype.getCyclic=function(a,c,b){var f=this.chart,h=this.userOptions,k=a+"Index",n=a+"Counter",r=b?b.length:Q(f.options.chart[a+"Count"],f[a+"Count"]);if(!c){var g=Q(h[k],h["_"+k]);d(g)||(f.series.length||(f[n]=0),h["_"+k]=g=f[n]%r,f[n]+=1);
-b&&(c=b[g])}"undefined"!==typeof g&&(this[k]=g);this[a]=c};e.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||b.plotOptions[this.type].color,this.chart.options.colors)};e.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]};e.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};e.prototype.findPointIndex=
-function(a,c){var d=a.id,b=a.x,f=this.points,h,k=this.options.dataSorting;if(d)var n=this.chart.get(d);else if(this.linkedParent||this.enabledDataSorting){var g=k&&k.matchByName?"name":"index";n=M(f,function(c){return!c.touched&&c[g]===a[g]});if(!n)return}if(n){var p=n&&n.index;"undefined"!==typeof p&&(h=!0)}"undefined"===typeof p&&r(b)&&(p=this.xData.indexOf(b,c));-1!==p&&"undefined"!==typeof p&&this.cropped&&(p=p>=this.cropStart?p-this.cropStart:p);!h&&f[p]&&f[p].touched&&(p=void 0);return p};e.prototype.updateData=
-function(a,c){var b=this.options,f=b.dataSorting,h=this.points,k=[],n,g,p,m=this.requireSorting,e=a.length===h.length,q=!0;this.xIncrement=null;a.forEach(function(a,c){var g=d(a)&&this.pointClass.prototype.optionsToObject.call({series:this},a)||{};var q=g.x;if(g.id||r(q)){if(q=this.findPointIndex(g,p),-1===q||"undefined"===typeof q?k.push(a):h[q]&&a!==b.data[q]?(h[q].update(a,!1,null,!1),h[q].touched=!0,m&&(p=q+1)):h[q]&&(h[q].touched=!0),!e||c!==q||f&&f.enabled||this.hasDerivedData)n=!0}else k.push(a)},
-this);if(n)for(a=h.length;a--;)(g=h[a])&&!g.touched&&g.remove&&g.remove(!1,c);else!e||f&&f.enabled?q=!1:(a.forEach(function(a,c){h[c].update&&a!==h[c].y&&h[c].update(a,!1,null,!1)}),k.length=0);h.forEach(function(a){a&&(a.touched=!1)});if(!q)return!1;k.forEach(function(a){this.addPoint(a,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=I(this.xData),this.autoIncrement());return!0};e.prototype.setData=function(a,d,b,f){var h=this,k=h.points,g=k&&k.length||
-0,p,m=h.options,e=h.chart,q=m.dataSorting,t=null,v=h.xAxis;t=m.turboThreshold;var y=this.xData,u=this.yData,B=(p=h.pointArrayMap)&&p.length,K=m.keys,w=0,L=1,N;a=a||[];p=a.length;d=Q(d,!0);q&&q.enabled&&(a=this.sortData(a));!1!==f&&p&&g&&!h.cropped&&!h.hasGroupedData&&h.visible&&!h.isSeriesBoosting&&(N=this.updateData(a,b));if(!N){h.xIncrement=null;h.colorCounter=0;this.parallelArrays.forEach(function(a){h[a+"Data"].length=0});if(t&&p>t)if(t=h.getFirstValidPoint(a),r(t))for(b=0;b<p;b++)y[b]=this.autoIncrement(),
-u[b]=a[b];else if(n(t))if(B)for(b=0;b<p;b++)f=a[b],y[b]=f[0],u[b]=f.slice(1,B+1);else for(K&&(w=K.indexOf("x"),L=K.indexOf("y"),w=0<=w?w:0,L=0<=L?L:1),b=0;b<p;b++)f=a[b],y[b]=f[w],u[b]=f[L];else c(12,!1,e);else for(b=0;b<p;b++)"undefined"!==typeof a[b]&&(f={series:h},h.pointClass.prototype.applyOptions.apply(f,[a[b]]),h.updateParallelArrays(f,b));u&&z(u[0])&&c(14,!0,e);h.data=[];h.options.data=h.userOptions.data=a;for(b=g;b--;)k[b]&&k[b].destroy&&k[b].destroy();v&&(v.minRange=v.userMinRange);h.isDirty=
-e.isDirtyBox=!0;h.isDirtyData=!!k;b=!1}"point"===m.legendType&&(this.processData(),this.generatePoints());d&&e.redraw(b)};e.prototype.sortData=function(a){var c=this,b=c.options.dataSorting.sortKey||"y",f=function(a,c){return d(c)&&a.pointClass.prototype.optionsToObject.call({series:a},c)||{}};a.forEach(function(d,b){a[b]=f(c,d);a[b].index=b},this);a.concat().sort(function(a,c){a=P(b,a);c=P(b,c);return c<a?-1:c>a?1:0}).forEach(function(a,c){a.x=c},this);c.linkedSeries&&c.linkedSeries.forEach(function(c){var d=
-c.options,b=d.data;d.dataSorting&&d.dataSorting.enabled||!b||(b.forEach(function(d,h){b[h]=f(c,d);a[h]&&(b[h].x=a[h].x,b[h].index=h)}),c.setData(b,!1))});return a};e.prototype.getProcessedData=function(a){var d=this.xData,b=this.yData,f=d.length;var h=0;var k=this.xAxis,n=this.options;var r=n.cropThreshold;var g=a||this.getExtremesFromAll||n.getExtremesFromAll,p=this.isCartesian;a=k&&k.val2lin;n=!(!k||!k.logarithmic);var m=this.requireSorting;if(k){k=k.getExtremes();var e=k.min;var q=k.max}if(p&&
-this.sorted&&!g&&(!r||f>r||this.forceCrop))if(d[f-1]<e||d[0]>q)d=[],b=[];else if(this.yData&&(d[0]<e||d[f-1]>q)){h=this.cropData(this.xData,this.yData,e,q);d=h.xData;b=h.yData;h=h.start;var z=!0}for(r=d.length||1;--r;)if(f=n?a(d[r])-a(d[r-1]):d[r]-d[r-1],0<f&&("undefined"===typeof t||f<t))var t=f;else 0>f&&m&&(c(15,!1,this.chart),m=!1);return{xData:d,yData:b,cropped:z,cropStart:h,closestPointRange:t}};e.prototype.processData=function(a){var c=this.xAxis;if(this.isCartesian&&!this.isDirty&&!c.isDirty&&
-!this.yAxis.isDirty&&!a)return!1;a=this.getProcessedData();this.cropped=a.cropped;this.cropStart=a.cropStart;this.processedXData=a.xData;this.processedYData=a.yData;this.closestPointRange=this.basePointRange=a.closestPointRange};e.prototype.cropData=function(a,c,d,b,f){var h=a.length,k=0,n=h,r;f=Q(f,this.cropShoulder);for(r=0;r<h;r++)if(a[r]>=d){k=Math.max(0,r-f);break}for(d=r;d<h;d++)if(a[d]>b){n=d+f;break}return{xData:a.slice(k,n),yData:c.slice(k,n),start:k,end:n}};e.prototype.generatePoints=function(){var a=
-this.options,c=a.data,d=this.data,b,f=this.processedXData,k=this.processedYData,n=this.pointClass,r=f.length,g=this.cropStart||0,p=this.hasGroupedData;a=a.keys;var m=[],e;d||p||(d=[],d.length=c.length,d=this.data=d);a&&p&&(this.options.keys=!1);for(e=0;e<r;e++){var q=g+e;if(p){var z=(new n).init(this,[f[e]].concat(R(k[e])));z.dataGroup=this.groupMap[e];z.dataGroup.options&&(z.options=z.dataGroup.options,h(z,z.dataGroup.options),delete z.dataLabels)}else(z=d[q])||"undefined"===typeof c[q]||(d[q]=z=
-(new n).init(this,c[q],f[e]));z&&(z.index=q,m[e]=z)}this.options.keys=a;if(d&&(r!==(b=d.length)||p))for(e=0;e<b;e++)e!==g||p||(e+=r),d[e]&&(d[e].destroyElements(),d[e].plotX=void 0);this.data=d;this.points=m;G(this,"afterGeneratePoints")};e.prototype.getXExtremes=function(a){return{min:q(a),max:I(a)}};e.prototype.getExtremes=function(a,c){var d=this.xAxis,b=this.yAxis,f=this.processedXData||this.xData,h=[],k=0,g=0;var p=0;var m=this.requireSorting?this.cropShoulder:0,e=b?b.positiveValuesOnly:!1,z;
-a=a||this.stackedYData||this.processedYData||[];b=a.length;d&&(p=d.getExtremes(),g=p.min,p=p.max);for(z=0;z<b;z++){var t=f[z];var v=a[z];var y=(r(v)||n(v))&&(v.length||0<v||!e);t=c||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!d||(f[z+m]||t)>=g&&(f[z-m]||t)<=p;if(y&&t)if(y=v.length)for(;y--;)r(v[y])&&(h[k++]=v[y]);else h[k++]=v}a={dataMin:q(h),dataMax:I(h)};G(this,"afterGetExtremes",{dataExtremes:a});return a};e.prototype.applyExtremes=function(){var a=this.getExtremes();
-this.dataMin=a.dataMin;this.dataMax=a.dataMax;return a};e.prototype.getFirstValidPoint=function(a){for(var c=null,d=a.length,b=0;null===c&&b<d;)c=a[b],b++;return c};e.prototype.translate=function(){this.processedXData||this.processData();this.generatePoints();var a=this.options,c=a.stacking,b=this.xAxis,f=b.categories,h=this.enabledDataSorting,g=this.yAxis,m=this.points,e=m.length,q=!!this.modifyValue,z,t=this.pointPlacementToXValue(),v=!!t,y=a.threshold,u=a.startFromThreshold?y:0,B,K=this.zoneAxis||
-"y",w=Number.MAX_VALUE;for(z=0;z<e;z++){var L=m[z],I=L.x,l=L.y,x=L.low,M=c&&g.stacking&&g.stacking.stacks[(this.negStacks&&l<(u?0:y)?"-":"")+this.stackKey];if(g.positiveValuesOnly&&!g.validatePositiveValue(l)||b.positiveValuesOnly&&!b.validatePositiveValue(I))L.isNull=!0;L.plotX=B=k(p(b.translate(I,0,0,0,1,t,"flags"===this.type),-1E5,1E5));if(c&&this.visible&&M&&M[I]){var A=this.getStackIndicator(A,I,this.index);if(!L.isNull){var P=M[I];var E=P.points[A.key]}}n(E)&&(x=E[0],l=E[1],x===u&&A.key===M[I].base&&
-(x=Q(r(y)&&y,g.min)),g.positiveValuesOnly&&0>=x&&(x=null),L.total=L.stackTotal=P.total,L.percentage=P.total&&L.y/P.total*100,L.stackY=l,this.irregularWidths||P.setOffset(this.pointXOffset||0,this.barW||0));L.yBottom=d(x)?p(g.translate(x,0,1,0,1),-1E5,1E5):null;q&&(l=this.modifyValue(l,L));L.plotY=void 0;r(l)&&(l=g.translate(l,!1,!0,!1,!0),"undefined"!==typeof l&&(L.plotY=p(l,-1E5,1E5)));L.isInside=this.isPointInside(L);L.clientX=v?k(b.translate(I,0,0,0,1,t)):B;L.negative=L[K]<(a[K+"Threshold"]||y||
-0);L.category=f&&"undefined"!==typeof f[L.x]?f[L.x]:L.x;if(!L.isNull&&!1!==L.visible){"undefined"!==typeof D&&(w=Math.min(w,Math.abs(B-D)));var D=B}L.zone=this.zones.length&&L.getZone();!L.graphic&&this.group&&h&&(L.isNew=!0)}this.closestPointRangePx=w;G(this,"afterTranslate")};e.prototype.getValidPoints=function(a,c,d){var b=this.chart;return(a||this.points||[]).filter(function(a){return c&&!b.isInsidePlot(a.plotX,a.plotY,b.inverted)?!1:!1!==a.visible&&(d||!a.isNull)})};e.prototype.getClipBox=function(a,
-c){var d=this.options,b=this.chart,f=b.inverted,h=this.xAxis,k=h&&this.yAxis,n=b.options.chart.scrollablePlotArea||{};a&&!1===d.clip&&k?a=f?{y:-b.chartWidth+k.len+k.pos,height:b.chartWidth,width:b.chartHeight,x:-b.chartHeight+h.len+h.pos}:{y:-k.pos,height:b.chartHeight,width:b.chartWidth,x:-h.pos}:(a=this.clipBox||b.clipBox,c&&(a.width=b.plotSizeX,a.x=(b.scrollablePixelsX||0)*(n.scrollPositionX||0)));return c?{width:a.width,x:a.x}:a};e.prototype.setClip=function(a){var c=this.chart,d=this.options,
-b=c.renderer,f=c.inverted,h=this.clipBox,k=this.getClipBox(a),n=this.sharedClipKey||["_sharedClip",a&&a.duration,a&&a.easing,a&&a.defer,k.height,d.xAxis,d.yAxis].join(),r=c[n],g=c[n+"m"];a&&(k.width=0,f&&(k.x=c.plotHeight+(!1!==d.clip?0:c.plotTop)));r?c.hasLoaded||r.attr(k):(a&&(c[n+"m"]=g=b.clipRect(f?c.plotSizeX+99:-99,f?-c.plotLeft:-c.plotTop,99,f?c.chartWidth:c.chartHeight)),c[n]=r=b.clipRect(k),r.count={length:0});a&&!r.count[this.index]&&(r.count[this.index]=!0,r.count.length+=1);if(!1!==d.clip||
-a)this.group.clip(a||h?r:c.clipRect),this.markerGroup.clip(g),this.sharedClipKey=n;a||(r.count[this.index]&&(delete r.count[this.index],--r.count.length),0===r.count.length&&n&&c[n]&&(h||(c[n]=c[n].destroy()),c[n+"m"]&&(c[n+"m"]=c[n+"m"].destroy())))};e.prototype.animate=function(a){var c=this.chart,d=x(this.options.animation);if(a)this.setClip(d);else{var b=this.sharedClipKey;a=c[b];var f=this.getClipBox(d,!0);a&&a.animate(f,d);c[b+"m"]&&c[b+"m"].animate({width:f.width+99,x:f.x-(c.inverted?0:99)},
-d)}};e.prototype.afterAnimate=function(){this.setClip();G(this,"afterAnimate");this.finishedAnimating=!0};e.prototype.drawPoints=function(){var a=this.points,c=this.chart,d,b,f=this.options.marker,h=this[this.specialGroup]||this.markerGroup,k=this.xAxis,n=Q(f.enabled,!k||k.isRadial?!0:null,this.closestPointRangePx>=f.enabledThreshold*f.radius);if(!1!==f.enabled||this._hasPointMarkers)for(d=0;d<a.length;d++){var r=a[d];var g=(b=r.graphic)?"animate":"attr";var p=r.marker||{};var m=!!r.marker;if((n&&
-"undefined"===typeof p.enabled||p.enabled)&&!r.isNull&&!1!==r.visible){var e=Q(p.symbol,this.symbol);var q=this.markerAttribs(r,r.selected&&"select");this.enabledDataSorting&&(r.startXPos=k.reversed?-q.width:k.width);var z=!1!==r.isInside;b?b[z?"show":"hide"](z).animate(q):z&&(0<q.width||r.hasImage)&&(r.graphic=b=c.renderer.symbol(e,q.x,q.y,q.width,q.height,m?p:f).add(h),this.enabledDataSorting&&c.hasRendered&&(b.attr({x:r.startXPos}),g="animate"));b&&"animate"===g&&b[z?"show":"hide"](z).animate(q);
-if(b&&!c.styledMode)b[g](this.pointAttribs(r,r.selected&&"select"));b&&b.addClass(r.getClassName(),!0)}else b&&(r.graphic=b.destroy())}};e.prototype.markerAttribs=function(a,c){var d=this.options,b=d.marker,f=a.marker||{},h=f.symbol||b.symbol,k=Q(f.radius,b.radius);c&&(b=b.states[c],c=f.states&&f.states[c],k=Q(c&&c.radius,b&&b.radius,k+(b&&b.radiusPlus||0)));a.hasImage=h&&0===h.indexOf("url");a.hasImage&&(k=0);a={x:d.crisp?Math.floor(a.plotX)-k:a.plotX-k,y:a.plotY-k};k&&(a.width=a.height=2*k);return a};
-e.prototype.pointAttribs=function(a,c){var d=this.options.marker,b=a&&a.options,f=b&&b.marker||{},h=this.color,k=b&&b.color,n=a&&a.color;b=Q(f.lineWidth,d.lineWidth);var r=a&&a.zone&&a.zone.color;a=1;h=k||r||n||h;k=f.fillColor||d.fillColor||h;h=f.lineColor||d.lineColor||h;c=c||"normal";d=d.states[c];c=f.states&&f.states[c]||{};b=Q(c.lineWidth,d.lineWidth,b+Q(c.lineWidthPlus,d.lineWidthPlus,0));k=c.fillColor||d.fillColor||k;h=c.lineColor||d.lineColor||h;a=Q(c.opacity,d.opacity,a);return{stroke:h,"stroke-width":b,
-fill:k,opacity:a}};e.prototype.destroy=function(a){var c=this,d=c.chart,b=/AppleWebKit\/533/.test(w.navigator.userAgent),f,h,k=c.data||[],n,r;G(c,"destroy");this.removeEvents(a);(c.axisTypes||[]).forEach(function(a){(r=c[a])&&r.series&&(y(r.series,c),r.isDirty=r.forceRedraw=!0)});c.legendItem&&c.chart.legend.destroyItem(c);for(h=k.length;h--;)(n=k[h])&&n.destroy&&n.destroy();c.points=null;A.clearTimeout(c.animationTimeout);B(c,function(a,c){a instanceof E&&!a.survive&&(f=b&&"group"===c?"hide":"destroy",
-a[f]())});d.hoverSeries===c&&(d.hoverSeries=null);y(d.series,c);d.orderSeries();B(c,function(d,b){a&&"hcEvents"===b||delete c[b]})};e.prototype.applyZones=function(){var a=this,c=this.chart,d=c.renderer,b=this.zones,f,h,k=this.clips||[],n,r=this.graph,g=this.area,m=Math.max(c.chartWidth,c.chartHeight),e=this[(this.zoneAxis||"y")+"Axis"],q=c.inverted,z,t,v,y=!1,u,B;if(b.length&&(r||g)&&e&&"undefined"!==typeof e.min){var K=e.reversed;var L=e.horiz;r&&!this.showLine&&r.hide();g&&g.hide();var w=e.getExtremes();
-b.forEach(function(b,l){f=K?L?c.plotWidth:0:L?0:e.toPixels(w.min)||0;f=p(Q(h,f),0,m);h=p(Math.round(e.toPixels(Q(b.value,w.max),!0)||0),0,m);y&&(f=h=e.toPixels(w.max));z=Math.abs(f-h);t=Math.min(f,h);v=Math.max(f,h);e.isXAxis?(n={x:q?v:t,y:0,width:z,height:m},L||(n.x=c.plotHeight-n.x)):(n={x:0,y:q?v:t,width:m,height:z},L&&(n.y=c.plotWidth-n.y));q&&d.isVML&&(n=e.isXAxis?{x:0,y:K?t:v,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,y:0,width:n.height,height:c.chartHeight});k[l]?k[l].animate(n):
-k[l]=d.clipRect(n);u=a["zone-area-"+l];B=a["zone-graph-"+l];r&&B&&B.clip(k[l]);g&&u&&u.clip(k[l]);y=b.value>w.max;a.resetZones&&0===h&&(h=void 0)});this.clips=k}else a.visible&&(r&&r.show(!0),g&&g.show(!0))};e.prototype.invertGroups=function(a){function c(){["group","markerGroup"].forEach(function(c){d[c]&&(b.renderer.isVML&&d[c].attr({width:d.yAxis.len,height:d.xAxis.len}),d[c].width=d.yAxis.len,d[c].height=d.xAxis.len,d[c].invert(d.isRadialSeries?!1:a))})}var d=this,b=d.chart;d.xAxis&&(d.eventsToUnbind.push(t(b,
-"resize",c)),c(),d.invertGroups=c)};e.prototype.plotGroup=function(a,c,b,f,h){var k=this[a],n=!k;b={visibility:b,zIndex:f||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(b.opacity=this.opacity);n&&(this[a]=k=this.chart.renderer.g().add(h));k.addClass("highcharts-"+c+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(d(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(k.hasClass("highcharts-tracker")?
-" highcharts-tracker":""),!0);k.attr(b)[n?"attr":"animate"](this.getPlotBox());return k};e.prototype.getPlotBox=function(){var a=this.chart,c=this.xAxis,d=this.yAxis;a.inverted&&(c=d,d=this.xAxis);return{translateX:c?c.left:a.plotLeft,translateY:d?d.top:a.plotTop,scaleX:1,scaleY:1}};e.prototype.removeEvents=function(a){a||v(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind.length=0)};e.prototype.render=function(){var a=this,c=a.chart,d=a.options,
-b=x(d.animation),f=!a.finishedAnimating&&c.renderer.isSVG&&b.duration,h=a.visible?"inherit":"hidden",k=d.zIndex,n=a.hasRendered,r=c.seriesGroup,g=c.inverted;G(this,"render");var p=a.plotGroup("group","series",h,k,r);a.markerGroup=a.plotGroup("markerGroup","markers",h,k,r);f&&a.animate&&a.animate(!0);p.inverted=Q(a.invertible,a.isCartesian)?g:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.visible&&a.drawPoints();a.drawDataLabels&&a.drawDataLabels();a.redrawPoints&&a.redrawPoints();a.drawTracker&&
-!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(g);!1===d.clip||a.sharedClipKey||n||p.clip(c.clipRect);f&&a.animate&&a.animate();n||(f&&b.defer&&(f+=b.defer),a.animationTimeout=aa(function(){a.afterAnimate()},f||0));a.isDirty=!1;a.hasRendered=!0;G(a,"afterRender")};e.prototype.redraw=function(){var a=this.chart,c=this.isDirty||this.isDirtyData,d=this.group,b=this.xAxis,f=this.yAxis;d&&(a.inverted&&d.attr({width:a.plotWidth,height:a.plotHeight}),d.animate({translateX:Q(b&&b.left,
-a.plotLeft),translateY:Q(f&&f.top,a.plotTop)}));this.translate();this.render();c&&delete this.kdTree};e.prototype.searchPoint=function(a,c){var d=this.xAxis,b=this.yAxis,f=this.chart.inverted;return this.searchKDTree({clientX:f?d.len-a.chartY+d.pos:a.chartX-d.pos,plotY:f?b.len-a.chartX+b.pos:a.chartY-b.pos},c,a)};e.prototype.buildKDTree=function(a){function c(a,b,f){var h;if(h=a&&a.length){var k=d.kdAxisArray[b%f];a.sort(function(a,c){return a[k]-c[k]});h=Math.floor(h/2);return{point:a[h],left:c(a.slice(0,
-h),b+1,f),right:c(a.slice(h+1),b+1,f)}}}this.buildingKdTree=!0;var d=this,b=-1<d.options.findNearestPointBy.indexOf("y")?2:1;delete d.kdTree;aa(function(){d.kdTree=c(d.getValidPoints(null,!d.directTouch),b,b);d.buildingKdTree=!1},d.options.kdNow||a&&"touchstart"===a.type?0:1)};e.prototype.searchKDTree=function(a,c,b){function f(a,c,b,g){var p=c.point,e=h.kdAxisArray[b%g],m=p;var q=d(a[k])&&d(p[k])?Math.pow(a[k]-p[k],2):null;var z=d(a[n])&&d(p[n])?Math.pow(a[n]-p[n],2):null;z=(q||0)+(z||0);p.dist=
-d(z)?Math.sqrt(z):Number.MAX_VALUE;p.distX=d(q)?Math.sqrt(q):Number.MAX_VALUE;e=a[e]-p[e];z=0>e?"left":"right";q=0>e?"right":"left";c[z]&&(z=f(a,c[z],b+1,g),m=z[r]<m[r]?z:p);c[q]&&Math.sqrt(e*e)<m[r]&&(a=f(a,c[q],b+1,g),m=a[r]<m[r]?a:m);return m}var h=this,k=this.kdAxisArray[0],n=this.kdAxisArray[1],r=c?"distX":"dist";c=-1<h.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(b);if(this.kdTree)return f(a,this.kdTree,c,c)};e.prototype.pointPlacementToXValue=
-function(){var a=this.options,c=a.pointRange,d=this.xAxis;a=a.pointPlacement;"between"===a&&(a=d.reversed?-.5:.5);return r(a)?a*(c||d.pointRange):0};e.prototype.isPointInside=function(a){return"undefined"!==typeof a.plotY&&"undefined"!==typeof a.plotX&&0<=a.plotY&&a.plotY<=this.yAxis.len&&0<=a.plotX&&a.plotX<=this.xAxis.len};e.prototype.drawTracker=function(){var a=this,c=a.options,d=c.trackByArea,b=[].concat(d?a.areaPath:a.graphPath),h=a.chart,k=h.pointer,n=h.renderer,r=h.options.tooltip.snap,g=
-a.tracker,p=function(c){if(h.hoverSeries!==a)a.onMouseOver()},e="rgba(192,192,192,"+(f?.0001:.002)+")";g?g.attr({d:b}):a.graph&&(a.tracker=n.path(b).attr({visibility:a.visible?"visible":"hidden",zIndex:2}).addClass(d?"highcharts-tracker-area":"highcharts-tracker-line").add(a.group),h.styledMode||a.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:e,fill:d?e:"none","stroke-width":a.graph.strokeWidth()+(d?0:2*r)}),[a.tracker,a.markerGroup].forEach(function(a){a.addClass("highcharts-tracker").on("mouseover",
-p).on("mouseout",function(a){k.onTrackerMouseOut(a)});c.cursor&&!h.styledMode&&a.css({cursor:c.cursor});if(u)a.on("touchstart",p)}));G(this,"afterDrawTracker")};e.prototype.addPoint=function(a,c,d,b,f){var h=this.options,k=this.data,n=this.chart,r=this.xAxis;r=r&&r.hasNames&&r.names;var g=h.data,p=this.xData,e;c=Q(c,!0);var m={series:this};this.pointClass.prototype.applyOptions.apply(m,[a]);var q=m.x;var z=p.length;if(this.requireSorting&&q<p[z-1])for(e=!0;z&&p[z-1]>q;)z--;this.updateParallelArrays(m,
-"splice",z,0,0);this.updateParallelArrays(m,z);r&&m.name&&(r[q]=m.name);g.splice(z,0,a);e&&(this.data.splice(z,0,null),this.processData());"point"===h.legendType&&this.generatePoints();d&&(k[0]&&k[0].remove?k[0].remove(!1):(k.shift(),this.updateParallelArrays(m,"shift"),g.shift()));!1!==f&&G(this,"addPoint",{point:m});this.isDirtyData=this.isDirty=!0;c&&n.redraw(b)};e.prototype.removePoint=function(a,c,d){var b=this,f=b.data,h=f[a],k=b.points,n=b.chart,r=function(){k&&k.length===f.length&&k.splice(a,
-1);f.splice(a,1);b.options.data.splice(a,1);b.updateParallelArrays(h||{series:b},"splice",a,1);h&&h.destroy();b.isDirty=!0;b.isDirtyData=!0;c&&n.redraw()};g(d,n);c=Q(c,!0);h?h.firePointEvent("remove",null,r):r()};e.prototype.remove=function(a,c,d,b){function f(){h.destroy(b);k.isDirtyLegend=k.isDirtyBox=!0;k.linkSeries();Q(a,!0)&&k.redraw(c)}var h=this,k=h.chart;!1!==d?G(h,"remove",null,f):f()};e.prototype.update=function(d,b){d=a(d,this.userOptions);G(this,"update",{options:d});var f=this,k=f.chart,
-n=f.userOptions,r=f.initialType||f.type,g=k.options.plotOptions,p=d.type||n.type||k.options.chart.type,e=!(this.hasDerivedData||p&&p!==this.type||"undefined"!==typeof d.pointStart||"undefined"!==typeof d.pointInterval||f.hasOptionChanged("dataGrouping")||f.hasOptionChanged("pointStart")||f.hasOptionChanged("pointInterval")||f.hasOptionChanged("pointIntervalUnit")||f.hasOptionChanged("keys")),q=m[r].prototype,z,t=["eventOptions","navigatorSeries","baseSeries"],v=f.finishedAnimating&&{animation:!1},
-y={};e&&(t.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==d.visible&&t.push("area","graph"),f.parallelArrays.forEach(function(a){t.push(a+"Data")}),d.data&&(d.dataSorting&&h(f.options.dataSorting,d.dataSorting),this.setData(d.data,!1)));d=L(n,v,{index:"undefined"===typeof n.index?f.index:n.index,pointStart:Q(g&&g.series&&g.series.pointStart,n.pointStart,
-f.xData[0])},!e&&{data:f.options.data},d);e&&d.data&&(d.data=f.options.data);t=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(t);t.forEach(function(a){t[a]=f[a];delete f[a]});if(m[p||r]){if(n=p!==f.type,f.remove(!1,!1,!1,!0),n)if(Object.setPrototypeOf)Object.setPrototypeOf(f,m[p||r].prototype);else{n=Object.hasOwnProperty.call(f,"hcEvents")&&f.hcEvents;for(z in q)f[z]=void 0;h(f,m[p||r].prototype);n?f.hcEvents=n:delete f.hcEvents}}else c(17,!0,k,{missingModuleFor:p||r});t.forEach(function(a){f[a]=
-t[a]});f.init(k,d);if(e&&this.points){var u=f.options;!1===u.visible?(y.graphic=1,y.dataLabel=1):f._hasPointLabels||(d=u.marker,p=u.dataLabels,d&&(!1===d.enabled||"symbol"in d)&&(y.graphic=1),p&&!1===p.enabled&&(y.dataLabel=1));this.points.forEach(function(a){a&&a.series&&(a.resolveColor(),Object.keys(y).length&&a.destroyElements(y),!1===u.showInLegend&&a.legendItem&&k.legend.destroyItem(a))},this)}f.initialType=r;k.linkSeries();G(this,"afterUpdate");Q(b,!0)&&k.redraw(e?void 0:!1)};e.prototype.setName=
-function(a){this.name=this.options.name=this.userOptions.name=a;this.chart.isDirtyLegend=!0};e.prototype.hasOptionChanged=function(a){var c=this.options[a],d=this.chart.options.plotOptions,b=this.userOptions[a];return b?c!==b:c!==Q(d&&d[this.type]&&d[this.type][a],d&&d.series&&d.series[a],c)};e.prototype.onMouseOver=function(){var a=this.chart,c=a.hoverSeries;a.pointer.setHoverChartIndex();if(c&&c!==this)c.onMouseOut();this.options.events.mouseOver&&G(this,"mouseOver");this.setState("hover");a.hoverSeries=
-this};e.prototype.onMouseOut=function(){var a=this.options,c=this.chart,d=c.tooltip,b=c.hoverPoint;c.hoverSeries=null;if(b)b.onMouseOut();this&&a.events.mouseOut&&G(this,"mouseOut");!d||this.stickyTracking||d.shared&&!this.noSharedTooltip||d.hide();c.series.forEach(function(a){a.setState("",!0)})};e.prototype.setState=function(a,c){var d=this,b=d.options,f=d.graph,h=b.inactiveOtherPoints,k=b.states,n=b.lineWidth,r=b.opacity,g=Q(k[a||"normal"]&&k[a||"normal"].animation,d.chart.options.chart.animation);
-b=0;a=a||"";if(d.state!==a&&([d.group,d.markerGroup,d.dataLabelsGroup].forEach(function(c){c&&(d.state&&c.removeClass("highcharts-series-"+d.state),a&&c.addClass("highcharts-series-"+a))}),d.state=a,!d.chart.styledMode)){if(k[a]&&!1===k[a].enabled)return;a&&(n=k[a].lineWidth||n+(k[a].lineWidthPlus||0),r=Q(k[a].opacity,r));if(f&&!f.dashstyle)for(k={"stroke-width":n},f.animate(k,g);d["zone-graph-"+b];)d["zone-graph-"+b].animate(k,g),b+=1;h||[d.group,d.markerGroup,d.dataLabelsGroup,d.labelBySeries].forEach(function(a){a&&
-a.animate({opacity:r},g)})}c&&h&&d.points&&d.setAllPointsToState(a||void 0)};e.prototype.setAllPointsToState=function(a){this.points.forEach(function(c){c.setState&&c.setState(a)})};e.prototype.setVisible=function(a,c){var d=this,b=d.chart,f=d.legendItem,h=b.options.chart.ignoreHiddenSeries,k=d.visible;var n=(d.visible=a=d.options.visible=d.userOptions.visible="undefined"===typeof a?!k:a)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(a){if(d[a])d[a][n]()});
-if(b.hoverSeries===d||(b.hoverPoint&&b.hoverPoint.series)===d)d.onMouseOut();f&&b.legend.colorizeItem(d,a);d.isDirty=!0;d.options.stacking&&b.series.forEach(function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});d.linkedSeries.forEach(function(c){c.setVisible(a,!1)});h&&(b.isDirtyBox=!0);G(d,n);!1!==c&&b.redraw()};e.prototype.show=function(){this.setVisible(!0)};e.prototype.hide=function(){this.setVisible(!1)};e.prototype.select=function(a){this.selected=a=this.options.selected="undefined"===
-typeof a?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);G(this,a?"select":"unselect")};e.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:H.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:H.neutralColor20,lineColor:H.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},
-align:"center",defer:!0,formatter:function(){var a=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":a(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},
-stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"};return e}();h(e.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:F.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:J,requireSorting:!0,sorted:!0});D.series=e;"";"";return e});O(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Series/Series.js"],
-e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J){var D=e.stop,E=J.addEvent,A=J.createElement,x=J.merge,g=J.pick;"";E(F,"afterSetChartSize",function(g){var f=this.options.chart.scrollablePlotArea,e=f&&f.minWidth;f=f&&f.minHeight;if(!this.renderer.forExport){if(e){if(this.scrollablePixelsX=e=Math.max(0,e-this.chartWidth)){this.scrollablePlotBox=x(this.plotBox);this.plotWidth+=e;this.inverted?(this.clipBox.height+=e,this.plotBox.height+=e):(this.clipBox.width+=e,this.plotBox.width+=
-e);var b={1:{name:"right",value:e}}}}else f&&(this.scrollablePixelsY=e=Math.max(0,f-this.chartHeight))&&(this.scrollablePlotBox=x(this.plotBox),this.plotHeight+=e,this.inverted?(this.clipBox.width+=e,this.plotBox.width+=e):(this.clipBox.height+=e,this.plotBox.height+=e),b={2:{name:"bottom",value:e}});b&&!g.skipAxes&&this.axes.forEach(function(f){b[f.side]?f.getPlotLinePath=function(){var g=b[f.side].name,e=this[g];this[g]=e-b[f.side].value;var m=H.Axis.prototype.getPlotLinePath.apply(this,arguments);
-this[g]=e;return m}:(f.setAxisSize(),f.setAxisTranslation())})}});E(F,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});F.prototype.setUpScrolling=function(){var g=this,f={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(f.overflowX="auto");this.scrollablePixelsY&&(f.overflowY="auto");this.scrollingParent=A("div",{className:"highcharts-scrolling-parent"},
-{position:"relative"},this.renderTo);this.scrollingContainer=A("div",{className:"highcharts-scrolling"},f,this.scrollingParent);E(this.scrollingContainer,"scroll",function(){g.pointer&&delete g.pointer.chartPosition});this.innerContainer=A("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};F.prototype.moveFixedElements=function(){var g=this.container,f=this.fixedRenderer,e=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),
-b;this.scrollablePixelsX&&!this.inverted?b=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?b=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?b=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(b=".highcharts-yaxis");b&&e.push(b+":not(.highcharts-radial-axis)",b+"-labels:not(.highcharts-radial-axis-labels)");e.forEach(function(b){[].forEach.call(g.querySelectorAll(b),function(b){(b.namespaceURI===f.SVG_NS?f.box:f.box.parentNode).appendChild(b);b.style.pointerEvents="auto"})})};
-F.prototype.applyFixed=function(){var e=this,f,w,b,m=!this.fixedDiv,t=this.options.chart,I=t.scrollablePlotArea;m?(this.fixedDiv=A("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:((null===(f=t.style)||void 0===f?void 0:f.zIndex)||0)+2,top:0},null,!0),null===(w=this.scrollingContainer)||void 0===w?void 0:w.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=f=new H.Renderer(this.fixedDiv,
-this.chartWidth,this.chartHeight,null===(b=this.options.chart)||void 0===b?void 0:b.style),this.scrollableMask=f.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":g(I.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),E(this,"afterShowResetZoom",this.moveFixedElements),E(this,"afterLayOutTitles",this.moveFixedElements),E(l,"afterInit",function(){e.scrollableDirty=!0}),E(C,"show",function(){e.scrollableDirty=!0})):this.fixedRenderer.setSize(this.chartWidth,
-this.chartHeight);if(this.scrollableDirty||m)this.scrollableDirty=!1,this.moveFixedElements();b=this.chartWidth+(this.scrollablePixelsX||0);f=this.chartHeight+(this.scrollablePixelsY||0);D(this.container);this.container.style.width=b+"px";this.container.style.height=f+"px";this.renderer.boxWrapper.attr({width:b,height:f,viewBox:[0,0,b,f].join(" ")});this.chartBackground.attr({width:b,height:f});this.scrollingContainer.style.height=this.chartHeight+"px";m&&(I.scrollPositionX&&(this.scrollingContainer.scrollLeft=
-this.scrollablePixelsX*I.scrollPositionX),I.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*I.scrollPositionY));f=this.axisOffset;m=this.plotTop-f[0]-1;I=this.plotLeft-f[3]-1;b=this.plotTop+this.plotHeight+f[2]+1;f=this.plotLeft+this.plotWidth+f[1]+1;w=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0);t=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);m=this.scrollablePixelsX?[["M",0,m],["L",this.plotLeft-1,m],["L",this.plotLeft-1,b],["L",0,b],["Z"],["M",
-w,m],["L",this.chartWidth,m],["L",this.chartWidth,b],["L",w,b],["Z"]]:this.scrollablePixelsY?[["M",I,0],["L",I,this.plotTop-1],["L",f,this.plotTop-1],["L",f,0],["Z"],["M",I,t],["L",I,this.chartHeight],["L",f,this.chartHeight],["L",f,t],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:m})}});O(e,"Core/Axis/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Utilities.js"]],function(e,l){var G=e.getDeferredAnimation,C=l.addEvent,H=l.destroyObjectProperties,
-J=l.fireEvent,D=l.objectEach,E=l.pick,A=function(){function e(g){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=g}e.prototype.buildStacks=function(){var g=this.axis,e=g.series,f=E(g.options.reversedStacks,!0),w=e.length,b;if(!g.isXAxis){this.usePercentage=!1;for(b=w;b--;){var m=e[f?b:w-b-1];m.setStackedPoints();m.setGroupedPoints()}for(b=0;b<w;b++)e[b].modifyStacks();J(g,"afterBuildStacks")}};e.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var g=this.stacks=
-this.oldStacks;D(g,function(g){D(g,function(f){f.cumulative=f.total})})}};e.prototype.resetStacks=function(){var g=this,e=g.stacks;g.axis.isXAxis||D(e,function(f){D(f,function(e,b){e.touched<g.stacksTouched?(e.destroy(),delete f[b]):(e.total=null,e.cumulative=null)})})};e.prototype.renderStackTotals=function(){var g=this.axis,e=g.chart,f=e.renderer,w=this.stacks;g=G(e,g.options.stackLabels.animation);var b=this.stackTotalGroup=this.stackTotalGroup||f.g("stack-labels").attr({visibility:"visible",zIndex:6,
-opacity:0}).add();b.translate(e.plotLeft,e.plotTop);D(w,function(f){D(f,function(f){f.render(b)})});b.animate({opacity:1},g)};return e}();return function(){function e(){}e.compose=function(g){C(g,"init",e.onInit);C(g,"destroy",e.onDestroy)};e.onDestroy=function(){var g=this.stacking;if(g){var e=g.stacks;D(e,function(f,g){H(f);e[g]=null});g&&g.stackTotalGroup&&g.stackTotalGroup.destroy()}};e.onInit=function(){this.stacking||(this.stacking=new A(this))};return e}()});O(e,"Extensions/Stacking.js",[e["Core/Axis/Axis.js"],
-e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Axis/StackingAxis.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J){var D=J.correctFloat,E=J.defined,A=J.destroyObjectProperties,x=J.format,g=J.isArray,u=J.isNumber,f=J.pick;"";var w=function(){function b(b,f,g,e,p){var a=b.chart.inverted;this.axis=b;this.isNegative=g;this.options=f=f||{};this.x=e;this.total=null;this.points={};this.hasValidPoints=!1;this.stack=p;this.rightCliff=this.leftCliff=0;this.alignOptions={align:f.align||
-(a?g?"left":"right":"center"),verticalAlign:f.verticalAlign||(a?"middle":g?"bottom":"top"),y:f.y,x:f.x};this.textAlign=f.textAlign||(a?g?"right":"left":"center")}b.prototype.destroy=function(){A(this,this.axis)};b.prototype.render=function(b){var g=this.axis.chart,e=this.options,m=e.format;m=m?x(m,this,g):e.formatter.call(this);this.label?this.label.attr({text:m,visibility:"hidden"}):(this.label=g.renderer.label(m,null,null,e.shape,null,null,e.useHTML,!1,"stack-labels"),m={r:e.borderRadius||0,text:m,
-rotation:e.rotation,padding:f(e.padding,5),visibility:"hidden"},g.styledMode||(m.fill=e.backgroundColor,m.stroke=e.borderColor,m["stroke-width"]=e.borderWidth,this.label.css(e.style)),this.label.attr(m),this.label.added||this.label.add(b));this.label.labelrank=g.plotSizeY};b.prototype.setOffset=function(b,g,e,q,p){var a=this.axis,k=a.chart;q=a.translate(a.stacking.usePercentage?100:q?q:this.total,0,0,0,1);e=a.translate(e?e:0);e=E(q)&&Math.abs(q-e);b=f(p,k.xAxis[0].translate(this.x))+b;a=E(q)&&this.getStackBox(k,
-this,b,q,g,e,a);g=this.label;e=this.isNegative;b="justify"===f(this.options.overflow,"justify");var d=this.textAlign;g&&a&&(p=g.getBBox(),q=g.padding,d="left"===d?k.inverted?-q:q:"right"===d?p.width:k.inverted&&"center"===d?p.width/2:k.inverted?e?p.width+q:-q:p.width/2,e=k.inverted?p.height/2:e?-q:p.height,this.alignOptions.x=f(this.options.x,0),this.alignOptions.y=f(this.options.y,0),a.x-=d,a.y-=e,g.align(this.alignOptions,null,a),k.isInsidePlot(g.alignAttr.x+d-this.alignOptions.x,g.alignAttr.y+
-e-this.alignOptions.y)?g.show():(g.alignAttr.y=-9999,b=!1),b&&C.prototype.justifyDataLabel.call(this.axis,g,this.alignOptions,g.alignAttr,p,a),g.attr({x:g.alignAttr.x,y:g.alignAttr.y}),f(!b&&this.options.crop,!0)&&((k=u(g.x)&&u(g.y)&&k.isInsidePlot(g.x-q+g.width,g.y)&&k.isInsidePlot(g.x+q,g.y))||g.hide()))};b.prototype.getStackBox=function(b,f,g,e,p,a,k){var d=f.axis.reversed,m=b.inverted,c=k.height+k.pos-(m?b.plotLeft:b.plotTop);f=f.isNegative&&!d||!f.isNegative&&d;return{x:m?f?e-k.right:e-a+k.pos-
-b.plotLeft:g+b.xAxis[0].transB-b.plotLeft,y:m?k.height-g-p:f?c-e-a:c-e,width:m?a:p,height:m?p:a}};return b}();l.prototype.getStacks=function(){var b=this,g=b.inverted;b.yAxis.forEach(function(b){b.stacking&&b.stacking.stacks&&b.hasVisibleSeries&&(b.stacking.oldStacks=b.stacking.stacks)});b.series.forEach(function(e){var m=e.xAxis&&e.xAxis.options||{};!e.options.stacking||!0!==e.visible&&!1!==b.options.chart.ignoreHiddenSeries||(e.stackKey=[e.type,f(e.options.stack,""),g?m.top:m.left,g?m.height:m.width].join())})};
-H.compose(e);C.prototype.setGroupedPoints=function(){this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length&&C.prototype.setStackedPoints.call(this,"group")};C.prototype.setStackedPoints=function(b){var e=b||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var t=this.processedXData,u=this.processedYData,q=[],p=u.length,a=this.options,k=a.threshold,d=f(a.startFromThreshold&&k,0);
-a=a.stack;b=b?this.type+","+e:this.stackKey;var y="-"+b,c=this.negStacks,h=this.yAxis,l=h.stacking.stacks,x=h.stacking.oldStacks,A,n;h.stacking.stacksTouched+=1;for(n=0;n<p;n++){var K=t[n];var r=u[n];var z=this.getStackIndicator(z,K,this.index);var L=z.key;var B=(A=c&&r<(d?0:k))?y:b;l[B]||(l[B]={});l[B][K]||(x[B]&&x[B][K]?(l[B][K]=x[B][K],l[B][K].total=null):l[B][K]=new w(h,h.options.stackLabels,A,K,a));B=l[B][K];null!==r?(B.points[L]=B.points[this.index]=[f(B.cumulative,d)],E(B.cumulative)||(B.base=
-L),B.touched=h.stacking.stacksTouched,0<z.index&&!1===this.singleStacks&&(B.points[L][0]=B.points[this.index+","+K+",0"][0])):B.points[L]=B.points[this.index]=null;"percent"===e?(A=A?b:y,c&&l[A]&&l[A][K]?(A=l[A][K],B.total=A.total=Math.max(A.total,B.total)+Math.abs(r)||0):B.total=D(B.total+(Math.abs(r)||0))):"group"===e?(g(r)&&(r=r[0]),null!==r&&(B.total=(B.total||0)+1)):B.total=D(B.total+(r||0));B.cumulative="group"===e?(B.total||1)-1:f(B.cumulative,d)+(r||0);null!==r&&(B.points[L].push(B.cumulative),
-q[n]=B.cumulative,B.hasValidPoints=!0)}"percent"===e&&(h.stacking.usePercentage=!0);"group"!==e&&(this.stackedYData=q);h.stacking.oldStacks={}}};C.prototype.modifyStacks=function(){var b=this,f=b.stackKey,g=b.yAxis.stacking.stacks,e=b.processedXData,q,p=b.options.stacking;b[p+"Stacker"]&&[f,"-"+f].forEach(function(a){for(var f=e.length,d,m;f--;)if(d=e[f],q=b.getStackIndicator(q,d,b.index,a),m=(d=g[a]&&g[a][d])&&d.points[q.key])b[p+"Stacker"](m,d,f)})};C.prototype.percentStacker=function(b,f,g){f=
-f.total?100/f.total:0;b[0]=D(b[0]*f);b[1]=D(b[1]*f);this.stackedYData[g]=b[1]};C.prototype.getStackIndicator=function(b,f,g,e){!E(b)||b.x!==f||e&&b.key!==e?b={x:f,index:0,key:e}:b.index++;b.key=[g,f,b.index].join();return b};F.StackItem=w;return F.StackItem});O(e,"Series/Line/LineSeries.js",[e["Core/Color/Palette.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,l,F,C){var G=this&&this.__extends||function(){var e=function(l,x){e=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(g,e){g.__proto__=e}||function(g,e){for(var f in e)e.hasOwnProperty(f)&&(g[f]=e[f])};return e(l,x)};return function(l,x){function g(){this.constructor=l}e(l,x);l.prototype=null===x?Object.create(x):(g.prototype=x.prototype,new g)}}(),J=C.defined,D=C.merge;C=function(E){function A(){var e=null!==E&&E.apply(this,arguments)||this;e.data=void 0;e.options=void 0;e.points=void 0;return e}G(A,E);A.prototype.drawGraph=function(){var l=this,g=this.options,u=(this.gappedPath||
-this.getGraphPath).call(this),f=this.chart.styledMode,w=[["graph","highcharts-graph"]];f||w[0].push(g.lineColor||this.color||e.neutralColor20,g.dashStyle);w=l.getZonesGraphs(w);w.forEach(function(b,e){var m=b[0],w=l[m],q=w?"animate":"attr";w?(w.endX=l.preventGraphAnimation?null:u.xMap,w.animate({d:u})):u.length&&(l[m]=w=l.chart.renderer.path(u).addClass(b[1]).attr({zIndex:1}).add(l.group));w&&!f&&(m={stroke:b[2],"stroke-width":g.lineWidth,fill:l.fillGraph&&l.color||"none"},b[3]?m.dashstyle=b[3]:"square"!==
-g.linecap&&(m["stroke-linecap"]=m["stroke-linejoin"]="round"),w[q](m).shadow(2>e&&g.shadow));w&&(w.startX=u.xMap,w.isArea=u.isArea)})};A.prototype.getGraphPath=function(e,g,u){var f=this,w=f.options,b=w.step,m,t=[],l=[],q;e=e||f.points;(m=e.reversed)&&e.reverse();(b={right:1,center:2}[b]||b&&3)&&m&&(b=4-b);e=this.getValidPoints(e,!1,!(w.connectNulls&&!g&&!u));e.forEach(function(p,a){var k=p.plotX,d=p.plotY,m=e[a-1];(p.leftCliff||m&&m.rightCliff)&&!u&&(q=!0);p.isNull&&!J(g)&&0<a?q=!w.connectNulls:
-p.isNull&&!g?q=!0:(0===a||q?a=[["M",p.plotX,p.plotY]]:f.getPointSpline?a=[f.getPointSpline(e,p,a)]:b?(a=1===b?[["L",m.plotX,d]]:2===b?[["L",(m.plotX+k)/2,m.plotY],["L",(m.plotX+k)/2,d]]:[["L",k,m.plotY]],a.push(["L",k,d])):a=[["L",k,d]],l.push(p.x),b&&(l.push(p.x),2===b&&l.push(p.x)),t.push.apply(t,a),q=!1)});t.xMap=l;return f.graphPath=t};A.prototype.getZonesGraphs=function(e){this.zones.forEach(function(g,u){u=["zone-graph-"+u,"highcharts-graph highcharts-zone-graph-"+u+" "+(g.className||"")];this.chart.styledMode||
-u.push(g.color||this.color,g.dashStyle||this.options.dashStyle);e.push(u)},this);return e};A.defaultOptions=D(l.defaultOptions,{});return A}(l);F.registerSeriesType("line",C);"";return C});O(e,"Series/Area/AreaSeries.js",[e["Core/Color/Color.js"],e["Mixins/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,l,F,C){var G=this&&this.__extends||function(){var g=function(e,f){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||function(f,
-b){for(var g in b)b.hasOwnProperty(g)&&(f[g]=b[g])};return g(e,f)};return function(e,f){function u(){this.constructor=e}g(e,f);e.prototype=null===f?Object.create(f):(u.prototype=f.prototype,new u)}}(),J=e.parse,D=F.seriesTypes.line;e=C.extend;var E=C.merge,A=C.objectEach,x=C.pick;C=function(g){function e(){var f=null!==g&&g.apply(this,arguments)||this;f.data=void 0;f.options=void 0;f.points=void 0;return f}G(e,g);e.prototype.drawGraph=function(){this.areaPath=[];g.prototype.drawGraph.apply(this);
-var f=this,e=this.areaPath,b=this.options,m=[["area","highcharts-area",this.color,b.fillColor]];this.zones.forEach(function(g,e){m.push(["zone-area-"+e,"highcharts-area highcharts-zone-area-"+e+" "+g.className,g.color||f.color,g.fillColor||b.fillColor])});m.forEach(function(g){var m=g[0],q=f[m],p=q?"animate":"attr",a={};q?(q.endX=f.preventGraphAnimation?null:e.xMap,q.animate({d:e})):(a.zIndex=0,q=f[m]=f.chart.renderer.path(e).addClass(g[1]).add(f.group),q.isArea=!0);f.chart.styledMode||(a.fill=x(g[3],
-J(g[2]).setOpacity(x(b.fillOpacity,.75)).get()));q[p](a);q.startX=e.xMap;q.shiftUnit=b.step?2:1})};e.prototype.getGraphPath=function(f){var g=D.prototype.getGraphPath,b=this.options,e=b.stacking,t=this.yAxis,u,q=[],p=[],a=this.index,k=t.stacking.stacks[this.stackKey],d=b.threshold,y=Math.round(t.getThreshold(b.threshold));b=x(b.connectNulls,"percent"===e);var c=function(c,b,h){var g=f[c];c=e&&k[g.x].points[a];var n=g[h+"Null"]||0;h=g[h+"Cliff"]||0;g=!0;if(h||n){var m=(n?c[0]:c[1])+h;var u=c[0]+h;
-g=!!n}else!e&&f[b]&&f[b].isNull&&(m=u=d);"undefined"!==typeof m&&(p.push({plotX:l,plotY:null===m?y:t.getThreshold(m),isNull:g,isCliff:!0}),q.push({plotX:l,plotY:null===u?y:t.getThreshold(u),doCurve:!1}))};f=f||this.points;e&&(f=this.getStackPoints(f));for(u=0;u<f.length;u++){e||(f[u].leftCliff=f[u].rightCliff=f[u].leftNull=f[u].rightNull=void 0);var h=f[u].isNull;var l=x(f[u].rectPlotX,f[u].plotX);var A=e?x(f[u].yBottom,y):y;if(!h||b)b||c(u,u-1,"left"),h&&!e&&b||(p.push(f[u]),q.push({x:u,plotX:l,
-plotY:A})),b||c(u,u+1,"right")}u=g.call(this,p,!0,!0);q.reversed=!0;h=g.call(this,q,!0,!0);(A=h[0])&&"M"===A[0]&&(h[0]=["L",A[1],A[2]]);h=u.concat(h);g=g.call(this,p,!1,b);h.xMap=u.xMap;this.areaPath=h;return g};e.prototype.getStackPoints=function(f){var g=[],b=[],e=this.xAxis,t=this.yAxis,u=t.stacking.stacks[this.stackKey],q={},p=this.index,a=t.series,k=a.length,d=x(t.options.reversedStacks,!0)?1:-1,y;f=f||this.points;if(this.options.stacking){for(y=0;y<f.length;y++)f[y].leftNull=f[y].rightNull=
-void 0,q[f[y].x]=f[y];A(u,function(a,c){null!==a.total&&b.push(c)});b.sort(function(a,c){return a-c});var c=a.map(function(a){return a.visible});b.forEach(function(a,f){var h=0,m,n;if(q[a]&&!q[a].isNull)g.push(q[a]),[-1,1].forEach(function(h){var g=1===h?"rightNull":"leftNull",e=0,t=u[b[f+h]];if(t)for(y=p;0<=y&&y<k;)m=t.points[y],m||(y===p?q[a][g]=!0:c[y]&&(n=u[a].points[y])&&(e-=n[1]-n[0])),y+=d;q[a][1===h?"rightCliff":"leftCliff"]=e});else{for(y=p;0<=y&&y<k;){if(m=u[a].points[y]){h=m[1];break}y+=
-d}h=t.translate(h,0,1,0,1);g.push({isNull:!0,plotX:e.translate(a,0,0,0,1),x:a,plotY:h,yBottom:h})}})}return g};e.defaultOptions=E(D.defaultOptions,{threshold:0});return e}(D);e(C.prototype,{singleStacks:!1,drawLegendSymbol:l.drawRectangle});F.registerSeriesType("area",C);"";return C});O(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,l){var G=this&&this.__extends||function(){var e=function(l,A){e=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(e,g){e.__proto__=g}||function(e,g){for(var u in g)g.hasOwnProperty(u)&&(e[u]=g[u])};return e(l,A)};return function(l,A){function x(){this.constructor=l}e(l,A);l.prototype=null===A?Object.create(A):(x.prototype=A.prototype,new x)}}(),C=e.seriesTypes.line,H=l.merge,J=l.pick;l=function(e){function l(){var l=null!==e&&e.apply(this,arguments)||this;l.data=void 0;l.options=void 0;l.points=void 0;return l}G(l,e);l.prototype.getPointSpline=function(e,l,g){var u=l.plotX||0,f=l.plotY||0,w=e[g-
-1];g=e[g+1];if(w&&!w.isNull&&!1!==w.doCurve&&!l.isCliff&&g&&!g.isNull&&!1!==g.doCurve&&!l.isCliff){e=w.plotY||0;var b=g.plotX||0;g=g.plotY||0;var m=0;var t=(1.5*u+(w.plotX||0))/2.5;var x=(1.5*f+e)/2.5;b=(1.5*u+b)/2.5;var q=(1.5*f+g)/2.5;b!==t&&(m=(q-x)*(b-u)/(b-t)+f-q);x+=m;q+=m;x>e&&x>f?(x=Math.max(e,f),q=2*f-x):x<e&&x<f&&(x=Math.min(e,f),q=2*f-x);q>g&&q>f?(q=Math.max(g,f),x=2*f-q):q<g&&q<f&&(q=Math.min(g,f),x=2*f-q);l.rightContX=b;l.rightContY=q}l=["C",J(w.rightContX,w.plotX,0),J(w.rightContY,w.plotY,
-0),J(t,u,0),J(x,f,0),u,f];w.rightContX=w.rightContY=void 0;return l};l.defaultOptions=H(C.defaultOptions);return l}(C);e.registerSeriesType("spline",l);"";return l});O(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Area/AreaSeries.js"],e["Series/Spline/SplineSeries.js"],e["Mixins/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,l,F,C,H){var G=this&&this.__extends||function(){var e=function(g,u){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,
-g){f.__proto__=g}||function(f,g){for(var b in g)g.hasOwnProperty(b)&&(f[b]=g[b])};return e(g,u)};return function(g,u){function f(){this.constructor=g}e(g,u);g.prototype=null===u?Object.create(u):(f.prototype=u.prototype,new f)}}(),D=e.prototype,E=H.extend,A=H.merge;H=function(x){function g(){var g=null!==x&&x.apply(this,arguments)||this;g.data=void 0;g.points=void 0;g.options=void 0;return g}G(g,x);g.defaultOptions=A(l.defaultOptions,e.defaultOptions);return g}(l);E(H.prototype,{getGraphPath:D.getGraphPath,
-getStackPoints:D.getStackPoints,drawGraph:D.drawGraph,drawLegendSymbol:F.drawRectangle});C.registerSeriesType("areaspline",H);"";return H});O(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Color/Palette.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J,D,E){var A=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};return a(d,c)};return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),x=e.animObject,g=l.parse,u=F.hasTouch;e=F.noop;var f=E.clamp,w=E.css,b=E.defined,m=E.extend,t=E.fireEvent,I=E.isArray,q=E.isNumber,p=E.merge,a=E.pick,k=E.objectEach;E=function(d){function e(){var a=null!==d&&d.apply(this,arguments)||
-this;a.borderWidth=void 0;a.data=void 0;a.group=void 0;a.options=void 0;a.points=void 0;return a}A(e,d);e.prototype.animate=function(a){var c=this,d=this.yAxis,b=c.options,k=this.chart.inverted,g={},e=k?"translateX":"translateY";if(a)g.scaleY=.001,a=f(d.toPixels(b.threshold),d.pos,d.pos+d.len),k?g.translateX=a-d.len:g.translateY=a,c.clipBox&&c.setClip(),c.group.attr(g);else{var r=c.group.attr(e);c.group.animate({scaleY:1},m(x(c.options.animation),{step:function(a,b){c.group&&(g[e]=r+b.pos*(d.pos-
-r),c.group.attr(g))}}))}};e.prototype.init=function(a,b){d.prototype.init.apply(this,arguments);var c=this;a=c.chart;a.hasRendered&&a.series.forEach(function(a){a.type===c.type&&(a.isDirty=!0)})};e.prototype.getColumnMetrics=function(){var c=this,d=c.options,b=c.xAxis,f=c.yAxis,k=b.options.reversedStacks;k=b.reversed&&!k||!b.reversed&&k;var g,e={},r=0;!1===d.grouping?r=1:c.chart.series.forEach(function(a){var d=a.yAxis,b=a.options;if(a.type===c.type&&(a.visible||!c.chart.options.chart.ignoreHiddenSeries)&&
-f.len===d.len&&f.pos===d.pos){if(b.stacking&&"group"!==b.stacking){g=a.stackKey;"undefined"===typeof e[g]&&(e[g]=r++);var k=e[g]}else!1!==b.grouping&&(k=r++);a.columnIndex=k}});var p=Math.min(Math.abs(b.transA)*(b.ordinal&&b.ordinal.slope||d.pointRange||b.closestPointRange||b.tickInterval||1),b.len),m=p*d.groupPadding,q=(p-2*m)/(r||1);d=Math.min(d.maxPointWidth||b.len,a(d.pointWidth,q*(1-2*d.pointPadding)));c.columnMetrics={width:d,offset:(q-d)/2+(m+((c.columnIndex||0)+(k?1:0))*q-p/2)*(k?-1:1),paddedWidth:q,
-columnCount:r};return c.columnMetrics};e.prototype.crispCol=function(a,d,b,f){var c=this.chart,k=this.borderWidth,h=-(k%2?.5:0);k=k%2?.5:1;c.inverted&&c.renderer.isVML&&(k+=1);this.options.crisp&&(b=Math.round(a+b)+h,a=Math.round(a)+h,b-=a);f=Math.round(d+f)+k;h=.5>=Math.abs(d)&&.5<f;d=Math.round(d)+k;f-=d;h&&f&&(--d,f+=1);return{x:a,y:d,width:b,height:f}};e.prototype.adjustForMissingColumns=function(a,d,b,f){var c=this,h=this.options.stacking;if(!b.isNull&&1<f.columnCount){var g=0,e=0;k(this.yAxis.stacking&&
-this.yAxis.stacking.stacks,function(a){if("number"===typeof b.x&&(a=a[b.x.toString()])){var d=a.points[c.index],f=a.total;h?(d&&(g=e),a.hasValidPoints&&e++):I(d)&&(g=d[1],e=f||0)}});a=(b.plotX||0)+((e-1)*f.paddedWidth+d)/2-d-g*f.paddedWidth}return a};e.prototype.translate=function(){var c=this,d=c.chart,k=c.options,g=c.dense=2>c.closestPointRange*c.xAxis.transA;g=c.borderWidth=a(k.borderWidth,g?0:1);var e=c.xAxis,n=c.yAxis,p=k.threshold,r=c.translatedThreshold=n.getThreshold(p),m=a(k.minPointLength,
-5),t=c.getColumnMetrics(),u=t.width,y=c.barW=Math.max(u,1+2*g),v=c.pointXOffset=t.offset,l=c.dataMin,w=c.dataMax;d.inverted&&(r-=.5);k.pointPadding&&(y=Math.ceil(y));J.prototype.translate.apply(c);c.points.forEach(function(h){var g=a(h.yBottom,r),z=999+Math.abs(g),B=u,L=h.plotX||0;z=f(h.plotY,-z,n.len+z);var K=L+v,x=y,I=Math.min(z,g),A=Math.max(z,g)-I;if(m&&Math.abs(A)<m){A=m;var M=!n.reversed&&!h.negative||n.reversed&&h.negative;q(p)&&q(w)&&h.y===p&&w<=p&&(n.min||0)<p&&(l!==w||(n.max||0)<=p)&&(M=
-!M);I=Math.abs(I-r)>m?g-m:r-(M?m:0)}b(h.options.pointWidth)&&(B=x=Math.ceil(h.options.pointWidth),K-=Math.round((B-u)/2));k.centerInCategory&&(K=c.adjustForMissingColumns(K,B,h,t));h.barX=K;h.pointWidth=B;h.tooltipPos=d.inverted?[f(n.len+n.pos-d.plotLeft-z,n.pos-d.plotLeft,n.len+n.pos-d.plotLeft),e.len+e.pos-d.plotTop-(L||0)-v-x/2,A]:[e.left-d.plotLeft+K+x/2,f(z+n.pos-d.plotTop,n.pos-d.plotTop,n.len+n.pos-d.plotTop),A];h.shapeType=c.pointClass.prototype.shapeType||"rect";h.shapeArgs=c.crispCol.apply(c,
-h.isNull?[K,r,x,0]:[K,I,x,A])})};e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};e.prototype.pointAttribs=function(c,d){var b=this.options,f=this.pointAttrToOptions||{};var k=f.stroke||"borderColor";var h=f["stroke-width"]||"borderWidth",e=c&&c.color||this.color,r=c&&c[k]||b[k]||this.color||e,m=c&&c[h]||b[h]||this[h]||0;f=c&&c.options.dashStyle||b.dashStyle;var q=a(c&&c.opacity,b.opacity,1);if(c&&this.zones.length){var t=c.getZone();e=c.options.color||
-t&&(t.color||c.nonZonedColor)||this.color;t&&(r=t.borderColor||r,f=t.dashStyle||f,m=t.borderWidth||m)}d&&c&&(c=p(b.states[d],c.options.states&&c.options.states[d]||{}),d=c.brightness,e=c.color||"undefined"!==typeof d&&g(e).brighten(c.brightness).get()||e,r=c[k]||r,m=c[h]||m,f=c.dashStyle||f,q=a(c.opacity,q));k={fill:e,stroke:r,"stroke-width":m,opacity:q};f&&(k.dashstyle=f);return k};e.prototype.drawPoints=function(){var a=this,d=this.chart,b=a.options,f=d.renderer,k=b.animationLimit||250,g;a.points.forEach(function(c){var h=
-c.graphic,e=!!h,n=h&&d.pointCount<k?"animate":"attr";if(q(c.plotY)&&null!==c.y){g=c.shapeArgs;h&&c.hasNewShapeType()&&(h=h.destroy());a.enabledDataSorting&&(c.startXPos=a.xAxis.reversed?-(g?g.width:0):a.xAxis.width);h||(c.graphic=h=f[c.shapeType](g).add(c.group||a.group))&&a.enabledDataSorting&&d.hasRendered&&d.pointCount<k&&(h.attr({x:c.startXPos}),e=!0,n="animate");if(h&&e)h[n](p(g));if(b.borderRadius)h[n]({r:b.borderRadius});d.styledMode||h[n](a.pointAttribs(c,c.selected&&"select")).shadow(!1!==
-c.allowShadow&&b.shadow,null,b.stacking&&!b.borderRadius);h&&(h.addClass(c.getClassName(),!0),h.attr({visibility:c.visible?"inherit":"hidden"}))}else h&&(c.graphic=h.destroy())})};e.prototype.drawTracker=function(){var a=this,d=a.chart,b=d.pointer,f=function(a){var c=b.getPointFromEvent(a);"undefined"!==typeof c&&(b.isDirectTouch=!0,c.onMouseOver(a))},k;a.points.forEach(function(a){k=I(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[];a.graphic&&(a.graphic.element.point=a);k.forEach(function(c){c.div?
-c.div.point=a:c.element.point=a})});a._hasTracking||(a.trackerGroups.forEach(function(c){if(a[c]){a[c].addClass("highcharts-tracker").on("mouseover",f).on("mouseout",function(a){b.onTrackerMouseOut(a)});if(u)a[c].on("touchstart",f);!d.styledMode&&a.options.cursor&&a[c].css(w).css({cursor:a.options.cursor})}}),a._hasTracking=!0);t(this,"afterDrawTracker")};e.prototype.remove=function(){var a=this,d=a.chart;d.hasRendered&&d.series.forEach(function(c){c.type===a.type&&(c.isDirty=!0)});J.prototype.remove.apply(a,
-arguments)};e.defaultOptions=p(J.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:H.neutralColor20,borderColor:H.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:H.backgroundColor});return e}(J);m(E.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:C.drawRectangle,
-getSymbol:e,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]});D.registerSeriesType("column",E);"";"";return E});O(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,l,F){var G=this&&this.__extends||function(){var e=function(l,A){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var u in g)g.hasOwnProperty(u)&&(e[u]=g[u])};return e(l,A)};return function(l,
-A){function x(){this.constructor=l}e(l,A);l.prototype=null===A?Object.create(A):(x.prototype=A.prototype,new x)}}(),H=F.extend,J=F.merge;F=function(l){function E(){var e=null!==l&&l.apply(this,arguments)||this;e.data=void 0;e.options=void 0;e.points=void 0;return e}G(E,l);E.defaultOptions=J(e.defaultOptions,{});return E}(e);H(F.prototype,{inverted:!0});l.registerSeriesType("bar",F);"";return F});O(e,"Series/Scatter/ScatterSeries.js",[e["Series/Column/ColumnSeries.js"],e["Series/Line/LineSeries.js"],
-e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,l,F,C){var G=this&&this.__extends||function(){var e=function(l,g){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,f){e.__proto__=f}||function(e,f){for(var g in f)f.hasOwnProperty(g)&&(e[g]=f[g])};return e(l,g)};return function(l,g){function u(){this.constructor=l}e(l,g);l.prototype=null===g?Object.create(g):(u.prototype=g.prototype,new u)}}(),J=C.addEvent,D=C.extend,E=C.merge;C=function(e){function x(){var g=
-null!==e&&e.apply(this,arguments)||this;g.data=void 0;g.options=void 0;g.points=void 0;return g}G(x,e);x.prototype.applyJitter=function(){var e=this,u=this.options.jitter,f=this.points.length;u&&this.points.forEach(function(g,b){["x","y"].forEach(function(m,t){var l="plot"+m.toUpperCase();if(u[m]&&!g.isNull){var q=e[m+"Axis"];var p=u[m]*q.transA;if(q&&!q.isLog){var a=Math.max(0,g[l]-p);q=Math.min(q.len,g[l]+p);t=1E4*Math.sin(b+t*f);g[l]=a+(q-a)*(t-Math.floor(t));"x"===m&&(g.clientX=g.plotX)}}})})};
-x.prototype.drawGraph=function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&e.prototype.drawGraph.call(this)};x.defaultOptions=E(l.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}});return x}(l);D(C.prototype,{drawTracker:e.prototype.drawTracker,
-sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});J(C,"afterTranslate",function(){this.applyJitter()});F.registerSeriesType("scatter",C);"";return C});O(e,"Mixins/CenteredSeries.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(e,l,F){var G=F.isNumber,H=F.pick,J=F.relativeLength,D=e.deg2rad;return e.CenteredSeriesMixin={getCenter:function(){var e=this.options,A=this.chart,x=2*(e.slicedOffset||
-0),g=A.plotWidth-2*x,u=A.plotHeight-2*x,f=e.center,w=Math.min(g,u),b=e.size,m=e.innerSize||0;"string"===typeof b&&(b=parseFloat(b));"string"===typeof m&&(m=parseFloat(m));e=[H(f[0],"50%"),H(f[1],"50%"),H(b&&0>b?void 0:e.size,"100%"),H(m&&0>m?void 0:e.innerSize||0,"0%")];!A.angular||this instanceof l||(e[3]=0);for(f=0;4>f;++f)b=e[f],A=2>f||2===f&&/%$/.test(b),e[f]=J(b,[g,u,w,e[2]][f])+(A?x:0);e[3]>e[2]&&(e[3]=e[2]);return e},getStartAndEndRadians:function(e,l){e=G(e)?e:0;l=G(l)&&l>e&&360>l-e?l:e+360;
-return{start:D*(e+-90),end:D*(l+-90)}}}});O(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,l,F){var G=this&&this.__extends||function(){var e=function(g,f){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||function(f,b){for(var e in b)b.hasOwnProperty(e)&&(f[e]=b[e])};return e(g,f)};return function(g,f){function l(){this.constructor=g}e(g,f);g.prototype=null===f?Object.create(f):
-(l.prototype=f.prototype,new l)}}(),H=e.setAnimation,J=F.addEvent,D=F.defined;e=F.extend;var E=F.isNumber,A=F.pick,x=F.relativeLength;F=function(e){function g(){var f=null!==e&&e.apply(this,arguments)||this;f.labelDistance=void 0;f.options=void 0;f.series=void 0;return f}G(g,e);g.prototype.getConnectorPath=function(){var f=this.labelPosition,e=this.series.options.dataLabels,b=e.connectorShape,g=this.connectorShapes;g[b]&&(b=g[b]);return b.call(this,{x:f.final.x,y:f.final.y,alignment:f.alignment},
-f.connectorPosition,e)};g.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};g.prototype.haloPath=function(f){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+f,e.r+f,{innerR:e.r-1,start:e.start,end:e.end})};g.prototype.init=function(){l.prototype.init.apply(this,arguments);var f=this;f.name=A(f.name,"Slice");var e=function(b){f.slice("select"===b.type)};J(f,"select",e);J(f,"unselect",
-e);return f};g.prototype.isValid=function(){return E(this.y)&&0<=this.y};g.prototype.setVisible=function(f,e){var b=this,g=b.series,t=g.chart,l=g.options.ignoreHiddenPoint;e=A(e,l);f!==b.visible&&(b.visible=b.options.visible=f="undefined"===typeof f?!b.visible:f,g.options.data[g.data.indexOf(b)]=b.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(e){if(b[e])b[e][f?"show":"hide"](f)}),b.legendItem&&t.legend.colorizeItem(b,f),f||"hover"!==b.state||b.setState(""),l&&(g.isDirty=
-!0),e&&t.redraw())};g.prototype.slice=function(f,e,b){var g=this.series;H(b,g.chart);A(e,!0);this.sliced=this.options.sliced=D(f)?f:!this.sliced;g.options.data[g.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return g}(l);e(F.prototype,{connectorShapes:{fixedOffset:function(e,l,f){var g=l.breakAt;l=l.touchingSliceAt;return[["M",e.x,e.y],f.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,
-2*g.x-l.x,2*g.y-l.y,g.x,g.y]:["L",g.x,g.y],["L",l.x,l.y]]},straight:function(e,l){l=l.touchingSliceAt;return[["M",e.x,e.y],["L",l.x,l.y]]},crookedLine:function(e,l,f){l=l.touchingSliceAt;var g=this.series,b=g.center[0],m=g.chart.plotWidth,t=g.chart.plotLeft;g=e.alignment;var u=this.shapeArgs.r;f=x(f.crookDistance,1);m="left"===g?b+u+(m+t-b-u)*(1-f):t+(b-u)*f;f=["L",m,e.y];b=!0;if("left"===g?m>e.x||m<l.x:m<e.x||m>l.x)b=!1;e=[["M",e.x,e.y]];b&&e.push(f);e.push(["L",l.x,l.y]);return e}}});return F});
-O(e,"Series/Pie/PieSeries.js",[e["Mixins/CenteredSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Color/Palette.js"],e["Series/Pie/PiePoint.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J,D,E,A,x){var g=this&&this.__extends||function(){var b=function(f,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,
-d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return b(f,a)};return function(f,a){function k(){this.constructor=f}b(f,a);f.prototype=null===a?Object.create(a):(k.prototype=a.prototype,new k)}}(),u=e.getStartAndEndRadians;F=F.noop;var f=x.clamp,w=x.extend,b=x.fireEvent,m=x.merge,t=x.pick,I=x.relativeLength;x=function(e){function p(){var a=null!==e&&e.apply(this,arguments)||this;a.center=void 0;a.data=void 0;a.maxLabelDistance=void 0;a.options=void 0;a.points=void 0;return a}g(p,e);p.prototype.animate=
-function(a){var b=this,d=b.points,f=b.startAngleRad;a||d.forEach(function(a){var c=a.graphic,d=a.shapeArgs;c&&d&&(c.attr({r:t(a.startR,b.center&&b.center[3]/2),start:f,end:f}),c.animate({r:d.r,start:d.start,end:d.end},b.options.animation))})};p.prototype.drawEmpty=function(){var a=this.startAngleRad,b=this.endAngleRad,d=this.options;if(0===this.total&&this.center){var f=this.center[0];var c=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(f,c,this.center[1]/2,0,a,b).addClass("highcharts-empty-series").add(this.group));
-this.graph.attr({d:A.prototype.symbols.arc(f,c,this.center[2]/2,0,{start:a,end:b,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":d.borderWidth,fill:d.fillColor||"none",stroke:d.color||H.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())};p.prototype.drawPoints=function(){var a=this.chart.renderer;this.points.forEach(function(b){b.graphic&&b.hasNewShapeType()&&(b.graphic=b.graphic.destroy());b.graphic||(b.graphic=a[b.shapeType](b.shapeArgs).add(b.series.group),
-b.delayedRendering=!0)})};p.prototype.generatePoints=function(){e.prototype.generatePoints.call(this);this.updateTotals()};p.prototype.getX=function(a,b,d){var k=this.center,c=this.radii?this.radii[d.index]||0:k[2]/2;a=Math.asin(f((a-k[1])/(c+d.labelDistance),-1,1));return k[0]+(b?-1:1)*Math.cos(a)*(c+d.labelDistance)+(0<d.labelDistance?(b?-1:1)*this.options.dataLabels.padding:0)};p.prototype.hasData=function(){return!!this.processedXData.length};p.prototype.redrawPoints=function(){var a=this,b=a.chart,
-d=b.renderer,f,c,h,e,g=a.options.shadow;this.drawEmpty();!g||a.shadowGroup||b.styledMode||(a.shadowGroup=d.g("shadow").attr({zIndex:-1}).add(a.group));a.points.forEach(function(k){var n={};c=k.graphic;if(!k.isNull&&c){e=k.shapeArgs;f=k.getTranslate();if(!b.styledMode){var p=k.shadowGroup;g&&!p&&(p=k.shadowGroup=d.g("shadow").add(a.shadowGroup));p&&p.attr(f);h=a.pointAttribs(k,k.selected&&"select")}k.delayedRendering?(c.setRadialReference(a.center).attr(e).attr(f),b.styledMode||c.attr(h).attr({"stroke-linejoin":"round"}).shadow(g,
-p),k.delayedRendering=!1):(c.setRadialReference(a.center),b.styledMode||m(!0,n,h),m(!0,n,e,f),c.animate(n));c.attr({visibility:k.visible?"inherit":"hidden"});c.addClass(k.getClassName(),!0)}else c&&(k.graphic=c.destroy())})};p.prototype.sortByAngle=function(a,b){a.sort(function(a,f){return"undefined"!==typeof a.angle&&(f.angle-a.angle)*b})};p.prototype.translate=function(a){this.generatePoints();var f=0,d=this.options,e=d.slicedOffset,c=e+(d.borderWidth||0),h=u(d.startAngle,d.endAngle),g=this.startAngleRad=
-h.start;h=(this.endAngleRad=h.end)-g;var p=this.points,m=d.dataLabels.distance;d=d.ignoreHiddenPoint;var n,q=p.length;a||(this.center=a=this.getCenter());for(n=0;n<q;n++){var r=p[n];var z=g+f*h;!r.isValid()||d&&!r.visible||(f+=r.percentage/100);var l=g+f*h;r.shapeType="arc";r.shapeArgs={x:a[0],y:a[1],r:a[2]/2,innerR:a[3]/2,start:Math.round(1E3*z)/1E3,end:Math.round(1E3*l)/1E3};r.labelDistance=t(r.options.dataLabels&&r.options.dataLabels.distance,m);r.labelDistance=I(r.labelDistance,r.shapeArgs.r);
-this.maxLabelDistance=Math.max(this.maxLabelDistance||0,r.labelDistance);l=(l+z)/2;l>1.5*Math.PI?l-=2*Math.PI:l<-Math.PI/2&&(l+=2*Math.PI);r.slicedTranslation={translateX:Math.round(Math.cos(l)*e),translateY:Math.round(Math.sin(l)*e)};var B=Math.cos(l)*a[2]/2;var w=Math.sin(l)*a[2]/2;r.tooltipPos=[a[0]+.7*B,a[1]+.7*w];r.half=l<-Math.PI/2||l>Math.PI/2?1:0;r.angle=l;z=Math.min(c,r.labelDistance/5);r.labelPosition={natural:{x:a[0]+B+Math.cos(l)*r.labelDistance,y:a[1]+w+Math.sin(l)*r.labelDistance},"final":{},
-alignment:0>r.labelDistance?"center":r.half?"right":"left",connectorPosition:{breakAt:{x:a[0]+B+Math.cos(l)*z,y:a[1]+w+Math.sin(l)*z},touchingSliceAt:{x:a[0]+B,y:a[1]+w}}}}b(this,"afterTranslate")};p.prototype.updateTotals=function(){var a,b=0,d=this.points,f=d.length,c=this.options.ignoreHiddenPoint;for(a=0;a<f;a++){var h=d[a];!h.isValid()||c&&!h.visible||(b+=h.y)}this.total=b;for(a=0;a<f;a++)h=d[a],h.percentage=0<b&&(h.visible||!c)?h.y/b*100:0,h.total=b};p.defaultOptions=m(D.defaultOptions,{center:[null,
-null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:H.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}});
-return p}(D);w(x.prototype,{axisTypes:[],directTouch:!0,drawGraph:null,drawLegendSymbol:C.drawRectangle,drawTracker:l.prototype.drawTracker,getCenter:e.getCenter,getSymbol:F,isCartesian:!1,noSharedTooltip:!0,pointAttribs:l.prototype.pointAttribs,pointClass:J,requireSorting:!1,searchPoint:F,trackerGroups:["group","dataLabelsGroup"]});E.registerSeriesType("pie",x);"";return x});O(e,"Core/Series/DataLabels.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],
-e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J){var D=e.getDeferredAnimation;e=l.noop;H=H.seriesTypes;var E=J.arrayMax,A=J.clamp,x=J.defined,g=J.extend,u=J.fireEvent,f=J.format,w=J.isArray,b=J.merge,m=J.objectEach,t=J.pick,I=J.relativeLength,q=J.splat,p=J.stableSort;"";l.distribute=function(a,b,d){function f(a,c){return a.target-c.target}var c,k=!0,e=a,g=[];var m=0;var n=e.reducedLen||b;for(c=a.length;c--;)m+=a[c].size;if(m>n){p(a,function(a,
-c){return(c.rank||0)-(a.rank||0)});for(m=c=0;m<=n;)m+=a[c].size,c++;g=a.splice(c-1,a.length)}p(a,f);for(a=a.map(function(a){return{size:a.size,targets:[a.target],align:t(a.align,.5)}});k;){for(c=a.length;c--;)k=a[c],m=(Math.min.apply(0,k.targets)+Math.max.apply(0,k.targets))/2,k.pos=A(m-k.size*k.align,0,b-k.size);c=a.length;for(k=!1;c--;)0<c&&a[c-1].pos+a[c-1].size>a[c].pos&&(a[c-1].size+=a[c].size,a[c-1].targets=a[c-1].targets.concat(a[c].targets),a[c-1].align=.5,a[c-1].pos+a[c-1].size>b&&(a[c-1].pos=
-b-a[c-1].size),a.splice(c,1),k=!0)}e.push.apply(e,g);c=0;a.some(function(a){var f=0;if(a.targets.some(function(){e[c].pos=a.pos+f;if("undefined"!==typeof d&&Math.abs(e[c].pos-e[c].target)>d)return e.slice(0,c+1).forEach(function(a){delete a.pos}),e.reducedLen=(e.reducedLen||b)-.1*b,e.reducedLen>.1*b&&l.distribute(e,b,d),!0;f+=e[c].size;c++}))return!0});p(e,f)};C.prototype.drawDataLabels=function(){function a(a,c){var d=c.filter;return d?(c=d.operator,a=a[d.property],d=d.value,">"===c&&a>d||"<"===
-c&&a<d||">="===c&&a>=d||"<="===c&&a<=d||"=="===c&&a==d||"==="===c&&a===d?!0:!1):!0}function k(a,c){var d=[],f;if(w(a)&&!w(c))d=a.map(function(a){return b(a,c)});else if(w(c)&&!w(a))d=c.map(function(c){return b(a,c)});else if(w(a)||w(c))for(f=Math.max(a.length,c.length);f--;)d[f]=b(a[f],c[f]);else d=b(a,c);return d}var d=this,e=d.chart,c=d.options,h=c.dataLabels,g=d.points,p,l=d.hasRendered||0,n=h.animation;n=h.defer?D(e,n,d):{defer:0,duration:0};var K=e.renderer;h=k(k(e.options.plotOptions&&e.options.plotOptions.series&&
-e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[d.type]&&e.options.plotOptions[d.type].dataLabels),h);u(this,"drawDataLabels");if(w(h)||h.enabled||d._hasPointLabels){var r=d.plotGroup("dataLabelsGroup","data-labels",l?"inherit":"hidden",h.zIndex||6);r.attr({opacity:+l});!l&&(l=d.dataLabelsGroup)&&(d.visible&&r.show(!0),l[c.animation?"animate":"attr"]({opacity:1},n));g.forEach(function(b){p=q(k(h,b.dlOptions||b.options&&b.options.dataLabels));p.forEach(function(k,
-h){var g=k.enabled&&(!b.isNull||b.dataLabelOnNull)&&a(b,k),n=b.dataLabels?b.dataLabels[h]:b.dataLabel,p=b.connectors?b.connectors[h]:b.connector,q=t(k.distance,b.labelDistance),z=!n;if(g){var l=b.getLabelConfig();var u=t(k[b.formatPrefix+"Format"],k.format);l=x(u)?f(u,l,e):(k[b.formatPrefix+"Formatter"]||k.formatter).call(l,k);u=k.style;var y=k.rotation;e.styledMode||(u.color=t(k.color,u.color,d.color,F.neutralColor100),"contrast"===u.color?(b.contrastColor=K.getContrast(b.color||d.color),u.color=
-!x(q)&&k.inside||0>q||c.stacking?b.contrastColor:F.neutralColor100):delete b.contrastColor,c.cursor&&(u.cursor=c.cursor));var B={r:k.borderRadius||0,rotation:y,padding:k.padding,zIndex:1};e.styledMode||(B.fill=k.backgroundColor,B.stroke=k.borderColor,B["stroke-width"]=k.borderWidth);m(B,function(a,c){"undefined"===typeof a&&delete B[c]})}!n||g&&x(l)?g&&x(l)&&(n?B.text=l:(b.dataLabels=b.dataLabels||[],n=b.dataLabels[h]=y?K.text(l,0,-9999,k.useHTML).addClass("highcharts-data-label"):K.label(l,0,-9999,
-k.shape,null,null,k.useHTML,null,"data-label"),h||(b.dataLabel=n),n.addClass(" highcharts-data-label-color-"+b.colorIndex+" "+(k.className||"")+(k.useHTML?" highcharts-tracker":""))),n.options=k,n.attr(B),e.styledMode||n.css(u).shadow(k.shadow),n.added||n.add(r),k.textPath&&!k.useHTML&&(n.setTextPath(b.getDataLabelPath&&b.getDataLabelPath(n)||b.graphic,k.textPath),b.dataLabelPath&&!k.textPath.enabled&&(b.dataLabelPath=b.dataLabelPath.destroy())),d.alignDataLabel(b,n,k,null,z)):(b.dataLabel=b.dataLabel&&
-b.dataLabel.destroy(),b.dataLabels&&(1===b.dataLabels.length?delete b.dataLabels:delete b.dataLabels[h]),h||delete b.dataLabel,p&&(b.connector=b.connector.destroy(),b.connectors&&(1===b.connectors.length?delete b.connectors:delete b.connectors[h])))})})}u(this,"afterDrawDataLabels")};C.prototype.alignDataLabel=function(a,b,d,f,c){var k=this,e=this.chart,p=this.isCartesian&&e.inverted,m=this.enabledDataSorting,n=t(a.dlBox&&a.dlBox.centerX,a.plotX,-9999),q=t(a.plotY,-9999),r=b.getBBox(),z=d.rotation,
-l=d.align,u=e.isInsidePlot(n,Math.round(q),p),y="justify"===t(d.overflow,m?"none":"justify"),v=this.visible&&!1!==a.visible&&(a.series.forceDL||m&&!y||u||d.inside&&f&&e.isInsidePlot(n,p?f.x+1:f.y+f.height-1,p));var w=function(d){m&&k.xAxis&&!y&&k.setDataLabelStartPos(a,b,c,u,d)};if(v){var x=e.renderer.fontMetrics(e.styledMode?void 0:d.style.fontSize,b).b;f=g({x:p?this.yAxis.len-q:n,y:Math.round(p?this.xAxis.len-n:q),width:0,height:0},f);g(d,{width:r.width,height:r.height});z?(y=!1,n=e.renderer.rotCorr(x,
-z),n={x:f.x+(d.x||0)+f.width/2+n.x,y:f.y+(d.y||0)+{top:0,middle:.5,bottom:1}[d.verticalAlign]*f.height},w(n),b[c?"attr":"animate"](n).attr({align:l}),w=(z+720)%360,w=180<w&&360>w,"left"===l?n.y-=w?r.height:0:"center"===l?(n.x-=r.width/2,n.y-=r.height/2):"right"===l&&(n.x-=r.width,n.y-=w?0:r.height),b.placed=!0,b.alignAttr=n):(w(f),b.align(d,null,f),n=b.alignAttr);y&&0<=f.height?this.justifyDataLabel(b,d,n,r,f,c):t(d.crop,!0)&&(v=e.isInsidePlot(n.x,n.y)&&e.isInsidePlot(n.x+r.width,n.y+r.height));if(d.shape&&
-!z)b[c?"attr":"animate"]({anchorX:p?e.plotWidth-a.plotY:a.plotX,anchorY:p?e.plotHeight-a.plotX:a.plotY})}c&&m&&(b.placed=!1);v||m&&!y||(b.hide(!0),b.placed=!1)};C.prototype.setDataLabelStartPos=function(a,b,d,f,c){var k=this.chart,e=k.inverted,g=this.xAxis,p=g.reversed,n=e?b.height/2:b.width/2;a=(a=a.pointWidth)?a/2:0;g=e?c.x:p?-n-a:g.width-n+a;c=e?p?this.yAxis.height-n+a:-n-a:c.y;b.startXPos=g;b.startYPos=c;f?"hidden"===b.visibility&&(b.show(),b.attr({opacity:0}).animate({opacity:1})):b.attr({opacity:1}).animate({opacity:0},
-void 0,b.hide);k.hasRendered&&(d&&b.attr({x:b.startXPos,y:b.startYPos}),b.placed=!0)};C.prototype.justifyDataLabel=function(a,b,d,f,c,e){var k=this.chart,h=b.align,g=b.verticalAlign,n=a.box?0:a.padding||0,p=b.x;p=void 0===p?0:p;var r=b.y;var m=void 0===r?0:r;r=d.x+n;if(0>r){"right"===h&&0<=p?(b.align="left",b.inside=!0):p-=r;var q=!0}r=d.x+f.width-n;r>k.plotWidth&&("left"===h&&0>=p?(b.align="right",b.inside=!0):p+=k.plotWidth-r,q=!0);r=d.y+n;0>r&&("bottom"===g&&0<=m?(b.verticalAlign="top",b.inside=
-!0):m-=r,q=!0);r=d.y+f.height-n;r>k.plotHeight&&("top"===g&&0>=m?(b.verticalAlign="bottom",b.inside=!0):m+=k.plotHeight-r,q=!0);q&&(b.x=p,b.y=m,a.placed=!e,a.align(b,void 0,c));return q};H.pie&&(H.pie.prototype.dataLabelPositioners={radialDistributionY:function(a){return a.top+a.distributeBox.pos},radialDistributionX:function(a,b,d,f){return a.getX(d<b.top+2||d>b.bottom-2?f:d,b.half,b)},justify:function(a,b,d){return d[0]+(a.half?-1:1)*(b+a.labelDistance)},alignToPlotEdges:function(a,b,d,f){a=a.getBBox().width;
-return b?a+f:d-a-f},alignToConnectors:function(a,b,d,f){var c=0,e;a.forEach(function(a){e=a.dataLabel.getBBox().width;e>c&&(c=e)});return b?c+f:d-c-f}},H.pie.prototype.drawDataLabels=function(){var a=this,f=a.data,d,e=a.chart,c=a.options.dataLabels||{},h=c.connectorPadding,g,p=e.plotWidth,m=e.plotHeight,n=e.plotLeft,q=Math.round(e.chartWidth/3),r,z=a.center,u=z[2]/2,B=z[1],w,v,I,A,D=[[],[]],G,H,J,O,U=[0,0,0,0],Z=a.dataLabelPositioners,V;a.visible&&(c.enabled||a._hasPointLabels)&&(f.forEach(function(a){a.dataLabel&&
-a.visible&&a.dataLabel.shortened&&(a.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),a.dataLabel.shortened=!1)}),C.prototype.drawDataLabels.apply(a),f.forEach(function(a){a.dataLabel&&(a.visible?(D[a.half].push(a),a.dataLabel._pos=null,!x(c.style.width)&&!x(a.options.dataLabels&&a.options.dataLabels.style&&a.options.dataLabels.style.width)&&a.dataLabel.getBBox().width>q&&(a.dataLabel.css({width:Math.round(.7*q)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),
-a.dataLabels&&1===a.dataLabels.length&&delete a.dataLabels))}),D.forEach(function(b,f){var k=b.length,g=[],r;if(k){a.sortByAngle(b,f-.5);if(0<a.maxLabelDistance){var q=Math.max(0,B-u-a.maxLabelDistance);var y=Math.min(B+u+a.maxLabelDistance,e.plotHeight);b.forEach(function(a){0<a.labelDistance&&a.dataLabel&&(a.top=Math.max(0,B-u-a.labelDistance),a.bottom=Math.min(B+u+a.labelDistance,e.plotHeight),r=a.dataLabel.getBBox().height||21,a.distributeBox={target:a.labelPosition.natural.y-a.top+r/2,size:r,
-rank:a.y},g.push(a.distributeBox))});q=y+r-q;l.distribute(g,q,q/5)}for(O=0;O<k;O++){d=b[O];I=d.labelPosition;w=d.dataLabel;J=!1===d.visible?"hidden":"inherit";H=q=I.natural.y;g&&x(d.distributeBox)&&("undefined"===typeof d.distributeBox.pos?J="hidden":(A=d.distributeBox.size,H=Z.radialDistributionY(d)));delete d.positionIndex;if(c.justify)G=Z.justify(d,u,z);else switch(c.alignTo){case "connectors":G=Z.alignToConnectors(b,f,p,n);break;case "plotEdges":G=Z.alignToPlotEdges(w,f,p,n);break;default:G=Z.radialDistributionX(a,
-d,H,q)}w._attr={visibility:J,align:I.alignment};V=d.options.dataLabels||{};w._pos={x:G+t(V.x,c.x)+({left:h,right:-h}[I.alignment]||0),y:H+t(V.y,c.y)-10};I.final.x=G;I.final.y=H;t(c.crop,!0)&&(v=w.getBBox().width,q=null,G-v<h&&1===f?(q=Math.round(v-G+h),U[3]=Math.max(q,U[3])):G+v>p-h&&0===f&&(q=Math.round(G+v-p+h),U[1]=Math.max(q,U[1])),0>H-A/2?U[0]=Math.max(Math.round(-H+A/2),U[0]):H+A/2>m&&(U[2]=Math.max(Math.round(H+A/2-m),U[2])),w.sideOverflow=q)}}}),0===E(U)||this.verifyDataLabelOverflow(U))&&
-(this.placeDataLabels(),this.points.forEach(function(d){V=b(c,d.options.dataLabels);if(g=t(V.connectorWidth,1)){var f;r=d.connector;if((w=d.dataLabel)&&w._pos&&d.visible&&0<d.labelDistance){J=w._attr.visibility;if(f=!r)d.connector=r=e.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+d.colorIndex+(d.className?" "+d.className:"")).add(a.dataLabelsGroup),e.styledMode||r.attr({"stroke-width":g,stroke:V.connectorColor||d.color||F.neutralColor60});r[f?"attr":"animate"]({d:d.getConnectorPath()});
-r.attr("visibility",J)}else r&&(d.connector=r.destroy())}}))},H.pie.prototype.placeDataLabels=function(){this.points.forEach(function(a){var b=a.dataLabel,d;b&&a.visible&&((d=b._pos)?(b.sideOverflow&&(b._attr.width=Math.max(b.getBBox().width-b.sideOverflow,0),b.css({width:b._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),b.shortened=!0),b.attr(b._attr),b[b.moved?"animate":"attr"](d),b.moved=!0):b&&b.attr({y:-9999}));delete a.distributeBox},this)},H.pie.prototype.alignDataLabel=
-e,H.pie.prototype.verifyDataLabelOverflow=function(a){var b=this.center,d=this.options,f=d.center,c=d.minSize||80,e=null!==d.size;if(!e){if(null!==f[0])var g=Math.max(b[2]-Math.max(a[1],a[3]),c);else g=Math.max(b[2]-a[1]-a[3],c),b[0]+=(a[3]-a[1])/2;null!==f[1]?g=A(g,c,b[2]-Math.max(a[0],a[2])):(g=A(g,c,b[2]-a[0]-a[2]),b[1]+=(a[0]-a[2])/2);g<b[2]?(b[2]=g,b[3]=Math.min(I(d.innerSize||0,g),g),this.translate(b),this.drawDataLabels&&this.drawDataLabels()):e=!0}return e});H.column&&(H.column.prototype.alignDataLabel=
-function(a,f,d,e,c){var h=this.chart.inverted,k=a.series,g=a.dlBox||a.shapeArgs,p=t(a.below,a.plotY>t(this.translatedThreshold,k.yAxis.len)),n=t(d.inside,!!this.options.stacking);g&&(e=b(g),0>e.y&&(e.height+=e.y,e.y=0),g=e.y+e.height-k.yAxis.len,0<g&&g<e.height&&(e.height-=g),h&&(e={x:k.yAxis.len-e.y-e.height,y:k.xAxis.len-e.x-e.width,width:e.height,height:e.width}),n||(h?(e.x+=p?0:e.width,e.width=0):(e.y+=p?e.height:0,e.height=0)));d.align=t(d.align,!h||n?"center":p?"right":"left");d.verticalAlign=
-t(d.verticalAlign,h||n?"middle":p?"top":"bottom");C.prototype.alignDataLabel.call(this,a,f,d,e,c);d.inside&&a.contrastColor&&f.css({color:a.contrastColor})})});O(e,"Extensions/OverlappingDataLabels.js",[e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],function(e,l){var G=l.addEvent,C=l.fireEvent,H=l.isArray,J=l.isNumber,D=l.objectEach,E=l.pick;G(e,"render",function(){var e=[];(this.labelCollectors||[]).forEach(function(l){e=e.concat(l())});(this.yAxis||[]).forEach(function(l){l.stacking&&l.options.stackLabels&&
-!l.options.stackLabels.allowOverlap&&D(l.stacking.stacks,function(g){D(g,function(g){e.push(g.label)})})});(this.series||[]).forEach(function(l){var g=l.options.dataLabels;l.visible&&(!1!==g.enabled||l._hasPointLabels)&&(g=function(g){return g.forEach(function(f){f.visible&&(H(f.dataLabels)?f.dataLabels:f.dataLabel?[f.dataLabel]:[]).forEach(function(g){var b=g.options;g.labelrank=E(b.labelrank,f.labelrank,f.shapeArgs&&f.shapeArgs.height);b.allowOverlap||e.push(g)})})},g(l.nodes||[]),g(l.points))});
-this.hideOverlappingLabels(e)});e.prototype.hideOverlappingLabels=function(e){var l=this,g=e.length,u=l.renderer,f,w,b,m=!1;var t=function(b){var a,f=b.box?0:b.padding||0,d=a=0,e;if(b&&(!b.alignAttr||b.placed)){var c=b.alignAttr||{x:b.attr("x"),y:b.attr("y")};var h=b.parentGroup;b.width||(a=b.getBBox(),b.width=a.width,b.height=a.height,a=u.fontMetrics(null,b.element).h);var g=b.width-2*f;(e={left:"0",center:"0.5",right:"1"}[b.alignValue])?d=+e*g:J(b.x)&&Math.round(b.x)!==b.translateX&&(d=b.x-b.translateX);
-return{x:c.x+(h.translateX||0)+f-(d||0),y:c.y+(h.translateY||0)+f-a,width:b.width-2*f,height:b.height-2*f}}};for(w=0;w<g;w++)if(f=e[w])f.oldOpacity=f.opacity,f.newOpacity=1,f.absoluteBox=t(f);e.sort(function(b,a){return(a.labelrank||0)-(b.labelrank||0)});for(w=0;w<g;w++){var I=(t=e[w])&&t.absoluteBox;for(f=w+1;f<g;++f){var q=(b=e[f])&&b.absoluteBox;!I||!q||t===b||0===t.newOpacity||0===b.newOpacity||q.x>=I.x+I.width||q.x+q.width<=I.x||q.y>=I.y+I.height||q.y+q.height<=I.y||((t.labelrank<b.labelrank?
-t:b).newOpacity=0)}}e.forEach(function(b){if(b){var a=b.newOpacity;b.oldOpacity!==a&&(b.alignAttr&&b.placed?(b[a?"removeClass":"addClass"]("highcharts-data-label-hidden"),m=!0,b.alignAttr.opacity=a,b[b.isOld?"animate":"attr"](b.alignAttr,null,function(){l.styledMode||b.css({pointerEvents:a?"auto":"none"});b.visibility=a?"inherit":"hidden"}),C(l,"afterHideOverlappingLabel")):b.attr({opacity:a}));b.isOld=!0}});m&&C(l,"afterHideAllOverlappingLabels")}});O(e,"Core/Responsive.js",[e["Core/Chart/Chart.js"],
-e["Core/Utilities.js"]],function(e,l){var G=l.find,C=l.isArray,H=l.isObject,J=l.merge,D=l.objectEach,E=l.pick,A=l.splat,x=l.uniqueKey;e.prototype.setResponsive=function(e,l){var f=this.options.responsive,g=[],b=this.currentResponsive;!l&&f&&f.rules&&f.rules.forEach(function(b){"undefined"===typeof b._id&&(b._id=x());this.matchResponsiveRule(b,g)},this);l=J.apply(0,g.map(function(b){return G(f.rules,function(f){return f._id===b}).chartOptions}));l.isResponsiveOptions=!0;g=g.toString()||void 0;g!==
-(b&&b.ruleIds)&&(b&&this.update(b.undoOptions,e,!0),g?(b=this.currentOptions(l),b.isResponsiveOptions=!0,this.currentResponsive={ruleIds:g,mergedOptions:l,undoOptions:b},this.update(l,e,!0)):this.currentResponsive=void 0)};e.prototype.matchResponsiveRule=function(e,l){var f=e.condition;(f.callback||function(){return this.chartWidth<=E(f.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=E(f.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=E(f.minWidth,0)&&this.chartHeight>=E(f.minHeight,0)}).call(this)&&
-l.push(e._id)};e.prototype.currentOptions=function(e){function g(b,e,l,u){var m;D(b,function(b,a){if(!u&&-1<f.collectionsWithUpdate.indexOf(a)&&e[a])for(b=A(b),l[a]=[],m=0;m<Math.max(b.length,e[a].length);m++)e[a][m]&&(void 0===b[m]?l[a][m]=e[a][m]:(l[a][m]={},g(b[m],e[a][m],l[a][m],u+1)));else H(b)?(l[a]=C(b)?[]:{},g(b,e[a]||{},l[a],u+1)):l[a]="undefined"===typeof e[a]?null:e[a]})}var f=this,l={};g(e,this.options,l,0);return l}});O(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],
-e["Core/Renderer/HTML/AST.js"],e["Core/Series/Series.js"]],function(e,l,F,C){e.addEvent=l.addEvent;e.arrayMax=l.arrayMax;e.arrayMin=l.arrayMin;e.attr=l.attr;e.clearTimeout=l.clearTimeout;e.correctFloat=l.correctFloat;e.createElement=l.createElement;e.css=l.css;e.defined=l.defined;e.destroyObjectProperties=l.destroyObjectProperties;e.discardElement=l.discardElement;e.erase=l.erase;e.error=l.error;e.extend=l.extend;e.extendClass=l.extendClass;e.find=l.find;e.fireEvent=l.fireEvent;e.format=l.format;
-e.getMagnitude=l.getMagnitude;e.getStyle=l.getStyle;e.inArray=l.inArray;e.isArray=l.isArray;e.isClass=l.isClass;e.isDOMElement=l.isDOMElement;e.isFunction=l.isFunction;e.isNumber=l.isNumber;e.isObject=l.isObject;e.isString=l.isString;e.keys=l.keys;e.merge=l.merge;e.normalizeTickInterval=l.normalizeTickInterval;e.numberFormat=l.numberFormat;e.objectEach=l.objectEach;e.offset=l.offset;e.pad=l.pad;e.pick=l.pick;e.pInt=l.pInt;e.relativeLength=l.relativeLength;e.removeEvent=l.removeEvent;e.splat=l.splat;
-e.stableSort=l.stableSort;e.syncTimeout=l.syncTimeout;e.timeUnits=l.timeUnits;e.uniqueKey=l.uniqueKey;e.useSerialIds=l.useSerialIds;e.wrap=l.wrap;e.AST=F;e.Series=C;return e});O(e,"Series/XRange/XRangePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"]],function(e,l){var F=this&&this.__extends||function(){var e=function(l,C){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,l){e.__proto__=l}||function(e,l){for(var A in l)l.hasOwnProperty(A)&&(e[A]=l[A])};return e(l,
-C)};return function(l,C){function D(){this.constructor=l}e(l,C);l.prototype=null===C?Object.create(C):(D.prototype=C.prototype,new D)}}();return function(l){function C(){var e=null!==l&&l.apply(this,arguments)||this;e.options=void 0;e.series=void 0;e.tooltipDateKeys=["x","x2"];return e}F(C,l);C.getColorByCategory=function(e,l){var E=e.options.colors||e.chart.options.colors;e=l.y%(E?E.length:e.chart.options.chart.colorCount);return{colorIndex:e,color:E&&E[e]}};C.prototype.resolveColor=function(){var e=
-this.series;if(e.options.colorByPoint&&!this.options.color){var l=C.getColorByCategory(e,this);e.chart.styledMode||(this.color=l.color);this.options.colorIndex||(this.colorIndex=l.colorIndex)}else this.color||(this.color=e.color)};C.prototype.init=function(){e.prototype.init.apply(this,arguments);this.y||(this.y=0);return this};C.prototype.setState=function(){e.prototype.setState.apply(this,arguments);this.series.drawPoint(this,this.series.getAnimationVerb())};C.prototype.getLabelConfig=function(){var l=
-e.prototype.getLabelConfig.call(this),D=this.series.yAxis.categories;l.x2=this.x2;l.yCategory=this.yCategory=D&&D[this.y];return l};C.prototype.isValid=function(){return"number"===typeof this.x&&"number"===typeof this.x2};return C}(l.seriesTypes.column.prototype.pointClass)});O(e,"Series/XRange/XRangeComposition.js",[e["Core/Axis/Axis.js"],e["Core/Utilities.js"]],function(e,l){var F=l.addEvent,C=l.pick;F(e,"afterGetSeriesExtremes",function(){var e=this.series,l;if(this.isXAxis){var D=C(this.dataMax,
--Number.MAX_VALUE);e.forEach(function(e){e.x2Data&&e.x2Data.forEach(function(e){e>D&&(D=e,l=!0)})});l&&(this.dataMax=D)}})});O(e,"Series/XRange/XRangeSeries.js",[e["Core/Globals.js"],e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Series/XRange/XRangePoint.js"]],function(e,l,F,C,H){var J=this&&this.__extends||function(){var b=function(f,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&
-(a[d]=b[d])};return b(f,a)};return function(f,a){function e(){this.constructor=f}b(f,a);f.prototype=null===a?Object.create(a):(e.prototype=a.prototype,new e)}}(),D=l.parse,E=F.series,A=F.seriesTypes.column,x=A.prototype,g=C.clamp,u=C.correctFloat,f=C.defined;l=C.extend;var w=C.find,b=C.isNumber,m=C.isObject,t=C.merge,I=C.pick;C=function(e){function p(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}J(p,e);p.prototype.init=function(){A.prototype.init.apply(this,
-arguments);this.options.stacking=void 0};p.prototype.getColumnMetrics=function(){function a(){b.series.forEach(function(a){var c=a.xAxis;a.xAxis=a.yAxis;a.yAxis=c})}var b=this.chart;a();var d=x.getColumnMetrics.call(this);a();return d};p.prototype.cropData=function(a,b,d,f){b=E.prototype.cropData.call(this,this.x2Data,b,d,f);b.xData=a.slice(b.start,b.end);return b};p.prototype.findPointIndex=function(a){var f=this.cropped,d=this.cropStart,e=this.points,c=a.id;if(c)var h=(h=w(e,function(a){return a.id===
-c}))?h.index:void 0;"undefined"===typeof h&&(h=(h=w(e,function(c){return c.x===a.x&&c.x2===a.x2&&!c.touched}))?h.index:void 0);f&&b(h)&&b(d)&&h>=d&&(h-=d);return h};p.prototype.translatePoint=function(a){var e,d,p=this.xAxis,c=this.yAxis,h=this.columnMetrics,q=this.options,l=q.minPointLength||0,u=(null===(e=a.shapeArgs)||void 0===e?NaN:e.width)/2,n=this.pointXOffset=h.offset;e=a.plotX;var K=I(a.x2,a.x+(a.len||0)),r=p.translate(K,0,0,0,1);K=Math.abs(r-e);var z=this.chart.inverted,w=I(q.borderWidth,
-1)%2/2,B=h.offset,x=Math.round(h.width);l&&(l-=K,0>l&&(l=0),e-=l/2,r+=l/2);e=Math.max(e,-10);r=g(r,-10,p.len+10);f(a.options.pointWidth)&&(B-=(Math.ceil(a.options.pointWidth)-x)/2,x=Math.ceil(a.options.pointWidth));q.pointPlacement&&b(a.plotY)&&c.categories&&(a.plotY=c.translate(a.y,0,1,0,1,q.pointPlacement));a.shapeArgs={x:Math.floor(Math.min(e,r))+w,y:Math.floor(a.plotY+B)+w,width:Math.round(Math.abs(r-e)),height:x,r:this.options.borderRadius};z?a.tooltipPos[1]+=n+u:a.tooltipPos[0]-=u+n-(null===
-(d=a.shapeArgs)||void 0===d?NaN:d.width)/2;d=a.shapeArgs.x;q=d+a.shapeArgs.width;0>d||q>p.len?(d=g(d,0,p.len),q=g(q,0,p.len),u=q-d,a.dlBox=t(a.shapeArgs,{x:d,width:q-d,centerX:u?u/2:null})):a.dlBox=null;d=a.tooltipPos;q=z?1:0;u=z?0:1;h=this.columnMetrics?this.columnMetrics.offset:-h.width/2;d[q]=z?d[q]+a.shapeArgs.width/2:d[q]+(p.reversed?-1:0)*a.shapeArgs.width;d[u]=g(d[u]+(z?-1:1)*h,0,c.len-1);if(h=a.partialFill)m(h)&&(h=h.amount),b(h)||(h=0),c=a.shapeArgs,a.partShapeArgs={x:c.x,y:c.y,width:c.width,
-height:c.height,r:this.options.borderRadius},e=Math.max(Math.round(K*h+a.plotX-e),0),a.clipRectArgs={x:p.reversed?c.x+K-e:c.x,y:c.y,width:e,height:c.height}};p.prototype.translate=function(){x.translate.apply(this,arguments);this.points.forEach(function(a){this.translatePoint(a)},this)};p.prototype.drawPoint=function(a,b){var d=this.options,f=this.chart.renderer,c=a.graphic,e=a.shapeType,g=a.shapeArgs,k=a.partShapeArgs,p=a.clipRectArgs,n=a.partialFill,q=d.stacking&&!d.borderRadius,r=a.state,l=d.states[r||
-"normal"]||{},u="undefined"===typeof r?"attr":b;r=this.pointAttribs(a,r);l=I(this.chart.options.chart.animation,l.animation);if(a.isNull||!1===a.visible)c&&(a.graphic=c.destroy());else{if(c)c.rect[b](g);else a.graphic=c=f.g("point").addClass(a.getClassName()).add(a.group||this.group),c.rect=f[e](t(g)).addClass(a.getClassName()).addClass("highcharts-partfill-original").add(c);k&&(c.partRect?(c.partRect[b](t(k)),c.partialClipRect[b](t(p))):(c.partialClipRect=f.clipRect(p.x,p.y,p.width,p.height),c.partRect=
-f[e](k).addClass("highcharts-partfill-overlay").add(c).clip(c.partialClipRect)));this.chart.styledMode||(c.rect[b](r,l).shadow(d.shadow,null,q),k&&(m(n)||(n={}),m(d.partialFill)&&(n=t(d.partialFill,n)),a=n.fill||D(r.fill).brighten(-.3).get()||D(a.color||this.color).brighten(-.3).get(),r.fill=a,c.partRect[u](r,l).shadow(d.shadow,null,q)))}};p.prototype.drawPoints=function(){var a=this,b=a.getAnimationVerb();a.points.forEach(function(d){a.drawPoint(d,b)})};p.prototype.getAnimationVerb=function(){return this.chart.pointCount<
-(this.options.animationLimit||250)?"animate":"attr"};p.prototype.isPointInside=function(a){var b=a.shapeArgs,d=a.plotX,f=a.plotY;return b?"undefined"!==typeof d&&"undefined"!==typeof f&&0<=f&&f<=this.yAxis.len&&0<=b.x+b.width&&d<=this.xAxis.len:e.prototype.isPointInside.apply(this,arguments)};p.defaultOptions=t(A.defaultOptions,{colorByPoint:!0,dataLabels:{formatter:function(){var a=this.point.partialFill;m(a)&&(a=a.amount);if(b(a)&&0<a)return u(100*a)+"%"},inside:!0,verticalAlign:"middle"},tooltip:{headerFormat:'<span style="font-size: 10px">{point.x} - {point.x2}</span><br/>',
-pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.yCategory}</b><br/>'},borderRadius:3,pointRange:0});return p}(A);l(C.prototype,{type:"xrange",parallelArrays:["x","x2","y"],requireSorting:!1,animate:E.prototype.animate,cropShoulder:1,getExtremesFromAll:!0,autoIncrement:e.noop,buildKDTree:e.noop,pointClass:H});F.registerSeriesType("xrange",C);"";return C});O(e,"Series/Gantt/GanttPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,l){var F=
-this&&this.__extends||function(){var e=function(l,D){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,l){e.__proto__=l}||function(e,l){for(var x in l)l.hasOwnProperty(x)&&(e[x]=l[x])};return e(l,D)};return function(l,D){function E(){this.constructor=l}e(l,D);l.prototype=null===D?Object.create(D):(E.prototype=D.prototype,new E)}}(),C=l.pick;return function(e){function l(){var l=null!==e&&e.apply(this,arguments)||this;l.options=void 0;l.series=void 0;return l}F(l,e);l.setGanttPointAliases=
-function(e){function l(l,x){"undefined"!==typeof x&&(e[l]=x)}l("x",C(e.start,e.x));l("x2",C(e.end,e.x2));l("partialFill",C(e.completed,e.partialFill))};l.prototype.applyOptions=function(D,E){D=e.prototype.applyOptions.call(this,D,E);l.setGanttPointAliases(D);return D};l.prototype.isValid=function(){return("number"===typeof this.start||"number"===typeof this.x)&&("number"===typeof this.end||"number"===typeof this.x2||this.milestone)};return l}(e.seriesTypes.xrange.prototype.pointClass)});O(e,"Gantt/Tree.js",
-[e["Core/Utilities.js"]],function(e){var l=e.extend,F=e.isNumber,C=e.pick,H=function(e,l){var A=e.reduce(function(e,g){var l=C(g.parent,"");"undefined"===typeof e[l]&&(e[l]=[]);e[l].push(g);return e},{});Object.keys(A).forEach(function(e,g){var u=A[e];""!==e&&-1===l.indexOf(e)&&(u.forEach(function(f){g[""].push(f)}),delete g[e])});return A},G=function(e,E,A,x,g,u){var f=0,w=0,b=u&&u.after,m=u&&u.before;E={data:x,depth:A-1,id:e,level:A,parent:E};var t,I;"function"===typeof m&&m(E,u);m=(g[e]||[]).map(function(b){var p=
-G(b.id,e,A+1,b,g,u),a=b.start;b=!0===b.milestone?a:b.end;t=!F(t)||a<t?a:t;I=!F(I)||b>I?b:I;f=f+1+p.descendants;w=Math.max(p.height+1,w);return p});x&&(x.start=C(x.start,t),x.end=C(x.end,I));l(E,{children:m,descendants:f,height:w});"function"===typeof b&&b(E,u);return E};return{getListOfParents:H,getNode:G,getTree:function(e,l){var A=e.map(function(e){return e.id});e=H(e,A);return G("",null,1,null,e,l)}}});O(e,"Core/Axis/TreeGridTick.js",[e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,
-l){var F=l.addEvent,C=l.isObject,H=l.isNumber,G=l.pick,D=l.wrap,E;(function(l){function x(){this.treeGrid||(this.treeGrid=new b(this))}function g(b,f){b=b.treeGrid;var g=!b.labelIcon,m=f.renderer,p=f.xy,a=f.options,k=a.width,d=a.height,l=p.x-k/2-a.padding;p=p.y-d/2;var c=f.collapsed?90:180,h=f.show&&H(p),t=b.labelIcon;t||(b.labelIcon=t=m.path(m.symbols[a.type](a.x,a.y,k,d)).addClass("highcharts-label-icon").add(f.group));h||t.attr({y:-9999});m.styledMode||t.attr({"stroke-width":1,fill:G(f.color,e.neutralColor60)}).css({cursor:"pointer",
-stroke:a.lineColor,strokeWidth:a.lineWidth});t[g?"attr":"animate"]({translateX:l,translateY:p,rotation:c})}function u(b,f,e,g,p,a,k,d,l){var c=G(this.options&&this.options.labels,a);a=this.pos;var h=this.axis,m="treegrid"===h.options.type;b=b.apply(this,[f,e,g,p,c,k,d,l]);m&&(f=c&&C(c.symbol,!0)?c.symbol:{},c=c&&H(c.indentation)?c.indentation:0,a=(a=(h=h.treeGrid.mapOfPosToGridNode)&&h[a])&&a.depth||1,b.x+=f.width+2*f.padding+(a-1)*c);return b}function f(b){var f=this,e=f.pos,m=f.axis,p=f.label,a=
-m.treeGrid.mapOfPosToGridNode,k=m.options,d=G(f.options&&f.options.labels,k&&k.labels),l=d&&C(d.symbol,!0)?d.symbol:{},c=(a=a&&a[e])&&a.depth;k="treegrid"===k.type;var h=-1<m.tickPositions.indexOf(e);e=m.chart.styledMode;k&&a&&p&&p.element&&p.addClass("highcharts-treegrid-node-level-"+c);b.apply(f,Array.prototype.slice.call(arguments,1));k&&p&&p.element&&a&&a.descendants&&0<a.descendants&&(m=m.treeGrid.isCollapsed(a),g(f,{color:!e&&p.styles&&p.styles.color||"",collapsed:m,group:p.parentGroup,options:l,
-renderer:p.renderer,show:h,xy:p.xy}),l="highcharts-treegrid-node-"+(m?"expanded":"collapsed"),p.addClass("highcharts-treegrid-node-"+(m?"collapsed":"expanded")).removeClass(l),e||p.css({cursor:"pointer"}),[p,f.treeGrid.labelIcon].forEach(function(a){a&&!a.attachedTreeGridEvents&&(F(a.element,"mouseover",function(){p.addClass("highcharts-treegrid-node-active");p.renderer.styledMode||p.css({textDecoration:"underline"})}),F(a.element,"mouseout",function(){var a=C(d.style)?d.style:{};p.removeClass("highcharts-treegrid-node-active");
-p.renderer.styledMode||p.css({textDecoration:a.textDecoration})}),F(a.element,"click",function(){f.treeGrid.toggleCollapse()}),a.attachedTreeGridEvents=!0)}))}var w=!1;l.compose=function(b){w||(F(b,"init",x),D(b.prototype,"getLabelPosition",u),D(b.prototype,"renderLabel",f),b.prototype.collapse=function(b){this.treeGrid.collapse(b)},b.prototype.expand=function(b){this.treeGrid.expand(b)},b.prototype.toggleCollapse=function(b){this.treeGrid.toggleCollapse(b)},w=!0)};var b=function(){function b(b){this.tick=
-b}b.prototype.collapse=function(b){var f=this.tick,e=f.axis,g=e.brokenAxis;g&&e.treeGrid.mapOfPosToGridNode&&(f=e.treeGrid.collapse(e.treeGrid.mapOfPosToGridNode[f.pos]),g.setBreaks(f,G(b,!0)))};b.prototype.expand=function(b){var f=this.tick,e=f.axis,g=e.brokenAxis;g&&e.treeGrid.mapOfPosToGridNode&&(f=e.treeGrid.expand(e.treeGrid.mapOfPosToGridNode[f.pos]),g.setBreaks(f,G(b,!0)))};b.prototype.toggleCollapse=function(b){var f=this.tick,e=f.axis,g=e.brokenAxis;g&&e.treeGrid.mapOfPosToGridNode&&(f=e.treeGrid.toggleCollapse(e.treeGrid.mapOfPosToGridNode[f.pos]),
-g.setBreaks(f,G(b,!0)))};return b}();l.Additions=b})(E||(E={}));return E});O(e,"Mixins/TreeSeries.js",[e["Core/Color/Color.js"],e["Core/Utilities.js"]],function(e,l){var F=l.extend,C=l.isArray,H=l.isNumber,G=l.isObject,D=l.merge,E=l.pick;return{getColor:function(l,x){var g=x.index,u=x.mapOptionsToLevel,f=x.parentColor,w=x.parentColorIndex,b=x.series,m=x.colors,t=x.siblings,I=b.points,q=b.chart.options.chart,p;if(l){I=I[l.i];l=u[l.level]||{};if(u=I&&l.colorByPoint){var a=I.index%(m?m.length:q.colorCount);
-var k=m&&m[a]}if(!b.chart.styledMode){m=I&&I.options.color;q=l&&l.color;if(p=f)p=(p=l&&l.colorVariation)&&"brightness"===p.key?e.parse(f).brighten(g/t*p.to).get():f;p=E(m,q,k,p,b.color)}var d=E(I&&I.options.colorIndex,l&&l.colorIndex,a,w,x.colorIndex)}return{color:p,colorIndex:d}},getLevelOptions:function(e){var l=null;if(G(e)){l={};var g=H(e.from)?e.from:1;var u=e.levels;var f={};var w=G(e.defaults)?e.defaults:{};C(u)&&(f=u.reduce(function(b,f){if(G(f)&&H(f.level)){var e=D({},f);var m="boolean"===
-typeof e.levelIsConstant?e.levelIsConstant:w.levelIsConstant;delete e.levelIsConstant;delete e.level;f=f.level+(m?0:g-1);G(b[f])?F(b[f],e):b[f]=e}return b},{}));u=H(e.to)?e.to:1;for(e=0;e<=u;e++)l[e]=D({},w,G(f[e])?f[e]:{})}return l},setTreeValues:function u(e,g){var f=g.before,l=g.idRoot,b=g.mapIdToNode[l],m=g.points[e.i],t=m&&m.options||{},x=0,q=[];F(e,{levelDynamic:e.level-(("boolean"===typeof g.levelIsConstant?g.levelIsConstant:1)?0:b.level),name:E(m&&m.name,""),visible:l===e.id||("boolean"===
-typeof g.visible?g.visible:!1)});"function"===typeof f&&(e=f(e,g));e.children.forEach(function(b,a){var f=F({},g);F(f,{index:a,siblings:e.children.length,visible:e.visible});b=u(b,f);q.push(b);b.visible&&(x+=b.val)});e.visible=0<x||e.visible;f=E(t.value,x);F(e,{children:q,childrenTotal:x,isLeaf:e.visible&&!x,val:f});return e},updateRootId:function(e){if(G(e)){var g=G(e.options)?e.options:{};g=E(e.rootNode,g.rootId,"");G(e.userOptions)&&(e.userOptions.rootId=g);e.rootNode=g}return g}}});O(e,"Core/Axis/GridAxis.js",
-[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(e,l,F,C){var H=C.addEvent,G=C.defined,D=C.erase,E=C.find,A=C.isArray,x=C.isNumber,g=C.merge,u=C.pick,f=C.timeUnits,w=C.wrap,b=l.Chart,m=function(b){var f=b.options;f.labels||(f.labels={});f.labels.align=u(f.labels.align,"center");b.categories||(f.showLastLabel=!1);b.labelRotation=0;f.labels.rotation=0};"";e.prototype.getMaxLabelDimensions=function(b,f){var a={width:0,height:0};f.forEach(function(f){f=
-b[f];if(C.isObject(f,!0)){var d=C.isObject(f.label,!0)?f.label:{};f=d.getBBox?d.getBBox().height:0;d.textStr&&!x(d.textPxLength)&&(d.textPxLength=d.getBBox().width);var e=x(d.textPxLength)?Math.round(d.textPxLength):0;d.textStr&&(e=Math.round(d.getBBox().width));a.height=Math.max(f,a.height);a.width=Math.max(e,a.width)}});return a};l.dateFormats.W=function(b){b=new this.Date(b);var f=(this.get("Day",b)+6)%7,a=new this.Date(b.valueOf());this.set("Date",a,this.get("Date",b)-f+3);f=new this.Date(this.get("FullYear",
-a),0,1);4!==this.get("Day",f)&&(this.set("Month",b,0),this.set("Date",b,1+(11-this.get("Day",f))%7));return(1+Math.floor((a.valueOf()-f.valueOf())/6048E5)).toString()};l.dateFormats.E=function(b){return this.dateFormat("%a",b,!0).charAt(0)};H(b,"afterSetChartSize",function(){this.axes.forEach(function(b){(b.grid&&b.grid.columns||[]).forEach(function(b){b.setAxisSize();b.setAxisTranslation()})})});H(F,"afterGetLabelPosition",function(b){var f=this.label,a=this.axis,e=a.reversed,d=a.chart,g=a.options.grid||
-{},c=a.options.labels,h=c.align,m=I.Side[a.side],l=b.tickmarkOffset,q=a.tickPositions,n=this.pos-l;q=x(q[b.index+1])?q[b.index+1]-l:a.max+l;var t=a.tickSize("tick");l=t?t[0]:0;t=t?t[1]/2:0;if(!0===g.enabled){if("top"===m){g=a.top+a.offset;var r=g-l}else"bottom"===m?(r=d.chartHeight-a.bottom+a.offset,g=r+l):(g=a.top+a.len-a.translate(e?q:n),r=a.top+a.len-a.translate(e?n:q));"right"===m?(m=d.chartWidth-a.right+a.offset,e=m+l):"left"===m?(e=a.left+a.offset,m=e-l):(m=Math.round(a.left+a.translate(e?q:
-n))-t,e=Math.round(a.left+a.translate(e?n:q))-t);this.slotWidth=e-m;b.pos.x="left"===h?m:"right"===h?e:m+(e-m)/2;b.pos.y=r+(g-r)/2;d=d.renderer.fontMetrics(c.style.fontSize,f.element);f=f.getBBox().height;c.useHTML?b.pos.y+=d.b+-(f/2):(f=Math.round(f/d.h),b.pos.y+=(d.b-(d.h-d.f))/2+-((f-1)*d.h/2));b.pos.x+=a.horiz&&c.x||0}});var t=function(){function b(b){this.axis=b}b.prototype.isOuterAxis=function(){var b=this.axis,a=b.grid.columnIndex,f=b.linkedParent&&b.linkedParent.grid.columns||b.grid.columns,
-d=a?b.linkedParent:b,e=-1,c=0;b.chart[b.coll].forEach(function(a,f){a.side!==b.side||a.options.isInternal||(c=f,a===d&&(e=f))});return c===e&&(x(a)?f.length===a:!0)};b.prototype.renderBorder=function(b){var a=this.axis,f=a.chart.renderer,d=a.options;b=f.path(b).addClass("highcharts-axis-line").add(a.axisBorder);f.styledMode||b.attr({stroke:d.lineColor,"stroke-width":d.lineWidth,zIndex:7});return b};return b}(),I=function(){function b(){}b.compose=function(f){e.keepProps.push("grid");w(f.prototype,
-"unsquish",b.wrapUnsquish);H(f,"init",b.onInit);H(f,"afterGetOffset",b.onAfterGetOffset);H(f,"afterGetTitlePosition",b.onAfterGetTitlePosition);H(f,"afterInit",b.onAfterInit);H(f,"afterRender",b.onAfterRender);H(f,"afterSetAxisTranslation",b.onAfterSetAxisTranslation);H(f,"afterSetOptions",b.onAfterSetOptions);H(f,"afterSetOptions",b.onAfterSetOptions2);H(f,"afterSetScale",b.onAfterSetScale);H(f,"afterTickSize",b.onAfterTickSize);H(f,"trimTicks",b.onTrimTicks);H(f,"destroy",b.onDestroy)};b.onAfterGetOffset=
-function(){var b=this.grid;(b&&b.columns||[]).forEach(function(a){a.getOffset()})};b.onAfterGetTitlePosition=function(f){if(!0===(this.options.grid||{}).enabled){var a=this.axisTitle,e=this.height,d=this.horiz,g=this.left,c=this.offset,h=this.opposite,m=this.options.title,p=void 0===m?{}:m;m=this.top;var l=this.width,n=this.tickSize(),q=a&&a.getBBox().width,r=p.x||0,z=p.y||0,t=u(p.margin,d?5:10);a=this.chart.renderer.fontMetrics(p.style&&p.style.fontSize,a).f;n=(d?m+e:g)+(d?1:-1)*(h?-1:1)*(n?n[0]/
-2:0)+(this.side===b.Side.bottom?a:0);f.titlePosition.x=d?g-q/2-t+r:n+(h?l:0)+c+r;f.titlePosition.y=d?n-(h?e:0)+(h?a:-a)/2+c+z:m-t+z}};b.onAfterInit=function(){var b=this.chart,a=this.options.grid;a=void 0===a?{}:a;var f=this.userOptions;a.enabled&&(m(this),w(this,"labelFormatter",function(a){var c=this.axis,b=this.value,d=c.tickPositions,f=(c.isLinked?c.linkedParent:c).series[0],e=b===d[0];d=b===d[d.length-1];var h=f&&E(f.options.data,function(a){return a[c.isXAxis?"x":"y"]===b});if(h&&f.is("gantt")){var k=
-g(h);l.seriesTypes.gantt.prototype.pointClass.setGanttPointAliases(k)}this.isFirst=e;this.isLast=d;this.point=k;return a.call(this)}));if(a.columns)for(var d=this.grid.columns=[],q=this.grid.columnIndex=0;++q<a.columns.length;){var c=g(f,a.columns[a.columns.length-q-1],{linkedTo:0,type:"category",scrollbar:{enabled:!1}});delete c.grid.columns;c=new e(this.chart,c);c.grid.isColumn=!0;c.grid.columnIndex=q;D(b.axes,c);D(b[this.coll],c);d.push(c)}};b.onAfterRender=function(){var f,a=this.grid,e=this.options;
-if(!0===(e.grid||{}).enabled){this.maxLabelDimensions=this.getMaxLabelDimensions(this.ticks,this.tickPositions);this.rightWall&&this.rightWall.destroy();if(this.grid&&this.grid.isOuterAxis()&&this.axisLine&&(e=e.lineWidth)){e=this.getLinePath(e);var d=e[0],g=e[1],c=((this.tickSize("tick")||[1])[0]-1)*(this.side===b.Side.top||this.side===b.Side.left?-1:1);"M"===d[0]&&"L"===g[0]&&(this.horiz?(d[2]+=c,g[2]+=c):(d[1]+=c,g[1]+=c));!this.horiz&&this.chart.marginRight&&(d=[d,["L",this.left,d[2]]],c=["L",
-this.chart.chartWidth-this.chart.marginRight,this.toPixels(this.max+this.tickmarkOffset)],g=[["M",g[1],this.toPixels(this.max+this.tickmarkOffset)],c],this.grid.upperBorder||0===this.min%1||(this.grid.upperBorder=this.grid.renderBorder(d)),this.grid.upperBorder&&this.grid.upperBorder.animate({d:d}),this.grid.lowerBorder||0===this.max%1||(this.grid.lowerBorder=this.grid.renderBorder(g)),this.grid.lowerBorder&&this.grid.lowerBorder.animate({d:g}));this.grid.axisLineExtra?this.grid.axisLineExtra.animate({d:e}):
-this.grid.axisLineExtra=this.grid.renderBorder(e);this.axisLine[this.showAxis?"show":"hide"](!0)}(a&&a.columns||[]).forEach(function(a){a.render()});!this.horiz&&this.chart.hasRendered&&(this.scrollbar||(null===(f=this.linkedParent)||void 0===f?0:f.scrollbar))&&(f=this.max,a=this.tickmarkOffset,e=this.tickPositions[this.tickPositions.length-1],g=this.tickPositions[0],this.min-g>a?this.ticks[g].label.hide():this.ticks[g].label.show(),e-f>a?this.ticks[e].label.hide():this.ticks[e].label.show(),e-f<
-a&&0<e-f&&this.ticks[e].isLast?this.ticks[e].mark.hide():this.ticks[e-1]&&this.ticks[e-1].mark.show())}};b.onAfterSetAxisTranslation=function(){var b,a=this.tickPositions&&this.tickPositions.info,f=this.options,d=this.userOptions.labels||{};(f.grid||{}).enabled&&(this.horiz?(this.series.forEach(function(a){a.options.pointRange=0}),a&&f.dateTimeLabelFormats&&f.labels&&!G(d.align)&&(!1===f.dateTimeLabelFormats[a.unitName].range||1<a.count)&&(f.labels.align="left",G(d.x)||(f.labels.x=3))):"treegrid"!==
-this.options.type&&(null===(b=this.grid)||void 0===b?0:b.columns)&&(this.minPointOffset=this.tickInterval))};b.onAfterSetOptions=function(b){var a=this.options;b=b.userOptions;var e=a&&C.isObject(a.grid,!0)?a.grid:{};if(!0===e.enabled){var d=g(!0,{className:"highcharts-grid-axis "+(b.className||""),dateTimeLabelFormats:{hour:{list:["%H:%M","%H"]},day:{list:["%A, %e. %B","%a, %e. %b","%E"]},week:{list:["Week %W","W%W"]},month:{list:["%B","%b","%o"]}},grid:{borderWidth:1},labels:{padding:2,style:{fontSize:"13px"}},
-margin:0,title:{text:null,reserveSpace:!1,rotation:0},units:[["millisecond",[1,10,100]],["second",[1,10]],["minute",[1,5,15]],["hour",[1,6]],["day",[1]],["week",[1]],["month",[1]],["year",null]]},b);"xAxis"===this.coll&&(G(b.linkedTo)&&!G(b.tickPixelInterval)&&(d.tickPixelInterval=350),G(b.tickPixelInterval)||!G(b.linkedTo)||G(b.tickPositioner)||G(b.tickInterval)||(d.tickPositioner=function(a,c){var b=this.linkedParent&&this.linkedParent.tickPositions&&this.linkedParent.tickPositions.info;if(b){var e,
-g=d.units;for(e=0;e<g.length;e++)if(g[e][0]===b.unitName){var k=e;break}if(g[k+1]){var n=g[k+1][0];var m=(g[k+1][1]||[1])[0]}else"year"===b.unitName&&(n="year",m=10*b.count);b=f[n];this.tickInterval=b*m;return this.getTimeTicks({unitRange:b,count:m,unitName:n},a,c,this.options.startOfWeek)}}));g(!0,this.options,d);this.horiz&&(a.minPadding=u(b.minPadding,0),a.maxPadding=u(b.maxPadding,0));x(a.grid.borderWidth)&&(a.tickWidth=a.lineWidth=e.borderWidth)}};b.onAfterSetOptions2=function(b){b=(b=b.userOptions)&&
-b.grid||{};var a=b.columns;b.enabled&&a&&g(!0,this.options,a[a.length-1])};b.onAfterSetScale=function(){(this.grid.columns||[]).forEach(function(b){b.setScale()})};b.onAfterTickSize=function(b){var a=e.defaultLeftAxisOptions,f=this.horiz,d=this.maxLabelDimensions,g=this.options.grid;g=void 0===g?{}:g;g.enabled&&d&&(a=2*Math.abs(a.labels.x),f=f?g.cellHeight||a+d.height:a+d.width,A(b.tickSize)?b.tickSize[0]=f:b.tickSize=[f,0])};b.onDestroy=function(b){var a=this.grid;(a.columns||[]).forEach(function(a){a.destroy(b.keepEvents)});
-a.columns=void 0};b.onInit=function(b){b=b.userOptions||{};var a=b.grid||{};a.enabled&&G(a.borderColor)&&(b.tickColor=b.lineColor=a.borderColor);this.grid||(this.grid=new t(this))};b.onTrimTicks=function(){var b=this.options,a=this.categories,f=this.tickPositions,d=f[0],e=f[f.length-1],c=this.linkedParent&&this.linkedParent.min||this.min,g=this.linkedParent&&this.linkedParent.max||this.max,m=this.tickInterval;!0!==(b.grid||{}).enabled||a||!this.horiz&&!this.isLinked||(d<c&&d+m>c&&!b.startOnTick&&
-(f[0]=c),e>g&&e-m<g&&!b.endOnTick&&(f[f.length-1]=g))};b.wrapUnsquish=function(b){var a=this.options.grid;return!0===(void 0===a?{}:a).enabled&&this.categories?this.tickInterval:b.apply(this,Array.prototype.slice.call(arguments,1))};return b}();(function(b){b=b.Side||(b.Side={});b[b.top=0]="top";b[b.right=1]="right";b[b.bottom=2]="bottom";b[b.left=3]="left"})(I||(I={}));I.compose(e);return I});O(e,"Core/Axis/BrokenAxis.js",[e["Core/Axis/Axis.js"],e["Core/Series/Series.js"],e["Extensions/Stacking.js"],
-e["Core/Utilities.js"]],function(e,l,F,C){var H=C.addEvent,G=C.find,D=C.fireEvent,E=C.isArray,A=C.isNumber,x=C.pick,g=function(){function g(f){this.hasBreaks=!1;this.axis=f}g.isInBreak=function(f,e){var b=f.repeat||Infinity,g=f.from,l=f.to-f.from;e=e>=g?(e-g)%b:b-(g-e)%b;return f.inclusive?e<=l:e<l&&0!==e};g.lin2Val=function(f){var e=this.brokenAxis;e=e&&e.breakArray;if(!e)return f;var b;for(b=0;b<e.length;b++){var m=e[b];if(m.from>=f)break;else m.to<f?f+=m.len:g.isInBreak(m,f)&&(f+=m.len)}return f};
-g.val2Lin=function(f){var e=this.brokenAxis;e=e&&e.breakArray;if(!e)return f;var b=f,m;for(m=0;m<e.length;m++){var l=e[m];if(l.to<=f)b-=l.len;else if(l.from>=f)break;else if(g.isInBreak(l,f)){b-=f-l.from;break}}return b};g.prototype.findBreakAt=function(f,e){return G(e,function(b){return b.from<f&&f<b.to})};g.prototype.isInAnyBreak=function(f,e){var b=this.axis,m=b.options.breaks,l=m&&m.length,u;if(l){for(;l--;)if(g.isInBreak(m[l],f)){var q=!0;u||(u=x(m[l].showPoints,!b.isXAxis))}var p=q&&e?q&&!u:
-q}return p};g.prototype.setBreaks=function(f,l){var b=this,m=b.axis,t=E(f)&&!!f.length;m.isDirty=b.hasBreaks!==t;b.hasBreaks=t;m.options.breaks=m.userOptions.breaks=f;m.forceRedraw=!0;m.series.forEach(function(b){b.isDirty=!0});t||m.val2lin!==g.val2Lin||(delete m.val2lin,delete m.lin2val);t&&(m.userOptions.ordinal=!1,m.lin2val=g.lin2Val,m.val2lin=g.val2Lin,m.setExtremes=function(f,g,m,a,k){if(b.hasBreaks){for(var d,l=this.options.breaks;d=b.findBreakAt(f,l);)f=d.to;for(;d=b.findBreakAt(g,l);)g=d.from;
-g<f&&(g=f)}e.prototype.setExtremes.call(this,f,g,m,a,k)},m.setAxisTranslation=function(){e.prototype.setAxisTranslation.call(this);b.unitLength=null;if(b.hasBreaks){var f=m.options.breaks||[],l=[],p=[],a=0,k,d=m.userMin||m.min,t=m.userMax||m.max,c=x(m.pointRangePadding,0),h;f.forEach(function(a){k=a.repeat||Infinity;g.isInBreak(a,d)&&(d+=a.to%k-d%k);g.isInBreak(a,t)&&(t-=t%k-a.from%k)});f.forEach(function(a){w=a.from;for(k=a.repeat||Infinity;w-k>d;)w-=k;for(;w<d;)w+=k;for(h=w;h<t;h+=k)l.push({value:h,
-move:"in"}),l.push({value:h+(a.to-a.from),move:"out",size:a.breakSize})});l.sort(function(a,c){return a.value===c.value?("in"===a.move?0:1)-("in"===c.move?0:1):a.value-c.value});var u=0;var w=d;l.forEach(function(c){u+="in"===c.move?1:-1;1===u&&"in"===c.move&&(w=c.value);0===u&&(p.push({from:w,to:c.value,len:c.value-w-(c.size||0)}),a+=c.value-w-(c.size||0))});m.breakArray=b.breakArray=p;b.unitLength=t-d-a+c;D(m,"afterBreaks");m.staticScale?m.transA=m.staticScale:b.unitLength&&(m.transA*=(t-m.min+
-c)/b.unitLength);c&&(m.minPixelPadding=m.transA*m.minPointOffset);m.min=d;m.max=t}});x(l,!0)&&m.chart.redraw()};return g}();C=function(){function e(){}e.compose=function(f,e){f.keepProps.push("brokenAxis");var b=l.prototype;b.drawBreaks=function(b,f){var e=this,g=e.points,m,a,k,d;if(b&&b.brokenAxis&&b.brokenAxis.hasBreaks){var l=b.brokenAxis;f.forEach(function(c){m=l&&l.breakArray||[];a=b.isXAxis?b.min:x(e.options.threshold,b.min);g.forEach(function(f){d=x(f["stack"+c.toUpperCase()],f[c]);m.forEach(function(c){if(A(a)&&
-A(d)){k=!1;if(a<c.from&&d>c.to||a>c.from&&d<c.from)k="pointBreak";else if(a<c.from&&d>c.from&&d<c.to||a>c.from&&d>c.to&&d<c.from)k="pointInBreak";k&&D(b,k,{point:f,brk:c})}})})})}};b.gappedPath=function(){var b=this.currentDataGrouping,f=b&&b.gapSize;b=this.options.gapSize;var e=this.points.slice(),g=e.length-1,l=this.yAxis,a;if(b&&0<g)for("value"!==this.options.gapUnit&&(b*=this.basePointRange),f&&f>b&&f>=this.basePointRange&&(b=f),a=void 0;g--;)a&&!1!==a.visible||(a=e[g+1]),f=e[g],!1!==a.visible&&
-!1!==f.visible&&(a.x-f.x>b&&(a=(f.x+a.x)/2,e.splice(g+1,0,{isNull:!0,x:a}),l.stacking&&this.options.stacking&&(a=l.stacking.stacks[this.stackKey][a]=new F(l,l.options.stackLabels,!1,a,this.stack),a.total=0)),a=f);return this.getGraphPath(e)};H(f,"init",function(){this.brokenAxis||(this.brokenAxis=new g(this))});H(f,"afterInit",function(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)});H(f,"afterSetTickPositions",function(){var b=this.brokenAxis;if(b&&b.hasBreaks){var f=
-this.tickPositions,e=this.tickPositions.info,g=[],l;for(l=0;l<f.length;l++)b.isInAnyBreak(f[l])||g.push(f[l]);this.tickPositions=g;this.tickPositions.info=e}});H(f,"afterSetOptions",function(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)});H(e,"afterGeneratePoints",function(){var b=this.options.connectNulls,f=this.points,e=this.xAxis,g=this.yAxis;if(this.isDirty)for(var l=f.length;l--;){var a=f[l],k=!(null===a.y&&!1===b)&&(e&&e.brokenAxis&&e.brokenAxis.isInAnyBreak(a.x,!0)||
-g&&g.brokenAxis&&g.brokenAxis.isInAnyBreak(a.y,!0));a.visible=k?!1:!1!==a.options.visible}});H(e,"afterRender",function(){this.drawBreaks(this.xAxis,["x"]);this.drawBreaks(this.yAxis,x(this.pointArrayMap,["y"]))})};return e}();C.compose(e,l);return C});O(e,"Core/Axis/TreeGridAxis.js",[e["Core/Axis/Axis.js"],e["Core/Axis/Tick.js"],e["Gantt/Tree.js"],e["Core/Axis/TreeGridTick.js"],e["Mixins/TreeSeries.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J){var D=H.getLevelOptions,E=J.addEvent,A=J.find,x=
-J.fireEvent,g=J.isArray,u=J.isNumber,f=J.isObject,w=J.isString,b=J.merge,m=J.pick,t=J.wrap,I;(function(e){function p(a,c){var b=a.collapseStart||0;a=a.collapseEnd||0;a>=c&&(b-=.5);return{from:b,to:a,showPoints:!1}}function a(a,c,b){var d=[],e=[],g={},h={},k=-1,n="boolean"===typeof c?c:!1;a=F.getTree(a,{after:function(a){a=h[a.pos];var c=0,b=0;a.children.forEach(function(a){b+=(a.descendants||0)+1;c=Math.max((a.height||0)+1,c)});a.descendants=b;a.height=c;a.collapsed&&e.push(a)},before:function(a){var c=
-f(a.data,!0)?a.data:{},b=w(c.name)?c.name:"",e=g[a.parent];e=f(e,!0)?h[e.pos]:null;var r=function(a){return a.name===b},l;n&&f(e,!0)&&(l=A(e.children,r))?(r=l.pos,l.nodes.push(a)):r=k++;h[r]||(h[r]=l={depth:e?e.depth+1:0,name:b,id:c.id,nodes:[a],children:[],pos:r},-1!==r&&d.push(b),f(e,!0)&&e.children.push(l));w(a.id)&&(g[a.id]=a);l&&!0===c.collapsed&&(l.collapsed=!0);a.pos=r}});h=function(a,c){var b=function(a,d,e){var g=d+(-1===d?0:c-1),h=(g-d)/2,k=d+h;a.nodes.forEach(function(a){var c=a.data;f(c,
-!0)&&(c.y=d+(c.seriesIndex||0),delete c.seriesIndex);a.pos=k});e[k]=a;a.pos=k;a.tickmarkOffset=h+.5;a.collapseStart=g+.5;a.children.forEach(function(a){b(a,g+1,e);g=(a.collapseEnd||0)-.5});a.collapseEnd=g+.5;return e};return b(a["-1"],-1,{})}(h,b);return{categories:d,mapOfIdToNode:g,mapOfPosToGridNode:h,collapsedNodes:e,tree:a}}function k(c){c.target.axes.filter(function(a){return"treegrid"===a.options.type}).forEach(function(d){var e=d.options||{},h=e.labels,k=e.uniqueNames,n=0;e=e.max;if(!d.treeGrid.mapOfPosToGridNode||
-d.series.some(function(a){return!a.hasRendered||a.isDirtyData||a.isDirty})){var l=d.series.reduce(function(a,c){c.visible&&((c.options.data||[]).forEach(function(b){c.options.keys&&c.options.keys.length&&(b=c.pointClass.prototype.optionsToObject.call({series:c},b),c.pointClass.setGanttPointAliases(b));f(b,!0)&&(b.seriesIndex=n,a.push(b))}),!0===k&&n++);return a},[]);if(e&&l.length<e)for(var m=l.length;m<=e;m++)l.push({name:m+"\u200b"});e=a(l,k||!1,!0===k?n:1);d.categories=e.categories;d.treeGrid.mapOfPosToGridNode=
-e.mapOfPosToGridNode;d.hasNames=!0;d.treeGrid.tree=e.tree;d.series.forEach(function(a){var c=(a.options.data||[]).map(function(c){g(c)&&a.options.keys&&a.options.keys.length&&l.forEach(function(a){0<=c.indexOf(a.x)&&0<=c.indexOf(a.x2)&&(c=a)});return f(c,!0)?b(c):c});a.visible&&a.setData(c,!1)});d.treeGrid.mapOptionsToLevel=D({defaults:h,from:1,levels:h&&h.levels,to:d.treeGrid.tree&&d.treeGrid.tree.height});"beforeRender"===c.type&&(d.treeGrid.collapsedNodes=e.collapsedNodes)}})}function d(a,c){var b=
-this.treeGrid.mapOptionsToLevel||{},d=this.ticks,f=d[c],e;if("treegrid"===this.options.type&&this.treeGrid.mapOfPosToGridNode){var g=this.treeGrid.mapOfPosToGridNode[c];(b=b[g.depth])&&(e={labels:b});f?(f.parameters.category=g.name,f.options=e,f.addLabel()):d[c]=new l(this,c,void 0,void 0,{category:g.name,tickmarkOffset:g.tickmarkOffset,options:e})}else a.apply(this,Array.prototype.slice.call(arguments,1))}function q(a){var c=this.options;c=(c=c&&c.labels)&&u(c.indentation)?c.indentation:0;var b=
-a.apply(this,Array.prototype.slice.call(arguments,1));if("treegrid"===this.options.type&&this.treeGrid.mapOfPosToGridNode){var d=this.treeGrid.mapOfPosToGridNode[-1].height||0;b.width+=c*(d-1)}return b}function c(c,d,f){var e=this,g="treegrid"===f.type;e.treeGrid||(e.treeGrid=new H(e));g&&(E(d,"beforeRender",k),E(d,"beforeRedraw",k),E(d,"addSeries",function(c){c.options.data&&(c=a(c.options.data,f.uniqueNames||!1,1),e.treeGrid.collapsedNodes=(e.treeGrid.collapsedNodes||[]).concat(c.collapsedNodes))}),
-E(e,"foundExtremes",function(){e.treeGrid.collapsedNodes&&e.treeGrid.collapsedNodes.forEach(function(a){var c=e.treeGrid.collapse(a);e.brokenAxis&&(e.brokenAxis.setBreaks(c,!1),e.treeGrid.collapsedNodes&&(e.treeGrid.collapsedNodes=e.treeGrid.collapsedNodes.filter(function(c){return a.collapseStart!==c.collapseStart||a.collapseEnd!==c.collapseEnd})))})}),E(e,"afterBreaks",function(){var a;"yAxis"===e.coll&&!e.staticScale&&(null===(a=e.chart.options.chart)||void 0===a?0:a.height)&&(e.isDirty=!0)}),
-f=b({grid:{enabled:!0},labels:{align:"left",levels:[{level:void 0},{level:1,style:{fontWeight:"bold"}}],symbol:{type:"triangle",x:-5,y:-5,height:10,width:10,padding:5}},uniqueNames:!1},f,{reversed:!0,grid:{columns:void 0}}));c.apply(e,[d,f]);g&&(e.hasNames=!0,e.options.showLastLabel=!0)}function h(a){var c=this.options;"treegrid"===c.type?(this.min=m(this.userMin,c.min,this.dataMin),this.max=m(this.userMax,c.max,this.dataMax),x(this,"foundExtremes"),this.setAxisTranslation(),this.tickmarkOffset=.5,
-this.tickInterval=1,this.tickPositions=this.treeGrid.mapOfPosToGridNode?this.treeGrid.getTickPositions():[]):a.apply(this,Array.prototype.slice.call(arguments,1))}var I=!1;e.compose=function(a){I||(t(a.prototype,"generateTick",d),t(a.prototype,"getMaxLabelDimensions",q),t(a.prototype,"init",c),t(a.prototype,"setTickInterval",h),C.compose(l),I=!0)};var H=function(){function a(a){this.axis=a}a.prototype.setCollapsedStatus=function(a){var c=this.axis,b=c.chart;c.series.forEach(function(c){var d=c.options.data;
-if(a.id&&d){var f=b.get(a.id);c=d[c.data.indexOf(f)];f&&c&&(f.collapsed=a.collapsed,c.collapsed=a.collapsed)}})};a.prototype.collapse=function(a){var c=this.axis,b=c.options.breaks||[],d=p(a,c.max);b.push(d);a.collapsed=!0;c.treeGrid.setCollapsedStatus(a);return b};a.prototype.expand=function(a){var c=this.axis,b=c.options.breaks||[],d=p(a,c.max);a.collapsed=!1;c.treeGrid.setCollapsedStatus(a);return b.reduce(function(a,c){c.to===d.to&&c.from===d.from||a.push(c);return a},[])};a.prototype.getTickPositions=
-function(){var a=this.axis,c=Math.floor(a.min/a.tickInterval)*a.tickInterval,b=Math.ceil(a.max/a.tickInterval)*a.tickInterval;return Object.keys(a.treeGrid.mapOfPosToGridNode||{}).reduce(function(d,f){f=+f;!(f>=c&&f<=b)||a.brokenAxis&&a.brokenAxis.isInAnyBreak(f)||d.push(f);return d},[])};a.prototype.isCollapsed=function(a){var c=this.axis,b=c.options.breaks||[],d=p(a,c.max);return b.some(function(a){return a.from===d.from&&a.to===d.to})};a.prototype.toggleCollapse=function(a){return this.isCollapsed(a)?
-this.expand(a):this.collapse(a)};return a}();e.Additions=H})(I||(I={}));e.prototype.utils={getNode:F.getNode};I.compose(e);return I});O(e,"Extensions/CurrentDateIndication.js",[e["Core/Axis/Axis.js"],e["Core/Color/Palette.js"],e["Core/Utilities.js"],e["Core/Axis/PlotLineOrBand.js"]],function(e,l,F,C){var H=F.addEvent,G=F.merge;F=F.wrap;var D={currentDateIndicator:!0,color:l.highlightColor20,width:2,label:{format:"%a, %b %d %Y, %H:%M",formatter:function(e,l){return this.axis.chart.time.dateFormat(l,
-e)},rotation:0,style:{fontSize:"10px"}}};H(e,"afterSetOptions",function(){var e=this.options,l=e.currentDateIndicator;l&&(l="object"===typeof l?G(D,l):G(D),l.value=new Date,e.plotLines||(e.plotLines=[]),e.plotLines.push(l))});H(C,"render",function(){this.label&&this.label.attr({text:this.getLabelText(this.options.label)})});F(C.prototype,"getLabelText",function(e,l){var x=this.options;return x.currentDateIndicator&&x.label&&"function"===typeof x.label.formatter?(x.value=new Date,x.label.formatter.call(this,
-x.value,x.label.format)):e.call(this,l)})});O(e,"Extensions/StaticScale.js",[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],function(e,l,F){var C=F.addEvent,H=F.defined,G=F.isNumber,D=F.pick;C(e,"afterSetOptions",function(){var e=this.chart.options&&this.chart.options.chart;!this.horiz&&G(this.options.staticScale)&&(!e.height||e.scrollablePlotArea&&e.scrollablePlotArea.minHeight)&&(this.staticScale=this.options.staticScale)});l.prototype.adjustHeight=function(){"adjustHeight"!==
-this.redrawTrigger&&((this.axes||[]).forEach(function(e){var l=e.chart,x=!!l.initiatedScale&&l.options.animation,g=e.options.staticScale;if(e.staticScale&&H(e.min)){var u=D(e.brokenAxis&&e.brokenAxis.unitLength,e.max+e.tickInterval-e.min)*g;u=Math.max(u,g);g=u-l.plotHeight;1<=Math.abs(g)&&(l.plotHeight=u,l.redrawTrigger="adjustHeight",l.setSize(void 0,l.chartHeight+g,x));e.series.forEach(function(f){(f=f.sharedClipKey&&l[f.sharedClipKey])&&f.attr({height:l.plotHeight})})}}),this.initiatedScale=!0);
-this.redrawTrigger=null};C(l,"render",l.prototype.adjustHeight)});O(e,"Extensions/ArrowSymbols.js",[e["Core/Renderer/SVG/SVGRenderer.js"]],function(e){e.prototype.symbols.arrow=function(e,F,C,H){return[["M",e,F+H/2],["L",e+C,F],["L",e,F+H/2],["L",e+C,F+H]]};e.prototype.symbols["arrow-half"]=function(l,F,C,H){return e.prototype.symbols.arrow(l,F,C/2,H)};e.prototype.symbols["triangle-left"]=function(e,F,C,H){return[["M",e+C,F],["L",e,F+H/2],["L",e+C,F+H],["Z"]]};e.prototype.symbols["arrow-filled"]=
-e.prototype.symbols["triangle-left"];e.prototype.symbols["triangle-left-half"]=function(l,F,C,H){return e.prototype.symbols["triangle-left"](l,F,C/2,H)};e.prototype.symbols["arrow-filled-half"]=e.prototype.symbols["triangle-left-half"]});O(e,"Gantt/Connection.js",[e["Core/Globals.js"],e["Core/Options.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,l,F,C){function H(f){var b=f.shapeArgs;return b?{xMin:b.x,xMax:b.x+b.width,yMin:b.y,yMax:b.y+b.height}:(b=f.graphic&&f.graphic.getBBox())?
-{xMin:f.plotX-b.width/2,xMax:f.plotX+b.width/2,yMin:f.plotY-b.height/2,yMax:f.plotY+b.height/2}:null}"";var G=C.defined,D=C.error,E=C.extend,A=C.merge,x=C.objectEach,g=e.deg2rad,u=Math.max,f=Math.min;E(l.defaultOptions,{connectors:{type:"straight",lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}});l=function(){function e(b,f,e){this.toPoint=this.pathfinder=this.graphics=this.fromPoint=this.chart=
-void 0;this.init(b,f,e)}e.prototype.init=function(b,f,e){this.fromPoint=b;this.toPoint=f;this.options=e;this.chart=b.series.chart;this.pathfinder=this.chart.pathfinder};e.prototype.renderPath=function(b,f,e){var g=this.chart,l=g.styledMode,m=g.pathfinder,a=!g.options.chart.forExport&&!1!==e,k=this.graphics&&this.graphics.path;m.group||(m.group=g.renderer.g().addClass("highcharts-pathfinder-group").attr({zIndex:-1}).add(g.seriesGroup));m.group.translate(g.plotLeft,g.plotTop);k&&k.renderer||(k=g.renderer.path().add(m.group),
-l||k.attr({opacity:0}));k.attr(f);b={d:b};l||(b.opacity=1);k[a?"animate":"attr"](b,e);this.graphics=this.graphics||{};this.graphics.path=k};e.prototype.addMarker=function(b,f,e){var l=this.fromPoint.series.chart,m=l.pathfinder;l=l.renderer;var p="start"===b?this.fromPoint:this.toPoint,a=p.getPathfinderAnchorPoint(f);if(f.enabled&&((e="start"===b?e[1]:e[e.length-2])&&"M"===e[0]||"L"===e[0])){e={x:e[1],y:e[2]};e=p.getRadiansToVector(e,a);a=p.getMarkerVector(e,f.radius,a);e=-e/g;if(f.width&&f.height){var k=
-f.width;var d=f.height}else k=d=2*f.radius;this.graphics=this.graphics||{};a={x:a.x-k/2,y:a.y-d/2,width:k,height:d,rotation:e,rotationOriginX:a.x,rotationOriginY:a.y};this.graphics[b]?this.graphics[b].animate(a):(this.graphics[b]=l.symbol(f.symbol).addClass("highcharts-point-connecting-path-"+b+"-marker").attr(a).add(m.group),l.styledMode||this.graphics[b].attr({fill:f.color||this.fromPoint.color,stroke:f.lineColor,"stroke-width":f.lineWidth,opacity:0}).animate({opacity:1},p.series.options.animation))}};
-e.prototype.getPath=function(b){var f=this.pathfinder,e=this.chart,g=f.algorithms[b.type],l=f.chartObstacles;if("function"!==typeof g)return D('"'+b.type+'" is not a Pathfinder algorithm.'),{path:[],obstacles:[]};g.requiresObstacles&&!l&&(l=f.chartObstacles=f.getChartObstacles(b),e.options.connectors.algorithmMargin=b.algorithmMargin,f.chartObstacleMetrics=f.getObstacleMetrics(l));return g(this.fromPoint.getPathfinderAnchorPoint(b.startMarker),this.toPoint.getPathfinderAnchorPoint(b.endMarker),A({chartObstacles:l,
-lineObstacles:f.lineObstacles||[],obstacleMetrics:f.chartObstacleMetrics,hardBounds:{xMin:0,xMax:e.plotWidth,yMin:0,yMax:e.plotHeight},obstacleOptions:{margin:b.algorithmMargin},startDirectionX:f.getAlgorithmStartDirection(b.startMarker)},b))};e.prototype.render=function(){var b=this.fromPoint,e=b.series,g=e.chart,l=g.pathfinder,q=A(g.options.connectors,e.options.connectors,b.options.connectors,this.options),p={};g.styledMode||(p.stroke=q.lineColor||b.color,p["stroke-width"]=q.lineWidth,q.dashStyle&&
-(p.dashstyle=q.dashStyle));p["class"]="highcharts-point-connecting-path highcharts-color-"+b.colorIndex;q=A(p,q);G(q.marker.radius)||(q.marker.radius=f(u(Math.ceil((q.algorithmMargin||8)/2)-1,1),5));b=this.getPath(q);g=b.path;b.obstacles&&(l.lineObstacles=l.lineObstacles||[],l.lineObstacles=l.lineObstacles.concat(b.obstacles));this.renderPath(g,p,e.options.animation);this.addMarker("start",A(q.marker,q.startMarker),g);this.addMarker("end",A(q.marker,q.endMarker),g)};e.prototype.destroy=function(){this.graphics&&
-(x(this.graphics,function(b){b.destroy()}),delete this.graphics)};return e}();e.Connection=l;E(F.prototype,{getPathfinderAnchorPoint:function(f){var b=H(this);switch(f.align){case "right":var e="xMax";break;case "left":e="xMin"}switch(f.verticalAlign){case "top":var g="yMin";break;case "bottom":g="yMax"}return{x:e?b[e]:(b.xMin+b.xMax)/2,y:g?b[g]:(b.yMin+b.yMax)/2}},getRadiansToVector:function(f,b){var e;G(b)||(e=H(this))&&(b={x:(e.xMin+e.xMax)/2,y:(e.yMin+e.yMax)/2});return Math.atan2(b.y-f.y,f.x-
-b.x)},getMarkerVector:function(f,b,e){var g=2*Math.PI,l=H(this),m=l.xMax-l.xMin,p=l.yMax-l.yMin,a=Math.atan2(p,m),k=!1;m/=2;var d=p/2,u=l.xMin+m;l=l.yMin+d;for(var c=u,h=l,w=1,x=1;f<-Math.PI;)f+=g;for(;f>Math.PI;)f-=g;g=Math.tan(f);f>-a&&f<=a?(x=-1,k=!0):f>a&&f<=Math.PI-a?x=-1:f>Math.PI-a||f<=-(Math.PI-a)?(w=-1,k=!0):w=-1;k?(c+=w*m,h+=x*m*g):(c+=p/(2*g)*w,h+=x*d);e.x!==u&&(c=e.x);e.y!==l&&(h=e.y);return{x:c+b*Math.cos(f),y:h-b*Math.sin(f)}}});return l});O(e,"Gantt/PathfinderAlgorithms.js",[e["Core/Utilities.js"]],
-function(e){function l(e,l,f){f=f||0;var g=e.length-1;l-=1e-7;for(var b,m;f<=g;)if(b=g+f>>1,m=l-e[b].xMin,0<m)f=b+1;else if(0>m)g=b-1;else return b;return 0<f?f-1:0}function F(e,u){for(var f=l(e,u.x+1)+1;f--;){var g;if(g=e[f].xMax>=u.x)g=e[f],g=u.x<=g.xMax&&u.x>=g.xMin&&u.y<=g.yMax&&u.y>=g.yMin;if(g)return f}return-1}function C(e){var g=[];if(e.length){g.push(["M",e[0].start.x,e[0].start.y]);for(var f=0;f<e.length;++f)g.push(["L",e[f].end.x,e[f].end.y])}return g}function H(e,l){e.yMin=A(e.yMin,l.yMin);
-e.yMax=E(e.yMax,l.yMax);e.xMin=A(e.xMin,l.xMin);e.xMax=E(e.xMax,l.xMax)}var G=e.extend,D=e.pick,E=Math.min,A=Math.max,x=Math.abs;e=G(function(e,l,f){function g(a,b,f,c,e){a={x:a.x,y:a.y};a[b]=f[c||b]+(e||0);return a}function b(a,b,f){var c=x(b[f]-a[f+"Min"])>x(b[f]-a[f+"Max"]);return g(b,f,a,f+(c?"Max":"Min"),c?1:-1)}var m=[],t=D(f.startDirectionX,x(l.x-e.x)>x(l.y-e.y))?"x":"y",u=f.chartObstacles,q=F(u,e);f=F(u,l);if(-1<f){var p=u[f];f=b(p,l,t);p={start:f,end:l};var a=f}else a=l;-1<q&&(u=u[q],f=b(u,
-e,t),m.push({start:e,end:f}),f[t]>=e[t]===f[t]>=a[t]&&(t="y"===t?"x":"y",l=e[t]<l[t],m.push({start:f,end:g(f,t,u,t+(l?"Max":"Min"),l?1:-1)}),t="y"===t?"x":"y"));e=m.length?m[m.length-1].end:e;f=g(e,t,a);m.push({start:e,end:f});t=g(f,"y"===t?"x":"y",a);m.push({start:f,end:t});m.push(p);return{path:C(m),obstacles:m}},{requiresObstacles:!0});return{fastAvoid:G(function(e,u,f){function g(a,c,b){var d,f=a.x<c.x?1:-1;if(a.x<c.x){var e=a;var g=c}else e=c,g=a;if(a.y<c.y){var h=a;var k=c}else h=c,k=a;for(d=
-0>f?E(l(G,g.x),G.length-1):0;G[d]&&(0<f&&G[d].xMin<=g.x||0>f&&G[d].xMax>=e.x);){if(G[d].xMin<=g.x&&G[d].xMax>=e.x&&G[d].yMin<=k.y&&G[d].yMax>=h.y)return b?{y:a.y,x:a.x<c.x?G[d].xMin-1:G[d].xMax+1,obstacle:G[d]}:{x:a.x,y:a.y<c.y?G[d].yMin-1:G[d].yMax+1,obstacle:G[d]};d+=f}return c}function b(a,c,b,d,f){var e=f.soft,h=f.hard,k=d?"x":"y",r={x:c.x,y:c.y},n={x:c.x,y:c.y};f=a[k+"Max"]>=e[k+"Max"];e=a[k+"Min"]<=e[k+"Min"];var l=a[k+"Max"]>=h[k+"Max"];h=a[k+"Min"]<=h[k+"Min"];var m=x(a[k+"Min"]-c[k]),p=x(a[k+
-"Max"]-c[k]);b=10>x(m-p)?c[k]<b[k]:p<m;n[k]=a[k+"Min"];r[k]=a[k+"Max"];a=g(c,n,d)[k]!==n[k];c=g(c,r,d)[k]!==r[k];b=a?c?b:!0:c?!1:b;b=e?f?b:!0:f?!1:b;return h?l?b:!0:l?!1:b}function m(e,k,r){if(e.x===k.x&&e.y===k.y)return[];var n=r?"x":"y",l=f.obstacleOptions.margin;var p={soft:{xMin:d,xMax:y,yMin:c,yMax:h},hard:f.hardBounds};var q=F(G,e);if(-1<q){q=G[q];p=b(q,e,k,r,p);H(q,f.hardBounds);var t=r?{y:e.y,x:q[p?"xMax":"xMin"]+(p?1:-1)}:{x:e.x,y:q[p?"yMax":"yMin"]+(p?1:-1)};var u=F(G,t);-1<u&&(u=G[u],H(u,
-f.hardBounds),t[n]=p?A(q[n+"Max"]-l+1,(u[n+"Min"]+q[n+"Max"])/2):E(q[n+"Min"]+l-1,(u[n+"Max"]+q[n+"Min"])/2),e.x===t.x&&e.y===t.y?(a&&(t[n]=p?A(q[n+"Max"],u[n+"Max"])+1:E(q[n+"Min"],u[n+"Min"])-1),a=!a):a=!1);e=[{start:e,end:t}]}else n=g(e,{x:r?k.x:e.x,y:r?e.y:k.y},r),e=[{start:e,end:{x:n.x,y:n.y}}],n[r?"x":"y"]!==k[r?"x":"y"]&&(p=b(n.obstacle,n,k,!r,p),H(n.obstacle,f.hardBounds),p={x:r?n.x:n.obstacle[p?"xMax":"xMin"]+(p?1:-1),y:r?n.obstacle[p?"yMax":"yMin"]+(p?1:-1):n.y},r=!r,e=e.concat(m({x:n.x,
-y:n.y},p,r)));return e=e.concat(m(e[e.length-1].end,k,!r))}function t(a,c,d){var e=E(a.xMax-c.x,c.x-a.xMin)<E(a.yMax-c.y,c.y-a.yMin);d=b(a,c,d,e,{soft:f.hardBounds,hard:f.hardBounds});return e?{y:c.y,x:a[d?"xMax":"xMin"]+(d?1:-1)}:{x:c.x,y:a[d?"yMax":"yMin"]+(d?1:-1)}}var I=D(f.startDirectionX,x(u.x-e.x)>x(u.y-e.y)),q=I?"x":"y",p=[],a=!1,k=f.obstacleMetrics,d=E(e.x,u.x)-k.maxWidth-10,y=A(e.x,u.x)+k.maxWidth+10,c=E(e.y,u.y)-k.maxHeight-10,h=A(e.y,u.y)+k.maxHeight+10,G=f.chartObstacles;var J=l(G,d);
-k=l(G,y);G=G.slice(J,k+1);if(-1<(k=F(G,u))){var P=t(G[k],u,e);p.push({end:u,start:P});u=P}for(;-1<(k=F(G,u));)J=0>u[q]-e[q],P={x:u.x,y:u.y},P[q]=G[k][J?q+"Max":q+"Min"]+(J?1:-1),p.push({end:u,start:P}),u=P;e=m(e,u,I);e=e.concat(p.reverse());return{path:C(e),obstacles:e}},{requiresObstacles:!0}),straight:function(e,l){return{path:[["M",e.x,e.y],["L",l.x,l.y]],obstacles:[{start:e,end:l}]}},simpleConnect:e}});O(e,"Gantt/Pathfinder.js",[e["Gantt/Connection.js"],e["Core/Chart/Chart.js"],e["Core/Globals.js"],
-e["Core/Options.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"],e["Gantt/PathfinderAlgorithms.js"]],function(e,l,F,C,H,J,D){function E(a){var b=a.shapeArgs;return b?{xMin:b.x,xMax:b.x+b.width,yMin:b.y,yMax:b.y+b.height}:(b=a.graphic&&a.graphic.getBBox())?{xMin:a.plotX-b.width/2,xMax:a.plotX+b.width/2,yMin:a.plotY-b.height/2,yMax:a.plotY+b.height/2}:null}function A(a){for(var b=a.length,d=0,f,c,e=[],g=function(a,c,b){b=m(b,10);var d=a.yMax+b>c.yMin-b&&a.yMin-b<c.yMax+b,f=a.xMax+b>c.xMin-b&&a.xMin-
-b<c.xMax+b,e=d?a.xMin>c.xMax?a.xMin-c.xMax:c.xMin-a.xMax:Infinity,h=f?a.yMin>c.yMax?a.yMin-c.yMax:c.yMin-a.yMax:Infinity;return f&&d?b?g(a,c,Math.floor(b/2)):Infinity:q(e,h)};d<b;++d)for(f=d+1;f<b;++f)c=g(a[d],a[f]),80>c&&e.push(c);e.push(80);return I(Math.floor(e.sort(function(a,c){return a-c})[Math.floor(e.length/10)]/2-1),1)}function x(a){if(a.options.pathfinder||a.series.reduce(function(a,d){d.options&&b(!0,d.options.connectors=d.options.connectors||{},d.options.pathfinder);return a||d.options&&
-d.options.pathfinder},!1))b(!0,a.options.connectors=a.options.connectors||{},a.options.pathfinder),f('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')}"";var g=J.addEvent,u=J.defined,f=J.error,w=J.extend,b=J.merge,m=J.pick,t=J.splat,I=Math.max,q=Math.min;w(C.defaultOptions,{connectors:{type:"straight",lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}});
-var p=function(){function a(a){this.lineObstacles=this.group=this.connections=this.chartObstacleMetrics=this.chartObstacles=this.chart=void 0;this.init(a)}a.prototype.init=function(a){this.chart=a;this.connections=[];g(a,"redraw",function(){this.pathfinder.update()})};a.prototype.update=function(a){var b=this.chart,f=this,c=f.connections;f.connections=[];b.series.forEach(function(a){a.visible&&!a.options.isInternal&&a.points.forEach(function(a){var c=a.options;c&&c.dependency&&(c.connect=c.dependency);
-var d;c=a.options&&a.options.connect&&t(a.options.connect);a.visible&&!1!==a.isInside&&c&&c.forEach(function(c){d=b.get("string"===typeof c?c:c.to);d instanceof H&&d.series.visible&&d.visible&&!1!==d.isInside&&f.connections.push(new e(a,d,"string"===typeof c?{}:c))})})});for(var g=0,k,l,m=c.length,n=f.connections.length;g<m;++g){l=!1;for(k=0;k<n;++k)if(c[g].fromPoint===f.connections[k].fromPoint&&c[g].toPoint===f.connections[k].toPoint){f.connections[k].graphics=c[g].graphics;l=!0;break}l||c[g].destroy()}delete this.chartObstacles;
-delete this.lineObstacles;f.renderConnections(a)};a.prototype.renderConnections=function(a){a?this.chart.series.forEach(function(a){var b=function(){var c=a.chart.pathfinder;(c&&c.connections||[]).forEach(function(c){c.fromPoint&&c.fromPoint.series===a&&c.render()});a.pathfinderRemoveRenderEvent&&(a.pathfinderRemoveRenderEvent(),delete a.pathfinderRemoveRenderEvent)};!1===a.options.animation?b():a.pathfinderRemoveRenderEvent=g(a,"afterAnimate",b)}):this.connections.forEach(function(a){a.render()})};
-a.prototype.getChartObstacles=function(a){for(var b=[],f=this.chart.series,c=m(a.algorithmMargin,0),e,g=0,k=f.length;g<k;++g)if(f[g].visible&&!f[g].options.isInternal)for(var l=0,n=f[g].points.length,p;l<n;++l)p=f[g].points[l],p.visible&&(p=E(p))&&b.push({xMin:p.xMin-c,xMax:p.xMax+c,yMin:p.yMin-c,yMax:p.yMax+c});b=b.sort(function(a,c){return a.xMin-c.xMin});u(a.algorithmMargin)||(e=a.algorithmMargin=A(b),b.forEach(function(a){a.xMin-=e;a.xMax+=e;a.yMin-=e;a.yMax+=e}));return b};a.prototype.getObstacleMetrics=
-function(a){for(var b=0,f=0,c,e,g=a.length;g--;)c=a[g].xMax-a[g].xMin,e=a[g].yMax-a[g].yMin,b<c&&(b=c),f<e&&(f=e);return{maxHeight:f,maxWidth:b}};a.prototype.getAlgorithmStartDirection=function(a){var b="top"!==a.verticalAlign&&"bottom"!==a.verticalAlign;return"left"!==a.align&&"right"!==a.align?b?void 0:!1:b?!0:void 0};return a}();p.prototype.algorithms=D;F.Pathfinder=p;w(H.prototype,{getPathfinderAnchorPoint:function(a){var b=E(this);switch(a.align){case "right":var d="xMax";break;case "left":d=
-"xMin"}switch(a.verticalAlign){case "top":var f="yMin";break;case "bottom":f="yMax"}return{x:d?b[d]:(b.xMin+b.xMax)/2,y:f?b[f]:(b.yMin+b.yMax)/2}},getRadiansToVector:function(a,b){var d;u(b)||(d=E(this))&&(b={x:(d.xMin+d.xMax)/2,y:(d.yMin+d.yMax)/2});return Math.atan2(b.y-a.y,a.x-b.x)},getMarkerVector:function(a,b,d){var f=2*Math.PI,c=E(this),e=c.xMax-c.xMin,g=c.yMax-c.yMin,k=Math.atan2(g,e),l=!1;e/=2;var n=g/2,m=c.xMin+e;c=c.yMin+n;for(var r=m,p=c,q=1,t=1;a<-Math.PI;)a+=f;for(;a>Math.PI;)a-=f;f=
-Math.tan(a);a>-k&&a<=k?(t=-1,l=!0):a>k&&a<=Math.PI-k?t=-1:a>Math.PI-k||a<=-(Math.PI-k)?(q=-1,l=!0):q=-1;l?(r+=q*e,p+=t*e*f):(r+=g/(2*f)*q,p+=t*n);d.x!==m&&(r=d.x);d.y!==c&&(p=d.y);return{x:r+b*Math.cos(a),y:p-b*Math.sin(a)}}});l.prototype.callbacks.push(function(a){!1!==a.options.connectors.enabled&&(x(a),this.pathfinder=new p(this),this.pathfinder.update(!0))});return p});O(e,"Series/Gantt/GanttSeries.js",[e["Series/Gantt/GanttPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],
-function(e,l,F){var C=this&&this.__extends||function(){var e=function(g,f){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||function(f,b){for(var e in b)b.hasOwnProperty(e)&&(f[e]=b[e])};return e(g,f)};return function(g,f){function l(){this.constructor=g}e(g,f);g.prototype=null===f?Object.create(f):(l.prototype=f.prototype,new l)}}(),H=l.series,G=l.seriesTypes.xrange,D=F.extend,E=F.isNumber,A=F.merge,x=F.splat;F=function(e){function g(){var f=null!==e&&e.apply(this,
-arguments)||this;f.data=void 0;f.options=void 0;f.points=void 0;return f}C(g,e);g.prototype.drawPoint=function(f,e){var b=this.options,g=this.chart.renderer,l=f.shapeArgs,u=f.plotY,q=f.graphic,p=f.selected&&"select",a=b.stacking&&!b.borderRadius;if(f.options.milestone)if(E(u)&&null!==f.y&&!1!==f.visible){l=g.symbols.diamond(l.x,l.y,l.width,l.height);if(q)q[e]({d:l});else f.graphic=g.path(l).addClass(f.getClassName(),!0).add(f.group||this.group);this.chart.styledMode||f.graphic.attr(this.pointAttribs(f,
-p)).shadow(b.shadow,null,a)}else q&&(f.graphic=q.destroy());else G.prototype.drawPoint.call(this,f,e)};g.prototype.translatePoint=function(f){G.prototype.translatePoint.call(this,f);if(f.options.milestone){var e=f.shapeArgs;var b=e.height;f.shapeArgs={x:e.x-b/2,y:e.y,width:b,height:b}}};g.defaultOptions=A(G.defaultOptions,{grouping:!1,dataLabels:{enabled:!0},tooltip:{headerFormat:'<span style="font-size: 10px">{series.name}</span><br/>',pointFormat:null,pointFormatter:function(){var f=this.series,
-e=f.chart.tooltip,b=f.xAxis,g=f.tooltipOptions.dateTimeLabelFormats,l=b.options.startOfWeek,u=f.tooltipOptions,q=u.xDateFormat,p=this.options.milestone,a="<b>"+(this.name||this.yCategory)+"</b>";if(u.pointFormat)return this.tooltipFormatter(u.pointFormat);q||(q=x(e.getDateFormat(b.closestPointRange,this.start,l,g))[0]);e=f.chart.time.dateFormat(q,this.start);f=f.chart.time.dateFormat(q,this.end);a+="<br/>";return p?a+(e+"<br/>"):a+("Start: "+e+"<br/>End: ")+(f+"<br/>")}},connectors:{type:"simpleConnect",
-animation:{reversed:!0},startMarker:{enabled:!0,symbol:"arrow-filled",radius:4,fill:"#fa0",align:"left"},endMarker:{enabled:!1,align:"right"}}});return g}(G);D(F.prototype,{keyboardMoveVertical:!1,pointArrayMap:["start","end","y"],pointClass:e,setData:H.prototype.setData});l.registerSeriesType("gantt",F);"";return F});O(e,"Core/Chart/GanttChart.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,l,F){var C=F.getOptions,H=F.isArray,G=F.merge,D=F.splat;l.ganttChart=
-function(l,A,x){var g="string"===typeof l||l.nodeName,u=A.series,f=C(),w,b=A;A=arguments[g?1:0];H(A.xAxis)||(A.xAxis=[A.xAxis||{},{}]);A.xAxis=A.xAxis.map(function(b,e){1===e&&(w=0);return G(f.xAxis,{grid:{enabled:!0},opposite:!0,linkedTo:w},b,{type:"datetime"})});A.yAxis=D(A.yAxis||{}).map(function(b){return G(f.yAxis,{grid:{enabled:!0},staticScale:50,reversed:!0,type:b.categories?b.type:"treegrid"},b)});A.series=null;A=G(!0,{chart:{type:"gantt"},title:{text:null},legend:{enabled:!1},navigator:{series:{type:"gantt"},
-yAxis:{type:"category"}}},A,{isGantt:!0});A.series=b.series=u;return g?new e(l,A,x):new e(A,A)}});O(e,"Core/Axis/ScrollbarAxis.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,l){var F=l.addEvent,C=l.defined,H=l.pick;return function(){function l(){}l.compose=function(l,E){var A=function(e){var g=H(e.options&&e.options.min,e.min),l=H(e.options&&e.options.max,e.max);return{axisMin:g,axisMax:l,scrollMin:C(e.dataMin)?Math.min(g,e.min,e.dataMin,H(e.threshold,Infinity)):g,scrollMax:C(e.dataMax)?
-Math.max(l,e.max,e.dataMax,H(e.threshold,-Infinity)):l}};F(l,"afterInit",function(){var l=this;l.options&&l.options.scrollbar&&l.options.scrollbar.enabled&&(l.options.scrollbar.vertical=!l.horiz,l.options.startOnTick=l.options.endOnTick=!1,l.scrollbar=new E(l.chart.renderer,l.options.scrollbar,l.chart),F(l.scrollbar,"changed",function(g){var u=A(l),f=u.axisMax,x=u.scrollMin,b=u.scrollMax-x;C(u.axisMin)&&C(f)&&(l.horiz&&!l.reversed||!l.horiz&&l.reversed?(u=x+b*this.to,x+=b*this.from):(u=x+b*(1-this.from),
-x+=b*(1-this.to)),H(this.options.liveRedraw,e.svg&&!e.isTouchDevice&&!this.chart.isBoosting)||"mouseup"===g.DOMType||"touchend"===g.DOMType||!C(g.DOMType)?l.setExtremes(x,u,!0,"mousemove"!==g.DOMType&&"touchmove"!==g.DOMType,g):this.setRange(this.from,this.to))}))});F(l,"afterRender",function(){var e=A(this),g=e.scrollMin,l=e.scrollMax;e=this.scrollbar;var f=this.axisTitleMargin+(this.titleOffset||0),w=this.chart.scrollbarsOffsets,b=this.options.margin||0;e&&(this.horiz?(this.opposite||(w[1]+=f),
-e.position(this.left,this.top+this.height+2+w[1]-(this.opposite?b:0),this.width,this.height),this.opposite||(w[1]+=b),f=1):(this.opposite&&(w[0]+=f),e.position(this.left+this.width+2+w[0]-(this.opposite?0:b),this.top,this.width,this.height),this.opposite&&(w[0]+=b),f=0),w[f]+=e.size+e.options.margin,isNaN(g)||isNaN(l)||!C(this.min)||!C(this.max)||this.min===this.max?e.setRange(0,1):(w=(this.min-g)/(l-g),g=(this.max-g)/(l-g),this.horiz&&!this.reversed||!this.horiz&&this.reversed?e.setRange(w,g):e.setRange(1-
-g,1-w)))});F(l,"afterGetOffset",function(){var e=this.horiz?2:1,g=this.scrollbar;g&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[e]+=g.size+g.options.margin)})};return l}()});O(e,"Core/Scrollbar.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Axis/ScrollbarAxis.js"],e["Core/Utilities.js"],e["Core/Options.js"]],function(e,l,F,C,H,J){var D=H.addEvent,E=H.correctFloat,A=H.defined,x=H.destroyObjectProperties,g=H.fireEvent,u=H.merge,f=H.pick,w=H.removeEvent;
-H=J.defaultOptions;var b=l.isTouchDevice,m=l.swapXY=function(b,f){f&&b.forEach(function(b){for(var f=b.length,a,e=0;e<f;e+=2)a=b[e+1],"number"===typeof a&&(b[e+1]=b[e+2],b[e+2]=a)});return b};J=function(){function e(b,e,f){this._events=[];this.from=this.chartY=this.chartX=0;this.scrollbar=this.group=void 0;this.scrollbarButtons=[];this.scrollbarGroup=void 0;this.scrollbarLeft=0;this.scrollbarRifles=void 0;this.scrollbarStrokeWidth=1;this.to=this.size=this.scrollbarTop=0;this.track=void 0;this.trackBorderWidth=
-1;this.userOptions={};this.y=this.x=0;this.chart=f;this.options=e;this.renderer=f.renderer;this.init(b,e,f)}e.prototype.addEvents=function(){var b=this.options.inverted?[1,0]:[0,1],e=this.scrollbarButtons,f=this.scrollbarGroup.element,a=this.track.element,g=this.mouseDownHandler.bind(this),d=this.mouseMoveHandler.bind(this),m=this.mouseUpHandler.bind(this);b=[[e[b[0]].element,"click",this.buttonToMinClick.bind(this)],[e[b[1]].element,"click",this.buttonToMaxClick.bind(this)],[a,"click",this.trackClick.bind(this)],
-[f,"mousedown",g],[f.ownerDocument,"mousemove",d],[f.ownerDocument,"mouseup",m]];l.hasTouch&&b.push([f,"touchstart",g],[f.ownerDocument,"touchmove",d],[f.ownerDocument,"touchend",m]);b.forEach(function(a){D.apply(null,a)});this._events=b};e.prototype.buttonToMaxClick=function(b){var e=(this.to-this.from)*f(this.options.step,.2);this.updatePosition(this.from+e,this.to+e);g(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:b})};e.prototype.buttonToMinClick=function(b){var e=E(this.to-
-this.from)*f(this.options.step,.2);this.updatePosition(E(this.from-e),E(this.to-e));g(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:b})};e.prototype.cursorToScrollbarPosition=function(b){var e=this.options;e=e.minWidth>this.calculatedWidth?e.minWidth:0;return{chartX:(b.chartX-this.x-this.xOffset)/(this.barWidth-e),chartY:(b.chartY-this.y-this.yOffset)/(this.barWidth-e)}};e.prototype.destroy=function(){var b=this.chart.scroller;this.removeEvents();["track","scrollbarRifles",
-"scrollbar","scrollbarGroup","group"].forEach(function(b){this[b]&&this[b].destroy&&(this[b]=this[b].destroy())},this);b&&this===b.scrollbar&&(b.scrollbar=null,x(b.scrollbarButtons))};e.prototype.drawScrollbarButton=function(b){var e=this.renderer,f=this.scrollbarButtons,a=this.options,g=this.size;var d=e.g().add(this.group);f.push(d);d=e.rect().addClass("highcharts-scrollbar-button").add(d);this.chart.styledMode||d.attr({stroke:a.buttonBorderColor,"stroke-width":a.buttonBorderWidth,fill:a.buttonBackgroundColor});
-d.attr(d.crisp({x:-.5,y:-.5,width:g+1,height:g+1,r:a.buttonBorderRadius},d.strokeWidth()));d=e.path(m([["M",g/2+(b?-1:1),g/2-3],["L",g/2+(b?-1:1),g/2+3],["L",g/2+(b?2:-2),g/2]],a.vertical)).addClass("highcharts-scrollbar-arrow").add(f[b]);this.chart.styledMode||d.attr({fill:a.buttonArrowColor})};e.prototype.init=function(b,g,l){this.scrollbarButtons=[];this.renderer=b;this.userOptions=g;this.options=u(e.defaultOptions,g);this.chart=l;this.size=f(this.options.size,this.options.height);g.enabled&&(this.render(),
-this.addEvents())};e.prototype.mouseDownHandler=function(b){b=this.chart.pointer.normalize(b);b=this.cursorToScrollbarPosition(b);this.chartX=b.chartX;this.chartY=b.chartY;this.initPositions=[this.from,this.to];this.grabbedCenter=!0};e.prototype.mouseMoveHandler=function(b){var e=this.chart.pointer.normalize(b),f=this.options.vertical?"chartY":"chartX",a=this.initPositions||[];!this.grabbedCenter||b.touches&&0===b.touches[0][f]||(e=this.cursorToScrollbarPosition(e)[f],f=this[f],f=e-f,this.hasDragged=
-!0,this.updatePosition(a[0]+f,a[1]+f),this.hasDragged&&g(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:b.type,DOMEvent:b}))};e.prototype.mouseUpHandler=function(b){this.hasDragged&&g(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:b.type,DOMEvent:b});this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null};e.prototype.position=function(b,e,f,a){var g=this.options.vertical,d=0,l=this.rendered?"animate":"attr";this.x=b;this.y=e+this.trackBorderWidth;
-this.width=f;this.xOffset=this.height=a;this.yOffset=d;g?(this.width=this.yOffset=f=d=this.size,this.xOffset=e=0,this.barWidth=a-2*f,this.x=b+=this.options.margin):(this.height=this.xOffset=a=e=this.size,this.barWidth=f-2*a,this.y+=this.options.margin);this.group[l]({translateX:b,translateY:this.y});this.track[l]({width:f,height:a});this.scrollbarButtons[1][l]({translateX:g?0:f-e,translateY:g?a-d:0})};e.prototype.removeEvents=function(){this._events.forEach(function(b){w.apply(null,b)});this._events.length=
-0};e.prototype.render=function(){var b=this.renderer,e=this.options,f=this.size,a=this.chart.styledMode,g;this.group=g=b.g("scrollbar").attr({zIndex:e.zIndex,translateY:-99999}).add();this.track=b.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:e.trackBorderRadius||0,height:f,width:f}).add(g);a||this.track.attr({fill:e.trackBackgroundColor,stroke:e.trackBorderColor,"stroke-width":e.trackBorderWidth});this.trackBorderWidth=this.track.strokeWidth();this.track.attr({y:-this.trackBorderWidth%
-2/2});this.scrollbarGroup=b.g().add(g);this.scrollbar=b.rect().addClass("highcharts-scrollbar-thumb").attr({height:f,width:f,r:e.barBorderRadius||0}).add(this.scrollbarGroup);this.scrollbarRifles=b.path(m([["M",-3,f/4],["L",-3,2*f/3],["M",0,f/4],["L",0,2*f/3],["M",3,f/4],["L",3,2*f/3]],e.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup);a||(this.scrollbar.attr({fill:e.barBackgroundColor,stroke:e.barBorderColor,"stroke-width":e.barBorderWidth}),this.scrollbarRifles.attr({stroke:e.rifleColor,
-"stroke-width":1}));this.scrollbarStrokeWidth=this.scrollbar.strokeWidth();this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2);this.drawScrollbarButton(0);this.drawScrollbarButton(1)};e.prototype.setRange=function(b,e){var f=this.options,a=f.vertical,g=f.minWidth,d=this.barWidth,l,c=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(A(d)){b=Math.max(b,0);var h=Math.ceil(d*b);this.calculatedWidth=l=E(d*
-Math.min(e,1)-h);l<g&&(h=(d-g+l)*b,l=g);g=Math.floor(h+this.xOffset+this.yOffset);d=l/2-.5;this.from=b;this.to=e;a?(this.scrollbarGroup[c]({translateY:g}),this.scrollbar[c]({height:l}),this.scrollbarRifles[c]({translateY:d}),this.scrollbarTop=g,this.scrollbarLeft=0):(this.scrollbarGroup[c]({translateX:g}),this.scrollbar[c]({width:l}),this.scrollbarRifles[c]({translateX:d}),this.scrollbarLeft=g,this.scrollbarTop=0);12>=l?this.scrollbarRifles.hide():this.scrollbarRifles.show(!0);!1===f.showFull&&(0>=
-b&&1<=e?this.group.hide():this.group.show());this.rendered=!0}};e.prototype.trackClick=function(b){var e=this.chart.pointer.normalize(b),f=this.to-this.from,a=this.y+this.scrollbarTop,k=this.x+this.scrollbarLeft;this.options.vertical&&e.chartY>a||!this.options.vertical&&e.chartX>k?this.updatePosition(this.from+f,this.to+f):this.updatePosition(this.from-f,this.to-f);g(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:b})};e.prototype.update=function(b){this.destroy();this.init(this.chart.renderer,
-u(!0,this.options,b),this.chart)};e.prototype.updatePosition=function(b,e){1<e&&(b=E(1-E(e-b)),e=1);0>b&&(e=E(e-b),b=0);this.from=b;this.to=e};e.defaultOptions={height:b?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,margin:10,minWidth:6,step:.2,zIndex:3,barBackgroundColor:F.neutralColor20,barBorderWidth:1,barBorderColor:F.neutralColor20,buttonArrowColor:F.neutralColor80,buttonBackgroundColor:F.neutralColor10,buttonBorderColor:F.neutralColor20,buttonBorderWidth:1,rifleColor:F.neutralColor80,
-trackBackgroundColor:F.neutralColor5,trackBorderColor:F.neutralColor5,trackBorderWidth:1};return e}();l.Scrollbar||(H.scrollbar=u(!0,J.defaultOptions,H.scrollbar),l.Scrollbar=J,C.compose(e,J));return l.Scrollbar});O(e,"Extensions/RangeSelector.js",[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Options.js"],e["Core/Color/Palette.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J,D){function E(a){if(-1!==a.indexOf("%L"))return"text";
-var b="aAdewbBmoyY".split("").some(function(b){return-1!==a.indexOf("%"+b)}),c="HkIlMS".split("").some(function(b){return-1!==a.indexOf("%"+b)});return b&&c?"datetime-local":b?"date":c?"time":"text"}var A=C.defaultOptions,x=D.addEvent,g=D.createElement,u=D.css,f=D.defined,w=D.destroyObjectProperties,b=D.discardElement,m=D.extend,t=D.find,G=D.fireEvent,q=D.isNumber,p=D.merge,a=D.objectEach,k=D.pad,d=D.pick,y=D.pInt,c=D.splat;m(A,{rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",
-enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:H.highlightColor80,cursor:"pointer"},labelStyle:{color:H.neutralColor60}}});m(A.lang,{rangeSelectorZoom:"Zoom",
-rangeSelectorFrom:"",rangeSelectorTo:"\u2192"});var h=function(){function h(a){this.buttons=void 0;this.buttonOptions=h.prototype.defaultButtons;this.initialButtonGroupWidth=0;this.options=void 0;this.chart=a;this.init(a)}h.prototype.clickButton=function(a,b){var g=this.chart,h=this.buttonOptions[a],k=g.xAxis[0],l=g.scroller&&g.scroller.getUnionExtremes()||k||{},n=l.dataMin,m=l.dataMax,p=k&&Math.round(Math.min(k.max,d(m,k.max))),t=h.type;l=h._range;var u,w=h.dataGrouping;if(null!==n&&null!==m){g.fixedRange=
-l;w&&(this.forcedDataGrouping=!0,e.prototype.setDataGrouping.call(k||{chart:this.chart},w,!1),this.frozenStates=h.preserveDataGrouping);if("month"===t||"year"===t)if(k){t={range:h,max:p,chart:g,dataMin:n,dataMax:m};var K=k.minFromRange.call(t);q(t.newMax)&&(p=t.newMax)}else l=h;else if(l)K=Math.max(p-l,n),p=Math.min(K+l,m);else if("ytd"===t)if(k)"undefined"===typeof m&&(n=Number.MAX_VALUE,m=Number.MIN_VALUE,g.series.forEach(function(a){a=a.xData;n=Math.min(a[0],n);m=Math.max(a[a.length-1],m)}),b=
-!1),p=this.getYTDExtremes(m,n,g.time.useUTC),K=u=p.min,p=p.max;else{this.deferredYTDClick=a;return}else"all"===t&&k&&(K=n,p=m);f(K)&&(K+=h._offsetMin);f(p)&&(p+=h._offsetMax);this.setSelected(a);this.dropdown&&(this.dropdown.selectedIndex=a+1);if(k)k.setExtremes(K,p,d(b,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:h});else{var y=c(g.options.xAxis)[0];var A=y.range;y.range=l;var C=y.min;y.min=u;x(g,"load",function(){y.range=A;y.min=C})}G(this,"afterBtnClick")}};h.prototype.setSelected=
-function(a){this.selected=this.options.selected=a};h.prototype.init=function(a){var b=this,c=a.options.rangeSelector,d=c.buttons||b.defaultButtons.slice(),e=c.selected,f=function(){var a=b.minInput,c=b.maxInput;a&&a.blur&&G(a,"blur");c&&c.blur&&G(c,"blur")};b.chart=a;b.options=c;b.buttons=[];b.buttonOptions=d;this.eventsToUnbind=[];this.eventsToUnbind.push(x(a.container,"mousedown",f));this.eventsToUnbind.push(x(a,"resize",f));d.forEach(b.computeButtonRange);"undefined"!==typeof e&&d[e]&&this.clickButton(e,
-!1);this.eventsToUnbind.push(x(a,"load",function(){a.xAxis&&a.xAxis[0]&&x(a.xAxis[0],"setExtremes",function(c){this.max-this.min!==a.fixedRange&&"rangeSelectorButton"!==c.trigger&&"updatedData"!==c.trigger&&b.forcedDataGrouping&&!b.frozenStates&&this.setDataGrouping(!1,!1)})}))};h.prototype.updateButtonStates=function(){var a=this,b=this.chart,c=this.dropdown,d=b.xAxis[0],e=Math.round(d.max-d.min),f=!d.hasVisibleSeries,g=b.scroller&&b.scroller.getUnionExtremes()||d,h=g.dataMin,k=g.dataMax;b=a.getYTDExtremes(k,
-h,b.time.useUTC);var l=b.min,m=b.max,p=a.selected,t=q(p),u=a.options.allButtonsEnabled,w=a.buttons;a.buttonOptions.forEach(function(b,g){var r=b._range,n=b.type,q=b.count||1,z=w[g],v=0,B=b._offsetMax-b._offsetMin;b=g===p;var x=r>k-h,L=r<d.minRange,y=!1,K=!1;r=r===e;("month"===n||"year"===n)&&e+36E5>=864E5*{month:28,year:365}[n]*q-B&&e-36E5<=864E5*{month:31,year:366}[n]*q+B?r=!0:"ytd"===n?(r=m-l+B===e,y=!b):"all"===n&&(r=d.max-d.min>=k-h,K=!b&&t&&r);n=!u&&(x||L||K||f);q=b&&r||r&&!t&&!y||b&&a.frozenStates;
-n?v=3:q&&(t=!0,v=2);z.state!==v&&(z.setState(v),c&&(c.options[g+1].disabled=n,2===v&&(c.selectedIndex=g+1)),0===v&&p===g&&a.setSelected())})};h.prototype.computeButtonRange=function(a){var b=a.type,c=a.count||1,e={millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5};if(e[b])a._range=e[b]*c;else if("month"===b||"year"===b)a._range=864E5*{month:30,year:365}[b]*c;a._offsetMin=d(a.offsetMin,0);a._offsetMax=d(a.offsetMax,0);a._range+=a._offsetMax-a._offsetMin};h.prototype.getInputValue=
-function(a){a="min"===a?this.minInput:this.maxInput;var b=this.chart.options.rangeSelector,c=this.chart.time;return a?("text"===a.type&&b.inputDateParser||this.defaultInputDateParser)(a.value,c.useUTC,c):0};h.prototype.setInputValue=function(a,b){var c=this.options,d=this.chart.time,e="min"===a?this.minInput:this.maxInput;a="min"===a?this.minDateBox:this.maxDateBox;if(e){var g=e.getAttribute("data-hc-time");g=f(g)?Number(g):void 0;f(b)&&(f(g)&&e.setAttribute("data-hc-time-previous",g),e.setAttribute("data-hc-time",
-b),g=b);e.value=d.dateFormat(this.inputTypeFormats[e.type]||c.inputEditDateFormat,g);a&&a.attr({text:d.dateFormat(c.inputDateFormat,g)})}};h.prototype.setInputExtremes=function(a,b,c){if(a="min"===a?this.minInput:this.maxInput){var d=this.inputTypeFormats[a.type],e=this.chart.time;d&&(b=e.dateFormat(d,b),a.min!==b&&(a.min=b),c=e.dateFormat(d,c),a.max!==c&&(a.max=c))}};h.prototype.showInput=function(a){var b="min"===a?this.minDateBox:this.maxDateBox;if((a="min"===a?this.minInput:this.maxInput)&&b&&
-this.inputGroup){var c="text"===a.type,d=this.inputGroup,e=d.translateX;d=d.translateY;u(a,{width:c?b.width-2+"px":"auto",height:c?b.height-2+"px":"auto",border:"2px solid silver"});c?u(a,{left:e+b.x+"px",top:d+"px"}):u(a,{left:Math.min(Math.round(b.x+e-(a.offsetWidth-b.width)/2),this.chart.chartWidth-a.offsetWidth)+"px",top:d-(a.offsetHeight-b.height)/2+"px"})}};h.prototype.hideInput=function(a){(a="min"===a?this.minInput:this.maxInput)&&u(a,{top:"-9999em",border:0,width:"1px",height:"1px"})};h.prototype.defaultInputDateParser=
-function(a,b,c){var d=a.split("/").join("-").split(" ").join("T");-1===d.indexOf("T")&&(d+="T00:00");if(b)d+="Z";else{var e;if(e=F.isSafari)e=d,e=!(6<e.length&&(e.lastIndexOf("-")===e.length-6||e.lastIndexOf("+")===e.length-6));e&&(e=(new Date(d)).getTimezoneOffset()/60,d+=0>=e?"+"+k(-e)+":00":"-"+k(e)+":00")}d=Date.parse(d);q(d)||(a=a.split("-"),d=Date.UTC(y(a[0]),y(a[1])-1,y(a[2])));c&&b&&(d+=c.getTimezoneOffset(d));return d};h.prototype.drawInput=function(a){function b(){var b=f.getInputValue(a),
-d=c.xAxis[0],e=c.scroller&&c.scroller.xAxis?c.scroller.xAxis:d,g=e.dataMin;e=e.dataMax;var h=f.maxInput,k=f.minInput;b!==Number(w.getAttribute("data-hc-time-previous"))&&q(b)&&(w.setAttribute("data-hc-time-previous",b),n&&h&&q(g)?b>Number(h.getAttribute("data-hc-time"))?b=void 0:b<g&&(b=g):k&&q(e)&&(b<Number(k.getAttribute("data-hc-time"))?b=void 0:b>e&&(b=e)),"undefined"!==typeof b&&d.setExtremes(n?b:d.min,n?d.max:b,void 0,void 0,{trigger:"rangeSelectorInput"}))}var c=this.chart,d=this.div,e=this.inputGroup,
-f=this,h=c.renderer.style||{},k=c.renderer,l=c.options.rangeSelector,n="min"===a,t=A.lang[n?"rangeSelectorFrom":"rangeSelectorTo"];t=k.label(t,0).addClass("highcharts-range-label").attr({padding:t?2:0}).add(e);k=k.label("",0).addClass("highcharts-range-input").attr({padding:2,width:l.inputBoxWidth,height:l.inputBoxHeight,"text-align":"center"}).on("click",function(){f.showInput(a);f[a+"Input"].focus()});c.styledMode||k.attr({stroke:l.inputBoxBorderColor,"stroke-width":1});k.add(e);var w=g("input",
-{name:a,className:"highcharts-range-selector"},void 0,d);w.setAttribute("type",E(l.inputDateFormat||"%b %e, %Y"));c.styledMode||(t.css(p(h,l.labelStyle)),k.css(p({color:H.neutralColor80},h,l.inputStyle)),u(w,m({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:h.fontSize,fontFamily:h.fontFamily,top:"-9999em"},l.inputStyle)));w.onfocus=function(){f.showInput(a)};w.onblur=function(){w===F.doc.activeElement&&b();f.hideInput(a);
-f.setInputValue(a);w.blur()};var x=!1;w.onchange=function(){b();x||(f.hideInput(a),w.blur())};w.onkeypress=function(a){13===a.keyCode&&b()};w.onkeydown=function(){x=!0};w.onkeyup=function(){x=!1};return{dateBox:k,input:w,label:t}};h.prototype.getPosition=function(){var a=this.chart,b=a.options.rangeSelector;a="top"===b.verticalAlign?a.plotTop-a.axisOffset[0]:0;return{buttonTop:a+b.buttonPosition.y,inputTop:a+b.inputPosition.y-10}};h.prototype.getYTDExtremes=function(a,b,c){var d=this.chart.time,e=
-new d.Date(a),f=d.get("FullYear",e);c=c?d.Date.UTC(f,0,1):+new d.Date(f,0,1);b=Math.max(b,c);e=e.getTime();return{max:Math.min(a||e,e),min:b}};h.prototype.render=function(a,b){var c=this.chart,e=c.renderer,h=c.container,k=c.options,l=k.rangeSelector,n=d(k.chart.style&&k.chart.style.zIndex,0)+1;k=l.inputEnabled;if(!1!==l.enabled){this.rendered||(this.group=e.g("range-selector-group").attr({zIndex:7}).add(),this.div=g("div",void 0,{position:"relative",height:0,zIndex:n}),this.buttonOptions.length&&
-this.renderButtons(),h.parentNode&&h.parentNode.insertBefore(this.div,h),k&&(this.inputGroup=e.g("input-group").add(this.group),e=this.drawInput("min"),this.minDateBox=e.dateBox,this.minLabel=e.label,this.minInput=e.input,e=this.drawInput("max"),this.maxDateBox=e.dateBox,this.maxLabel=e.label,this.maxInput=e.input));if(k&&(this.setInputValue("min",a),this.setInputValue("max",b),a=c.scroller&&c.scroller.getUnionExtremes()||c.xAxis[0]||{},f(a.dataMin)&&f(a.dataMax)&&(c=c.xAxis[0].minRange||0,this.setInputExtremes("min",
-a.dataMin,Math.min(a.dataMax,this.getInputValue("max"))-c),this.setInputExtremes("max",Math.max(a.dataMin,this.getInputValue("min"))+c,a.dataMax)),this.inputGroup)){var m=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach(function(a){a&&a.width&&(a.attr({x:m}),m+=a.width+l.inputSpacing)})}this.alignElements();this.rendered=!0}};h.prototype.renderButtons=function(){var a=this,b=this.buttons,c=this.options,e=A.lang,f=this.chart.renderer,h=p(c.buttonTheme),k=h&&h.states,l=h.width||
-28;delete h.width;this.buttonGroup=f.g("range-selector-buttons").add(this.group);var m=this.dropdown=g("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:.0001},this.div);x(m,"touchstart",function(){m.style.fontSize="16px"});[[F.isMS?"mouseover":"mouseenter"],[F.isMS?"mouseout":"mouseleave"],["change","click"]].forEach(function(c){var d=c[0],e=c[1];x(m,d,function(){var c=b[a.currentButtonIndex()];c&&G(c.element,e||d)})});this.zoomText=
-f.text(e.rangeSelectorZoom,0,15).add(this.buttonGroup);this.chart.styledMode||(this.zoomText.css(c.labelStyle),h["stroke-width"]=d(h["stroke-width"],0));g("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,m);this.buttonOptions.forEach(function(c,d){g("option",{textContent:c.title||c.text},void 0,m);b[d]=f.button(c.text,0,0,function(b){var e=c.events&&c.events.click,f;e&&(f=e.call(c,b));!1!==f&&a.clickButton(d);a.isActive=!0},h,k&&k.hover,k&&k.select,k&&k.disabled).attr({"text-align":"center",
-width:l}).add(a.buttonGroup);c.title&&b[d].attr("title",c.title)})};h.prototype.alignElements=function(){var a=this,b=this.buttonGroup,c=this.buttons,e=this.chart,f=this.group,g=this.inputGroup,h=this.options,k=this.zoomText,l=e.options,m=l.exporting&&!1!==l.exporting.enabled&&l.navigation&&l.navigation.buttonOptions;l=h.buttonPosition;var p=h.inputPosition,q=h.verticalAlign,t=function(b,c){return m&&a.titleCollision(e)&&"top"===q&&"right"===c.align&&c.y-b.getBBox().height-12<(m.y||0)+(m.height||
-0)+e.spacing[0]?-40:0},u=e.plotLeft;if(f&&l&&p){var w=l.x-e.spacing[3];if(b){this.positionButtons();if(!this.initialButtonGroupWidth){var x=0;k&&(x+=k.getBBox().width+5);c.forEach(function(a,b){x+=a.width;b!==c.length-1&&(x+=h.buttonSpacing)});this.initialButtonGroupWidth=x}u-=e.spacing[3];this.updateButtonStates();k=t(b,l);this.alignButtonGroup(k);f.placed=b.placed=e.hasLoaded}b=0;g&&(b=t(g,p),"left"===p.align?w=u:"right"===p.align&&(w=-Math.max(e.axisOffset[1],-b)),g.align({y:p.y,width:g.getBBox().width,
-align:p.align,x:p.x+w-2},!0,e.spacingBox),g.placed=e.hasLoaded);this.handleCollision(b);f.align({verticalAlign:q},!0,e.spacingBox);g=f.alignAttr.translateY;b=f.getBBox().height+20;t=0;"bottom"===q&&(t=(t=e.legend&&e.legend.options)&&"bottom"===t.verticalAlign&&t.enabled&&!t.floating?e.legend.legendHeight+d(t.margin,10):0,b=b+t-20,t=g-b-(h.floating?0:h.y)-(e.titleOffset?e.titleOffset[2]:0)-10);if("top"===q)h.floating&&(t=0),e.titleOffset&&e.titleOffset[0]&&(t=e.titleOffset[0]),t+=e.margin[0]-e.spacing[0]||
-0;else if("middle"===q)if(p.y===l.y)t=g;else if(p.y||l.y)t=0>p.y||0>l.y?t-Math.min(p.y,l.y):g-b;f.translate(h.x,h.y+Math.floor(t));l=this.minInput;p=this.maxInput;g=this.dropdown;h.inputEnabled&&l&&p&&(l.style.marginTop=f.translateY+"px",p.style.marginTop=f.translateY+"px");g&&(g.style.marginTop=f.translateY+"px")}};h.prototype.alignButtonGroup=function(a,b){var c=this.chart,e=this.buttonGroup,f=this.options.buttonPosition,g=c.plotLeft-c.spacing[3],h=f.x-c.spacing[3];"right"===f.align?h+=a-g:"center"===
-f.align&&(h-=g/2);e&&e.align({y:f.y,width:d(b,this.initialButtonGroupWidth),align:f.align,x:h},!0,c.spacingBox)};h.prototype.positionButtons=function(){var a=this.buttons,b=this.chart,c=this.options,e=this.zoomText,f=b.hasLoaded?"animate":"attr",g=c.buttonPosition,h=b.plotLeft,k=h;e&&"hidden"!==e.visibility&&(e[f]({x:d(h+g.x,h)}),k+=g.x+e.getBBox().width+5);this.buttonOptions.forEach(function(b,d){if("hidden"!==a[d].visibility)a[d][f]({x:k}),k+=a[d].width+c.buttonSpacing;else a[d][f]({x:h})})};h.prototype.handleCollision=
-function(a){var b=this,c=this.chart,d=this.buttonGroup,e=this.inputGroup,f=this.options,g=f.buttonPosition,h=f.dropdown,k=f.inputPosition;f=function(){var a=0;b.buttons.forEach(function(b){b=b.getBBox();b.width>a&&(a=b.width)});return a};var l=function(b){if(e&&d){var c=e.alignAttr.translateX+e.alignOptions.x-a+e.getBBox().x+2,f=e.alignOptions.width,h=d.alignAttr.translateX+d.getBBox().x;return h+b>c&&c+f>h&&g.y<k.y+e.getBBox().height}return!1},m=function(){e&&d&&e.attr({translateX:e.alignAttr.translateX+
-(c.axisOffset[1]>=-a?0:-a),translateY:e.alignAttr.translateY+d.getBBox().height+10})};if(d){if("always"===h){this.collapseButtons(a);l(f())&&m();return}"never"===h&&this.expandButtons()}e&&d?k.align===g.align||l(this.initialButtonGroupWidth+20)?"responsive"===h?(this.collapseButtons(a),l(f())&&m()):m():"responsive"===h&&this.expandButtons():d&&"responsive"===h&&(this.initialButtonGroupWidth>c.plotWidth?this.collapseButtons(a):this.expandButtons())};h.prototype.collapseButtons=function(a){var b,c=
-this.buttons,d=this.buttonOptions,e=this.dropdown,f=this.options,g=this.zoomText,h=function(a){return{text:a?a+" \u25be":"\u25be",width:"auto",paddingLeft:8,paddingRight:8}};g&&g.hide();var k=!1;d.forEach(function(a,b){b=c[b];2!==b.state?b.hide():(b.show(),b.attr(h(a.text)),k=!0)});k||(e&&(e.selectedIndex=0),c[0].show(),c[0].attr(h(null===(b=this.zoomText)||void 0===b?void 0:b.textStr)));b=f.buttonPosition.align;this.positionButtons();"right"!==b&&"center"!==b||this.alignButtonGroup(a,c[this.currentButtonIndex()].getBBox().width);
-this.showDropdown()};h.prototype.expandButtons=function(){var a=this.buttons,b=this.buttonOptions,c=this.options,d=this.zoomText;this.hideDropdown();d&&d.show();b.forEach(function(b,d){d=a[d];d.show();d.attr({text:b.text,width:c.buttonTheme.width||28,paddingLeft:"unset",paddingRight:"unset"});2>d.state&&d.setState(0)});this.positionButtons()};h.prototype.currentButtonIndex=function(){var a=this.dropdown;return a&&0<a.selectedIndex?a.selectedIndex-1:0};h.prototype.showDropdown=function(){var a=this.buttonGroup,
-b=this.buttons,c=this.chart,d=this.dropdown;if(a&&d){var e=a.translateX;a=a.translateY;b=b[this.currentButtonIndex()].getBBox();u(d,{left:c.plotLeft+e+"px",top:a+.5+"px",width:b.width+"px",height:b.height+"px"});this.hasVisibleDropdown=!0}};h.prototype.hideDropdown=function(){var a=this.dropdown;a&&(u(a,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)};h.prototype.getHeight=function(){var a=this.options,b=this.group,c=a.y,d=a.buttonPosition.y,e=a.inputPosition.y;if(a.height)return a.height;
-this.alignElements();a=b?b.getBBox(!0).height+13+c:0;b=Math.min(e,d);if(0>e&&0>d||0<e&&0<d)a+=Math.abs(b);return a};h.prototype.titleCollision=function(a){return!(a.options.title.text||a.options.subtitle.text)};h.prototype.update=function(a){var b=this.chart;p(!0,b.options.rangeSelector,a);this.destroy();this.init(b);this.render()};h.prototype.destroy=function(){var c=this,d=c.minInput,e=c.maxInput;c.eventsToUnbind&&(c.eventsToUnbind.forEach(function(a){return a()}),c.eventsToUnbind=void 0);w(c.buttons);
-d&&(d.onfocus=d.onblur=d.onchange=null);e&&(e.onfocus=e.onblur=e.onchange=null);a(c,function(a,d){a&&"chart"!==d&&(a instanceof J?a.destroy():a instanceof window.HTMLElement&&b(a));a!==h.prototype[d]&&(c[d]=null)},this)};return h}();h.prototype.defaultButtons=[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",
-title:"View 1 year"},{type:"all",text:"All",title:"View all"}];h.prototype.inputTypeFormats={"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"};e.prototype.minFromRange=function(){var a=this.range,b=a.type,c=this.max,e=this.chart.time,f=function(a,c){var d="year"===b?"FullYear":"Month",f=new e.Date(a),g=e.get(d,f);e.set(d,f,g+c);g===e.get(d,f)&&e.set("Date",f,0);return f.getTime()-a};if(q(a)){var g=c-a;var h=a}else g=c+f(c,-a.count),this.chart&&(this.chart.fixedRange=c-g);var k=
-d(this.dataMin,Number.MIN_VALUE);q(g)||(g=k);g<=k&&(g=k,"undefined"===typeof h&&(h=f(g,a.count)),this.newMax=Math.min(g+h,this.dataMax));q(c)||(g=void 0);return g};if(!F.RangeSelector){var M=[],O=function(a){function b(){d&&(c=a.xAxis[0].getExtremes(),e=a.legend,g=null===d||void 0===d?void 0:d.options.verticalAlign,q(c.min)&&d.render(c.min,c.max),e.display&&"top"===g&&g===e.options.verticalAlign&&(f=p(a.spacingBox),f.y="vertical"===e.options.layout?a.plotTop:f.y+d.getHeight(),e.group.placed=!1,e.align(f)))}
-var c,d=a.rangeSelector,e,f,g;d&&(t(M,function(b){return b[0]===a})||M.push([a,[x(a.xAxis[0],"afterSetExtremes",function(a){d&&d.render(a.min,a.max)}),x(a,"redraw",b)]]),b())};x(l,"afterGetContainer",function(){var a;if(null===(a=this.options.rangeSelector)||void 0===a?0:a.enabled)this.rangeSelector=new h(this)});x(l,"beforeRender",function(){var a=this.axes,b=this.rangeSelector;b&&(q(b.deferredYTDClick)&&(b.clickButton(b.deferredYTDClick),delete b.deferredYTDClick),a.forEach(function(a){a.updateNames();
-a.setScale()}),this.getAxisMargins(),b.render(),a=b.options.verticalAlign,b.options.floating||("bottom"===a?this.extraBottomMargin=!0:"middle"!==a&&(this.extraTopMargin=!0)))});x(l,"update",function(a){var b=a.options.rangeSelector;a=this.rangeSelector;var c=this.extraBottomMargin,d=this.extraTopMargin;b&&b.enabled&&!f(a)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=a=new h(this));this.extraTopMargin=this.extraBottomMargin=!1;a&&(O(this),b=b&&b.verticalAlign||
-a.options&&a.options.verticalAlign,a.options.floating||("bottom"===b?this.extraBottomMargin=!0:"middle"!==b&&(this.extraTopMargin=!0)),this.extraBottomMargin!==c||this.extraTopMargin!==d)&&(this.isDirtyBox=!0)});x(l,"render",function(){var a=this.rangeSelector;a&&!a.options.floating&&(a.render(),a=a.options.verticalAlign,"bottom"===a?this.extraBottomMargin=!0:"middle"!==a&&(this.extraTopMargin=!0))});x(l,"getMargins",function(){var a=this.rangeSelector;a&&(a=a.getHeight(),this.extraTopMargin&&(this.plotTop+=
-a),this.extraBottomMargin&&(this.marginBottom+=a))});l.prototype.callbacks.push(O);x(l,"destroy",function(){for(var a=0;a<M.length;a++){var b=M[a];if(b[0]===this){b[1].forEach(function(a){return a()});M.splice(a,1);break}}});F.RangeSelector=h}return F.RangeSelector});O(e,"Core/Axis/NavigatorAxis.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,l){var F=e.isTouchDevice,C=l.addEvent,H=l.correctFloat,G=l.defined,D=l.isNumber,E=l.pick,A=function(){function e(e){this.axis=e}e.prototype.destroy=
-function(){this.axis=void 0};e.prototype.toFixedRange=function(e,l,f,w){var b=this.axis,g=b.chart;g=g&&g.fixedRange;var t=(b.pointRange||0)/2;e=E(f,b.translate(e,!0,!b.horiz));l=E(w,b.translate(l,!0,!b.horiz));b=g&&(l-e)/g;G(f)||(e=H(e+t));G(w)||(l=H(l-t));.7<b&&1.3>b&&(w?e=l-g:l=e+g);D(e)&&D(l)||(e=l=void 0);return{min:e,max:l}};return e}();return function(){function e(){}e.compose=function(e){e.keepProps.push("navigatorAxis");C(e,"init",function(){this.navigatorAxis||(this.navigatorAxis=new A(this))});
-C(e,"zoom",function(e){var f=this.chart.options,g=f.navigator,b=this.navigatorAxis,l=f.chart.pinchType,t=f.rangeSelector;f=f.chart.zoomType;this.isXAxis&&(g&&g.enabled||t&&t.enabled)&&("y"===f?e.zoomed=!1:(!F&&"xy"===f||F&&"xy"===l)&&this.options.range&&(g=b.previousZoom,G(e.newMin)?b.previousZoom=[this.min,this.max]:g&&(e.newMin=g[0],e.newMax=g[1],b.previousZoom=void 0)));"undefined"!==typeof e.zoomed&&e.preventDefault()})};e.AdditionsClass=A;return e}()});O(e,"Core/Navigator.js",[e["Core/Axis/Axis.js"],
-e["Core/Chart/Chart.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxis.js"],e["Core/Options.js"],e["Core/Color/Palette.js"],e["Core/Scrollbar.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,l,F,C,H,J,D,E,A,x,g){F=F.parse;var u=C.hasTouch,f=C.isTouchDevice,w=J.defaultOptions,b=g.addEvent,m=g.clamp,t=g.correctFloat,G=g.defined,q=g.destroyObjectProperties,p=g.erase,a=g.extend,k=g.find,d=g.isArray,y=g.isNumber,c=g.merge,
-h=g.pick,M=g.removeEvent,O=g.splat,P=function(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];b=[].filter.call(b,y);if(b.length)return Math[a].apply(0,b)};J="undefined"===typeof x.seriesTypes.areaspline?"line":"areaspline";a(w,{navigator:{height:40,margin:25,maskInside:!0,handles:{width:7,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:D.neutralColor5,borderColor:D.neutralColor40},maskFill:F(D.highlightColor60).setOpacity(.3).get(),outlineColor:D.neutralColor20,
-outlineWidth:1,series:{type:J,fillOpacity:.05,lineWidth:1,compare:null,dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,smoothed:!0,units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},
-xAxis:{overscroll:0,className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:D.neutralColor10,gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:D.neutralColor40},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}});C.Renderer.prototype.symbols["navigator-handle"]=function(a,b,c,e,d){a=(d&&
-d.width||0)/2;b=Math.round(a/3)+.5;d=d&&d.height||0;return[["M",-a-1,.5],["L",a,.5],["L",a,d+.5],["L",-a-1,d+.5],["L",-a-1,.5],["M",-b,4],["L",-b,d-3],["M",b-1,4],["L",b-1,d-3]]};var n=function(){function g(a){this.zoomedMin=this.zoomedMax=this.yAxis=this.xAxis=this.top=this.size=this.shades=this.rendered=this.range=this.outlineHeight=this.outline=this.opposite=this.navigatorSize=this.navigatorSeries=this.navigatorOptions=this.navigatorGroup=this.navigatorEnabled=this.left=this.height=this.handles=
-this.chart=this.baseSeries=void 0;this.init(a)}g.prototype.drawHandle=function(a,b,c,e){var d=this.navigatorOptions.handles.height;this.handles[b][e](c?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(a,10)+.5-d)}:{translateX:Math.round(this.left+parseInt(a,10)),translateY:Math.round(this.top+this.height/2-d/2-1)})};g.prototype.drawOutline=function(a,b,c,e){var d=this.navigatorOptions.maskInside,f=this.outline.strokeWidth(),g=f/2,h=f%2/2;f=this.outlineHeight;
-var k=this.scrollbarHeight||0,l=this.size,m=this.left-k,r=this.top;c?(m-=g,c=r+b+h,b=r+a+h,h=[["M",m+f,r-k-h],["L",m+f,c],["L",m,c],["L",m,b],["L",m+f,b],["L",m+f,r+l+k]],d&&h.push(["M",m+f,c-g],["L",m+f,b+g])):(a+=m+k-h,b+=m+k-h,r+=g,h=[["M",m,r],["L",a,r],["L",a,r+f],["L",b,r+f],["L",b,r],["L",m+l+2*k,r]],d&&h.push(["M",a-g,r],["L",b+g,r]));this.outline[e]({d:h})};g.prototype.drawMasks=function(a,b,c,e){var d=this.left,f=this.top,g=this.height;if(c){var h=[d,d,d];var k=[f,f+a,f+b];var l=[g,g,g];
-var m=[a,b-a,this.size-b]}else h=[d,d+a,d+b],k=[f,f,f],l=[a,b-a,this.size-b],m=[g,g,g];this.shades.forEach(function(a,b){a[e]({x:h[b],y:k[b],width:l[b],height:m[b]})})};g.prototype.renderElements=function(){var a=this,b=a.navigatorOptions,c=b.maskInside,e=a.chart,d=e.renderer,f,g={cursor:e.inverted?"ns-resize":"ew-resize"};a.navigatorGroup=f=d.g("navigator").attr({zIndex:8,visibility:"hidden"}).add();[!c,c,!c].forEach(function(c,h){a.shades[h]=d.rect().addClass("highcharts-navigator-mask"+(1===h?
-"-inside":"-outside")).add(f);e.styledMode||a.shades[h].attr({fill:c?b.maskFill:"rgba(0,0,0,0)"}).css(1===h&&g)});a.outline=d.path().addClass("highcharts-navigator-outline").add(f);e.styledMode||a.outline.attr({"stroke-width":b.outlineWidth,stroke:b.outlineColor});b.handles.enabled&&[0,1].forEach(function(c){b.handles.inverted=e.inverted;a.handles[c]=d.symbol(b.handles.symbols[c],-b.handles.width/2-1,0,b.handles.width,b.handles.height,b.handles);a.handles[c].attr({zIndex:7-c}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+
-["left","right"][c]).add(f);if(!e.styledMode){var h=b.handles;a.handles[c].attr({fill:h.backgroundColor,stroke:h.borderColor,"stroke-width":h.lineWidth}).css(g)}})};g.prototype.update=function(a){(this.series||[]).forEach(function(a){a.baseSeries&&delete a.baseSeries.navigatorSeries});this.destroy();c(!0,this.chart.options.navigator,this.options,a);this.init(this.chart)};g.prototype.render=function(a,b,c,e){var d=this.chart,f=this.scrollbarHeight,g,k=this.xAxis,l=k.pointRange||0;var r=k.navigatorAxis.fake?
-d.xAxis[0]:k;var n=this.navigatorEnabled,p,q=this.rendered;var u=d.inverted;var z=d.xAxis[0].minRange,w=d.xAxis[0].options.maxRange;if(!this.hasDragged||G(c)){a=t(a-l/2);b=t(b+l/2);if(!y(a)||!y(b))if(q)c=0,e=h(k.width,r.width);else return;this.left=h(k.left,d.plotLeft+f+(u?d.plotWidth:0));this.size=p=g=h(k.len,(u?d.plotHeight:d.plotWidth)-2*f);d=u?f:g+2*f;c=h(c,k.toPixels(a,!0));e=h(e,k.toPixels(b,!0));y(c)&&Infinity!==Math.abs(c)||(c=0,e=d);a=k.toValue(c,!0);b=k.toValue(e,!0);var x=Math.abs(t(b-
-a));x<z?this.grabbedLeft?c=k.toPixels(b-z-l,!0):this.grabbedRight&&(e=k.toPixels(a+z+l,!0)):G(w)&&t(x-l)>w&&(this.grabbedLeft?c=k.toPixels(b-w-l,!0):this.grabbedRight&&(e=k.toPixels(a+w+l,!0)));this.zoomedMax=m(Math.max(c,e),0,p);this.zoomedMin=m(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(c,e),0,p);this.range=this.zoomedMax-this.zoomedMin;p=Math.round(this.zoomedMax);c=Math.round(this.zoomedMin);n&&(this.navigatorGroup.attr({visibility:"visible"}),q=q&&!this.hasDragged?"animate":"attr",
-this.drawMasks(c,p,u,q),this.drawOutline(c,p,u,q),this.navigatorOptions.handles.enabled&&(this.drawHandle(c,0,u,q),this.drawHandle(p,1,u,q)));this.scrollbar&&(u?(u=this.top-f,r=this.left-f+(n||!r.opposite?0:(r.titleOffset||0)+r.axisTitleMargin),f=g+2*f):(u=this.top+(n?this.height:-f),r=this.left-f),this.scrollbar.position(r,u,d,f),this.scrollbar.setRange(this.zoomedMin/(g||1),this.zoomedMax/(g||1)));this.rendered=!0}};g.prototype.addMouseEvents=function(){var a=this,c=a.chart,e=c.container,d=[],f,
-g;a.mouseMoveHandler=f=function(b){a.onMouseMove(b)};a.mouseUpHandler=g=function(b){a.onMouseUp(b)};d=a.getPartsEvents("mousedown");d.push(b(c.renderTo,"mousemove",f),b(e.ownerDocument,"mouseup",g));u&&(d.push(b(c.renderTo,"touchmove",f),b(e.ownerDocument,"touchend",g)),d.concat(a.getPartsEvents("touchstart")));a.eventsToUnbind=d;a.series&&a.series[0]&&d.push(b(a.series[0].xAxis,"foundExtremes",function(){c.navigator.modifyNavigatorAxisExtremes()}))};g.prototype.getPartsEvents=function(a){var c=this,
-d=[];["shades","handles"].forEach(function(e){c[e].forEach(function(f,g){d.push(b(f.element,a,function(a){c[e+"Mousedown"](a,g)}))})});return d};g.prototype.shadesMousedown=function(a,b){a=this.chart.pointer.normalize(a);var c=this.chart,d=this.xAxis,e=this.zoomedMin,f=this.left,g=this.size,h=this.range,k=a.chartX;c.inverted&&(k=a.chartY,f=this.top);if(1===b)this.grabbedCenter=k,this.fixedWidth=h,this.dragOffset=k-e;else{a=k-f-h/2;if(0===b)a=Math.max(0,a);else if(2===b&&a+h>=g)if(a=g-h,this.reversedExtremes){a-=
-h;var l=this.getUnionExtremes().dataMin}else var m=this.getUnionExtremes().dataMax;a!==e&&(this.fixedWidth=h,b=d.navigatorAxis.toFixedRange(a,a+h,l,m),G(b.min)&&c.xAxis[0].setExtremes(Math.min(b.min,b.max),Math.max(b.min,b.max),!0,null,{trigger:"navigator"}))}};g.prototype.handlesMousedown=function(a,b){this.chart.pointer.normalize(a);a=this.chart;var c=a.xAxis[0],d=this.reversedExtremes;0===b?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=d?c.min:c.max):(this.grabbedRight=
-!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=d?c.max:c.min);a.fixedRange=null};g.prototype.onMouseMove=function(a){var b=this,c=b.chart,d=b.left,e=b.navigatorSize,g=b.range,k=b.dragOffset,l=c.inverted;a.touches&&0===a.touches[0].pageX||(a=c.pointer.normalize(a),c=a.chartX,l&&(d=b.top,c=a.chartY),b.grabbedLeft?(b.hasDragged=!0,b.render(0,0,c-d,b.otherHandlePos)):b.grabbedRight?(b.hasDragged=!0,b.render(0,0,b.otherHandlePos,c-d)):b.grabbedCenter&&(b.hasDragged=!0,c<k?c=k:c>e+k-g&&(c=e+k-
-g),b.render(0,0,c-k,c-k+g)),b.hasDragged&&b.scrollbar&&h(b.scrollbar.options.liveRedraw,C.svg&&!f&&!this.chart.isBoosting)&&(a.DOMType=a.type,setTimeout(function(){b.onMouseUp(a)},0)))};g.prototype.onMouseUp=function(a){var b=this.chart,c=this.xAxis,d=this.scrollbar,e=a.DOMEvent||a,f=b.inverted,g=this.rendered&&!this.hasDragged?"animate":"attr";if(this.hasDragged&&(!d||!d.hasDragged)||"scrollbar"===a.trigger){d=this.getUnionExtremes();if(this.zoomedMin===this.otherHandlePos)var h=this.fixedExtreme;
-else if(this.zoomedMax===this.otherHandlePos)var k=this.fixedExtreme;this.zoomedMax===this.size&&(k=this.reversedExtremes?d.dataMin:d.dataMax);0===this.zoomedMin&&(h=this.reversedExtremes?d.dataMax:d.dataMin);c=c.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,h,k);G(c.min)&&b.xAxis[0].setExtremes(Math.min(c.min,c.max),Math.max(c.min,c.max),!0,this.hasDragged?!1:null,{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:e})}"mousemove"!==a.DOMType&&"touchmove"!==a.DOMType&&(this.grabbedLeft=
-this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null);this.navigatorEnabled&&y(this.zoomedMin)&&y(this.zoomedMax)&&(b=Math.round(this.zoomedMin),a=Math.round(this.zoomedMax),this.shades&&this.drawMasks(b,a,f,g),this.outline&&this.drawOutline(b,a,f,g),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(b,0,f,g),this.drawHandle(a,1,f,g)))};g.prototype.removeEvents=function(){this.eventsToUnbind&&
-(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind=void 0);this.removeBaseSeriesEvents()};g.prototype.removeBaseSeriesEvents=function(){var a=this.baseSeries||[];this.navigatorEnabled&&a[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&a.forEach(function(a){M(a,"updatedData",this.updatedDataHandler)},this),a[0].xAxis&&M(a[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))};g.prototype.init=function(a){var d=a.options,f=d.navigator,g=f.enabled,k=d.scrollbar,l=k.enabled;d=g?f.height:
-0;var m=l?k.height:0;this.handles=[];this.shades=[];this.chart=a;this.setBaseSeries();this.height=d;this.scrollbarHeight=m;this.scrollbarEnabled=l;this.navigatorEnabled=g;this.navigatorOptions=f;this.scrollbarOptions=k;this.outlineHeight=d+m;this.opposite=h(f.opposite,!(g||!a.inverted));var n=this;g=n.baseSeries;k=a.xAxis.length;l=a.yAxis.length;var p=g&&g[0]&&g[0].xAxis||a.xAxis[0]||{options:{}};a.isDirtyBox=!0;n.navigatorEnabled?(n.xAxis=new e(a,c({breaks:p.options.breaks,ordinal:p.options.ordinal},
-f.xAxis,{id:"navigator-x-axis",yAxis:"navigator-y-axis",isX:!0,type:"datetime",index:k,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},a.inverted?{offsets:[m,0,-m,0],width:d}:{offsets:[0,-m,0,m],height:d})),n.yAxis=new e(a,c(f.yAxis,{id:"navigator-y-axis",alignTicks:!1,offset:0,index:l,isInternal:!0,reversed:h(f.yAxis&&f.yAxis.reversed,a.yAxis[0]&&a.yAxis[0].reversed,!1),zoomEnabled:!1},a.inverted?{width:d}:{height:d})),g||f.series.data?
-n.updateNavigatorSeries(!1):0===a.series.length&&(n.unbindRedraw=b(a,"beforeRedraw",function(){0<a.series.length&&!n.series&&(n.setBaseSeries(),n.unbindRedraw())})),n.reversedExtremes=a.inverted&&!n.xAxis.reversed||!a.inverted&&n.xAxis.reversed,n.renderElements(),n.addMouseEvents()):(n.xAxis={chart:a,navigatorAxis:{fake:!0},translate:function(b,c){var d=a.xAxis[0],e=d.getExtremes(),f=d.len-2*m,g=P("min",d.options.min,e.dataMin);d=P("max",d.options.max,e.dataMax)-g;return c?b*d/f+g:f*(b-g)/d},toPixels:function(a){return this.translate(a)},
-toValue:function(a){return this.translate(a,!0)}},n.xAxis.navigatorAxis.axis=n.xAxis,n.xAxis.navigatorAxis.toFixedRange=H.AdditionsClass.prototype.toFixedRange.bind(n.xAxis.navigatorAxis));a.options.scrollbar.enabled&&(a.scrollbar=n.scrollbar=new E(a.renderer,c(a.options.scrollbar,{margin:n.navigatorEnabled?0:10,vertical:a.inverted}),a),b(n.scrollbar,"changed",function(b){var c=n.size,d=c*this.to;c*=this.from;n.hasDragged=n.scrollbar.hasDragged;n.render(0,0,c,d);(a.options.scrollbar.liveRedraw||"mousemove"!==
-b.DOMType&&"touchmove"!==b.DOMType)&&setTimeout(function(){n.onMouseUp(b)})}));n.addBaseSeriesEvents();n.addChartEvents()};g.prototype.getUnionExtremes=function(a){var b=this.chart.xAxis[0],c=this.xAxis,d=c.options,e=b.options,f;a&&null===b.dataMin||(f={dataMin:h(d&&d.min,P("min",e.min,b.dataMin,c.dataMin,c.min)),dataMax:h(d&&d.max,P("max",e.max,b.dataMax,c.dataMax,c.max))});return f};g.prototype.setBaseSeries=function(a,b){var c=this.chart,d=this.baseSeries=[];a=a||c.options&&c.options.navigator.baseSeries||
-(c.series.length?k(c.series,function(a){return!a.options.isInternal}).index:0);(c.series||[]).forEach(function(b,c){b.options.isInternal||!b.options.showInNavigator&&(c!==a&&b.options.id!==a||!1===b.options.showInNavigator)||d.push(b)});this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,b)};g.prototype.updateNavigatorSeries=function(b,e){var f=this,g=f.chart,k=f.baseSeries,l,m,n=f.navigatorOptions.series,p,r={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,
-xAxis:"navigator-x-axis",yAxis:"navigator-y-axis",showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},q=f.series=(f.series||[]).filter(function(a){var b=a.baseSeries;return 0>k.indexOf(b)?(b&&(M(b,"updatedData",f.updatedDataHandler),delete b.navigatorSeries),a.chart&&a.destroy(),!1):!0});k&&k.length&&k.forEach(function(b){var t=b.navigatorSeries,u=a({color:b.color,visible:b.visible},d(n)?w.navigator.series:n);t&&!1===f.navigatorOptions.adaptToUpdatedData||(r.name="Navigator "+
-k.length,l=b.options||{},p=l.navigatorOptions||{},m=c(l,r,u,p),m.pointRange=h(u.pointRange,p.pointRange,w.plotOptions[m.type||"line"].pointRange),u=p.data||u.data,f.hasNavigatorData=f.hasNavigatorData||!!u,m.data=u||l.data&&l.data.slice(0),t&&t.options?t.update(m,e):(b.navigatorSeries=g.initSeries(m),b.navigatorSeries.baseSeries=b,q.push(b.navigatorSeries)))});if(n.data&&(!k||!k.length)||d(n))f.hasNavigatorData=!1,n=O(n),n.forEach(function(a,b){r.name="Navigator "+(q.length+1);m=c(w.navigator.series,
-{color:g.series[b]&&!g.series[b].options.isInternal&&g.series[b].color||g.options.colors[b]||g.options.colors[0]},r,a);m.data=a.data;m.data&&(f.hasNavigatorData=!0,q.push(g.initSeries(m)))});b&&this.addBaseSeriesEvents()};g.prototype.addBaseSeriesEvents=function(){var a=this,c=a.baseSeries||[];c[0]&&c[0].xAxis&&b(c[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes);c.forEach(function(c){b(c,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)});b(c,"hide",function(){this.navigatorSeries&&
-this.navigatorSeries.setVisible(!1,!1)});!1!==this.navigatorOptions.adaptToUpdatedData&&c.xAxis&&b(c,"updatedData",this.updatedDataHandler);b(c,"remove",function(){this.navigatorSeries&&(p(a.series,this.navigatorSeries),G(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)})},this)};g.prototype.getBaseSeriesMin=function(a){return this.baseSeries.reduce(function(a,b){return Math.min(a,b.xData?b.xData[0]:a)},a)};g.prototype.modifyNavigatorAxisExtremes=function(){var a=
-this.xAxis,b;"undefined"!==typeof a.getExtremes&&(!(b=this.getUnionExtremes(!0))||b.dataMin===a.min&&b.dataMax===a.max||(a.min=b.dataMin,a.max=b.dataMax))};g.prototype.modifyBaseAxisExtremes=function(){var a=this.chart.navigator,b=this.getExtremes(),c=b.dataMin,d=b.dataMax;b=b.max-b.min;var e=a.stickToMin,f=a.stickToMax,g=h(this.options.overscroll,0),k=a.series&&a.series[0],l=!!this.setExtremes;if(!this.eventArgs||"rangeSelectorButton"!==this.eventArgs.trigger){if(e){var m=c;var n=m+b}f&&(n=d+g,e||
-(m=Math.max(c,n-b,a.getBaseSeriesMin(k&&k.xData?k.xData[0]:-Number.MAX_VALUE))));l&&(e||f)&&y(m)&&(this.min=this.userMin=m,this.max=this.userMax=n)}a.stickToMin=a.stickToMax=null};g.prototype.updatedDataHandler=function(){var a=this.chart.navigator,b=this.navigatorSeries,c=a.getBaseSeriesMin(this.xData[0]);a.stickToMax=a.reversedExtremes?0===Math.round(a.zoomedMin):Math.round(a.zoomedMax)>=Math.round(a.size);a.stickToMin=y(this.xAxis.min)&&this.xAxis.min<=c&&(!this.chart.fixedRange||!a.stickToMax);
-b&&!a.hasNavigatorData&&(b.options.pointStart=this.xData[0],b.setData(this.options.data,!1,null,!1))};g.prototype.addChartEvents=function(){this.eventsToUnbind||(this.eventsToUnbind=[]);this.eventsToUnbind.push(b(this.chart,"redraw",function(){var a=this.navigator,b=a&&(a.baseSeries&&a.baseSeries[0]&&a.baseSeries[0].xAxis||this.xAxis[0]);b&&a.render(b.min,b.max)}),b(this.chart,"getMargins",function(){var a=this.navigator,b=a.opposite?"plotTop":"marginBottom";this.inverted&&(b=a.opposite?"marginRight":
-"plotLeft");this[b]=(this[b]||0)+(a.navigatorEnabled||!this.inverted?a.outlineHeight:0)+a.navigatorOptions.margin}))};g.prototype.destroy=function(){this.removeEvents();this.xAxis&&(p(this.chart.xAxis,this.xAxis),p(this.chart.axes,this.xAxis));this.yAxis&&(p(this.chart.yAxis,this.yAxis),p(this.chart.axes,this.yAxis));(this.series||[]).forEach(function(a){a.destroy&&a.destroy()});"series xAxis yAxis shades outline scrollbarTrack scrollbarRifles scrollbarGroup scrollbar navigatorGroup rendered".split(" ").forEach(function(a){this[a]&&
-this[a].destroy&&this[a].destroy();this[a]=null},this);[this.handles].forEach(function(a){q(a)},this)};return g}();C.Navigator||(C.Navigator=n,H.compose(e),b(l,"beforeShowResetZoom",function(){var a=this.options,b=a.navigator,c=a.rangeSelector;if((b&&b.enabled||c&&c.enabled)&&(!f&&"x"===a.chart.zoomType||f&&"x"===a.chart.pinchType))return!1}),b(l,"beforeRender",function(){var a=this.options;if(a.navigator.enabled||a.scrollbar.enabled)this.scroller=this.navigator=new n(this)}),b(l,"afterSetChartSize",
-function(){var a=this.legend,b=this.navigator;if(b){var c=a&&a.options;var d=b.xAxis;var e=b.yAxis;var f=b.scrollbarHeight;this.inverted?(b.left=b.opposite?this.chartWidth-f-b.height:this.spacing[3]+f,b.top=this.plotTop+f):(b.left=this.plotLeft+f,b.top=b.navigatorOptions.top||this.chartHeight-b.height-f-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(c&&"bottom"===c.verticalAlign&&"proximate"!==c.layout&&c.enabled&&!c.floating?a.legendHeight+h(c.margin,
-10):0)-(this.titleOffset?this.titleOffset[2]:0));d&&e&&(this.inverted?d.options.left=e.options.left=b.left:d.options.top=e.options.top=b.top,d.setAxisSize(),e.setAxisSize())}}),b(l,"update",function(a){var b=a.options.navigator||{},d=a.options.scrollbar||{};this.navigator||this.scroller||!b.enabled&&!d.enabled||(c(!0,this.options.navigator,b),c(!0,this.options.scrollbar,d),delete a.options.navigator,delete a.options.scrollbar)}),b(l,"afterUpdate",function(a){this.navigator||this.scroller||!this.options.navigator.enabled&&
-!this.options.scrollbar.enabled||(this.scroller=this.navigator=new n(this),h(a.redraw,!0)&&this.redraw(a.animation))}),b(l,"afterAddSeries",function(){this.navigator&&this.navigator.setBaseSeries(null,!1)}),b(A,"afterUpdate",function(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}),l.prototype.callbacks.push(function(a){var b=a.navigator;b&&a.xAxis[0]&&(a=a.xAxis[0].getExtremes(),b.render(a.min,a.max))}));C.Navigator=n;return C.Navigator});O(e,"masters/modules/gantt.src.js",
-[],function(){});O(e,"masters/highcharts-gantt.src.js",[e["masters/highcharts.src.js"]],function(e){e.product="Highcharts Gantt";return e});e["masters/highcharts-gantt.src.js"]._modules=e;return e["masters/highcharts-gantt.src.js"]});
+(function(Y,P){"object"===typeof module&&module.exports?(P["default"]=P,module.exports=Y.document?P(Y):P):"function"===typeof define&&define.amd?define("highcharts/highcharts-gantt",function(){return P(Y)}):(Y.Highcharts&&Y.Highcharts.error(16,!0),Y.Highcharts=P(Y))})("undefined"!==typeof window?window:this,function(Y){function P(e,h,D,y){e.hasOwnProperty(h)||(e[h]=y.apply(null,D))}var e={};P(e,"Core/Globals.js",[],function(){var e="undefined"!==typeof Y?Y:"undefined"!==typeof window?window:{},h;
+(function(h){h.SVG_NS="http://www.w3.org/2000/svg";h.product="Highcharts";h.version="9.1.0";h.win=e;h.doc=h.win.document;h.svg=h.doc&&h.doc.createElementNS&&!!h.doc.createElementNS(h.SVG_NS,"svg").createSVGRect;h.userAgent=h.win.navigator&&h.win.navigator.userAgent||"";h.isChrome=-1!==h.userAgent.indexOf("Chrome");h.isFirefox=-1!==h.userAgent.indexOf("Firefox");h.isMS=/(edge|msie|trident)/i.test(h.userAgent)&&!h.win.opera;h.isSafari=!h.isChrome&&-1!==h.userAgent.indexOf("Safari");h.isTouchDevice=
+/(Mobile|Android|Windows Phone)/.test(h.userAgent);h.isWebKit=-1!==h.userAgent.indexOf("AppleWebKit");h.deg2rad=2*Math.PI/360;h.hasBidiBug=h.isFirefox&&4>parseInt(h.userAgent.split("Firefox/")[1],10);h.hasTouch=!!h.win.TouchEvent;h.marginNames=["plotTop","marginRight","marginBottom","plotLeft"];h.noop=function(){};h.supportsPassiveEvents=function(){var e=!1;if(!h.isMS){var Q=Object.defineProperty({},"passive",{get:function(){e=!0}});h.win.addEventListener&&h.win.removeEventListener&&(h.win.addEventListener("testPassive",
+h.noop,Q),h.win.removeEventListener("testPassive",h.noop,Q))}return e}();h.charts=[];h.dateFormats={};h.seriesTypes={};h.symbolSizes={}})(h||(h={}));return h});P(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(e){function h(p,a,c,g){var r=a?"Highcharts error":"Highcharts warning";32===p&&(p=r+": Deprecated member");var v=z(p),L=v?r+" #"+p+": www.highcharts.com/errors/"+p+"/":p.toString();if("undefined"!==typeof g){var H="";v&&(L+="?");d(g,function(x,p){H+="\n - "+p+": "+x;v&&(L+=encodeURI(p)+
+"="+encodeURI(x))});L+=H}n(Highcharts,"displayError",{chart:c,code:p,message:L,params:g},function(){if(a)throw Error(L);q.console&&-1===h.messages.indexOf(L)&&console.warn(L)});h.messages.push(L)}function Q(p,a){var c={};d(p,function(r,g){if(C(p[g],!0)&&!p.nodeType&&a[g])r=Q(p[g],a[g]),Object.keys(r).length&&(c[g]=r);else if(C(p[g])||p[g]!==a[g])c[g]=p[g]});return c}function y(p,a){return parseInt(p,a||10)}function F(p){return"string"===typeof p}function E(p){p=Object.prototype.toString.call(p);return"[object Array]"===
+p||"[object Array Iterator]"===p}function C(p,a){return!!p&&"object"===typeof p&&(!a||!E(p))}function G(p){return C(p)&&"number"===typeof p.nodeType}function t(p){var a=p&&p.constructor;return!(!C(p,!0)||G(p)||!a||!a.name||"Object"===a.name)}function z(p){return"number"===typeof p&&!isNaN(p)&&Infinity>p&&-Infinity<p}function m(p){return"undefined"!==typeof p&&null!==p}function f(p,a,c){var r;F(a)?m(c)?p.setAttribute(a,c):p&&p.getAttribute&&((r=p.getAttribute(a))||"class"!==a||(r=p.getAttribute(a+
+"Name"))):d(a,function(a,c){p.setAttribute(c,a)});return r}function b(p,a){var c;p||(p={});for(c in a)p[c]=a[c];return p}function A(){for(var p=arguments,a=p.length,c=0;c<a;c++){var g=p[c];if("undefined"!==typeof g&&null!==g)return g}}function u(p,a){e.isMS&&!e.svg&&a&&"undefined"!==typeof a.opacity&&(a.filter="alpha(opacity="+100*a.opacity+")");b(p.style,a)}function l(a,r,g,v,d){a=c.createElement(a);r&&b(a,r);d&&u(a,{padding:"0",border:"none",margin:"0"});g&&u(a,g);v&&v.appendChild(a);return a}function I(a,
+c){return parseFloat(a.toPrecision(c||14))}function k(a,c,g){var p=e.getStyle||k;if("width"===c)return c=Math.min(a.offsetWidth,a.scrollWidth),g=a.getBoundingClientRect&&a.getBoundingClientRect().width,g<c&&g>=c-1&&(c=Math.floor(g)),Math.max(0,c-(p(a,"padding-left",!0)||0)-(p(a,"padding-right",!0)||0));if("height"===c)return Math.max(0,Math.min(a.offsetHeight,a.scrollHeight)-(p(a,"padding-top",!0)||0)-(p(a,"padding-bottom",!0)||0));q.getComputedStyle||h(27,!0);if(a=q.getComputedStyle(a,void 0)){var r=
+a.getPropertyValue(c);A(g,"opacity"!==c)&&(r=y(r))}return r}function d(a,c,g){for(var p in a)Object.hasOwnProperty.call(a,p)&&c.call(g||a[p],a[p],p,a)}function w(a,c,g){function p(H,x){var c=a.removeEventListener||e.removeEventListenerPolyfill;c&&c.call(a,H,x,!1)}function r(H){var x;if(a.nodeName){if(c){var g={};g[c]=!0}else g=H;d(g,function(a,c){if(H[c])for(x=H[c].length;x--;)p(c,H[c][x].fn)})}}var q="function"===typeof a&&a.prototype||a;if(Object.hasOwnProperty.call(q,"hcEvents")){var L=q.hcEvents;
+c?(q=L[c]||[],g?(L[c]=q.filter(function(H){return g!==H.fn}),p(c,g)):(r(L),L[c]=[])):(r(L),delete q.hcEvents)}}function n(a,g,d,v){d=d||{};if(c.createEvent&&(a.dispatchEvent||a.fireEvent&&a!==e)){var p=c.createEvent("Events");p.initEvent(g,!0,!0);d=b(p,d);a.dispatchEvent?a.dispatchEvent(d):a.fireEvent(g,d)}else if(a.hcEvents){d.target||b(d,{preventDefault:function(){d.defaultPrevented=!0},target:a,type:g});p=[];for(var r=a,L=!1;r.hcEvents;)Object.hasOwnProperty.call(r,"hcEvents")&&r.hcEvents[g]&&
+(p.length&&(L=!0),p.unshift.apply(p,r.hcEvents[g])),r=Object.getPrototypeOf(r);L&&p.sort(function(H,x){return H.order-x.order});p.forEach(function(H){!1===H.fn.call(a,d)&&d.preventDefault()})}v&&!d.defaultPrevented&&v.call(a,d)}var g=e.charts,c=e.doc,q=e.win;"";(h||(h={})).messages=[];var a;Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};var B=Array.prototype.find?function(a,c){return a.find(c)}:function(a,c){var p,g=a.length;for(p=0;p<g;p++)if(c(a[p],p))return a[p]};d({map:"map",
+each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(a,c){e[c]=function(p){var g;h(32,!1,void 0,(g={},g["Highcharts."+c]="use Array."+a,g));return Array.prototype[a].apply(p,[].slice.call(arguments,1))}});var J,O=function(){var a=Math.random().toString(36).substring(2,9)+"-",c=0;return function(){return"highcharts-"+(J?"":a)+c++}}();q.jQuery&&(q.jQuery.fn.highcharts=function(){var a=[].slice.call(arguments);if(this[0])return a[0]?(new (e[F(a[0])?a.shift():"Chart"])(this[0],a[0],a[1]),
+this):g[f(this[0],"data-highcharts-chart")]});return{addEvent:function(a,c,g,d){void 0===d&&(d={});var p="function"===typeof a&&a.prototype||a;Object.hasOwnProperty.call(p,"hcEvents")||(p.hcEvents={});p=p.hcEvents;e.Point&&a instanceof e.Point&&a.series&&a.series.chart&&(a.series.chart.runTrackerClick=!0);var r=a.addEventListener||e.addEventListenerPolyfill;r&&r.call(a,c,g,e.supportsPassiveEvents?{passive:void 0===d.passive?-1!==c.indexOf("touch"):d.passive,capture:!1}:!1);p[c]||(p[c]=[]);p[c].push({fn:g,
+order:"number"===typeof d.order?d.order:Infinity});p[c].sort(function(a,H){return a.order-H.order});return function(){w(a,c,g)}},arrayMax:function(a){for(var c=a.length,p=a[0];c--;)a[c]>p&&(p=a[c]);return p},arrayMin:function(a){for(var c=a.length,p=a[0];c--;)a[c]<p&&(p=a[c]);return p},attr:f,clamp:function(a,c,g){return a>c?a<g?a:g:c},cleanRecursively:Q,clearTimeout:function(a){m(a)&&clearTimeout(a)},correctFloat:I,createElement:l,css:u,defined:m,destroyObjectProperties:function(a,c){d(a,function(g,
+p){g&&g!==c&&g.destroy&&g.destroy();delete a[p]})},discardElement:function(c){a||(a=l("div"));c&&a.appendChild(c);a.innerHTML=""},erase:function(a,c){for(var g=a.length;g--;)if(a[g]===c){a.splice(g,1);break}},error:h,extend:b,extendClass:function(a,c){var g=function(){};g.prototype=new a;b(g.prototype,c);return g},find:B,fireEvent:n,getMagnitude:function(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))},getNestedProperty:function(a,c){for(a=a.split(".");a.length&&m(c);){var g=a.shift();if("undefined"===
+typeof g||"__proto__"===g)return;c=c[g];if(!m(c)||"function"===typeof c||"number"===typeof c.nodeType||c===q)return}return c},getStyle:k,inArray:function(a,c,g){h(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"});return c.indexOf(a,g)},isArray:E,isClass:t,isDOMElement:G,isFunction:function(a){return"function"===typeof a},isNumber:z,isObject:C,isString:F,keys:function(a){h(32,!1,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(a)},merge:function(){var a,c=arguments,g={},q=function(a,
+c){"object"!==typeof a&&(a={});d(c,function(H,x){"__proto__"!==x&&"constructor"!==x&&(!C(H,!0)||t(H)||G(H)?a[x]=c[x]:a[x]=q(a[x]||{},H))});return a};!0===c[0]&&(g=c[1],c=Array.prototype.slice.call(c,2));var b=c.length;for(a=0;a<b;a++)g=q(g,c[a]);return g},normalizeTickInterval:function(a,c,g,d,q){var p=a;g=A(g,1);var L=a/g;c||(c=q?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===d&&(1===g?c=c.filter(function(a){return 0===a%1}):.1>=g&&(c=[1/g])));for(d=0;d<c.length&&!(p=c[d],q&&p*g>=a||!q&&L<=(c[d]+
+(c[d+1]||c[d]))/2);d++);return p=I(p*g,-Math.round(Math.log(.001)/Math.LN10))},objectEach:d,offset:function(a){var g=c.documentElement;a=a.parentElement||a.parentNode?a.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:a.top+(q.pageYOffset||g.scrollTop)-(g.clientTop||0),left:a.left+(q.pageXOffset||g.scrollLeft)-(g.clientLeft||0),width:a.width,height:a.height}},pad:function(a,c,g){return Array((c||2)+1-String(a).replace("-","").length).join(g||"0")+a},pick:A,pInt:y,relativeLength:function(a,
+c,g){return/%$/.test(a)?c*parseFloat(a)/100+(g||0):parseFloat(a)},removeEvent:w,splat:function(a){return E(a)?a:[a]},stableSort:function(a,c){var g=a.length,d,p;for(p=0;p<g;p++)a[p].safeI=p;a.sort(function(a,g){d=c(a,g);return 0===d?a.safeI-g.safeI:d});for(p=0;p<g;p++)delete a[p].safeI},syncTimeout:function(a,c,g){if(0<c)return setTimeout(a,c,g);a.call(0,g);return-1},timeUnits:{millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5},uniqueKey:O,useSerialIds:function(a){return J=
+A(a,J)},wrap:function(a,c,g){var d=a[c];a[c]=function(){var a=Array.prototype.slice.call(arguments),c=arguments,L=this;L.proceed=function(){d.apply(L,arguments.length?arguments:c)};a.unshift(d);a=g.apply(this,a);L.proceed=null;return a}}}});P(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,h){var Q=h.isNumber,y=h.merge,F=h.pInt;"";h=function(){function h(C){this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,
+parse:function(h){return[F(h[1]),F(h[2]),F(h[3]),parseFloat(h[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(h){return[F(h[1]),F(h[2]),F(h[3]),1]}}];this.rgba=[];if(e.Color!==h)return new e.Color(C);if(!(this instanceof h))return new h(C);this.init(C)}h.parse=function(e){return new h(e)};h.prototype.init=function(e){var G,t;if((this.input=e=h.names[e&&e.toLowerCase?e.toLowerCase():""]||e)&&e.stops)this.stops=e.stops.map(function(f){return new h(f[1])});
+else{if(e&&e.charAt&&"#"===e.charAt()){var z=e.length;e=parseInt(e.substr(1),16);7===z?G=[(e&16711680)>>16,(e&65280)>>8,e&255,1]:4===z&&(G=[(e&3840)>>4|(e&3840)>>8,(e&240)>>4|e&240,(e&15)<<4|e&15,1])}if(!G)for(t=this.parsers.length;t--&&!G;){var m=this.parsers[t];(z=m.regex.exec(e))&&(G=m.parse(z))}}this.rgba=G||[]};h.prototype.get=function(h){var e=this.input,t=this.rgba;if("undefined"!==typeof this.stops){var z=y(e);z.stops=[].concat(z.stops);this.stops.forEach(function(m,f){z.stops[f]=[z.stops[f][0],
+m.get(h)]})}else z=t&&Q(t[0])?"rgb"===h||!h&&1===t[3]?"rgb("+t[0]+","+t[1]+","+t[2]+")":"a"===h?t[3]:"rgba("+t.join(",")+")":e;return z};h.prototype.brighten=function(h){var e,t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(h)});else if(Q(h)&&0!==h)for(e=0;3>e;e++)t[e]+=F(255*h),0>t[e]&&(t[e]=0),255<t[e]&&(t[e]=255);return this};h.prototype.setOpacity=function(h){this.rgba[3]=h;return this};h.prototype.tweenTo=function(h,e){var t=this.rgba,z=h.rgba;z.length&&t&&t.length?(h=1!==
+z[3]||1!==t[3],e=(h?"rgba(":"rgb(")+Math.round(z[0]+(t[0]-z[0])*(1-e))+","+Math.round(z[1]+(t[1]-z[1])*(1-e))+","+Math.round(z[2]+(t[2]-z[2])*(1-e))+(h?","+(z[3]+(t[3]-z[3])*(1-e)):"")+")"):e=h.input||"none";return e};h.names={white:"#ffffff",black:"#000000"};return h}();e.Color=h;e.color=h.parse;return h});P(e,"Core/Color/Palette.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",
+neutralColor80:"#333333",neutralColor60:"#666666",neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",positiveColor:"#06b535",negativeColor:"#f21313"}});P(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,h){var Q=e.win,y=h.defined,F=h.error,E=h.extend,C=h.isObject,G=h.merge,
+t=h.objectEach,z=h.pad,m=h.pick,f=h.splat,b=h.timeUnits;"";h=function(){function A(b){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=Q.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(b)}A.prototype.get=function(b,l){if(this.variableTimezone||this.timezoneOffset){var I=l.getTime(),k=I-this.getTimezoneOffset(l);l.setTime(k);b=l["getUTC"+b]();l.setTime(I);return b}return this.useUTC?l["getUTC"+b]():l["get"+b]()};A.prototype.set=function(b,l,I){if(this.variableTimezone||
+this.timezoneOffset){if("Milliseconds"===b||"Seconds"===b||"Minutes"===b&&0===this.getTimezoneOffset(l)%36E5)return l["setUTC"+b](I);var k=this.getTimezoneOffset(l);k=l.getTime()-k;l.setTime(k);l["setUTC"+b](I);b=this.getTimezoneOffset(l);k=l.getTime()+b;return l.setTime(k)}return this.useUTC?l["setUTC"+b](I):l["set"+b](I)};A.prototype.update=function(b){var l=m(b&&b.useUTC,!0);this.options=b=G(!0,this.options||{},b);this.Date=b.Date||Q.Date||Date;this.timezoneOffset=(this.useUTC=l)&&b.timezoneOffset;
+this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=l&&!(!b.getTimezoneOffset&&!b.timezone)};A.prototype.makeTime=function(b,l,I,k,d,w){if(this.useUTC){var n=this.Date.UTC.apply(0,arguments);var g=this.getTimezoneOffset(n);n+=g;var c=this.getTimezoneOffset(n);g!==c?n+=c-g:g-36E5!==this.getTimezoneOffset(n-36E5)||e.isSafari||(n-=36E5)}else n=(new this.Date(b,l,m(I,1),m(k,0),m(d,0),m(w,0))).getTime();return n};A.prototype.timezoneOffsetFunction=function(){var b=this,l=this.options,
+I=l.moment||Q.moment;if(!this.useUTC)return function(b){return 6E4*(new Date(b.toString())).getTimezoneOffset()};if(l.timezone){if(I)return function(b){return 6E4*-I.tz(b,l.timezone).utcOffset()};F(25)}return this.useUTC&&l.getTimezoneOffset?function(b){return 6E4*l.getTimezoneOffset(b.valueOf())}:function(){return 6E4*(b.timezoneOffset||0)}};A.prototype.dateFormat=function(b,l,I){if(!y(l)||isNaN(l))return e.defaultOptions.lang&&e.defaultOptions.lang.invalidDate||"";b=m(b,"%Y-%m-%d %H:%M:%S");var k=
+this,d=new this.Date(l),w=this.get("Hours",d),n=this.get("Day",d),g=this.get("Date",d),c=this.get("Month",d),q=this.get("FullYear",d),a=e.defaultOptions.lang,B=a&&a.weekdays,J=a&&a.shortWeekdays;d=E({a:J?J[n]:B[n].substr(0,3),A:B[n],d:z(g),e:z(g,2," "),w:n,b:a.shortMonths[c],B:a.months[c],m:z(c+1),o:c+1,y:q.toString().substr(2,2),Y:q,H:z(w),k:w,I:z(w%12||12),l:w%12||12,M:z(this.get("Minutes",d)),p:12>w?"AM":"PM",P:12>w?"am":"pm",S:z(d.getSeconds()),L:z(Math.floor(l%1E3),3)},e.dateFormats);t(d,function(a,
+c){for(;-1!==b.indexOf("%"+c);)b=b.replace("%"+c,"function"===typeof a?a.call(k,l):a)});return I?b.substr(0,1).toUpperCase()+b.substr(1):b};A.prototype.resolveDTLFormat=function(b){return C(b,!0)?b:(b=f(b),{main:b[0],from:b[1],to:b[2]})};A.prototype.getTimeTicks=function(f,l,I,k){var d=this,w=[],n={};var g=new d.Date(l);var c=f.unitRange,q=f.count||1,a;k=m(k,1);if(y(l)){d.set("Milliseconds",g,c>=b.second?0:q*Math.floor(d.get("Milliseconds",g)/q));c>=b.second&&d.set("Seconds",g,c>=b.minute?0:q*Math.floor(d.get("Seconds",
+g)/q));c>=b.minute&&d.set("Minutes",g,c>=b.hour?0:q*Math.floor(d.get("Minutes",g)/q));c>=b.hour&&d.set("Hours",g,c>=b.day?0:q*Math.floor(d.get("Hours",g)/q));c>=b.day&&d.set("Date",g,c>=b.month?1:Math.max(1,q*Math.floor(d.get("Date",g)/q)));if(c>=b.month){d.set("Month",g,c>=b.year?0:q*Math.floor(d.get("Month",g)/q));var B=d.get("FullYear",g)}c>=b.year&&d.set("FullYear",g,B-B%q);c===b.week&&(B=d.get("Day",g),d.set("Date",g,d.get("Date",g)-B+k+(B<k?-7:0)));B=d.get("FullYear",g);k=d.get("Month",g);var J=
+d.get("Date",g),O=d.get("Hours",g);l=g.getTime();!d.variableTimezone&&d.useUTC||!y(I)||(a=I-l>4*b.month||d.getTimezoneOffset(l)!==d.getTimezoneOffset(I));l=g.getTime();for(g=1;l<I;)w.push(l),l=c===b.year?d.makeTime(B+g*q,0):c===b.month?d.makeTime(B,k+g*q):!a||c!==b.day&&c!==b.week?a&&c===b.hour&&1<q?d.makeTime(B,k,J,O+g*q):l+c*q:d.makeTime(B,k,J+g*q*(c===b.day?1:7)),g++;w.push(l);c<=b.hour&&1E4>w.length&&w.forEach(function(a){0===a%18E5&&"000000000"===d.dateFormat("%H%M%S%L",a)&&(n[a]="day")})}w.info=
+E(f,{higherRanks:n,totalRange:c*q});return w};return A}();e.Time=h;return e.Time});P(e,"Core/Options.js",[e["Core/Globals.js"],e["Core/Color/Color.js"],e["Core/Color/Palette.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(e,h,D,y,F){var Q=e.isTouchDevice,C=e.svg;h=h.parse;var G=F.merge;"";var t={colors:D.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),
+shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,
+spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:D.highlightColor80,backgroundColor:D.backgroundColor,plotBorderColor:D.neutralColor20},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:D.neutralColor80}},legend:{enabled:!0,
+align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:D.neutralColor40,borderRadius:0,navigation:{activeColor:D.highlightColor100,inactiveColor:D.neutralColor20},itemStyle:{color:D.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:D.neutralColor100},itemHiddenStyle:{color:D.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,
+verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:D.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:C,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",
+padding:8,snap:Q?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:h(D.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:D.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",
+color:D.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};t.chart.styledMode=!1;"";var z=new y(G(t.global,t.time));return{defaultOptions:t,defaultTime:z,getOptions:function(){return t},setOptions:function(m){G(!0,t,m);if(m.time||m.global)e.time?e.time.update(G(t.global,t.time,m.global,m.time)):e.time=z;return t}}});P(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,h,D){var Q=e.parse,F=h.win,E=D.isNumber,C=D.objectEach;return function(){function h(t,
+z,m){this.pos=NaN;this.options=z;this.elem=t;this.prop=m}h.prototype.dSetter=function(){var t=this.paths,z=t&&t[0];t=t&&t[1];var m=this.now||0,f=[];if(1!==m&&z&&t)if(z.length===t.length&&1>m)for(var b=0;b<t.length;b++){for(var A=z[b],u=t[b],l=[],I=0;I<u.length;I++){var k=A[I],d=u[I];E(k)&&E(d)&&("A"!==u[0]||4!==I&&5!==I)?l[I]=k+m*(d-k):l[I]=d}f.push(l)}else f=t;else f=this.toD||[];this.elem.attr("d",f,void 0,!0)};h.prototype.update=function(){var t=this.elem,z=this.prop,m=this.now,f=this.options.step;
+if(this[z+"Setter"])this[z+"Setter"]();else t.attr?t.element&&t.attr(z,m,null,!0):t.style[z]=m+this.unit;f&&f.call(t,m,this)};h.prototype.run=function(t,z,m){var f=this,b=f.options,A=function(b){return A.stopped?!1:f.step(b)},u=F.requestAnimationFrame||function(b){setTimeout(b,13)},l=function(){for(var b=0;b<h.timers.length;b++)h.timers[b]()||h.timers.splice(b--,1);h.timers.length&&u(l)};t!==z||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=z,this.unit=m,this.now=
+this.start,this.pos=0,A.elem=this.elem,A.prop=this.prop,A()&&1===h.timers.push(A)&&u(l)):(delete b.curAnim[this.prop],b.complete&&0===Object.keys(b.curAnim).length&&b.complete.call(this.elem))};h.prototype.step=function(t){var z=+new Date,m=this.options,f=this.elem,b=m.complete,A=m.duration,u=m.curAnim;if(f.attr&&!f.element)t=!1;else if(t||z>=A+this.startTime){this.now=this.end;this.pos=1;this.update();var l=u[this.prop]=!0;C(u,function(b){!0!==b&&(l=!1)});l&&b&&b.call(f);t=!1}else this.pos=m.easing((z-
+this.startTime)/A),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t};h.prototype.initPath=function(t,z,m){function f(b,g){for(;b.length<w;){var c=b[0],d=g[w-b.length];d&&"M"===c[0]&&(b[0]="C"===d[0]?["C",c[1],c[2],c[1],c[2],c[1],c[2]]:["L",c[1],c[2]]);b.unshift(c);l&&(c=b.pop(),b.push(b[b.length-1],c))}}function b(b,g){for(;b.length<w;)if(g=b[Math.floor(b.length/I)-1].slice(),"C"===g[0]&&(g[1]=g[5],g[2]=g[6]),l){var c=b[Math.floor(b.length/I)].slice();b.splice(b.length/
+2,0,g,c)}else b.push(g)}var A=t.startX,u=t.endX;m=m.slice();var l=t.isArea,I=l?2:1;z=z&&z.slice();if(!z)return[m,m];if(A&&u&&u.length){for(t=0;t<A.length;t++)if(A[t]===u[0]){var k=t;break}else if(A[0]===u[u.length-A.length+t]){k=t;var d=!0;break}else if(A[A.length-1]===u[u.length-A.length+t]){k=A.length-t;break}"undefined"===typeof k&&(z=[])}if(z.length&&E(k)){var w=m.length+k*I;d?(f(z,m),b(m,z)):(f(m,z),b(z,m))}return[z,m]};h.prototype.fillSetter=function(){h.prototype.strokeSetter.apply(this,arguments)};
+h.prototype.strokeSetter=function(){this.elem.attr(this.prop,Q(this.start).tweenTo(Q(this.end),this.pos),null,!0)};h.timers=[];return h}()});P(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],function(e,h){function Q(b){return t(b)?z({duration:500,defer:0},b):{duration:b?500:0,defer:0}}function y(b,f){for(var u=e.timers.length;u--;)e.timers[u].elem!==b||f&&f!==e.timers[u].prop||(e.timers[u].stopped=!0)}var F=h.defined,E=h.getStyle,C=h.isArray,G=h.isNumber,
+t=h.isObject,z=h.merge,m=h.objectEach,f=h.pick;return{animate:function(b,f,u){var l,I="",k,d;if(!t(u)){var w=arguments;u={duration:w[2],easing:w[3],complete:w[4]}}G(u.duration)||(u.duration=400);u.easing="function"===typeof u.easing?u.easing:Math[u.easing]||Math.easeInOutSine;u.curAnim=z(f);m(f,function(n,g){y(b,g);d=new e(b,u,g);k=void 0;"d"===g&&C(f.d)?(d.paths=d.initPath(b,b.pathArray,f.d),d.toD=f.d,l=0,k=1):b.attr?l=b.attr(g):(l=parseFloat(E(b,g))||0,"opacity"!==g&&(I="px"));k||(k=n);"string"===
+typeof k&&k.match("px")&&(k=k.replace(/px/g,""));d.run(l,k,I)})},animObject:Q,getDeferredAnimation:function(b,f,u){var l=Q(f),I=0,k=0;(u?[u]:b.series).forEach(function(b){b=Q(b.options.animation);I=f&&F(f.defer)?l.defer:Math.max(I,b.duration+b.defer);k=Math.min(l.duration,b.duration)});b.renderer.forExport&&(I=0);return{defer:Math.max(0,I-k),duration:Math.min(I,k)}},setAnimation:function(b,A){A.renderer.globalAnimation=f(b,A.options.chart.animation,!0)},stop:y}});P(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],
+e["Core/Utilities.js"]],function(e,h){var Q=e.SVG_NS,y=h.attr,F=h.createElement,E=h.discardElement,C=h.error,G=h.isString,t=h.objectEach,z=h.splat;"";var m=!1;try{m=!!(new DOMParser).parseFromString("","text/html")}catch(f){}return function(){function f(b){this.nodes="string"===typeof b?this.parseMarkup(b):b}f.filterUserAttributes=function(b){t(b,function(A,u){var l=!0;-1===f.allowedAttributes.indexOf(u)&&(l=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(u)&&(l=G(A)&&f.allowedReferences.some(function(b){return 0===
+A.indexOf(b)}));l||(C("Highcharts warning: Invalid attribute '"+u+"' in config"),delete b[u])});return b};f.setElementHTML=function(b,A){b.innerHTML="";A&&(new f(A)).addToDOM(b)};f.prototype.addToDOM=function(b){function A(b,l){var I;z(b).forEach(function(b){var d=b.tagName,k=b.textContent?e.doc.createTextNode(b.textContent):void 0;if(d)if("#text"===d)var n=k;else if(-1!==f.allowedTags.indexOf(d)){d=e.doc.createElementNS("svg"===d?Q:l.namespaceURI||Q,d);var g=b.attributes||{};t(b,function(c,b){"tagName"!==
+b&&"attributes"!==b&&"children"!==b&&"textContent"!==b&&(g[b]=c)});y(d,f.filterUserAttributes(g));k&&d.appendChild(k);A(b.children||[],d);n=d}else C("Highcharts warning: Invalid tagName '"+d+"' in config");n&&l.appendChild(n);I=n});return I}return A(this.nodes,b)};f.prototype.parseMarkup=function(b){var f=[];if(m)b=(new DOMParser).parseFromString(b,"text/html");else{var u=F("div");u.innerHTML=b;b={body:u}}var l=function(b,k){var d=b.nodeName.toLowerCase(),w={tagName:d};if("#text"===d){d=b.textContent||
+"";if(/^[\s]*$/.test(d))return;w.textContent=d}if(d=b.attributes){var n={};[].forEach.call(d,function(c){n[c.name]=c.value});w.attributes=n}if(b.childNodes.length){var g=[];[].forEach.call(b.childNodes,function(c){l(c,g)});g.length&&(w.children=g)}k.push(w)};[].forEach.call(b.body.childNodes,function(b){return l(b,f)});u&&E(u);return f};f.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" ");
+f.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 x2 y y1 y2 zIndex".split(" ");
+f.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");return f}()});P(e,"Core/FormatUtilities.js",[e["Core/Options.js"],e["Core/Utilities.js"]],function(e,h){function Q(z,m,f,b){z=+z||0;m=+m;var A=y.lang,u=(z.toString().split(".")[1]||"").split("e")[0].length,l=z.toString().split("e"),I=m;if(-1===m)m=Math.min(u,20);else if(!C(m))m=2;else if(m&&l[1]&&0>l[1]){var k=m+ +l[1];0<=k?(l[0]=(+l[0]).toExponential(k).split("e")[0],m=k):(l[0]=l[0].split(".")[0]||0,z=20>m?(l[0]*Math.pow(10,l[1])).toFixed(m):
+0,l[1]=0)}k=(Math.abs(l[1]?l[0]:z)+Math.pow(10,-Math.max(m,u)-1)).toFixed(m);u=String(t(k));var d=3<u.length?u.length%3:0;f=G(f,A.decimalPoint);b=G(b,A.thousandsSep);z=(0>z?"-":"")+(d?u.substr(0,d)+b:"");z=0>+l[1]&&!I?"0":z+u.substr(d).replace(/(\d{3})(?=\d)/g,"$1"+b);m&&(z+=f+k.slice(-m));l[1]&&0!==+z&&(z+="e"+l[1]);return z}var y=e.defaultOptions,F=e.defaultTime,E=h.getNestedProperty,C=h.isNumber,G=h.pick,t=h.pInt;return{dateFormat:function(t,m,f){return F.dateFormat(t,m,f)},format:function(t,m,
+f){var b="{",A=!1,u=/f$/,l=/\.([0-9])/,I=y.lang,k=f&&f.time||F;f=f&&f.numberFormatter||Q;for(var d=[];t;){var w=t.indexOf(b);if(-1===w)break;var n=t.slice(0,w);if(A){n=n.split(":");b=E(n.shift()||"",m);if(n.length&&"number"===typeof b)if(n=n.join(":"),u.test(n)){var g=parseInt((n.match(l)||["","-1"])[1],10);null!==b&&(b=f(b,g,I.decimalPoint,-1<n.indexOf(",")?I.thousandsSep:""))}else b=k.dateFormat(n,b);d.push(b)}else d.push(n);t=t.slice(w+1);b=(A=!A)?"}":"{"}d.push(t);return d.join("")},numberFormat:Q}});
+P(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E){var C=e.animate,G=e.animObject,t=e.stop,z=y.deg2rad,m=y.doc,f=y.noop,b=y.svg,A=y.SVG_NS,u=y.win,l=E.addEvent,I=E.attr,k=E.createElement,d=E.css,w=E.defined,n=E.erase,g=E.extend,c=E.fireEvent,q=E.isArray,a=E.isFunction,B=E.isNumber,J=E.isString,O=E.merge,p=E.objectEach,r=
+E.pick,M=E.pInt,v=E.syncTimeout,N=E.uniqueKey;e=function(){function K(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=A;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}K.prototype._defaultGetter=function(a){a=r(this[a+"Value"],this[a],this.element?this.element.getAttribute(a):null,0);/^[\-0-9\.]+$/.test(a)&&(a=parseFloat(a));return a};K.prototype._defaultSetter=function(a,c,x){x.setAttribute(c,a)};K.prototype.add=
+function(a){var c=this.renderer,x=this.element;a&&(this.parentGroup=a);this.parentInverted=a&&a.inverted;"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&c.buildText(this);this.added=!0;if(!a||a.handleZ||this.zIndex)var g=this.zIndexSetter();g||(a?a.element:c.box).appendChild(x);if(this.onAdd)this.onAdd();return this};K.prototype.addClass=function(a,c){var x=c?"":this.attr("class")||"";a=(a||"").split(/ /g).reduce(function(a,c){-1===x.indexOf(c)&&a.push(c);return a},x?[x]:[]).join(" ");
+a!==x&&this.attr("class",a);return this};K.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)};K.prototype.align=function(a,c,x){var H={},g=this.renderer,b=g.alignedObjects,d,p,L;if(a){if(this.alignOptions=a,this.alignByTranslate=c,!x||J(x))this.alignTo=d=x||"renderer",n(b,this),b.push(this),x=void 0}else a=this.alignOptions,c=this.alignByTranslate,d=this.alignTo;x=r(x,g[d],"scrollablePlotBox"===d?g.plotBox:void 0,g);d=a.align;var q=a.verticalAlign;g=
+(x.x||0)+(a.x||0);b=(x.y||0)+(a.y||0);"right"===d?p=1:"center"===d&&(p=2);p&&(g+=(x.width-(a.width||0))/p);H[c?"translateX":"x"]=Math.round(g);"bottom"===q?L=1:"middle"===q&&(L=2);L&&(b+=(x.height-(a.height||0))/L);H[c?"translateY":"y"]=Math.round(b);this[this.placed?"animate":"attr"](H);this.placed=!0;this.alignAttr=H;return this};K.prototype.alignSetter=function(a){var c={left:"start",center:"middle",right:"end"};c[a]&&(this.alignValue=a,this.element.setAttribute("text-anchor",c[a]))};K.prototype.animate=
+function(a,c,x){var H=this,g=G(r(c,this.renderer.globalAnimation,!0));c=g.defer;r(m.hidden,m.msHidden,m.webkitHidden,!1)&&(g.duration=0);0!==g.duration?(x&&(g.complete=x),v(function(){H.element&&C(H,a,g)},c)):(this.attr(a,void 0,x),p(a,function(a,x){g.step&&g.step.call(this,a,{prop:x,pos:1,elem:this})},this));return this};K.prototype.applyTextOutline=function(a){var c=this.element;-1!==a.indexOf("contrast")&&(a=a.replace(/contrast/g,this.renderer.getContrast(c.style.fill)));var x=a.split(" ");a=x[x.length-
+1];if((x=x[0])&&"none"!==x&&y.svg){this.fakeTS=!0;this.ySetter=this.xSetter;x=x.replace(/(^[\d\.]+)(.*?)$/g,function(a,x,c){return 2*Number(x)+c});this.removeTextOutline();var g=m.createElementNS(A,"tspan");I(g,{"class":"highcharts-text-outline",fill:a,stroke:a,"stroke-width":x,"stroke-linejoin":"round"});[].forEach.call(c.childNodes,function(a){var x=a.cloneNode(!0);x.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(a){return x.removeAttribute(a)});g.appendChild(x)});var b=
+m.createElementNS(A,"tspan");b.textContent="\u200b";["x","y"].forEach(function(a){var x=c.getAttribute(a);x&&b.setAttribute(a,x)});g.appendChild(b);c.insertBefore(g,c.firstChild)}};K.prototype.attr=function(a,c,x,g){var H=this.element,b=this.symbolCustomAttribs,d,q=this,L,r;if("string"===typeof a&&"undefined"!==typeof c){var v=a;a={};a[v]=c}"string"===typeof a?q=(this[a+"Getter"]||this._defaultGetter).call(this,a,H):(p(a,function(x,c){L=!1;g||t(this,c);this.symbolName&&-1!==b.indexOf(c)&&(d||(this.symbolAttr(a),
+d=!0),L=!0);!this.rotation||"x"!==c&&"y"!==c||(this.doTransform=!0);L||(r=this[c+"Setter"]||this._defaultSetter,r.call(this,x,c,H),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(c)&&this.updateShadows(c,x,r))},this),this.afterSetters());x&&x.call(this);return q};K.prototype.clip=function(a){return this.attr("clip-path",a?"url("+this.renderer.url+"#"+a.id+")":"none")};K.prototype.crisp=function(a,c){c=c||a.strokeWidth||0;var x=Math.round(c)%2/2;a.x=Math.floor(a.x||
+this.x||0)+x;a.y=Math.floor(a.y||this.y||0)+x;a.width=Math.floor((a.width||this.width||0)-2*x);a.height=Math.floor((a.height||this.height||0)-2*x);w(a.strokeWidth)&&(a.strokeWidth=c);return a};K.prototype.complexColor=function(a,H,x){var g=this.renderer,b,d,r,L,v,k,n,B,J,M,l=[],f;c(this.renderer,"complexColor",{args:arguments},function(){a.radialGradient?d="radialGradient":a.linearGradient&&(d="linearGradient");if(d){r=a[d];v=g.gradients;k=a.stops;J=x.radialReference;q(r)&&(a[d]=r={x1:r[0],y1:r[1],
+x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===d&&J&&!w(r.gradientUnits)&&(L=r,r=O(r,g.getRadialAttr(J,L),{gradientUnits:"userSpaceOnUse"}));p(r,function(a,c){"id"!==c&&l.push(c,a)});p(k,function(a){l.push(a)});l=l.join(",");if(v[l])M=v[l].attr("id");else{r.id=M=N();var c=v[l]=g.createElement(d).attr(r).add(g.defs);c.radAttr=L;c.stops=[];k.forEach(function(a){0===a[1].indexOf("rgba")?(b=D.parse(a[1]),n=b.get("rgb"),B=b.get("a")):(n=a[1],B=1);a=g.createElement("stop").attr({offset:a[0],
+"stop-color":n,"stop-opacity":B}).add(c);c.stops.push(a)})}f="url("+g.url+"#"+M+")";x.setAttribute(H,f);x.gradient=l;a.toString=function(){return f}}})};K.prototype.css=function(a){var c=this.styles,x={},q=this.element,r=["textOutline","textOverflow","width"],v="",k=!c;a&&a.color&&(a.fill=a.color);c&&p(a,function(a,H){c&&c[H]!==a&&(x[H]=a,k=!0)});if(k){c&&(a=g(c,x));if(a)if(null===a.width||"auto"===a.width)delete this.textWidth;else if("text"===q.nodeName.toLowerCase()&&a.width)var n=this.textWidth=
+M(a.width);this.styles=a;n&&!b&&this.renderer.forExport&&delete a.width;if(q.namespaceURI===this.SVG_NS){var L=function(a,c){return"-"+c.toLowerCase()};p(a,function(a,c){-1===r.indexOf(c)&&(v+=c.replace(/([A-Z])/g,L)+":"+a+";")});v&&I(q,"style",v)}else d(q,a);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),a&&a.textOutline&&this.applyTextOutline(a.textOutline))}return this};K.prototype.dashstyleSetter=function(a){var c=this["stroke-width"];"inherit"===c&&(c=1);if(a=a&&a.toLowerCase()){var x=
+a.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(a=x.length;a--;)x[a]=""+M(x[a])*r(c,NaN);a=x.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",a)}};K.prototype.destroy=function(){var a=this,c=a.element||{},x=a.renderer,g=c.ownerSVGElement,b=x.isSVG&&"SPAN"===c.nodeName&&a.parentGroup||
+void 0;c.onclick=c.onmouseout=c.onmouseover=c.onmousemove=c.point=null;t(a);if(a.clipPath&&g){var d=a.clipPath;[].forEach.call(g.querySelectorAll("[clip-path],[CLIP-PATH]"),function(a){-1<a.getAttribute("clip-path").indexOf(d.element.id)&&a.removeAttribute("clip-path")});a.clipPath=d.destroy()}if(a.stops){for(g=0;g<a.stops.length;g++)a.stops[g].destroy();a.stops.length=0;a.stops=void 0}a.safeRemoveChild(c);for(x.styledMode||a.destroyShadows();b&&b.div&&0===b.div.childNodes.length;)c=b.parentGroup,
+a.safeRemoveChild(b.div),delete b.div,b=c;a.alignTo&&n(x.alignedObjects,a);p(a,function(c,x){a[x]&&a[x].parentGroup===a&&a[x].destroy&&a[x].destroy();delete a[x]})};K.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(a){this.safeRemoveChild(a)},this);this.shadows=void 0};K.prototype.destroyTextPath=function(a,c){var x=a.getElementsByTagName("text")[0];if(x){if(x.removeAttribute("dx"),x.removeAttribute("dy"),c.element.setAttribute("id",""),this.textPathWrapper&&x.getElementsByTagName("textPath").length){for(a=
+this.textPathWrapper.element.childNodes;a.length;)x.appendChild(a[0]);x.removeChild(this.textPathWrapper.element)}}else if(a.getAttribute("dx")||a.getAttribute("dy"))a.removeAttribute("dx"),a.removeAttribute("dy");this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())};K.prototype.dSetter=function(a,c,x){q(a)&&("string"===typeof a[0]&&(a=this.renderer.pathToSegments(a)),this.pathArray=a,a=a.reduce(function(a,c,x){return c&&c.join?(x?a+" ":"")+c.join(" "):(c||"").toString()},""));
+/(NaN| {2}|^$)/.test(a)&&(a="M 0 0");this[c]!==a&&(x.setAttribute(c,a),this[c]=a)};K.prototype.fadeOut=function(a){var c=this;c.animate({opacity:0},{duration:r(a,150),complete:function(){c.attr({y:-9999}).hide()}})};K.prototype.fillSetter=function(a,c,x){"string"===typeof a?x.setAttribute(c,a):a&&this.complexColor(a,c,x)};K.prototype.getBBox=function(c,H){var x=this.renderer,b=this.element,p=this.styles,q=this.textStr,v=x.cache,k=x.cacheKeys,n=b.namespaceURI===this.SVG_NS;H=r(H,this.rotation,0);var B=
+x.styledMode?b&&K.prototype.getStyle.call(b,"font-size"):p&&p.fontSize,J;if(w(q)){var l=q.toString();-1===l.indexOf("<")&&(l=l.replace(/[0-9]/g,"0"));l+=["",H,B,this.textWidth,p&&p.textOverflow,p&&p.fontWeight].join()}l&&!c&&(J=v[l]);if(!J){if(n||x.forExport){try{var M=this.fakeTS&&function(a){var c=b.querySelector(".highcharts-text-outline");c&&d(c,{display:a})};a(M)&&M("none");J=b.getBBox?g({},b.getBBox()):{width:b.offsetWidth,height:b.offsetHeight};a(M)&&M("")}catch(X){""}if(!J||0>J.width)J={width:0,
+height:0}}else J=this.htmlGetBBox();x.isSVG&&(c=J.width,x=J.height,n&&(J.height=x={"11px,17":14,"13px,20":16}[p&&p.fontSize+","+Math.round(x)]||x),H&&(p=H*z,J.width=Math.abs(x*Math.sin(p))+Math.abs(c*Math.cos(p)),J.height=Math.abs(x*Math.cos(p))+Math.abs(c*Math.sin(p))));if(l&&0<J.height){for(;250<k.length;)delete v[k.shift()];v[l]||k.push(l);v[l]=J}}return J};K.prototype.getStyle=function(a){return u.getComputedStyle(this.element||this,"").getPropertyValue(a)};K.prototype.hasClass=function(a){return-1!==
+(""+this.attr("class")).split(" ").indexOf(a)};K.prototype.hide=function(a){a?this.attr({y:-9999}):this.attr({visibility:"hidden"});return this};K.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};K.prototype.init=function(a,g){this.element="span"===g?k(g):m.createElementNS(this.SVG_NS,g);this.renderer=a;c(this,"afterInit")};K.prototype.invert=function(a){this.inverted=a;this.updateTransform();return this};K.prototype.on=function(a,c){var x=this.onEvents;if(x[a])x[a]();x[a]=l(this.element,
+a,c);return this};K.prototype.opacitySetter=function(a,c,x){this.opacity=a=Number(Number(a).toFixed(3));x.setAttribute(c,a)};K.prototype.removeClass=function(a){return this.attr("class",(""+this.attr("class")).replace(J(a)?new RegExp("(^| )"+a+"( |$)"):a," ").replace(/ +/g," ").trim())};K.prototype.removeTextOutline=function(){var a=this.element.querySelector("tspan.highcharts-text-outline");a&&this.safeRemoveChild(a)};K.prototype.safeRemoveChild=function(a){var c=a.parentNode;c&&c.removeChild(a)};
+K.prototype.setRadialReference=function(a){var c=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=a;c&&c.radAttr&&c.animate(this.renderer.getRadialAttr(a,c.radAttr));return this};K.prototype.setTextPath=function(a,c){var x=this.element,g=this.text?this.text.element:x,H={textAnchor:"text-anchor"},b=!1,d=this.textPathWrapper,q=!d;c=O(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},c);var r=h.filterUserAttributes(c.attributes);
+if(a&&c&&c.enabled){d&&null===d.element.parentNode?(q=!0,d=d.destroy()):d&&this.removeTextOutline.call(d.parentGroup);this.options&&this.options.padding&&(r.dx=-this.options.padding);d||(this.textPathWrapper=d=this.renderer.createElement("textPath"),b=!0);var v=d.element;(c=a.element.getAttribute("id"))||a.element.setAttribute("id",c=N());if(q)for(g.setAttribute("y",0),B(r.dx)&&g.setAttribute("x",-r.dx),a=[].slice.call(g.childNodes),q=0;q<a.length;q++){var k=a[q];k.nodeType!==Node.TEXT_NODE&&"tspan"!==
+k.nodeName||v.appendChild(k)}b&&d&&d.add({element:g});v.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+c);w(r.dy)&&(v.parentNode.setAttribute("dy",r.dy),delete r.dy);w(r.dx)&&(v.parentNode.setAttribute("dx",r.dx),delete r.dx);p(r,function(a,c){v.setAttribute(H[c]||c,a)});x.removeAttribute("transform");this.removeTextOutline.call(d);this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0});this.applyTextOutline=this.updateTransform=f}else d&&(delete this.updateTransform,
+delete this.applyTextOutline,this.destroyTextPath(x,a),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this};K.prototype.shadow=function(a,c,x){var H=[],b=this.element,d=this.oldShadowOptions,q={color:F.neutralColor100,offsetX:1,offsetY:1,opacity:.15,width:3},r=!1,v;!0===a?v=q:"object"===typeof a&&(v=g(q,a));v&&(v&&d&&p(v,function(a,c){a!==d[c]&&(r=!0)}),r&&this.destroyShadows(),this.oldShadowOptions=v);if(!v)this.destroyShadows();
+else if(!this.shadows){var k=v.opacity/v.width;var n=this.parentInverted?"translate(-1,-1)":"translate("+v.offsetX+", "+v.offsetY+")";for(q=1;q<=v.width;q++){var B=b.cloneNode(!1);var J=2*v.width+1-2*q;I(B,{stroke:a.color||F.neutralColor100,"stroke-opacity":k*q,"stroke-width":J,transform:n,fill:"none"});B.setAttribute("class",(B.getAttribute("class")||"")+" highcharts-shadow");x&&(I(B,"height",Math.max(I(B,"height")-J,0)),B.cutHeight=J);c?c.element.appendChild(B):b.parentNode&&b.parentNode.insertBefore(B,
+b);H.push(B)}this.shadows=H}return this};K.prototype.show=function(a){return this.attr({visibility:a?"inherit":"visible"})};K.prototype.strokeSetter=function(a,c,x){this[c]=a;this.stroke&&this["stroke-width"]?(K.prototype.fillSetter.call(this,this.stroke,"stroke",x),x.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===c&&0===a&&this.hasStroke?(x.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(x.setAttribute("stroke-width",
+this["stroke-width"]),this.hasStroke=!0)};K.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var a=this.getStyle("stroke-width"),c=0;if(a.indexOf("px")===a.length-2)c=M(a);else if(""!==a){var x=m.createElementNS(A,"rect");I(x,{width:a,"stroke-width":0});this.element.parentNode.appendChild(x);c=x.getBBox().width;x.parentNode.removeChild(x)}return c};K.prototype.symbolAttr=function(a){var c=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(x){c[x]=
+r(a[x],c[x])});c.attr({d:c.renderer.symbols[c.symbolName](c.x,c.y,c.width,c.height,c)})};K.prototype.textSetter=function(a){a!==this.textStr&&(delete this.textPxLength,this.textStr=a,this.added&&this.renderer.buildText(this))};K.prototype.titleSetter=function(a){var c=this.element,x=c.getElementsByTagName("title")[0]||m.createElementNS(this.SVG_NS,"title");c.insertBefore?c.insertBefore(x,c.firstChild):c.appendChild(x);x.textContent=String(r(a,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,
+">")};K.prototype.toFront=function(){var a=this.element;a.parentNode.appendChild(a);return this};K.prototype.translate=function(a,c){return this.attr({translateX:a,translateY:c})};K.prototype.updateShadows=function(a,c,x){var g=this.shadows;if(g)for(var b=g.length;b--;)x.call(g[b],"height"===a?Math.max(c-(g[b].cutHeight||0),0):"d"===a?this.d:c,a,g[b])};K.prototype.updateTransform=function(){var a=this.scaleX,c=this.scaleY,x=this.inverted,g=this.rotation,b=this.matrix,d=this.element,p=this.translateX||
+0,q=this.translateY||0;x&&(p+=this.width,q+=this.height);p=["translate("+p+","+q+")"];w(b)&&p.push("matrix("+b.join(",")+")");x?p.push("rotate(90) scale(-1,1)"):g&&p.push("rotate("+g+" "+r(this.rotationOriginX,d.getAttribute("x"),0)+" "+r(this.rotationOriginY,d.getAttribute("y")||0)+")");(w(a)||w(c))&&p.push("scale("+r(a,1)+" "+r(c,1)+")");p.length&&d.setAttribute("transform",p.join(" "))};K.prototype.visibilitySetter=function(a,c,x){"inherit"===a?x.removeAttribute(c):this[c]!==a&&x.setAttribute(c,
+a);this[c]=a};K.prototype.xGetter=function(a){"circle"===this.element.nodeName&&("x"===a?a="cx":"y"===a&&(a="cy"));return this._defaultGetter(a)};K.prototype.zIndexSetter=function(a,c){var x=this.renderer,g=this.parentGroup,b=(g||x).element||x.box,H=this.element;x=b===x.box;var d=!1;var p=this.added;var q;w(a)?(H.setAttribute("data-z-index",a),a=+a,this[c]===a&&(p=!1)):w(this[c])&&H.removeAttribute("data-z-index");this[c]=a;if(p){(a=this.zIndex)&&g&&(g.handleZ=!0);c=b.childNodes;for(q=c.length-1;0<=
+q&&!d;q--){g=c[q];p=g.getAttribute("data-z-index");var r=!w(p);if(g!==H)if(0>a&&r&&!x&&!q)b.insertBefore(H,c[q]),d=!0;else if(M(p)<=a||r&&(!w(a)||0<=a))b.insertBefore(H,c[q+1]||null),d=!0}d||(b.insertBefore(H,c[x?3:0]||null),d=!0)}return d};return K}();e.prototype["stroke-widthSetter"]=e.prototype.strokeSetter;e.prototype.yGetter=e.prototype.xGetter;e.prototype.matrixSetter=e.prototype.rotationOriginXSetter=e.prototype.rotationOriginYSetter=e.prototype.rotationSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=
+e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.verticalAlignSetter=function(a,c){this[c]=a;this.doTransform=!0};"";return e});P(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(e,h){function Q(m,f){C(m)?m!==this[f]&&(this[f]=m,this.updateTextPadding()):this[f]=void 0}var y=this&&this.__extends||function(){var m=function(f,b){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,
+f){for(var l in f)f.hasOwnProperty(l)&&(b[l]=f[l])};return m(f,b)};return function(f,b){function A(){this.constructor=f}m(f,b);f.prototype=null===b?Object.create(b):(A.prototype=b.prototype,new A)}}(),F=h.defined,E=h.extend,C=h.isNumber,G=h.merge,t=h.pick,z=h.removeEvent;return function(m){function f(b,A,u,l,I,k,d,w,n,g){var c=m.call(this)||this;c.paddingSetter=Q;c.paddingLeftSetter=Q;c.paddingRightSetter=Q;c.init(b,"g");c.textStr=A;c.x=u;c.y=l;c.anchorX=k;c.anchorY=d;c.baseline=n;c.className=g;"button"!==
+g&&c.addClass("highcharts-label");g&&c.addClass("highcharts-"+g);c.text=b.text("",0,0,w).attr({zIndex:1});if("string"===typeof I){var q=/^url\((.*?)\)$/.test(I);if(c.renderer.symbols[I]||q)c.symbolKey=I}c.bBox=f.emptyBBox;c.padding=3;c.baselineOffset=0;c.needsBox=b.styledMode||q;c.deferredAttr={};c.alignFactor=0;return c}y(f,m);f.prototype.alignSetter=function(b){b={left:0,center:.5,right:1}[b];b!==this.alignFactor&&(this.alignFactor=b,this.bBox&&C(this.xSetting)&&this.attr({x:this.xSetting}))};f.prototype.anchorXSetter=
+function(b,f){this.anchorX=b;this.boxAttr(f,Math.round(b)-this.getCrispAdjust()-this.xSetting)};f.prototype.anchorYSetter=function(b,f){this.anchorY=b;this.boxAttr(f,b-this.ySetting)};f.prototype.boxAttr=function(b,f){this.box?this.box.attr(b,f):this.deferredAttr[b]=f};f.prototype.css=function(b){if(b){var m={},u=void 0;b=G(b);f.textProps.forEach(function(l){"undefined"!==typeof b[l]&&(m[l]=b[l],delete b[l])});this.text.css(m);u="width"in m;"fontSize"in m||"fontWeight"in m?this.updateTextPadding():
+u&&this.updateBoxSize()}return e.prototype.css.call(this,b)};f.prototype.destroy=function(){z(this.element,"mouseenter");z(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());e.prototype.destroy.call(this)};f.prototype.fillSetter=function(b,f){b&&(this.needsBox=!0);this.fill=b;this.boxAttr(f,b)};f.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var b=this.padding,f=t(this.paddingLeft,b);return{width:this.width,
+height:this.height,x:this.bBox.x-f,y:this.bBox.y-b}};f.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};f.prototype.heightSetter=function(b){this.heightSetting=b};f.prototype.on=function(b,f){var u=this,l=u.text,I=l&&"SPAN"===l.element.tagName?l:void 0;if(I){var k=function(d){("mouseenter"===b||"mouseleave"===b)&&d.relatedTarget instanceof Element&&(u.element.compareDocumentPosition(d.relatedTarget)&
+Node.DOCUMENT_POSITION_CONTAINED_BY||I.element.compareDocumentPosition(d.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||f.call(u.element,d)};I.on(b,k)}e.prototype.on.call(u,b,k||f);return u};f.prototype.onAdd=function(){var b=this.textStr;this.text.add(this);this.attr({text:F(b)?b:"",x:this.x,y:this.y});this.box&&F(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};f.prototype.rSetter=function(b,f){this.boxAttr(f,b)};f.prototype.shadow=function(b){b&&!this.renderer.styledMode&&
+(this.updateBoxSize(),this.box&&this.box.shadow(b));return this};f.prototype.strokeSetter=function(b,f){this.stroke=b;this.boxAttr(f,b)};f.prototype["stroke-widthSetter"]=function(b,f){b&&(this.needsBox=!0);this["stroke-width"]=b;this.boxAttr(f,b)};f.prototype["text-alignSetter"]=function(b){this.textAlign=b};f.prototype.textSetter=function(b){"undefined"!==typeof b&&this.text.attr({text:b});this.updateTextPadding()};f.prototype.updateBoxSize=function(){var b=this.text.element.style,m={},u=this.padding,
+l=this.bBox=C(this.widthSetting)&&C(this.heightSetting)&&!this.textAlign||!F(this.text.textStr)?f.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||l.height||0)+2*u;this.baselineOffset=u+Math.min(this.renderer.fontMetrics(b&&b.fontSize,this.text).b,l.height||Infinity);this.needsBox&&(this.box||(b=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),b.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?
+" highcharts-"+this.className+"-box":"")),b.add(this)),b=this.getCrispAdjust(),m.x=b,m.y=(this.baseline?-this.baselineOffset:0)+b,m.width=Math.round(this.width),m.height=Math.round(this.height),this.box.attr(E(m,this.deferredAttr)),this.deferredAttr={})};f.prototype.updateTextPadding=function(){var b=this.text;this.updateBoxSize();var f=this.baseline?0:this.baselineOffset,u=t(this.paddingLeft,this.padding);F(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(u+=
+{center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(u!==b.x||f!==b.y)b.attr("x",u),b.hasBoxWidthChanged&&(this.bBox=b.getBBox(!0)),"undefined"!==typeof f&&b.attr("y",f);b.x=u;b.y=f};f.prototype.widthSetter=function(b){this.widthSetting=C(b)?b:void 0};f.prototype.getPaddedWidth=function(){var b=this.padding,f=t(this.paddingLeft,b);b=t(this.paddingRight,b);return(this.widthSetting||this.bBox.width||0)+f+b};f.prototype.xSetter=function(b){this.x=b;this.alignFactor&&(b-=this.alignFactor*
+this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(b);this.attr("translateX",this.xSetting)};f.prototype.ySetter=function(b){this.ySetting=this.y=Math.round(b);this.attr("translateY",this.ySetting)};f.emptyBBox={width:0,height:0,x:0,y:0};f.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return f}(e)});P(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Globals.js"],e["Core/Utilities.js"],
+e["Core/Renderer/HTML/AST.js"]],function(e,h,D){var y=e.doc,F=e.SVG_NS,E=h.attr,C=h.isString,G=h.objectEach,t=h.pick;return function(){function h(m){var f=m.styles;this.renderer=m.renderer;this.svgElement=m;this.width=m.textWidth;this.textLineHeight=f&&f.lineHeight;this.textOutline=f&&f.textOutline;this.ellipsis=!(!f||"ellipsis"!==f.textOverflow);this.noWrap=!(!f||"nowrap"!==f.whiteSpace);this.fontSize=f&&f.fontSize}h.prototype.buildSVG=function(){var m=this.svgElement,f=m.element,b=m.renderer,A=
+t(m.textStr,"").toString(),u=-1!==A.indexOf("<"),l=f.childNodes,I=l.length;b=this.width&&!m.added&&b.box;var k=/<br.*?>/g;var d=[A,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(d!==m.textCache){m.textCache=d;for(delete m.actualWidth;I--;)f.removeChild(l[I]);u||this.ellipsis||this.width||-1!==A.indexOf(" ")&&(!this.noWrap||k.test(A))?""!==A&&(b&&b.appendChild(f),A=new D(A),this.modifyTree(A.nodes),A.addToDOM(m.element),this.modifyDOM(),this.ellipsis&&
+-1!==(f.textContent||"").indexOf("\u2026")&&m.attr("title",this.unescapeEntities(m.textStr||"",["&lt;","&gt;"])),b&&b.removeChild(f)):f.appendChild(y.createTextNode(this.unescapeEntities(A)));C(this.textOutline)&&m.applyTextOutline&&m.applyTextOutline(this.textOutline)}};h.prototype.modifyDOM=function(){var m=this,f=this.svgElement,b=E(f.element,"x");[].forEach.call(f.element.querySelectorAll("tspan.highcharts-br"),function(l){l.nextSibling&&l.previousSibling&&E(l,{dy:m.getLineHeight(l.nextSibling),
+x:b})});var A=this.width||0;if(A){var u=function(l,k){var d=l.textContent||"",w=d.replace(/([^\^])-/g,"$1- ").split(" "),n=!m.noWrap&&(1<w.length||1<f.element.childNodes.length),g=m.getLineHeight(k),c=0,q=f.actualWidth;if(m.ellipsis)d&&m.truncate(l,d,void 0,0,Math.max(0,A-parseInt(m.fontSize||12,10)),function(a,c){return a.substring(0,c)+"\u2026"});else if(n){d=[];for(n=[];k.firstChild&&k.firstChild!==l;)n.push(k.firstChild),k.removeChild(k.firstChild);for(;w.length;)w.length&&!m.noWrap&&0<c&&(d.push(l.textContent||
+""),l.textContent=w.join(" ").replace(/- /g,"-")),m.truncate(l,void 0,w,0===c?q||0:0,A,function(a,c){return w.slice(0,c).join(" ").replace(/- /g,"-")}),q=f.actualWidth,c++;n.forEach(function(a){k.insertBefore(a,l)});d.forEach(function(a){k.insertBefore(y.createTextNode(a),l);a=y.createElementNS(F,"tspan");a.textContent="\u200b";E(a,{dy:g,x:b});k.insertBefore(a,l)})}},l=function(b){[].slice.call(b.childNodes).forEach(function(k){k.nodeType===Node.TEXT_NODE?u(k,b):(-1!==k.className.baseVal.indexOf("highcharts-br")&&
+(f.actualWidth=0),l(k))})};l(f.element)}};h.prototype.getLineHeight=function(m){var f;m=m.nodeType===Node.TEXT_NODE?m.parentElement:m;this.renderer.styledMode||(f=m&&/(px|em)$/.test(m.style.fontSize)?m.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(f,m||this.svgElement.element).h};h.prototype.modifyTree=function(m){var f=this,b=function(A,u){var l=A.tagName,I=f.renderer.styledMode,k=A.attributes||
+{};if("b"===l||"strong"===l)I?k["class"]="highcharts-strong":k.style="font-weight:bold;"+(k.style||"");else if("i"===l||"em"===l)I?k["class"]="highcharts-emphasized":k.style="font-style:italic;"+(k.style||"");C(k.style)&&(k.style=k.style.replace(/(;| |^)color([ :])/,"$1fill$2"));"br"===l&&(k["class"]="highcharts-br",A.textContent="\u200b",(u=m[u+1])&&u.textContent&&(u.textContent=u.textContent.replace(/^ +/gm,"")));"#text"!==l&&"a"!==l&&(A.tagName="tspan");A.attributes=k;A.children&&A.children.filter(function(b){return"#text"!==
+b.tagName}).forEach(b)};for(m.forEach(b);m[0]&&"tspan"===m[0].tagName&&!m[0].children;)m.splice(0,1)};h.prototype.truncate=function(m,f,b,A,u,l){var I=this.svgElement,k=I.renderer,d=I.rotation,w=[],n=b?1:0,g=(f||b||"").length,c=g,q,a=function(a,c){c=c||a;var g=m.parentNode;if(g&&"undefined"===typeof w[c])if(g.getSubStringLength)try{w[c]=A+g.getSubStringLength(0,b?c+1:c)}catch(r){""}else k.getSpanWidth&&(m.textContent=l(f||b,a),w[c]=A+k.getSpanWidth(I,m));return w[c]};I.rotation=0;var B=a(m.textContent.length);
+if(A+B>u){for(;n<=g;)c=Math.ceil((n+g)/2),b&&(q=l(b,c)),B=a(c,q&&q.length-1),n===g?n=g+1:B>u?g=c-1:n=c;0===g?m.textContent="":f&&g===f.length-1||(m.textContent=q||l(f||b,c))}b&&b.splice(0,c);I.actualWidth=B;I.rotation=d};h.prototype.unescapeEntities=function(m,f){G(this.renderer.escapes,function(b,A){f&&-1!==f.indexOf(b)||(m=m.toString().replace(new RegExp(b,"g"),A))});return m};return h}()});P(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],
+e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E,C,G){var t=G.addEvent,z=G.attr,m=G.createElement,f=G.css,b=G.defined,A=G.destroyObjectProperties,u=G.extend,l=G.isArray,I=G.isNumber,k=G.isObject,d=G.isString,w=G.merge,n=G.pick,g=G.pInt,c=G.uniqueKey,q=h.charts,a=h.deg2rad,B=h.doc,J=h.isFirefox,O=h.isMS,p=h.isWebKit,r=h.noop,M=h.SVG_NS,v=h.symbolSizes,N=h.win,K;G=
+function(){function H(a,c,g,b,H,d,p){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(a,c,g,b,H,d,p)}H.prototype.init=function(a,c,g,b,H,d,p){var x=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"});p||x.css(this.getStyle(b));b=x.element;a.appendChild(b);z(a,"dir","ltr");-1===a.innerHTML.indexOf("xmlns")&&z(b,
+"xmlns",this.SVG_NS);this.isSVG=!0;this.box=b;this.boxWrapper=x;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(B.createTextNode("Created with Highcharts 9.1.0"));this.defs=this.createElement("defs").add();this.allowHTML=d;this.forExport=H;this.styledMode=p;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(c,g,!1);var q;J&&a.getBoundingClientRect&&(c=function(){f(a,{left:0,top:0});q=a.getBoundingClientRect();
+f(a,{left:Math.ceil(q.left)-q.left+"px",top:Math.ceil(q.top)-q.top+"px"})},c(),this.unSubPixelFix=t(N,"resize",c))};H.prototype.definition=function(a){return(new E([a])).addToDOM(this.defs.element)};H.prototype.getReferenceURL=function(){if((J||p)&&B.getElementsByTagName("base").length){if(!b(K)){var a=c();a=(new E([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:a},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",
+attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+a+")",fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(B.body);f(a,{position:"fixed",top:0,left:0,zIndex:9E5});var g=B.elementFromPoint(6,6);K="hitme"===(g&&g.id);B.body.removeChild(a)}if(K)return N.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};H.prototype.getStyle=function(a){return this.style=u({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},
+a)};H.prototype.setStyle=function(a){this.boxWrapper.css(this.getStyle(a))};H.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};H.prototype.destroy=function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();A(this.gradients||{});this.gradients=null;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};H.prototype.createElement=function(a){var c=new this.Element;c.init(this,a);return c};H.prototype.getRadialAttr=
+function(a,c){return{cx:a[0]-a[2]/2+(c.cx||0)*a[2],cy:a[1]-a[2]/2+(c.cy||0)*a[2],r:(c.r||0)*a[2]}};H.prototype.buildText=function(a){(new C(a)).buildSVG()};H.prototype.getContrast=function(a){a=e.parse(a).rgba;a[0]*=1;a[1]*=1.2;a[2]*=.5;return 459<a[0]+a[1]+a[2]?"#000000":"#FFFFFF"};H.prototype.button=function(a,c,g,b,H,d,p,q,r,v){var x=this.label(a,c,g,r,void 0,void 0,v,void 0,"button"),k=0,n=this.styledMode,B=H?w(H):{};a=B&&B.style||{};B=E.filterUserAttributes(B);x.attr(w({padding:8,r:2},B));if(!n){B=
+w({fill:D.neutralColor3,stroke:D.neutralColor20,"stroke-width":1,style:{color:D.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:a},B);var l=B.style;delete B.style;d=w(B,{fill:D.neutralColor10},E.filterUserAttributes(d||{}));var J=d.style;delete d.style;p=w(B,{fill:D.highlightColor10,style:{color:D.neutralColor100,fontWeight:"bold"}},E.filterUserAttributes(p||{}));var M=p.style;delete p.style;q=w(B,{style:{color:D.neutralColor20}},E.filterUserAttributes(q||{}));var f=q.style;delete q.style}t(x.element,
+O?"mouseover":"mouseenter",function(){3!==k&&x.setState(1)});t(x.element,O?"mouseout":"mouseleave",function(){3!==k&&x.setState(k)});x.setState=function(a){1!==a&&(x.state=k=a);x.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][a||0]);n||x.attr([B,d,p,q][a||0]).css([l,J,M,f][a||0])};n||x.attr(B).css(u({cursor:"default"},l));return x.on("touchstart",function(a){return a.stopPropagation()}).on("click",function(a){3!==
+k&&b.call(x,a)})};H.prototype.crispLine=function(a,c,g){void 0===g&&(g="round");var x=a[0],b=a[1];x[1]===b[1]&&(x[1]=b[1]=Math[g](x[1])-c%2/2);x[2]===b[2]&&(x[2]=b[2]=Math[g](x[2])+c%2/2);return a};H.prototype.path=function(a){var c=this.styledMode?{}:{fill:"none"};l(a)?c.d=a:k(a)&&u(c,a);return this.createElement("path").attr(c)};H.prototype.circle=function(a,c,g){a=k(a)?a:"undefined"===typeof a?{}:{x:a,y:c,r:g};c=this.createElement("circle");c.xSetter=c.ySetter=function(a,c,x){x.setAttribute("c"+
+c,a)};return c.attr(a)};H.prototype.arc=function(a,c,g,b,H,d){k(a)?(b=a,c=b.y,g=b.r,a=b.x):b={innerR:b,start:H,end:d};a=this.symbol("arc",a,c,g,g,b);a.r=g;return a};H.prototype.rect=function(a,c,g,b,H,d){H=k(a)?a.r:H;var x=this.createElement("rect");a=k(a)?a:"undefined"===typeof a?{}:{x:a,y:c,width:Math.max(g,0),height:Math.max(b,0)};this.styledMode||("undefined"!==typeof d&&(a["stroke-width"]=d,a=x.crisp(a)),a.fill="none");H&&(a.r=H);x.rSetter=function(a,c,g){x.r=a;z(g,{rx:a,ry:a})};x.rGetter=function(){return x.r||
+0};return x.attr(a)};H.prototype.setSize=function(a,c,g){this.width=a;this.height=c;this.boxWrapper.animate({width:a,height:c},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:n(g,!0)?void 0:0});this.alignElements()};H.prototype.g=function(a){var c=this.createElement("g");return a?c.attr({"class":"highcharts-"+a}):c};H.prototype.image=function(a,c,g,b,H,d){var x={preserveAspectRatio:"none"},p=function(a,c){a.setAttributeNS?a.setAttributeNS("http://www.w3.org/1999/xlink",
+"href",c):a.setAttribute("hc-svg-href",c)},q=function(c){p(r.element,a);d.call(r,c)};1<arguments.length&&u(x,{x:c,y:g,width:b,height:H});var r=this.createElement("image").attr(x);d?(p(r.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),x=new N.Image,t(x,"load",q),x.src=a,x.complete&&q({})):p(r.element,a);return r};H.prototype.symbol=function(a,c,g,H,d,p){var x=this,r=/^url\((.*?)\)$/,k=r.test(a),l=!k&&(this.symbols[a]?a:"circle"),J=l&&this.symbols[l],M;if(J){"number"===
+typeof c&&(M=J.call(this.symbols,Math.round(c||0),Math.round(g||0),H||0,d||0,p));var w=this.path(M);x.styledMode||w.attr("fill","none");u(w,{symbolName:l,x:c,y:g,width:H,height:d});p&&u(w,p)}else if(k){var N=a.match(r)[1];w=this.image(N);w.imgwidth=n(v[N]&&v[N].width,p&&p.width);w.imgheight=n(v[N]&&v[N].height,p&&p.height);var R=function(){w.attr({width:w.width,height:w.height})};["width","height"].forEach(function(a){w[a+"Setter"]=function(a,c){var g=this["img"+c];this[c]=a;b(g)&&(p&&"within"===
+p.backgroundSize&&this.width&&this.height&&(g=Math.round(g*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(c,g),this.alignByTranslate||(a=((this[c]||0)-g)/2,this.attr("width"===c?{translateX:a}:{translateY:a})))}});b(c)&&w.attr({x:c,y:g});w.isImg=!0;b(w.imgwidth)&&b(w.imgheight)?R():(w.attr({width:0,height:0}),m("img",{onload:function(){var a=q[x.chartIndex];0===this.width&&(f(this,{position:"absolute",top:"-999em"}),B.body.appendChild(this));
+v[N]={width:this.width,height:this.height};w.imgwidth=this.width;w.imgheight=this.height;w.element&&R();this.parentNode&&this.parentNode.removeChild(this);x.imgCount--;if(!x.imgCount&&a&&!a.hasLoaded)a.onload()},src:N}),this.imgCount++)}return w};H.prototype.clipRect=function(a,g,b,H){var x=c()+"-",d=this.createElement("clipPath").attr({id:x}).add(this.defs);a=this.rect(a,g,b,H,0).add(d);a.id=x;a.clipPath=d;a.count=0;return a};H.prototype.text=function(a,c,g,H){var x={};if(H&&(this.allowHTML||!this.forExport))return this.html(a,
+c,g);x.x=Math.round(c||0);g&&(x.y=Math.round(g));b(a)&&(x.text=a);a=this.createElement("text").attr(x);H||(a.xSetter=function(a,c,g){var x=g.getElementsByTagName("tspan"),b=g.getAttribute(c),H;for(H=0;H<x.length;H++){var d=x[H];d.getAttribute(c)===b&&d.setAttribute(c,a)}g.setAttribute(c,a)});return a};H.prototype.fontMetrics=function(a,c){a=!this.styledMode&&/px/.test(a)||!N.getComputedStyle?a||c&&c.style&&c.style.fontSize||this.style&&this.style.fontSize:c&&y.prototype.getStyle.call(c,"font-size");
+a=/px/.test(a)?g(a):12;c=24>a?a+3:Math.round(1.2*a);return{h:c,b:Math.round(.8*c),f:a}};H.prototype.rotCorr=function(c,g,b){var x=c;g&&b&&(x=Math.max(x*Math.cos(g*a),4));return{x:-c/3*Math.sin(g*a),y:x}};H.prototype.pathToSegments=function(a){for(var c=[],g=[],b={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},x=0;x<a.length;x++)d(g[0])&&I(a[x])&&g.length===b[g[0].toUpperCase()]&&a.splice(x,0,g[0].replace("M","L").replace("m","l")),"string"===typeof a[x]&&(g.length&&c.push(g.slice(0)),g.length=0),g.push(a[x]);
+c.push(g.slice(0));return c};H.prototype.label=function(a,c,g,b,H,d,p,q,r){return new F(this,a,c,g,b,H,d,p,q,r)};H.prototype.alignElements=function(){this.alignedObjects.forEach(function(a){return a.align()})};return H}();G.prototype.Element=y;G.prototype.SVG_NS=M;G.prototype.draw=r;G.prototype.escapes={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};var L=function(a,c,g,b,d){d=d&&d.r||0;return[["M",a+d,c],["L",a+g-d,c],["C",a+g,c,a+g,c,a+g,c+d],["L",a+g,c+b-d],["C",a+g,c+b,a+g,c+b,a+
+g-d,c+b],["L",a+d,c+b],["C",a,c+b,a,c+b,a,c+b-d],["L",a,c+d],["C",a,c,a,c,a+d,c]]};r=function(a,c,g,b,d){return d&&d.r?L(a,c,g,b,d):[["M",a,c],["L",a+g,c],["L",a+g,c+b],["L",a,c+b],["Z"]]};G.prototype.symbols={circle:function(a,c,g,b){return this.arc(a+g/2,c+b/2,g/2,b/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},rect:r,square:r,triangle:function(a,c,g,b){return[["M",a+g/2,c],["L",a+g,c+b],["L",a,c+b],["Z"]]},"triangle-down":function(a,c,g,b){return[["M",a,c],["L",a+g,c],["L",a+g/2,c+b],["Z"]]},
+diamond:function(a,c,g,b){return[["M",a+g/2,c],["L",a+g,c+b/2],["L",a+g/2,c+b],["L",a,c+b/2],["Z"]]},arc:function(a,c,g,d,p){var x=[];if(p){var H=p.start||0,q=n(p.r,g);g=n(p.r,d||g);var r=(p.end||0)-.001;d=p.innerR;var v=n(p.open,.001>Math.abs((p.end||0)-H-2*Math.PI)),k=Math.cos(H),B=Math.sin(H),l=Math.cos(r),J=Math.sin(r);H=n(p.longArc,.001>r-H-Math.PI?0:1);x.push(["M",a+q*k,c+g*B],["A",q,g,0,H,n(p.clockwise,1),a+q*l,c+g*J]);b(d)&&x.push(v?["M",a+d*l,c+d*J]:["L",a+d*l,c+d*J],["A",d,d,0,H,b(p.clockwise)?
+1-p.clockwise:0,a+d*k,c+d*B]);v||x.push(["Z"])}return x},callout:function(a,c,g,b,d){var x=Math.min(d&&d.r||0,g,b),p=x+6,H=d&&d.anchorX;d=d&&d.anchorY||0;var q=L(a,c,g,b,{r:x});if(!I(H))return q;a+H>=g?d>c+p&&d<c+b-p?q.splice(3,1,["L",a+g,d-6],["L",a+g+6,d],["L",a+g,d+6],["L",a+g,c+b-x]):q.splice(3,1,["L",a+g,b/2],["L",H,d],["L",a+g,b/2],["L",a+g,c+b-x]):0>=a+H?d>c+p&&d<c+b-p?q.splice(7,1,["L",a,d+6],["L",a-6,d],["L",a,d-6],["L",a,c+x]):q.splice(7,1,["L",a,b/2],["L",H,d],["L",a,b/2],["L",a,c+x]):
+d&&d>b&&H>a+p&&H<a+g-p?q.splice(5,1,["L",H+6,c+b],["L",H,c+b+6],["L",H-6,c+b],["L",a+x,c+b]):d&&0>d&&H>a+p&&H<a+g-p&&q.splice(1,1,["L",H-6,c],["L",H,c-6],["L",H+6,c],["L",g-x,c]);return q}};h.SVGRenderer=G;h.Renderer=h.SVGRenderer;return h.Renderer});P(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(e,h,D){var y=e.isFirefox,F=e.isMS,E=e.isWebKit,C=e.win,G=D.css,t=D.defined,z=D.extend,m=D.pick,f=D.pInt;z(h.prototype,
+{htmlCss:function(b){var f="SPAN"===this.element.tagName&&b&&"width"in b,u=m(f&&b.width,void 0);if(f){delete b.width;this.textWidth=u;var l=!0}b&&"ellipsis"===b.textOverflow&&(b.whiteSpace="nowrap",b.overflow="hidden");this.styles=z(this.styles,b);G(this.element,b);l&&this.htmlUpdateTransform();return this},htmlGetBBox:function(){var b=this.element;return{x:b.offsetLeft,y:b.offsetTop,width:b.offsetWidth,height:b.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var b=this.renderer,m=this.element,
+u=this.translateX||0,l=this.translateY||0,I=this.x||0,k=this.y||0,d=this.textAlign||"left",w={left:0,center:.5,right:1}[d],n=this.styles;n=n&&n.whiteSpace;G(m,{marginLeft:u,marginTop:l});!b.styledMode&&this.shadows&&this.shadows.forEach(function(a){G(a,{marginLeft:u+1,marginTop:l+1})});this.inverted&&[].forEach.call(m.childNodes,function(a){b.invertChild(a,m)});if("SPAN"===m.tagName){var g=this.rotation,c=void 0;c=this.textWidth&&f(this.textWidth);var q=[g,d,m.innerHTML,this.textWidth,this.textAlign].join(),
+a;(a=c!==this.oldTextWidth)&&!(a=c>this.oldTextWidth)&&((a=this.textPxLength)||(G(m,{width:"",whiteSpace:n||"nowrap"}),a=m.offsetWidth),a=a>c);a&&(/[ \-]/.test(m.textContent||m.innerText)||"ellipsis"===m.style.textOverflow)?(G(m,{width:c+"px",display:"block",whiteSpace:n||"normal"}),this.oldTextWidth=c,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1;q!==this.cTT&&(c=b.fontMetrics(m.style.fontSize,m).b,!t(g)||g===(this.oldRotation||0)&&d===this.oldAlign||this.setSpanRotation(g,w,c),this.getSpanCorrection(!t(g)&&
+this.textPxLength||m.offsetWidth,c,w,g,d));G(m,{left:I+(this.xCorr||0)+"px",top:k+(this.yCorr||0)+"px"});this.cTT=q;this.oldRotation=g;this.oldAlign=d}}else this.alignOnAdd=!0},setSpanRotation:function(b,f,m){var l={},I=F&&!/Edge/.test(C.navigator.userAgent)?"-ms-transform":E?"-webkit-transform":y?"MozTransform":C.opera?"-o-transform":void 0;I&&(l[I]=l.transform="rotate("+b+"deg)",l[I+(y?"Origin":"-origin")]=l.transformOrigin=100*f+"% "+m+"px",G(this.element,l))},getSpanCorrection:function(b,f,m){this.xCorr=
+-b*m;this.yCorr=-f}});return h});P(e,"Core/Renderer/HTML/HTMLRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(e,h,D,y){var F=y.attr,E=y.createElement,C=y.extend,G=y.pick;C(D.prototype,{html:function(t,z,m){var f=this.createElement("span"),b=f.element,A=f.renderer,u=A.isSVG,l=function(b,k){["opacity","visibility"].forEach(function(d){b[d+"Setter"]=function(l,n,g){var c=b.div?b.div.style:k;h.prototype[d+
+"Setter"].call(this,l,n,g);c&&(c[n]=l)}});b.addedSetters=!0};f.textSetter=function(b){b!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,e.setElementHTML(this.element,G(b,"")),this.textStr=b,f.doTransform=!0)};u&&l(f,f.element.style);f.xSetter=f.ySetter=f.alignSetter=f.rotationSetter=function(b,k){"align"===k?f.alignValue=f.textAlign=b:f[k]=b;f.doTransform=!0};f.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};f.attr({text:t,x:Math.round(z),y:Math.round(m)}).css({position:"absolute"});
+A.styledMode||f.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});b.style.whiteSpace="nowrap";f.css=f.htmlCss;u&&(f.add=function(I){var k=A.box.parentNode,d=[];if(this.parentGroup=I){var w=I.div;if(!w){for(;I;)d.push(I),I=I.parentGroup;d.reverse().forEach(function(b){function g(c,g){b[g]=c;"translateX"===g?a.left=c+"px":a.top=c+"px";b.doTransform=!0}var c=F(b.element,"class"),q=b.styles||{};w=b.div=b.div||E("div",c?{className:c}:void 0,{position:"absolute",left:(b.translateX||0)+
+"px",top:(b.translateY||0)+"px",display:b.display,opacity:b.opacity,cursor:q.cursor,pointerEvents:q.pointerEvents},w||k);var a=w.style;C(b,{classSetter:function(a){return function(c){this.element.setAttribute("class",c);a.className=c}}(w),on:function(){d[0].div&&f.on.apply({element:d[0].div,onEvents:f.onEvents},arguments);return b},translateXSetter:g,translateYSetter:g});b.addedSetters||l(b)})}}else w=k;w.appendChild(b);f.added=!0;f.alignOnAdd&&f.htmlUpdateTransform();return f});return f}});return D});
+P(e,"Core/Axis/Tick.js",[e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,h,D){var y=h.deg2rad,F=D.clamp,E=D.correctFloat,C=D.defined,G=D.destroyObjectProperties,t=D.extend,z=D.fireEvent,m=D.isNumber,f=D.merge,b=D.objectEach,A=D.pick;"";D=function(){function u(b,f,k,d,w){this.isNewLabel=this.isNew=!0;this.axis=b;this.pos=f;this.type=k||"";this.parameters=w||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;z(this,"init");
+k||d||this.addLabel()}u.prototype.addLabel=function(){var b=this,f=b.axis,k=f.options,d=f.chart,w=f.categories,n=f.logarithmic,g=f.names,c=b.pos,q=A(b.options&&b.options.labels,k.labels),a=f.tickPositions,B=c===a[0],J=c===a[a.length-1],O=b.label,p=(!q.step||1===q.step)&&1===f.tickInterval;a=a.info;var r,M;w=this.parameters.category||(w?A(w[c],g[c],c):c);n&&m(w)&&(w=E(n.lin2log(w)));if(f.dateTime&&a){var v=d.time.resolveDTLFormat(k.dateTimeLabelFormats[!k.grid&&a.higherRanks[c]||a.unitName]);var N=
+v.main}b.isFirst=B;b.isLast=J;var K={axis:f,chart:d,dateTimeLabelFormat:N,isFirst:B,isLast:J,pos:c,tick:b,tickPositionInfo:a,value:w};z(this,"labelFormat",K);var u=function(a){return q.formatter?q.formatter.call(a,a):q.format?(a.text=f.defaultLabelFormatter.call(a),e.format(q.format,a,d)):f.defaultLabelFormatter.call(a,a)};k=u.call(K,K);if(M=v&&v.list)b.shortenLabel=function(){for(r=0;r<M.length;r++)if(t(K,{dateTimeLabelFormat:M[r]}),O.attr({text:u.call(K,K)}),O.getBBox().width<f.getSlotWidth(b)-
+2*q.padding)return;O.attr({text:""})};p&&f._addedPlotLB&&b.moveLabel(k,q);C(O)||b.movedLabel?O&&O.textStr!==k&&!p&&(!O.textWidth||q.style.width||O.styles.width||O.css({width:null}),O.attr({text:k}),O.textPxLength=O.getBBox().width):(b.label=O=b.createLabel({x:0,y:0},k,q),b.rotation=0)};u.prototype.createLabel=function(b,m,k){var d=this.axis,l=d.chart;if(b=C(m)&&k.enabled?l.renderer.text(m,b.x,b.y,k.useHTML).add(d.labelGroup):null)l.styledMode||b.css(f(k.style)),b.textPxLength=b.getBBox().width;return b};
+u.prototype.destroy=function(){G(this,this.axis)};u.prototype.getPosition=function(b,f,k,d){var l=this.axis,n=l.chart,g=d&&n.oldChartHeight||n.chartHeight;b={x:b?E(l.translate(f+k,null,null,d)+l.transB):l.left+l.offset+(l.opposite?(d&&n.oldChartWidth||n.chartWidth)-l.right-l.left:0),y:b?g-l.bottom+l.offset-(l.opposite?l.height:0):E(g-l.translate(f+k,null,null,d)-l.transB)};b.y=F(b.y,-1E5,1E5);z(this,"afterGetPosition",{pos:b});return b};u.prototype.getLabelPosition=function(b,f,k,d,w,n,g,c){var q=
+this.axis,a=q.transA,B=q.isLinked&&q.linkedParent?q.linkedParent.reversed:q.reversed,J=q.staggerLines,l=q.tickRotCorr||{x:0,y:0},p=w.y,r=d||q.reserveSpaceDefault?0:-q.labelOffset*("center"===q.labelAlign?.5:1),M={};C(p)||(p=0===q.side?k.rotation?-8:-k.getBBox().height:2===q.side?l.y+8:Math.cos(k.rotation*y)*(l.y-k.getBBox(!1,0).height/2));b=b+w.x+r+l.x-(n&&d?n*a*(B?-1:1):0);f=f+p-(n&&!d?n*a*(B?1:-1):0);J&&(k=g/(c||1)%J,q.opposite&&(k=J-k-1),f+=q.labelOffset/J*k);M.x=b;M.y=Math.round(f);z(this,"afterGetLabelPosition",
+{pos:M,tickmarkOffset:n,index:g});return M};u.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};u.prototype.getMarkPath=function(b,f,k,d,w,n){return n.crispLine([["M",b,f],["L",b+(w?0:-k),f+(w?k:0)]],d)};u.prototype.handleOverflow=function(b){var f=this.axis,k=f.options.labels,d=b.x,l=f.chart.chartWidth,n=f.chart.spacing,g=A(f.labelLeft,Math.min(f.pos,n[3]));n=A(f.labelRight,Math.max(f.isRadial?0:f.pos+f.len,l-n[1]));var c=this.label,q=this.rotation,
+a={left:0,center:.5,right:1}[f.labelAlign||c.attr("align")],B=c.getBBox().width,J=f.getSlotWidth(this),m=J,p=1,r,M={};if(q||"justify"!==k.overflow)0>q&&d-a*B<g?r=Math.round(d/Math.cos(q*y)-g):0<q&&d+a*B>n&&(r=Math.round((l-d)/Math.cos(q*y)));else if(l=d+(1-a)*B,d-a*B<g?m=b.x+m*(1-a)-g:l>n&&(m=n-b.x+m*a,p=-1),m=Math.min(J,m),m<J&&"center"===f.labelAlign&&(b.x+=p*(J-m-a*(J-Math.min(B,m)))),B>m||f.autoRotation&&(c.styles||{}).width)r=m;r&&(this.shortenLabel?this.shortenLabel():(M.width=Math.floor(r)+
+"px",(k.style||{}).textOverflow||(M.textOverflow="ellipsis"),c.css(M)))};u.prototype.moveLabel=function(f,m){var k=this,d=k.label,l=!1,n=k.axis,g=n.reversed;d&&d.textStr===f?(k.movedLabel=d,l=!0,delete k.label):b(n.ticks,function(c){l||c.isNew||c===k||!c.label||c.label.textStr!==f||(k.movedLabel=c.label,l=!0,c.labelPos=k.movedLabel.xy,delete c.label)});if(!l&&(k.labelPos||d)){var c=k.labelPos||d.xy;d=n.horiz?g?0:n.width+n.left:c.x;n=n.horiz?c.y:g?n.width+n.left:0;k.movedLabel=k.createLabel({x:d,y:n},
+f,m);k.movedLabel&&k.movedLabel.attr({opacity:0})}};u.prototype.render=function(b,f,k){var d=this.axis,l=d.horiz,n=this.pos,g=A(this.tickmarkOffset,d.tickmarkOffset);n=this.getPosition(l,n,g,f);g=n.x;var c=n.y;d=l&&g===d.pos+d.len||!l&&c===d.pos?-1:1;l=A(k,this.label&&this.label.newOpacity,1);k=A(k,1);this.isActive=!0;this.renderGridLine(f,k,d);this.renderMark(n,k,d);this.renderLabel(n,f,l,b);this.isNew=!1;z(this,"afterRender")};u.prototype.renderGridLine=function(b,f,k){var d=this.axis,l=d.options,
+n=this.gridLine,g={},c=this.pos,q=this.type,a=A(this.tickmarkOffset,d.tickmarkOffset),B=d.chart.renderer,J=l.gridLineWidth,m=l.gridLineColor,p=l.gridLineDashStyle;"minor"===this.type&&(J=l.minorGridLineWidth,m=l.minorGridLineColor,p=l.minorGridLineDashStyle);n||(d.chart.styledMode||(g.stroke=m,g["stroke-width"]=J||0,g.dashstyle=p),q||(g.zIndex=1),b&&(f=0),this.gridLine=n=B.path().attr(g).addClass("highcharts-"+(q?q+"-":"")+"grid-line").add(d.gridGroup));if(n&&(k=d.getPlotLinePath({value:c+a,lineWidth:n.strokeWidth()*
+k,force:"pass",old:b})))n[b||this.isNew?"attr":"animate"]({d:k,opacity:f})};u.prototype.renderMark=function(b,f,k){var d=this.axis,l=d.options,n=d.chart.renderer,g=this.type,c=d.tickSize(g?g+"Tick":"tick"),q=this.mark,a=!q,B=b.x;b=b.y;var J=A(l["minor"!==g?"tickWidth":"minorTickWidth"],!g&&d.isXAxis?1:0);l=l["minor"!==g?"tickColor":"minorTickColor"];c&&(d.opposite&&(c[0]=-c[0]),a&&(this.mark=q=n.path().addClass("highcharts-"+(g?g+"-":"")+"tick").add(d.axisGroup),d.chart.styledMode||q.attr({stroke:l,
+"stroke-width":J})),q[a?"attr":"animate"]({d:this.getMarkPath(B,b,c[0],q.strokeWidth()*k,d.horiz,n),opacity:f}))};u.prototype.renderLabel=function(b,f,k,d){var l=this.axis,n=l.horiz,g=l.options,c=this.label,q=g.labels,a=q.step;l=A(this.tickmarkOffset,l.tickmarkOffset);var B=!0,J=b.x;b=b.y;c&&m(J)&&(c.xy=b=this.getLabelPosition(J,b,c,n,q,l,d,a),this.isFirst&&!this.isLast&&!g.showFirstLabel||this.isLast&&!this.isFirst&&!g.showLastLabel?B=!1:!n||q.step||q.rotation||f||0===k||this.handleOverflow(b),a&&
+d%a&&(B=!1),B&&m(b.y)?(b.opacity=k,c[this.isNewLabel?"attr":"animate"](b),this.isNewLabel=!1):(c.attr("y",-9999),this.isNewLabel=!0))};u.prototype.replaceMovedLabel=function(){var b=this.label,f=this.axis,k=f.reversed;if(b&&!this.isNew){var d=f.horiz?k?f.left:f.width+f.left:b.xy.x;k=f.horiz?b.xy.y:k?f.width+f.top:f.top;b.animate({x:d,y:k,opacity:0},void 0,b.destroy);delete this.label}f.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return u}();h.Tick=D;return h.Tick});P(e,"Core/Axis/Axis.js",
+[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Options.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E,C){var G=e.animObject,t=F.defaultOptions,z=C.addEvent,m=C.arrayMax,f=C.arrayMin,b=C.clamp,A=C.correctFloat,u=C.defined,l=C.destroyObjectProperties,I=C.erase,k=C.error,d=C.extend,w=C.fireEvent,n=C.getMagnitude,g=C.isArray,c=C.isFunction,q=C.isNumber,a=C.isString,B=C.merge,J=C.normalizeTickInterval,
+O=C.objectEach,p=C.pick,r=C.relativeLength,M=C.removeEvent,v=C.splat,N=C.syncTimeout;"";var K=D.deg2rad;e=function(){function L(a,c){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=
+this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0;this.init(a,c)}L.prototype.init=function(a,b){var g=b.isX,d=this;d.chart=a;d.horiz=a.inverted&&!d.isZAxis?!g:g;d.isXAxis=g;
+d.coll=d.coll||(g?"xAxis":"yAxis");w(this,"init",{userOptions:b});d.opposite=p(b.opposite,d.opposite);d.side=p(b.side,d.side,d.horiz?d.opposite?0:2:d.opposite?1:3);d.setOptions(b);var x=this.options,H=x.labels,r=x.type;d.userOptions=b;d.minPixelPadding=0;d.reversed=p(x.reversed,d.reversed);d.visible=x.visible;d.zoomEnabled=x.zoomEnabled;d.hasNames="category"===r||!0===x.categories;d.categories=x.categories||d.hasNames;d.names||(d.names=[],d.names.keys={});d.plotLinesAndBandsGroups={};d.positiveValuesOnly=
+!!d.logarithmic;d.isLinked=u(x.linkedTo);d.ticks={};d.labelEdge=[];d.minorTicks={};d.plotLinesAndBands=[];d.alternateBands={};d.len=0;d.minRange=d.userMinRange=x.minRange||x.maxZoom;d.range=x.range;d.offset=x.offset||0;d.max=null;d.min=null;b=p(x.crosshair,v(a.options.tooltip.crosshairs)[g?0:1]);d.crosshair=!0===b?{}:b;b=d.options.events;-1===a.axes.indexOf(d)&&(g?a.axes.splice(a.xAxis.length,0,d):a.axes.push(d),a[d.coll].push(d));d.series=d.series||[];a.inverted&&!d.isZAxis&&g&&"undefined"===typeof d.reversed&&
+(d.reversed=!0);d.labelRotation=q(H.rotation)?H.rotation:void 0;O(b,function(a,b){c(a)&&z(d,b,a)});w(this,"afterInit")};L.prototype.setOptions=function(a){this.options=B(L.defaultOptions,"yAxis"===this.coll&&L.defaultYAxisOptions,[L.defaultTopAxisOptions,L.defaultRightAxisOptions,L.defaultBottomAxisOptions,L.defaultLeftAxisOptions][this.side],B(t[this.coll],a));w(this,"afterSetOptions",{userOptions:a})};L.prototype.defaultLabelFormatter=function(){var a=this.axis,c=q(this.value)?this.value:NaN,b=
+a.chart.time,g=this.dateTimeLabelFormat,d=t.lang,p=d.numericSymbols;d=d.numericSymbolMagnitude||1E3;var r=p&&p.length,v=a.logarithmic?Math.abs(c):a.tickInterval,k=this.chart.numberFormatter;if(a.categories)var f=""+this.value;else if(g)f=b.dateFormat(g,c);else if(r&&1E3<=v)for(;r--&&"undefined"===typeof f;)a=Math.pow(d,r+1),v>=a&&0===10*c%a&&null!==p[r]&&0!==c&&(f=k(c/a,-1)+p[r]);"undefined"===typeof f&&(f=1E4<=Math.abs(c)?k(c,-1):k(c,-1,void 0,""));return f};L.prototype.getSeriesExtremes=function(){var a=
+this,c=a.chart,b;w(this,"getSeriesExtremes",null,function(){a.hasVisibleSeries=!1;a.dataMin=a.dataMax=a.threshold=null;a.softThreshold=!a.isXAxis;a.stacking&&a.stacking.buildStacks();a.series.forEach(function(g){if(g.visible||!c.options.chart.ignoreHiddenSeries){var d=g.options,x=d.threshold;a.hasVisibleSeries=!0;a.positiveValuesOnly&&0>=x&&(x=null);if(a.isXAxis){if(d=g.xData,d.length){d=a.logarithmic?d.filter(a.validatePositiveValue):d;b=g.getXExtremes(d);var H=b.min;var r=b.max;q(H)||H instanceof
+Date||(d=d.filter(q),b=g.getXExtremes(d),H=b.min,r=b.max);d.length&&(a.dataMin=Math.min(p(a.dataMin,H),H),a.dataMax=Math.max(p(a.dataMax,r),r))}}else if(g=g.applyExtremes(),q(g.dataMin)&&(H=g.dataMin,a.dataMin=Math.min(p(a.dataMin,H),H)),q(g.dataMax)&&(r=g.dataMax,a.dataMax=Math.max(p(a.dataMax,r),r)),u(x)&&(a.threshold=x),!d.softThreshold||a.positiveValuesOnly)a.softThreshold=!1}})});w(this,"afterGetSeriesExtremes")};L.prototype.translate=function(a,c,b,g,d,p){var x=this.linkedParent||this,r=1,H=
+0,v=g&&x.old?x.old.transA:x.transA;g=g&&x.old?x.old.min:x.min;var k=x.minPixelPadding;d=(x.isOrdinal||x.brokenAxis&&x.brokenAxis.hasBreaks||x.logarithmic&&d)&&x.lin2val;v||(v=x.transA);b&&(r*=-1,H=x.len);x.reversed&&(r*=-1,H-=r*(x.sector||x.len));c?(a=(a*r+H-k)/v+g,d&&(a=x.lin2val(a))):(d&&(a=x.val2lin(a)),a=q(g)?r*(a-g)*v+H+r*k+(q(p)?v*p:0):void 0);return a};L.prototype.toPixels=function(a,c){return this.translate(a,!1,!this.horiz,null,!0)+(c?0:this.pos)};L.prototype.toValue=function(a,c){return this.translate(a-
+(c?0:this.pos),!0,!this.horiz,null,!0)};L.prototype.getPlotLinePath=function(a){function c(a,c,g){if("pass"!==B&&a<c||a>g)B?a=b(a,c,g):u=!0;return a}var g=this,d=g.chart,r=g.left,H=g.top,v=a.old,k=a.value,f=a.translatedValue,n=a.lineWidth,B=a.force,J,l,M,N,K=v&&d.oldChartHeight||d.chartHeight,m=v&&d.oldChartWidth||d.chartWidth,u,O=g.transB;a={value:k,lineWidth:n,old:v,force:B,acrossPanes:a.acrossPanes,translatedValue:f};w(this,"getPlotLinePath",a,function(a){f=p(f,g.translate(k,null,null,v));f=b(f,
+-1E5,1E5);J=M=Math.round(f+O);l=N=Math.round(K-f-O);q(f)?g.horiz?(l=H,N=K-g.bottom,J=M=c(J,r,r+g.width)):(J=r,M=m-g.right,l=N=c(l,H,H+g.height)):(u=!0,B=!1);a.path=u&&!B?null:d.renderer.crispLine([["M",J,l],["L",M,N]],n||1)});return a.path};L.prototype.getLinearTickPositions=function(a,c,b){var g=A(Math.floor(c/a)*a);b=A(Math.ceil(b/a)*a);var d=[],x;A(g+a)===g&&(x=20);if(this.single)return[c];for(c=g;c<=b;){d.push(c);c=A(c+a,x);if(c===p)break;var p=c}return d};L.prototype.getMinorTickInterval=function(){var a=
+this.options;return!0===a.minorTicks?p(a.minorTickInterval,"auto"):!1===a.minorTicks?null:a.minorTickInterval};L.prototype.getMinorTickPositions=function(){var a=this.options,c=this.tickPositions,b=this.minorTickInterval,g=[],d=this.pointRangePadding||0,p=this.min-d;d=this.max+d;var q=d-p;if(q&&q/b<this.len/3){var r=this.logarithmic;if(r)this.paddedTicks.forEach(function(a,c,d){c&&g.push.apply(g,r.getLogTickPositions(b,d[c-1],d[c],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())g=
+g.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(b),p,d,a.startOfWeek));else for(a=p+(c[0]-p)%b;a<=d&&a!==g[0];a+=b)g.push(a)}0!==g.length&&this.trimTicks(g);return g};L.prototype.adjustForMinRange=function(){var a=this.options,c=this.min,b=this.max,g=this.logarithmic,d=0,q,r,v,k;this.isXAxis&&"undefined"===typeof this.minRange&&!g&&(u(a.min)||u(a.max)?this.minRange=null:(this.series.forEach(function(a){v=a.xData;k=a.xIncrement?1:v.length-1;if(1<v.length)for(q=k;0<q;q--)if(r=v[q]-
+v[q-1],!d||r<d)d=r}),this.minRange=Math.min(5*d,this.dataMax-this.dataMin)));if(b-c<this.minRange){var n=this.dataMax-this.dataMin>=this.minRange;var B=this.minRange;var J=(B-b+c)/2;J=[c-J,p(a.min,c-J)];n&&(J[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);c=m(J);b=[c+B,p(a.max,c+B)];n&&(b[2]=g?g.log2lin(this.dataMax):this.dataMax);b=f(b);b-c<B&&(J[0]=b-B,J[1]=p(a.min,b-B),c=m(J))}this.min=c;this.max=b};L.prototype.getClosest=function(){var a;this.categories?a=1:this.series.forEach(function(c){var b=
+c.closestPointRange,g=c.visible||!c.chart.options.chart.ignoreHiddenSeries;!c.noSharedTooltip&&u(b)&&g&&(a=u(a)?Math.min(a,b):b)});return a};L.prototype.nameToX=function(a){var c=g(this.categories),b=c?this.categories:this.names,d=a.options.x;a.series.requireSorting=!1;u(d)||(d=this.options.uniqueNames?c?b.indexOf(a.name):p(b.keys[a.name],-1):a.series.autoIncrement());if(-1===d){if(!c)var q=b.length}else q=d;"undefined"!==typeof q&&(this.names[q]=a.name,this.names.keys[a.name]=q);return q};L.prototype.updateNames=
+function(){var a=this,c=this.names;0<c.length&&(Object.keys(c.keys).forEach(function(a){delete c.keys[a]}),c.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(c){c.xIncrement=null;if(!c.points||c.isDirtyData)a.max=Math.max(a.max,c.xData.length-1),c.processData(),c.generatePoints();c.data.forEach(function(b,g){if(b&&b.options&&"undefined"!==typeof b.name){var d=a.nameToX(b);"undefined"!==typeof d&&d!==b.x&&(b.x=d,c.xData[g]=d)}})}))};L.prototype.setAxisTranslation=function(){var c=
+this,b=c.max-c.min,g=c.axisPointRange||0,d=0,q=0,r=c.linkedParent,v=!!c.categories,k=c.transA,f=c.isXAxis;if(f||v||g){var B=c.getClosest();r?(d=r.minPointOffset,q=r.pointRangePadding):c.series.forEach(function(b){var x=v?1:f?p(b.options.pointRange,B,0):c.axisPointRange||0,r=b.options.pointPlacement;g=Math.max(g,x);if(!c.single||v)b=b.is("xrange")?!f:f,d=Math.max(d,b&&a(r)?0:x/2),q=Math.max(q,b&&"on"===r?0:x)});r=c.ordinal&&c.ordinal.slope&&B?c.ordinal.slope/B:1;c.minPointOffset=d*=r;c.pointRangePadding=
+q*=r;c.pointRange=Math.min(g,c.single&&v?1:b);f&&(c.closestPointRange=B)}c.translationSlope=c.transA=k=c.staticScale||c.len/(b+q||1);c.transB=c.horiz?c.left:c.bottom;c.minPixelPadding=k*d;w(this,"afterSetAxisTranslation")};L.prototype.minFromRange=function(){return this.max-this.range};L.prototype.setTickInterval=function(a){var c=this,b=c.chart,g=c.logarithmic,d=c.options,r=c.isXAxis,v=c.isLinked,f=d.maxPadding,B=d.minPadding,H=d.tickInterval,l=d.tickPixelInterval,M=c.categories,N=q(c.threshold)?
+c.threshold:null,K=c.softThreshold;c.dateTime||M||v||this.getTickAmount();var m=p(c.userMin,d.min);var O=p(c.userMax,d.max);if(v){c.linkedParent=b[c.coll][d.linkedTo];var L=c.linkedParent.getExtremes();c.min=p(L.min,L.dataMin);c.max=p(L.max,L.dataMax);d.type!==c.linkedParent.options.type&&k(11,1,b)}else{if(K&&u(N))if(c.dataMin>=N)L=N,B=0;else if(c.dataMax<=N){var I=N;f=0}c.min=p(m,L,c.dataMin);c.max=p(O,I,c.dataMax)}g&&(c.positiveValuesOnly&&!a&&0>=Math.min(c.min,p(c.dataMin,c.min))&&k(10,1,b),c.min=
+A(g.log2lin(c.min),16),c.max=A(g.log2lin(c.max),16));c.range&&u(c.max)&&(c.userMin=c.min=m=Math.max(c.dataMin,c.minFromRange()),c.userMax=O=c.max,c.range=null);w(c,"foundExtremes");c.beforePadding&&c.beforePadding();c.adjustForMinRange();!(M||c.axisPointRange||c.stacking&&c.stacking.usePercentage||v)&&u(c.min)&&u(c.max)&&(b=c.max-c.min)&&(!u(m)&&B&&(c.min-=b*B),!u(O)&&f&&(c.max+=b*f));q(c.userMin)||(q(d.softMin)&&d.softMin<c.min&&(c.min=m=d.softMin),q(d.floor)&&(c.min=Math.max(c.min,d.floor)));q(c.userMax)||
+(q(d.softMax)&&d.softMax>c.max&&(c.max=O=d.softMax),q(d.ceiling)&&(c.max=Math.min(c.max,d.ceiling)));K&&u(c.dataMin)&&(N=N||0,!u(m)&&c.min<N&&c.dataMin>=N?c.min=c.options.minRange?Math.min(N,c.max-c.minRange):N:!u(O)&&c.max>N&&c.dataMax<=N&&(c.max=c.options.minRange?Math.max(N,c.min+c.minRange):N));q(c.min)&&q(c.max)&&!this.chart.polar&&c.min>c.max&&(u(c.options.min)?c.max=c.min:u(c.options.max)&&(c.min=c.max));c.tickInterval=c.min===c.max||"undefined"===typeof c.min||"undefined"===typeof c.max?1:
+v&&c.linkedParent&&!H&&l===c.linkedParent.options.tickPixelInterval?H=c.linkedParent.tickInterval:p(H,this.tickAmount?(c.max-c.min)/Math.max(this.tickAmount-1,1):void 0,M?1:(c.max-c.min)*l/Math.max(c.len,l));r&&!a&&c.series.forEach(function(a){a.processData(c.min!==(c.old&&c.old.min)||c.max!==(c.old&&c.old.max))});c.setAxisTranslation();w(this,"initialAxisTranslation");c.pointRange&&!H&&(c.tickInterval=Math.max(c.pointRange,c.tickInterval));a=p(d.minTickInterval,c.dateTime&&!c.series.some(function(a){return a.noSharedTooltip})?
+c.closestPointRange:0);!H&&c.tickInterval<a&&(c.tickInterval=a);c.dateTime||c.logarithmic||H||(c.tickInterval=J(c.tickInterval,void 0,n(c.tickInterval),p(d.allowDecimals,.5>c.tickInterval||void 0!==this.tickAmount),!!this.tickAmount));this.tickAmount||(c.tickInterval=c.unsquish());this.setTickPositions()};L.prototype.setTickPositions=function(){var a=this.options,c=a.tickPositions;var b=this.getMinorTickInterval();var g=a.tickPositioner,d=this.hasVerticalPanning(),p="colorAxis"===this.coll,q=(p||
+!d)&&a.startOnTick;d=(p||!d)&&a.endOnTick;this.tickmarkOffset=this.categories&&"between"===a.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===b&&this.tickInterval?this.tickInterval/5:b;this.single=this.min===this.max&&u(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==a.allowDecimals);this.tickPositions=b=c&&c.slice();!b&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?b=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,
+a.units),this.min,this.max,a.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(b=[this.min,this.max],k(19,!1,this.chart)),b.length>this.len&&(b=[b[0],b.pop()],b[0]===b[1]&&(b.length=1)),this.tickPositions=b,g&&(g=g.apply(this,[this.min,this.max])))&&(this.tickPositions=b=g);this.paddedTicks=b.slice(0);this.trimTicks(b,
+q,d);this.isLinked||(this.single&&2>b.length&&!this.categories&&!this.series.some(function(a){return a.is("heatmap")&&"between"===a.options.pointPlacement})&&(this.min-=.5,this.max+=.5),c||g||this.adjustTickAmount());w(this,"afterSetTickPositions")};L.prototype.trimTicks=function(a,c,b){var g=a[0],d=a[a.length-1],p=!this.isOrdinal&&this.minPointOffset||0;w(this,"trimTicks");if(!this.isLinked){if(c&&-Infinity!==g)this.min=g;else for(;this.min-p>a[0];)a.shift();if(b)this.max=d;else for(;this.max+p<
+a[a.length-1];)a.pop();0===a.length&&u(g)&&!this.options.tickPositions&&a.push((d+g)/2)}};L.prototype.alignToOthers=function(){var a={},c,b=this.options;!1!==this.chart.options.chart.alignTicks&&b.alignTicks&&!1!==b.startOnTick&&!1!==b.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach(function(b){var g=b.options;g=[b.horiz?g.left:g.top,g.width,g.height,g.pane].join();b.series.length&&(a[g]?c=!0:a[g]=1)});return c};L.prototype.getTickAmount=function(){var a=this.options,c=a.tickAmount,b=
+a.tickPixelInterval;!u(a.tickInterval)&&!c&&this.len<b&&!this.isRadial&&!this.logarithmic&&a.startOnTick&&a.endOnTick&&(c=2);!c&&this.alignToOthers()&&(c=Math.ceil(this.len/b)+1);4>c&&(this.finalTickAmt=c,c=5);this.tickAmount=c};L.prototype.adjustTickAmount=function(){var a=this.options,c=this.tickInterval,b=this.tickPositions,g=this.tickAmount,d=this.finalTickAmt,r=b&&b.length,v=p(this.threshold,this.softThreshold?0:null);if(this.hasData()&&q(this.min)&&q(this.max)){if(r<g){for(;b.length<g;)b.length%
+2||this.min===v?b.push(A(b[b.length-1]+c)):b.unshift(A(b[0]-c));this.transA*=(r-1)/(g-1);this.min=a.startOnTick?b[0]:Math.min(this.min,b[0]);this.max=a.endOnTick?b[b.length-1]:Math.max(this.max,b[b.length-1])}else r>g&&(this.tickInterval*=2,this.setTickPositions());if(u(d)){for(c=a=b.length;c--;)(3===d&&1===c%2||2>=d&&0<c&&c<a-1)&&b.splice(c,1);this.finalTickAmt=void 0}}};L.prototype.setScale=function(){var a,c=!1,b=!1;this.series.forEach(function(a){c=c||a.isDirtyData||a.isDirty;b=b||a.xAxis&&a.xAxis.isDirty||
+!1});this.setAxisSize();(a=this.len!==(this.old&&this.old.len))||c||b||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=a||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks();c&&this.panningState&&(this.panningState.isDirty=
+!0);w(this,"afterSetScale")};L.prototype.setExtremes=function(a,c,b,g,q){var r=this,v=r.chart;b=p(b,!0);r.series.forEach(function(a){delete a.kdTree});q=d(q,{min:a,max:c});w(r,"setExtremes",q,function(){r.userMin=a;r.userMax=c;r.eventArgs=q;b&&v.redraw(g)})};L.prototype.zoom=function(a,c){var b=this,g=this.dataMin,d=this.dataMax,q=this.options,r=Math.min(g,p(q.min,g)),v=Math.max(d,p(q.max,d));a={newMin:a,newMax:c};w(this,"zoom",a,function(a){var c=a.newMin,p=a.newMax;if(c!==b.min||p!==b.max)b.allowZoomOutside||
+(u(g)&&(c<r&&(c=r),c>v&&(c=v)),u(d)&&(p<r&&(p=r),p>v&&(p=v))),b.displayBtn="undefined"!==typeof c||"undefined"!==typeof p,b.setExtremes(c,p,!1,void 0,{trigger:"zoom"});a.zoomed=!0});return a.zoomed};L.prototype.setAxisSize=function(){var a=this.chart,c=this.options,b=c.offsets||[0,0,0,0],g=this.horiz,d=this.width=Math.round(r(p(c.width,a.plotWidth-b[3]+b[1]),a.plotWidth)),q=this.height=Math.round(r(p(c.height,a.plotHeight-b[0]+b[2]),a.plotHeight)),v=this.top=Math.round(r(p(c.top,a.plotTop+b[0]),a.plotHeight,
+a.plotTop));c=this.left=Math.round(r(p(c.left,a.plotLeft+b[3]),a.plotWidth,a.plotLeft));this.bottom=a.chartHeight-q-v;this.right=a.chartWidth-d-c;this.len=Math.max(g?d:q,0);this.pos=g?c:v};L.prototype.getExtremes=function(){var a=this.logarithmic;return{min:a?A(a.lin2log(this.min)):this.min,max:a?A(a.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};L.prototype.getThreshold=function(a){var c=this.logarithmic,b=c?c.lin2log(this.min):this.min;
+c=c?c.lin2log(this.max):this.max;null===a||-Infinity===a?a=b:Infinity===a?a=c:b>a?a=b:c<a&&(a=c);return this.translate(a,0,1,0,1)};L.prototype.autoLabelAlign=function(a){var c=(p(a,0)-90*this.side+720)%360;a={align:"center"};w(this,"autoLabelAlign",a,function(a){15<c&&165>c?a.align="right":195<c&&345>c&&(a.align="left")});return a.align};L.prototype.tickSize=function(a){var c=this.options,b=c["tick"===a?"tickLength":"minorTickLength"],g=p(c["tick"===a?"tickWidth":"minorTickWidth"],"tick"===a&&this.isXAxis&&
+!this.categories?1:0);if(g&&b){"inside"===c[a+"Position"]&&(b=-b);var d=[b,g]}a={tickSize:d};w(this,"afterTickSize",a);return a.tickSize};L.prototype.labelMetrics=function(){var a=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[a]&&this.ticks[a].label)};L.prototype.unsquish=function(){var a=this.options.labels,c=this.horiz,b=this.tickInterval,g=b,d=this.len/(((this.categories?1:0)+this.max-this.min)/b),r,v=a.rotation,
+k=this.labelMetrics(),f,B=Number.MAX_VALUE,n=Math.max(this.max-this.min,0),J=function(a){var c=a/(d||1);c=1<c?Math.ceil(c):1;c*b>n&&Infinity!==a&&Infinity!==d&&n&&(c=Math.ceil(n/b));return A(c*b)};if(c){if(!a.staggerLines&&!a.step)if(q(v))var l=[v];else d<a.autoRotationLimit&&(l=a.autoRotation);l&&l.forEach(function(a){if(a===v||a&&-90<=a&&90>=a){f=J(Math.abs(k.h/Math.sin(K*a)));var c=f+Math.abs(a/360);c<B&&(B=c,r=a,g=f)}})}else a.step||(g=J(k.h));this.autoRotation=l;this.labelRotation=p(r,q(v)?v:
+0);return g};L.prototype.getSlotWidth=function(a){var c=this.chart,b=this.horiz,g=this.options.labels,d=Math.max(this.tickPositions.length-(this.categories?0:1),1),p=c.margin[3];if(a&&q(a.slotWidth))return a.slotWidth;if(b&&2>g.step)return g.rotation?0:(this.staggerLines||1)*this.len/d;if(!b){a=g.style.width;if(void 0!==a)return parseInt(String(a),10);if(p)return p-c.spacing[3]}return.33*c.chartWidth};L.prototype.renderUnsquish=function(){var c=this.chart,b=c.renderer,g=this.tickPositions,d=this.ticks,
+p=this.options.labels,q=p.style,r=this.horiz,v=this.getSlotWidth(),k=Math.max(1,Math.round(v-2*p.padding)),f={},B=this.labelMetrics(),n=q.textOverflow,J=0;a(p.rotation)||(f.rotation=p.rotation||0);g.forEach(function(a){a=d[a];a.movedLabel&&a.replaceMovedLabel();a&&a.label&&a.label.textPxLength>J&&(J=a.label.textPxLength)});this.maxLabelLength=J;if(this.autoRotation)J>k&&J>B.h?f.rotation=this.labelRotation:this.labelRotation=0;else if(v){var l=k;if(!n){var M="clip";for(k=g.length;!r&&k--;){var N=g[k];
+if(N=d[N].label)N.styles&&"ellipsis"===N.styles.textOverflow?N.css({textOverflow:"clip"}):N.textPxLength>v&&N.css({width:v+"px"}),N.getBBox().height>this.len/g.length-(B.h-B.f)&&(N.specificTextOverflow="ellipsis")}}}f.rotation&&(l=J>.5*c.chartHeight?.33*c.chartHeight:J,n||(M="ellipsis"));if(this.labelAlign=p.align||this.autoLabelAlign(this.labelRotation))f.align=this.labelAlign;g.forEach(function(a){var c=(a=d[a])&&a.label,b=q.width,g={};c&&(c.attr(f),a.shortenLabel?a.shortenLabel():l&&!b&&"nowrap"!==
+q.whiteSpace&&(l<c.textPxLength||"SPAN"===c.element.tagName)?(g.width=l+"px",n||(g.textOverflow=c.specificTextOverflow||M),c.css(g)):c.styles&&c.styles.width&&!g.width&&!b&&c.css({width:null}),delete c.specificTextOverflow,a.rotation=f.rotation)},this);this.tickRotCorr=b.rotCorr(B.b,this.labelRotation||0,0!==this.side)};L.prototype.hasData=function(){return this.series.some(function(a){return a.hasData()})||this.options.showEmpty&&u(this.min)&&u(this.max)};L.prototype.addTitle=function(a){var c=this.chart.renderer,
+b=this.horiz,g=this.opposite,d=this.options.title,p,q=this.chart.styledMode;this.axisTitle||((p=d.textAlign)||(p=(b?{low:"left",middle:"center",high:"right"}:{low:g?"right":"left",middle:"center",high:g?"left":"right"})[d.align]),this.axisTitle=c.text(d.text||"",0,0,d.useHTML).attr({zIndex:7,rotation:d.rotation,align:p}).addClass("highcharts-axis-title"),q||this.axisTitle.css(B(d.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);q||d.style.width||this.isRadial||this.axisTitle.css({width:this.len+
+"px"});this.axisTitle[a?"show":"hide"](a)};L.prototype.generateTick=function(a){var c=this.ticks;c[a]?c[a].addLabel():c[a]=new E(this,a)};L.prototype.getOffset=function(){var a=this,c=this,b=c.chart,g=b.renderer,d=c.options,q=c.tickPositions,r=c.ticks,v=c.horiz,k=c.side,f=b.inverted&&!c.isZAxis?[1,0,3,2][k]:k,B,n=0,J=0,l=d.title,M=d.labels,N=0,K=b.axisOffset;b=b.clipOffset;var m=[-1,1,1,-1][k],L=d.className,I=c.axisParent;var t=c.hasData();c.showAxis=B=t||d.showEmpty;c.staggerLines=c.horiz&&M.staggerLines||
+void 0;if(!c.axisGroup){var A=function(c,b,d){return g.g(c).attr({zIndex:d}).addClass("highcharts-"+a.coll.toLowerCase()+b+" "+(a.isRadial?"highcharts-radial-axis"+b+" ":"")+(L||"")).add(I)};c.gridGroup=A("grid","-grid",d.gridZIndex);c.axisGroup=A("axis","",d.zIndex);c.labelGroup=A("axis-labels","-labels",M.zIndex)}t||c.isLinked?(q.forEach(function(a,b){c.generateTick(a,b)}),c.renderUnsquish(),c.reserveSpaceDefault=0===k||2===k||{1:"left",3:"right"}[k]===c.labelAlign,p(M.reserveSpace,"center"===c.labelAlign?
+!0:null,c.reserveSpaceDefault)&&q.forEach(function(a){N=Math.max(r[a].getLabelSize(),N)}),c.staggerLines&&(N*=c.staggerLines),c.labelOffset=N*(c.opposite?-1:1)):O(r,function(a,c){a.destroy();delete r[c]});if(l&&l.text&&!1!==l.enabled&&(c.addTitle(B),B&&!1!==l.reserveSpace)){c.titleOffset=n=c.axisTitle.getBBox()[v?"height":"width"];var h=l.offset;J=u(h)?0:p(l.margin,v?5:10)}c.renderLine();c.offset=m*p(d.offset,K[k]?K[k]+(d.margin||0):0);c.tickRotCorr=c.tickRotCorr||{x:0,y:0};l=0===k?-c.labelMetrics().h:
+2===k?c.tickRotCorr.y:0;J=Math.abs(N)+J;N&&(J=J-l+m*(v?p(M.y,c.tickRotCorr.y+8*m):M.x));c.axisTitleMargin=p(h,J);c.getMaxLabelDimensions&&(c.maxLabelDimensions=c.getMaxLabelDimensions(r,q));v=this.tickSize("tick");K[k]=Math.max(K[k],(c.axisTitleMargin||0)+n+m*c.offset,J,q&&q.length&&v?v[0]+m*c.offset:0);d=d.offset?0:2*Math.floor(c.axisLine.strokeWidth()/2);b[f]=Math.max(b[f],d);w(this,"afterGetOffset")};L.prototype.getLinePath=function(a){var c=this.chart,b=this.opposite,g=this.offset,d=this.horiz,
+p=this.left+(b?this.width:0)+g;g=c.chartHeight-this.bottom-(b?this.height:0)+g;b&&(a*=-1);return c.renderer.crispLine([["M",d?this.left:p,d?g:this.top],["L",d?c.chartWidth-this.right:p,d?g:c.chartHeight-this.bottom]],a)};L.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))};L.prototype.getTitlePosition=
+function(){var a=this.horiz,c=this.left,b=this.top,g=this.len,d=this.options.title,p=a?c:b,q=this.opposite,r=this.offset,v=d.x,k=d.y,f=this.axisTitle,B=this.chart.renderer.fontMetrics(d.style.fontSize,f);f=Math.max(f.getBBox(null,0).height-B.h-1,0);g={low:p+(a?0:g),middle:p+g/2,high:p+(a?g:0)}[d.align];c=(a?b+this.height:c)+(a?1:-1)*(q?-1:1)*this.axisTitleMargin+[-f,f,B.f,-f][this.side];a={x:a?g+v:c+(q?this.width:0)+r+v,y:a?c+k-(q?this.height:0)+r:g+k};w(this,"afterGetTitlePosition",{titlePosition:a});
+return a};L.prototype.renderMinorTick=function(a){var c=this.chart.hasRendered&&this.old,b=this.minorTicks;b[a]||(b[a]=new E(this,a,"minor"));c&&b[a].isNew&&b[a].render(null,!0);b[a].render(null,!1,1)};L.prototype.renderTick=function(a,c){var b=this.ticks,g=this.chart.hasRendered&&this.old;if(!this.isLinked||a>=this.min&&a<=this.max||this.grid&&this.grid.isColumn)b[a]||(b[a]=new E(this,a)),g&&b[a].isNew&&b[a].render(c,!0,-1),b[a].render(c)};L.prototype.render=function(){var a=this,c=a.chart,b=a.logarithmic,
+g=a.options,d=a.isLinked,p=a.tickPositions,r=a.axisTitle,v=a.ticks,k=a.minorTicks,f=a.alternateBands,B=g.stackLabels,J=g.alternateGridColor,n=a.tickmarkOffset,l=a.axisLine,M=a.showAxis,K=G(c.renderer.globalAnimation),m,u;a.labelEdge.length=0;a.overlap=!1;[v,k,f].forEach(function(a){O(a,function(a){a.isActive=!1})});if(a.hasData()||d)a.minorTickInterval&&!a.categories&&a.getMinorTickPositions().forEach(function(c){a.renderMinorTick(c)}),p.length&&(p.forEach(function(c,b){a.renderTick(c,b)}),n&&(0===
+a.min||a.single)&&(v[-1]||(v[-1]=new E(a,-1,null,!0)),v[-1].render(-1))),J&&p.forEach(function(g,d){u="undefined"!==typeof p[d+1]?p[d+1]+n:a.max-n;0===d%2&&g<a.max&&u<=a.max+(c.polar?-n:n)&&(f[g]||(f[g]=new D.PlotLineOrBand(a)),m=g+n,f[g].options={from:b?b.lin2log(m):m,to:b?b.lin2log(u):u,color:J,className:"highcharts-alternate-grid"},f[g].render(),f[g].isActive=!0)}),a._addedPlotLB||(a._addedPlotLB=!0,(g.plotLines||[]).concat(g.plotBands||[]).forEach(function(c){a.addPlotBandOrLine(c)}));[v,k,f].forEach(function(a){var b,
+g=[],d=K.duration;O(a,function(a,c){a.isActive||(a.render(c,!1,0),a.isActive=!1,g.push(c))});N(function(){for(b=g.length;b--;)a[g[b]]&&!a[g[b]].isActive&&(a[g[b]].destroy(),delete a[g[b]])},a!==f&&c.hasRendered&&d?d:0)});l&&(l[l.isPlaced?"animate":"attr"]({d:this.getLinePath(l.strokeWidth())}),l.isPlaced=!0,l[M?"show":"hide"](M));r&&M&&(g=a.getTitlePosition(),q(g.y)?(r[r.isNew?"attr":"animate"](g),r.isNew=!1):(r.attr("y",-9999),r.isNew=!0));B&&B.enabled&&a.stacking&&a.stacking.renderStackTotals();
+a.old={len:a.len,max:a.max,min:a.min,transA:a.transA,userMax:a.userMax,userMin:a.userMin};a.isDirty=!1;w(this,"afterRender")};L.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(a){a.render()}));this.series.forEach(function(a){a.isDirty=!0})};L.prototype.getKeepProps=function(){return this.keepProps||L.keepProps};L.prototype.destroy=function(a){var c=this,b=c.plotLinesAndBands,g;w(this,"destroy",{keepEvents:a});a||M(c);[c.ticks,c.minorTicks,c.alternateBands].forEach(function(a){l(a)});
+if(b)for(a=b.length;a--;)b[a].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(a){c[a]&&(c[a]=c[a].destroy())});for(g in c.plotLinesAndBandsGroups)c.plotLinesAndBandsGroups[g]=c.plotLinesAndBandsGroups[g].destroy();O(c,function(a,b){-1===c.getKeepProps().indexOf(b)&&delete c[b]})};L.prototype.drawCrosshair=function(a,c){var b=this.crosshair,g=p(b&&b.snap,!0),q,r=this.cross,v=this.chart;w(this,"drawCrosshair",{e:a,point:c});a||(a=this.cross&&
+this.cross.e);if(b&&!1!==(u(c)||!g)){g?u(c)&&(q=p("colorAxis"!==this.coll?c.crosshairPos:null,this.isXAxis?c.plotX:this.len-c.plotY)):q=a&&(this.horiz?a.chartX-this.pos:this.len-a.chartY+this.pos);if(u(q)){var k={value:c&&(this.isXAxis?c.x:p(c.stackY,c.y)),translatedValue:q};v.polar&&d(k,{isCrosshair:!0,chartX:a&&a.chartX,chartY:a&&a.chartY,point:c});k=this.getPlotLinePath(k)||null}if(!u(k)){this.hideCrosshair();return}g=this.categories&&!this.isRadial;r||(this.cross=r=v.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+
+(g?"category ":"thin ")+(b.className||"")).attr({zIndex:p(b.zIndex,2)}).add(),v.styledMode||(r.attr({stroke:b.color||(g?h.parse(y.highlightColor20).setOpacity(.25).get():y.neutralColor20),"stroke-width":p(b.width,1)}).css({"pointer-events":"none"}),b.dashStyle&&r.attr({dashstyle:b.dashStyle})));r.show().attr({d:k});g&&!b.width&&r.attr({"stroke-width":this.transA});this.cross.e=a}else this.hideCrosshair();w(this,"afterDrawCrosshair",{e:a,point:c})};L.prototype.hideCrosshair=function(){this.cross&&
+this.cross.hide();w(this,"afterHideCrosshair")};L.prototype.hasVerticalPanning=function(){var a=this.chart.options.chart.panning;return!!(a&&a.enabled&&/y/.test(a.type))};L.prototype.validatePositiveValue=function(a){return q(a)&&0<a};L.prototype.update=function(a,c){var b=this.chart,g=a&&a.events||{};a=B(this.userOptions,a);O(b.options[this.coll].events,function(a,c){"undefined"===typeof g[c]&&(g[c]=void 0)});this.destroy(!0);this.init(b,d(a,{events:g}));b.isDirtyBox=!0;p(c,!0)&&b.redraw()};L.prototype.remove=
+function(a){for(var c=this.chart,b=this.coll,g=this.series,d=g.length;d--;)g[d]&&g[d].remove(!1);I(c.axes,this);I(c[b],this);c[b].forEach(function(a,c){a.options.index=a.userOptions.index=c});this.destroy();c.isDirtyBox=!0;p(a,!0)&&c.redraw()};L.prototype.setTitle=function(a,c){this.update({title:a},c)};L.prototype.setCategories=function(a,c){this.update({categories:a},c)};L.defaultOptions={alignTicks:!0,allowDecimals:void 0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",
+range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:y.neutralColor60,cursor:"default",fontSize:"11px"}},
+maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:y.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:y.neutralColor5,minorGridLineWidth:1,
+minorTickColor:y.neutralColor40,lineColor:y.highlightColor20,lineWidth:1,gridLineColor:y.neutralColor10,gridLineWidth:void 0,tickColor:y.highlightColor20};L.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var a=this.axis.chart.numberFormatter;return a(this.total,-1)},
+style:{color:y.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};L.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}};L.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};L.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};L.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};L.keepProps="extKey hcEvents names series userMax userMin".split(" ");return L}();
+D.Axis=e;return D.Axis});P(e,"Core/Axis/DateTimeAxis.js",[e["Core/Axis/Axis.js"],e["Core/Utilities.js"]],function(e,h){var D=h.addEvent,y=h.getMagnitude,F=h.normalizeTickInterval,E=h.timeUnits,C=function(){function h(t){this.axis=t}h.prototype.normalizeTimeTickInterval=function(t,h){var m=h||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];h=m[m.length-
+1];var f=E[h[0]],b=h[1],A;for(A=0;A<m.length&&!(h=m[A],f=E[h[0]],b=h[1],m[A+1]&&t<=(f*b[b.length-1]+E[m[A+1][0]])/2);A++);f===E.year&&t<5*f&&(b=[1,2,5]);t=F(t/f,b,"year"===h[0]?Math.max(y(t/f),1):1);return{unitRange:f,count:t,unitName:h[0]}};return h}();h=function(){function h(){}h.compose=function(h){h.keepProps.push("dateTime");h.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)};D(h,"init",function(h){"datetime"!==h.userOptions.type?this.dateTime=
+void 0:this.dateTime||(this.dateTime=new C(this))})};h.AdditionsClass=C;return h}();h.compose(e);return h});P(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Axis/Axis.js"],e["Core/Utilities.js"]],function(e,h){var D=h.addEvent,y=h.getMagnitude,F=h.normalizeTickInterval,E=h.pick,C=function(){function h(h){this.axis=h}h.prototype.getLogTickPositions=function(h,e,m,f){var b=this.axis,A=b.len,u=b.options,l=[];f||(this.minorAutoInterval=void 0);if(.5<=h)h=Math.round(h),l=b.getLinearTickPositions(h,e,m);else if(.08<=
+h){var I=Math.floor(e),k,d=u=void 0;for(A=.3<h?[1,2,4]:.15<h?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];I<m+1&&!d;I++){var w=A.length;for(k=0;k<w&&!d;k++){var n=this.log2lin(this.lin2log(I)*A[k]);n>e&&(!f||u<=m)&&"undefined"!==typeof u&&l.push(u);u>m&&(d=!0);u=n}}}else e=this.lin2log(e),m=this.lin2log(m),h=f?b.getMinorTickInterval():u.tickInterval,h=E("auto"===h?null:h,this.minorAutoInterval,u.tickPixelInterval/(f?5:1)*(m-e)/((f?A/b.tickPositions.length:A)||1)),h=F(h,void 0,y(h)),l=b.getLinearTickPositions(h,
+e,m).map(this.log2lin),f||(this.minorAutoInterval=h/5);f||(b.tickInterval=h);return l};h.prototype.lin2log=function(h){return Math.pow(10,h)};h.prototype.log2lin=function(h){return Math.log(h)/Math.LN10};return h}();h=function(){function h(){}h.compose=function(h){h.keepProps.push("logarithmic");D(h,"init",function(h){var m=this.logarithmic;"logarithmic"!==h.userOptions.type?this.logarithmic=void 0:m||(this.logarithmic=new C(this))});D(h,"afterInit",function(){var h=this.logarithmic;h&&(this.lin2val=
+function(m){return h.lin2log(m)},this.val2lin=function(m){return h.log2lin(m)})})};return h}();h.compose(e);return h});P(e,"Core/Axis/PlotLineOrBand.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,h,D,y){var F=y.arrayMax,E=y.arrayMin,C=y.defined,G=y.destroyObjectProperties,t=y.erase,z=y.extend,m=y.fireEvent,f=y.isNumber,b=y.merge,A=y.objectEach,u=y.pick;y=function(){function f(b,k){this.axis=b;k&&(this.options=k,this.id=k.id)}f.prototype.render=
+function(){m(this,"render");var f=this,k=f.axis,d=k.horiz,l=k.logarithmic,n=f.options,g=n.label,c=f.label,q=n.to,a=n.from,B=n.value,J=C(a)&&C(q),O=C(B),p=f.svgElem,r=!p,M=[],v=n.color,N=u(n.zIndex,0),K=n.events;M={"class":"highcharts-plot-"+(J?"band ":"line ")+(n.className||"")};var L={},h=k.chart.renderer,x=J?"bands":"lines";l&&(a=l.log2lin(a),q=l.log2lin(q),B=l.log2lin(B));k.chart.styledMode||(O?(M.stroke=v||D.neutralColor40,M["stroke-width"]=u(n.width,1),n.dashStyle&&(M.dashstyle=n.dashStyle)):
+J&&(M.fill=v||D.highlightColor10,n.borderWidth&&(M.stroke=n.borderColor,M["stroke-width"]=n.borderWidth)));L.zIndex=N;x+="-"+N;(l=k.plotLinesAndBandsGroups[x])||(k.plotLinesAndBandsGroups[x]=l=h.g("plot-"+x).attr(L).add());r&&(f.svgElem=p=h.path().attr(M).add(l));if(O)M=k.getPlotLinePath({value:B,lineWidth:p.strokeWidth(),acrossPanes:n.acrossPanes});else if(J)M=k.getPlotBandPath(a,q,n);else return;!f.eventsAdded&&K&&(A(K,function(a,c){p.on(c,function(a){K[c].apply(f,[a])})}),f.eventsAdded=!0);(r||
+!p.d)&&M&&M.length?p.attr({d:M}):p&&(M?(p.show(!0),p.animate({d:M})):p.d&&(p.hide(),c&&(f.label=c=c.destroy())));g&&(C(g.text)||C(g.formatter))&&M&&M.length&&0<k.width&&0<k.height&&!M.isFlat?(g=b({align:d&&J&&"center",x:d?!J&&4:10,verticalAlign:!d&&J&&"middle",y:d?J?16:10:J?6:-4,rotation:d&&!J&&90},g),this.renderLabel(g,M,J,N)):c&&c.hide();return f};f.prototype.renderLabel=function(b,f,d,l){var k=this.label,g=this.axis.chart.renderer;k||(k={align:b.textAlign||b.align,rotation:b.rotation,"class":"highcharts-plot-"+
+(d?"band":"line")+"-label "+(b.className||"")},k.zIndex=l,l=this.getLabelText(b),this.label=k=g.text(l,0,0,b.useHTML).attr(k).add(),this.axis.chart.styledMode||k.css(b.style));g=f.xBounds||[f[0][1],f[1][1],d?f[2][1]:f[0][1]];f=f.yBounds||[f[0][2],f[1][2],d?f[2][2]:f[0][2]];d=E(g);l=E(f);k.align(b,!1,{x:d,y:l,width:F(g)-d,height:F(f)-l});k.show(!0)};f.prototype.getLabelText=function(b){return C(b.formatter)?b.formatter.call(this):b.text};f.prototype.destroy=function(){t(this.axis.plotLinesAndBands,
+this);delete this.axis;G(this)};return f}();z(e.prototype,{getPlotBandPath:function(b,m,k){void 0===k&&(k=this.options);var d=this.getPlotLinePath({value:m,force:!0,acrossPanes:k.acrossPanes});k=this.getPlotLinePath({value:b,force:!0,acrossPanes:k.acrossPanes});var l=[],n=this.horiz,g=1;b=!f(this.min)||!f(this.max)||b<this.min&&m<this.min||b>this.max&&m>this.max;if(k&&d){if(b){var c=k.toString()===d.toString();g=0}for(b=0;b<k.length;b+=2){m=k[b];var q=k[b+1],a=d[b],B=d[b+1];"M"!==m[0]&&"L"!==m[0]||
+"M"!==q[0]&&"L"!==q[0]||"M"!==a[0]&&"L"!==a[0]||"M"!==B[0]&&"L"!==B[0]||(n&&a[1]===m[1]?(a[1]+=g,B[1]+=g):n||a[2]!==m[2]||(a[2]+=g,B[2]+=g),l.push(["M",m[1],m[2]],["L",q[1],q[2]],["L",B[1],B[2]],["L",a[1],a[2]],["Z"]));l.isFlat=c}}return l},addPlotBand:function(b){return this.addPlotBandOrLine(b,"plotBands")},addPlotLine:function(b){return this.addPlotBandOrLine(b,"plotLines")},addPlotBandOrLine:function(b,f){var k=this,d=new h.PlotLineOrBand(this,b),l=this.userOptions;this.visible&&(d=d.render());
+if(d){this._addedPlotLB||(this._addedPlotLB=!0,(l.plotLines||[]).concat(l.plotBands||[]).forEach(function(b){k.addPlotBandOrLine(b)}));if(f){var n=l[f]||[];n.push(b);l[f]=n}this.plotLinesAndBands.push(d)}return d},removePlotBandOrLine:function(b){for(var f=this.plotLinesAndBands,k=this.options,d=this.userOptions,l=f.length;l--;)f[l].id===b&&f[l].destroy();[k.plotLines||[],d.plotLines||[],k.plotBands||[],d.plotBands||[]].forEach(function(d){for(l=d.length;l--;)(d[l]||{}).id===b&&t(d,d[l])})},removePlotBand:function(b){this.removePlotBandOrLine(b)},
+removePlotLine:function(b){this.removePlotBandOrLine(b)}});h.PlotLineOrBand=y;return h.PlotLineOrBand});P(e,"Core/Tooltip.js",[e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,h,D,y){var F=e.format,E=h.doc,C=y.clamp,G=y.css,t=y.defined,z=y.discardElement,m=y.extend,f=y.fireEvent,b=y.isArray,A=y.isNumber,u=y.isString,l=y.merge,I=y.pick,k=y.splat,d=y.syncTimeout,w=y.timeUnits;"";e=function(){function n(b,c){this.container=void 0;this.crosshairs=
+[];this.distance=0;this.isHidden=!0;this.isSticky=!1;this.now={};this.options={};this.outside=!1;this.chart=b;this.init(b,c)}n.prototype.applyFilter=function(){var b=this.chart;b.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+b.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{"in":"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",
+children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{"in":"SourceGraphic"}}]}]});b.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+b.index+"{filter:url(#drop-shadow-"+b.index+")}"})};n.prototype.bodyFormatter=function(b){return b.map(function(c){var b=c.series.tooltipOptions;return(b[(c.point.formatPrefix||"point")+"Formatter"]||c.point.tooltipFormatter).call(c.point,b[(c.point.formatPrefix||"point")+"Format"]||"")})};n.prototype.cleanSplit=function(b){this.chart.series.forEach(function(c){var g=
+c&&c.tt;g&&(!g.isActive||b?c.tt=g.destroy():g.isActive=!1)})};n.prototype.defaultFormatter=function(b){var c=this.points||k(this);var g=[b.tooltipFooterHeaderFormatter(c[0])];g=g.concat(b.bodyFormatter(c));g.push(b.tooltipFooterHeaderFormatter(c[0],!0));return g};n.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),z(this.container));y.clearTimeout(this.hideTimer);
+y.clearTimeout(this.tooltipTimeout)};n.prototype.getAnchor=function(b,c){var g=this.chart;var a=g.pointer;var d=g.inverted,f=g.plotTop,n=g.plotLeft,p=0,r=0,l,v;b=k(b);this.followPointer&&c?("undefined"===typeof c.chartX&&(c=a.normalize(c)),a=[c.chartX-n,c.chartY-f]):b[0].tooltipPos?a=b[0].tooltipPos:(b.forEach(function(a){l=a.series.yAxis;v=a.series.xAxis;p+=a.plotX||0;r+=a.plotLow?(a.plotLow+(a.plotHigh||0))/2:a.plotY||0;v&&l&&(d?(p+=f+g.plotHeight-v.len-v.pos,r+=n+g.plotWidth-l.len-l.pos):(p+=v.pos-
+n,r+=l.pos-f))}),p/=b.length,r/=b.length,a=[d?g.plotWidth-r:p,d?g.plotHeight-p:r],this.shared&&1<b.length&&c&&(d?a[0]=c.chartX-n:a[1]=c.chartY-f));return a.map(Math.round)};n.prototype.getDateFormat=function(b,c,d,a){var g=this.chart.time,q=g.dateFormat("%m-%d %H:%M:%S.%L",c),f={millisecond:15,second:12,minute:9,hour:6,day:3},p="millisecond";for(r in w){if(b===w.week&&+g.dateFormat("%w",c)===d&&"00:00:00.000"===q.substr(6)){var r="week";break}if(w[r]>b){r=p;break}if(f[r]&&q.substr(f[r])!=="01-01 00:00:00.000".substr(f[r]))break;
+"week"!==r&&(p=r)}if(r)var k=g.resolveDTLFormat(a[r]).main;return k};n.prototype.getLabel=function(){var b=this,c=this.chart.renderer,d=this.chart.styledMode,a=this.options,f="tooltip"+(t(a.className)?" "+a.className:""),k=a.style&&a.style.pointerEvents||(!this.followPointer&&a.stickOnContact?"auto":"none"),n,p=function(){b.inContact=!0},r=function(){var a=b.chart.hoverSeries;b.inContact=!1;if(a&&a.onMouseOut)a.onMouseOut()};if(!this.label){if(this.outside){var l=this.chart.options.chart.style;this.container=
+n=h.doc.createElement("div");n.className="highcharts-tooltip-container";G(n,{position:"absolute",top:"1px",pointerEvents:k,zIndex:Math.max(this.options.style&&this.options.style.zIndex||0,(l&&l.zIndex||0)+3)});h.doc.body.appendChild(n);this.renderer=c=new h.Renderer(n,0,0,l,void 0,void 0,c.styledMode)}this.split?this.label=c.g(f):(this.label=c.label("",0,0,a.shape||"callout",null,null,a.useHTML,null,f).attr({padding:a.padding,r:a.borderRadius}),d||this.label.attr({fill:a.backgroundColor,"stroke-width":a.borderWidth}).css(a.style).css({pointerEvents:k}).shadow(a.shadow));
+d&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index));if(b.outside&&!b.split){var v=this.label,N=v.xSetter,m=v.ySetter;v.xSetter=function(a){N.call(v,b.distance);n.style.left=a+"px"};v.ySetter=function(a){m.call(v,b.distance);n.style.top=a+"px"}}this.label.on("mouseenter",p).on("mouseleave",r).attr({zIndex:8}).add()}return this.label};n.prototype.getPosition=function(b,c,d){var a=this.chart,g=this.distance,q={},f=a.inverted&&d.h||0,p,r=this.outside,k=r?E.documentElement.clientWidth-
+2*g:a.chartWidth,v=r?Math.max(E.body.scrollHeight,E.documentElement.scrollHeight,E.body.offsetHeight,E.documentElement.offsetHeight,E.documentElement.clientHeight):a.chartHeight,n=a.pointer.getChartPosition(),l=function(p){var q="x"===p;return[p,q?k:v,q?b:c].concat(r?[q?b*n.scaleX:c*n.scaleY,q?n.left-g+(d.plotX+a.plotLeft)*n.scaleX:n.top-g+(d.plotY+a.plotTop)*n.scaleY,0,q?k:v]:[q?b:c,q?d.plotX+a.plotLeft:d.plotY+a.plotTop,q?a.plotLeft:a.plotTop,q?a.plotLeft+a.plotWidth:a.plotTop+a.plotHeight])},m=
+l("y"),w=l("x"),u=!this.followPointer&&I(d.ttBelow,!a.inverted===!!d.negative),h=function(a,c,b,d,p,v,k){var l=r?"y"===a?g*n.scaleY:g*n.scaleX:g,B=(b-d)/2,J=d<p-g,M=p+g+d<c,N=p-l-b+B;p=p+l-B;if(u&&M)q[a]=p;else if(!u&&J)q[a]=N;else if(J)q[a]=Math.min(k-d,0>N-f?N:N-f);else if(M)q[a]=Math.max(v,p+f+b>c?p:p+f);else return!1},A=function(a,c,b,d,p){var r;p<g||p>c-g?r=!1:q[a]=p<b/2?1:p>c-d/2?c-d-2:p-b/2;return r},e=function(a){var c=m;m=w;w=c;p=a},R=function(){!1!==h.apply(0,m)?!1!==A.apply(0,w)||p||(e(!0),
+R()):p?q.x=q.y=0:(e(!0),R())};(a.inverted||1<this.len)&&e();R();return q};n.prototype.getXDateFormat=function(b,c,d){c=c.dateTimeLabelFormats;var a=d&&d.closestPointRange;return(a?this.getDateFormat(a,b.x,d.options.startOfWeek,c):c.day)||c.year};n.prototype.hide=function(b){var c=this;y.clearTimeout(this.hideTimer);b=I(b,this.options.hideDelay,500);this.isHidden||(this.hideTimer=d(function(){c.getLabel().fadeOut(b?void 0:b);c.isHidden=!0},b))};n.prototype.init=function(b,c){this.chart=b;this.options=
+c;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=c.split&&!b.inverted&&!b.polar;this.shared=c.shared||this.split;this.outside=I(c.outside,!(!b.scrollablePixelsX&&!b.scrollablePixelsY))};n.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)};n.prototype.move=function(b,c,d,a){var g=this,q=g.now,f=!1!==g.options.animation&&!g.isHidden&&(1<Math.abs(b-q.x)||1<Math.abs(c-q.y)),p=g.followPointer||1<g.len;m(q,{x:f?(2*q.x+b)/
+3:b,y:f?(q.y+c)/2:c,anchorX:p?void 0:f?(2*q.anchorX+d)/3:d,anchorY:p?void 0:f?(q.anchorY+a)/2:a});g.getLabel().attr(q);g.drawTracker();f&&(y.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){g&&g.move(b,c,d,a)},32))};n.prototype.refresh=function(g,c){var d=this.chart,a=this.options,n=k(g),l=n[0],m={},p=[],r=a.formatter||this.defaultFormatter;m=this.shared;var M=d.styledMode;if(a.enabled){y.clearTimeout(this.hideTimer);this.followPointer=!this.split&&l.series.tooltipOptions.followPointer;
+var v=this.getAnchor(g,c);var N=v[0];var K=v[1];!m||!b(g)&&g.series&&g.series.noSharedTooltip?m=l.getLabelConfig():(d.pointer.applyInactiveState(n),n.forEach(function(a){a.setState("hover");p.push(a.getLabelConfig())}),m={x:l.category,y:l.y},m.points=p);this.len=p.length;g=r.call(m,this);r=l.series;this.distance=I(r.tooltipOptions.distance,16);if(!1===g)this.hide();else{if(this.split)this.renderSplit(g,n);else if(n=N,m=K,c&&d.pointer.isDirectTouch&&(n=c.chartX-d.plotLeft,m=c.chartY-d.plotTop),d.polar||
+!1===r.options.clip||r.shouldShowTooltip(n,m))c=this.getLabel(),a.style.width&&!M||c.css({width:this.chart.spacingBox.width+"px"}),c.attr({text:g&&g.join?g.join(""):g}),c.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+I(l.colorIndex,r.colorIndex)),M||c.attr({stroke:a.borderColor||l.color||r.color||D.neutralColor60}),this.updatePosition({plotX:N,plotY:K,negative:l.negative,ttBelow:l.ttBelow,h:v[2]||0});else{this.hide();return}this.isHidden&&this.label&&this.label.attr({opacity:1}).show();
+this.isHidden=!1}f(this,"refresh")}};n.prototype.renderSplit=function(b,c){function g(c,b,g,d,p){void 0===p&&(p=!0);g?(b=W?0:da,c=C(c-d/2,S.left,S.right-d-(a.outside?y:0))):(b-=F,c=p?c-d-t:c+t,c=C(c,p?c:S.left,S.right));return{x:c,y:b}}var a=this,d=a.chart,f=a.chart,k=f.chartWidth,p=f.chartHeight,r=f.plotHeight,n=f.plotLeft,v=f.plotTop,l=f.pointer,K=f.scrollablePixelsY;K=void 0===K?0:K;var w=f.scrollablePixelsX,A=f.scrollingContainer;A=void 0===A?{scrollLeft:0,scrollTop:0}:A;var x=A.scrollLeft;A=
+A.scrollTop;var e=f.styledMode,t=a.distance,z=a.options,R=a.options.positioner,S=a.outside&&"number"!==typeof w?E.documentElement.getBoundingClientRect():{left:x,right:x+k,top:A,bottom:A+p},T=a.getLabel(),G=this.renderer||d.renderer,W=!(!d.xAxis[0]||!d.xAxis[0].opposite);d=l.getChartPosition();var y=d.left;d=d.top;var F=v+A,Q=0,da=r-K;u(b)&&(b=[!1,b]);b=b.slice(0,c.length+1).reduce(function(b,d,p){if(!1!==d&&""!==d){p=c[p-1]||{isHeader:!0,plotX:c[0].plotX,plotY:r,series:{}};var f=p.isHeader,q=f?a:
+p.series;d=d.toString();var k=q.tt,l=p.isHeader;var B=p.series;var M="highcharts-color-"+I(p.colorIndex,B.colorIndex,"none");k||(k={padding:z.padding,r:z.borderRadius},e||(k.fill=z.backgroundColor,k["stroke-width"]=z.borderWidth),k=G.label("",0,0,z[l?"headerShape":"shape"]||"callout",void 0,void 0,z.useHTML).addClass((l?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+M).attr(k).add(T));k.isActive=!0;k.attr({text:d});e||k.css(z.style).shadow(z.shadow).attr({stroke:z.borderColor||p.color||
+B.color||D.neutralColor80});q=q.tt=k;l=q.getBBox();d=l.width+q.strokeWidth();f&&(Q=l.height,da+=Q,W&&(F-=Q));B=p.plotX;B=void 0===B?0:B;M=p.plotY;M=void 0===M?0:M;k=p.series;if(p.isHeader){B=n+B;var J=v+r/2}else{var N=k.xAxis,m=k.yAxis;B=N.pos+C(B,-t,N.len+t);k.shouldShowTooltip(0,m.pos-v+M,{ignoreX:!0})&&(J=m.pos+M)}B=C(B,S.left-t,S.right+t);"number"===typeof J?(l=l.height+1,M=R?R.call(a,d,l,p):g(B,J,f,d),b.push({align:R?0:void 0,anchorX:B,anchorY:J,boxWidth:d,point:p,rank:I(M.rank,f?1:0),size:l,
+target:M.y,tt:q,x:M.x})):q.isActive=!1}return b},[]);!R&&b.some(function(c){var b=(a.outside?y:0)+c.anchorX;return b<S.left&&b+c.boxWidth<S.right?!0:b<y-S.left+c.boxWidth&&S.right-b>b})&&(b=b.map(function(a){var c=g(a.anchorX,a.anchorY,a.point.isHeader,a.boxWidth,!1);return m(a,{target:c.y,x:c.x})}));a.cleanSplit();h.distribute(b,da);var ba=y,P=y;b.forEach(function(c){var b=c.x,g=c.boxWidth;c=c.isHeader;c||(a.outside&&y+b<ba&&(ba=y+b),!c&&a.outside&&ba+g>P&&(P=y+b))});b.forEach(function(c){var b=
+c.x,g=c.anchorX,d=c.pos,p=c.point.isHeader;d={visibility:"undefined"===typeof d?"hidden":"inherit",x:b,y:d+F,anchorX:g,anchorY:c.anchorY};if(a.outside&&b<g){var r=y-ba;0<r&&(p||(d.x=b+r,d.anchorX=g+r),p&&(d.x=(P-ba)/2,d.anchorX=g+r))}c.tt.attr(d)});b=a.container;K=a.renderer;a.outside&&b&&K&&(f=T.getBBox(),K.setSize(f.width+f.x,f.height+f.y,!1),b.style.left=ba+"px",b.style.top=d+"px")};n.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();
+else{var b=this.chart,c=this.label,d=b.hoverPoint;if(c&&d){var a={x:0,y:0,width:0,height:0};d=this.getAnchor(d);var f=c.getBBox();d[0]+=b.plotLeft-c.translateX;d[1]+=b.plotTop-c.translateY;a.x=Math.min(0,d[0]);a.y=Math.min(0,d[1]);a.width=0>d[0]?Math.max(Math.abs(d[0]),f.width-d[0]):Math.max(Math.abs(d[0]),f.width);a.height=0>d[1]?Math.max(Math.abs(d[1]),f.height-Math.abs(d[1])):Math.max(Math.abs(d[1]),f.height);this.tracker?this.tracker.attr(a):(this.tracker=c.renderer.rect(a).addClass("highcharts-tracker").add(c),
+b.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}};n.prototype.styledModeFormat=function(b){return b.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')};n.prototype.tooltipFooterHeaderFormatter=function(b,c){var d=c?"footer":"header",a=b.series,g=a.tooltipOptions,k=g.xDateFormat,l=a.xAxis,p=l&&"datetime"===l.options.type&&A(b.key),r=g[d+"Format"];c={isFooter:c,labelConfig:b};f(this,"headerFormatter",
+c,function(c){p&&!k&&(k=this.getXDateFormat(b,g,l));p&&k&&(b.point&&b.point.tooltipDateKeys||["key"]).forEach(function(a){r=r.replace("{point."+a+"}","{point."+a+":"+k+"}")});a.chart.styledMode&&(r=this.styledModeFormat(r));c.text=F(r,{point:b,series:a},this.chart)});return c.text};n.prototype.update=function(b){this.destroy();l(!0,this.chart.options.tooltip.userOptions,b);this.init(this.chart,l(!0,this.options,b))};n.prototype.updatePosition=function(b){var c=this.chart,d=c.pointer,a=this.getLabel(),
+g=b.plotX+c.plotLeft;c=b.plotY+c.plotTop;d=d.getChartPosition();b=(this.options.positioner||this.getPosition).call(this,a.width,a.height,b);if(this.outside){var f=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(a.width+f,a.height+f,!1);if(1!==d.scaleX||1!==d.scaleY)G(this.container,{transform:"scale("+d.scaleX+", "+d.scaleY+")"}),g*=d.scaleX,c*=d.scaleY;g+=d.left-b.x;c+=d.top-b.y}this.move(Math.round(b.x),Math.round(b.y||0),g,c)};return n}();h.Tooltip=e;return h.Tooltip});P(e,
+"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Tooltip.js"],e["Core/Utilities.js"]],function(e,h,D,y,F){var E=e.parse,C=h.charts,G=h.noop,t=F.addEvent,z=F.attr,m=F.css,f=F.defined,b=F.extend,A=F.find,u=F.fireEvent,l=F.isNumber,I=F.isObject,k=F.objectEach,d=F.offset,w=F.pick,n=F.splat;"";e=function(){function g(c,b){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.eventsToUnbind=[];this.chart=c;this.hasDragged=!1;this.options=
+b;this.init(c,b)}g.prototype.applyInactiveState=function(c){var b=[],a;(c||[]).forEach(function(c){a=c.series;b.push(a);a.linkedParent&&b.push(a.linkedParent);a.linkedSeries&&(b=b.concat(a.linkedSeries));a.navigatorSeries&&b.push(a.navigatorSeries)});this.chart.series.forEach(function(a){-1===b.indexOf(a)?a.setState("inactive",!0):a.options.inactiveOtherPoints&&a.setAllPointsToState("inactive")})};g.prototype.destroy=function(){var c=this;this.eventsToUnbind.forEach(function(c){return c()});this.eventsToUnbind=
+[];h.chartCount||(h.unbindDocumentMouseUp&&(h.unbindDocumentMouseUp=h.unbindDocumentMouseUp()),h.unbindDocumentTouchEnd&&(h.unbindDocumentTouchEnd=h.unbindDocumentTouchEnd()));clearInterval(c.tooltipTimeout);k(c,function(b,a){c[a]=void 0})};g.prototype.drag=function(c){var b=this.chart,a=b.options.chart,d=c.chartX,g=c.chartY,f=this.zoomHor,p=this.zoomVert,r=b.plotLeft,k=b.plotTop,v=b.plotWidth,l=b.plotHeight,n=this.selectionMarker,m=this.mouseDownX||0,w=this.mouseDownY||0,u=I(a.panning)?a.panning&&
+a.panning.enabled:a.panning,h=a.panKey&&c[a.panKey+"Key"];if(!n||!n.touch)if(d<r?d=r:d>r+v&&(d=r+v),g<k?g=k:g>k+l&&(g=k+l),this.hasDragged=Math.sqrt(Math.pow(m-d,2)+Math.pow(w-g,2)),10<this.hasDragged){var A=b.isInsidePlot(m-r,w-k,{visiblePlotOnly:!0});b.hasCartesianSeries&&(this.zoomX||this.zoomY)&&A&&!h&&!n&&(this.selectionMarker=n=b.renderer.rect(r,k,f?1:v,p?1:l,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),b.styledMode||n.attr({fill:a.selectionMarkerFill||E(D.highlightColor80).setOpacity(.25).get()}));
+n&&f&&(d-=m,n.attr({width:Math.abs(d),x:(0<d?0:d)+m}));n&&p&&(d=g-w,n.attr({height:Math.abs(d),y:(0<d?0:d)+w}));A&&!n&&u&&b.pan(c,a.panning)}};g.prototype.dragStart=function(c){var b=this.chart;b.mouseIsDown=c.type;b.cancelClick=!1;b.mouseDownX=this.mouseDownX=c.chartX;b.mouseDownY=this.mouseDownY=c.chartY};g.prototype.drop=function(c){var d=this,a=this.chart,g=this.hasPinched;if(this.selectionMarker){var k={originalEvent:c,xAxis:[],yAxis:[]},n=this.selectionMarker,p=n.attr?n.attr("x"):n.x,r=n.attr?
+n.attr("y"):n.y,M=n.attr?n.attr("width"):n.width,v=n.attr?n.attr("height"):n.height,N;if(this.hasDragged||g)a.axes.forEach(function(a){if(a.zoomEnabled&&f(a.min)&&(g||d[{xAxis:"zoomX",yAxis:"zoomY"}[a.coll]])&&l(p)&&l(r)){var b=a.horiz,q="touchend"===c.type?a.minPixelPadding:0,n=a.toValue((b?p:r)+q);b=a.toValue((b?p+M:r+v)-q);k[a.coll].push({axis:a,min:Math.min(n,b),max:Math.max(n,b)});N=!0}}),N&&u(a,"selection",k,function(c){a.zoom(b(c,g?{animation:!1}:null))});l(a.index)&&(this.selectionMarker=
+this.selectionMarker.destroy());g&&this.scaleGroups()}a&&l(a.index)&&(m(a.container,{cursor:a._cursor}),a.cancelClick=10<this.hasDragged,a.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])};g.prototype.findNearestKDPoint=function(c,b,a){var d=this.chart,g=d.hoverPoint;d=d.tooltip;if(g&&d&&d.isStickyOnContact())return g;var f;c.forEach(function(c){var d=!(c.noSharedTooltip&&b)&&0>c.options.findNearestPointBy.indexOf("y");c=c.searchPoint(a,d);if((d=I(c,!0)&&c.series)&&!(d=!I(f,!0))){d=
+f.distX-c.distX;var g=f.dist-c.dist,p=(c.series.group&&c.series.group.zIndex)-(f.series.group&&f.series.group.zIndex);d=0<(0!==d&&b?d:0!==g?g:0!==p?p:f.series.index>c.series.index?-1:1)}d&&(f=c)});return f};g.prototype.getChartCoordinatesFromPoint=function(c,b){var a=c.series,d=a.xAxis;a=a.yAxis;var g=c.shapeArgs;if(d&&a){var f=w(c.clientX,c.plotX),p=c.plotY||0;c.isNode&&g&&l(g.x)&&l(g.y)&&(f=g.x,p=g.y);return b?{chartX:a.len+a.pos-p,chartY:d.len+d.pos-f}:{chartX:f+d.pos,chartY:p+a.pos}}if(g&&g.x&&
+g.y)return{chartX:g.x,chartY:g.y}};g.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var c=this.chart.container,b=d(c);this.chartPosition={left:b.left,top:b.top,scaleX:1,scaleY:1};var a=c.offsetWidth;c=c.offsetHeight;2<a&&2<c&&(this.chartPosition.scaleX=b.width/a,this.chartPosition.scaleY=b.height/c);return this.chartPosition};g.prototype.getCoordinates=function(c){var b={xAxis:[],yAxis:[]};this.chart.axes.forEach(function(a){b[a.isXAxis?"xAxis":"yAxis"].push({axis:a,
+value:a.toValue(c[a.horiz?"chartX":"chartY"])})});return b};g.prototype.getHoverData=function(c,b,a,d,g,f){var p,r=[];d=!(!d||!c);var k=b&&!b.stickyTracking,v={chartX:f?f.chartX:void 0,chartY:f?f.chartY:void 0,shared:g};u(this,"beforeGetHoverData",v);k=k?[b]:a.filter(function(a){return v.filter?v.filter(a):a.visible&&!(!g&&a.directTouch)&&w(a.options.enableMouseTracking,!0)&&a.stickyTracking});b=(p=d||!f?c:this.findNearestKDPoint(k,g,f))&&p.series;p&&(g&&!b.noSharedTooltip?(k=a.filter(function(a){return v.filter?
+v.filter(a):a.visible&&!(!g&&a.directTouch)&&w(a.options.enableMouseTracking,!0)&&!a.noSharedTooltip}),k.forEach(function(a){var c=A(a.points,function(a){return a.x===p.x&&!a.isNull});I(c)&&(a.chart.isBoosting&&(c=a.getPoint(c)),r.push(c))})):r.push(p));v={hoverPoint:p};u(this,"afterGetHoverData",v);return{hoverPoint:v.hoverPoint,hoverSeries:b,hoverPoints:r}};g.prototype.getPointFromEvent=function(c){c=c.target;for(var b;c&&!b;)b=c.point,c=c.parentNode;return b};g.prototype.onTrackerMouseOut=function(c){c=
+c.relatedTarget||c.toElement;var b=this.chart.hoverSeries;this.isDirectTouch=!1;if(!(!b||!c||b.stickyTracking||this.inClass(c,"highcharts-tooltip")||this.inClass(c,"highcharts-series-"+b.index)&&this.inClass(c,"highcharts-tracker")))b.onMouseOut()};g.prototype.inClass=function(c,b){for(var a;c;){if(a=z(c,"class")){if(-1!==a.indexOf(b))return!0;if(-1!==a.indexOf("highcharts-container"))return!1}c=c.parentNode}};g.prototype.init=function(c,b){this.options=b;this.chart=c;this.runChartClick=!(!b.chart.events||
+!b.chart.events.click);this.pinchDown=[];this.lastValidTouch={};y&&(c.tooltip=new y(c,b.tooltip),this.followTouchMove=w(b.tooltip.followTouchMove,!0));this.setDOMEvents()};g.prototype.normalize=function(c,d){var a=c.touches,g=a?a.length?a.item(0):w(a.changedTouches,c.changedTouches)[0]:c;d||(d=this.getChartPosition());a=g.pageX-d.left;g=g.pageY-d.top;a/=d.scaleX;g/=d.scaleY;return b(c,{chartX:Math.round(a),chartY:Math.round(g)})};g.prototype.onContainerClick=function(c){var d=this.chart,a=d.hoverPoint;
+c=this.normalize(c);var g=d.plotLeft,f=d.plotTop;d.cancelClick||(a&&this.inClass(c.target,"highcharts-tracker")?(u(a.series,"click",b(c,{point:a})),d.hoverPoint&&a.firePointEvent("click",c)):(b(c,this.getCoordinates(c)),d.isInsidePlot(c.chartX-g,c.chartY-f,{visiblePlotOnly:!0})&&u(d,"click",c)))};g.prototype.onContainerMouseDown=function(c){var b=1===((c.buttons||c.button)&1);c=this.normalize(c);if(h.isFirefox&&0!==c.button)this.onContainerMouseMove(c);if("undefined"===typeof c.button||b)this.zoomOption(c),
+b&&c.preventDefault&&c.preventDefault(),this.dragStart(c)};g.prototype.onContainerMouseLeave=function(c){var b=C[w(h.hoverChartIndex,-1)],a=this.chart.tooltip;c=this.normalize(c);b&&(c.relatedTarget||c.toElement)&&(b.pointer.reset(),b.pointer.chartPosition=void 0);a&&!a.isHidden&&this.reset()};g.prototype.onContainerMouseEnter=function(c){delete this.chartPosition};g.prototype.onContainerMouseMove=function(c){var b=this.chart;c=this.normalize(c);this.setHoverChartIndex();c.preventDefault||(c.returnValue=
+!1);("mousedown"===b.mouseIsDown||this.touchSelect(c))&&this.drag(c);b.openMenu||!this.inClass(c.target,"highcharts-tracker")&&!b.isInsidePlot(c.chartX-b.plotLeft,c.chartY-b.plotTop,{visiblePlotOnly:!0})||this.runPointActions(c)};g.prototype.onDocumentTouchEnd=function(c){C[h.hoverChartIndex]&&C[h.hoverChartIndex].pointer.drop(c)};g.prototype.onContainerTouchMove=function(c){if(this.touchSelect(c))this.onContainerMouseMove(c);else this.touch(c)};g.prototype.onContainerTouchStart=function(c){if(this.touchSelect(c))this.onContainerMouseDown(c);
+else this.zoomOption(c),this.touch(c,!0)};g.prototype.onDocumentMouseMove=function(c){var b=this.chart,a=this.chartPosition;c=this.normalize(c,a);var d=b.tooltip;!a||d&&d.isStickyOnContact()||b.isInsidePlot(c.chartX-b.plotLeft,c.chartY-b.plotTop,{visiblePlotOnly:!0})||this.inClass(c.target,"highcharts-tracker")||this.reset()};g.prototype.onDocumentMouseUp=function(c){var b=C[w(h.hoverChartIndex,-1)];b&&b.pointer.drop(c)};g.prototype.pinch=function(c){var d=this,a=d.chart,g=d.pinchDown,f=c.touches||
+[],k=f.length,p=d.lastValidTouch,r=d.hasZoom,n=d.selectionMarker,v={},l=1===k&&(d.inClass(c.target,"highcharts-tracker")&&a.runTrackerClick||d.runChartClick),m={};1<k&&(d.initiated=!0);r&&d.initiated&&!l&&!1!==c.cancelable&&c.preventDefault();[].map.call(f,function(a){return d.normalize(a)});"touchstart"===c.type?([].forEach.call(f,function(a,c){g[c]={chartX:a.chartX,chartY:a.chartY}}),p.x=[g[0].chartX,g[1]&&g[1].chartX],p.y=[g[0].chartY,g[1]&&g[1].chartY],a.axes.forEach(function(c){if(c.zoomEnabled){var b=
+a.bounds[c.horiz?"h":"v"],d=c.minPixelPadding,g=c.toPixels(Math.min(w(c.options.min,c.dataMin),c.dataMin)),p=c.toPixels(Math.max(w(c.options.max,c.dataMax),c.dataMax)),f=Math.max(g,p);b.min=Math.min(c.pos,Math.min(g,p)-d);b.max=Math.max(c.pos+c.len,f+d)}}),d.res=!0):d.followTouchMove&&1===k?this.runPointActions(d.normalize(c)):g.length&&(n||(d.selectionMarker=n=b({destroy:G,touch:!0},a.plotBox)),d.pinchTranslate(g,f,v,n,m,p),d.hasPinched=r,d.scaleGroups(v,m),d.res&&(d.res=!1,this.reset(!1,0)))};g.prototype.pinchTranslate=
+function(c,b,a,d,g,f){this.zoomHor&&this.pinchTranslateDirection(!0,c,b,a,d,g,f);this.zoomVert&&this.pinchTranslateDirection(!1,c,b,a,d,g,f)};g.prototype.pinchTranslateDirection=function(c,b,a,d,g,f,p,r){var k=this.chart,v=c?"x":"y",n=c?"X":"Y",l="chart"+n,q=c?"width":"height",m=k["plot"+(c?"Left":"Top")],B,J,w=r||1,u=k.inverted,h=k.bounds[c?"h":"v"],A=1===b.length,e=b[0][l],O=a[0][l],I=!A&&b[1][l],t=!A&&a[1][l];a=function(){"number"===typeof t&&20<Math.abs(e-I)&&(w=r||Math.abs(O-t)/Math.abs(e-I));
+J=(m-O)/w+e;B=k["plot"+(c?"Width":"Height")]/w};a();b=J;if(b<h.min){b=h.min;var z=!0}else b+B>h.max&&(b=h.max-B,z=!0);z?(O-=.8*(O-p[v][0]),"number"===typeof t&&(t-=.8*(t-p[v][1])),a()):p[v]=[O,t];u||(f[v]=J-m,f[q]=B);f=u?1/w:w;g[q]=B;g[v]=b;d[u?c?"scaleY":"scaleX":"scale"+n]=w;d["translate"+n]=f*m+(O-f*e)};g.prototype.reset=function(c,b){var a=this.chart,d=a.hoverSeries,g=a.hoverPoint,f=a.hoverPoints,p=a.tooltip,r=p&&p.shared?f:g;c&&r&&n(r).forEach(function(a){a.series.isCartesian&&"undefined"===
+typeof a.plotX&&(c=!1)});if(c)p&&r&&n(r).length&&(p.refresh(r),p.shared&&f?f.forEach(function(a){a.setState(a.state,!0);a.series.isCartesian&&(a.series.xAxis.crosshair&&a.series.xAxis.drawCrosshair(null,a),a.series.yAxis.crosshair&&a.series.yAxis.drawCrosshair(null,a))}):g&&(g.setState(g.state,!0),a.axes.forEach(function(a){a.crosshair&&g.series[a.coll]===a&&a.drawCrosshair(null,g)})));else{if(g)g.onMouseOut();f&&f.forEach(function(a){a.setState()});if(d)d.onMouseOut();p&&p.hide(b);this.unDocMouseMove&&
+(this.unDocMouseMove=this.unDocMouseMove());a.axes.forEach(function(a){a.hideCrosshair()});this.hoverX=a.hoverPoints=a.hoverPoint=null}};g.prototype.runPointActions=function(c,b){var a=this.chart,d=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,g=d?d.shared:!1,f=b||a.hoverPoint,p=f&&f.series||a.hoverSeries;p=this.getHoverData(f,p,a.series,(!c||"touchmove"!==c.type)&&(!!b||p&&p.directTouch&&this.isDirectTouch),g,c);f=p.hoverPoint;var r=p.hoverPoints;b=(p=p.hoverSeries)&&p.tooltipOptions.followPointer&&
+!p.tooltipOptions.split;g=g&&p&&!p.noSharedTooltip;if(f&&(f!==a.hoverPoint||d&&d.isHidden)){(a.hoverPoints||[]).forEach(function(a){-1===r.indexOf(a)&&a.setState()});if(a.hoverSeries!==p)p.onMouseOver();this.applyInactiveState(r);(r||[]).forEach(function(a){a.setState("hover")});a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut");if(!f.series)return;a.hoverPoints=r;a.hoverPoint=f;f.firePointEvent("mouseOver");d&&d.refresh(g?r:f,c)}else b&&d&&!d.isHidden&&(f=d.getAnchor([{}],c),a.isInsidePlot(f[0],
+f[1],{visiblePlotOnly:!0})&&d.updatePosition({plotX:f[0],plotY:f[1]}));this.unDocMouseMove||(this.unDocMouseMove=t(a.container.ownerDocument,"mousemove",function(a){var c=C[h.hoverChartIndex];if(c)c.pointer.onDocumentMouseMove(a)}),this.eventsToUnbind.push(this.unDocMouseMove));a.axes.forEach(function(b){var d=w((b.crosshair||{}).snap,!0),g;d&&((g=a.hoverPoint)&&g.series[b.coll]===b||(g=A(r,function(a){return a.series[b.coll]===b})));g||!d?b.drawCrosshair(c,g):b.hideCrosshair()})};g.prototype.scaleGroups=
+function(c,b){var a=this.chart,d;a.series.forEach(function(g){d=c||g.getPlotBox();g.xAxis&&g.xAxis.zoomEnabled&&g.group&&(g.group.attr(d),g.markerGroup&&(g.markerGroup.attr(d),g.markerGroup.clip(b?a.clipRect:null)),g.dataLabelsGroup&&g.dataLabelsGroup.attr(d))});a.clipRect.attr(b||a.clipBox)};g.prototype.setDOMEvents=function(){var c=this,b=this.chart.container,a=b.ownerDocument;b.onmousedown=this.onContainerMouseDown.bind(this);b.onmousemove=this.onContainerMouseMove.bind(this);b.onclick=this.onContainerClick.bind(this);
+this.eventsToUnbind.push(t(b,"mouseenter",this.onContainerMouseEnter.bind(this)));this.eventsToUnbind.push(t(b,"mouseleave",this.onContainerMouseLeave.bind(this)));h.unbindDocumentMouseUp||(h.unbindDocumentMouseUp=t(a,"mouseup",this.onDocumentMouseUp.bind(this)));for(var d=this.chart.renderTo.parentElement;d&&"BODY"!==d.tagName;)this.eventsToUnbind.push(t(d,"scroll",function(){delete c.chartPosition})),d=d.parentElement;h.hasTouch&&(this.eventsToUnbind.push(t(b,"touchstart",this.onContainerTouchStart.bind(this),
+{passive:!1})),this.eventsToUnbind.push(t(b,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),h.unbindDocumentTouchEnd||(h.unbindDocumentTouchEnd=t(a,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};g.prototype.setHoverChartIndex=function(){var c=this.chart,b=h.charts[w(h.hoverChartIndex,-1)];if(b&&b!==c)b.pointer.onContainerMouseLeave({relatedTarget:!0});b&&b.mouseIsDown||(h.hoverChartIndex=c.index)};g.prototype.touch=function(c,b){var a=this.chart,d;this.setHoverChartIndex();
+if(1===c.touches.length)if(c=this.normalize(c),(d=a.isInsidePlot(c.chartX-a.plotLeft,c.chartY-a.plotTop,{visiblePlotOnly:!0}))&&!a.openMenu){b&&this.runPointActions(c);if("touchmove"===c.type){b=this.pinchDown;var g=b[0]?4<=Math.sqrt(Math.pow(b[0].chartX-c.chartX,2)+Math.pow(b[0].chartY-c.chartY,2)):!1}w(g,!0)&&this.pinch(c)}else b&&this.reset();else 2===c.touches.length&&this.pinch(c)};g.prototype.touchSelect=function(c){return!(!this.chart.options.chart.zoomBySingleTouch||!c.touches||1!==c.touches.length)};
+g.prototype.zoomOption=function(c){var b=this.chart,a=b.options.chart,d=a.zoomType||"";b=b.inverted;/touch/.test(c.type)&&(d=w(a.pinchType,d));this.zoomX=c=/x/.test(d);this.zoomY=d=/y/.test(d);this.zoomHor=c&&!b||d&&b;this.zoomVert=d&&!b||c&&b;this.hasZoom=c||d};return g}();return h.Pointer=e});P(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(e,h,D){function y(){var b=[];b.item=function(b){return this[b]};f(A,function(f){b.push({pageX:f.pageX,pageY:f.pageY,
+target:f.target})});return b}function F(b,f,k,d){"touch"!==b.pointerType&&b.pointerType!==b.MSPOINTER_TYPE_TOUCH||!C[e.hoverChartIndex]||(d(b),d=C[e.hoverChartIndex].pointer,d[f]({type:k,target:b.currentTarget,preventDefault:t,touches:y()}))}var E=this&&this.__extends||function(){var b=function(f,k){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var d in f)f.hasOwnProperty(d)&&(b[d]=f[d])};return b(f,k)};return function(f,k){function d(){this.constructor=
+f}b(f,k);f.prototype=null===k?Object.create(k):(d.prototype=k.prototype,new d)}}(),C=e.charts,G=e.doc,t=e.noop,z=D.addEvent,m=D.css,f=D.objectEach,b=D.removeEvent,A={},u=!!e.win.PointerEvent;return function(f){function l(){return null!==f&&f.apply(this,arguments)||this}E(l,f);l.prototype.batchMSEvents=function(b){b(this.chart.container,u?"pointerdown":"MSPointerDown",this.onContainerPointerDown);b(this.chart.container,u?"pointermove":"MSPointerMove",this.onContainerPointerMove);b(G,u?"pointerup":
+"MSPointerUp",this.onDocumentPointerUp)};l.prototype.destroy=function(){this.batchMSEvents(b);f.prototype.destroy.call(this)};l.prototype.init=function(b,d){f.prototype.init.call(this,b,d);this.hasZoom&&m(b.container,{"-ms-touch-action":"none","touch-action":"none"})};l.prototype.onContainerPointerDown=function(b){F(b,"onContainerTouchStart","touchstart",function(b){A[b.pointerId]={pageX:b.pageX,pageY:b.pageY,target:b.currentTarget}})};l.prototype.onContainerPointerMove=function(b){F(b,"onContainerTouchMove",
+"touchmove",function(b){A[b.pointerId]={pageX:b.pageX,pageY:b.pageY};A[b.pointerId].target||(A[b.pointerId].target=b.currentTarget)})};l.prototype.onDocumentPointerUp=function(b){F(b,"onDocumentTouchEnd","touchend",function(b){delete A[b.pointerId]})};l.prototype.setDOMEvents=function(){f.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(z)};return l}(h)});P(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],
+e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Options.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E){var C=h.animObject,G=D.format,t=F.defaultOptions,z=E.addEvent,m=E.defined,f=E.erase,b=E.extend,A=E.fireEvent,u=E.getNestedProperty,l=E.isArray,I=E.isFunction,k=E.isNumber,d=E.isObject,w=E.merge,n=E.objectEach,g=E.pick,c=E.syncTimeout,q=E.removeEvent,a=E.uniqueKey;"";h=function(){function B(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;
+this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=this.series=void 0;this.visible=!0;this.x=void 0}B.prototype.animateBeforeDestroy=function(){var a=this,c={x:a.startXPos,opacity:0},d,g=a.getGraphicalProps();g.singular.forEach(function(b){d="dataLabel"===b;a[b]=a[b].animate(d?{x:a[b].startXPos,y:a[b].startYPos,opacity:0}:c)});g.plural.forEach(function(c){a[c].forEach(function(c){c.element&&c.animate(b({x:a.startXPos},c.startYPos?{x:c.startXPos,y:c.startYPos}:{}))})})};B.prototype.applyOptions=
+function(a,c){var d=this.series,f=d.options.pointValKey||d.pointValKey;a=B.prototype.optionsToObject.call(this,a);b(this,a);this.options=this.options?b(this.options,a):a;a.group&&delete this.group;a.dataLabels&&delete this.dataLabels;f&&(this.y=B.prototype.getNestedProperty.call(this,f));this.formatPrefix=(this.isNull=g(this.isValid&&!this.isValid(),null===this.x||!k(this.y)))?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof c&&d.xAxis&&d.xAxis.hasNames&&(this.x=
+d.xAxis.nameToX(this));"undefined"===typeof this.x&&d&&(this.x="undefined"===typeof c?d.autoIncrement(this):c);return this};B.prototype.destroy=function(){function a(){if(b.graphic||b.dataLabel||b.dataLabels)q(b),b.destroyElements();for(n in b)b[n]=null}var b=this,d=b.series,g=d.chart;d=d.options.dataSorting;var k=g.hoverPoints,v=C(b.series.chart.renderer.globalAnimation),n;b.legendItem&&g.legend.destroyItem(b);k&&(b.setState(),f(k,b),k.length||(g.hoverPoints=null));if(b===g.hoverPoint)b.onMouseOut();
+d&&d.enabled?(this.animateBeforeDestroy(),c(a,v.duration)):a();g.pointCount--};B.prototype.destroyElements=function(a){var c=this;a=c.getGraphicalProps(a);a.singular.forEach(function(a){c[a]=c[a].destroy()});a.plural.forEach(function(a){c[a].forEach(function(a){a.element&&a.destroy()});delete c[a]})};B.prototype.firePointEvent=function(a,c,b){var d=this,g=this.series.options;(g.point.events[a]||d.options&&d.options.events&&d.options.events[a])&&d.importEvents();"click"===a&&g.allowPointSelect&&(b=
+function(a){d.select&&d.select(null,a.ctrlKey||a.metaKey||a.shiftKey)});A(d,a,c,b)};B.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};
+B.prototype.getGraphicalProps=function(a){var c=this,b=[],d,g={singular:[],plural:[]};a=a||{graphic:1,dataLabel:1};a.graphic&&b.push("graphic","upperGraphic","shadowGroup");a.dataLabel&&b.push("dataLabel","dataLabelUpper","connector");for(d=b.length;d--;){var f=b[d];c[f]&&g.singular.push(f)}["dataLabel","connector"].forEach(function(b){var d=b+"s";a[b]&&c[d]&&g.plural.push(d)});return g};B.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,
+key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}};B.prototype.getNestedProperty=function(a){if(a)return 0===a.indexOf("custom.")?u(a,this.options):this[a]};B.prototype.getZone=function(){var a=this.series,c=a.zones;a=a.zoneAxis||"y";var b=0,d;for(d=c[b];this[a]>=d.value;)d=c[++b];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=d&&d.color&&!this.options.color?d.color:this.nonZonedColor;return d};B.prototype.hasNewShapeType=
+function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};B.prototype.init=function(c,b,d){this.series=c;this.applyOptions(b,d);this.id=m(this.id)?this.id:a();this.resolveColor();c.chart.pointCount++;A(this,"afterInit");return this};B.prototype.optionsToObject=function(a){var c={},b=this.series,d=b.options.keys,g=d||b.pointArrayMap||["y"],f=g.length,n=0,q=0;if(k(a)||null===a)c[g[0]]=a;else if(l(a))for(!d&&a.length>f&&(b=typeof a[0],"string"===b?c.name=
+a[0]:"number"===b&&(c.x=a[0]),n++);q<f;)d&&"undefined"===typeof a[n]||(0<g[q].indexOf(".")?B.prototype.setNestedProperty(c,a[n],g[q]):c[g[q]]=a[n]),n++,q++;else"object"===typeof a&&(c=a,a.dataLabels&&(b._hasPointLabels=!0),a.marker&&(b._hasPointMarkers=!0));return c};B.prototype.resolveColor=function(){var a=this.series;var c=a.chart.options.chart.colorCount;var b=a.chart.styledMode;delete this.nonZonedColor;if(a.options.colorByPoint){if(!b){c=a.options.colors||a.chart.options.colors;var d=c[a.colorCounter];
+c=c.length}b=a.colorCounter;a.colorCounter++;a.colorCounter===c&&(a.colorCounter=0)}else b||(d=a.color),b=a.colorIndex;this.colorIndex=g(this.options.colorIndex,b);this.color=g(this.options.color,d)};B.prototype.setNestedProperty=function(a,c,b){b.split(".").reduce(function(a,b,g,f){a[b]=f.length-1===g?c:d(a[b],!0)?a[b]:{};return a[b]},a);return a};B.prototype.tooltipFormatter=function(a){var c=this.series,b=c.tooltipOptions,d=g(b.valueDecimals,""),f=b.valuePrefix||"",k=b.valueSuffix||"";c.chart.styledMode&&
+(a=c.chart.tooltip.styledModeFormat(a));(c.pointArrayMap||["y"]).forEach(function(c){c="{point."+c;if(f||k)a=a.replace(RegExp(c+"}","g"),f+c+"}"+k);a=a.replace(RegExp(c+"}","g"),c+":,."+d+"f}")});return G(a,{point:this,series:this.series},c.chart)};B.prototype.update=function(a,c,b,f){function p(){k.applyOptions(a);var f=n&&k.hasDummyGraphic;f=null===k.y?!f:f;n&&f&&(k.graphic=n.destroy(),delete k.hasDummyGraphic);d(a,!0)&&(n&&n.element&&a&&a.marker&&"undefined"!==typeof a.marker.symbol&&(k.graphic=
+n.destroy()),a&&a.dataLabels&&k.dataLabel&&(k.dataLabel=k.dataLabel.destroy()),k.connector&&(k.connector=k.connector.destroy()));l=k.index;r.updateParallelArrays(k,l);m.data[l]=d(m.data[l],!0)||d(a,!0)?k.options:g(a,m.data[l]);r.isDirty=r.isDirtyData=!0;!r.fixedBox&&r.hasCartesianSeries&&(q.isDirtyBox=!0);"point"===m.legendType&&(q.isDirtyLegend=!0);c&&q.redraw(b)}var k=this,r=k.series,n=k.graphic,l,q=r.chart,m=r.options;c=g(c,!0);!1===f?p():k.firePointEvent("update",{options:a},p)};B.prototype.remove=
+function(a,c){this.series.removePoint(this.series.data.indexOf(this),a,c)};B.prototype.select=function(a,c){var b=this,d=b.series,f=d.chart;this.selectedStaging=a=g(a,!b.selected);b.firePointEvent(a?"select":"unselect",{accumulate:c},function(){b.selected=b.options.selected=a;d.options.data[d.data.indexOf(b)]=b.options;b.setState(a&&"select");c||f.getSelectedPoints().forEach(function(a){var c=a.series;a.selected&&a!==b&&(a.selected=a.options.selected=!1,c.options.data[c.data.indexOf(a)]=a.options,
+a.setState(f.hoverPoints&&c.options.inactiveOtherPoints?"inactive":""),a.firePointEvent("unselect"))})});delete this.selectedStaging};B.prototype.onMouseOver=function(a){var c=this.series.chart,b=c.pointer;a=a?b.normalize(a):b.getChartCoordinatesFromPoint(this,c.inverted);b.runPointActions(a,this)};B.prototype.onMouseOut=function(){var a=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(a.hoverPoints||[]).forEach(function(a){a.setState()});a.hoverPoints=a.hoverPoint=
+null};B.prototype.importEvents=function(){if(!this.hasImportedEvents){var a=this,c=w(a.series.options.point,a.options).events;a.events=c;n(c,function(c,b){I(c)&&z(a,b,c)});this.hasImportedEvents=!0}};B.prototype.setState=function(a,c){var d=this.series,f=this.state,n=d.options.states[a||"normal"]||{},v=t.plotOptions[d.type].marker&&d.options.marker,l=v&&!1===v.enabled,q=v&&v.states&&v.states[a||"normal"]||{},m=!1===q.enabled,B=d.stateMarkerGraphic,w=this.marker||{},u=d.chart,h=d.halo,J,R=v&&d.markerAttribs;
+a=a||"";if(!(a===this.state&&!c||this.selected&&"select"!==a||!1===n.enabled||a&&(m||l&&!1===q.enabled)||a&&w.states&&w.states[a]&&!1===w.states[a].enabled)){this.state=a;R&&(J=d.markerAttribs(this,a));if(this.graphic&&!this.hasDummyGraphic){f&&this.graphic.removeClass("highcharts-point-"+f);a&&this.graphic.addClass("highcharts-point-"+a);if(!u.styledMode){var I=d.pointAttribs(this,a);var z=g(u.options.chart.animation,n.animation);d.options.inactiveOtherPoints&&k(I.opacity)&&((this.dataLabels||[]).forEach(function(a){a&&
+a.animate({opacity:I.opacity},z)}),this.connector&&this.connector.animate({opacity:I.opacity},z));this.graphic.animate(I,z)}J&&this.graphic.animate(J,g(u.options.chart.animation,q.animation,v.animation));B&&B.hide()}else{if(a&&q){f=w.symbol||d.symbol;B&&B.currentSymbol!==f&&(B=B.destroy());if(J)if(B)B[c?"animate":"attr"]({x:J.x,y:J.y});else f&&(d.stateMarkerGraphic=B=u.renderer.symbol(f,J.x,J.y,J.width,J.height).add(d.markerGroup),B.currentSymbol=f);!u.styledMode&&B&&B.attr(d.pointAttribs(this,a))}B&&
+(B[a&&this.isInside?"show":"hide"](),B.element.point=this)}n=n.halo;J=(B=this.graphic||B)&&B.visibility||"inherit";n&&n.size&&B&&"hidden"!==J&&!this.isCluster?(h||(d.halo=h=u.renderer.path().add(B.parentGroup)),h.show()[c?"animate":"attr"]({d:this.haloPath(n.size)}),h.attr({"class":"highcharts-halo highcharts-color-"+g(this.colorIndex,d.colorIndex)+(this.className?" "+this.className:""),visibility:J,zIndex:-1}),h.point=this,u.styledMode||h.attr(b({fill:this.color||d.color,"fill-opacity":n.opacity},
+e.filterUserAttributes(n.attributes||{})))):h&&h.point&&h.point.haloPath&&h.animate({d:h.point.haloPath(0)},null,h.hide);A(this,"afterSetState",{state:a})}};B.prototype.haloPath=function(a){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-a,this.plotY-a,2*a,2*a)};return B}();return y.Point=h});P(e,"Core/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,h,D,y,F){var E=
+e.animObject,C=e.setAnimation,G=h.format;e=D.isFirefox;var t=D.marginNames;h=D.win;var z=F.addEvent,m=F.createElement,f=F.css,b=F.defined,A=F.discardElement,u=F.find,l=F.fireEvent,I=F.isNumber,k=F.merge,d=F.pick,w=F.relativeLength,n=F.stableSort,g=F.syncTimeout;F=F.wrap;var c=function(){function c(a,c){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=
+this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options={};this.padding=0;this.pages=[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=a;this.init(a,c)}c.prototype.init=function(a,c){this.chart=a;this.setOptions(c);c.enabled&&(this.render(),z(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=z(this.chart,
+"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};c.prototype.setOptions=function(a){var c=d(a.padding,8);this.options=a;this.chart.styledMode||(this.itemStyle=a.itemStyle,this.itemHiddenStyle=k(this.itemStyle,a.itemHiddenStyle));this.itemMarginTop=a.itemMarginTop||0;this.itemMarginBottom=a.itemMarginBottom||0;this.padding=c;this.initialItemY=c-5;this.symbolWidth=d(a.symbolWidth,16);this.pages=[];this.proximate="proximate"===
+a.layout&&!this.chart.inverted;this.baseline=void 0};c.prototype.update=function(a,c){var b=this.chart;this.setOptions(k(!0,this.options,a));this.destroy();b.isDirtyLegend=b.isDirtyBox=!0;d(c,!0)&&b.redraw();l(this,"afterUpdate")};c.prototype.colorizeItem=function(a,c){a.legendGroup[c?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var b=this.options,d=a.legendItem,g=a.legendLine,f=a.legendSymbol,k=this.itemHiddenStyle.color;b=c?b.itemStyle.color:k;var n=c?a.color||
+k:k,m=a.options&&a.options.marker,q={fill:n};d&&d.css({fill:b,color:b});g&&g.attr({stroke:n});f&&(m&&f.isMarker&&(q=a.pointAttribs(),c||(q.stroke=q.fill=k)),f.attr(q))}l(this,"afterColorizeItem",{item:a,visible:c})};c.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};c.prototype.positionItem=function(a){var c=this,d=this.options,g=d.symbolPadding,f=!d.rtl,k=a._legendItemPos;d=k[0];k=k[1];var n=a.checkbox,v=a.legendGroup;
+v&&v.element&&(g={translateX:f?d:this.legendWidth-d-2*g-4,translateY:k},f=function(){l(c,"afterPositionItem",{item:a})},b(v.translateY)?v.animate(g,void 0,f):(v.attr(g),f()));n&&(n.x=d,n.y=k)};c.prototype.destroyItem=function(a){var c=a.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(c){a[c]&&(a[c]=a[c].destroy())});c&&A(a.checkbox)};c.prototype.destroy=function(){function a(a){this[a]&&(this[a]=this[a].destroy())}this.getAllItems().forEach(function(c){["legendItem",
+"legendGroup"].forEach(a,c)});"clipRect up down pager nav box title group".split(" ").forEach(a,this);this.display=null};c.prototype.positionCheckboxes=function(){var a=this.group&&this.group.alignAttr,c=this.clipHeight||this.legendHeight,b=this.titleHeight;if(a){var d=a.translateY;this.allItems.forEach(function(g){var k=g.checkbox;if(k){var p=d+b+k.y+(this.scrollOffset||0)+3;f(k,{left:a.translateX+g.checkboxOffset+k.x-20+"px",top:p+"px",display:this.proximate||p>d-6&&p<d+c-6?"":"none"})}},this)}};
+c.prototype.renderTitle=function(){var a=this.options,c=this.padding,b=a.title,d=0;b.text&&(this.title||(this.title=this.chart.renderer.label(b.text,c-3,c-4,null,null,null,a.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(b.style),this.title.add(this.group)),b.width||this.title.css({width:this.maxLegendWidth+"px"}),a=this.title.getBBox(),d=a.height,this.offsetWidth=a.width,this.contentGroup.attr({translateY:d}));this.titleHeight=d};c.prototype.setText=function(a){var c=
+this.options;a.legendItem.attr({text:c.labelFormat?G(c.labelFormat,a,this.chart):c.labelFormatter.call(a)})};c.prototype.renderItem=function(a){var c=this.chart,b=c.renderer,g=this.options,f=this.symbolWidth,n=g.symbolPadding||0,l=this.itemStyle,v=this.itemHiddenStyle,m="horizontal"===g.layout?d(g.itemDistance,20):0,q=!g.rtl,w=a.legendItem,u=!a.series,h=!u&&a.series.drawLegendSymbol?a.series:a,e=h.options,A=this.createCheckboxForItem&&e&&e.showCheckbox;e=f+n+m+(A?20:0);var t=g.useHTML,R=a.options.className;
+w||(a.legendGroup=b.g("legend-item").addClass("highcharts-"+h.type+"-series highcharts-color-"+a.colorIndex+(R?" "+R:"")+(u?" highcharts-series-"+a.index:"")).attr({zIndex:1}).add(this.scrollGroup),a.legendItem=w=b.text("",q?f+n:-n,this.baseline||0,t),c.styledMode||w.css(k(a.visible?l:v)),w.attr({align:q?"left":"right",zIndex:2}).add(a.legendGroup),this.baseline||(this.fontMetrics=b.fontMetrics(c.styledMode?12:l.fontSize,w),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,w.attr("y",this.baseline),
+this.symbolHeight=g.symbolHeight||this.fontMetrics.f,g.squareSymbol&&(this.symbolWidth=d(g.symbolWidth,Math.max(this.symbolHeight,16)),e=this.symbolWidth+n+m+(A?20:0),q&&w.attr("x",this.symbolWidth+n))),h.drawLegendSymbol(this,a),this.setItemEvents&&this.setItemEvents(a,w,t));A&&!a.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(a);this.colorizeItem(a,a.visible);!c.styledMode&&l.width||w.css({width:(g.itemWidth||this.widthOption||c.spacingBox.width)-e+"px"});this.setText(a);c=w.getBBox();
+a.itemWidth=a.checkboxOffset=g.itemWidth||a.legendItemWidth||c.width+e;this.maxItemWidth=Math.max(this.maxItemWidth,a.itemWidth);this.totalItemWidth+=a.itemWidth;this.itemHeight=a.itemHeight=Math.round(a.legendItemHeight||c.height||this.symbolHeight)};c.prototype.layoutItem=function(a){var c=this.options,b=this.padding,g="horizontal"===c.layout,f=a.itemHeight,k=this.itemMarginBottom,n=this.itemMarginTop,l=g?d(c.itemDistance,20):0,m=this.maxLegendWidth;c=c.alignColumns&&this.totalItemWidth>m?this.maxItemWidth:
+a.itemWidth;g&&this.itemX-b+c>m&&(this.itemX=b,this.lastLineHeight&&(this.itemY+=n+this.lastLineHeight+k),this.lastLineHeight=0);this.lastItemY=n+this.itemY+k;this.lastLineHeight=Math.max(f,this.lastLineHeight);a._legendItemPos=[this.itemX,this.itemY];g?this.itemX+=c:(this.itemY+=n+f+k,this.lastLineHeight=f);this.offsetWidth=this.widthOption||Math.max((g?this.itemX-b-(a.checkbox?0:l):c)+b,this.offsetWidth)};c.prototype.getAllItems=function(){var a=[];this.chart.series.forEach(function(c){var g=c&&
+c.options;c&&d(g.showInLegend,b(g.linkedTo)?!1:void 0,!0)&&(a=a.concat(c.legendItems||("point"===g.legendType?c.data:c)))});l(this,"afterGetAllItems",{allItems:a});return a};c.prototype.getAlignment=function(){var a=this.options;return this.proximate?a.align.charAt(0)+"tv":a.floating?"":a.align.charAt(0)+a.verticalAlign.charAt(0)+a.layout.charAt(0)};c.prototype.adjustMargins=function(a,c){var g=this.chart,f=this.options,k=this.getAlignment();k&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(p,
+n){p.test(k)&&!b(a[n])&&(g[t[n]]=Math.max(g[t[n]],g.legend[(n+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][n]*f[n%2?"x":"y"]+d(f.margin,12)+c[n]+(g.titleOffset[n]||0)))})};c.prototype.proximatePositions=function(){var a=this.chart,c=[],b="left"===this.options.align;this.allItems.forEach(function(d){var g;var f=b;if(d.yAxis){d.xAxis.options.reversed&&(f=!f);d.points&&(g=u(f?d.points:d.points.slice(0).reverse(),function(a){return I(a.plotY)}));f=this.itemMarginTop+d.legendItem.getBBox().height+this.itemMarginBottom;
+var k=d.yAxis.top-a.plotTop;d.visible?(g=g?g.plotY:d.yAxis.height,g+=k-.3*f):g=k+d.yAxis.height;c.push({target:g,size:f,item:d})}},this);D.distribute(c,a.plotHeight);c.forEach(function(c){c.item._legendItemPos[1]=a.plotTop-a.spacing[0]+c.pos})};c.prototype.render=function(){var a=this.chart,c=a.renderer,b=this.group,d=this.box,g=this.options,f=this.padding;this.itemX=f;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=w(g.width,a.spacingBox.width-f);var k=a.spacingBox.width-
+2*f-g.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(k/=2);this.maxLegendWidth=this.widthOption||k;b||(this.group=b=c.g("legend").attr({zIndex:7}).add(),this.contentGroup=c.g().attr({zIndex:1}).add(b),this.scrollGroup=c.g().add(this.contentGroup));this.renderTitle();var v=this.getAllItems();n(v,function(a,c){return(a.options&&a.options.legendIndex||0)-(c.options&&c.options.legendIndex||0)});g.reversed&&v.reverse();this.allItems=v;this.display=k=!!v.length;this.itemHeight=this.totalItemWidth=
+this.maxItemWidth=this.lastLineHeight=0;v.forEach(this.renderItem,this);v.forEach(this.layoutItem,this);v=(this.widthOption||this.offsetWidth)+f;var m=this.lastItemY+this.lastLineHeight+this.titleHeight;m=this.handleOverflow(m);m+=f;d||(this.box=d=c.rect().addClass("highcharts-legend-box").attr({r:g.borderRadius}).add(b),d.isNew=!0);a.styledMode||d.attr({stroke:g.borderColor,"stroke-width":g.borderWidth||0,fill:g.backgroundColor||"none"}).shadow(g.shadow);0<v&&0<m&&(d[d.isNew?"attr":"animate"](d.crisp.call({},
+{x:0,y:0,width:v,height:m},d.strokeWidth())),d.isNew=!1);d[k?"show":"hide"]();a.styledMode&&"none"===b.getStyle("display")&&(v=m=0);this.legendWidth=v;this.legendHeight=m;k&&this.align();this.proximate||this.positionItems();l(this,"afterRender")};c.prototype.align=function(a){void 0===a&&(a=this.chart.spacingBox);var c=this.chart,b=this.options,d=a.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<c.titleOffset[0]?d+=c.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<c.titleOffset[2]&&(d-=c.titleOffset[2]);
+d!==a.y&&(a=k(a,{y:d}));this.group.align(k(b,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":b.verticalAlign}),!0,a)};c.prototype.handleOverflow=function(a){var c=this,b=this.chart,g=b.renderer,f=this.options,k=f.y,n=this.padding;k=b.spacingBox.height+("top"===f.verticalAlign?-k:k)-n;var l=f.maxHeight,m,q=this.clipRect,w=f.navigation,u=d(w.animation,!0),h=w.arrowSize||12,e=this.nav,A=this.pages,t,R=this.allItems,I=function(a){"number"===typeof a?q.attr({height:a}):
+q&&(c.clipRect=q.destroy(),c.contentGroup.clip());c.contentGroup.div&&(c.contentGroup.div.style.clip=a?"rect("+n+"px,9999px,"+(n+a)+"px,0)":"auto")},z=function(a){c[a]=g.circle(0,0,1.3*h).translate(h/2,h/2).add(e);b.styledMode||c[a].attr("fill","rgba(0,0,0,0.0001)");return c[a]};"horizontal"!==f.layout||"middle"===f.verticalAlign||f.floating||(k/=2);l&&(k=Math.min(k,l));A.length=0;a&&0<k&&a>k&&!1!==w.enabled?(this.clipHeight=m=Math.max(k-20-this.titleHeight-n,0),this.currentPage=d(this.currentPage,
+1),this.fullHeight=a,R.forEach(function(a,c){var b=a._legendItemPos[1],d=Math.round(a.legendItem.getBBox().height),g=A.length;if(!g||b-A[g-1]>m&&(t||b)!==A[g-1])A.push(t||b),g++;a.pageIx=g-1;t&&(R[c-1].pageIx=g-1);c===R.length-1&&b+d-A[g-1]>m&&b!==t&&(A.push(b),a.pageIx=g);b!==t&&(t=b)}),q||(q=c.clipRect=g.clipRect(0,n,9999,0),c.contentGroup.clip(q)),I(m),e||(this.nav=e=g.g().attr({zIndex:1}).add(this.group),this.up=g.symbol("triangle",0,0,h,h).add(e),z("upTracker").on("click",function(){c.scroll(-1,
+u)}),this.pager=g.text("",15,10).addClass("highcharts-legend-navigation"),b.styledMode||this.pager.css(w.style),this.pager.add(e),this.down=g.symbol("triangle-down",0,0,h,h).add(e),z("downTracker").on("click",function(){c.scroll(1,u)})),c.scroll(0),a=k):e&&(I(),this.nav=e.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a};c.prototype.scroll=function(a,c){var b=this,f=this.chart,k=this.pages,n=k.length,m=this.currentPage+a;a=this.clipHeight;var v=this.options.navigation,q=
+this.pager,w=this.padding;m>n&&(m=n);0<m&&("undefined"!==typeof c&&C(c,f),this.nav.attr({translateX:w,translateY:a+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(a){a.attr({"class":1===m?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),q.attr({text:m+"/"+n}),[this.down,this.downTracker].forEach(function(a){a.attr({x:18+this.pager.getBBox().width,"class":m===n?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),
+f.styledMode||(this.up.attr({fill:1===m?v.inactiveColor:v.activeColor}),this.upTracker.css({cursor:1===m?"default":"pointer"}),this.down.attr({fill:m===n?v.inactiveColor:v.activeColor}),this.downTracker.css({cursor:m===n?"default":"pointer"})),this.scrollOffset=-k[m-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=m,this.positionCheckboxes(),c=E(d(c,f.renderer.globalAnimation,!0)),g(function(){l(b,"afterScroll",{currentPage:m})},c.duration))};c.prototype.setItemEvents=
+function(a,c,b){var d=this,g=d.chart.renderer.boxWrapper,f=a instanceof y,n="highcharts-legend-"+(f?"point":"series")+"-active",v=d.chart.styledMode;(b?[c,a.legendSymbol]:[a.legendGroup]).forEach(function(b){if(b)b.on("mouseover",function(){a.visible&&d.allItems.forEach(function(c){a!==c&&c.setState("inactive",!f)});a.setState("hover");a.visible&&g.addClass(n);v||c.css(d.options.itemHoverStyle)}).on("mouseout",function(){d.chart.styledMode||c.css(k(a.visible?d.itemStyle:d.itemHiddenStyle));d.allItems.forEach(function(c){a!==
+c&&c.setState("",!f)});g.removeClass(n);a.setState()}).on("click",function(c){var b=function(){a.setVisible&&a.setVisible();d.allItems.forEach(function(c){a!==c&&c.setState(a.visible?"inactive":"",!f)})};g.removeClass(n);c={browserEvent:c};a.firePointEvent?a.firePointEvent("legendItemClick",c,b):l(a,"legendItemClick",c,b)})})};c.prototype.createCheckboxForItem=function(a){a.checkbox=m("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:a.selected,defaultChecked:a.selected},this.options.itemCheckboxStyle,
+this.chart.container);z(a.checkbox,"click",function(c){l(a.series||a,"checkboxClick",{checked:c.target.checked,item:a},function(){a.select()})})};return c}();(/Trident\/7\.0/.test(h.navigator&&h.navigator.userAgent)||e)&&F(c.prototype,"positionItem",function(c,a){var b=this,d=function(){a._legendItemPos&&c.call(b,a)};d();b.bubbleLegend||setTimeout(d)});D.Legend=c;return D.Legend});P(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Options.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],
+function(e,h,D,y){var F=h.defaultOptions,E=y.error,C=y.extendClass,G=y.merge,t;(function(h){function m(f,b){var m=F.plotOptions||{},u=b.defaultOptions;b.prototype.pointClass||(b.prototype.pointClass=D);b.prototype.type=f;u&&(m[f]=u);h.seriesTypes[f]=b}h.seriesTypes=e.seriesTypes;h.getSeries=function(f,b){void 0===b&&(b={});var m=f.options.chart;m=b.type||m.type||m.defaultSeriesType||"";var u=h.seriesTypes[m];h||E(17,!0,f,{missingModuleFor:m});m=new u;"function"===typeof m.init&&m.init(f,b);return m};
+h.registerSeriesType=m;h.seriesType=function(f,b,e,u,l){var A=F.plotOptions||{};b=b||"";A[f]=G(A[b],e);m(f,C(h.seriesTypes[b]||function(){},u));h.seriesTypes[f].prototype.type=f;l&&(h.seriesTypes[f].prototype.pointClass=C(D,l));return h.seriesTypes[f]}})(t||(t={}));e.seriesType=t.seriesType;return t});P(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Legend.js"],e["Core/MSPointer.js"],e["Core/Options.js"],
+e["Core/Color/Palette.js"],e["Core/Pointer.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"]],function(e,h,D,y,F,E,C,G,t,z,m,f,b){var A=e.animate,u=e.animObject,l=e.setAnimation,I=D.numberFormat,k=y.charts,d=y.doc,w=y.win,n=C.defaultOptions,g=C.defaultTime,c=z.seriesTypes,q=f.addEvent,a=f.attr,B=f.cleanRecursively,J=f.createElement,O=f.css,p=f.defined,r=f.discardElement,M=f.erase,v=f.error,N=f.extend,K=f.find,L=f.fireEvent,H=f.getStyle,
+x=f.isArray,Q=f.isFunction,Z=f.isNumber,ea=f.isObject,R=f.isString,S=f.merge,T=f.objectEach,U=f.pick,W=f.pInt,V=f.relativeLength,aa=f.removeEvent,X=f.splat,da=f.syncTimeout,ba=f.uniqueKey,P=y.marginNames,ca=function(){function e(a,c,b){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=
+this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0;this.sharedClips={};this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0;this.getArgs(a,c,b)}e.prototype.getArgs=function(a,c,b){R(a)||a.nodeName?(this.renderTo=a,this.init(c,b)):this.init(a,c)};e.prototype.init=function(a,c){var b=a.plotOptions||{};L(this,"init",{args:arguments},function(){var d=S(n,a),g=d.chart;T(d.plotOptions,function(a,
+c){ea(a)&&(a.tooltip=b[c]&&S(b[c].tooltip)||void 0)});d.tooltip.userOptions=a.chart&&a.chart.forExport&&a.tooltip.userOptions||a.tooltip;this.userOptions=a;var f=g.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=c;this.isResizing=0;this.options=d;this.axes=[];this.series=[];this.time=a.time&&Object.keys(a.time).length?new m(a.time):y.time;this.numberFormatter=g.numberFormatter||I;this.styledMode=g.styledMode;this.hasCartesianSeries=g.showAxes;var p=
+this;p.index=k.length;k.push(p);y.chartCount++;f&&T(f,function(a,c){Q(a)&&q(p,c,a)});p.xAxis=[];p.yAxis=[];p.pointCount=p.colorCounter=p.symbolCounter=0;L(p,"afterInit");p.firstRender()})};e.prototype.initSeries=function(a){var b=this.options.chart;b=a.type||b.type||b.defaultSeriesType;var d=c[b];d||v(17,!0,this,{missingModuleFor:b});b=new d;"function"===typeof b.init&&b.init(this,a);return b};e.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(a){a.points||a.data||
+!a.enabledDataSorting||a.setData(a.options.data,!1)})};e.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(a,c){return a.linkedSeries.length||c.linkedSeries.length?c.linkedSeries.length-a.linkedSeries.length:0})};e.prototype.orderSeries=function(a){var c=this.series;for(a=a||0;a<c.length;a++)c[a]&&(c[a].index=a,c[a].name=c[a].getName())};e.prototype.isInsidePlot=function(a,c,b){void 0===b&&(b={});var d=this.inverted,g=this.plotBox,f=this.plotLeft,k=this.plotTop,
+n=this.scrollablePlotBox,p=this.scrollingContainer;p=void 0===p?{scrollLeft:0,scrollTop:0}:p;var l=p.scrollLeft;p=p.scrollTop;var v=b.series;g=b.visiblePlotOnly&&n||g;n=b.inverted?c:a;c=b.inverted?a:c;a={x:n,y:c,isInsidePlot:!0};if(!b.ignoreX){var r=v&&(d?v.yAxis:v.xAxis)||{pos:f,len:Infinity};n=b.paneCoordinates?r.pos+n:f+n;n>=Math.max(l+f,r.pos)&&n<=Math.min(l+f+g.width,r.pos+r.len)||(a.isInsidePlot=!1)}!b.ignoreY&&a.isInsidePlot&&(d=v&&(d?v.xAxis:v.yAxis)||{pos:k,len:Infinity},b=b.paneCoordinates?
+d.pos+c:k+c,b>=Math.max(p+k,d.pos)&&b<=Math.min(p+k+g.height,d.pos+d.len)||(a.isInsidePlot=!1));L(this,"afterIsInsidePlot",a);return a.isInsidePlot};e.prototype.redraw=function(a){L(this,"beforeRedraw");var c=this.hasCartesianSeries?this.axes:this.colorAxis||[],b=this.series,d=this.pointer,g=this.legend,f=this.userOptions.legend,k=this.isDirtyLegend,n=this.isDirtyBox,p=this.renderer,v=p.isHidden(),r=[];this.setResponsive&&this.setResponsive(!1);l(this.hasRendered?a:!1,this);v&&this.temporaryDisplay();
+this.layOutTitles();for(a=b.length;a--;){var m=b[a];if(m.options.stacking||m.options.centerInCategory){var q=!0;if(m.isDirty){var w=!0;break}}}if(w)for(a=b.length;a--;)m=b[a],m.options.stacking&&(m.isDirty=!0);b.forEach(function(a){a.isDirty&&("point"===a.options.legendType?("function"===typeof a.updateTotals&&a.updateTotals(),k=!0):f&&(f.labelFormatter||f.labelFormat)&&(k=!0));a.isDirtyData&&L(a,"updatedData")});k&&g&&g.options.enabled&&(g.render(),this.isDirtyLegend=!1);q&&this.getStacks();c.forEach(function(a){a.updateNames();
+a.setScale()});this.getMargins();c.forEach(function(a){a.isDirty&&(n=!0)});c.forEach(function(a){var c=a.min+","+a.max;a.extKey!==c&&(a.extKey=c,r.push(function(){L(a,"afterSetExtremes",N(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(n||q)&&a.redraw()});n&&this.drawChartBox();L(this,"predraw");b.forEach(function(a){(n||a.isDirty)&&a.visible&&a.redraw();a.isDirtyData=!1});d&&d.reset(!0);p.draw();L(this,"redraw");L(this,"render");v&&this.temporaryDisplay(!0);r.forEach(function(a){a.call()})};
+e.prototype.get=function(a){function c(c){return c.id===a||c.options&&c.options.id===a}var b=this.series,d;var g=K(this.axes,c)||K(this.series,c);for(d=0;!g&&d<b.length;d++)g=K(b[d].points||[],c);return g};e.prototype.getAxes=function(){var a=this,c=this.options,b=c.xAxis=X(c.xAxis||{});c=c.yAxis=X(c.yAxis||{});L(this,"getAxes");b.forEach(function(a,c){a.index=c;a.isX=!0});c.forEach(function(a,c){a.index=c});b.concat(c).forEach(function(c){new h(a,c)});L(this,"afterGetAxes")};e.prototype.getSelectedPoints=
+function(){var a=[];this.series.forEach(function(c){a=a.concat(c.getPointsCollection().filter(function(a){return U(a.selectedStaging,a.selected)}))});return a};e.prototype.getSelectedSeries=function(){return this.series.filter(function(a){return a.selected})};e.prototype.setTitle=function(a,c,b){this.applyDescription("title",a);this.applyDescription("subtitle",c);this.applyDescription("caption",void 0);this.layOutTitles(b)};e.prototype.applyDescription=function(a,c){var b=this,d="title"===a?{color:G.neutralColor80,
+fontSize:this.options.isStock?"16px":"18px"}:{color:G.neutralColor60};d=this.options[a]=S(!this.styledMode&&{style:d},this.options[a],c);var g=this[a];g&&c&&(this[a]=g=g.destroy());d&&!g&&(g=this.renderer.text(d.text,0,0,d.useHTML).attr({align:d.align,"class":"highcharts-"+a,zIndex:d.zIndex||4}).add(),g.update=function(c){b[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[a]](c)},this.styledMode||g.css(d.style),this[a]=g)};e.prototype.layOutTitles=function(a){var c=[0,0,0],b=this.renderer,
+d=this.spacingBox;["title","subtitle","caption"].forEach(function(a){var g=this[a],f=this.options[a],k=f.verticalAlign||"top";a="title"===a?-3:"top"===k?c[0]+2:0;if(g){if(!this.styledMode)var n=f.style.fontSize;n=b.fontMetrics(n,g).b;g.css({width:(f.width||d.width+(f.widthAdjust||0))+"px"});var p=Math.round(g.getBBox(f.useHTML).height);g.align(N({y:"bottom"===k?n:a+n,height:p},f),!1,"spacingBox");f.floating||("top"===k?c[0]=Math.ceil(c[0]+p):"bottom"===k&&(c[2]=Math.ceil(c[2]+p)))}},this);c[0]&&"top"===
+(this.options.title.verticalAlign||"top")&&(c[0]+=this.options.title.margin);c[2]&&"bottom"===this.options.caption.verticalAlign&&(c[2]+=this.options.caption.margin);var g=!this.titleOffset||this.titleOffset.join(",")!==c.join(",");this.titleOffset=c;L(this,"afterLayOutTitles");!this.isDirtyBox&&g&&(this.isDirtyBox=this.isDirtyLegend=g,this.hasRendered&&U(a,!0)&&this.isDirtyBox&&this.redraw())};e.prototype.getChartSize=function(){var a=this.options.chart,c=a.width;a=a.height;var b=this.renderTo;p(c)||
+(this.containerWidth=H(b,"width"));p(a)||(this.containerHeight=H(b,"height"));this.chartWidth=Math.max(0,c||this.containerWidth||600);this.chartHeight=Math.max(0,V(a,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))};e.prototype.temporaryDisplay=function(a){var c=this.renderTo;if(a)for(;c&&c.style;)c.hcOrigStyle&&(O(c,c.hcOrigStyle),delete c.hcOrigStyle),c.hcOrigDetached&&(d.body.removeChild(c),c.hcOrigDetached=!1),c=c.parentNode;else for(;c&&c.style;){d.body.contains(c)||c.parentNode||
+(c.hcOrigDetached=!0,d.body.appendChild(c));if("none"===H(c,"display",!1)||c.hcOricDetached)c.hcOrigStyle={display:c.style.display,height:c.style.height,overflow:c.style.overflow},a={display:"block",overflow:"hidden"},c!==this.renderTo&&(a.height=0),O(c,a),c.offsetWidth||c.style.setProperty("display","block","important");c=c.parentNode;if(c===d.body)break}};e.prototype.setClassName=function(a){this.container.className="highcharts-container "+(a||"")};e.prototype.getContainer=function(){var c=this.options,
+b=c.chart;var g=this.renderTo;var f=ba(),n,p;g||(this.renderTo=g=b.renderTo);R(g)&&(this.renderTo=g=d.getElementById(g));g||v(13,!0,this);var r=W(a(g,"data-highcharts-chart"));Z(r)&&k[r]&&k[r].hasRendered&&k[r].destroy();a(g,"data-highcharts-chart",this.index);g.innerHTML="";b.skipClone||g.offsetWidth||this.temporaryDisplay();this.getChartSize();r=this.chartWidth;var m=this.chartHeight;O(g,{overflow:"hidden"});this.styledMode||(n=N({position:"relative",overflow:"hidden",width:r+"px",height:m+"px",
+textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},b.style||{}));this.container=g=J("div",{id:f},n,g);this._cursor=g.style.cursor;this.renderer=new (y[b.renderer]||y.Renderer)(g,r,m,null,b.forExport,c.exporting&&c.exporting.allowHTML,this.styledMode);l(void 0,this);this.setClassName(b.className);if(this.styledMode)for(p in c.defs)this.renderer.definition(c.defs[p]);else this.renderer.setStyle(b.style);
+this.renderer.chartIndex=this.index;L(this,"afterGetContainer")};e.prototype.getMargins=function(a){var c=this.spacing,b=this.margin,d=this.titleOffset;this.resetMargins();d[0]&&!p(b[0])&&(this.plotTop=Math.max(this.plotTop,d[0]+c[0]));d[2]&&!p(b[2])&&(this.marginBottom=Math.max(this.marginBottom,d[2]+c[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(b,c);L(this,"getMargins");a||this.getAxisMargins()};e.prototype.getAxisMargins=function(){var a=this,c=a.axisOffset=[0,0,0,0],b=a.colorAxis,
+d=a.margin,g=function(a){a.forEach(function(a){a.visible&&a.getOffset()})};a.hasCartesianSeries?g(a.axes):b&&b.length&&g(b);P.forEach(function(b,g){p(d[g])||(a[b]+=c[g])});a.setChartSize()};e.prototype.reflow=function(a){var c=this,b=c.options.chart,g=c.renderTo,k=p(b.width)&&p(b.height),n=b.width||H(g,"width");b=b.height||H(g,"height");g=a?a.target:w;delete c.pointer.chartPosition;if(!k&&!c.isPrinting&&n&&b&&(g===w||g===d)){if(n!==c.containerWidth||b!==c.containerHeight)f.clearTimeout(c.reflowTimeout),
+c.reflowTimeout=da(function(){c.container&&c.setSize(void 0,void 0,!1)},a?100:0);c.containerWidth=n;c.containerHeight=b}};e.prototype.setReflow=function(a){var c=this;!1===a||this.unbindReflow?!1===a&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=q(w,"resize",function(a){c.options&&c.reflow(a)}),q(this,"destroy",this.unbindReflow))};e.prototype.setSize=function(a,c,b){var d=this,g=d.renderer;d.isResizing+=1;l(b,d);b=g.globalAnimation;d.oldChartHeight=d.chartHeight;
+d.oldChartWidth=d.chartWidth;"undefined"!==typeof a&&(d.options.chart.width=a);"undefined"!==typeof c&&(d.options.chart.height=c);d.getChartSize();d.styledMode||(b?A:O)(d.container,{width:d.chartWidth+"px",height:d.chartHeight+"px"},b);d.setChartSize(!0);g.setSize(d.chartWidth,d.chartHeight,b);d.axes.forEach(function(a){a.isDirty=!0;a.setScale()});d.isDirtyLegend=!0;d.isDirtyBox=!0;d.layOutTitles();d.getMargins();d.redraw(b);d.oldChartHeight=null;L(d,"resize");da(function(){d&&L(d,"endResize",null,
+function(){--d.isResizing})},u(b).duration)};e.prototype.setChartSize=function(a){var c=this.inverted,b=this.renderer,d=this.chartWidth,g=this.chartHeight,f=this.options.chart,k=this.spacing,n=this.clipOffset,p,l,v,r;this.plotLeft=p=Math.round(this.plotLeft);this.plotTop=l=Math.round(this.plotTop);this.plotWidth=v=Math.max(0,Math.round(d-p-this.marginRight));this.plotHeight=r=Math.max(0,Math.round(g-l-this.marginBottom));this.plotSizeX=c?r:v;this.plotSizeY=c?v:r;this.plotBorderWidth=f.plotBorderWidth||
+0;this.spacingBox=b.spacingBox={x:k[3],y:k[0],width:d-k[3]-k[1],height:g-k[0]-k[2]};this.plotBox=b.plotBox={x:p,y:l,width:v,height:r};g=2*Math.floor(this.plotBorderWidth/2);c=Math.ceil(Math.max(g,n[3])/2);d=Math.ceil(Math.max(g,n[0])/2);this.clipBox={x:c,y:d,width:Math.floor(this.plotSizeX-Math.max(g,n[1])/2-c),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(g,n[2])/2-d))};a||(this.axes.forEach(function(a){a.setAxisSize();a.setAxisTranslation()}),b.alignElements());L(this,"afterSetChartSize",
+{skipAxes:a})};e.prototype.resetMargins=function(){L(this,"resetMargins");var a=this,c=a.options.chart;["margin","spacing"].forEach(function(b){var d=c[b],g=ea(d)?d:[d,d,d,d];["Top","Right","Bottom","Left"].forEach(function(d,f){a[b][f]=U(c[b+d],g[f])})});P.forEach(function(c,b){a[c]=U(a.margin[b],a.spacing[b])});a.axisOffset=[0,0,0,0];a.clipOffset=[0,0,0,0]};e.prototype.drawChartBox=function(){var a=this.options.chart,c=this.renderer,b=this.chartWidth,d=this.chartHeight,g=this.chartBackground,f=
+this.plotBackground,k=this.plotBorder,n=this.styledMode,p=this.plotBGImage,l=a.backgroundColor,v=a.plotBackgroundColor,r=a.plotBackgroundImage,m,q=this.plotLeft,w=this.plotTop,u=this.plotWidth,h=this.plotHeight,e=this.plotBox,N=this.clipRect,B=this.clipBox,x="animate";g||(this.chartBackground=g=c.rect().addClass("highcharts-background").add(),x="attr");if(n)var M=m=g.strokeWidth();else{M=a.borderWidth||0;m=M+(a.shadow?8:0);l={fill:l||"none"};if(M||g["stroke-width"])l.stroke=a.borderColor,l["stroke-width"]=
+M;g.attr(l).shadow(a.shadow)}g[x]({x:m/2,y:m/2,width:b-m-M%2,height:d-m-M%2,r:a.borderRadius});x="animate";f||(x="attr",this.plotBackground=f=c.rect().addClass("highcharts-plot-background").add());f[x](e);n||(f.attr({fill:v||"none"}).shadow(a.plotShadow),r&&(p?(r!==p.attr("href")&&p.attr("href",r),p.animate(e)):this.plotBGImage=c.image(r,q,w,u,h).add()));N?N.animate({width:B.width,height:B.height}):this.clipRect=c.clipRect(B);x="animate";k||(x="attr",this.plotBorder=k=c.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());
+n||k.attr({stroke:a.plotBorderColor,"stroke-width":a.plotBorderWidth||0,fill:"none"});k[x](k.crisp({x:q,y:w,width:u,height:h},-k.strokeWidth()));this.isDirtyBox=!1;L(this,"afterDrawChartBox")};e.prototype.propFromSeries=function(){var a=this,b=a.options.chart,d,g=a.options.series,f,k;["inverted","angular","polar"].forEach(function(n){d=c[b.type||b.defaultSeriesType];k=b[n]||d&&d.prototype[n];for(f=g&&g.length;!k&&f--;)(d=c[g[f].type])&&d.prototype[n]&&(k=!0);a[n]=k})};e.prototype.linkSeries=function(){var a=
+this,c=a.series;c.forEach(function(a){a.linkedSeries.length=0});c.forEach(function(c){var b=c.options.linkedTo;R(b)&&(b=":previous"===b?a.series[c.index-1]:a.get(b))&&b.linkedParent!==c&&(b.linkedSeries.push(c),c.linkedParent=b,b.enabledDataSorting&&c.setDataSortingOptions(),c.visible=U(c.options.visible,b.options.visible,c.visible))});L(this,"afterLinkSeries")};e.prototype.renderSeries=function(){this.series.forEach(function(a){a.translate();a.render()})};e.prototype.renderLabels=function(){var a=
+this,c=a.options.labels;c.items&&c.items.forEach(function(b){var d=N(c.style,b.style),g=W(d.left)+a.plotLeft,f=W(d.top)+a.plotTop+12;delete d.left;delete d.top;a.renderer.text(b.html,g,f).attr({zIndex:2}).css(d).add()})};e.prototype.render=function(){var a=this.axes,c=this.colorAxis,b=this.renderer,d=this.options,g=0,f=function(a){a.forEach(function(a){a.visible&&a.render()})};this.setTitle();this.legend=new F(this,d.legend);this.getStacks&&this.getStacks();this.getMargins(!0);this.setChartSize();
+d=this.plotWidth;a.some(function(a){if(a.horiz&&a.visible&&a.options.labels.enabled&&a.series.length)return g=21,!0});var k=this.plotHeight=Math.max(this.plotHeight-g,0);a.forEach(function(a){a.setScale()});this.getAxisMargins();var n=1.1<d/this.plotWidth;var p=1.05<k/this.plotHeight;if(n||p)a.forEach(function(a){(a.horiz&&n||!a.horiz&&p)&&a.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries?f(a):c&&c.length&&f(c);this.seriesGroup||(this.seriesGroup=b.g("series-group").attr({zIndex:3}).add());
+this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0};e.prototype.addCredits=function(a){var c=this,b=S(!0,this.options.credits,a);b.enabled&&!this.credits&&(this.credits=this.renderer.text(b.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){b.href&&(w.location.href=b.href)}).attr({align:b.position.align,zIndex:8}),c.styledMode||this.credits.css(b.style),this.credits.add().align(b.position),this.credits.update=
+function(a){c.credits=c.credits.destroy();c.addCredits(a)})};e.prototype.destroy=function(){var a=this,c=a.axes,b=a.series,d=a.container,g,f=d&&d.parentNode;L(a,"destroy");a.renderer.forExport?M(k,a):k[a.index]=void 0;y.chartCount--;a.renderTo.removeAttribute("data-highcharts-chart");aa(a);for(g=c.length;g--;)c[g]=c[g].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(g=b.length;g--;)b[g]=b[g].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(c){var b=
+a[c];b&&b.destroy&&(a[c]=b.destroy())});d&&(d.innerHTML="",aa(d),f&&r(d));T(a,function(c,b){delete a[b]})};e.prototype.firstRender=function(){var a=this,c=a.options;if(!a.isReadyToRender||a.isReadyToRender()){a.getContainer();a.resetMargins();a.setChartSize();a.propFromSeries();a.getAxes();(x(c.series)?c.series:[]).forEach(function(c){a.initSeries(c)});a.linkSeries();a.setSeriesData();L(a,"beforeRender");t&&(a.pointer=y.hasTouch||!w.PointerEvent&&!w.MSPointerEvent?new t(a,c):new E(a,c));a.render();
+a.pointer.getChartPosition();if(!a.renderer.imgCount&&!a.hasLoaded)a.onload();a.temporaryDisplay(!0)}};e.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(a){a&&"undefined"!==typeof this.index&&a.apply(this,[this])},this);L(this,"load");L(this,"render");p(this.index)&&this.setReflow(this.options.chart.reflow);this.hasLoaded=!0};e.prototype.addSeries=function(a,c,b){var d,g=this;a&&(c=U(c,!0),L(g,"addSeries",{options:a},function(){d=g.initSeries(a);g.isDirtyLegend=
+!0;g.linkSeries();d.enabledDataSorting&&d.setData(a.data,!1);L(g,"afterAddSeries",{series:d});c&&g.redraw(b)}));return d};e.prototype.addAxis=function(a,c,b,d){return this.createAxis(c?"xAxis":"yAxis",{axis:a,redraw:b,animation:d})};e.prototype.addColorAxis=function(a,c,b){return this.createAxis("colorAxis",{axis:a,redraw:c,animation:b})};e.prototype.createAxis=function(a,c){var b="colorAxis"===a,d=c.redraw,g=c.animation;a=S(c.axis,{index:this[a].length,isX:"xAxis"===a});a=b?new y.ColorAxis(this,
+a):new h(this,a);b&&(this.isDirtyLegend=!0,this.axes.forEach(function(a){a.series=[]}),this.series.forEach(function(a){a.bindAxes();a.isDirtyData=!0}));U(d,!0)&&this.redraw(g);return a};e.prototype.showLoading=function(a){var c=this,d=c.options,g=c.loadingDiv,f=c.loadingSpan,k=d.loading,n=function(){g&&O(g,{left:c.plotLeft+"px",top:c.plotTop+"px",width:c.plotWidth+"px",height:c.plotHeight+"px"})};g||(c.loadingDiv=g=J("div",{className:"highcharts-loading highcharts-loading-hidden"},null,c.container));
+f||(c.loadingSpan=f=J("span",{className:"highcharts-loading-inner"},null,g),q(c,"redraw",n));g.className="highcharts-loading";b.setElementHTML(f,U(a,d.lang.loading,""));c.styledMode||(O(g,N(k.style,{zIndex:10})),O(f,k.labelStyle),c.loadingShown||(O(g,{opacity:0,display:""}),A(g,{opacity:k.style.opacity||.5},{duration:k.showDuration||0})));c.loadingShown=!0;n()};e.prototype.hideLoading=function(){var a=this.options,c=this.loadingDiv;c&&(c.className="highcharts-loading highcharts-loading-hidden",this.styledMode||
+A(c,{opacity:0},{duration:a.loading.hideDuration||100,complete:function(){O(c,{display:"none"})}}));this.loadingShown=!1};e.prototype.update=function(a,c,b,d){var f=this,k={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},n,l,v,r=a.isResponsiveOptions,q=[];L(f,"update",{options:a});r||f.setResponsive(!1,!0);a=B(a,f.options);f.userOptions=S(f.userOptions,a);if(n=a.chart){S(!0,f.options.chart,n);"className"in n&&f.setClassName(n.className);"reflow"in n&&f.setReflow(n.reflow);
+if("inverted"in n||"polar"in n||"type"in n){f.propFromSeries();var w=!0}"alignTicks"in n&&(w=!0);T(n,function(a,c){-1!==f.propsRequireUpdateSeries.indexOf("chart."+c)&&(l=!0);-1!==f.propsRequireDirtyBox.indexOf(c)&&(f.isDirtyBox=!0);-1!==f.propsRequireReflow.indexOf(c)&&(r?f.isDirtyBox=!0:v=!0)});!f.styledMode&&"style"in n&&f.renderer.setStyle(n.style)}!f.styledMode&&a.colors&&(this.options.colors=a.colors);a.time&&(this.time===g&&(this.time=new m(a.time)),S(!0,f.options.time,a.time));T(a,function(c,
+b){if(f[b]&&"function"===typeof f[b].update)f[b].update(c,!1);else if("function"===typeof f[k[b]])f[k[b]](c);else"colors"!==b&&-1===f.collectionsWithUpdate.indexOf(b)&&S(!0,f.options[b],a[b]);"chart"!==b&&-1!==f.propsRequireUpdateSeries.indexOf(b)&&(l=!0)});this.collectionsWithUpdate.forEach(function(c){if(a[c]){var d=[];f[c].forEach(function(a,c){a.options.isInternal||d.push(U(a.options.index,c))});X(a[c]).forEach(function(a,g){var k=p(a.id),n;k&&(n=f.get(a.id));!n&&f[c]&&(n=f[c][d?d[g]:g])&&k&&
+p(n.options.id)&&(n=void 0);n&&n.coll===c&&(n.update(a,!1),b&&(n.touched=!0));!n&&b&&f.collectionsWithInit[c]&&(f.collectionsWithInit[c][0].apply(f,[a].concat(f.collectionsWithInit[c][1]||[]).concat([!1])).touched=!0)});b&&f[c].forEach(function(a){a.touched||a.options.isInternal?delete a.touched:q.push(a)})}});q.forEach(function(a){a.chart&&a.remove(!1)});w&&f.axes.forEach(function(a){a.update({},!1)});l&&f.getSeriesOrderByLinks().forEach(function(a){a.chart&&a.update({},!1)},this);w=n&&n.width;n=
+n&&n.height;R(n)&&(n=V(n,w||f.chartWidth));v||Z(w)&&w!==f.chartWidth||Z(n)&&n!==f.chartHeight?f.setSize(w,n,d):U(c,!0)&&f.redraw(d);L(f,"afterUpdate",{options:a,redraw:c,animation:d})};e.prototype.setSubtitle=function(a,c){this.applyDescription("subtitle",a);this.layOutTitles(c)};e.prototype.setCaption=function(a,c){this.applyDescription("caption",a);this.layOutTitles(c)};e.prototype.showResetZoom=function(){function a(){c.zoomOut()}var c=this,b=n.lang,d=c.options.chart.resetZoomButton,g=d.theme,
+f=g.states,k="chart"===d.relativeTo||"spacingBox"===d.relativeTo?null:"scrollablePlotBox";L(this,"beforeShowResetZoom",null,function(){c.resetZoomButton=c.renderer.button(b.resetZoom,null,null,a,g,f&&f.hover).attr({align:d.position.align,title:b.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(d.position,!1,k)});L(this,"afterShowResetZoom")};e.prototype.zoomOut=function(){L(this,"selection",{resetSelection:!0},this.zoom)};e.prototype.zoom=function(a){var c=this,b,d=c.pointer,g=!1,f=
+c.inverted?d.mouseDownX:d.mouseDownY;!a||a.resetSelection?(c.axes.forEach(function(a){b=a.zoom()}),d.initiated=!1):a.xAxis.concat(a.yAxis).forEach(function(a){var k=a.axis,n=c.inverted?k.left:k.top,l=c.inverted?n+k.width:n+k.height,v=k.isXAxis,r=!1;if(!v&&f>=n&&f<=l||v||!p(f))r=!0;d[v?"zoomX":"zoomY"]&&r&&(b=k.zoom(a.min,a.max),k.displayBtn&&(g=!0))});var k=c.resetZoomButton;g&&!k?c.showResetZoom():!g&&ea(k)&&(c.resetZoomButton=k.destroy());b&&c.redraw(U(c.options.chart.animation,a&&a.animation,100>
+c.pointCount))};e.prototype.pan=function(a,c){var b=this,d=b.hoverPoints,g=b.options.chart,f=b.options.mapNavigation&&b.options.mapNavigation.enabled,k;c="object"===typeof c?c:{enabled:c,type:"x"};g&&g.panning&&(g.panning=c);var n=c.type;L(this,"pan",{originalEvent:a},function(){d&&d.forEach(function(a){a.setState()});var c=[1];"xy"===n?c=[1,0]:"y"===n&&(c=[0]);c.forEach(function(c){var d=b[c?"xAxis":"yAxis"][0],g=d.horiz,p=a[g?"chartX":"chartY"];g=g?"mouseDownX":"mouseDownY";var l=b[g],v=(d.pointRange||
+0)/2,r=d.reversed&&!b.inverted||!d.reversed&&b.inverted?-1:1,m=d.getExtremes(),q=d.toValue(l-p,!0)+v*r;r=d.toValue(l+d.len-p,!0)-v*r;var w=r<q;l=w?r:q;q=w?q:r;r=d.hasVerticalPanning();var u=d.panningState;!r||c||u&&!u.isDirty||d.series.forEach(function(a){var c=a.getProcessedData(!0);c=a.getExtremes(c.yData,!0);u||(u={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});Z(c.dataMin)&&Z(c.dataMax)&&(u.startMin=Math.min(U(a.options.threshold,Infinity),c.dataMin,u.startMin),u.startMax=Math.max(U(a.options.threshold,
+-Infinity),c.dataMax,u.startMax))});c=Math.min(U(u&&u.startMin,m.dataMin),v?m.min:d.toValue(d.toPixels(m.min)-d.minPixelPadding));v=Math.max(U(u&&u.startMax,m.dataMax),v?m.max:d.toValue(d.toPixels(m.max)+d.minPixelPadding));d.panningState=u;d.isOrdinal||(r=c-l,0<r&&(q+=r,l=c),r=q-v,0<r&&(q=v,l-=r),d.series.length&&l!==m.min&&q!==m.max&&l>=c&&q<=v&&(d.setExtremes(l,q,!1,!1,{trigger:"pan"}),b.resetZoomButton||f||l===c||q===v||!n.match("y")||(b.showResetZoom(),d.displayBtn=!1),k=!0),b[g]=p)});k&&b.redraw(!1);
+O(b.container,{cursor:"move"})})};return e}();N(ca.prototype,{callbacks:[],collectionsWithInit:{xAxis:[ca.prototype.addAxis,[!0]],yAxis:[ca.prototype.addAxis,[!1]],series:[ca.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),
+propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});y.chart=function(a,c,b){return new ca(a,c,b)};y.Chart=ca;"";return ca});P(e,"Mixins/LegendSymbol.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,h){var D=h.merge,y=h.pick;return e.LegendSymbolMixin={drawRectangle:function(h,e){var C=h.symbolHeight,G=h.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(G?(h.symbolWidth-C)/2:0,h.baseline-C+1,G?
+C:h.symbolWidth,C,y(h.options.symbolRadius,C/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(h){var e=this.options,C=e.marker,G=h.symbolWidth,t=h.symbolHeight,z=t/2,m=this.chart.renderer,f=this.legendGroup;h=h.baseline-Math.round(.3*h.fontMetrics.b);var b={};this.chart.styledMode||(b={"stroke-width":e.lineWidth||0},e.dashStyle&&(b.dashstyle=e.dashStyle));this.legendLine=m.path([["M",0,h],["L",G,h]]).addClass("highcharts-graph").attr(b).add(f);C&&!1!==
+C.enabled&&G&&(e=Math.min(y(C.radius,z),z),0===this.symbol.indexOf("url")&&(C=D(C,{width:t,height:t}),e=0),this.legendSymbol=C=m.symbol(this.symbol,G/2-e,h-e,2*e,2*e,C).addClass("highcharts-point").add(f),C.isMarker=!0)}}});P(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Options.js"],e["Core/Color/Palette.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],
+function(e,h,D,y,F,E,C,G,t){var z=e.animObject,m=e.setAnimation,f=h.hasTouch,b=h.svg,A=h.win,u=y.defaultOptions,l=C.seriesTypes,I=t.addEvent,k=t.arrayMax,d=t.arrayMin,w=t.clamp,n=t.cleanRecursively,g=t.correctFloat,c=t.defined,q=t.erase,a=t.error,B=t.extend,J=t.find,O=t.fireEvent,p=t.getNestedProperty,r=t.isArray,M=t.isFunction,v=t.isNumber,N=t.isString,K=t.merge,L=t.objectEach,H=t.pick,x=t.removeEvent,Q=t.splat,Z=t.syncTimeout;e=function(){function e(){this.zones=this.yAxis=this.xAxis=this.userOptions=
+this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}e.prototype.init=function(a,c){O(this,"init",{options:c});var b=this,d=a.series,g;this.eventOptions=this.eventOptions||{};this.eventsToUnbind=[];b.chart=a;b.options=b.setOptions(c);var f=b.options;b.linkedSeries=[];b.bindAxes();B(b,{name:f.name,state:"",visible:!1!==f.visible,selected:!0===f.selected});c=f.events;
+L(c,function(a,c){M(a)&&b.eventOptions[c]!==a&&(M(b.eventOptions[c])&&x(b,c,b.eventOptions[c]),b.eventOptions[c]=a,I(b,c,a))});if(c&&c.click||f.point&&f.point.events&&f.point.events.click||f.allowPointSelect)a.runTrackerClick=!0;b.getColor();b.getSymbol();b.parallelArrays.forEach(function(a){b[a+"Data"]||(b[a+"Data"]=[])});b.isCartesian&&(a.hasCartesianSeries=!0);d.length&&(g=d[d.length-1]);b._i=H(g&&g._i,-1)+1;b.opacity=b.options.opacity;a.orderSeries(this.insert(d));f.dataSorting&&f.dataSorting.enabled?
+b.setDataSortingOptions():b.points||b.data||b.setData(f.data,!1);O(this,"afterInit")};e.prototype.is=function(a){return l[a]&&this instanceof l[a]};e.prototype.insert=function(a){var c=this.options.index,b;if(v(c)){for(b=a.length;b--;)if(c>=H(a[b].options.index,a[b]._i)){a.splice(b+1,0,this);break}-1===b&&a.unshift(this);b+=1}else a.push(this);return H(b,a.length-1)};e.prototype.bindAxes=function(){var c=this,b=c.options,d=c.chart,g;O(this,"bindAxes",null,function(){(c.axisTypes||[]).forEach(function(f){var k=
+0;d[f].forEach(function(a){g=a.options;if(b[f]===k&&!g.isInternal||"undefined"!==typeof b[f]&&b[f]===g.id||"undefined"===typeof b[f]&&0===g.index)c.insert(a.series),c[f]=a,a.isDirty=!0;g.isInternal||k++});c[f]||c.optionalAxis===f||a(18,!0,d)})});O(this,"afterBindAxes")};e.prototype.updateParallelArrays=function(a,c){var b=a.series,d=arguments,g=v(c)?function(d){var g="y"===d&&b.toYData?b.toYData(a):a[d];b[d+"Data"][c]=g}:function(a){Array.prototype[c].apply(b[a+"Data"],Array.prototype.slice.call(d,
+2))};b.parallelArrays.forEach(g)};e.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length};e.prototype.autoIncrement=function(){var a=this.options,c=this.xIncrement,b,d=a.pointIntervalUnit,g=this.chart.time;c=H(c,a.pointStart,0);this.pointInterval=b=H(this.pointInterval,a.pointInterval,1);d&&(a=new g.Date(c),"day"===d?g.set("Date",a,g.get("Date",a)+b):"month"===d?g.set("Month",a,g.get("Month",
+a)+b):"year"===d&&g.set("FullYear",a,g.get("FullYear",a)+b),b=a.getTime()-c);this.xIncrement=c+b;return c};e.prototype.setDataSortingOptions=function(){var a=this.options;B(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});c(a.pointRange)||(a.pointRange=1)};e.prototype.setOptions=function(a){var b=this.chart,d=b.options,g=d.plotOptions,f=b.userOptions||{};a=K(a);b=b.styledMode;var k={plotOptions:g,userOptions:a};O(this,"setOptions",k);var n=k.plotOptions[this.type],p=f.plotOptions||
+{};this.userOptions=k.userOptions;f=K(n,g.series,f.plotOptions&&f.plotOptions[this.type],a);this.tooltipOptions=K(u.tooltip,u.plotOptions.series&&u.plotOptions.series.tooltip,u.plotOptions[this.type].tooltip,d.tooltip.userOptions,g.series&&g.series.tooltip,g[this.type].tooltip,a.tooltip);this.stickyTracking=H(a.stickyTracking,p[this.type]&&p[this.type].stickyTracking,p.series&&p.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:f.stickyTracking);null===n.marker&&delete f.marker;
+this.zoneAxis=f.zoneAxis;d=this.zones=(f.zones||[]).slice();!f.negativeColor&&!f.negativeFillColor||f.zones||(g={value:f[this.zoneAxis+"Threshold"]||f.threshold||0,className:"highcharts-negative"},b||(g.color=f.negativeColor,g.fillColor=f.negativeFillColor),d.push(g));d.length&&c(d[d.length-1].value)&&d.push(b?{}:{color:this.color,fillColor:this.fillColor});O(this,"afterSetOptions",{options:f});return f};e.prototype.getName=function(){return H(this.options.name,"Series "+(this.index+1))};e.prototype.getCyclic=
+function(a,b,d){var g=this.chart,f=this.userOptions,k=a+"Index",n=a+"Counter",p=d?d.length:H(g.options.chart[a+"Count"],g[a+"Count"]);if(!b){var l=H(f[k],f["_"+k]);c(l)||(g.series.length||(g[n]=0),f["_"+k]=l=g[n]%p,g[n]+=1);d&&(b=d[l])}"undefined"!==typeof l&&(this[k]=l);this[a]=b};e.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color=F.neutralColor20:this.getCyclic("color",this.options.color||u.plotOptions[this.type].color,this.chart.options.colors)};
+e.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]};e.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};e.prototype.findPointIndex=function(a,c){var b=a.id,d=a.x,g=this.points,f,k=this.options.dataSorting;if(b)var n=this.chart.get(b);else if(this.linkedParent||this.enabledDataSorting){var p=k&&k.matchByName?"name":"index";n=J(g,function(c){return!c.touched&&c[p]===a[p]});if(!n)return}if(n){var l=
+n&&n.index;"undefined"!==typeof l&&(f=!0)}"undefined"===typeof l&&v(d)&&(l=this.xData.indexOf(d,c));-1!==l&&"undefined"!==typeof l&&this.cropped&&(l=l>=this.cropStart?l-this.cropStart:l);!f&&g[l]&&g[l].touched&&(l=void 0);return l};e.prototype.updateData=function(a,b){var d=this.options,g=d.dataSorting,f=this.points,n=[],p,l,r,m=this.requireSorting,q=a.length===f.length,e=!0;this.xIncrement=null;a.forEach(function(a,b){var k=c(a)&&this.pointClass.prototype.optionsToObject.call({series:this},a)||{};
+var l=k.x;if(k.id||v(l)){if(l=this.findPointIndex(k,r),-1===l||"undefined"===typeof l?n.push(a):f[l]&&a!==d.data[l]?(f[l].update(a,!1,null,!1),f[l].touched=!0,m&&(r=l+1)):f[l]&&(f[l].touched=!0),!q||b!==l||g&&g.enabled||this.hasDerivedData)p=!0}else n.push(a)},this);if(p)for(a=f.length;a--;)(l=f[a])&&!l.touched&&l.remove&&l.remove(!1,b);else!q||g&&g.enabled?e=!1:(a.forEach(function(a,c){f[c].update&&a!==f[c].y&&f[c].update(a,!1,null,!1)}),n.length=0);f.forEach(function(a){a&&(a.touched=!1)});if(!e)return!1;
+n.forEach(function(a){this.addPoint(a,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=k(this.xData),this.autoIncrement());return!0};e.prototype.setData=function(c,b,d,g){var f=this,k=f.points,n=k&&k.length||0,p,l=f.options,m=f.chart,q=l.dataSorting,e=null,w=f.xAxis;e=l.turboThreshold;var u=this.xData,h=this.yData,x=(p=f.pointArrayMap)&&p.length,B=l.keys,M=0,K=1,A;c=c||[];p=c.length;b=H(b,!0);q&&q.enabled&&(c=this.sortData(c));!1!==g&&p&&n&&!f.cropped&&
+!f.hasGroupedData&&f.visible&&!f.isSeriesBoosting&&(A=this.updateData(c,d));if(!A){f.xIncrement=null;f.colorCounter=0;this.parallelArrays.forEach(function(a){f[a+"Data"].length=0});if(e&&p>e)if(e=f.getFirstValidPoint(c),v(e))for(d=0;d<p;d++)u[d]=this.autoIncrement(),h[d]=c[d];else if(r(e))if(x)for(d=0;d<p;d++)g=c[d],u[d]=g[0],h[d]=g.slice(1,x+1);else for(B&&(M=B.indexOf("x"),K=B.indexOf("y"),M=0<=M?M:0,K=0<=K?K:1),d=0;d<p;d++)g=c[d],u[d]=g[M],h[d]=g[K];else a(12,!1,m);else for(d=0;d<p;d++)"undefined"!==
+typeof c[d]&&(g={series:f},f.pointClass.prototype.applyOptions.apply(g,[c[d]]),f.updateParallelArrays(g,d));h&&N(h[0])&&a(14,!0,m);f.data=[];f.options.data=f.userOptions.data=c;for(d=n;d--;)k[d]&&k[d].destroy&&k[d].destroy();w&&(w.minRange=w.userMinRange);f.isDirty=m.isDirtyBox=!0;f.isDirtyData=!!k;d=!1}"point"===l.legendType&&(this.processData(),this.generatePoints());b&&m.redraw(d)};e.prototype.sortData=function(a){var b=this,d=b.options.dataSorting.sortKey||"y",g=function(a,b){return c(b)&&a.pointClass.prototype.optionsToObject.call({series:a},
+b)||{}};a.forEach(function(c,d){a[d]=g(b,c);a[d].index=d},this);a.concat().sort(function(a,c){a=p(d,a);c=p(d,c);return c<a?-1:c>a?1:0}).forEach(function(a,c){a.x=c},this);b.linkedSeries&&b.linkedSeries.forEach(function(c){var b=c.options,d=b.data;b.dataSorting&&b.dataSorting.enabled||!d||(d.forEach(function(b,f){d[f]=g(c,b);a[f]&&(d[f].x=a[f].x,d[f].index=f)}),c.setData(d,!1))});return a};e.prototype.getProcessedData=function(c){var b=this.xData,d=this.yData,g=b.length;var f=0;var k=this.xAxis,n=
+this.options;var p=n.cropThreshold;var l=c||this.getExtremesFromAll||n.getExtremesFromAll,v=this.isCartesian;c=k&&k.val2lin;n=!(!k||!k.logarithmic);var r=this.requireSorting;if(k){k=k.getExtremes();var m=k.min;var e=k.max}if(v&&this.sorted&&!l&&(!p||g>p||this.forceCrop))if(b[g-1]<m||b[0]>e)b=[],d=[];else if(this.yData&&(b[0]<m||b[g-1]>e)){f=this.cropData(this.xData,this.yData,m,e);b=f.xData;d=f.yData;f=f.start;var q=!0}for(p=b.length||1;--p;)if(g=n?c(b[p])-c(b[p-1]):b[p]-b[p-1],0<g&&("undefined"===
+typeof w||g<w))var w=g;else 0>g&&r&&(a(15,!1,this.chart),r=!1);return{xData:b,yData:d,cropped:q,cropStart:f,closestPointRange:w}};e.prototype.processData=function(a){var c=this.xAxis;if(this.isCartesian&&!this.isDirty&&!c.isDirty&&!this.yAxis.isDirty&&!a)return!1;a=this.getProcessedData();this.cropped=a.cropped;this.cropStart=a.cropStart;this.processedXData=a.xData;this.processedYData=a.yData;this.closestPointRange=this.basePointRange=a.closestPointRange};e.prototype.cropData=function(a,c,b,d,g){var f=
+a.length,k=0,n=f,p;g=H(g,this.cropShoulder);for(p=0;p<f;p++)if(a[p]>=b){k=Math.max(0,p-g);break}for(b=p;b<f;b++)if(a[b]>d){n=b+g;break}return{xData:a.slice(k,n),yData:c.slice(k,n),start:k,end:n}};e.prototype.generatePoints=function(){var a=this.options,c=a.data,b=this.data,d,g=this.processedXData,f=this.processedYData,k=this.pointClass,n=g.length,p=this.cropStart||0,l=this.hasGroupedData,v=a.keys,r=[],m;a=a.dataGrouping&&a.dataGrouping.groupAll?p:0;b||l||(b=[],b.length=c.length,b=this.data=b);v&&
+l&&(this.options.keys=!1);for(m=0;m<n;m++){var e=p+m;if(l){var q=(new k).init(this,[g[m]].concat(Q(f[m])));q.dataGroup=this.groupMap[a+m];q.dataGroup.options&&(q.options=q.dataGroup.options,B(q,q.dataGroup.options),delete q.dataLabels)}else(q=b[e])||"undefined"===typeof c[e]||(b[e]=q=(new k).init(this,c[e],g[m]));q&&(q.index=l?a+m:e,r[m]=q)}this.options.keys=v;if(b&&(n!==(d=b.length)||l))for(m=0;m<d;m++)m!==p||l||(m+=n),b[m]&&(b[m].destroyElements(),b[m].plotX=void 0);this.data=b;this.points=r;O(this,
+"afterGeneratePoints")};e.prototype.getXExtremes=function(a){return{min:d(a),max:k(a)}};e.prototype.getExtremes=function(a,c){var b=this.xAxis,g=this.yAxis,f=this.processedXData||this.xData,n=[],p=0,l=0;var m=0;var q=this.requireSorting?this.cropShoulder:0,e=g?g.positiveValuesOnly:!1,w;a=a||this.stackedYData||this.processedYData||[];g=a.length;b&&(m=b.getExtremes(),l=m.min,m=m.max);for(w=0;w<g;w++){var u=f[w];var h=a[w];var N=(v(h)||r(h))&&(h.length||0<h||!e);u=c||this.getExtremesFromAll||this.options.getExtremesFromAll||
+this.cropped||!b||(f[w+q]||u)>=l&&(f[w-q]||u)<=m;if(N&&u)if(N=h.length)for(;N--;)v(h[N])&&(n[p++]=h[N]);else n[p++]=h}a={dataMin:d(n),dataMax:k(n)};O(this,"afterGetExtremes",{dataExtremes:a});return a};e.prototype.applyExtremes=function(){var a=this.getExtremes();this.dataMin=a.dataMin;this.dataMax=a.dataMax;return a};e.prototype.getFirstValidPoint=function(a){for(var c=null,b=a.length,d=0;null===c&&d<b;)c=a[d],d++;return c};e.prototype.translate=function(){this.processedXData||this.processData();
+this.generatePoints();var a=this.options,b=a.stacking,d=this.xAxis,f=d.categories,k=this.enabledDataSorting,n=this.yAxis,p=this.points,l=p.length,m=!!this.modifyValue,q,e=this.pointPlacementToXValue(),u=!!e,h=a.threshold,N=a.startFromThreshold?h:0,x,M=this.zoneAxis||"y",B=Number.MAX_VALUE;for(q=0;q<l;q++){var K=p[q],A=K.x,t=K.y,L=K.low,I=b&&n.stacking&&n.stacking.stacks[(this.negStacks&&t<(N?0:h)?"-":"")+this.stackKey],z=void 0,J=void 0;if(n.positiveValuesOnly&&!n.validatePositiveValue(t)||d.positiveValuesOnly&&
+!d.validatePositiveValue(A))K.isNull=!0;K.plotX=x=g(w(d.translate(A,0,0,0,1,e,"flags"===this.type),-1E5,1E5));if(b&&this.visible&&I&&I[A]){var C=this.getStackIndicator(C,A,this.index);K.isNull||(z=I[A],J=z.points[C.key])}r(J)&&(L=J[0],t=J[1],L===N&&C.key===I[A].base&&(L=H(v(h)&&h,n.min)),n.positiveValuesOnly&&0>=L&&(L=null),K.total=K.stackTotal=z.total,K.percentage=z.total&&K.y/z.total*100,K.stackY=t,this.irregularWidths||z.setOffset(this.pointXOffset||0,this.barW||0));K.yBottom=c(L)?w(n.translate(L,
+0,1,0,1),-1E5,1E5):null;m&&(t=this.modifyValue(t,K));K.plotY=void 0;v(t)&&(t=n.translate(t,!1,!0,!1,!0),"undefined"!==typeof t&&(K.plotY=w(t,-1E5,1E5)));K.isInside=this.isPointInside(K);K.clientX=u?g(d.translate(A,0,0,0,1,e)):x;K.negative=K[M]<(a[M+"Threshold"]||h||0);K.category=f&&"undefined"!==typeof f[K.x]?f[K.x]:K.x;if(!K.isNull&&!1!==K.visible){"undefined"!==typeof G&&(B=Math.min(B,Math.abs(x-G)));var G=x}K.zone=this.zones.length&&K.getZone();!K.graphic&&this.group&&k&&(K.isNew=!0)}this.closestPointRangePx=
+B;O(this,"afterTranslate")};e.prototype.getValidPoints=function(a,c,b){var d=this.chart;return(a||this.points||[]).filter(function(a){return c&&!d.isInsidePlot(a.plotX,a.plotY,{inverted:d.inverted})?!1:!1!==a.visible&&(b||!a.isNull)})};e.prototype.getClipBox=function(a,c){var b=this.options,d=this.chart,g=d.inverted,f=this.xAxis,k=f&&this.yAxis,n=d.options.chart.scrollablePlotArea||{};a&&!1===b.clip&&k?a=g?{y:-d.chartWidth+k.len+k.pos,height:d.chartWidth,width:d.chartHeight,x:-d.chartHeight+f.len+
+f.pos}:{y:-k.pos,height:d.chartHeight,width:d.chartWidth,x:-f.pos}:(a=this.clipBox||d.clipBox,c&&(a.width=d.plotSizeX,a.x=(d.scrollablePixelsX||0)*(n.scrollPositionX||0)));return c?{width:a.width,x:a.x}:a};e.prototype.getSharedClipKey=function(a){if(this.sharedClipKey)return this.sharedClipKey;var c=[a&&a.duration,a&&a.easing,a&&a.defer,this.getClipBox(a).height,this.options.xAxis,this.options.yAxis].join();if(!1!==this.options.clip||a)this.sharedClipKey=c;return c};e.prototype.setClip=function(a){var c=
+this.chart,b=this.options,d=c.renderer,g=c.inverted,f=this.clipBox,k=this.getClipBox(a),n=this.getSharedClipKey(a),p=c.sharedClips[n],l=c.sharedClips[n+"m"];a&&(k.width=0,g&&(k.x=c.plotHeight+(!1!==b.clip?0:c.plotTop)));p?c.hasLoaded||p.attr(k):(a&&(c.sharedClips[n+"m"]=l=d.clipRect(g?(c.plotSizeX||0)+99:-99,g?-c.plotLeft:-c.plotTop,99,g?c.chartWidth:c.chartHeight)),c.sharedClips[n]=p=d.clipRect(k),p.count={length:0});a&&!p.count[this.index]&&(p.count[this.index]=!0,p.count.length+=1);if(!1!==b.clip||
+a)this.group.clip(a||f?p:c.clipRect),this.markerGroup.clip(l);a||(p.count[this.index]&&(delete p.count[this.index],--p.count.length),0===p.count.length&&(f||(c.sharedClips[n]=p.destroy()),l&&(c.sharedClips[n+"m"]=l.destroy())))};e.prototype.animate=function(a){var c=this.chart,b=z(this.options.animation),d=this.sharedClipKey;if(a)this.setClip(b);else if(d){a=c.sharedClips[d];d=c.sharedClips[d+"m"];var g=this.getClipBox(b,!0);a&&a.animate(g,b);d&&d.animate({width:g.width+99,x:g.x-(c.inverted?0:99)},
+b)}};e.prototype.afterAnimate=function(){this.setClip();O(this,"afterAnimate");this.finishedAnimating=!0};e.prototype.drawPoints=function(){var a=this.points,c=this.chart,b,d,g=this.options.marker,f=this[this.specialGroup]||this.markerGroup,k=this.xAxis,n=H(g.enabled,!k||k.isRadial?!0:null,this.closestPointRangePx>=g.enabledThreshold*g.radius);if(!1!==g.enabled||this._hasPointMarkers)for(b=0;b<a.length;b++){var p=a[b];var l=(d=p.graphic)?"animate":"attr";var v=p.marker||{};var r=!!p.marker;if((n&&
+"undefined"===typeof v.enabled||v.enabled)&&!p.isNull&&!1!==p.visible){var m=H(v.symbol,this.symbol);var q=this.markerAttribs(p,p.selected&&"select");this.enabledDataSorting&&(p.startXPos=k.reversed?-(q.width||0):k.width);var e=!1!==p.isInside;d?d[e?"show":"hide"](e).animate(q):e&&(0<(q.width||0)||p.hasImage)&&(p.graphic=d=c.renderer.symbol(m,q.x,q.y,q.width,q.height,r?v:g).add(f),this.enabledDataSorting&&c.hasRendered&&(d.attr({x:p.startXPos}),l="animate"));d&&"animate"===l&&d[e?"show":"hide"](e).animate(q);
+if(d&&!c.styledMode)d[l](this.pointAttribs(p,p.selected&&"select"));d&&d.addClass(p.getClassName(),!0)}else d&&(p.graphic=d.destroy())}};e.prototype.markerAttribs=function(a,c){var b=this.options,d=b.marker,g=a.marker||{},f=g.symbol||d.symbol,k=H(g.radius,d.radius);c&&(d=d.states[c],c=g.states&&g.states[c],k=H(c&&c.radius,d&&d.radius,k+(d&&d.radiusPlus||0)));a.hasImage=f&&0===f.indexOf("url");a.hasImage&&(k=0);a={x:b.crisp?Math.floor(a.plotX-k):a.plotX-k,y:a.plotY-k};k&&(a.width=a.height=2*k);return a};
+e.prototype.pointAttribs=function(a,c){var b=this.options.marker,d=a&&a.options,g=d&&d.marker||{},f=this.color,k=d&&d.color,n=a&&a.color;d=H(g.lineWidth,b.lineWidth);var p=a&&a.zone&&a.zone.color;a=1;f=k||p||n||f;k=g.fillColor||b.fillColor||f;f=g.lineColor||b.lineColor||f;c=c||"normal";b=b.states[c];c=g.states&&g.states[c]||{};d=H(c.lineWidth,b.lineWidth,d+H(c.lineWidthPlus,b.lineWidthPlus,0));k=c.fillColor||b.fillColor||k;f=c.lineColor||b.lineColor||f;a=H(c.opacity,b.opacity,a);return{stroke:f,"stroke-width":d,
+fill:k,opacity:a}};e.prototype.destroy=function(a){var c=this,b=c.chart,d=/AppleWebKit\/533/.test(A.navigator.userAgent),g,f,k=c.data||[],n,p;O(c,"destroy");this.removeEvents(a);(c.axisTypes||[]).forEach(function(a){(p=c[a])&&p.series&&(q(p.series,c),p.isDirty=p.forceRedraw=!0)});c.legendItem&&c.chart.legend.destroyItem(c);for(f=k.length;f--;)(n=k[f])&&n.destroy&&n.destroy();c.clips&&c.clips.forEach(function(a){return a.destroy()});t.clearTimeout(c.animationTimeout);L(c,function(a,c){a instanceof
+G&&!a.survive&&(g=d&&"group"===c?"hide":"destroy",a[g]())});b.hoverSeries===c&&(b.hoverSeries=void 0);q(b.series,c);b.orderSeries();L(c,function(b,d){a&&"hcEvents"===d||delete c[d]})};e.prototype.applyZones=function(){var a=this,c=this.chart,b=c.renderer,d=this.zones,g,f,k=this.clips||[],n,p=this.graph,l=this.area,v=Math.max(c.chartWidth,c.chartHeight),r=this[(this.zoneAxis||"y")+"Axis"],m=c.inverted,q,e,h,u=!1,N,K;if(d.length&&(p||l)&&r&&"undefined"!==typeof r.min){var x=r.reversed;var M=r.horiz;
+p&&!this.showLine&&p.hide();l&&l.hide();var B=r.getExtremes();d.forEach(function(d,A){g=x?M?c.plotWidth:0:M?0:r.toPixels(B.min)||0;g=w(H(f,g),0,v);f=w(Math.round(r.toPixels(H(d.value,B.max),!0)||0),0,v);u&&(g=f=r.toPixels(B.max));q=Math.abs(g-f);e=Math.min(g,f);h=Math.max(g,f);r.isXAxis?(n={x:m?h:e,y:0,width:q,height:v},M||(n.x=c.plotHeight-n.x)):(n={x:0,y:m?h:e,width:v,height:q},M&&(n.y=c.plotWidth-n.y));m&&b.isVML&&(n=r.isXAxis?{x:0,y:x?e:h,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,
+y:0,width:n.height,height:c.chartHeight});k[A]?k[A].animate(n):k[A]=b.clipRect(n);N=a["zone-area-"+A];K=a["zone-graph-"+A];p&&K&&K.clip(k[A]);l&&N&&N.clip(k[A]);u=d.value>B.max;a.resetZones&&0===f&&(f=void 0)});this.clips=k}else a.visible&&(p&&p.show(!0),l&&l.show(!0))};e.prototype.invertGroups=function(a){function c(){["group","markerGroup"].forEach(function(c){b[c]&&(d.renderer.isVML&&b[c].attr({width:b.yAxis.len,height:b.xAxis.len}),b[c].width=b.yAxis.len,b[c].height=b.xAxis.len,b[c].invert(b.isRadialSeries?
+!1:a))})}var b=this,d=b.chart;b.xAxis&&(b.eventsToUnbind.push(I(d,"resize",c)),c(),b.invertGroups=c)};e.prototype.plotGroup=function(a,b,d,g,f){var k=this[a],n=!k;d={visibility:d,zIndex:g||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(d.opacity=this.opacity);n&&(this[a]=k=this.chart.renderer.g().add(f));k.addClass("highcharts-"+b+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(c(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":
+"")+(this.options.className||"")+(k.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0);k.attr(d)[n?"attr":"animate"](this.getPlotBox());return k};e.prototype.getPlotBox=function(){var a=this.chart,c=this.xAxis,b=this.yAxis;a.inverted&&(c=b,b=this.xAxis);return{translateX:c?c.left:a.plotLeft,translateY:b?b.top:a.plotTop,scaleX:1,scaleY:1}};e.prototype.removeEvents=function(a){a||x(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind.length=
+0)};e.prototype.render=function(){var a=this,c=a.chart,b=a.options,d=z(b.animation),g=!a.finishedAnimating&&c.renderer.isSVG&&d.duration,f=a.visible?"inherit":"hidden",k=b.zIndex,n=a.hasRendered,p=c.seriesGroup,l=c.inverted;O(this,"render");var r=a.plotGroup("group","series",f,k,p);a.markerGroup=a.plotGroup("markerGroup","markers",f,k,p);g&&a.animate&&a.animate(!0);r.inverted=H(a.invertible,a.isCartesian)?l:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.visible&&a.drawPoints();a.drawDataLabels&&
+a.drawDataLabels();a.redrawPoints&&a.redrawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(l);!1===b.clip||a.sharedClipKey||n||r.clip(c.clipRect);g&&a.animate&&a.animate();n||(g&&d.defer&&(g+=d.defer),a.animationTimeout=Z(function(){a.afterAnimate()},g||0));a.isDirty=!1;a.hasRendered=!0;O(a,"afterRender")};e.prototype.redraw=function(){var a=this.chart,c=this.isDirty||this.isDirtyData,b=this.group,d=this.xAxis,g=this.yAxis;b&&(a.inverted&&b.attr({width:a.plotWidth,
+height:a.plotHeight}),b.animate({translateX:H(d&&d.left,a.plotLeft),translateY:H(g&&g.top,a.plotTop)}));this.translate();this.render();c&&delete this.kdTree};e.prototype.searchPoint=function(a,c){var b=this.xAxis,d=this.yAxis,g=this.chart.inverted;return this.searchKDTree({clientX:g?b.len-a.chartY+b.pos:a.chartX-b.pos,plotY:g?d.len-a.chartX+d.pos:a.chartY-d.pos},c,a)};e.prototype.buildKDTree=function(a){function c(a,d,g){var f;if(f=a&&a.length){var k=b.kdAxisArray[d%g];a.sort(function(a,c){return a[k]-
+c[k]});f=Math.floor(f/2);return{point:a[f],left:c(a.slice(0,f),d+1,g),right:c(a.slice(f+1),d+1,g)}}}this.buildingKdTree=!0;var b=this,d=-1<b.options.findNearestPointBy.indexOf("y")?2:1;delete b.kdTree;Z(function(){b.kdTree=c(b.getValidPoints(null,!b.directTouch),d,d);b.buildingKdTree=!1},b.options.kdNow||a&&"touchstart"===a.type?0:1)};e.prototype.searchKDTree=function(a,b,d){function g(a,b,d,l){var r=b.point,v=f.kdAxisArray[d%l],m=r;var q=c(a[k])&&c(r[k])?Math.pow(a[k]-r[k],2):null;var e=c(a[n])&&
+c(r[n])?Math.pow(a[n]-r[n],2):null;e=(q||0)+(e||0);r.dist=c(e)?Math.sqrt(e):Number.MAX_VALUE;r.distX=c(q)?Math.sqrt(q):Number.MAX_VALUE;v=a[v]-r[v];e=0>v?"left":"right";q=0>v?"right":"left";b[e]&&(e=g(a,b[e],d+1,l),m=e[p]<m[p]?e:r);b[q]&&Math.sqrt(v*v)<m[p]&&(a=g(a,b[q],d+1,l),m=a[p]<m[p]?a:m);return m}var f=this,k=this.kdAxisArray[0],n=this.kdAxisArray[1],p=b?"distX":"dist";b=-1<f.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(d);if(this.kdTree)return g(a,
+this.kdTree,b,b)};e.prototype.pointPlacementToXValue=function(){var a=this.options,c=a.pointRange,b=this.xAxis;a=a.pointPlacement;"between"===a&&(a=b.reversed?-.5:.5);return v(a)?a*(c||b.pointRange):0};e.prototype.isPointInside=function(a){return"undefined"!==typeof a.plotY&&"undefined"!==typeof a.plotX&&0<=a.plotY&&a.plotY<=this.yAxis.len&&0<=a.plotX&&a.plotX<=this.xAxis.len};e.prototype.drawTracker=function(){var a=this,c=a.options,d=c.trackByArea,g=[].concat(d?a.areaPath:a.graphPath),k=a.chart,
+n=k.pointer,p=k.renderer,l=k.options.tooltip.snap,r=a.tracker,v=function(c){if(k.hoverSeries!==a)a.onMouseOver()},m="rgba(192,192,192,"+(b?.0001:.002)+")";r?r.attr({d:g}):a.graph&&(a.tracker=p.path(g).attr({visibility:a.visible?"visible":"hidden",zIndex:2}).addClass(d?"highcharts-tracker-area":"highcharts-tracker-line").add(a.group),k.styledMode||a.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:m,fill:d?m:"none","stroke-width":a.graph.strokeWidth()+(d?0:2*l)}),[a.tracker,
+a.markerGroup,a.dataLabelsGroup].forEach(function(a){if(a&&(a.addClass("highcharts-tracker").on("mouseover",v).on("mouseout",function(a){n.onTrackerMouseOut(a)}),c.cursor&&!k.styledMode&&a.css({cursor:c.cursor}),f))a.on("touchstart",v)}));O(this,"afterDrawTracker")};e.prototype.addPoint=function(a,c,b,d,g){var f=this.options,k=this.data,n=this.chart,p=this.xAxis;p=p&&p.hasNames&&p.names;var l=f.data,r=this.xData,v;c=H(c,!0);var m={series:this};this.pointClass.prototype.applyOptions.apply(m,[a]);var q=
+m.x;var e=r.length;if(this.requireSorting&&q<r[e-1])for(v=!0;e&&r[e-1]>q;)e--;this.updateParallelArrays(m,"splice",e,0,0);this.updateParallelArrays(m,e);p&&m.name&&(p[q]=m.name);l.splice(e,0,a);v&&(this.data.splice(e,0,null),this.processData());"point"===f.legendType&&this.generatePoints();b&&(k[0]&&k[0].remove?k[0].remove(!1):(k.shift(),this.updateParallelArrays(m,"shift"),l.shift()));!1!==g&&O(this,"addPoint",{point:m});this.isDirtyData=this.isDirty=!0;c&&n.redraw(d)};e.prototype.removePoint=function(a,
+c,b){var d=this,g=d.data,f=g[a],k=d.points,n=d.chart,p=function(){k&&k.length===g.length&&k.splice(a,1);g.splice(a,1);d.options.data.splice(a,1);d.updateParallelArrays(f||{series:d},"splice",a,1);f&&f.destroy();d.isDirty=!0;d.isDirtyData=!0;c&&n.redraw()};m(b,n);c=H(c,!0);f?f.firePointEvent("remove",null,p):p()};e.prototype.remove=function(a,c,b,d){function g(){f.destroy(d);k.isDirtyLegend=k.isDirtyBox=!0;k.linkSeries();H(a,!0)&&k.redraw(c)}var f=this,k=f.chart;!1!==b?O(f,"remove",null,g):g()};e.prototype.update=
+function(c,b){c=n(c,this.userOptions);O(this,"update",{options:c});var d=this,g=d.chart,f=d.userOptions,k=d.initialType||d.type,p=g.options.plotOptions,r=c.type||f.type||g.options.chart.type,v=!(this.hasDerivedData||r&&r!==this.type||"undefined"!==typeof c.pointStart||"undefined"!==typeof c.pointInterval||d.hasOptionChanged("dataGrouping")||d.hasOptionChanged("pointStart")||d.hasOptionChanged("pointInterval")||d.hasOptionChanged("pointIntervalUnit")||d.hasOptionChanged("keys")),m=l[k].prototype,e,
+q=["eventOptions","navigatorSeries","baseSeries"],w=d.finishedAnimating&&{animation:!1},h={};r=r||k;v&&(q.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==c.visible&&q.push("area","graph"),d.parallelArrays.forEach(function(a){q.push(a+"Data")}),c.data&&(c.dataSorting&&B(d.options.dataSorting,c.dataSorting),this.setData(c.data,!1)));c=K(f,w,{index:"undefined"===
+typeof f.index?d.index:f.index,pointStart:H(p&&p.series&&p.series.pointStart,f.pointStart,d.xData[0])},!v&&{data:d.options.data},c);v&&c.data&&(c.data=d.options.data);q=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(q);q.forEach(function(a){q[a]=d[a];delete d[a]});f=!1;if(l[r]){if(f=r!==d.type,d.remove(!1,!1,!1,!0),f)if(Object.setPrototypeOf)Object.setPrototypeOf(d,l[r].prototype);else{p=Object.hasOwnProperty.call(d,"hcEvents")&&d.hcEvents;for(e in m)d[e]=void 0;B(d,l[r].prototype);
+p?d.hcEvents=p:delete d.hcEvents}}else a(17,!0,g,{missingModuleFor:r});q.forEach(function(a){d[a]=q[a]});d.init(g,c);if(v&&this.points){var u=d.options;!1===u.visible?(h.graphic=1,h.dataLabel=1):d._hasPointLabels||(c=u.marker,r=u.dataLabels,c&&(!1===c.enabled||"symbol"in c)&&(h.graphic=1),r&&!1===r.enabled&&(h.dataLabel=1));this.points.forEach(function(a){a&&a.series&&(a.resolveColor(),Object.keys(h).length&&a.destroyElements(h),!1===u.showInLegend&&a.legendItem&&g.legend.destroyItem(a))},this)}d.initialType=
+k;g.linkSeries();f&&d.linkedSeries.length&&(d.isDirtyData=!0);O(this,"afterUpdate");H(b,!0)&&g.redraw(v?void 0:!1)};e.prototype.setName=function(a){this.name=this.options.name=this.userOptions.name=a;this.chart.isDirtyLegend=!0};e.prototype.hasOptionChanged=function(a){var c=this.options[a],b=this.chart.options.plotOptions,d=this.userOptions[a];return d?c!==d:c!==H(b&&b[this.type]&&b[this.type][a],b&&b.series&&b.series[a],c)};e.prototype.onMouseOver=function(){var a=this.chart,c=a.hoverSeries;a.pointer.setHoverChartIndex();
+if(c&&c!==this)c.onMouseOut();this.options.events.mouseOver&&O(this,"mouseOver");this.setState("hover");a.hoverSeries=this};e.prototype.onMouseOut=function(){var a=this.options,c=this.chart,b=c.tooltip,d=c.hoverPoint;c.hoverSeries=null;if(d)d.onMouseOut();this&&a.events.mouseOut&&O(this,"mouseOut");!b||this.stickyTracking||b.shared&&!this.noSharedTooltip||b.hide();c.series.forEach(function(a){a.setState("",!0)})};e.prototype.setState=function(a,c){var b=this,d=b.options,g=b.graph,f=d.inactiveOtherPoints,
+k=d.states,n=d.lineWidth,p=d.opacity,l=H(k[a||"normal"]&&k[a||"normal"].animation,b.chart.options.chart.animation);d=0;a=a||"";if(b.state!==a&&([b.group,b.markerGroup,b.dataLabelsGroup].forEach(function(c){c&&(b.state&&c.removeClass("highcharts-series-"+b.state),a&&c.addClass("highcharts-series-"+a))}),b.state=a,!b.chart.styledMode)){if(k[a]&&!1===k[a].enabled)return;a&&(n=k[a].lineWidth||n+(k[a].lineWidthPlus||0),p=H(k[a].opacity,p));if(g&&!g.dashstyle)for(k={"stroke-width":n},g.animate(k,l);b["zone-graph-"+
+d];)b["zone-graph-"+d].animate(k,l),d+=1;f||[b.group,b.markerGroup,b.dataLabelsGroup,b.labelBySeries].forEach(function(a){a&&a.animate({opacity:p},l)})}c&&f&&b.points&&b.setAllPointsToState(a||void 0)};e.prototype.setAllPointsToState=function(a){this.points.forEach(function(c){c.setState&&c.setState(a)})};e.prototype.setVisible=function(a,c){var b=this,d=b.chart,g=b.legendItem,f=d.options.chart.ignoreHiddenSeries,k=b.visible;var n=(b.visible=a=b.options.visible=b.userOptions.visible="undefined"===
+typeof a?!k:a)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(a){if(b[a])b[a][n]()});if(d.hoverSeries===b||(d.hoverPoint&&d.hoverPoint.series)===b)b.onMouseOut();g&&d.legend.colorizeItem(b,a);b.isDirty=!0;b.options.stacking&&d.series.forEach(function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});b.linkedSeries.forEach(function(c){c.setVisible(a,!1)});f&&(d.isDirtyBox=!0);O(b,n);!1!==c&&d.redraw()};e.prototype.show=function(){this.setVisible(!0)};e.prototype.hide=
+function(){this.setVisible(!1)};e.prototype.select=function(a){this.selected=a=this.options.selected="undefined"===typeof a?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);O(this,a?"select":"unselect")};e.prototype.shouldShowTooltip=function(a,c,b){void 0===b&&(b={});b.series=this;b.visiblePlotOnly=!0;return this.chart.isInsidePlot(a,c,b)};e.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:F.backgroundColor,
+lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:F.neutralColor20,lineColor:F.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var a=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":a(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},
+cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"};return e}();B(e.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:D.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],
+parallelArrays:["x","y"],pointClass:E,requireSorting:!0,sorted:!0});C.series=e;"";"";return e});P(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Series/Series.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E){var C=e.stop,G=E.addEvent,t=E.createElement,z=E.merge,m=E.pick;"";G(D,"afterSetChartSize",function(f){var b=this.options.chart.scrollablePlotArea,m=b&&b.minWidth;b=b&&b.minHeight;if(!this.renderer.forExport){if(m){if(this.scrollablePixelsX=
+m=Math.max(0,m-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=z(this.plotBox);this.plotBox.width=this.plotWidth+=m;this.inverted?this.clipBox.height+=m:this.clipBox.width+=m;var e={1:{name:"right",value:m}}}}else b&&(this.scrollablePixelsY=m=Math.max(0,b-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=z(this.plotBox),this.plotBox.height=this.plotHeight+=m,this.inverted?this.clipBox.width+=m:this.clipBox.height+=m,e={2:{name:"bottom",value:m}});
+e&&!f.skipAxes&&this.axes.forEach(function(b){e[b.side]?b.getPlotLinePath=function(){var f=e[b.side].name,k=this[f];this[f]=k-e[b.side].value;var d=F.Axis.prototype.getPlotLinePath.apply(this,arguments);this[f]=k;return d}:(b.setAxisSize(),b.setAxisTranslation())})}});G(D,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});D.prototype.setUpScrolling=function(){var f=this,b={WebkitOverflowScrolling:"touch",
+overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(b.overflowX="auto");this.scrollablePixelsY&&(b.overflowY="auto");this.scrollingParent=t("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=t("div",{className:"highcharts-scrolling"},b,this.scrollingParent);G(this.scrollingContainer,"scroll",function(){f.pointer&&delete f.pointer.chartPosition});this.innerContainer=t("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);
+this.innerContainer.appendChild(this.container);this.setUpScrolling=null};D.prototype.moveFixedElements=function(){var f=this.container,b=this.fixedRenderer,m=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),e;this.scrollablePixelsX&&
+!this.inverted?e=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(e=".highcharts-yaxis");e&&m.push(e+":not(.highcharts-radial-axis)",e+"-labels:not(.highcharts-radial-axis-labels)");m.forEach(function(l){[].forEach.call(f.querySelectorAll(l),function(f){(f.namespaceURI===b.SVG_NS?b.box:b.box.parentNode).appendChild(f);f.style.pointerEvents="auto"})})};D.prototype.applyFixed=
+function(){var f=!this.fixedDiv;var b=this.options.chart;var e=b.scrollablePlotArea;f?(this.fixedDiv=t("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(b.style&&b.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=b=new F.Renderer(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),
+this.scrollableMask=b.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":m(e.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),G(this,"afterShowResetZoom",this.moveFixedElements),G(this,"afterDrilldown",this.moveFixedElements),G(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);if(this.scrollableDirty||f)this.scrollableDirty=!1,this.moveFixedElements();b=this.chartWidth+(this.scrollablePixelsX||
+0);var h=this.chartHeight+(this.scrollablePixelsY||0);C(this.container);this.container.style.width=b+"px";this.container.style.height=h+"px";this.renderer.boxWrapper.attr({width:b,height:h,viewBox:[0,0,b,h].join(" ")});this.chartBackground.attr({width:b,height:h});this.scrollingContainer.style.height=this.chartHeight+"px";f&&(e.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*e.scrollPositionX),e.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*
+e.scrollPositionY));h=this.axisOffset;f=this.plotTop-h[0]-1;e=this.plotLeft-h[3]-1;b=this.plotTop+this.plotHeight+h[2]+1;h=this.plotLeft+this.plotWidth+h[1]+1;var l=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),I=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);f=this.scrollablePixelsX?[["M",0,f],["L",this.plotLeft-1,f],["L",this.plotLeft-1,b],["L",0,b],["Z"],["M",l,f],["L",this.chartWidth,f],["L",this.chartWidth,b],["L",l,b],["Z"]]:this.scrollablePixelsY?[["M",e,0],["L",e,this.plotTop-
+1],["L",h,this.plotTop-1],["L",h,0],["Z"],["M",e,I],["L",e,this.chartHeight],["L",h,this.chartHeight],["L",h,I],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:f})};G(h,"afterInit",function(){this.chart.scrollableDirty=!0});G(y,"show",function(){this.chart.scrollableDirty=!0})});P(e,"Core/Axis/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Utilities.js"]],function(e,h){var D=e.getDeferredAnimation,y=h.addEvent,F=h.destroyObjectProperties,E=
+h.fireEvent,C=h.isNumber,G=h.objectEach,t=function(){function e(m){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=m}e.prototype.buildStacks=function(){var m=this.axis,f=m.series,b=m.options.reversedStacks,e=f.length,h;if(!m.isXAxis){this.usePercentage=!1;for(h=e;h--;){var l=f[b?h:e-h-1];l.setStackedPoints();l.setGroupedPoints()}for(h=0;h<e;h++)f[h].modifyStacks();E(m,"afterBuildStacks")}};e.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var m=this.stacks=
+this.oldStacks;G(m,function(f){G(f,function(b){b.cumulative=b.total})})}};e.prototype.resetStacks=function(){var m=this,f=this.stacks;this.axis.isXAxis||G(f,function(b){G(b,function(f,e){C(f.touched)&&f.touched<m.stacksTouched?(f.destroy(),delete b[e]):(f.total=null,f.cumulative=null)})})};e.prototype.renderStackTotals=function(){var m=this.axis,f=m.chart,b=f.renderer,e=this.stacks;m=D(f,m.options.stackLabels&&m.options.stackLabels.animation||!1);var h=this.stackTotalGroup=this.stackTotalGroup||b.g("stack-labels").attr({visibility:"visible",
+zIndex:6,opacity:0}).add();h.translate(f.plotLeft,f.plotTop);G(e,function(b){G(b,function(b){b.render(h)})});h.animate({opacity:1},m)};return e}();return function(){function e(){}e.compose=function(m){y(m,"init",e.onInit);y(m,"destroy",e.onDestroy)};e.onDestroy=function(){var m=this.stacking;if(m){var f=m.stacks;G(f,function(b,m){F(b);f[m]=null});m&&m.stackTotalGroup&&m.stackTotalGroup.destroy()}};e.onInit=function(){this.stacking||(this.stacking=new t(this))};return e}()});P(e,"Extensions/Stacking.js",
+[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Axis/StackingAxis.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E,C){var G=D.format,t=C.correctFloat,z=C.defined,m=C.destroyObjectProperties,f=C.isArray,b=C.isNumber,A=C.objectEach,u=C.pick;"";var l=function(){function f(b,d,f,n,g){var c=b.chart.inverted;this.axis=b;this.isNegative=f;this.options=d=d||{};this.x=n;this.total=null;this.points={};this.hasValidPoints=
+!1;this.stack=g;this.rightCliff=this.leftCliff=0;this.alignOptions={align:d.align||(c?f?"left":"right":"center"),verticalAlign:d.verticalAlign||(c?"middle":f?"bottom":"top"),y:d.y,x:d.x};this.textAlign=d.textAlign||(c?f?"right":"left":"center")}f.prototype.destroy=function(){m(this,this.axis)};f.prototype.render=function(b){var d=this.axis.chart,f=this.options,k=f.format;k=k?G(k,this,d):f.formatter.call(this);this.label?this.label.attr({text:k,visibility:"hidden"}):(this.label=d.renderer.label(k,
+null,null,f.shape,null,null,f.useHTML,!1,"stack-labels"),k={r:f.borderRadius||0,text:k,rotation:f.rotation,padding:u(f.padding,5),visibility:"hidden"},d.styledMode||(k.fill=f.backgroundColor,k.stroke=f.borderColor,k["stroke-width"]=f.borderWidth,this.label.css(f.style)),this.label.attr(k),this.label.added||this.label.add(b));this.label.labelrank=d.plotSizeY};f.prototype.setOffset=function(f,d,l,n,g){var c=this.axis,k=c.chart;n=c.translate(c.stacking.usePercentage?100:n?n:this.total,0,0,0,1);l=c.translate(l?
+l:0);l=z(n)&&Math.abs(n-l);f=u(g,k.xAxis[0].translate(this.x))+f;c=z(n)&&this.getStackBox(k,this,f,n,d,l,c);d=this.label;l=this.isNegative;f="justify"===u(this.options.overflow,"justify");var a=this.textAlign;d&&c&&(g=d.getBBox(),n=d.padding,a="left"===a?k.inverted?-n:n:"right"===a?g.width:k.inverted&&"center"===a?g.width/2:k.inverted?l?g.width+n:-n:g.width/2,l=k.inverted?g.height/2:l?-n:g.height,this.alignOptions.x=u(this.options.x,0),this.alignOptions.y=u(this.options.y,0),c.x-=a,c.y-=l,d.align(this.alignOptions,
+null,c),k.isInsidePlot(d.alignAttr.x+a-this.alignOptions.x,d.alignAttr.y+l-this.alignOptions.y)?d.show():(d.alignAttr.y=-9999,f=!1),f&&F.prototype.justifyDataLabel.call(this.axis,d,this.alignOptions,d.alignAttr,g,c),d.attr({x:d.alignAttr.x,y:d.alignAttr.y}),u(!f&&this.options.crop,!0)&&((k=b(d.x)&&b(d.y)&&k.isInsidePlot(d.x-n+d.width,d.y)&&k.isInsidePlot(d.x+n,d.y))||d.hide()))};f.prototype.getStackBox=function(b,d,f,n,g,c,l){var a=d.axis.reversed,k=b.inverted,m=l.height+l.pos-(k?b.plotLeft:b.plotTop);
+d=d.isNegative&&!a||!d.isNegative&&a;return{x:k?d?n-l.right:n-c+l.pos-b.plotLeft:f+b.xAxis[0].transB-b.plotLeft,y:k?l.height-f-g:d?m-n-c:m-n,width:k?c:g,height:k?g:c}};return f}();h.prototype.getStacks=function(){var b=this,f=b.inverted;b.yAxis.forEach(function(b){b.stacking&&b.stacking.stacks&&b.hasVisibleSeries&&(b.stacking.oldStacks=b.stacking.stacks)});b.series.forEach(function(d){var k=d.xAxis&&d.xAxis.options||{};!d.options.stacking||!0!==d.visible&&!1!==b.options.chart.ignoreHiddenSeries||
+(d.stackKey=[d.type,u(d.options.stack,""),f?k.top:k.left,f?k.height:k.width].join())})};E.compose(e);F.prototype.setGroupedPoints=function(){var b=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?F.prototype.setStackedPoints.call(this,"group"):b&&A(b.stacks,function(f,d){"group"===d.slice(-5)&&(A(f,function(b){return b.destroy()}),delete b.stacks[d])})};F.prototype.setStackedPoints=function(b){var k=
+b||this.options.stacking;if(k&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var d=this.processedXData,m=this.processedYData,n=[],g=m.length,c=this.options,e=c.threshold,a=u(c.startFromThreshold&&e,0);c=c.stack;b=b?this.type+","+k:this.stackKey;var h="-"+b,A=this.negStacks,I=this.yAxis,p=I.stacking.stacks,r=I.stacking.oldStacks,M,v;I.stacking.stacksTouched+=1;for(v=0;v<g;v++){var N=d[v];var K=m[v];var L=this.getStackIndicator(L,N,this.index);var H=L.key;var x=(M=A&&K<(a?0:
+e))?h:b;p[x]||(p[x]={});p[x][N]||(r[x]&&r[x][N]?(p[x][N]=r[x][N],p[x][N].total=null):p[x][N]=new l(I,I.options.stackLabels,M,N,c));x=p[x][N];null!==K?(x.points[H]=x.points[this.index]=[u(x.cumulative,a)],z(x.cumulative)||(x.base=H),x.touched=I.stacking.stacksTouched,0<L.index&&!1===this.singleStacks&&(x.points[H][0]=x.points[this.index+","+N+",0"][0])):x.points[H]=x.points[this.index]=null;"percent"===k?(M=M?b:h,A&&p[M]&&p[M][N]?(M=p[M][N],x.total=M.total=Math.max(M.total,x.total)+Math.abs(K)||0):
+x.total=t(x.total+(Math.abs(K)||0))):"group"===k?(f(K)&&(K=K[0]),null!==K&&(x.total=(x.total||0)+1)):x.total=t(x.total+(K||0));x.cumulative="group"===k?(x.total||1)-1:u(x.cumulative,a)+(K||0);null!==K&&(x.points[H].push(x.cumulative),n[v]=x.cumulative,x.hasValidPoints=!0)}"percent"===k&&(I.stacking.usePercentage=!0);"group"!==k&&(this.stackedYData=n);I.stacking.oldStacks={}}};F.prototype.modifyStacks=function(){var b=this,f=b.stackKey,d=b.yAxis.stacking.stacks,l=b.processedXData,n,g=b.options.stacking;
+b[g+"Stacker"]&&[f,"-"+f].forEach(function(c){for(var f=l.length,a,k;f--;)if(a=l[f],n=b.getStackIndicator(n,a,b.index,c),k=(a=d[c]&&d[c][a])&&a.points[n.key])b[g+"Stacker"](k,a,f)})};F.prototype.percentStacker=function(b,f,d){f=f.total?100/f.total:0;b[0]=t(b[0]*f);b[1]=t(b[1]*f);this.stackedYData[d]=b[1]};F.prototype.getStackIndicator=function(b,f,d,l){!z(b)||b.x!==f||l&&b.key!==l?b={x:f,index:0,key:l}:b.index++;b.key=[d,f,b.index].join();return b};y.StackItem=l;return y.StackItem});P(e,"Series/Line/LineSeries.js",
+[e["Core/Color/Palette.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h,D,y){var F=this&&this.__extends||function(){var e=function(h,z){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,f){m.__proto__=f}||function(m,f){for(var b in f)f.hasOwnProperty(b)&&(m[b]=f[b])};return e(h,z)};return function(h,z){function m(){this.constructor=h}e(h,z);h.prototype=null===z?Object.create(z):(m.prototype=z.prototype,new m)}}(),E=y.defined,
+C=y.merge;y=function(G){function t(){var e=null!==G&&G.apply(this,arguments)||this;e.data=void 0;e.options=void 0;e.points=void 0;return e}F(t,G);t.prototype.drawGraph=function(){var h=this,m=this.options,f=(this.gappedPath||this.getGraphPath).call(this),b=this.chart.styledMode,t=[["graph","highcharts-graph"]];b||t[0].push(m.lineColor||this.color||e.neutralColor20,m.dashStyle);t=h.getZonesGraphs(t);t.forEach(function(e,l){var u=e[0],k=h[u],d=k?"animate":"attr";k?(k.endX=h.preventGraphAnimation?null:
+f.xMap,k.animate({d:f})):f.length&&(h[u]=k=h.chart.renderer.path(f).addClass(e[1]).attr({zIndex:1}).add(h.group));k&&!b&&(u={stroke:e[2],"stroke-width":m.lineWidth,fill:h.fillGraph&&h.color||"none"},e[3]?u.dashstyle=e[3]:"square"!==m.linecap&&(u["stroke-linecap"]=u["stroke-linejoin"]="round"),k[d](u).shadow(2>l&&m.shadow));k&&(k.startX=f.xMap,k.isArea=f.isArea)})};t.prototype.getGraphPath=function(e,m,f){var b=this,h=b.options,u=h.step,l,t=[],k=[],d;e=e||b.points;(l=e.reversed)&&e.reverse();(u={right:1,
+center:2}[u]||u&&3)&&l&&(u=4-u);e=this.getValidPoints(e,!1,!(h.connectNulls&&!m&&!f));e.forEach(function(l,n){var g=l.plotX,c=l.plotY,q=e[n-1];(l.leftCliff||q&&q.rightCliff)&&!f&&(d=!0);l.isNull&&!E(m)&&0<n?d=!h.connectNulls:l.isNull&&!m?d=!0:(0===n||d?n=[["M",l.plotX,l.plotY]]:b.getPointSpline?n=[b.getPointSpline(e,l,n)]:u?(n=1===u?[["L",q.plotX,c]]:2===u?[["L",(q.plotX+g)/2,q.plotY],["L",(q.plotX+g)/2,c]]:[["L",g,q.plotY]],n.push(["L",g,c])):n=[["L",g,c]],k.push(l.x),u&&(k.push(l.x),2===u&&k.push(l.x)),
+t.push.apply(t,n),d=!1)});t.xMap=k;return b.graphPath=t};t.prototype.getZonesGraphs=function(e){this.zones.forEach(function(m,f){f=["zone-graph-"+f,"highcharts-graph highcharts-zone-graph-"+f+" "+(m.className||"")];this.chart.styledMode||f.push(m.color||this.color,m.dashStyle||this.options.dashStyle);e.push(f)},this);return e};t.defaultOptions=C(h.defaultOptions,{});return t}(h);D.registerSeriesType("line",y);"";return y});P(e,"Series/Area/AreaSeries.js",[e["Core/Color/Color.js"],e["Mixins/LegendSymbol.js"],
+e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h,D,y){var F=this&&this.__extends||function(){var e=function(f,b){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)f.hasOwnProperty(l)&&(b[l]=f[l])};return e(f,b)};return function(f,b){function m(){this.constructor=f}e(f,b);f.prototype=null===b?Object.create(b):(m.prototype=b.prototype,new m)}}(),E=e.parse,C=D.seriesTypes.line;e=y.extend;var G=y.merge,t=y.objectEach,
+z=y.pick;y=function(e){function f(){var b=null!==e&&e.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}F(f,e);f.prototype.drawGraph=function(){this.areaPath=[];e.prototype.drawGraph.apply(this);var b=this,f=this.areaPath,m=this.options,l=[["area","highcharts-area",this.color,m.fillColor]];this.zones.forEach(function(f,k){l.push(["zone-area-"+k,"highcharts-area highcharts-zone-area-"+k+" "+f.className,f.color||b.color,f.fillColor||m.fillColor])});l.forEach(function(l){var k=
+l[0],d=b[k],e=d?"animate":"attr",n={};d?(d.endX=b.preventGraphAnimation?null:f.xMap,d.animate({d:f})):(n.zIndex=0,d=b[k]=b.chart.renderer.path(f).addClass(l[1]).add(b.group),d.isArea=!0);b.chart.styledMode||(n.fill=z(l[3],E(l[2]).setOpacity(z(m.fillOpacity,.75)).get()));d[e](n);d.startX=f.xMap;d.shiftUnit=m.step?2:1})};f.prototype.getGraphPath=function(b){var f=C.prototype.getGraphPath,e=this.options,l=e.stacking,m=this.yAxis,k,d=[],h=[],n=this.index,g=m.stacking.stacks[this.stackKey],c=e.threshold,
+q=Math.round(m.getThreshold(e.threshold));e=z(e.connectNulls,"percent"===l);var a=function(a,f,k){var p=b[a];a=l&&g[p.x].points[n];var e=p[k+"Null"]||0;k=p[k+"Cliff"]||0;p=!0;if(k||e){var r=(e?a[0]:a[1])+k;var w=a[0]+k;p=!!e}else!l&&b[f]&&b[f].isNull&&(r=w=c);"undefined"!==typeof r&&(h.push({plotX:t,plotY:null===r?q:m.getThreshold(r),isNull:p,isCliff:!0}),d.push({plotX:t,plotY:null===w?q:m.getThreshold(w),doCurve:!1}))};b=b||this.points;l&&(b=this.getStackPoints(b));for(k=0;k<b.length;k++){l||(b[k].leftCliff=
+b[k].rightCliff=b[k].leftNull=b[k].rightNull=void 0);var B=b[k].isNull;var t=z(b[k].rectPlotX,b[k].plotX);var G=l?z(b[k].yBottom,q):q;if(!B||e)e||a(k,k-1,"left"),B&&!l&&e||(h.push(b[k]),d.push({x:k,plotX:t,plotY:G})),e||a(k,k+1,"right")}k=f.call(this,h,!0,!0);d.reversed=!0;B=f.call(this,d,!0,!0);(G=B[0])&&"M"===G[0]&&(B[0]=["L",G[1],G[2]]);B=k.concat(B);B.length&&B.push(["Z"]);f=f.call(this,h,!1,e);B.xMap=k.xMap;this.areaPath=B;return f};f.prototype.getStackPoints=function(b){var f=this,e=[],l=[],
+m=this.xAxis,k=this.yAxis,d=k.stacking.stacks[this.stackKey],h={},n=k.series,g=n.length,c=k.options.reversedStacks?1:-1,q=n.indexOf(f);b=b||this.points;if(this.options.stacking){for(var a=0;a<b.length;a++)b[a].leftNull=b[a].rightNull=void 0,h[b[a].x]=b[a];t(d,function(a,c){null!==a.total&&l.push(c)});l.sort(function(a,c){return a-c});var B=n.map(function(a){return a.visible});l.forEach(function(a,b){var p=0,r,w;if(h[a]&&!h[a].isNull)e.push(h[a]),[-1,1].forEach(function(k){var p=1===k?"rightNull":
+"leftNull",e=0,v=d[l[b+k]];if(v)for(var m=q;0<=m&&m<g;){var N=n[m].index;r=v.points[N];r||(N===f.index?h[a][p]=!0:B[m]&&(w=d[a].points[N])&&(e-=w[1]-w[0]));m+=c}h[a][1===k?"rightCliff":"leftCliff"]=e});else{for(var v=q;0<=v&&v<g;){if(r=d[a].points[n[v].index]){p=r[1];break}v+=c}p=z(p,0);p=k.translate(p,0,1,0,1);e.push({isNull:!0,plotX:m.translate(a,0,0,0,1),x:a,plotY:p,yBottom:p})}})}return e};f.defaultOptions=G(C.defaultOptions,{threshold:0});return f}(C);e(y.prototype,{singleStacks:!1,drawLegendSymbol:h.drawRectangle});
+D.registerSeriesType("area",y);"";return y});P(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h){var D=this&&this.__extends||function(){var e=function(h,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,m){e.__proto__=m}||function(e,m){for(var f in m)m.hasOwnProperty(f)&&(e[f]=m[f])};return e(h,t)};return function(h,t){function z(){this.constructor=h}e(h,t);h.prototype=null===t?Object.create(t):(z.prototype=t.prototype,
+new z)}}(),y=e.seriesTypes.line,F=h.merge,E=h.pick;h=function(e){function h(){var h=null!==e&&e.apply(this,arguments)||this;h.data=void 0;h.options=void 0;h.points=void 0;return h}D(h,e);h.prototype.getPointSpline=function(e,h,m){var f=h.plotX||0,b=h.plotY||0,t=e[m-1];m=e[m+1];if(t&&!t.isNull&&!1!==t.doCurve&&!h.isCliff&&m&&!m.isNull&&!1!==m.doCurve&&!h.isCliff){e=t.plotY||0;var u=m.plotX||0;m=m.plotY||0;var l=0;var z=(1.5*f+(t.plotX||0))/2.5;var k=(1.5*b+e)/2.5;u=(1.5*f+u)/2.5;var d=(1.5*b+m)/2.5;
+u!==z&&(l=(d-k)*(u-f)/(u-z)+b-d);k+=l;d+=l;k>e&&k>b?(k=Math.max(e,b),d=2*b-k):k<e&&k<b&&(k=Math.min(e,b),d=2*b-k);d>m&&d>b?(d=Math.max(m,b),k=2*b-d):d<m&&d<b&&(d=Math.min(m,b),k=2*b-d);h.rightContX=u;h.rightContY=d}h=["C",E(t.rightContX,t.plotX,0),E(t.rightContY,t.plotY,0),E(z,f,0),E(k,b,0),f,b];t.rightContX=t.rightContY=void 0;return h};h.defaultOptions=F(y.defaultOptions);return h}(y);e.registerSeriesType("spline",h);"";return h});P(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Area/AreaSeries.js"],
+e["Series/Spline/SplineSeries.js"],e["Mixins/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h,D,y,F){var E=this&&this.__extends||function(){var e=function(m,f){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var e in f)f.hasOwnProperty(e)&&(b[e]=f[e])};return e(m,f)};return function(m,f){function b(){this.constructor=m}e(m,f);m.prototype=null===f?Object.create(f):(b.prototype=f.prototype,new b)}}(),C=
+e.prototype,G=F.extend,t=F.merge;F=function(z){function m(){var f=null!==z&&z.apply(this,arguments)||this;f.data=void 0;f.points=void 0;f.options=void 0;return f}E(m,z);m.defaultOptions=t(h.defaultOptions,e.defaultOptions);return m}(h);G(F.prototype,{getGraphPath:C.getGraphPath,getStackPoints:C.getStackPoints,drawGraph:C.drawGraph,drawLegendSymbol:D.drawRectangle});y.registerSeriesType("areaspline",F);"";return F});P(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],
+e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Color/Palette.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E,C,G){var t=this&&this.__extends||function(){var c=function(b,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return c(b,a)};return function(b,a){function d(){this.constructor=b}c(b,a);b.prototype=null===a?Object.create(a):
+(d.prototype=a.prototype,new d)}}(),z=e.animObject,m=h.parse,f=D.hasTouch;e=D.noop;var b=G.clamp,A=G.css,u=G.defined,l=G.extend,I=G.fireEvent,k=G.isArray,d=G.isNumber,w=G.merge,n=G.pick,g=G.objectEach;G=function(c){function e(){var a=null!==c&&c.apply(this,arguments)||this;a.borderWidth=void 0;a.data=void 0;a.group=void 0;a.options=void 0;a.points=void 0;return a}t(e,c);e.prototype.animate=function(a){var c=this,d=this.yAxis,g=c.options,f=this.chart.inverted,k={},n=f?"translateX":"translateY";if(a)k.scaleY=
+.001,a=b(d.toPixels(g.threshold),d.pos,d.pos+d.len),f?k.translateX=a-d.len:k.translateY=a,c.clipBox&&c.setClip(),c.group.attr(k);else{var e=Number(c.group.attr(n));c.group.animate({scaleY:1},l(z(c.options.animation),{step:function(a,b){c.group&&(k[n]=e+b.pos*(d.pos-e),c.group.attr(k))}}))}};e.prototype.init=function(a,b){c.prototype.init.apply(this,arguments);var d=this;a=d.chart;a.hasRendered&&a.series.forEach(function(a){a.type===d.type&&(a.isDirty=!0)})};e.prototype.getColumnMetrics=function(){var a=
+this,c=a.options,b=a.xAxis,d=a.yAxis,g=b.options.reversedStacks;g=b.reversed&&!g||!b.reversed&&g;var f,k={},l=0;!1===c.grouping?l=1:a.chart.series.forEach(function(c){var b=c.yAxis,g=c.options;if(c.type===a.type&&(c.visible||!a.chart.options.chart.ignoreHiddenSeries)&&d.len===b.len&&d.pos===b.pos){if(g.stacking&&"group"!==g.stacking){f=c.stackKey;"undefined"===typeof k[f]&&(k[f]=l++);var n=k[f]}else!1!==g.grouping&&(n=l++);c.columnIndex=n}});var e=Math.min(Math.abs(b.transA)*(b.ordinal&&b.ordinal.slope||
+c.pointRange||b.closestPointRange||b.tickInterval||1),b.len),m=e*c.groupPadding,h=(e-2*m)/(l||1);c=Math.min(c.maxPointWidth||b.len,n(c.pointWidth,h*(1-2*c.pointPadding)));a.columnMetrics={width:c,offset:(h-c)/2+(m+((a.columnIndex||0)+(g?1:0))*h-e/2)*(g?-1:1),paddedWidth:h,columnCount:l};return a.columnMetrics};e.prototype.crispCol=function(a,c,b,d){var g=this.chart,f=this.borderWidth,k=-(f%2?.5:0);f=f%2?.5:1;g.inverted&&g.renderer.isVML&&(f+=1);this.options.crisp&&(b=Math.round(a+b)+k,a=Math.round(a)+
+k,b-=a);d=Math.round(c+d)+f;k=.5>=Math.abs(c)&&.5<d;c=Math.round(c)+f;d-=c;k&&d&&(--c,d+=1);return{x:a,y:c,width:b,height:d}};e.prototype.adjustForMissingColumns=function(a,c,b,d){var f=this,n=this.options.stacking;if(!b.isNull&&1<d.columnCount){var l=0,e=0;g(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(a){if("number"===typeof b.x&&(a=a[b.x.toString()])){var c=a.points[f.index],d=a.total;n?(c&&(l=e),a.hasValidPoints&&e++):k(c)&&(l=c[1],e=d||0)}});a=(b.plotX||0)+((e-1)*d.paddedWidth+c)/
+2-c-l*d.paddedWidth}return a};e.prototype.translate=function(){var a=this,c=a.chart,g=a.options,f=a.dense=2>a.closestPointRange*a.xAxis.transA;f=a.borderWidth=n(g.borderWidth,f?0:1);var k=a.xAxis,l=a.yAxis,e=g.threshold,m=a.translatedThreshold=l.getThreshold(e),h=n(g.minPointLength,5),q=a.getColumnMetrics(),w=q.width,t=a.barW=Math.max(w,1+2*f),x=a.pointXOffset=q.offset,A=a.dataMin,z=a.dataMax;c.inverted&&(m-=.5);g.pointPadding&&(t=Math.ceil(t));E.prototype.translate.apply(a);a.points.forEach(function(f){var p=
+n(f.yBottom,m),r=999+Math.abs(p),v=w,N=f.plotX||0;r=b(f.plotY,-r,l.len+r);N+=x;var K=t,M=Math.min(r,p),B=Math.max(r,p)-M;if(h&&Math.abs(B)<h){B=h;var L=!l.reversed&&!f.negative||l.reversed&&f.negative;d(e)&&d(z)&&f.y===e&&z<=e&&(l.min||0)<e&&(A!==z||(l.max||0)<=e)&&(L=!L);M=Math.abs(M-m)>h?p-h:m-(L?h:0)}u(f.options.pointWidth)&&(v=K=Math.ceil(f.options.pointWidth),N-=Math.round((v-w)/2));g.centerInCategory&&(N=a.adjustForMissingColumns(N,v,f,q));f.barX=N;f.pointWidth=v;f.tooltipPos=c.inverted?[b(l.len+
+l.pos-c.plotLeft-r,l.pos-c.plotLeft,l.len+l.pos-c.plotLeft),k.len+k.pos-c.plotTop-N-K/2,B]:[k.left-c.plotLeft+N+K/2,b(r+l.pos-c.plotTop,l.pos-c.plotTop,l.len+l.pos-c.plotTop),B];f.shapeType=a.pointClass.prototype.shapeType||"rect";f.shapeArgs=a.crispCol.apply(a,f.isNull?[N,m,K,0]:[N,M,K,B])})};e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};e.prototype.pointAttribs=function(a,c){var b=this.options,d=this.pointAttrToOptions||{};var g=d.stroke||
+"borderColor";var f=d["stroke-width"]||"borderWidth",k=a&&a.color||this.color,l=a&&a[g]||b[g]||k,e=a&&a[f]||b[f]||this[f]||0;d=a&&a.options.dashStyle||b.dashStyle;var h=n(a&&a.opacity,b.opacity,1);if(a&&this.zones.length){var q=a.getZone();k=a.options.color||q&&(q.color||a.nonZonedColor)||this.color;q&&(l=q.borderColor||l,d=q.dashStyle||d,e=q.borderWidth||e)}c&&a&&(a=w(b.states[c],a.options.states&&a.options.states[c]||{}),c=a.brightness,k=a.color||"undefined"!==typeof c&&m(k).brighten(a.brightness).get()||
+k,l=a[g]||l,e=a[f]||e,d=a.dashStyle||d,h=n(a.opacity,h));g={fill:k,stroke:l,"stroke-width":e,opacity:h};d&&(g.dashstyle=d);return g};e.prototype.drawPoints=function(){var a=this,c=this.chart,b=a.options,g=c.renderer,f=b.animationLimit||250,k;a.points.forEach(function(n){var p=n.graphic,l=!!p,e=p&&c.pointCount<f?"animate":"attr";if(d(n.plotY)&&null!==n.y){k=n.shapeArgs;p&&n.hasNewShapeType()&&(p=p.destroy());a.enabledDataSorting&&(n.startXPos=a.xAxis.reversed?-(k?k.width||0:0):a.xAxis.width);p||(n.graphic=
+p=g[n.shapeType](k).add(n.group||a.group))&&a.enabledDataSorting&&c.hasRendered&&c.pointCount<f&&(p.attr({x:n.startXPos}),l=!0,e="animate");if(p&&l)p[e](w(k));if(b.borderRadius)p[e]({r:b.borderRadius});c.styledMode||p[e](a.pointAttribs(n,n.selected&&"select")).shadow(!1!==n.allowShadow&&b.shadow,null,b.stacking&&!b.borderRadius);p&&(p.addClass(n.getClassName(),!0),p.attr({visibility:n.visible?"inherit":"hidden"}))}else p&&(n.graphic=p.destroy())})};e.prototype.drawTracker=function(){var a=this,c=
+a.chart,b=c.pointer,d=function(a){var c=b.getPointFromEvent(a);"undefined"!==typeof c&&(b.isDirectTouch=!0,c.onMouseOver(a))},g;a.points.forEach(function(a){g=k(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[];a.graphic&&(a.graphic.element.point=a);g.forEach(function(c){c.div?c.div.point=a:c.element.point=a})});a._hasTracking||(a.trackerGroups.forEach(function(g){if(a[g]){a[g].addClass("highcharts-tracker").on("mouseover",d).on("mouseout",function(a){b.onTrackerMouseOut(a)});if(f)a[g].on("touchstart",
+d);!c.styledMode&&a.options.cursor&&a[g].css(A).css({cursor:a.options.cursor})}}),a._hasTracking=!0);I(this,"afterDrawTracker")};e.prototype.remove=function(){var a=this,c=a.chart;c.hasRendered&&c.series.forEach(function(c){c.type===a.type&&(c.isDirty=!0)});E.prototype.remove.apply(a,arguments)};e.defaultOptions=w(E.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},
+select:{color:F.neutralColor20,borderColor:F.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:F.backgroundColor});return e}(E);l(G.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:y.drawRectangle,getSymbol:e,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]});C.registerSeriesType("column",G);"";"";return G});P(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],
+e["Core/Utilities.js"]],function(e,h,D){var y=this&&this.__extends||function(){var e=function(h,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,m){e.__proto__=m}||function(e,m){for(var f in m)m.hasOwnProperty(f)&&(e[f]=m[f])};return e(h,t)};return function(h,t){function z(){this.constructor=h}e(h,t);h.prototype=null===t?Object.create(t):(z.prototype=t.prototype,new z)}}(),F=D.extend,E=D.merge;D=function(h){function C(){var e=null!==h&&h.apply(this,arguments)||this;e.data=void 0;
+e.options=void 0;e.points=void 0;return e}y(C,h);C.defaultOptions=E(e.defaultOptions,{});return C}(e);F(D.prototype,{inverted:!0});h.registerSeriesType("bar",D);"";return D});P(e,"Series/Scatter/ScatterSeries.js",[e["Series/Column/ColumnSeries.js"],e["Series/Line/LineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h,D,y){var F=this&&this.__extends||function(){var e=function(h,m){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||
+function(f,b){for(var e in b)b.hasOwnProperty(e)&&(f[e]=b[e])};return e(h,m)};return function(h,m){function f(){this.constructor=h}e(h,m);h.prototype=null===m?Object.create(m):(f.prototype=m.prototype,new f)}}(),E=y.addEvent,C=y.extend,G=y.merge;y=function(e){function t(){var m=null!==e&&e.apply(this,arguments)||this;m.data=void 0;m.options=void 0;m.points=void 0;return m}F(t,e);t.prototype.applyJitter=function(){var e=this,f=this.options.jitter,b=this.points.length;f&&this.points.forEach(function(m,
+h){["x","y"].forEach(function(l,u){var k="plot"+l.toUpperCase();if(f[l]&&!m.isNull){var d=e[l+"Axis"];var w=f[l]*d.transA;if(d&&!d.isLog){var n=Math.max(0,m[k]-w);d=Math.min(d.len,m[k]+w);u=1E4*Math.sin(h+u*b);m[k]=n+(d-n)*(u-Math.floor(u));"x"===l&&(m.clientX=m.plotX)}}})})};t.prototype.drawGraph=function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&e.prototype.drawGraph.call(this)};t.defaultOptions=G(h.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",
+jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}});return t}(h);C(y.prototype,{drawTracker:e.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});E(y,"afterTranslate",function(){this.applyJitter()});D.registerSeriesType("scatter",
+y);"";return y});P(e,"Mixins/CenteredSeries.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(e,h,D){var y=D.isNumber,F=D.pick,E=D.relativeLength,C=e.deg2rad;return e.CenteredSeriesMixin={getCenter:function(){var e=this.options,t=this.chart,z=2*(e.slicedOffset||0),m=t.plotWidth-2*z,f=t.plotHeight-2*z,b=e.center,A=Math.min(m,f),u=e.size,l=e.innerSize||0;"string"===typeof u&&(u=parseFloat(u));"string"===typeof l&&(l=parseFloat(l));e=[F(b[0],"50%"),F(b[1],"50%"),F(u&&
+0>u?void 0:e.size,"100%"),F(l&&0>l?void 0:e.innerSize||0,"0%")];!t.angular||this instanceof h||(e[3]=0);for(b=0;4>b;++b)u=e[b],t=2>b||2===b&&/%$/.test(u),e[b]=E(u,[m,f,A,e[2]][b])+(t?z:0);e[3]>e[2]&&(e[3]=e[2]);return e},getStartAndEndRadians:function(e,h){e=y(e)?e:0;h=y(h)&&h>e&&360>h-e?h:e+360;return{start:C*(e+-90),end:C*(h+-90)}}}});P(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,h,D){var y=this&&this.__extends||
+function(){var e=function(f,b){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var e in f)f.hasOwnProperty(e)&&(b[e]=f[e])};return e(f,b)};return function(f,b){function m(){this.constructor=f}e(f,b);f.prototype=null===b?Object.create(b):(m.prototype=b.prototype,new m)}}(),F=e.setAnimation,E=D.addEvent,C=D.defined;e=D.extend;var G=D.isNumber,t=D.pick,z=D.relativeLength;D=function(e){function f(){var b=null!==e&&e.apply(this,arguments)||this;
+b.labelDistance=void 0;b.options=void 0;b.series=void 0;return b}y(f,e);f.prototype.getConnectorPath=function(){var b=this.labelPosition,f=this.series.options.dataLabels,e=f.connectorShape,l=this.connectorShapes;l[e]&&(e=l[e]);return e.call(this,{x:b.final.x,y:b.final.y,alignment:b.alignment},b.connectorPosition,f)};f.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};f.prototype.haloPath=function(b){var f=this.shapeArgs;return this.sliced||!this.visible?
+[]:this.series.chart.renderer.symbols.arc(f.x,f.y,f.r+b,f.r+b,{innerR:f.r-1,start:f.start,end:f.end})};f.prototype.init=function(){h.prototype.init.apply(this,arguments);var b=this;b.name=t(b.name,"Slice");var f=function(f){b.slice("select"===f.type)};E(b,"select",f);E(b,"unselect",f);return b};f.prototype.isValid=function(){return G(this.y)&&0<=this.y};f.prototype.setVisible=function(b,f){var e=this,l=e.series,m=l.chart,k=l.options.ignoreHiddenPoint;f=t(f,k);b!==e.visible&&(e.visible=e.options.visible=
+b="undefined"===typeof b?!e.visible:b,l.options.data[l.data.indexOf(e)]=e.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(d){if(e[d])e[d][b?"show":"hide"](b)}),e.legendItem&&m.legend.colorizeItem(e,b),b||"hover"!==e.state||e.setState(""),k&&(l.isDirty=!0),f&&m.redraw())};f.prototype.slice=function(b,f,e){var l=this.series;F(e,l.chart);t(f,!0);this.sliced=this.options.sliced=C(b)?b:!this.sliced;l.options.data[l.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());
+this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return f}(h);e(D.prototype,{connectorShapes:{fixedOffset:function(e,f,b){var m=f.breakAt;f=f.touchingSliceAt;return[["M",e.x,e.y],b.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*m.x-f.x,2*m.y-f.y,m.x,m.y]:["L",m.x,m.y],["L",f.x,f.y]]},straight:function(e,f){f=f.touchingSliceAt;return[["M",e.x,e.y],["L",f.x,f.y]]},crookedLine:function(e,f,b){f=f.touchingSliceAt;var m=this.series,h=m.center[0],l=m.chart.plotWidth,t=m.chart.plotLeft;
+m=e.alignment;var k=this.shapeArgs.r;b=z(b.crookDistance,1);l="left"===m?h+k+(l+t-h-k)*(1-b):t+(h-k)*b;b=["L",l,e.y];h=!0;if("left"===m?l>e.x||l<f.x:l<e.x||l>f.x)h=!1;e=[["M",e.x,e.y]];h&&e.push(b);e.push(["L",f.x,f.y]);return e}}});return D});P(e,"Series/Pie/PieSeries.js",[e["Mixins/CenteredSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Color/Palette.js"],e["Series/Pie/PiePoint.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],
+e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E,C,G,t,z){var m=this&&this.__extends||function(){var b=function(d,f){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var d in c)c.hasOwnProperty(d)&&(b[d]=c[d])};return b(d,f)};return function(d,f){function g(){this.constructor=d}b(d,f);d.prototype=null===f?Object.create(f):(g.prototype=f.prototype,new g)}}(),f=e.getStartAndEndRadians;D=D.noop;var b=z.clamp,A=
+z.extend,u=z.fireEvent,l=z.merge,I=z.pick,k=z.relativeLength;z=function(d){function e(){var b=null!==d&&d.apply(this,arguments)||this;b.center=void 0;b.data=void 0;b.maxLabelDistance=void 0;b.options=void 0;b.points=void 0;return b}m(e,d);e.prototype.animate=function(b){var d=this,c=d.points,f=d.startAngleRad;b||c.forEach(function(a){var c=a.graphic,b=a.shapeArgs;c&&b&&(c.attr({r:I(a.startR,d.center&&d.center[3]/2),start:f,end:f}),c.animate({r:b.r,start:b.start,end:b.end},d.options.animation))})};
+e.prototype.drawEmpty=function(){var b=this.startAngleRad,d=this.endAngleRad,c=this.options;if(0===this.total&&this.center){var f=this.center[0];var a=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(f,a,this.center[1]/2,0,b,d).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:t.prototype.symbols.arc(f,a,this.center[2]/2,0,{start:b,end:d,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":c.borderWidth,fill:c.fillColor||"none",stroke:c.color||
+F.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())};e.prototype.drawPoints=function(){var b=this.chart.renderer;this.points.forEach(function(d){d.graphic&&d.hasNewShapeType()&&(d.graphic=d.graphic.destroy());d.graphic||(d.graphic=b[d.shapeType](d.shapeArgs).add(d.series.group),d.delayedRendering=!0)})};e.prototype.generatePoints=function(){d.prototype.generatePoints.call(this);this.updateTotals()};e.prototype.getX=function(d,g,c){var f=this.center,a=this.radii?this.radii[c.index]||
+0:f[2]/2;d=Math.asin(b((d-f[1])/(a+c.labelDistance),-1,1));return f[0]+(g?-1:1)*Math.cos(d)*(a+c.labelDistance)+(0<c.labelDistance?(g?-1:1)*this.options.dataLabels.padding:0)};e.prototype.hasData=function(){return!!this.processedXData.length};e.prototype.redrawPoints=function(){var b=this,d=b.chart,c=d.renderer,f,a,k,e,m=b.options.shadow;this.drawEmpty();!m||b.shadowGroup||d.styledMode||(b.shadowGroup=c.g("shadow").attr({zIndex:-1}).add(b.group));b.points.forEach(function(g){var n={};a=g.graphic;
+if(!g.isNull&&a){var p=void 0;e=g.shapeArgs;f=g.getTranslate();d.styledMode||(p=g.shadowGroup,m&&!p&&(p=g.shadowGroup=c.g("shadow").add(b.shadowGroup)),p&&p.attr(f),k=b.pointAttribs(g,g.selected&&"select"));g.delayedRendering?(a.setRadialReference(b.center).attr(e).attr(f),d.styledMode||a.attr(k).attr({"stroke-linejoin":"round"}).shadow(m,p),g.delayedRendering=!1):(a.setRadialReference(b.center),d.styledMode||l(!0,n,k),l(!0,n,e,f),a.animate(n));a.attr({visibility:g.visible?"inherit":"hidden"});a.addClass(g.getClassName(),
+!0)}else a&&(g.graphic=a.destroy())})};e.prototype.sortByAngle=function(b,d){b.sort(function(c,b){return"undefined"!==typeof c.angle&&(b.angle-c.angle)*d})};e.prototype.translate=function(b){this.generatePoints();var d=0,c=this.options,e=c.slicedOffset,a=e+(c.borderWidth||0),n=f(c.startAngle,c.endAngle),l=this.startAngleRad=n.start;n=(this.endAngleRad=n.end)-l;var m=this.points,p=c.dataLabels.distance;c=c.ignoreHiddenPoint;var r,h=m.length;b||(this.center=b=this.getCenter());for(r=0;r<h;r++){var v=
+m[r];var w=l+d*n;!v.isValid()||c&&!v.visible||(d+=v.percentage/100);var K=l+d*n;var t={x:b[0],y:b[1],r:b[2]/2,innerR:b[3]/2,start:Math.round(1E3*w)/1E3,end:Math.round(1E3*K)/1E3};v.shapeType="arc";v.shapeArgs=t;v.labelDistance=I(v.options.dataLabels&&v.options.dataLabels.distance,p);v.labelDistance=k(v.labelDistance,t.r);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,v.labelDistance);K=(K+w)/2;K>1.5*Math.PI?K-=2*Math.PI:K<-Math.PI/2&&(K+=2*Math.PI);v.slicedTranslation={translateX:Math.round(Math.cos(K)*
+e),translateY:Math.round(Math.sin(K)*e)};t=Math.cos(K)*b[2]/2;var H=Math.sin(K)*b[2]/2;v.tooltipPos=[b[0]+.7*t,b[1]+.7*H];v.half=K<-Math.PI/2||K>Math.PI/2?1:0;v.angle=K;w=Math.min(a,v.labelDistance/5);v.labelPosition={natural:{x:b[0]+t+Math.cos(K)*v.labelDistance,y:b[1]+H+Math.sin(K)*v.labelDistance},"final":{},alignment:0>v.labelDistance?"center":v.half?"right":"left",connectorPosition:{breakAt:{x:b[0]+t+Math.cos(K)*w,y:b[1]+H+Math.sin(K)*w},touchingSliceAt:{x:b[0]+t,y:b[1]+H}}}}u(this,"afterTranslate")};
+e.prototype.updateTotals=function(){var b,d=0,c=this.points,f=c.length,a=this.options.ignoreHiddenPoint;for(b=0;b<f;b++){var k=c[b];!k.isValid()||a&&!k.visible||(d+=k.y)}this.total=d;for(b=0;b<f;b++)k=c[b],k.percentage=0<d&&(k.visible||!a)?k.y/d*100:0,k.total=d};e.defaultOptions=l(C.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?
+void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:F.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}});return e}(C);A(z.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:y.drawRectangle,drawTracker:h.prototype.drawTracker,getCenter:e.getCenter,getSymbol:D,isCartesian:!1,
+noSharedTooltip:!0,pointAttribs:h.prototype.pointAttribs,pointClass:E,requireSorting:!1,searchPoint:D,trackerGroups:["group","dataLabelsGroup"]});G.registerSeriesType("pie",z);"";return z});P(e,"Core/Series/DataLabels.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E,C){var G=e.getDeferredAnimation,t=h.format;e=D.noop;
+E=E.seriesTypes;var z=C.arrayMax,m=C.clamp,f=C.defined,b=C.extend,A=C.fireEvent,u=C.isArray,l=C.merge,I=C.objectEach,k=C.pick,d=C.relativeLength,w=C.splat,n=C.stableSort;"";D.distribute=function(b,c,d){function a(a,c){return a.target-c.target}var g,f=!0,e=b,p=[];var l=0;var h=e.reducedLen||c;for(g=b.length;g--;)l+=b[g].size;if(l>h){n(b,function(a,c){return(c.rank||0)-(a.rank||0)});for(l=g=0;l<=h;)l+=b[g].size,g++;p=b.splice(g-1,b.length)}n(b,a);for(b=b.map(function(a){return{size:a.size,targets:[a.target],
+align:k(a.align,.5)}});f;){for(g=b.length;g--;)f=b[g],l=(Math.min.apply(0,f.targets)+Math.max.apply(0,f.targets))/2,f.pos=m(l-f.size*f.align,0,c-f.size);g=b.length;for(f=!1;g--;)0<g&&b[g-1].pos+b[g-1].size>b[g].pos&&(b[g-1].size+=b[g].size,b[g-1].targets=b[g-1].targets.concat(b[g].targets),b[g-1].align=.5,b[g-1].pos+b[g-1].size>c&&(b[g-1].pos=c-b[g-1].size),b.splice(g,1),f=!0)}e.push.apply(e,p);g=0;b.some(function(a){var b=0;if(a.targets.some(function(){e[g].pos=a.pos+b;if("undefined"!==typeof d&&
+Math.abs(e[g].pos-e[g].target)>d)return e.slice(0,g+1).forEach(function(a){delete a.pos}),e.reducedLen=(e.reducedLen||c)-.1*c,e.reducedLen>.1*c&&D.distribute(e,c,d),!0;b+=e[g].size;g++}))return!0});n(e,a)};F.prototype.drawDataLabels=function(){function b(a,c){var b=c.filter;return b?(c=b.operator,a=a[b.property],b=b.value,">"===c&&a>b||"<"===c&&a<b||">="===c&&a>=b||"<="===c&&a<=b||"=="===c&&a==b||"==="===c&&a===b?!0:!1):!0}function c(a,c){var b=[],d;if(u(a)&&!u(c))b=a.map(function(a){return l(a,c)});
+else if(u(c)&&!u(a))b=c.map(function(c){return l(a,c)});else if(u(a)||u(c))for(d=Math.max(a.length,c.length);d--;)b[d]=l(a[d],c[d]);else b=l(a,c);return b}var d=this,a=d.chart,e=d.options,n=e.dataLabels,m=d.points,p,r=d.hasRendered||0,h=n.animation;h=n.defer?G(a,h,d):{defer:0,duration:0};var v=a.renderer;n=c(c(a.options.plotOptions&&a.options.plotOptions.series&&a.options.plotOptions.series.dataLabels,a.options.plotOptions&&a.options.plotOptions[d.type]&&a.options.plotOptions[d.type].dataLabels),
+n);A(this,"drawDataLabels");if(u(n)||n.enabled||d._hasPointLabels){var N=d.plotGroup("dataLabelsGroup","data-labels",r?"inherit":"hidden",n.zIndex||6);N.attr({opacity:+r});!r&&(r=d.dataLabelsGroup)&&(d.visible&&N.show(!0),r[e.animation?"animate":"attr"]({opacity:1},h));m.forEach(function(g){p=w(c(n,g.dlOptions||g.options&&g.options.dataLabels));p.forEach(function(c,n){var p=c.enabled&&(!g.isNull||g.dataLabelOnNull)&&b(g,c),l=g.dataLabels?g.dataLabels[n]:g.dataLabel,m=g.connectors?g.connectors[n]:
+g.connector,h=k(c.distance,g.labelDistance),r=!l;if(p){var q=g.getLabelConfig();var w=k(c[g.formatPrefix+"Format"],c.format);q=f(w)?t(w,q,a):(c[g.formatPrefix+"Formatter"]||c.formatter).call(q,c);w=c.style;var u=c.rotation;a.styledMode||(w.color=k(c.color,w.color,d.color,y.neutralColor100),"contrast"===w.color?(g.contrastColor=v.getContrast(g.color||d.color),w.color=!f(h)&&c.inside||0>h||e.stacking?g.contrastColor:y.neutralColor100):delete g.contrastColor,e.cursor&&(w.cursor=e.cursor));var M={r:c.borderRadius||
+0,rotation:u,padding:c.padding,zIndex:1};a.styledMode||(M.fill=c.backgroundColor,M.stroke=c.borderColor,M["stroke-width"]=c.borderWidth);I(M,function(a,c){"undefined"===typeof a&&delete M[c]})}!l||p&&f(q)?p&&f(q)&&(l?M.text=q:(g.dataLabels=g.dataLabels||[],l=g.dataLabels[n]=u?v.text(q,0,-9999,c.useHTML).addClass("highcharts-data-label"):v.label(q,0,-9999,c.shape,null,null,c.useHTML,null,"data-label"),n||(g.dataLabel=l),l.addClass(" highcharts-data-label-color-"+g.colorIndex+" "+(c.className||"")+
+(c.useHTML?" highcharts-tracker":""))),l.options=c,l.attr(M),a.styledMode||l.css(w).shadow(c.shadow),l.added||l.add(N),c.textPath&&!c.useHTML&&(l.setTextPath(g.getDataLabelPath&&g.getDataLabelPath(l)||g.graphic,c.textPath),g.dataLabelPath&&!c.textPath.enabled&&(g.dataLabelPath=g.dataLabelPath.destroy())),d.alignDataLabel(g,l,c,null,r)):(g.dataLabel=g.dataLabel&&g.dataLabel.destroy(),g.dataLabels&&(1===g.dataLabels.length?delete g.dataLabels:delete g.dataLabels[n]),n||delete g.dataLabel,m&&(g.connector=
+g.connector.destroy(),g.connectors&&(1===g.connectors.length?delete g.connectors:delete g.connectors[n])))})})}A(this,"afterDrawDataLabels")};F.prototype.alignDataLabel=function(d,c,f,a,e){var g=this,n=this.chart,l=this.isCartesian&&n.inverted,m=this.enabledDataSorting,h=k(d.dlBox&&d.dlBox.centerX,d.plotX,-9999),v=k(d.plotY,-9999),q=c.getBBox(),w=f.rotation,u=f.align,t=n.isInsidePlot(h,Math.round(v),{inverted:l,paneCoordinates:!0,series:g}),x="justify"===k(f.overflow,m?"none":"justify"),B=this.visible&&
+!1!==d.visible&&(d.series.forceDL||m&&!x||t||k(f.inside,!!this.options.stacking)&&a&&n.isInsidePlot(h,l?a.x+1:a.y+a.height-1,{inverted:l,paneCoordinates:!0,series:g}));var A=function(a){m&&g.xAxis&&!x&&g.setDataLabelStartPos(d,c,e,t,a)};if(B){var z=n.renderer.fontMetrics(n.styledMode?void 0:f.style.fontSize,c).b;a=b({x:l?this.yAxis.len-v:h,y:Math.round(l?this.xAxis.len-h:v),width:0,height:0},a);b(f,{width:q.width,height:q.height});w?(x=!1,h=n.renderer.rotCorr(z,w),h={x:a.x+(f.x||0)+a.width/2+h.x,
+y:a.y+(f.y||0)+{top:0,middle:.5,bottom:1}[f.verticalAlign]*a.height},A(h),c[e?"attr":"animate"](h).attr({align:u}),A=(w+720)%360,A=180<A&&360>A,"left"===u?h.y-=A?q.height:0:"center"===u?(h.x-=q.width/2,h.y-=q.height/2):"right"===u&&(h.x-=q.width,h.y-=A?0:q.height),c.placed=!0,c.alignAttr=h):(A(a),c.align(f,void 0,a),h=c.alignAttr);x&&0<=a.height?this.justifyDataLabel(c,f,h,q,a,e):k(f.crop,!0)&&(B=n.isInsidePlot(h.x,h.y,{paneCoordinates:!0,series:g})&&n.isInsidePlot(h.x+q.width,h.y+q.height,{paneCoordinates:!0,
+series:g}));if(f.shape&&!w)c[e?"attr":"animate"]({anchorX:l?n.plotWidth-d.plotY:d.plotX,anchorY:l?n.plotHeight-d.plotX:d.plotY})}e&&m&&(c.placed=!1);B||m&&!x||(c.hide(!0),c.placed=!1)};F.prototype.setDataLabelStartPos=function(b,c,d,a,f){var g=this.chart,k=g.inverted,e=this.xAxis,n=e.reversed,l=k?c.height/2:c.width/2;b=(b=b.pointWidth)?b/2:0;e=k?f.x:n?-l-b:e.width-l+b;f=k?n?this.yAxis.height-l+b:-l-b:f.y;c.startXPos=e;c.startYPos=f;a?"hidden"===c.visibility&&(c.show(),c.attr({opacity:0}).animate({opacity:1})):
+c.attr({opacity:1}).animate({opacity:0},void 0,c.hide);g.hasRendered&&(d&&c.attr({x:c.startXPos,y:c.startYPos}),c.placed=!0)};F.prototype.justifyDataLabel=function(b,c,d,a,f,k){var g=this.chart,e=c.align,n=c.verticalAlign,l=b.box?0:b.padding||0,m=c.x;m=void 0===m?0:m;var h=c.y;var q=void 0===h?0:h;h=(d.x||0)+l;if(0>h){"right"===e&&0<=m?(c.align="left",c.inside=!0):m-=h;var w=!0}h=(d.x||0)+a.width-l;h>g.plotWidth&&("left"===e&&0>=m?(c.align="right",c.inside=!0):m+=g.plotWidth-h,w=!0);h=d.y+l;0>h&&
+("bottom"===n&&0<=q?(c.verticalAlign="top",c.inside=!0):q-=h,w=!0);h=(d.y||0)+a.height-l;h>g.plotHeight&&("top"===n&&0>=q?(c.verticalAlign="bottom",c.inside=!0):q+=g.plotHeight-h,w=!0);w&&(c.x=m,c.y=q,b.placed=!k,b.align(c,void 0,f));return w};E.pie&&(E.pie.prototype.dataLabelPositioners={radialDistributionY:function(b){return b.top+b.distributeBox.pos},radialDistributionX:function(b,c,d,a){return b.getX(d<c.top+2||d>c.bottom-2?a:d,c.half,c)},justify:function(b,c,d){return d[0]+(b.half?-1:1)*(c+b.labelDistance)},
+alignToPlotEdges:function(b,c,d,a){b=b.getBBox().width;return c?b+a:d-b-a},alignToConnectors:function(b,c,d,a){var g=0,f;b.forEach(function(a){f=a.dataLabel.getBBox().width;f>g&&(g=f)});return c?g+a:d-g-a}},E.pie.prototype.drawDataLabels=function(){var b=this,c=b.data,d,a=b.chart,e=b.options.dataLabels||{},n=e.connectorPadding,m,p=a.plotWidth,h=a.plotHeight,w=a.plotLeft,v=Math.round(a.chartWidth/3),u,t=b.center,A=t[2]/2,H=t[1],x,I,C,G,E=[[],[]],Q,T,P,W,V=[0,0,0,0],aa=b.dataLabelPositioners,X;b.visible&&
+(e.enabled||b._hasPointLabels)&&(c.forEach(function(a){a.dataLabel&&a.visible&&a.dataLabel.shortened&&(a.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),a.dataLabel.shortened=!1)}),F.prototype.drawDataLabels.apply(b),c.forEach(function(a){a.dataLabel&&(a.visible?(E[a.half].push(a),a.dataLabel._pos=null,!f(e.style.width)&&!f(a.options.dataLabels&&a.options.dataLabels.style&&a.options.dataLabels.style.width)&&a.dataLabel.getBBox().width>v&&(a.dataLabel.css({width:Math.round(.7*
+v)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),a.dataLabels&&1===a.dataLabels.length&&delete a.dataLabels))}),E.forEach(function(c,g){var l=c.length,m=[],v;if(l){b.sortByAngle(c,g-.5);if(0<b.maxLabelDistance){var r=Math.max(0,H-A-b.maxLabelDistance);var q=Math.min(H+A+b.maxLabelDistance,a.plotHeight);c.forEach(function(c){0<c.labelDistance&&c.dataLabel&&(c.top=Math.max(0,H-A-c.labelDistance),c.bottom=Math.min(H+A+c.labelDistance,a.plotHeight),v=c.dataLabel.getBBox().height||
+21,c.distributeBox={target:c.labelPosition.natural.y-c.top+v/2,size:v,rank:c.y},m.push(c.distributeBox))});r=q+v-r;D.distribute(m,r,r/5)}for(W=0;W<l;W++){d=c[W];C=d.labelPosition;x=d.dataLabel;P=!1===d.visible?"hidden":"inherit";T=r=C.natural.y;m&&f(d.distributeBox)&&("undefined"===typeof d.distributeBox.pos?P="hidden":(G=d.distributeBox.size,T=aa.radialDistributionY(d)));delete d.positionIndex;if(e.justify)Q=aa.justify(d,A,t);else switch(e.alignTo){case "connectors":Q=aa.alignToConnectors(c,g,p,
+w);break;case "plotEdges":Q=aa.alignToPlotEdges(x,g,p,w);break;default:Q=aa.radialDistributionX(b,d,T,r)}x._attr={visibility:P,align:C.alignment};X=d.options.dataLabels||{};x._pos={x:Q+k(X.x,e.x)+({left:n,right:-n}[C.alignment]||0),y:T+k(X.y,e.y)-10};C.final.x=Q;C.final.y=T;k(e.crop,!0)&&(I=x.getBBox().width,r=null,Q-I<n&&1===g?(r=Math.round(I-Q+n),V[3]=Math.max(r,V[3])):Q+I>p-n&&0===g&&(r=Math.round(Q+I-p+n),V[1]=Math.max(r,V[1])),0>T-G/2?V[0]=Math.max(Math.round(-T+G/2),V[0]):T+G/2>h&&(V[2]=Math.max(Math.round(T+
+G/2-h),V[2])),x.sideOverflow=r)}}}),0===z(V)||this.verifyDataLabelOverflow(V))&&(this.placeDataLabels(),this.points.forEach(function(c){X=l(e,c.options.dataLabels);if(m=k(X.connectorWidth,1)){var d;u=c.connector;if((x=c.dataLabel)&&x._pos&&c.visible&&0<c.labelDistance){P=x._attr.visibility;if(d=!u)c.connector=u=a.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+c.colorIndex+(c.className?" "+c.className:"")).add(b.dataLabelsGroup),a.styledMode||u.attr({"stroke-width":m,
+stroke:X.connectorColor||c.color||y.neutralColor60});u[d?"attr":"animate"]({d:c.getConnectorPath()});u.attr("visibility",P)}else u&&(c.connector=u.destroy())}}))},E.pie.prototype.placeDataLabels=function(){this.points.forEach(function(b){var c=b.dataLabel,d;c&&b.visible&&((d=c._pos)?(c.sideOverflow&&(c._attr.width=Math.max(c.getBBox().width-c.sideOverflow,0),c.css({width:c._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),c.shortened=!0),c.attr(c._attr),
+c[c.moved?"animate":"attr"](d),c.moved=!0):c&&c.attr({y:-9999}));delete b.distributeBox},this)},E.pie.prototype.alignDataLabel=e,E.pie.prototype.verifyDataLabelOverflow=function(b){var c=this.center,g=this.options,a=g.center,f=g.minSize||80,k=null!==g.size;if(!k){if(null!==a[0])var e=Math.max(c[2]-Math.max(b[1],b[3]),f);else e=Math.max(c[2]-b[1]-b[3],f),c[0]+=(b[3]-b[1])/2;null!==a[1]?e=m(e,f,c[2]-Math.max(b[0],b[2])):(e=m(e,f,c[2]-b[0]-b[2]),c[1]+=(b[0]-b[2])/2);e<c[2]?(c[2]=e,c[3]=Math.min(d(g.innerSize||
+0,e),e),this.translate(c),this.drawDataLabels&&this.drawDataLabels()):k=!0}return k});E.column&&(E.column.prototype.alignDataLabel=function(b,c,d,a,f){var g=this.chart.inverted,e=b.series,n=b.dlBox||b.shapeArgs,m=k(b.below,b.plotY>k(this.translatedThreshold,e.yAxis.len)),h=k(d.inside,!!this.options.stacking);n&&(a=l(n),0>a.y&&(a.height+=a.y,a.y=0),n=a.y+a.height-e.yAxis.len,0<n&&n<a.height&&(a.height-=n),g&&(a={x:e.yAxis.len-a.y-a.height,y:e.xAxis.len-a.x-a.width,width:a.height,height:a.width}),h||
+(g?(a.x+=m?0:a.width,a.width=0):(a.y+=m?a.height:0,a.height=0)));d.align=k(d.align,!g||h?"center":m?"right":"left");d.verticalAlign=k(d.verticalAlign,g||h?"middle":m?"top":"bottom");F.prototype.alignDataLabel.call(this,b,c,d,a,f);d.inside&&b.contrastColor&&c.css({color:b.contrastColor})})});P(e,"Extensions/OverlappingDataLabels.js",[e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],function(e,h){function D(e,m){var f=!1;if(e){var b=e.newOpacity;e.oldOpacity!==b&&(e.alignAttr&&e.placed?(e[b?"removeClass":
+"addClass"]("highcharts-data-label-hidden"),f=!0,e.alignAttr.opacity=b,e[e.isOld?"animate":"attr"](e.alignAttr,null,function(){m.styledMode||e.css({pointerEvents:b?"auto":"none"});e.visibility=b?"inherit":"hidden"}),F(m,"afterHideOverlappingLabel")):e.attr({opacity:b}));e.isOld=!0}return f}var y=h.addEvent,F=h.fireEvent,E=h.isArray,C=h.isNumber,G=h.objectEach,t=h.pick;y(e,"render",function(){var e=this,m=[];(this.labelCollectors||[]).forEach(function(f){m=m.concat(f())});(this.yAxis||[]).forEach(function(f){f.stacking&&
+f.options.stackLabels&&!f.options.stackLabels.allowOverlap&&G(f.stacking.stacks,function(b){G(b,function(b){m.push(b.label)})})});(this.series||[]).forEach(function(f){var b=f.options.dataLabels;f.visible&&(!1!==b.enabled||f._hasPointLabels)&&(b=function(b){return b.forEach(function(b){b.visible&&(E(b.dataLabels)?b.dataLabels:b.dataLabel?[b.dataLabel]:[]).forEach(function(f){var l=f.options;f.labelrank=t(l.labelrank,b.labelrank,b.shapeArgs&&b.shapeArgs.height);l.allowOverlap?(f.oldOpacity=f.opacity,
+f.newOpacity=1,D(f,e)):m.push(f)})})},b(f.nodes||[]),b(f.points))});this.hideOverlappingLabels(m)});e.prototype.hideOverlappingLabels=function(e){var m=this,f=e.length,b=m.renderer,h,u,l,t=!1;var k=function(d){var g,c=d.box?0:d.padding||0,f=g=0,a;if(d&&(!d.alignAttr||d.placed)){var k=d.alignAttr||{x:d.attr("x"),y:d.attr("y")};var e=d.parentGroup;d.width||(g=d.getBBox(),d.width=g.width,d.height=g.height,g=b.fontMetrics(null,d.element).h);var n=d.width-2*c;(a={left:"0",center:"0.5",right:"1"}[d.alignValue])?
+f=+a*n:C(d.x)&&Math.round(d.x)!==d.translateX&&(f=d.x-d.translateX);return{x:k.x+(e.translateX||0)+c-(f||0),y:k.y+(e.translateY||0)+c-g,width:d.width-2*c,height:d.height-2*c}}};for(u=0;u<f;u++)if(h=e[u])h.oldOpacity=h.opacity,h.newOpacity=1,h.absoluteBox=k(h);e.sort(function(b,d){return(d.labelrank||0)-(b.labelrank||0)});for(u=0;u<f;u++){var d=(k=e[u])&&k.absoluteBox;for(h=u+1;h<f;++h){var w=(l=e[h])&&l.absoluteBox;!d||!w||k===l||0===k.newOpacity||0===l.newOpacity||w.x>=d.x+d.width||w.x+w.width<=
+d.x||w.y>=d.y+d.height||w.y+w.height<=d.y||((k.labelrank<l.labelrank?k:l).newOpacity=0)}}e.forEach(function(b){D(b,m)&&(t=!0)});t&&F(m,"afterHideAllOverlappingLabels")}});P(e,"Core/Responsive.js",[e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],function(e,h){var D=h.find,y=h.isArray,F=h.isObject,E=h.merge,C=h.objectEach,G=h.pick,t=h.splat,z=h.uniqueKey;e.prototype.setResponsive=function(e,f){var b=this.options.responsive,m=[],h=this.currentResponsive;!f&&b&&b.rules&&b.rules.forEach(function(b){"undefined"===
+typeof b._id&&(b._id=z());this.matchResponsiveRule(b,m)},this);f=E.apply(0,m.map(function(f){return D(b.rules,function(b){return b._id===f}).chartOptions}));f.isResponsiveOptions=!0;m=m.toString()||void 0;m!==(h&&h.ruleIds)&&(h&&this.update(h.undoOptions,e,!0),m?(h=this.currentOptions(f),h.isResponsiveOptions=!0,this.currentResponsive={ruleIds:m,mergedOptions:f,undoOptions:h},this.update(f,e,!0)):this.currentResponsive=void 0)};e.prototype.matchResponsiveRule=function(e,f){var b=e.condition;(b.callback||
+function(){return this.chartWidth<=G(b.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=G(b.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=G(b.minWidth,0)&&this.chartHeight>=G(b.minHeight,0)}).call(this)&&f.push(e._id)};e.prototype.currentOptions=function(e){function f(e,l,m,k){var d;C(e,function(e,n){if(!k&&-1<b.collectionsWithUpdate.indexOf(n)&&l[n])for(e=t(e),m[n]=[],d=0;d<Math.max(e.length,l[n].length);d++)l[n][d]&&(void 0===e[d]?m[n][d]=l[n][d]:(m[n][d]={},f(e[d],l[n][d],m[n][d],k+1)));else F(e)?
+(m[n]=y(e)?[]:{},f(e,l[n]||{},m[n],k+1)):m[n]="undefined"===typeof l[n]?null:l[n]})}var b=this,m={};f(e,this.options,m,0);return m}});P(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Options.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Series/Series.js"]],function(e,h,D,y,F,E,C,G,t){e.animate=F.animate;e.animObject=F.animObject;e.getDeferredAnimation=
+F.getDeferredAnimation;e.setAnimation=F.setAnimation;e.stop=F.stop;e.timers=y.timers;e.AST=E;e.Fx=y;e.Series=t;e.SVGElement=G;e.dateFormat=C.dateFormat;e.format=C.format;e.numberFormat=C.numberFormat;e.defaultOptions=D.defaultOptions;e.getOptions=D.getOptions;e.time=D.defaultTime;e.setOptions=D.setOptions;e.addEvent=h.addEvent;e.arrayMax=h.arrayMax;e.arrayMin=h.arrayMin;e.attr=h.attr;e.clearTimeout=h.clearTimeout;e.correctFloat=h.correctFloat;e.createElement=h.createElement;e.css=h.css;e.defined=
+h.defined;e.destroyObjectProperties=h.destroyObjectProperties;e.discardElement=h.discardElement;e.erase=h.erase;e.error=h.error;e.extend=h.extend;e.extendClass=h.extendClass;e.find=h.find;e.fireEvent=h.fireEvent;e.getMagnitude=h.getMagnitude;e.getStyle=h.getStyle;e.inArray=h.inArray;e.isArray=h.isArray;e.isClass=h.isClass;e.isDOMElement=h.isDOMElement;e.isFunction=h.isFunction;e.isNumber=h.isNumber;e.isObject=h.isObject;e.isString=h.isString;e.keys=h.keys;e.merge=h.merge;e.normalizeTickInterval=h.normalizeTickInterval;
+e.objectEach=h.objectEach;e.offset=h.offset;e.pad=h.pad;e.pick=h.pick;e.pInt=h.pInt;e.relativeLength=h.relativeLength;e.removeEvent=h.removeEvent;e.splat=h.splat;e.stableSort=h.stableSort;e.syncTimeout=h.syncTimeout;e.timeUnits=h.timeUnits;e.uniqueKey=h.uniqueKey;e.useSerialIds=h.useSerialIds;e.wrap=h.wrap;return e});P(e,"Series/XRange/XRangePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h,D){var y=this&&this.__extends||function(){var e=
+function(h,C){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,h){e.__proto__=h}||function(e,h){for(var t in h)h.hasOwnProperty(t)&&(e[t]=h[t])};return e(h,C)};return function(h,C){function y(){this.constructor=h}e(h,C);h.prototype=null===C?Object.create(C):(y.prototype=C.prototype,new y)}}();D=D.extend;h=function(h){function E(){var e=null!==h&&h.apply(this,arguments)||this;e.options=void 0;e.series=void 0;return e}y(E,h);E.getColorByCategory=function(e,h){var t=e.options.colors||
+e.chart.options.colors;e=h.y%(t?t.length:e.chart.options.chart.colorCount);return{colorIndex:e,color:t&&t[e]}};E.prototype.resolveColor=function(){var e=this.series;if(e.options.colorByPoint&&!this.options.color){var h=E.getColorByCategory(e,this);e.chart.styledMode||(this.color=h.color);this.options.colorIndex||(this.colorIndex=h.colorIndex)}else this.color||(this.color=e.color)};E.prototype.init=function(){e.prototype.init.apply(this,arguments);this.y||(this.y=0);return this};E.prototype.setState=
+function(){e.prototype.setState.apply(this,arguments);this.series.drawPoint(this,this.series.getAnimationVerb())};E.prototype.getLabelConfig=function(){var h=e.prototype.getLabelConfig.call(this),y=this.series.yAxis.categories;h.x2=this.x2;h.yCategory=this.yCategory=y&&y[this.y];return h};E.prototype.isValid=function(){return"number"===typeof this.x&&"number"===typeof this.x2};return E}(h.seriesTypes.column.prototype.pointClass);D(h.prototype,{tooltipDateKeys:["x","x2"]});return h});P(e,"Series/XRange/XRangeComposition.js",
+[e["Core/Axis/Axis.js"],e["Core/Utilities.js"]],function(e,h){var D=h.addEvent,y=h.pick;D(e,"afterGetSeriesExtremes",function(){var e=this.series,h;if(this.isXAxis){var C=y(this.dataMax,-Number.MAX_VALUE);e.forEach(function(e){e.x2Data&&e.x2Data.forEach(function(e){e>C&&(C=e,h=!0)})});h&&(this.dataMax=C)}})});P(e,"Series/XRange/XRangeSeries.js",[e["Core/Globals.js"],e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Series/XRange/XRangePoint.js"]],function(e,h,D,
+y,F){var E=this&&this.__extends||function(){var b=function(d,f){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var d in c)c.hasOwnProperty(d)&&(b[d]=c[d])};return b(d,f)};return function(d,f){function g(){this.constructor=d}b(d,f);d.prototype=null===f?Object.create(f):(g.prototype=f.prototype,new g)}}(),C=h.parse,G=D.series,t=D.seriesTypes.column,z=t.prototype,m=y.clamp,f=y.correctFloat,b=y.defined;h=y.extend;var A=y.find,u=y.isNumber,l=y.isObject,
+I=y.merge,k=y.pick;y=function(d){function e(){var b=null!==d&&d.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}E(e,d);e.prototype.init=function(){t.prototype.init.apply(this,arguments);this.options.stacking=void 0};e.prototype.getColumnMetrics=function(){function b(){d.series.forEach(function(c){var a=c.xAxis;c.xAxis=c.yAxis;c.yAxis=a})}var d=this.chart;b();var c=z.getColumnMetrics.call(this);b();return c};e.prototype.cropData=function(b,d,c,f){d=G.prototype.cropData.call(this,
+this.x2Data,d,c,f);d.xData=b.slice(d.start,d.end);return d};e.prototype.findPointIndex=function(b){var d=this.cropped,c=this.cropStart,f=this.points,a=b.id;if(a)var e=(e=A(f,function(c){return c.id===a}))?e.index:void 0;"undefined"===typeof e&&(e=(e=A(f,function(a){return a.x===b.x&&a.x2===b.x2&&!a.touched}))?e.index:void 0);d&&u(e)&&u(c)&&e>=c&&(e-=c);return e};e.prototype.translatePoint=function(d){var g=this.xAxis,c=this.yAxis,f=this.columnMetrics,a=this.options,e=a.minPointLength||0,n=(d.shapeArgs&&
+d.shapeArgs.width||0)/2,h=this.pointXOffset=f.offset,p=d.plotX,r=k(d.x2,d.x+(d.len||0)),w=g.translate(r,0,0,0,1);r=Math.abs(w-p);var v=this.chart.inverted,N=k(a.borderWidth,1)%2/2,t=f.offset,A=Math.round(f.width);e&&(e-=r,0>e&&(e=0),p-=e/2,w+=e/2);p=Math.max(p,-10);w=m(w,-10,g.len+10);b(d.options.pointWidth)&&(t-=(Math.ceil(d.options.pointWidth)-A)/2,A=Math.ceil(d.options.pointWidth));a.pointPlacement&&u(d.plotY)&&c.categories&&(d.plotY=c.translate(d.y,0,1,0,1,a.pointPlacement));a={x:Math.floor(Math.min(p,
+w))+N,y:Math.floor(d.plotY+t)+N,width:Math.round(Math.abs(w-p)),height:A,r:this.options.borderRadius};d.shapeArgs=a;v?d.tooltipPos[1]+=h+n:d.tooltipPos[0]-=n+h-a.width/2;n=a.x;h=n+a.width;0>n||h>g.len?(n=m(n,0,g.len),h=m(h,0,g.len),e=h-n,d.dlBox=I(a,{x:n,width:h-n,centerX:e?e/2:null})):d.dlBox=null;n=d.tooltipPos;h=v?1:0;e=v?0:1;f=this.columnMetrics?this.columnMetrics.offset:-f.width/2;n[h]=v?n[h]+a.width/2:n[h]+(g.reversed?-1:0)*a.width;n[e]=m(n[e]+(v?-1:1)*f,0,c.len-1);if(c=d.partialFill)l(c)&&
+(c=c.amount),u(c)||(c=0),d.partShapeArgs=I(a,{r:this.options.borderRadius}),p=Math.max(Math.round(r*c+d.plotX-p),0),d.clipRectArgs={x:g.reversed?a.x+r-p:a.x,y:a.y,width:p,height:a.height}};e.prototype.translate=function(){z.translate.apply(this,arguments);this.points.forEach(function(b){this.translatePoint(b)},this)};e.prototype.drawPoint=function(b,d){var c=this.options,g=this.chart.renderer,a=b.graphic,f=b.shapeType,e=b.shapeArgs,n=b.partShapeArgs,p=b.clipRectArgs,h=b.partialFill,m=c.stacking&&
+!c.borderRadius,v=b.state,w=c.states[v||"normal"]||{},u="undefined"===typeof v?"attr":d;v=this.pointAttribs(b,v);w=k(this.chart.options.chart.animation,w.animation);if(b.isNull||!1===b.visible)a&&(b.graphic=a.destroy());else{if(a)a.rect[d](e);else b.graphic=a=g.g("point").addClass(b.getClassName()).add(b.group||this.group),a.rect=g[f](I(e)).addClass(b.getClassName()).addClass("highcharts-partfill-original").add(a);n&&(a.partRect?(a.partRect[d](I(n)),a.partialClipRect[d](I(p))):(a.partialClipRect=
+g.clipRect(p.x,p.y,p.width,p.height),a.partRect=g[f](n).addClass("highcharts-partfill-overlay").add(a).clip(a.partialClipRect)));this.chart.styledMode||(a.rect[d](v,w).shadow(c.shadow,null,m),n&&(l(h)||(h={}),l(c.partialFill)&&(h=I(c.partialFill,h)),b=h.fill||C(v.fill).brighten(-.3).get()||C(b.color||this.color).brighten(-.3).get(),v.fill=b,a.partRect[u](v,w).shadow(c.shadow,null,m)))}};e.prototype.drawPoints=function(){var b=this,d=b.getAnimationVerb();b.points.forEach(function(c){b.drawPoint(c,
+d)})};e.prototype.getAnimationVerb=function(){return this.chart.pointCount<(this.options.animationLimit||250)?"animate":"attr"};e.prototype.isPointInside=function(b){var g=b.shapeArgs,c=b.plotX,f=b.plotY;return g?"undefined"!==typeof c&&"undefined"!==typeof f&&0<=f&&f<=this.yAxis.len&&0<=(g.x||0)+(g.width||0)&&c<=this.xAxis.len:d.prototype.isPointInside.apply(this,arguments)};e.defaultOptions=I(t.defaultOptions,{colorByPoint:!0,dataLabels:{formatter:function(){var b=this.point.partialFill;l(b)&&(b=
+b.amount);if(u(b)&&0<b)return f(100*b)+"%"},inside:!0,verticalAlign:"middle"},tooltip:{headerFormat:'<span style="font-size: 10px">{point.x} - {point.x2}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.yCategory}</b><br/>'},borderRadius:3,pointRange:0});return e}(t);h(y.prototype,{type:"xrange",parallelArrays:["x","x2","y"],requireSorting:!1,animate:G.prototype.animate,cropShoulder:1,getExtremesFromAll:!0,autoIncrement:e.noop,buildKDTree:e.noop,pointClass:F});
+D.registerSeriesType("xrange",y);"";return y});P(e,"Series/Gantt/GanttPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h){var D=this&&this.__extends||function(){var e=function(h,y){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,h){e.__proto__=h}||function(e,h){for(var t in h)h.hasOwnProperty(t)&&(e[t]=h[t])};return e(h,y)};return function(h,y){function C(){this.constructor=h}e(h,y);h.prototype=null===y?Object.create(y):(C.prototype=y.prototype,
+new C)}}(),y=h.pick;return function(e){function h(){var h=null!==e&&e.apply(this,arguments)||this;h.options=void 0;h.series=void 0;return h}D(h,e);h.setGanttPointAliases=function(e){function h(h,z){"undefined"!==typeof z&&(e[h]=z)}h("x",y(e.start,e.x));h("x2",y(e.end,e.x2));h("partialFill",y(e.completed,e.partialFill))};h.prototype.applyOptions=function(y,D){y=e.prototype.applyOptions.call(this,y,D);h.setGanttPointAliases(y);return y};h.prototype.isValid=function(){return("number"===typeof this.start||
+"number"===typeof this.x)&&("number"===typeof this.end||"number"===typeof this.x2||this.milestone)};return h}(e.seriesTypes.xrange.prototype.pointClass)});P(e,"Gantt/Tree.js",[e["Core/Utilities.js"]],function(e){var h=e.extend,D=e.isNumber,y=e.pick,F=function(e,h){var t=e.reduce(function(e,h){var f=y(h.parent,"");"undefined"===typeof e[f]&&(e[f]=[]);e[f].push(h);return e},{});Object.keys(t).forEach(function(e,m){var f=t[e];""!==e&&-1===h.indexOf(e)&&(f.forEach(function(b){m[""].push(b)}),delete m[e])});
+return t},E=function(e,G,t,z,m,f){var b=0,A=0,u=f&&f.after,l=f&&f.before;G={data:z,depth:t-1,id:e,level:t,parent:G};var I,k;"function"===typeof l&&l(G,f);l=(m[e]||[]).map(function(d){var l=E(d.id,e,t+1,d,m,f),n=d.start;d=!0===d.milestone?n:d.end;I=!D(I)||n<I?n:I;k=!D(k)||d>k?d:k;b=b+1+l.descendants;A=Math.max(l.height+1,A);return l});z&&(z.start=y(z.start,I),z.end=y(z.end,k));h(G,{children:l,descendants:b,height:A});"function"===typeof u&&u(G,f);return G};return{getListOfParents:F,getNode:E,getTree:function(e,
+h){var t=e.map(function(e){return e.id});e=F(e,t);return E("",null,1,null,e,h)}}});P(e,"Core/Axis/TreeGridTick.js",[e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,h){var D=h.addEvent,y=h.isObject,F=h.isNumber,E=h.pick,C=h.wrap,G;(function(h){function t(){this.treeGrid||(this.treeGrid=new u(this))}function m(b,f){b=b.treeGrid;var k=!b.labelIcon,d=f.renderer,l=f.xy,n=f.options,g=n.width||0,c=n.height||0,h=l.x-g/2-(n.padding||0);l=l.y-c/2;var a=f.collapsed?90:180,m=f.show&&F(l),u=b.labelIcon;
+u||(b.labelIcon=u=d.path(d.symbols[n.type](n.x||0,n.y||0,g,c)).addClass("highcharts-label-icon").add(f.group));u.attr({y:m?0:-9999});d.styledMode||u.attr({cursor:"pointer",fill:E(f.color,e.neutralColor60),"stroke-width":1,stroke:n.lineColor,strokeWidth:n.lineWidth||0});u[k?"attr":"animate"]({translateX:h,translateY:l,rotation:a})}function f(b,f,e,d,h,n,g,c,m){var a=E(this.options&&this.options.labels,n);n=this.pos;var k=this.axis,l="treegrid"===k.options.type;b=b.apply(this,[f,e,d,h,a,g,c,m]);l&&
+(f=a&&y(a.symbol,!0)?a.symbol:{},a=a&&F(a.indentation)?a.indentation:0,n=(n=(k=k.treeGrid.mapOfPosToGridNode)&&k[n])&&n.depth||1,b.x+=(f.width||0)+2*(f.padding||0)+(n-1)*a);return b}function b(b){var f=this,e=f.pos,d=f.axis,l=f.label,n=d.treeGrid.mapOfPosToGridNode,g=d.options,c=E(f.options&&f.options.labels,g&&g.labels),h=c&&y(c.symbol,!0)?c.symbol:{},a=(n=n&&n[e])&&n.depth;g="treegrid"===g.type;var u=-1<d.tickPositions.indexOf(e);e=d.chart.styledMode;g&&n&&l&&l.element&&l.addClass("highcharts-treegrid-node-level-"+
+a);b.apply(f,Array.prototype.slice.call(arguments,1));g&&l&&l.element&&n&&n.descendants&&0<n.descendants&&(d=d.treeGrid.isCollapsed(n),m(f,{color:!e&&l.styles&&l.styles.color||"",collapsed:d,group:l.parentGroup,options:h,renderer:l.renderer,show:u,xy:l.xy}),h="highcharts-treegrid-node-"+(d?"expanded":"collapsed"),l.addClass("highcharts-treegrid-node-"+(d?"collapsed":"expanded")).removeClass(h),e||l.css({cursor:"pointer"}),[l,f.treeGrid.labelIcon].forEach(function(a){a&&!a.attachedTreeGridEvents&&
+(D(a.element,"mouseover",function(){l.addClass("highcharts-treegrid-node-active");l.renderer.styledMode||l.css({textDecoration:"underline"})}),D(a.element,"mouseout",function(){var a=y(c.style)?c.style:{};l.removeClass("highcharts-treegrid-node-active");l.renderer.styledMode||l.css({textDecoration:a.textDecoration})}),D(a.element,"click",function(){f.treeGrid.toggleCollapse()}),a.attachedTreeGridEvents=!0)}))}var A=!1;h.compose=function(e){A||(D(e,"init",t),C(e.prototype,"getLabelPosition",f),C(e.prototype,
+"renderLabel",b),e.prototype.collapse=function(b){this.treeGrid.collapse(b)},e.prototype.expand=function(b){this.treeGrid.expand(b)},e.prototype.toggleCollapse=function(b){this.treeGrid.toggleCollapse(b)},A=!0)};var u=function(){function b(b){this.tick=b}b.prototype.collapse=function(b){var f=this.tick,d=f.axis,e=d.brokenAxis;e&&d.treeGrid.mapOfPosToGridNode&&(f=d.treeGrid.collapse(d.treeGrid.mapOfPosToGridNode[f.pos]),e.setBreaks(f,E(b,!0)))};b.prototype.expand=function(b){var f=this.tick,d=f.axis,
+e=d.brokenAxis;e&&d.treeGrid.mapOfPosToGridNode&&(f=d.treeGrid.expand(d.treeGrid.mapOfPosToGridNode[f.pos]),e.setBreaks(f,E(b,!0)))};b.prototype.toggleCollapse=function(b){var f=this.tick,d=f.axis,e=d.brokenAxis;e&&d.treeGrid.mapOfPosToGridNode&&(f=d.treeGrid.toggleCollapse(d.treeGrid.mapOfPosToGridNode[f.pos]),e.setBreaks(f,E(b,!0)))};return b}();h.Additions=u})(G||(G={}));return G});P(e,"Mixins/TreeSeries.js",[e["Core/Color/Color.js"],e["Core/Utilities.js"]],function(e,h){var D=h.extend,y=h.isArray,
+F=h.isNumber,E=h.isObject,C=h.merge,G=h.pick;return{getColor:function(h,z){var m=z.index,f=z.mapOptionsToLevel,b=z.parentColor,t=z.parentColorIndex,u=z.series,l=z.colors,I=z.siblings,k=u.points,d=u.chart.options.chart,w;if(h){k=k[h.i];h=f[h.level]||{};if(f=k&&h.colorByPoint){var n=k.index%(l?l.length:d.colorCount);var g=l&&l[n]}if(!u.chart.styledMode){l=k&&k.options.color;d=h&&h.color;if(w=b)w=(w=h&&h.colorVariation)&&"brightness"===w.key?e.parse(b).brighten(m/I*w.to).get():b;w=G(l,d,g,w,u.color)}var c=
+G(k&&k.options.colorIndex,h&&h.colorIndex,n,t,z.colorIndex)}return{color:w,colorIndex:c}},getLevelOptions:function(e){var h=null;if(E(e)){h={};var m=F(e.from)?e.from:1;var f=e.levels;var b={};var t=E(e.defaults)?e.defaults:{};y(f)&&(b=f.reduce(function(b,f){if(E(f)&&F(f.level)){var e=C({},f);var k="boolean"===typeof e.levelIsConstant?e.levelIsConstant:t.levelIsConstant;delete e.levelIsConstant;delete e.level;f=f.level+(k?0:m-1);E(b[f])?D(b[f],e):b[f]=e}return b},{}));f=F(e.to)?e.to:1;for(e=0;e<=f;e++)h[e]=
+C({},t,E(b[e])?b[e]:{})}return h},setTreeValues:function f(e,h){var b=h.before,m=h.idRoot,u=h.mapIdToNode[m],l=h.points[e.i],I=l&&l.options||{},k=0,d=[];e.levelDynamic=e.level-(("boolean"===typeof h.levelIsConstant?h.levelIsConstant:1)?0:u.level);e.name=G(l&&l.name,"");e.visible=m===e.id||("boolean"===typeof h.visible?h.visible:!1);"function"===typeof b&&(e=b(e,h));e.children.forEach(function(b,l){var g=D({},h);D(g,{index:l,siblings:e.children.length,visible:e.visible});b=f(b,g);d.push(b);b.visible&&
+(k+=b.val)});e.visible=0<k||e.visible;b=G(I.value,k);e.children=d;e.childrenTotal=k;e.isLeaf=e.visible&&!k;e.val=b;return e},updateRootId:function(e){if(E(e)){var h=E(e.options)?e.options:{};h=G(e.rootNode,h.rootId,"");E(e.userOptions)&&(e.userOptions.rootId=h);e.rootNode=h}return h}}});P(e,"Core/Axis/GridAxis.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(e,h,D,y){var F=y.addEvent,E=y.defined,C=y.erase,G=y.find,t=y.isArray,z=y.isNumber,m=
+y.merge,f=y.pick,b=y.timeUnits,A=y.wrap,u=h.Chart;"";e.prototype.getMaxLabelDimensions=function(b,d){var f={width:0,height:0};d.forEach(function(d){d=b[d];if(y.isObject(d,!0)){var g=y.isObject(d.label,!0)?d.label:{};d=g.getBBox?g.getBBox().height:0;g.textStr&&!z(g.textPxLength)&&(g.textPxLength=g.getBBox().width);var c=z(g.textPxLength)?Math.round(g.textPxLength):0;g.textStr&&(c=Math.round(g.getBBox().width));f.height=Math.max(d,f.height);f.width=Math.max(c,f.width)}});return f};h.dateFormats.W=function(b){b=
+new this.Date(b);var d=(this.get("Day",b)+6)%7,f=new this.Date(b.valueOf());this.set("Date",f,this.get("Date",b)-d+3);d=new this.Date(this.get("FullYear",f),0,1);4!==this.get("Day",d)&&(this.set("Month",b,0),this.set("Date",b,1+(11-this.get("Day",d))%7));return(1+Math.floor((f.valueOf()-d.valueOf())/6048E5)).toString()};h.dateFormats.E=function(b){return this.dateFormat("%a",b,!0).charAt(0)};F(u,"afterSetChartSize",function(){this.axes.forEach(function(b){(b.grid&&b.grid.columns||[]).forEach(function(b){b.setAxisSize();
+b.setAxisTranslation()})})});F(D,"afterGetLabelPosition",function(b){var d=this.label,f=this.axis,e=f.reversed,g=f.chart,c=f.options.grid||{},k=f.options.labels,a=k.align,l=I.Side[f.side],h=b.tickmarkOffset,m=f.tickPositions,p=this.pos-h;m=z(m[b.index+1])?m[b.index+1]-h:f.max+h;var r=f.tickSize("tick");h=r?r[0]:0;r=r?r[1]/2:0;if(!0===c.enabled){if("top"===l){c=f.top+f.offset;var u=c-h}else"bottom"===l?(u=g.chartHeight-f.bottom+f.offset,c=u+h):(c=f.top+f.len-f.translate(e?m:p),u=f.top+f.len-f.translate(e?
+p:m));"right"===l?(l=g.chartWidth-f.right+f.offset,e=l+h):"left"===l?(e=f.left+f.offset,l=e-h):(l=Math.round(f.left+f.translate(e?m:p))-r,e=Math.round(f.left+f.translate(e?p:m))-r);this.slotWidth=e-l;b.pos.x="left"===a?l:"right"===a?e:l+(e-l)/2;b.pos.y=u+(c-u)/2;g=g.renderer.fontMetrics(k.style.fontSize,d.element);d=d.getBBox().height;k.useHTML?b.pos.y+=g.b+-(d/2):(d=Math.round(d/g.h),b.pos.y+=(g.b-(g.h-g.f))/2+-((d-1)*g.h/2));b.pos.x+=f.horiz&&k.x||0}});F(D,"labelFormat",function(b){var d=b.axis,
+f=b.value;if(d.options.grid&&d.options.grid.enabled){var e=d.tickPositions,g=(d.linkedParent||d).series[0],c=f===e[0];e=f===e[e.length-1];var k=g&&G(g.options.data,function(a){return a[d.isXAxis?"x":"y"]===f}),a=void 0;k&&g.is("gantt")&&(a=m(k),h.seriesTypes.gantt.prototype.pointClass.setGanttPointAliases(a));b.isFirst=c;b.isLast=e;b.point=a}});var l=function(){function b(b){this.axis=b}b.prototype.isOuterAxis=function(){var b=this.axis,f=b.grid.columnIndex,e=b.linkedParent&&b.linkedParent.grid.columns||
+b.grid.columns,g=f?b.linkedParent:b,c=-1,k=0;b.chart[b.coll].forEach(function(a,d){a.side!==b.side||a.options.isInternal||(k=d,a===g&&(c=d))});return k===c&&(z(f)?e.length===f:!0)};b.prototype.renderBorder=function(b){var d=this.axis,f=d.chart.renderer,g=d.options;b=f.path(b).addClass("highcharts-axis-line").add(d.axisBorder);f.styledMode||b.attr({stroke:g.lineColor,"stroke-width":g.lineWidth,zIndex:7});return b};return b}(),I=function(){function k(){}k.compose=function(b){e.keepProps.push("grid");
+A(b.prototype,"unsquish",k.wrapUnsquish);F(b,"init",k.onInit);F(b,"afterGetOffset",k.onAfterGetOffset);F(b,"afterGetTitlePosition",k.onAfterGetTitlePosition);F(b,"afterInit",k.onAfterInit);F(b,"afterRender",k.onAfterRender);F(b,"afterSetAxisTranslation",k.onAfterSetAxisTranslation);F(b,"afterSetOptions",k.onAfterSetOptions);F(b,"afterSetOptions",k.onAfterSetOptions2);F(b,"afterSetScale",k.onAfterSetScale);F(b,"afterTickSize",k.onAfterTickSize);F(b,"trimTicks",k.onTrimTicks);F(b,"destroy",k.onDestroy)};
+k.onAfterGetOffset=function(){var b=this.grid;(b&&b.columns||[]).forEach(function(b){b.getOffset()})};k.onAfterGetTitlePosition=function(b){if(!0===(this.options.grid||{}).enabled){var d=this.axisTitle,e=this.height,g=this.horiz,c=this.left,l=this.offset,a=this.opposite,h=this.options,m=this.top,u=this.width,p=this.tickSize(),r=d&&d.getBBox().width,t=h.title.x,v=h.title.y,N=f(h.title.margin,g?5:10);d=this.chart.renderer.fontMetrics(h.title.style.fontSize,d).f;p=(g?m+e:c)+(g?1:-1)*(a?-1:1)*(p?p[0]/
+2:0)+(this.side===k.Side.bottom?d:0);b.titlePosition.x=g?c-(r||0)/2-N+t:p+(a?u:0)+l+t;b.titlePosition.y=g?p-(a?e:0)+(a?d:-d)/2+l+v:m-N+v}};k.onAfterInit=function(){var b=this.chart,k=this.options.grid;k=void 0===k?{}:k;var l=this.userOptions;if(k.enabled){var g=this.options;g.labels.align=f(g.labels.align,"center");this.categories||(g.showLastLabel=!1);this.labelRotation=0;g.labels.rotation=0}if(k.columns){g=this.grid.columns=[];for(var c=this.grid.columnIndex=0;++c<k.columns.length;){var h=m(l,k.columns[k.columns.length-
+c-1],{linkedTo:0,type:"category",scrollbar:{enabled:!1}});delete h.grid.columns;h=new e(this.chart,h);h.grid.isColumn=!0;h.grid.columnIndex=c;C(b.axes,h);C(b[this.coll],h);g.push(h)}}};k.onAfterRender=function(){var b=this.grid,f=this.options;if(!0===(f.grid||{}).enabled){this.maxLabelDimensions=this.getMaxLabelDimensions(this.ticks,this.tickPositions);this.rightWall&&this.rightWall.destroy();if(this.grid&&this.grid.isOuterAxis()&&this.axisLine&&(f=f.lineWidth)){f=this.getLinePath(f);var e=f[0],g=
+f[1],c=((this.tickSize("tick")||[1])[0]-1)*(this.side===k.Side.top||this.side===k.Side.left?-1:1);"M"===e[0]&&"L"===g[0]&&(this.horiz?(e[2]+=c,g[2]+=c):(e[1]+=c,g[1]+=c));!this.horiz&&this.chart.marginRight&&(e=[e,["L",this.left,e[2]]],c=["L",this.chart.chartWidth-this.chart.marginRight,this.toPixels(this.max+this.tickmarkOffset)],g=[["M",g[1],this.toPixels(this.max+this.tickmarkOffset)],c],this.grid.upperBorder||0===this.min%1||(this.grid.upperBorder=this.grid.renderBorder(e)),this.grid.upperBorder&&
+this.grid.upperBorder.animate({d:e}),this.grid.lowerBorder||0===this.max%1||(this.grid.lowerBorder=this.grid.renderBorder(g)),this.grid.lowerBorder&&this.grid.lowerBorder.animate({d:g}));this.grid.axisLineExtra?this.grid.axisLineExtra.animate({d:f}):this.grid.axisLineExtra=this.grid.renderBorder(f);this.axisLine[this.showAxis?"show":"hide"](!0)}(b&&b.columns||[]).forEach(function(c){c.render()});!this.horiz&&this.chart.hasRendered&&(this.scrollbar||this.linkedParent&&this.linkedParent.scrollbar)&&
+(b=this.max,f=this.tickmarkOffset,g=this.tickPositions[this.tickPositions.length-1],e=this.tickPositions[0],this.min-e>f?this.ticks[e].label.hide():this.ticks[e].label.show(),g-b>f?this.ticks[g].label.hide():this.ticks[g].label.show(),g-b<f&&0<g-b&&this.ticks[g].isLast?this.ticks[g].mark.hide():this.ticks[g-1]&&this.ticks[g-1].mark.show())}};k.onAfterSetAxisTranslation=function(){var b=this.tickPositions&&this.tickPositions.info,f=this.options,e=this.userOptions.labels||{};(f.grid||{}).enabled&&(this.horiz?
+(this.series.forEach(function(b){b.options.pointRange=0}),b&&f.dateTimeLabelFormats&&f.labels&&!E(e.align)&&(!1===f.dateTimeLabelFormats[b.unitName].range||1<b.count)&&(f.labels.align="left",E(e.x)||(f.labels.x=3))):"treegrid"!==this.options.type&&this.grid&&this.grid.columns&&(this.minPointOffset=this.tickInterval))};k.onAfterSetOptions=function(d){var e=this.options;d=d.userOptions;var k=e&&y.isObject(e.grid,!0)?e.grid:{};if(!0===k.enabled){var g=m(!0,{className:"highcharts-grid-axis "+(d.className||
+""),dateTimeLabelFormats:{hour:{list:["%H:%M","%H"]},day:{list:["%A, %e. %B","%a, %e. %b","%E"]},week:{list:["Week %W","W%W"]},month:{list:["%B","%b","%o"]}},grid:{borderWidth:1},labels:{padding:2,style:{fontSize:"13px"}},margin:0,title:{text:null,reserveSpace:!1,rotation:0},units:[["millisecond",[1,10,100]],["second",[1,10]],["minute",[1,5,15]],["hour",[1,6]],["day",[1]],["week",[1]],["month",[1]],["year",null]]},d);"xAxis"===this.coll&&(E(d.linkedTo)&&!E(d.tickPixelInterval)&&(g.tickPixelInterval=
+350),E(d.tickPixelInterval)||!E(d.linkedTo)||E(d.tickPositioner)||E(d.tickInterval)||(g.tickPositioner=function(c,d){var a=this.linkedParent&&this.linkedParent.tickPositions&&this.linkedParent.tickPositions.info;if(a){var f=void 0,e=void 0,k=void 0,l,h=g.units;for(l=0;l<h.length;l++)if(h[l][0]===a.unitName){f=l;break}h[f+1]?(k=h[f+1][0],e=(h[f+1][1]||[1])[0]):"year"===a.unitName&&(k="year",e=10*a.count);a=b[k];this.tickInterval=a*e;return this.getTimeTicks({unitRange:a,count:e,unitName:k},c,d,this.options.startOfWeek)}}));
+m(!0,this.options,g);this.horiz&&(e.minPadding=f(d.minPadding,0),e.maxPadding=f(d.maxPadding,0));z(e.grid.borderWidth)&&(e.tickWidth=e.lineWidth=k.borderWidth)}};k.onAfterSetOptions2=function(b){b=(b=b.userOptions)&&b.grid||{};var d=b.columns;b.enabled&&d&&m(!0,this.options,d[d.length-1])};k.onAfterSetScale=function(){(this.grid.columns||[]).forEach(function(b){b.setScale()})};k.onAfterTickSize=function(b){var d=e.defaultLeftAxisOptions,f=this.horiz,g=this.maxLabelDimensions,c=this.options.grid;c=
+void 0===c?{}:c;c.enabled&&g&&(d=2*Math.abs(d.labels.x),f=f?c.cellHeight||d+g.height:d+g.width,t(b.tickSize)?b.tickSize[0]=f:b.tickSize=[f,0])};k.onDestroy=function(b){var d=this.grid;(d.columns||[]).forEach(function(d){d.destroy(b.keepEvents)});d.columns=void 0};k.onInit=function(b){b=b.userOptions||{};var d=b.grid||{};d.enabled&&E(d.borderColor)&&(b.tickColor=b.lineColor=d.borderColor);this.grid||(this.grid=new l(this))};k.onTrimTicks=function(){var b=this.options,f=this.categories,e=this.tickPositions,
+g=e[0],c=e[e.length-1],k=this.linkedParent&&this.linkedParent.min||this.min,a=this.linkedParent&&this.linkedParent.max||this.max,l=this.tickInterval;!0!==(b.grid||{}).enabled||f||!this.horiz&&!this.isLinked||(g<k&&g+l>k&&!b.startOnTick&&(e[0]=k),c>a&&c-l<a&&!b.endOnTick&&(e[e.length-1]=a))};k.wrapUnsquish=function(b){var d=this.options.grid;return!0===(void 0===d?{}:d).enabled&&this.categories?this.tickInterval:b.apply(this,Array.prototype.slice.call(arguments,1))};return k}();(function(b){b=b.Side||
+(b.Side={});b[b.top=0]="top";b[b.right=1]="right";b[b.bottom=2]="bottom";b[b.left=3]="left"})(I||(I={}));I.compose(e);return I});P(e,"Core/Axis/BrokenAxis.js",[e["Core/Axis/Axis.js"],e["Core/Series/Series.js"],e["Extensions/Stacking.js"],e["Core/Utilities.js"]],function(e,h,D,y){var F=y.addEvent,E=y.find,C=y.fireEvent,G=y.isArray,t=y.isNumber,z=y.pick,m=function(){function f(b){this.hasBreaks=!1;this.axis=b}f.isInBreak=function(b,f){var e=b.repeat||Infinity,l=b.from,h=b.to-b.from;f=f>=l?(f-l)%e:e-
+(l-f)%e;return b.inclusive?f<=h:f<h&&0!==f};f.lin2Val=function(b){var e=this.brokenAxis;e=e&&e.breakArray;if(!e||!t(b))return b;var h;for(h=0;h<e.length;h++){var l=e[h];if(l.from>=b)break;else l.to<b?b+=l.len:f.isInBreak(l,b)&&(b+=l.len)}return b};f.val2Lin=function(b){var e=this.brokenAxis;e=e&&e.breakArray;if(!e||!t(b))return b;var h=b,l;for(l=0;l<e.length;l++){var m=e[l];if(m.to<=b)h-=m.len;else if(m.from>=b)break;else if(f.isInBreak(m,b)){h-=b-m.from;break}}return h};f.prototype.findBreakAt=function(b,
+f){return E(f,function(f){return f.from<b&&b<f.to})};f.prototype.isInAnyBreak=function(b,e){var h=this.axis,l=h.options.breaks||[],m=l.length,k;if(m&&t(b)){for(;m--;)if(f.isInBreak(l[m],b)){var d=!0;k||(k=z(l[m].showPoints,!h.isXAxis))}var w=d&&e?d&&!k:d}return w};f.prototype.setBreaks=function(b,h){var m=this,l=m.axis,A=G(b)&&!!b.length;l.isDirty=m.hasBreaks!==A;m.hasBreaks=A;l.options.breaks=l.userOptions.breaks=b;l.forceRedraw=!0;l.series.forEach(function(b){b.isDirty=!0});A||l.val2lin!==f.val2Lin||
+(delete l.val2lin,delete l.lin2val);A&&(l.userOptions.ordinal=!1,l.lin2val=f.lin2Val,l.val2lin=f.val2Lin,l.setExtremes=function(b,d,f,l,g){if(m.hasBreaks){for(var c,k=this.options.breaks;c=m.findBreakAt(b,k);)b=c.to;for(;c=m.findBreakAt(d,k);)d=c.from;d<b&&(d=b)}e.prototype.setExtremes.call(this,b,d,f,l,g)},l.setAxisTranslation=function(){e.prototype.setAxisTranslation.call(this);m.unitLength=void 0;if(m.hasBreaks){var b=l.options.breaks||[],d=[],h=[],n=0,g,c=l.userMin||l.min,q=l.userMax||l.max,a=
+z(l.pointRangePadding,0),u;b.forEach(function(a){g=a.repeat||Infinity;t(c)&&t(q)&&(f.isInBreak(a,c)&&(c+=a.to%g-c%g),f.isInBreak(a,q)&&(q-=q%g-a.from%g))});b.forEach(function(a){I=a.from;g=a.repeat||Infinity;if(t(c)&&t(q)){for(;I-g>c;)I-=g;for(;I<c;)I+=g;for(u=I;u<q;u+=g)d.push({value:u,move:"in"}),d.push({value:u+a.to-a.from,move:"out",size:a.breakSize})}});d.sort(function(a,b){return a.value===b.value?("in"===a.move?0:1)-("in"===b.move?0:1):a.value-b.value});var A=0;var I=c;d.forEach(function(a){A+=
+"in"===a.move?1:-1;1===A&&"in"===a.move&&(I=a.value);0===A&&t(I)&&(h.push({from:I,to:a.value,len:a.value-I-(a.size||0)}),n+=a.value-I-(a.size||0))});m.breakArray=h;t(c)&&t(q)&&t(l.min)&&(m.unitLength=q-c-n+a,C(l,"afterBreaks"),l.staticScale?l.transA=l.staticScale:m.unitLength&&(l.transA*=(q-l.min+a)/m.unitLength),a&&(l.minPixelPadding=l.transA*(l.minPointOffset||0)),l.min=c,l.max=q)}});z(h,!0)&&l.chart.redraw()};return f}();y=function(){function f(){}f.compose=function(b,f){b.keepProps.push("brokenAxis");
+var e=h.prototype;e.drawBreaks=function(b,f){var e=this,d=e.points,h,l,g,c;if(b&&b.brokenAxis&&b.brokenAxis.hasBreaks){var m=b.brokenAxis;f.forEach(function(a){h=m&&m.breakArray||[];l=b.isXAxis?b.min:z(e.options.threshold,b.min);d.forEach(function(d){c=z(d["stack"+a.toUpperCase()],d[a]);h.forEach(function(a){if(t(l)&&t(c)){g=!1;if(l<a.from&&c>a.to||l>a.from&&c<a.from)g="pointBreak";else if(l<a.from&&c>a.from&&c<a.to||l>a.from&&c>a.to&&c<a.from)g="pointInBreak";g&&C(b,g,{point:d,brk:a})}})})})}};e.gappedPath=
+function(){var b=this.currentDataGrouping,f=b&&b.gapSize;b=this.options.gapSize;var e=this.points.slice(),d=e.length-1,h=this.yAxis,m;if(b&&0<d)for("value"!==this.options.gapUnit&&(b*=this.basePointRange),f&&f>b&&f>=this.basePointRange&&(b=f),m=void 0;d--;)m&&!1!==m.visible||(m=e[d+1]),f=e[d],!1!==m.visible&&!1!==f.visible&&(m.x-f.x>b&&(m=(f.x+m.x)/2,e.splice(d+1,0,{isNull:!0,x:m}),h.stacking&&this.options.stacking&&(m=h.stacking.stacks[this.stackKey][m]=new D(h,h.options.stackLabels,!1,m,this.stack),
+m.total=0)),m=f);return this.getGraphPath(e)};F(b,"init",function(){this.brokenAxis||(this.brokenAxis=new m(this))});F(b,"afterInit",function(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)});F(b,"afterSetTickPositions",function(){var b=this.brokenAxis;if(b&&b.hasBreaks){var f=this.tickPositions,e=this.tickPositions.info,d=[],h;for(h=0;h<f.length;h++)b.isInAnyBreak(f[h])||d.push(f[h]);this.tickPositions=d;this.tickPositions.info=e}});F(b,"afterSetOptions",
+function(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)});F(f,"afterGeneratePoints",function(){var b=this.options.connectNulls,f=this.points,e=this.xAxis,d=this.yAxis;if(this.isDirty)for(var h=f.length;h--;){var m=f[h],g=!(null===m.y&&!1===b)&&(e&&e.brokenAxis&&e.brokenAxis.isInAnyBreak(m.x,!0)||d&&d.brokenAxis&&d.brokenAxis.isInAnyBreak(m.y,!0));m.visible=g?!1:!1!==m.options.visible}});F(f,"afterRender",function(){this.drawBreaks(this.xAxis,["x"]);this.drawBreaks(this.yAxis,
+z(this.pointArrayMap,["y"]))})};return f}();y.compose(e,h);return y});P(e,"Core/Axis/TreeGridAxis.js",[e["Core/Axis/Axis.js"],e["Core/Axis/Tick.js"],e["Gantt/Tree.js"],e["Core/Axis/TreeGridTick.js"],e["Mixins/TreeSeries.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E){var C=F.getLevelOptions,G=E.addEvent,t=E.find,z=E.fireEvent,m=E.isArray,f=E.isObject,b=E.isString,A=E.merge,u=E.pick,l=E.wrap,I;(function(e){function d(a,b){var c=a.collapseStart||0;a=a.collapseEnd||0;a>=b&&(c-=.5);return{from:c,to:a,
+showPoints:!1}}function k(a,c,d){var g=[],e=[],k={},h={},l=-1,m="boolean"===typeof c?c:!1;a=D.getTree(a,{after:function(a){a=h[a.pos];var b=0,c=0;a.children.forEach(function(a){c+=(a.descendants||0)+1;b=Math.max((a.height||0)+1,b)});a.descendants=c;a.height=b;a.collapsed&&e.push(a)},before:function(a){var c=f(a.data,!0)?a.data:{},d=b(c.name)?c.name:"",e=k[a.parent];e=f(e,!0)?h[e.pos]:null;var p=function(a){return a.name===d},n;m&&f(e,!0)&&(n=t(e.children,p))?(p=n.pos,n.nodes.push(a)):p=l++;h[p]||
+(h[p]=n={depth:e?e.depth+1:0,name:d,id:c.id,nodes:[a],children:[],pos:p},-1!==p&&g.push(d),f(e,!0)&&e.children.push(n));b(a.id)&&(k[a.id]=a);n&&!0===c.collapsed&&(n.collapsed=!0);a.pos=p}});h=function(a,b){var c=function(a,d,g){var e=d+(-1===d?0:b-1),k=(e-d)/2,h=d+k;a.nodes.forEach(function(a){var b=a.data;f(b,!0)&&(b.y=d+(b.seriesIndex||0),delete b.seriesIndex);a.pos=h});g[h]=a;a.pos=h;a.tickmarkOffset=k+.5;a.collapseStart=e+.5;a.children.forEach(function(a){c(a,e+1,g);e=(a.collapseEnd||0)-.5});
+a.collapseEnd=e+.5;return g};return c(a["-1"],-1,{})}(h,d);return{categories:g,mapOfIdToNode:k,mapOfPosToGridNode:h,collapsedNodes:e,tree:a}}function n(a){a.target.axes.filter(function(a){return"treegrid"===a.options.type}).forEach(function(b){var c=b.options||{},d=c.labels,g=c.uniqueNames,e=0;c=c.max;if(!b.treeGrid.mapOfPosToGridNode||b.series.some(function(a){return!a.hasRendered||a.isDirtyData||a.isDirty})){var h=b.series.reduce(function(a,b){b.visible&&((b.options.data||[]).forEach(function(c){b.options.keys&&
+b.options.keys.length&&(c=b.pointClass.prototype.optionsToObject.call({series:b},c),b.pointClass.setGanttPointAliases(c));f(c,!0)&&(c.seriesIndex=e,a.push(c))}),!0===g&&e++);return a},[]);if(c&&h.length<c)for(var l=h.length;l<=c;l++)h.push({name:l+"\u200b"});c=k(h,g||!1,!0===g?e:1);b.categories=c.categories;b.treeGrid.mapOfPosToGridNode=c.mapOfPosToGridNode;b.hasNames=!0;b.treeGrid.tree=c.tree;b.series.forEach(function(a){var b=(a.options.data||[]).map(function(b){m(b)&&a.options.keys&&a.options.keys.length&&
+h.forEach(function(a){0<=b.indexOf(a.x)&&0<=b.indexOf(a.x2)&&(b=a)});return f(b,!0)?A(b):b});a.visible&&a.setData(b,!1)});b.treeGrid.mapOptionsToLevel=C({defaults:d,from:1,levels:d&&d.levels,to:b.treeGrid.tree&&b.treeGrid.tree.height});"beforeRender"===a.type&&(b.treeGrid.collapsedNodes=c.collapsedNodes)}})}function g(a,b){var c=this.treeGrid.mapOptionsToLevel||{},d=this.ticks,f=d[b],g;if("treegrid"===this.options.type&&this.treeGrid.mapOfPosToGridNode){var e=this.treeGrid.mapOfPosToGridNode[b];(c=
+c[e.depth])&&(g={labels:c});f?(f.parameters.category=e.name,f.options=g,f.addLabel()):d[b]=new h(this,b,void 0,void 0,{category:e.name,tickmarkOffset:e.tickmarkOffset,options:g})}else a.apply(this,Array.prototype.slice.call(arguments,1))}function c(a){var b=this.options,c=a.apply(this,Array.prototype.slice.call(arguments,1));if("treegrid"===b.type&&this.treeGrid.mapOfPosToGridNode){var d=this.treeGrid.mapOfPosToGridNode[-1].height||0;c.width+=b.labels.indentation*(d-1)}return c}function q(a,b,c){var d=
+this,f="treegrid"===c.type;d.treeGrid||(d.treeGrid=new I(d));f&&(G(b,"beforeRender",n),G(b,"beforeRedraw",n),G(b,"addSeries",function(a){a.options.data&&(a=k(a.options.data,c.uniqueNames||!1,1),d.treeGrid.collapsedNodes=(d.treeGrid.collapsedNodes||[]).concat(a.collapsedNodes))}),G(d,"foundExtremes",function(){d.treeGrid.collapsedNodes&&d.treeGrid.collapsedNodes.forEach(function(a){var b=d.treeGrid.collapse(a);d.brokenAxis&&(d.brokenAxis.setBreaks(b,!1),d.treeGrid.collapsedNodes&&(d.treeGrid.collapsedNodes=
+d.treeGrid.collapsedNodes.filter(function(b){return a.collapseStart!==b.collapseStart||a.collapseEnd!==b.collapseEnd})))})}),G(d,"afterBreaks",function(){"yAxis"===d.coll&&!d.staticScale&&d.chart.options.chart.height&&(d.isDirty=!0)}),c=A({grid:{enabled:!0},labels:{align:"left",levels:[{level:void 0},{level:1,style:{fontWeight:"bold"}}],symbol:{type:"triangle",x:-5,y:-5,height:10,width:10,padding:5}},uniqueNames:!1},c,{reversed:!0,grid:{columns:void 0}}));a.apply(d,[b,c]);f&&(d.hasNames=!0,d.options.showLastLabel=
+!0)}function a(a){var b=this.options;"treegrid"===b.type?(this.min=u(this.userMin,b.min,this.dataMin),this.max=u(this.userMax,b.max,this.dataMax),z(this,"foundExtremes"),this.setAxisTranslation(),this.tickmarkOffset=.5,this.tickInterval=1,this.tickPositions=this.treeGrid.mapOfPosToGridNode?this.treeGrid.getTickPositions():[]):a.apply(this,Array.prototype.slice.call(arguments,1))}var B=!1;e.compose=function(b){B||(l(b.prototype,"generateTick",g),l(b.prototype,"getMaxLabelDimensions",c),l(b.prototype,
+"init",q),l(b.prototype,"setTickInterval",a),y.compose(h),B=!0)};var I=function(){function a(a){this.axis=a}a.prototype.setCollapsedStatus=function(a){var b=this.axis,c=b.chart;b.series.forEach(function(b){var d=b.options.data;if(a.id&&d){var f=c.get(a.id);b=d[b.data.indexOf(f)];f&&b&&(f.collapsed=a.collapsed,b.collapsed=a.collapsed)}})};a.prototype.collapse=function(a){var b=this.axis,c=b.options.breaks||[],f=d(a,b.max);c.push(f);a.collapsed=!0;b.treeGrid.setCollapsedStatus(a);return c};a.prototype.expand=
+function(a){var b=this.axis,c=b.options.breaks||[],f=d(a,b.max);a.collapsed=!1;b.treeGrid.setCollapsedStatus(a);return c.reduce(function(a,b){b.to===f.to&&b.from===f.from||a.push(b);return a},[])};a.prototype.getTickPositions=function(){var a=this.axis,b=Math.floor(a.min/a.tickInterval)*a.tickInterval,c=Math.ceil(a.max/a.tickInterval)*a.tickInterval;return Object.keys(a.treeGrid.mapOfPosToGridNode||{}).reduce(function(d,f){f=+f;!(f>=b&&f<=c)||a.brokenAxis&&a.brokenAxis.isInAnyBreak(f)||d.push(f);
+return d},[])};a.prototype.isCollapsed=function(a){var b=this.axis,c=b.options.breaks||[],f=d(a,b.max);return c.some(function(a){return a.from===f.from&&a.to===f.to})};a.prototype.toggleCollapse=function(a){return this.isCollapsed(a)?this.expand(a):this.collapse(a)};return a}();e.Additions=I})(I||(I={}));e.prototype.utils={getNode:D.getNode};I.compose(e);return I});P(e,"Extensions/CurrentDateIndication.js",[e["Core/Axis/Axis.js"],e["Core/Color/Palette.js"],e["Core/Utilities.js"],e["Core/Axis/PlotLineOrBand.js"]],
+function(e,h,D,y){var F=D.addEvent,E=D.merge;D=D.wrap;var C={color:h.highlightColor20,width:2,label:{format:"%a, %b %d %Y, %H:%M",formatter:function(e,h){return this.axis.chart.time.dateFormat(h||"",e)},rotation:0,style:{fontSize:"10px"}}};F(e,"afterSetOptions",function(){var e=this.options,h=e.currentDateIndicator;h&&(h="object"===typeof h?E(C,h):E(C),h.value=Date.now(),h.className="highcharts-current-date-indicator",e.plotLines||(e.plotLines=[]),e.plotLines.push(h))});F(y,"render",function(){this.label&&
+this.label.attr({text:this.getLabelText(this.options.label)})});D(y.prototype,"getLabelText",function(e,h){var t=this.options;return t&&t.className&&-1!==t.className.indexOf("highcharts-current-date-indicator")&&t.label&&"function"===typeof t.label.formatter?(t.value=Date.now(),t.label.formatter.call(this,t.value,t.label.format)):e.call(this,h)})});P(e,"Extensions/StaticScale.js",[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],function(e,h,D){var y=D.addEvent,F=D.defined,
+E=D.isNumber,C=D.pick;y(e,"afterSetOptions",function(){var e=this.chart.options.chart;!this.horiz&&E(this.options.staticScale)&&(!e.height||e.scrollablePlotArea&&e.scrollablePlotArea.minHeight)&&(this.staticScale=this.options.staticScale)});h.prototype.adjustHeight=function(){"adjustHeight"!==this.redrawTrigger&&((this.axes||[]).forEach(function(e){var h=e.chart,z=!!h.initiatedScale&&h.options.animation,m=e.options.staticScale;if(e.staticScale&&F(e.min)){var f=C(e.brokenAxis&&e.brokenAxis.unitLength,
+e.max+e.tickInterval-e.min)*m;f=Math.max(f,m);m=f-h.plotHeight;!h.scrollablePixelsY&&1<=Math.abs(m)&&(h.plotHeight=f,h.redrawTrigger="adjustHeight",h.setSize(void 0,h.chartHeight+m,z));e.series.forEach(function(b){(b=b.sharedClipKey&&h.sharedClips[b.sharedClipKey])&&b.attr(h.inverted?{width:h.plotHeight}:{height:h.plotHeight})})}}),this.initiatedScale=!0);this.redrawTrigger=null};y(h,"render",h.prototype.adjustHeight)});P(e,"Extensions/ArrowSymbols.js",[e["Core/Renderer/SVG/SVGRenderer.js"]],function(e){e.prototype.symbols.arrow=
+function(e,D,y,F){return[["M",e,D+F/2],["L",e+y,D],["L",e,D+F/2],["L",e+y,D+F]]};e.prototype.symbols["arrow-half"]=function(h,D,y,F){return e.prototype.symbols.arrow(h,D,y/2,F)};e.prototype.symbols["triangle-left"]=function(e,D,y,F){return[["M",e+y,D],["L",e,D+F/2],["L",e+y,D+F],["Z"]]};e.prototype.symbols["arrow-filled"]=e.prototype.symbols["triangle-left"];e.prototype.symbols["triangle-left-half"]=function(h,D,y,F){return e.prototype.symbols["triangle-left"](h,D,y/2,F)};e.prototype.symbols["arrow-filled-half"]=
+e.prototype.symbols["triangle-left-half"]});P(e,"Gantt/Connection.js",[e["Core/Globals.js"],e["Core/Options.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,h,D,y){function F(b){var f=b.shapeArgs;return f?{xMin:f.x||0,xMax:(f.x||0)+(f.width||0),yMin:f.y||0,yMax:(f.y||0)+(f.height||0)}:(f=b.graphic&&b.graphic.getBBox())?{xMin:b.plotX-f.width/2,xMax:b.plotX+f.width/2,yMin:b.plotY-f.height/2,yMax:b.plotY+f.height/2}:null}"";var E=y.defined,C=y.error,G=y.extend,t=y.merge,z=y.objectEach,
+m=e.deg2rad,f=Math.max,b=Math.min;G(h.defaultOptions,{connectors:{type:"straight",lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}});h=function(){function e(b,f,e){this.toPoint=this.pathfinder=this.graphics=this.fromPoint=this.chart=void 0;this.init(b,f,e)}e.prototype.init=function(b,f,e){this.fromPoint=b;this.toPoint=f;this.options=e;this.chart=b.series.chart;this.pathfinder=this.chart.pathfinder};
+e.prototype.renderPath=function(b,f,e){var k=this.chart,d=k.styledMode,h=k.pathfinder,l=!k.options.chart.forExport&&!1!==e,g=this.graphics&&this.graphics.path;h.group||(h.group=k.renderer.g().addClass("highcharts-pathfinder-group").attr({zIndex:-1}).add(k.seriesGroup));h.group.translate(k.plotLeft,k.plotTop);g&&g.renderer||(g=k.renderer.path().add(h.group),d||g.attr({opacity:0}));g.attr(f);b={d:b};d||(b.opacity=1);g[l?"animate":"attr"](b,e);this.graphics=this.graphics||{};this.graphics.path=g};e.prototype.addMarker=
+function(b,f,e){var k=this.fromPoint.series.chart,d=k.pathfinder;k=k.renderer;var h="start"===b?this.fromPoint:this.toPoint,l=h.getPathfinderAnchorPoint(f);if(f.enabled&&((e="start"===b?e[1]:e[e.length-2])&&"M"===e[0]||"L"===e[0])){e={x:e[1],y:e[2]};e=h.getRadiansToVector(e,l);l=h.getMarkerVector(e,f.radius,l);e=-e/m;if(f.width&&f.height){var g=f.width;var c=f.height}else g=c=2*f.radius;this.graphics=this.graphics||{};l={x:l.x-g/2,y:l.y-c/2,width:g,height:c,rotation:e,rotationOriginX:l.x,rotationOriginY:l.y};
+this.graphics[b]?this.graphics[b].animate(l):(this.graphics[b]=k.symbol(f.symbol).addClass("highcharts-point-connecting-path-"+b+"-marker").attr(l).add(d.group),k.styledMode||this.graphics[b].attr({fill:f.color||this.fromPoint.color,stroke:f.lineColor,"stroke-width":f.lineWidth,opacity:0}).animate({opacity:1},h.series.options.animation))}};e.prototype.getPath=function(b){var f=this.pathfinder,e=this.chart,k=f.algorithms[b.type],d=f.chartObstacles;if("function"!==typeof k)return C('"'+b.type+'" is not a Pathfinder algorithm.'),
+{path:[],obstacles:[]};k.requiresObstacles&&!d&&(d=f.chartObstacles=f.getChartObstacles(b),e.options.connectors.algorithmMargin=b.algorithmMargin,f.chartObstacleMetrics=f.getObstacleMetrics(d));return k(this.fromPoint.getPathfinderAnchorPoint(b.startMarker),this.toPoint.getPathfinderAnchorPoint(b.endMarker),t({chartObstacles:d,lineObstacles:f.lineObstacles||[],obstacleMetrics:f.chartObstacleMetrics,hardBounds:{xMin:0,xMax:e.plotWidth,yMin:0,yMax:e.plotHeight},obstacleOptions:{margin:b.algorithmMargin},
+startDirectionX:f.getAlgorithmStartDirection(b.startMarker)},b))};e.prototype.render=function(){var e=this.fromPoint,h=e.series,m=h.chart,k=m.pathfinder,d=t(m.options.connectors,h.options.connectors,e.options.connectors,this.options),w={};m.styledMode||(w.stroke=d.lineColor||e.color,w["stroke-width"]=d.lineWidth,d.dashStyle&&(w.dashstyle=d.dashStyle));w["class"]="highcharts-point-connecting-path highcharts-color-"+e.colorIndex;d=t(w,d);E(d.marker.radius)||(d.marker.radius=b(f(Math.ceil((d.algorithmMargin||
+8)/2)-1,1),5));e=this.getPath(d);m=e.path;e.obstacles&&(k.lineObstacles=k.lineObstacles||[],k.lineObstacles=k.lineObstacles.concat(e.obstacles));this.renderPath(m,w,h.options.animation);this.addMarker("start",t(d.marker,d.startMarker),m);this.addMarker("end",t(d.marker,d.endMarker),m)};e.prototype.destroy=function(){this.graphics&&(z(this.graphics,function(b){b.destroy()}),delete this.graphics)};return e}();e.Connection=h;G(D.prototype,{getPathfinderAnchorPoint:function(b){var f=F(this);switch(b.align){case "right":var e=
+"xMax";break;case "left":e="xMin"}switch(b.verticalAlign){case "top":var h="yMin";break;case "bottom":h="yMax"}return{x:e?f[e]:(f.xMin+f.xMax)/2,y:h?f[h]:(f.yMin+f.yMax)/2}},getRadiansToVector:function(b,f){var e;E(f)||(e=F(this))&&(f={x:(e.xMin+e.xMax)/2,y:(e.yMin+e.yMax)/2});return Math.atan2(f.y-b.y,b.x-f.x)},getMarkerVector:function(b,f,e){var h=2*Math.PI,k=F(this),d=k.xMax-k.xMin,l=k.yMax-k.yMin,m=Math.atan2(l,d),g=!1;d/=2;var c=l/2,q=k.xMin+d;k=k.yMin+c;for(var a=q,t=k,u=1,A=1;b<-Math.PI;)b+=
+h;for(;b>Math.PI;)b-=h;h=Math.tan(b);b>-m&&b<=m?(A=-1,g=!0):b>m&&b<=Math.PI-m?A=-1:b>Math.PI-m||b<=-(Math.PI-m)?(u=-1,g=!0):u=-1;g?(a+=u*d,t+=A*d*h):(a+=l/(2*h)*u,t+=A*c);e.x!==q&&(a=e.x);e.y!==k&&(t=e.y);return{x:a+f*Math.cos(b),y:t-f*Math.sin(b)}}});return h});P(e,"Gantt/PathfinderAlgorithms.js",[e["Core/Utilities.js"]],function(e){function h(e,f,b){b=b||0;var h=e.length-1;f-=1e-7;for(var m,l;b<=h;)if(m=h+b>>1,l=f-e[m].xMin,0<l)b=m+1;else if(0>l)h=m-1;else return m;return 0<b?b-1:0}function D(e,
+f){for(var b=h(e,f.x+1)+1;b--;){var m;if(m=e[b].xMax>=f.x)m=e[b],m=f.x<=m.xMax&&f.x>=m.xMin&&f.y<=m.yMax&&f.y>=m.yMin;if(m)return b}return-1}function y(e){var f=[];if(e.length){f.push(["M",e[0].start.x,e[0].start.y]);for(var b=0;b<e.length;++b)f.push(["L",e[b].end.x,e[b].end.y])}return f}function F(e,f){e.yMin=G(e.yMin,f.yMin);e.yMax=C(e.yMax,f.yMax);e.xMin=G(e.xMin,f.xMin);e.xMax=C(e.xMax,f.xMax)}var E=e.pick,C=Math.min,G=Math.max,t=Math.abs;e=function(e,f,b){function h(b,c,d,a,f){b={x:b.x,y:b.y};
+b[c]=d[a||c]+(f||0);return b}function m(b,c,d){var a=t(c[d]-b[d+"Min"])>t(c[d]-b[d+"Max"]);return h(c,d,b,d+(a?"Max":"Min"),a?1:-1)}var l=[],z=E(b.startDirectionX,t(f.x-e.x)>t(f.y-e.y))?"x":"y",k=b.chartObstacles,d=D(k,e);b=D(k,f);if(-1<b){var w=k[b];b=m(w,f,z);w={start:b,end:f};var n=b}else n=f;-1<d&&(k=k[d],b=m(k,e,z),l.push({start:e,end:b}),b[z]>=e[z]===b[z]>=n[z]&&(z="y"===z?"x":"y",f=e[z]<f[z],l.push({start:b,end:h(b,z,k,z+(f?"Max":"Min"),f?1:-1)}),z="y"===z?"x":"y"));e=l.length?l[l.length-1].end:
+e;b=h(e,z,n);l.push({start:e,end:b});z=h(b,"y"===z?"x":"y",n);l.push({start:b,end:z});l.push(w);return{path:y(l),obstacles:l}};e.requiresObstacles=!0;var z=function(e,f,b){function m(a,b,c){var d,f=a.x<b.x?1:-1;if(a.x<b.x){var e=a;var g=b}else e=b,g=a;if(a.y<b.y){var k=a;var l=b}else k=b,l=a;for(d=0>f?C(h(J,g.x),J.length-1):0;J[d]&&(0<f&&J[d].xMin<=g.x||0>f&&J[d].xMax>=e.x);){if(J[d].xMin<=g.x&&J[d].xMax>=e.x&&J[d].yMin<=l.y&&J[d].yMax>=k.y)return c?{y:a.y,x:a.x<b.x?J[d].xMin-1:J[d].xMax+1,obstacle:J[d]}:
+{x:a.x,y:a.y<b.y?J[d].yMin-1:J[d].yMax+1,obstacle:J[d]};d+=f}return b}function u(a,b,c,d,f){var e=f.soft,g=f.hard,k=d?"x":"y",h={x:b.x,y:b.y},l={x:b.x,y:b.y};f=a[k+"Max"]>=e[k+"Max"];e=a[k+"Min"]<=e[k+"Min"];var p=a[k+"Max"]>=g[k+"Max"];g=a[k+"Min"]<=g[k+"Min"];var n=t(a[k+"Min"]-b[k]),v=t(a[k+"Max"]-b[k]);c=10>t(n-v)?b[k]<c[k]:v<n;l[k]=a[k+"Min"];h[k]=a[k+"Max"];a=m(b,l,d)[k]!==l[k];b=m(b,h,d)[k]!==h[k];c=a?b?c:!0:b?!1:c;c=e?f?c:!0:f?!1:c;return g?p?c:!0:p?!1:c}function l(d,f,e){if(d.x===f.x&&d.y===
+f.y)return[];var g=e?"x":"y",k=b.obstacleOptions.margin;var h={soft:{xMin:c,xMax:q,yMin:a,yMax:B},hard:b.hardBounds};var p=D(J,d);if(-1<p){p=J[p];h=u(p,d,f,e,h);F(p,b.hardBounds);var v=e?{y:d.y,x:p[h?"xMax":"xMin"]+(h?1:-1)}:{x:d.x,y:p[h?"yMax":"yMin"]+(h?1:-1)};var r=D(J,v);-1<r&&(r=J[r],F(r,b.hardBounds),v[g]=h?G(p[g+"Max"]-k+1,(r[g+"Min"]+p[g+"Max"])/2):C(p[g+"Min"]+k-1,(r[g+"Max"]+p[g+"Min"])/2),d.x===v.x&&d.y===v.y?(n&&(v[g]=h?G(p[g+"Max"],r[g+"Max"])+1:C(p[g+"Min"],r[g+"Min"])-1),n=!n):n=!1);
+d=[{start:d,end:v}]}else g=m(d,{x:e?f.x:d.x,y:e?d.y:f.y},e),d=[{start:d,end:{x:g.x,y:g.y}}],g[e?"x":"y"]!==f[e?"x":"y"]&&(h=u(g.obstacle,g,f,!e,h),F(g.obstacle,b.hardBounds),h={x:e?g.x:g.obstacle[h?"xMax":"xMin"]+(h?1:-1),y:e?g.obstacle[h?"yMax":"yMin"]+(h?1:-1):g.y},e=!e,d=d.concat(l({x:g.x,y:g.y},h,e)));return d=d.concat(l(d[d.length-1].end,f,!e))}function z(a,c,d){var f=C(a.xMax-c.x,c.x-a.xMin)<C(a.yMax-c.y,c.y-a.yMin);d=u(a,c,d,f,{soft:b.hardBounds,hard:b.hardBounds});return f?{y:c.y,x:a[d?"xMax":
+"xMin"]+(d?1:-1)}:{x:c.x,y:a[d?"yMax":"yMin"]+(d?1:-1)}}var k=E(b.startDirectionX,t(f.x-e.x)>t(f.y-e.y)),d=k?"x":"y",w=[],n=!1,g=b.obstacleMetrics,c=C(e.x,f.x)-g.maxWidth-10,q=G(e.x,f.x)+g.maxWidth+10,a=C(e.y,f.y)-g.maxHeight-10,B=G(e.y,f.y)+g.maxHeight+10,J=b.chartObstacles;var O=h(J,c);g=h(J,q);J=J.slice(O,g+1);if(-1<(g=D(J,f))){var p=z(J[g],f,e);w.push({end:f,start:p});f=p}for(;-1<(g=D(J,f));)O=0>f[d]-e[d],p={x:f.x,y:f.y},p[d]=J[g][O?d+"Max":d+"Min"]+(O?1:-1),w.push({end:f,start:p}),f=p;e=l(e,
+f,k);e=e.concat(w.reverse());return{path:y(e),obstacles:e}};z.requiresObstacles=!0;return{fastAvoid:z,straight:function(e,f){return{path:[["M",e.x,e.y],["L",f.x,f.y]],obstacles:[{start:e,end:f}]}},simpleConnect:e}});P(e,"Gantt/Pathfinder.js",[e["Gantt/Connection.js"],e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Options.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"],e["Gantt/PathfinderAlgorithms.js"]],function(e,h,D,y,F,E,C){function G(b){var d=b.shapeArgs;return d?{xMin:d.x||0,xMax:(d.x||
+0)+(d.width||0),yMin:d.y||0,yMax:(d.y||0)+(d.height||0)}:(d=b.graphic&&b.graphic.getBBox())?{xMin:b.plotX-d.width/2,xMax:b.plotX+d.width/2,yMin:b.plotY-d.height/2,yMax:b.plotY+d.height/2}:null}function t(b){for(var f=b.length,c=0,e,a,h=[],m=function(a,b,c){c=l(c,10);var f=a.yMax+c>b.yMin-c&&a.yMin-c<b.yMax+c,e=a.xMax+c>b.xMin-c&&a.xMin-c<b.xMax+c,g=f?a.xMin>b.xMax?a.xMin-b.xMax:b.xMin-a.xMax:Infinity,k=e?a.yMin>b.yMax?a.yMin-b.yMax:b.yMin-a.yMax:Infinity;return e&&f?c?m(a,b,Math.floor(c/2)):Infinity:
+d(g,k)};c<f;++c)for(e=c+1;e<f;++e)a=m(b[c],b[e]),80>a&&h.push(a);h.push(80);return k(Math.floor(h.sort(function(a,b){return a-b})[Math.floor(h.length/10)]/2-1),1)}function z(d){if(d.options.pathfinder||d.series.reduce(function(b,c){c.options&&u(!0,c.options.connectors=c.options.connectors||{},c.options.pathfinder);return b||c.options&&c.options.pathfinder},!1))u(!0,d.options.connectors=d.options.connectors||{},d.options.pathfinder),b('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')}
+"";var m=E.addEvent,f=E.defined,b=E.error,A=E.extend,u=E.merge,l=E.pick,I=E.splat,k=Math.max,d=Math.min;A(y.defaultOptions,{connectors:{type:"straight",lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}});var w=function(){function b(b){this.lineObstacles=this.group=this.connections=this.chartObstacleMetrics=this.chartObstacles=this.chart=void 0;this.init(b)}b.prototype.init=function(b){this.chart=
+b;this.connections=[];m(b,"redraw",function(){this.pathfinder.update()})};b.prototype.update=function(b){var c=this.chart,d=this,a=d.connections;d.connections=[];c.series.forEach(function(a){a.visible&&!a.options.isInternal&&a.points.forEach(function(a){var b=a.options;b&&b.dependency&&(b.connect=b.dependency);var f;b=a.options&&a.options.connect&&I(a.options.connect);a.visible&&!1!==a.isInside&&b&&b.forEach(function(b){f=c.get("string"===typeof b?b:b.to);f instanceof F&&f.series.visible&&f.visible&&
+!1!==f.isInside&&d.connections.push(new e(a,f,"string"===typeof b?{}:b))})})});for(var f=0,g=void 0,k=void 0,h=a.length,l=d.connections.length;f<h;++f){k=!1;for(g=0;g<l;++g)if(a[f].fromPoint===d.connections[g].fromPoint&&a[f].toPoint===d.connections[g].toPoint){d.connections[g].graphics=a[f].graphics;k=!0;break}k||a[f].destroy()}delete this.chartObstacles;delete this.lineObstacles;d.renderConnections(b)};b.prototype.renderConnections=function(b){b?this.chart.series.forEach(function(b){var c=function(){var a=
+b.chart.pathfinder;(a&&a.connections||[]).forEach(function(a){a.fromPoint&&a.fromPoint.series===b&&a.render()});b.pathfinderRemoveRenderEvent&&(b.pathfinderRemoveRenderEvent(),delete b.pathfinderRemoveRenderEvent)};!1===b.options.animation?c():b.pathfinderRemoveRenderEvent=m(b,"afterAnimate",c)}):this.connections.forEach(function(b){b.render()})};b.prototype.getChartObstacles=function(b){for(var c=[],d=this.chart.series,a=l(b.algorithmMargin,0),e,g=0,k=d.length;g<k;++g)if(d[g].visible&&!d[g].options.isInternal){var h=
+0,m=d[g].points.length,n=void 0;for(n=void 0;h<m;++h)n=d[g].points[h],n.visible&&(n=G(n))&&c.push({xMin:n.xMin-a,xMax:n.xMax+a,yMin:n.yMin-a,yMax:n.yMax+a})}c=c.sort(function(a,b){return a.xMin-b.xMin});f(b.algorithmMargin)||(e=b.algorithmMargin=t(c),c.forEach(function(a){a.xMin-=e;a.xMax+=e;a.yMin-=e;a.yMax+=e}));return c};b.prototype.getObstacleMetrics=function(b){for(var c=0,d=0,a,f,e=b.length;e--;)a=b[e].xMax-b[e].xMin,f=b[e].yMax-b[e].yMin,c<a&&(c=a),d<f&&(d=f);return{maxHeight:d,maxWidth:c}};
+b.prototype.getAlgorithmStartDirection=function(b){var c="top"!==b.verticalAlign&&"bottom"!==b.verticalAlign;return"left"!==b.align&&"right"!==b.align?c?void 0:!1:c?!0:void 0};return b}();w.prototype.algorithms=C;D.Pathfinder=w;A(F.prototype,{getPathfinderAnchorPoint:function(b){var d=G(this);switch(b.align){case "right":var c="xMax";break;case "left":c="xMin"}switch(b.verticalAlign){case "top":var f="yMin";break;case "bottom":f="yMax"}return{x:c?d[c]:(d.xMin+d.xMax)/2,y:f?d[f]:(d.yMin+d.yMax)/2}},
+getRadiansToVector:function(b,d){var c;f(d)||(c=G(this))&&(d={x:(c.xMin+c.xMax)/2,y:(c.yMin+c.yMax)/2});return Math.atan2(d.y-b.y,b.x-d.x)},getMarkerVector:function(b,d,c){var f=2*Math.PI,a=G(this),e=a.xMax-a.xMin,g=a.yMax-a.yMin,k=Math.atan2(g,e),h=!1;e/=2;var l=g/2,m=a.xMin+e;a=a.yMin+l;for(var n=m,t=a,u=1,w=1;b<-Math.PI;)b+=f;for(;b>Math.PI;)b-=f;f=Math.tan(b);b>-k&&b<=k?(w=-1,h=!0):b>k&&b<=Math.PI-k?w=-1:b>Math.PI-k||b<=-(Math.PI-k)?(u=-1,h=!0):u=-1;h?(n+=u*e,t+=w*e*f):(n+=g/(2*f)*u,t+=w*l);c.x!==
+m&&(n=c.x);c.y!==a&&(t=c.y);return{x:n+d*Math.cos(b),y:t-d*Math.sin(b)}}});h.prototype.callbacks.push(function(b){!1!==b.options.connectors.enabled&&(z(b),this.pathfinder=new w(this),this.pathfinder.update(!0))});return w});P(e,"Series/Gantt/GanttSeries.js",[e["Series/Gantt/GanttPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h,D){var y=this&&this.__extends||function(){var e=function(f,b){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=
+f}||function(b,f){for(var e in f)f.hasOwnProperty(e)&&(b[e]=f[e])};return e(f,b)};return function(f,b){function h(){this.constructor=f}e(f,b);f.prototype=null===b?Object.create(b):(h.prototype=b.prototype,new h)}}(),F=h.series,E=h.seriesTypes.xrange,C=D.extend,G=D.isNumber,t=D.merge,z=D.splat;D=function(e){function f(){var b=null!==e&&e.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}y(f,e);f.prototype.drawPoint=function(b,f){var e=this.options,h=this.chart.renderer,
+m=b.shapeArgs,k=b.plotY,d=b.graphic,t=b.selected&&"select",n=e.stacking&&!e.borderRadius;if(b.options.milestone)if(G(k)&&null!==b.y&&!1!==b.visible){m=h.symbols.diamond(m.x||0,m.y||0,m.width||0,m.height||0);if(d)d[f]({d:m});else b.graphic=h.path(m).addClass(b.getClassName(),!0).add(b.group||this.group);this.chart.styledMode||b.graphic.attr(this.pointAttribs(b,t)).shadow(e.shadow,null,n)}else d&&(b.graphic=d.destroy());else E.prototype.drawPoint.call(this,b,f)};f.prototype.translatePoint=function(b){E.prototype.translatePoint.call(this,
+b);if(b.options.milestone){var f=b.shapeArgs;var e=f.height||0;b.shapeArgs={x:(f.x||0)-e/2,y:f.y,width:e,height:e}}};f.defaultOptions=t(E.defaultOptions,{grouping:!1,dataLabels:{enabled:!0},tooltip:{headerFormat:'<span style="font-size: 10px">{series.name}</span><br/>',pointFormat:null,pointFormatter:function(){var b=this.series,f=b.chart.tooltip,e=b.xAxis,h=b.tooltipOptions.dateTimeLabelFormats,m=e.options.startOfWeek,k=b.tooltipOptions,d=k.xDateFormat,t=this.options.milestone,n="<b>"+(this.name||
+this.yCategory)+"</b>";if(k.pointFormat)return this.tooltipFormatter(k.pointFormat);d||(d=z(f.getDateFormat(e.closestPointRange,this.start,m,h))[0]);f=b.chart.time.dateFormat(d,this.start);b=b.chart.time.dateFormat(d,this.end);n+="<br/>";return t?n+(f+"<br/>"):n+("Start: "+f+"<br/>End: ")+(b+"<br/>")}},connectors:{type:"simpleConnect",animation:{reversed:!0},startMarker:{enabled:!0,symbol:"arrow-filled",radius:4,fill:"#fa0",align:"left"},endMarker:{enabled:!1,align:"right"}}});return f}(E);C(D.prototype,
+{keyboardMoveVertical:!1,pointArrayMap:["start","end","y"],pointClass:e,setData:F.prototype.setData});h.registerSeriesType("gantt",D);"";return D});P(e,"Core/Chart/GanttChart.js",[e["Core/Chart/Chart.js"],e["Core/Options.js"],e["Core/Utilities.js"]],function(e,h,D){var y=this&&this.__extends||function(){var e=function(h,m){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||function(f,b){for(var e in b)b.hasOwnProperty(e)&&(f[e]=b[e])};return e(h,m)};return function(h,
+m){function f(){this.constructor=h}e(h,m);h.prototype=null===m?Object.create(m):(f.prototype=m.prototype,new f)}}(),F=h.getOptions,E=D.isArray,C=D.merge,G=D.splat;e=function(e){function h(){return null!==e&&e.apply(this,arguments)||this}y(h,e);h.prototype.init=function(h,f){var b=h.series,m=F(),t;E(h.xAxis)||(h.xAxis=[h.xAxis||{},{}]);h.xAxis=h.xAxis.map(function(b,f){1===f&&(t=0);return C(m.xAxis,{grid:{enabled:!0},opposite:!0,linkedTo:t},b,{type:"datetime"})});h.yAxis=G(h.yAxis||{}).map(function(b){return C(m.yAxis,
+{grid:{enabled:!0},staticScale:50,reversed:!0,type:b.categories?b.type:"treegrid"},b)});delete h.series;h=C(!0,{chart:{type:"gantt"},title:{text:null},legend:{enabled:!1},navigator:{series:{type:"gantt"},yAxis:{type:"category"}}},h,{isGantt:!0});h.series=b;e.prototype.init.call(this,h,f)};return h}(e);(function(e){e.ganttChart=function(h,m,f){return new e(h,m,f)}})(e||(e={}));return e});P(e,"Core/Axis/ScrollbarAxis.js",[e["Core/Utilities.js"]],function(e){var h=e.addEvent,D=e.defined,y=e.pick;return function(){function e(){}
+e.compose=function(e,C){var E=function(e){var h=y(e.options&&e.options.min,e.min),m=y(e.options&&e.options.max,e.max);return{axisMin:h,axisMax:m,scrollMin:D(e.dataMin)?Math.min(h,e.min,e.dataMin,y(e.threshold,Infinity)):h,scrollMax:D(e.dataMax)?Math.max(m,e.max,e.dataMax,y(e.threshold,-Infinity)):m}};h(e,"afterInit",function(){var e=this;e.options&&e.options.scrollbar&&e.options.scrollbar.enabled&&(e.options.scrollbar.vertical=!e.horiz,e.options.startOnTick=e.options.endOnTick=!1,e.scrollbar=new C(e.chart.renderer,
+e.options.scrollbar,e.chart),h(e.scrollbar,"changed",function(h){var m=E(e),f=m.axisMax,b=m.scrollMin,t=m.scrollMax-b;D(m.axisMin)&&D(f)&&(e.horiz&&!e.reversed||!e.horiz&&e.reversed?(m=b+t*this.to,b+=t*this.from):(m=b+t*(1-this.from),b+=t*(1-this.to)),this.shouldUpdateExtremes(h.DOMType)?e.setExtremes(b,m,!0,"mousemove"!==h.DOMType&&"touchmove"!==h.DOMType,h):this.setRange(this.from,this.to))}))});h(e,"afterRender",function(){var e=E(this),h=e.scrollMin,m=e.scrollMax;e=this.scrollbar;var f=this.axisTitleMargin+
+(this.titleOffset||0),b=this.chart.scrollbarsOffsets,y=this.options.margin||0;e&&(this.horiz?(this.opposite||(b[1]+=f),e.position(this.left,this.top+this.height+2+b[1]-(this.opposite?y:0),this.width,this.height),this.opposite||(b[1]+=y),f=1):(this.opposite&&(b[0]+=f),e.position(this.left+this.width+2+b[0]-(this.opposite?0:y),this.top,this.width,this.height),this.opposite&&(b[0]+=y),f=0),b[f]+=e.size+e.options.margin,isNaN(h)||isNaN(m)||!D(this.min)||!D(this.max)||this.min===this.max?e.setRange(0,
+1):(b=(this.min-h)/(m-h),h=(this.max-h)/(m-h),this.horiz&&!this.reversed||!this.horiz&&this.reversed?e.setRange(b,h):e.setRange(1-h,1-b)))});h(e,"afterGetOffset",function(){var e=this.horiz?2:1,h=this.scrollbar;h&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[e]+=h.size+h.options.margin)})};return e}()});P(e,"Core/Scrollbar.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Axis/ScrollbarAxis.js"],e["Core/Utilities.js"],e["Core/Options.js"]],function(e,
+h,D,y,F,E){var C=F.addEvent,G=F.correctFloat,t=F.defined,z=F.destroyObjectProperties,m=F.fireEvent,f=F.merge,b=F.pick,A=F.removeEvent;F=E.defaultOptions;var u=h.isTouchDevice,l=h.swapXY=function(b,e){e&&b.forEach(function(b){for(var d=b.length,e,f=0;f<d;f+=2)e=b[f+1],"number"===typeof e&&(b[f+1]=b[f+2],b[f+2]=e)});return b};E=function(){function e(b,d,e){this._events=[];this.from=this.chartY=this.chartX=0;this.scrollbar=this.group=void 0;this.scrollbarButtons=[];this.scrollbarGroup=void 0;this.scrollbarLeft=
+0;this.scrollbarRifles=void 0;this.scrollbarStrokeWidth=1;this.to=this.size=this.scrollbarTop=0;this.track=void 0;this.trackBorderWidth=1;this.userOptions={};this.y=this.x=0;this.chart=e;this.options=d;this.renderer=e.renderer;this.init(b,d,e)}e.prototype.addEvents=function(){var b=this.options.inverted?[1,0]:[0,1],d=this.scrollbarButtons,e=this.scrollbarGroup.element,f=this.track.element,g=this.mouseDownHandler.bind(this),c=this.mouseMoveHandler.bind(this),l=this.mouseUpHandler.bind(this);b=[[d[b[0]].element,
+"click",this.buttonToMinClick.bind(this)],[d[b[1]].element,"click",this.buttonToMaxClick.bind(this)],[f,"click",this.trackClick.bind(this)],[e,"mousedown",g],[e.ownerDocument,"mousemove",c],[e.ownerDocument,"mouseup",l]];h.hasTouch&&b.push([e,"touchstart",g],[e.ownerDocument,"touchmove",c],[e.ownerDocument,"touchend",l]);b.forEach(function(a){C.apply(null,a)});this._events=b};e.prototype.buttonToMaxClick=function(e){var d=(this.to-this.from)*b(this.options.step,.2);this.updatePosition(this.from+d,
+this.to+d);m(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})};e.prototype.buttonToMinClick=function(e){var d=G(this.to-this.from)*b(this.options.step,.2);this.updatePosition(G(this.from-d),G(this.to-d));m(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})};e.prototype.cursorToScrollbarPosition=function(b){var d=this.options;d=d.minWidth>this.calculatedWidth?d.minWidth:0;return{chartX:(b.chartX-this.x-this.xOffset)/(this.barWidth-d),chartY:(b.chartY-
+this.y-this.yOffset)/(this.barWidth-d)}};e.prototype.destroy=function(){var b=this.chart.scroller;this.removeEvents();["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(b){this[b]&&this[b].destroy&&(this[b]=this[b].destroy())},this);b&&this===b.scrollbar&&(b.scrollbar=null,z(b.scrollbarButtons))};e.prototype.drawScrollbarButton=function(b){var d=this.renderer,e=this.scrollbarButtons,f=this.options,g=this.size;var c=d.g().add(this.group);e.push(c);c=d.rect().addClass("highcharts-scrollbar-button").add(c);
+this.chart.styledMode||c.attr({stroke:f.buttonBorderColor,"stroke-width":f.buttonBorderWidth,fill:f.buttonBackgroundColor});c.attr(c.crisp({x:-.5,y:-.5,width:g+1,height:g+1,r:f.buttonBorderRadius},c.strokeWidth()));c=d.path(l([["M",g/2+(b?-1:1),g/2-3],["L",g/2+(b?-1:1),g/2+3],["L",g/2+(b?2:-2),g/2]],f.vertical)).addClass("highcharts-scrollbar-arrow").add(e[b]);this.chart.styledMode||c.attr({fill:f.buttonArrowColor})};e.prototype.init=function(h,d,l){this.scrollbarButtons=[];this.renderer=h;this.userOptions=
+d;this.options=f(e.defaultOptions,d);this.chart=l;this.size=b(this.options.size,this.options.height);d.enabled&&(this.render(),this.addEvents())};e.prototype.mouseDownHandler=function(b){b=this.chart.pointer.normalize(b);b=this.cursorToScrollbarPosition(b);this.chartX=b.chartX;this.chartY=b.chartY;this.initPositions=[this.from,this.to];this.grabbedCenter=!0};e.prototype.mouseMoveHandler=function(b){var d=this.chart.pointer.normalize(b),e=this.options.vertical?"chartY":"chartX",f=this.initPositions||
+[];!this.grabbedCenter||b.touches&&0===b.touches[0][e]||(d=this.cursorToScrollbarPosition(d)[e],e=this[e],e=d-e,this.hasDragged=!0,this.updatePosition(f[0]+e,f[1]+e),this.hasDragged&&m(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:b.type,DOMEvent:b}))};e.prototype.mouseUpHandler=function(b){this.hasDragged&&m(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:b.type,DOMEvent:b});this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null};e.prototype.position=
+function(b,d,e,f){var g=this.options.vertical,c=0,h=this.rendered?"animate":"attr";this.x=b;this.y=d+this.trackBorderWidth;this.width=e;this.xOffset=this.height=f;this.yOffset=c;g?(this.width=this.yOffset=e=c=this.size,this.xOffset=d=0,this.barWidth=f-2*e,this.x=b+=this.options.margin):(this.height=this.xOffset=f=d=this.size,this.barWidth=e-2*f,this.y+=this.options.margin);this.group[h]({translateX:b,translateY:this.y});this.track[h]({width:e,height:f});this.scrollbarButtons[1][h]({translateX:g?0:
+e-d,translateY:g?f-c:0})};e.prototype.removeEvents=function(){this._events.forEach(function(b){A.apply(null,b)});this._events.length=0};e.prototype.render=function(){var b=this.renderer,d=this.options,e=this.size,f=this.chart.styledMode,g;this.group=g=b.g("scrollbar").attr({zIndex:d.zIndex,translateY:-99999}).add();this.track=b.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:d.trackBorderRadius||0,height:e,width:e}).add(g);f||this.track.attr({fill:d.trackBackgroundColor,stroke:d.trackBorderColor,
+"stroke-width":d.trackBorderWidth});this.trackBorderWidth=this.track.strokeWidth();this.track.attr({y:-this.trackBorderWidth%2/2});this.scrollbarGroup=b.g().add(g);this.scrollbar=b.rect().addClass("highcharts-scrollbar-thumb").attr({height:e,width:e,r:d.barBorderRadius||0}).add(this.scrollbarGroup);this.scrollbarRifles=b.path(l([["M",-3,e/4],["L",-3,2*e/3],["M",0,e/4],["L",0,2*e/3],["M",3,e/4],["L",3,2*e/3]],d.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup);f||(this.scrollbar.attr({fill:d.barBackgroundColor,
+stroke:d.barBorderColor,"stroke-width":d.barBorderWidth}),this.scrollbarRifles.attr({stroke:d.rifleColor,"stroke-width":1}));this.scrollbarStrokeWidth=this.scrollbar.strokeWidth();this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2);this.drawScrollbarButton(0);this.drawScrollbarButton(1)};e.prototype.setRange=function(b,d){var e=this.options,f=e.vertical,g=e.minWidth,c=this.barWidth,h,a=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?
+"attr":"animate";if(t(c)){b=Math.max(b,0);var k=Math.ceil(c*b);this.calculatedWidth=h=G(c*Math.min(d,1)-k);h<g&&(k=(c-g+h)*b,h=g);g=Math.floor(k+this.xOffset+this.yOffset);c=h/2-.5;this.from=b;this.to=d;f?(this.scrollbarGroup[a]({translateY:g}),this.scrollbar[a]({height:h}),this.scrollbarRifles[a]({translateY:c}),this.scrollbarTop=g,this.scrollbarLeft=0):(this.scrollbarGroup[a]({translateX:g}),this.scrollbar[a]({width:h}),this.scrollbarRifles[a]({translateX:c}),this.scrollbarLeft=g,this.scrollbarTop=
+0);12>=h?this.scrollbarRifles.hide():this.scrollbarRifles.show(!0);!1===e.showFull&&(0>=b&&1<=d?this.group.hide():this.group.show());this.rendered=!0}};e.prototype.shouldUpdateExtremes=function(e){return b(this.options.liveRedraw,h.svg&&!h.isTouchDevice&&!this.chart.isBoosting)||"mouseup"===e||"touchend"===e||!t(e)};e.prototype.trackClick=function(b){var d=this.chart.pointer.normalize(b),e=this.to-this.from,f=this.y+this.scrollbarTop,g=this.x+this.scrollbarLeft;this.options.vertical&&d.chartY>f||
+!this.options.vertical&&d.chartX>g?this.updatePosition(this.from+e,this.to+e):this.updatePosition(this.from-e,this.to-e);m(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:b})};e.prototype.update=function(b){this.destroy();this.init(this.chart.renderer,f(!0,this.options,b),this.chart)};e.prototype.updatePosition=function(b,d){1<d&&(b=G(1-G(d-b)),d=1);0>b&&(d=G(d-b),b=0);this.from=b;this.to=d};e.defaultOptions={height:u?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,
+margin:10,minWidth:6,step:.2,zIndex:3,barBackgroundColor:D.neutralColor20,barBorderWidth:1,barBorderColor:D.neutralColor20,buttonArrowColor:D.neutralColor80,buttonBackgroundColor:D.neutralColor10,buttonBorderColor:D.neutralColor20,buttonBorderWidth:1,rifleColor:D.neutralColor80,trackBackgroundColor:D.neutralColor5,trackBorderColor:D.neutralColor5,trackBorderWidth:1};return e}();h.Scrollbar||(F.scrollbar=f(!0,E.defaultOptions,F.scrollbar),h.Scrollbar=E,y.compose(e,E));return h.Scrollbar});P(e,"Extensions/RangeSelector.js",
+[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Options.js"],e["Core/Color/Palette.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E,C){function G(a){if(-1!==a.indexOf("%L"))return"text";var b="aAdewbBmoyY".split("").some(function(b){return-1!==a.indexOf("%"+b)}),c="HkIlMS".split("").some(function(b){return-1!==a.indexOf("%"+b)});return b&&c?"datetime-local":b?"date":c?"time":"text"}var t=y.defaultOptions,z=C.addEvent,m=C.createElement,
+f=C.css,b=C.defined,A=C.destroyObjectProperties,u=C.discardElement,l=C.extend,I=C.find,k=C.fireEvent,d=C.isNumber,w=C.merge,n=C.objectEach,g=C.pad,c=C.pick,q=C.pInt,a=C.splat;l(t,{rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,
+inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:F.highlightColor80,cursor:"pointer"},labelStyle:{color:F.neutralColor60}}});l(t.lang,{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"\u2192"});var B=function(){function h(a){this.buttons=void 0;this.buttonOptions=h.prototype.defaultButtons;this.initialButtonGroupWidth=0;this.options=void 0;this.chart=a;this.init(a)}
+h.prototype.clickButton=function(f,g){var h=this.chart,l=this.buttonOptions[f],m=h.xAxis[0],p=h.scroller&&h.scroller.getUnionExtremes()||m||{},n=p.dataMin,r=p.dataMax,q=m&&Math.round(Math.min(m.max,c(r,m.max))),t=l.type;p=l._range;var u,w=l.dataGrouping;if(null!==n&&null!==r){h.fixedRange=p;this.setSelected(f);w&&(this.forcedDataGrouping=!0,e.prototype.setDataGrouping.call(m||{chart:this.chart},w,!1),this.frozenStates=l.preserveDataGrouping);if("month"===t||"year"===t)if(m){t={range:l,max:q,chart:h,
+dataMin:n,dataMax:r};var M=m.minFromRange.call(t);d(t.newMax)&&(q=t.newMax)}else p=l;else if(p)M=Math.max(q-p,n),q=Math.min(M+p,r);else if("ytd"===t)if(m)"undefined"===typeof r&&(n=Number.MAX_VALUE,r=Number.MIN_VALUE,h.series.forEach(function(a){a=a.xData;n=Math.min(a[0],n);r=Math.max(a[a.length-1],r)}),g=!1),q=this.getYTDExtremes(r,n,h.time.useUTC),M=u=q.min,q=q.max;else{this.deferredYTDClick=f;return}else"all"===t&&m&&(M=n,q=r);b(M)&&(M+=l._offsetMin);b(q)&&(q+=l._offsetMax);this.dropdown&&(this.dropdown.selectedIndex=
+f+1);if(m)m.setExtremes(M,q,c(g,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:l});else{var y=a(h.options.xAxis)[0];var A=y.range;y.range=p;var B=y.min;y.min=u;z(h,"load",function(){y.range=A;y.min=B})}k(this,"afterBtnClick")}};h.prototype.setSelected=function(a){this.selected=this.options.selected=a};h.prototype.init=function(a){var b=this,c=a.options.rangeSelector,d=c.buttons||b.defaultButtons.slice(),e=c.selected,f=function(){var a=b.minInput,c=b.maxInput;a&&a.blur&&k(a,"blur");
+c&&c.blur&&k(c,"blur")};b.chart=a;b.options=c;b.buttons=[];b.buttonOptions=d;this.eventsToUnbind=[];this.eventsToUnbind.push(z(a.container,"mousedown",f));this.eventsToUnbind.push(z(a,"resize",f));d.forEach(b.computeButtonRange);"undefined"!==typeof e&&d[e]&&this.clickButton(e,!1);this.eventsToUnbind.push(z(a,"load",function(){a.xAxis&&a.xAxis[0]&&z(a.xAxis[0],"setExtremes",function(c){this.max-this.min!==a.fixedRange&&"rangeSelectorButton"!==c.trigger&&"updatedData"!==c.trigger&&b.forcedDataGrouping&&
+!b.frozenStates&&this.setDataGrouping(!1,!1)})}))};h.prototype.updateButtonStates=function(){var a=this,b=this.chart,c=this.dropdown,e=b.xAxis[0],f=Math.round(e.max-e.min),g=!e.hasVisibleSeries,h=b.scroller&&b.scroller.getUnionExtremes()||e,k=h.dataMin,l=h.dataMax;b=a.getYTDExtremes(l,k,b.time.useUTC);var m=b.min,p=b.max,n=a.selected,q=d(n),t=a.options.allButtonsEnabled,u=a.buttons;a.buttonOptions.forEach(function(b,d){var h=b._range,v=b.type,r=b.count||1,x=u[d],N=0,K=b._offsetMax-b._offsetMin;b=
+d===n;var w=h>l-k,H=h<e.minRange,L=!1,y=!1;h=h===f;("month"===v||"year"===v)&&f+36E5>=864E5*{month:28,year:365}[v]*r-K&&f-36E5<=864E5*{month:31,year:366}[v]*r+K?h=!0:"ytd"===v?(h=p-m+K===f,L=!b):"all"===v&&(h=e.max-e.min>=l-k,y=!b&&q&&h);v=!t&&(w||H||y||g);r=b&&h||h&&!q&&!L||b&&a.frozenStates;v?N=3:r&&(q=!0,N=2);x.state!==N&&(x.setState(N),c&&(c.options[d+1].disabled=v,2===N&&(c.selectedIndex=d+1)),0===N&&n===d&&a.setSelected())})};h.prototype.computeButtonRange=function(a){var b=a.type,d=a.count||
+1,e={millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5};if(e[b])a._range=e[b]*d;else if("month"===b||"year"===b)a._range=864E5*{month:30,year:365}[b]*d;a._offsetMin=c(a.offsetMin,0);a._offsetMax=c(a.offsetMax,0);a._range+=a._offsetMax-a._offsetMin};h.prototype.getInputValue=function(a){a="min"===a?this.minInput:this.maxInput;var b=this.chart.options.rangeSelector,c=this.chart.time;return a?("text"===a.type&&b.inputDateParser||this.defaultInputDateParser)(a.value,c.useUTC,c):0};h.prototype.setInputValue=
+function(a,c){var d=this.options,e=this.chart.time,f="min"===a?this.minInput:this.maxInput;a="min"===a?this.minDateBox:this.maxDateBox;if(f){var g=f.getAttribute("data-hc-time");g=b(g)?Number(g):void 0;b(c)&&(b(g)&&f.setAttribute("data-hc-time-previous",g),f.setAttribute("data-hc-time",c),g=c);f.value=e.dateFormat(this.inputTypeFormats[f.type]||d.inputEditDateFormat,g);a&&a.attr({text:e.dateFormat(d.inputDateFormat,g)})}};h.prototype.setInputExtremes=function(a,b,c){if(a="min"===a?this.minInput:this.maxInput){var d=
+this.inputTypeFormats[a.type],e=this.chart.time;d&&(b=e.dateFormat(d,b),a.min!==b&&(a.min=b),c=e.dateFormat(d,c),a.max!==c&&(a.max=c))}};h.prototype.showInput=function(a){var b="min"===a?this.minDateBox:this.maxDateBox;if((a="min"===a?this.minInput:this.maxInput)&&b&&this.inputGroup){var c="text"===a.type,d=this.inputGroup,e=d.translateX;d=d.translateY;var g=this.options.inputBoxWidth;f(a,{width:c?b.width+(g?-2:20)+"px":"auto",height:c?b.height-2+"px":"auto",border:"2px solid silver"});c&&g?f(a,{left:e+
+b.x+"px",top:d+"px"}):f(a,{left:Math.min(Math.round(b.x+e-(a.offsetWidth-b.width)/2),this.chart.chartWidth-a.offsetWidth)+"px",top:d-1-(a.offsetHeight-b.height)/2+"px"})}};h.prototype.hideInput=function(a){(a="min"===a?this.minInput:this.maxInput)&&f(a,{top:"-9999em",border:0,width:"1px",height:"1px"})};h.prototype.defaultInputDateParser=function(a,b,c){var e=a.split("/").join("-").split(" ").join("T");-1===e.indexOf("T")&&(e+="T00:00");if(b)e+="Z";else{var f;if(f=D.isSafari)f=e,f=!(6<f.length&&(f.lastIndexOf("-")===
+f.length-6||f.lastIndexOf("+")===f.length-6));f&&(f=(new Date(e)).getTimezoneOffset()/60,e+=0>=f?"+"+g(-f)+":00":"-"+g(f)+":00")}e=Date.parse(e);d(e)||(a=a.split("-"),e=Date.UTC(q(a[0]),q(a[1])-1,q(a[2])));c&&b&&d(e)&&(e+=c.getTimezoneOffset(e));return e};h.prototype.drawInput=function(a){function b(){var b=h.getInputValue(a),e=c.xAxis[0],f=c.scroller&&c.scroller.xAxis?c.scroller.xAxis:e,g=f.dataMin;f=f.dataMax;var k=h.maxInput,l=h.minInput;b!==Number(u.getAttribute("data-hc-time-previous"))&&d(b)&&
+(u.setAttribute("data-hc-time-previous",b),r&&k&&d(g)?b>Number(k.getAttribute("data-hc-time"))?b=void 0:b<g&&(b=g):l&&d(f)&&(b<Number(l.getAttribute("data-hc-time"))?b=void 0:b>f&&(b=f)),"undefined"!==typeof b&&e.setExtremes(r?b:e.min,r?e.max:b,void 0,void 0,{trigger:"rangeSelectorInput"}))}var c=this.chart,e=this.div,g=this.inputGroup,h=this,k=c.renderer.style||{},p=c.renderer,n=c.options.rangeSelector,r="min"===a,q=t.lang[r?"rangeSelectorFrom":"rangeSelectorTo"];q=p.label(q,0).addClass("highcharts-range-label").attr({padding:q?
+2:0}).add(g);p=p.label("",0).addClass("highcharts-range-input").attr({padding:2,width:n.inputBoxWidth,height:n.inputBoxHeight,"text-align":"center"}).on("click",function(){h.showInput(a);h[a+"Input"].focus()});c.styledMode||p.attr({stroke:n.inputBoxBorderColor,"stroke-width":1});p.add(g);var u=m("input",{name:a,className:"highcharts-range-selector"},void 0,e);u.setAttribute("type",G(n.inputDateFormat||"%b %e, %Y"));c.styledMode||(q.css(w(k,n.labelStyle)),p.css(w({color:F.neutralColor80},k,n.inputStyle)),
+f(u,l({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:k.fontSize,fontFamily:k.fontFamily,top:"-9999em"},n.inputStyle)));u.onfocus=function(){h.showInput(a)};u.onblur=function(){u===D.doc.activeElement&&b();h.hideInput(a);h.setInputValue(a);u.blur()};var y=!1;u.onchange=function(){y||(b(),h.hideInput(a),u.blur())};u.onkeypress=function(a){13===a.keyCode&&b()};u.onkeydown=function(a){y=!0;38!==a.keyCode&&40!==a.keyCode||
+b()};u.onkeyup=function(){y=!1};return{dateBox:p,input:u,label:q}};h.prototype.getPosition=function(){var a=this.chart,b=a.options.rangeSelector;a="top"===b.verticalAlign?a.plotTop-a.axisOffset[0]:0;return{buttonTop:a+b.buttonPosition.y,inputTop:a+b.inputPosition.y-10}};h.prototype.getYTDExtremes=function(a,b,c){var d=this.chart.time,e=new d.Date(a),f=d.get("FullYear",e);c=c?d.Date.UTC(f,0,1):+new d.Date(f,0,1);b=Math.max(b,c);e=e.getTime();return{max:Math.min(a||e,e),min:b}};h.prototype.render=function(a,
+d){var e=this.chart,f=e.renderer,g=e.container,h=e.options,k=h.rangeSelector,l=c(h.chart.style&&h.chart.style.zIndex,0)+1;h=k.inputEnabled;if(!1!==k.enabled){this.rendered||(this.group=f.g("range-selector-group").attr({zIndex:7}).add(),this.div=m("div",void 0,{position:"relative",height:0,zIndex:l}),this.buttonOptions.length&&this.renderButtons(),g.parentNode&&g.parentNode.insertBefore(this.div,g),h&&(this.inputGroup=f.g("input-group").add(this.group),f=this.drawInput("min"),this.minDateBox=f.dateBox,
+this.minLabel=f.label,this.minInput=f.input,f=this.drawInput("max"),this.maxDateBox=f.dateBox,this.maxLabel=f.label,this.maxInput=f.input));if(h&&(this.setInputValue("min",a),this.setInputValue("max",d),a=e.scroller&&e.scroller.getUnionExtremes()||e.xAxis[0]||{},b(a.dataMin)&&b(a.dataMax)&&(e=e.xAxis[0].minRange||0,this.setInputExtremes("min",a.dataMin,Math.min(a.dataMax,this.getInputValue("max"))-e),this.setInputExtremes("max",Math.max(a.dataMin,this.getInputValue("min"))+e,a.dataMax)),this.inputGroup)){var p=
+0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach(function(a){if(a){var b=a.getBBox().width;b&&(a.attr({x:p}),p+=b+k.inputSpacing)}})}this.alignElements();this.rendered=!0}};h.prototype.renderButtons=function(){var a=this,b=this.buttons,d=this.options,e=t.lang,f=this.chart.renderer,g=w(d.buttonTheme),h=g&&g.states,l=g.width||28;delete g.width;delete g.states;this.buttonGroup=f.g("range-selector-buttons").add(this.group);var p=this.dropdown=m("select",void 0,{position:"absolute",
+width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:.0001},this.div);z(p,"touchstart",function(){p.style.fontSize="16px"});[[D.isMS?"mouseover":"mouseenter"],[D.isMS?"mouseout":"mouseleave"],["change","click"]].forEach(function(c){var d=c[0],e=c[1];z(p,d,function(){var c=b[a.currentButtonIndex()];c&&k(c.element,e||d)})});this.zoomText=f.text(e.rangeSelectorZoom,0,15).add(this.buttonGroup);this.chart.styledMode||(this.zoomText.css(d.labelStyle),g["stroke-width"]=c(g["stroke-width"],
+0));m("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,p);this.buttonOptions.forEach(function(c,d){m("option",{textContent:c.title||c.text},void 0,p);b[d]=f.button(c.text,0,0,function(b){var e=c.events&&c.events.click,f;e&&(f=e.call(c,b));!1!==f&&a.clickButton(d);a.isActive=!0},g,h&&h.hover,h&&h.select,h&&h.disabled).attr({"text-align":"center",width:l}).add(a.buttonGroup);c.title&&b[d].attr("title",c.title)})};h.prototype.alignElements=function(){var a=this,b=this.buttonGroup,d=this.buttons,
+e=this.chart,f=this.group,g=this.inputGroup,h=this.options,k=this.zoomText,l=e.options,m=l.exporting&&!1!==l.exporting.enabled&&l.navigation&&l.navigation.buttonOptions;l=h.buttonPosition;var p=h.inputPosition,n=h.verticalAlign,q=function(b,c){return m&&a.titleCollision(e)&&"top"===n&&"right"===c.align&&c.y-b.getBBox().height-12<(m.y||0)+(m.height||0)+e.spacing[0]?-40:0},u=e.plotLeft;if(f&&l&&p){var t=l.x-e.spacing[3];if(b){this.positionButtons();if(!this.initialButtonGroupWidth){var w=0;k&&(w+=k.getBBox().width+
+5);d.forEach(function(a,b){w+=a.width;b!==d.length-1&&(w+=h.buttonSpacing)});this.initialButtonGroupWidth=w}u-=e.spacing[3];this.updateButtonStates();k=q(b,l);this.alignButtonGroup(k);f.placed=b.placed=e.hasLoaded}b=0;g&&(b=q(g,p),"left"===p.align?t=u:"right"===p.align&&(t=-Math.max(e.axisOffset[1],-b)),g.align({y:p.y,width:g.getBBox().width,align:p.align,x:p.x+t-2},!0,e.spacingBox),g.placed=e.hasLoaded);this.handleCollision(b);f.align({verticalAlign:n},!0,e.spacingBox);g=f.alignAttr.translateY;b=
+f.getBBox().height+20;q=0;"bottom"===n&&(q=(q=e.legend&&e.legend.options)&&"bottom"===q.verticalAlign&&q.enabled&&!q.floating?e.legend.legendHeight+c(q.margin,10):0,b=b+q-20,q=g-b-(h.floating?0:h.y)-(e.titleOffset?e.titleOffset[2]:0)-10);if("top"===n)h.floating&&(q=0),e.titleOffset&&e.titleOffset[0]&&(q=e.titleOffset[0]),q+=e.margin[0]-e.spacing[0]||0;else if("middle"===n)if(p.y===l.y)q=g;else if(p.y||l.y)q=0>p.y||0>l.y?q-Math.min(p.y,l.y):g-b;f.translate(h.x,h.y+Math.floor(q));l=this.minInput;p=
+this.maxInput;g=this.dropdown;h.inputEnabled&&l&&p&&(l.style.marginTop=f.translateY+"px",p.style.marginTop=f.translateY+"px");g&&(g.style.marginTop=f.translateY+"px")}};h.prototype.alignButtonGroup=function(a,b){var d=this.chart,e=this.buttonGroup,f=this.options.buttonPosition,g=d.plotLeft-d.spacing[3],h=f.x-d.spacing[3];"right"===f.align?h+=a-g:"center"===f.align&&(h-=g/2);e&&e.align({y:f.y,width:c(b,this.initialButtonGroupWidth),align:f.align,x:h},!0,d.spacingBox)};h.prototype.positionButtons=function(){var a=
+this.buttons,b=this.chart,d=this.options,e=this.zoomText,f=b.hasLoaded?"animate":"attr",g=d.buttonPosition,h=b.plotLeft,k=h;e&&"hidden"!==e.visibility&&(e[f]({x:c(h+g.x,h)}),k+=g.x+e.getBBox().width+5);this.buttonOptions.forEach(function(b,c){if("hidden"!==a[c].visibility)a[c][f]({x:k}),k+=a[c].width+d.buttonSpacing;else a[c][f]({x:h})})};h.prototype.handleCollision=function(a){var b=this,c=this.chart,d=this.buttonGroup,e=this.inputGroup,f=this.options,g=f.buttonPosition,h=f.dropdown,k=f.inputPosition;
+f=function(){var a=0;b.buttons.forEach(function(b){b=b.getBBox();b.width>a&&(a=b.width)});return a};var l=function(b){if(e&&d){var c=e.alignAttr.translateX+e.alignOptions.x-a+e.getBBox().x+2,f=e.alignOptions.width,h=d.alignAttr.translateX+d.getBBox().x;return h+b>c&&c+f>h&&g.y<k.y+e.getBBox().height}return!1},m=function(){e&&d&&e.attr({translateX:e.alignAttr.translateX+(c.axisOffset[1]>=-a?0:-a),translateY:e.alignAttr.translateY+d.getBBox().height+10})};if(d){if("always"===h){this.collapseButtons(a);
+l(f())&&m();return}"never"===h&&this.expandButtons()}e&&d?k.align===g.align||l(this.initialButtonGroupWidth+20)?"responsive"===h?(this.collapseButtons(a),l(f())&&m()):m():"responsive"===h&&this.expandButtons():d&&"responsive"===h&&(this.initialButtonGroupWidth>c.plotWidth?this.collapseButtons(a):this.expandButtons())};h.prototype.collapseButtons=function(a){var b=this.buttons,c=this.buttonOptions,d=this.dropdown,e=this.options,f=this.zoomText,g=function(a){return{text:a?a+" \u25be":"\u25be",width:"auto",
+paddingLeft:8,paddingRight:8}};f&&f.hide();var h=!1;c.forEach(function(a,c){c=b[c];2!==c.state?c.hide():(c.show(),c.attr(g(a.text)),h=!0)});h||(d&&(d.selectedIndex=0),b[0].show(),b[0].attr(g(this.zoomText&&this.zoomText.textStr)));c=e.buttonPosition.align;this.positionButtons();"right"!==c&&"center"!==c||this.alignButtonGroup(a,b[this.currentButtonIndex()].getBBox().width);this.showDropdown()};h.prototype.expandButtons=function(){var a=this.buttons,b=this.buttonOptions,c=this.options,d=this.zoomText;
+this.hideDropdown();d&&d.show();b.forEach(function(b,d){d=a[d];d.show();d.attr({text:b.text,width:c.buttonTheme.width||28,paddingLeft:"unset",paddingRight:"unset"});2>d.state&&d.setState(0)});this.positionButtons()};h.prototype.currentButtonIndex=function(){var a=this.dropdown;return a&&0<a.selectedIndex?a.selectedIndex-1:0};h.prototype.showDropdown=function(){var a=this.buttonGroup,b=this.buttons,c=this.chart,d=this.dropdown;if(a&&d){var e=a.translateX;a=a.translateY;b=b[this.currentButtonIndex()].getBBox();
+f(d,{left:c.plotLeft+e+"px",top:a+.5+"px",width:b.width+"px",height:b.height+"px"});this.hasVisibleDropdown=!0}};h.prototype.hideDropdown=function(){var a=this.dropdown;a&&(f(a,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)};h.prototype.getHeight=function(){var a=this.options,b=this.group,c=a.y,d=a.buttonPosition.y,e=a.inputPosition.y;if(a.height)return a.height;this.alignElements();a=b?b.getBBox(!0).height+13+c:0;b=Math.min(e,d);if(0>e&&0>d||0<e&&0<d)a+=Math.abs(b);return a};
+h.prototype.titleCollision=function(a){return!(a.options.title.text||a.options.subtitle.text)};h.prototype.update=function(a){var b=this.chart;w(!0,b.options.rangeSelector,a);this.destroy();this.init(b);this.render()};h.prototype.destroy=function(){var a=this,b=a.minInput,c=a.maxInput;a.eventsToUnbind&&(a.eventsToUnbind.forEach(function(a){return a()}),a.eventsToUnbind=void 0);A(a.buttons);b&&(b.onfocus=b.onblur=b.onchange=null);c&&(c.onfocus=c.onblur=c.onchange=null);n(a,function(b,c){b&&"chart"!==
+c&&(b instanceof E?b.destroy():b instanceof window.HTMLElement&&u(b));b!==h.prototype[c]&&(a[c]=null)},this)};return h}();B.prototype.defaultButtons=[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}];B.prototype.inputTypeFormats={"datetime-local":"%Y-%m-%dT%H:%M:%S",
+date:"%Y-%m-%d",time:"%H:%M:%S"};e.prototype.minFromRange=function(){var a=this.range,b=a.type,e=this.max,f=this.chart.time,g=function(a,c){var d="year"===b?"FullYear":"Month",e=new f.Date(a),g=f.get(d,e);f.set(d,e,g+c);g===f.get(d,e)&&f.set("Date",e,0);return e.getTime()-a};if(d(a)){var h=e-a;var k=a}else h=e+g(e,-a.count),this.chart&&(this.chart.fixedRange=e-h);var l=c(this.dataMin,Number.MIN_VALUE);d(h)||(h=l);h<=l&&(h=l,"undefined"===typeof k&&(k=g(h,a.count)),this.newMax=Math.min(h+k,this.dataMax));
+d(e)||(h=void 0);return h};if(!D.RangeSelector){var J=[],O=function(a){function b(){e&&(c=a.xAxis[0].getExtremes(),f=a.legend,h=e&&e.options.verticalAlign,d(c.min)&&e.render(c.min,c.max),f.display&&"top"===h&&h===f.options.verticalAlign&&(g=w(a.spacingBox),g.y="vertical"===f.options.layout?a.plotTop:g.y+e.getHeight(),f.group.placed=!1,f.align(g)))}var c,e=a.rangeSelector,f,g,h;e&&(I(J,function(b){return b[0]===a})||J.push([a,[z(a.xAxis[0],"afterSetExtremes",function(a){e&&e.render(a.min,a.max)}),
+z(a,"redraw",b)]]),b())};z(h,"afterGetContainer",function(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new B(this))});z(h,"beforeRender",function(){var a=this.axes,b=this.rangeSelector;b&&(d(b.deferredYTDClick)&&(b.clickButton(b.deferredYTDClick),delete b.deferredYTDClick),a.forEach(function(a){a.updateNames();a.setScale()}),this.getAxisMargins(),b.render(),a=b.options.verticalAlign,b.options.floating||("bottom"===a?this.extraBottomMargin=!0:"middle"!==a&&
+(this.extraTopMargin=!0)))});z(h,"update",function(a){var c=a.options.rangeSelector;a=this.rangeSelector;var d=this.extraBottomMargin,e=this.extraTopMargin;c&&c.enabled&&!b(a)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=a=new B(this));this.extraTopMargin=this.extraBottomMargin=!1;a&&(O(this),c=c&&c.verticalAlign||a.options&&a.options.verticalAlign,a.options.floating||("bottom"===c?this.extraBottomMargin=!0:"middle"!==c&&(this.extraTopMargin=!0)),this.extraBottomMargin!==
+d||this.extraTopMargin!==e)&&(this.isDirtyBox=!0)});z(h,"render",function(){var a=this.rangeSelector;a&&!a.options.floating&&(a.render(),a=a.options.verticalAlign,"bottom"===a?this.extraBottomMargin=!0:"middle"!==a&&(this.extraTopMargin=!0))});z(h,"getMargins",function(){var a=this.rangeSelector;a&&(a=a.getHeight(),this.extraTopMargin&&(this.plotTop+=a),this.extraBottomMargin&&(this.marginBottom+=a))});h.prototype.callbacks.push(O);z(h,"destroy",function(){for(var a=0;a<J.length;a++){var b=J[a];if(b[0]===
+this){b[1].forEach(function(a){return a()});J.splice(a,1);break}}});D.RangeSelector=B}return D.RangeSelector});P(e,"Core/Axis/NavigatorAxis.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,h){var D=e.isTouchDevice,y=h.addEvent,F=h.correctFloat,E=h.defined,C=h.isNumber,G=h.pick,t=function(){function e(e){this.axis=e}e.prototype.destroy=function(){this.axis=void 0};e.prototype.toFixedRange=function(e,f,b,h){var m=this.axis,l=m.chart;l=l&&l.fixedRange;var t=(m.pointRange||0)/2;e=G(b,m.translate(e,
+!0,!m.horiz));f=G(h,m.translate(f,!0,!m.horiz));m=l&&(f-e)/l;E(b)||(e=F(e+t));E(h)||(f=F(f-t));.7<m&&1.3>m&&(h?e=f-l:f=e+l);C(e)&&C(f)||(e=f=void 0);return{min:e,max:f}};return e}();return function(){function e(){}e.compose=function(e){e.keepProps.push("navigatorAxis");y(e,"init",function(){this.navigatorAxis||(this.navigatorAxis=new t(this))});y(e,"zoom",function(e){var b=this.chart.options,f=b.navigator,h=this.navigatorAxis,l=b.chart.pinchType,m=b.rangeSelector;b=b.chart.zoomType;this.isXAxis&&
+(f&&f.enabled||m&&m.enabled)&&("y"===b?e.zoomed=!1:(!D&&"xy"===b||D&&"xy"===l)&&this.options.range&&(f=h.previousZoom,E(e.newMin)?h.previousZoom=[this.min,this.max]:f&&(e.newMin=f[0],e.newMax=f[1],h.previousZoom=void 0)));"undefined"!==typeof e.zoomed&&e.preventDefault()})};e.AdditionsClass=t;return e}()});P(e,"Core/Navigator.js",[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxis.js"],e["Core/Options.js"],e["Core/Color/Palette.js"],
+e["Core/Scrollbar.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,h,D,y,F,E,C,G,t,z,m){D=D.parse;var f=y.hasTouch,b=y.isTouchDevice,A=E.defaultOptions,u=m.addEvent,l=m.clamp,I=m.correctFloat,k=m.defined,d=m.destroyObjectProperties,w=m.erase,n=m.extend,g=m.find,c=m.isArray,q=m.isNumber,a=m.merge,B=m.pick,J=m.removeEvent,O=m.splat,p=function(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];b=[].filter.call(b,q);if(b.length)return Math[a].apply(0,
+b)};E="undefined"===typeof z.seriesTypes.areaspline?"line":"areaspline";n(A,{navigator:{height:40,margin:25,maskInside:!0,handles:{width:7,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:C.neutralColor5,borderColor:C.neutralColor40},maskFill:D(C.highlightColor60).setOpacity(.3).get(),outlineColor:C.neutralColor20,outlineWidth:1,series:{type:E,fillOpacity:.05,lineWidth:1,compare:null,dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,
+firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{overscroll:0,className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,
+gridLineColor:C.neutralColor10,gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:C.neutralColor40},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}});y.Renderer.prototype.symbols["navigator-handle"]=function(a,b,c,d,e){a=(e&&e.width||0)/2;b=Math.round(a/3)+.5;e=e&&e.height||0;return[["M",-a-1,.5],["L",a,.5],
+["L",a,e+.5],["L",-a-1,e+.5],["L",-a-1,.5],["M",-b,4],["L",-b,e-3],["M",b-1,4],["L",b-1,e-3]]};var r=function(){function h(a){this.zoomedMin=this.zoomedMax=this.yAxis=this.xAxis=this.top=this.size=this.shades=this.rendered=this.range=this.outlineHeight=this.outline=this.opposite=this.navigatorSize=this.navigatorSeries=this.navigatorOptions=this.navigatorGroup=this.navigatorEnabled=this.left=this.height=this.handles=this.chart=this.baseSeries=void 0;this.init(a)}h.prototype.drawHandle=function(a,b,
+c,d){var e=this.navigatorOptions.handles.height;this.handles[b][d](c?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(a,10)+.5-e)}:{translateX:Math.round(this.left+parseInt(a,10)),translateY:Math.round(this.top+this.height/2-e/2-1)})};h.prototype.drawOutline=function(a,b,c,d){var e=this.navigatorOptions.maskInside,f=this.outline.strokeWidth(),g=f/2,h=f%2/2;f=this.outlineHeight;var k=this.scrollbarHeight||0,l=this.size,m=this.left-k,n=this.top;c?(m-=g,c=n+b+h,
+b=n+a+h,h=[["M",m+f,n-k-h],["L",m+f,c],["L",m,c],["L",m,b],["L",m+f,b],["L",m+f,n+l+k]],e&&h.push(["M",m+f,c-g],["L",m+f,b+g])):(a+=m+k-h,b+=m+k-h,n+=g,h=[["M",m,n],["L",a,n],["L",a,n+f],["L",b,n+f],["L",b,n],["L",m+l+2*k,n]],e&&h.push(["M",a-g,n],["L",b+g,n]));this.outline[d]({d:h})};h.prototype.drawMasks=function(a,b,c,d){var e=this.left,f=this.top,g=this.height;if(c){var h=[e,e,e];var k=[f,f+a,f+b];var l=[g,g,g];var m=[a,b-a,this.size-b]}else h=[e,e+a,e+b],k=[f,f,f],l=[a,b-a,this.size-b],m=[g,
+g,g];this.shades.forEach(function(a,b){a[d]({x:h[b],y:k[b],width:l[b],height:m[b]})})};h.prototype.renderElements=function(){var a=this,b=a.navigatorOptions,c=b.maskInside,d=a.chart,e=d.renderer,f,g={cursor:d.inverted?"ns-resize":"ew-resize"};a.navigatorGroup=f=e.g("navigator").attr({zIndex:8,visibility:"hidden"}).add();[!c,c,!c].forEach(function(c,h){a.shades[h]=e.rect().addClass("highcharts-navigator-mask"+(1===h?"-inside":"-outside")).add(f);d.styledMode||a.shades[h].attr({fill:c?b.maskFill:"rgba(0,0,0,0)"}).css(1===
+h&&g)});a.outline=e.path().addClass("highcharts-navigator-outline").add(f);d.styledMode||a.outline.attr({"stroke-width":b.outlineWidth,stroke:b.outlineColor});b.handles.enabled&&[0,1].forEach(function(c){b.handles.inverted=d.inverted;a.handles[c]=e.symbol(b.handles.symbols[c],-b.handles.width/2-1,0,b.handles.width,b.handles.height,b.handles);a.handles[c].attr({zIndex:7-c}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][c]).add(f);if(!d.styledMode){var h=b.handles;
+a.handles[c].attr({fill:h.backgroundColor,stroke:h.borderColor,"stroke-width":h.lineWidth}).css(g)}})};h.prototype.update=function(b){(this.series||[]).forEach(function(a){a.baseSeries&&delete a.baseSeries.navigatorSeries});this.destroy();a(!0,this.chart.options.navigator,this.options,b);this.init(this.chart)};h.prototype.render=function(a,b,c,d){var e=this.chart,f=this.scrollbarHeight,g,h=this.xAxis,m=h.pointRange||0;var n=h.navigatorAxis.fake?e.xAxis[0]:h;var p=this.navigatorEnabled,v,r=this.rendered;
+var t=e.inverted;var u=e.xAxis[0].minRange,w=e.xAxis[0].options.maxRange;if(!this.hasDragged||k(c)){a=I(a-m/2);b=I(b+m/2);if(!q(a)||!q(b))if(r)c=0,d=B(h.width,n.width);else return;this.left=B(h.left,e.plotLeft+f+(t?e.plotWidth:0));this.size=v=g=B(h.len,(t?e.plotHeight:e.plotWidth)-2*f);e=t?f:g+2*f;c=B(c,h.toPixels(a,!0));d=B(d,h.toPixels(b,!0));q(c)&&Infinity!==Math.abs(c)||(c=0,d=e);a=h.toValue(c,!0);b=h.toValue(d,!0);var y=Math.abs(I(b-a));y<u?this.grabbedLeft?c=h.toPixels(b-u-m,!0):this.grabbedRight&&
+(d=h.toPixels(a+u+m,!0)):k(w)&&I(y-m)>w&&(this.grabbedLeft?c=h.toPixels(b-w-m,!0):this.grabbedRight&&(d=h.toPixels(a+w+m,!0)));this.zoomedMax=l(Math.max(c,d),0,v);this.zoomedMin=l(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(c,d),0,v);this.range=this.zoomedMax-this.zoomedMin;v=Math.round(this.zoomedMax);c=Math.round(this.zoomedMin);p&&(this.navigatorGroup.attr({visibility:"visible"}),r=r&&!this.hasDragged?"animate":"attr",this.drawMasks(c,v,t,r),this.drawOutline(c,v,t,r),this.navigatorOptions.handles.enabled&&
+(this.drawHandle(c,0,t,r),this.drawHandle(v,1,t,r)));this.scrollbar&&(t?(t=this.top-f,n=this.left-f+(p||!n.opposite?0:(n.titleOffset||0)+n.axisTitleMargin),f=g+2*f):(t=this.top+(p?this.height:-f),n=this.left-f),this.scrollbar.position(n,t,e,f),this.scrollbar.setRange(this.zoomedMin/(g||1),this.zoomedMax/(g||1)));this.rendered=!0}};h.prototype.addMouseEvents=function(){var a=this,b=a.chart,c=b.container,d=[],e,g;a.mouseMoveHandler=e=function(b){a.onMouseMove(b)};a.mouseUpHandler=g=function(b){a.onMouseUp(b)};
+d=a.getPartsEvents("mousedown");d.push(u(b.renderTo,"mousemove",e),u(c.ownerDocument,"mouseup",g));f&&(d.push(u(b.renderTo,"touchmove",e),u(c.ownerDocument,"touchend",g)),d.concat(a.getPartsEvents("touchstart")));a.eventsToUnbind=d;a.series&&a.series[0]&&d.push(u(a.series[0].xAxis,"foundExtremes",function(){b.navigator.modifyNavigatorAxisExtremes()}))};h.prototype.getPartsEvents=function(a){var b=this,c=[];["shades","handles"].forEach(function(d){b[d].forEach(function(e,f){c.push(u(e.element,a,function(a){b[d+
+"Mousedown"](a,f)}))})});return c};h.prototype.shadesMousedown=function(a,b){a=this.chart.pointer.normalize(a);var c=this.chart,d=this.xAxis,e=this.zoomedMin,f=this.left,g=this.size,h=this.range,l=a.chartX;c.inverted&&(l=a.chartY,f=this.top);if(1===b)this.grabbedCenter=l,this.fixedWidth=h,this.dragOffset=l-e;else{a=l-f-h/2;if(0===b)a=Math.max(0,a);else if(2===b&&a+h>=g)if(a=g-h,this.reversedExtremes){a-=h;var m=this.getUnionExtremes().dataMin}else var n=this.getUnionExtremes().dataMax;a!==e&&(this.fixedWidth=
+h,b=d.navigatorAxis.toFixedRange(a,a+h,m,n),k(b.min)&&c.xAxis[0].setExtremes(Math.min(b.min,b.max),Math.max(b.min,b.max),!0,null,{trigger:"navigator"}))}};h.prototype.handlesMousedown=function(a,b){this.chart.pointer.normalize(a);a=this.chart;var c=a.xAxis[0],d=this.reversedExtremes;0===b?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=d?c.min:c.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=d?c.max:c.min);a.fixedRange=null};h.prototype.onMouseMove=
+function(a){var c=this,d=c.chart,e=c.left,f=c.navigatorSize,g=c.range,h=c.dragOffset,k=d.inverted;a.touches&&0===a.touches[0].pageX||(a=d.pointer.normalize(a),d=a.chartX,k&&(e=c.top,d=a.chartY),c.grabbedLeft?(c.hasDragged=!0,c.render(0,0,d-e,c.otherHandlePos)):c.grabbedRight?(c.hasDragged=!0,c.render(0,0,c.otherHandlePos,d-e)):c.grabbedCenter&&(c.hasDragged=!0,d<h?d=h:d>f+h-g&&(d=f+h-g),c.render(0,0,d-h,d-h+g)),c.hasDragged&&c.scrollbar&&B(c.scrollbar.options.liveRedraw,y.svg&&!b&&!this.chart.isBoosting)&&
+(a.DOMType=a.type,setTimeout(function(){c.onMouseUp(a)},0)))};h.prototype.onMouseUp=function(a){var b=this.chart,c=this.xAxis,d=this.scrollbar,e=a.DOMEvent||a,f=b.inverted,g=this.rendered&&!this.hasDragged?"animate":"attr";if(this.hasDragged&&(!d||!d.hasDragged)||"scrollbar"===a.trigger){d=this.getUnionExtremes();if(this.zoomedMin===this.otherHandlePos)var h=this.fixedExtreme;else if(this.zoomedMax===this.otherHandlePos)var l=this.fixedExtreme;this.zoomedMax===this.size&&(l=this.reversedExtremes?
+d.dataMin:d.dataMax);0===this.zoomedMin&&(h=this.reversedExtremes?d.dataMax:d.dataMin);c=c.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,h,l);k(c.min)&&b.xAxis[0].setExtremes(Math.min(c.min,c.max),Math.max(c.min,c.max),!0,this.hasDragged?!1:null,{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:e})}"mousemove"!==a.DOMType&&"touchmove"!==a.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=
+null);this.navigatorEnabled&&q(this.zoomedMin)&&q(this.zoomedMax)&&(b=Math.round(this.zoomedMin),a=Math.round(this.zoomedMax),this.shades&&this.drawMasks(b,a,f,g),this.outline&&this.drawOutline(b,a,f,g),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(b,0,f,g),this.drawHandle(a,1,f,g)))};h.prototype.removeEvents=function(){this.eventsToUnbind&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind=void 0);this.removeBaseSeriesEvents()};
+h.prototype.removeBaseSeriesEvents=function(){var a=this.baseSeries||[];this.navigatorEnabled&&a[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&a.forEach(function(a){J(a,"updatedData",this.updatedDataHandler)},this),a[0].xAxis&&J(a[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))};h.prototype.init=function(b){var c=b.options,d=c.navigator,f=d.enabled,g=c.scrollbar,h=g.enabled;c=f?d.height:0;var k=h?g.height:0;this.handles=[];this.shades=[];this.chart=b;this.setBaseSeries();this.height=
+c;this.scrollbarHeight=k;this.scrollbarEnabled=h;this.navigatorEnabled=f;this.navigatorOptions=d;this.scrollbarOptions=g;this.outlineHeight=c+k;this.opposite=B(d.opposite,!(f||!b.inverted));var l=this;f=l.baseSeries;g=b.xAxis.length;h=b.yAxis.length;var m=f&&f[0]&&f[0].xAxis||b.xAxis[0]||{options:{}};b.isDirtyBox=!0;l.navigatorEnabled?(l.xAxis=new e(b,a({breaks:m.options.breaks,ordinal:m.options.ordinal},d.xAxis,{id:"navigator-x-axis",yAxis:"navigator-y-axis",isX:!0,type:"datetime",index:g,isInternal:!0,
+offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},b.inverted?{offsets:[k,0,-k,0],width:c}:{offsets:[0,-k,0,k],height:c})),l.yAxis=new e(b,a(d.yAxis,{id:"navigator-y-axis",alignTicks:!1,offset:0,index:h,isInternal:!0,reversed:B(d.yAxis&&d.yAxis.reversed,b.yAxis[0]&&b.yAxis[0].reversed,!1),zoomEnabled:!1},b.inverted?{width:c}:{height:c})),f||d.series.data?l.updateNavigatorSeries(!1):0===b.series.length&&(l.unbindRedraw=u(b,"beforeRedraw",function(){0<
+b.series.length&&!l.series&&(l.setBaseSeries(),l.unbindRedraw())})),l.reversedExtremes=b.inverted&&!l.xAxis.reversed||!b.inverted&&l.xAxis.reversed,l.renderElements(),l.addMouseEvents()):(l.xAxis={chart:b,navigatorAxis:{fake:!0},translate:function(a,c){var d=b.xAxis[0],e=d.getExtremes(),f=d.len-2*k,g=p("min",d.options.min,e.dataMin);d=p("max",d.options.max,e.dataMax)-g;return c?a*d/f+g:f*(a-g)/d},toPixels:function(a){return this.translate(a)},toValue:function(a){return this.translate(a,!0)}},l.xAxis.navigatorAxis.axis=
+l.xAxis,l.xAxis.navigatorAxis.toFixedRange=F.AdditionsClass.prototype.toFixedRange.bind(l.xAxis.navigatorAxis));b.options.scrollbar.enabled&&(b.scrollbar=l.scrollbar=new G(b.renderer,a(b.options.scrollbar,{margin:l.navigatorEnabled?0:10,vertical:b.inverted}),b),u(l.scrollbar,"changed",function(a){var b=l.size,c=b*this.to;b*=this.from;l.hasDragged=l.scrollbar.hasDragged;l.render(0,0,b,c);this.shouldUpdateExtremes(a.DOMType)&&setTimeout(function(){l.onMouseUp(a)})}));l.addBaseSeriesEvents();l.addChartEvents()};
+h.prototype.getUnionExtremes=function(a){var b=this.chart.xAxis[0],c=this.xAxis,d=c.options,e=b.options,f;a&&null===b.dataMin||(f={dataMin:B(d&&d.min,p("min",e.min,b.dataMin,c.dataMin,c.min)),dataMax:B(d&&d.max,p("max",e.max,b.dataMax,c.dataMax,c.max))});return f};h.prototype.setBaseSeries=function(a,b){var c=this.chart,d=this.baseSeries=[];a=a||c.options&&c.options.navigator.baseSeries||(c.series.length?g(c.series,function(a){return!a.options.isInternal}).index:0);(c.series||[]).forEach(function(b,
+c){b.options.isInternal||!b.options.showInNavigator&&(c!==a&&b.options.id!==a||!1===b.options.showInNavigator)||d.push(b)});this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,b)};h.prototype.updateNavigatorSeries=function(b,d){var e=this,f=e.chart,g=e.baseSeries,h,k,l=e.navigatorOptions.series,m,p={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:"navigator-x-axis",yAxis:"navigator-y-axis",showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},
+q=e.series=(e.series||[]).filter(function(a){var b=a.baseSeries;return 0>g.indexOf(b)?(b&&(J(b,"updatedData",e.updatedDataHandler),delete b.navigatorSeries),a.chart&&a.destroy(),!1):!0});g&&g.length&&g.forEach(function(b){var r=b.navigatorSeries,t=n({color:b.color,visible:b.visible},c(l)?A.navigator.series:l);r&&!1===e.navigatorOptions.adaptToUpdatedData||(p.name="Navigator "+g.length,h=b.options||{},m=h.navigatorOptions||{},t.dataLabels=O(t.dataLabels),k=a(h,p,t,m),k.pointRange=B(t.pointRange,m.pointRange,
+A.plotOptions[k.type||"line"].pointRange),t=m.data||t.data,e.hasNavigatorData=e.hasNavigatorData||!!t,k.data=t||h.data&&h.data.slice(0),r&&r.options?r.update(k,d):(b.navigatorSeries=f.initSeries(k),b.navigatorSeries.baseSeries=b,q.push(b.navigatorSeries)))});if(l.data&&(!g||!g.length)||c(l))e.hasNavigatorData=!1,l=O(l),l.forEach(function(b,c){p.name="Navigator "+(q.length+1);k=a(A.navigator.series,{color:f.series[c]&&!f.series[c].options.isInternal&&f.series[c].color||f.options.colors[c]||f.options.colors[0]},
+p,b);k.data=b.data;k.data&&(e.hasNavigatorData=!0,q.push(f.initSeries(k)))});b&&this.addBaseSeriesEvents()};h.prototype.addBaseSeriesEvents=function(){var a=this,b=a.baseSeries||[];b[0]&&b[0].xAxis&&b[0].eventsToUnbind.push(u(b[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes));b.forEach(function(b){b.eventsToUnbind.push(u(b,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)}));b.eventsToUnbind.push(u(b,"hide",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,
+!1)}));!1!==this.navigatorOptions.adaptToUpdatedData&&b.xAxis&&b.eventsToUnbind.push(u(b,"updatedData",this.updatedDataHandler));b.eventsToUnbind.push(u(b,"remove",function(){this.navigatorSeries&&(w(a.series,this.navigatorSeries),k(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)}))},this)};h.prototype.getBaseSeriesMin=function(a){return this.baseSeries.reduce(function(a,b){return Math.min(a,b.xData?b.xData[0]:a)},a)};h.prototype.modifyNavigatorAxisExtremes=
+function(){var a=this.xAxis,b;"undefined"!==typeof a.getExtremes&&(!(b=this.getUnionExtremes(!0))||b.dataMin===a.min&&b.dataMax===a.max||(a.min=b.dataMin,a.max=b.dataMax))};h.prototype.modifyBaseAxisExtremes=function(){var a=this.chart.navigator,b=this.getExtremes(),c=b.dataMin,d=b.dataMax;b=b.max-b.min;var e=a.stickToMin,f=a.stickToMax,g=B(this.options.overscroll,0),h=a.series&&a.series[0],k=!!this.setExtremes;if(!this.eventArgs||"rangeSelectorButton"!==this.eventArgs.trigger){if(e){var l=c;var m=
+l+b}f&&(m=d+g,e||(l=Math.max(c,m-b,a.getBaseSeriesMin(h&&h.xData?h.xData[0]:-Number.MAX_VALUE))));k&&(e||f)&&q(l)&&(this.min=this.userMin=l,this.max=this.userMax=m)}a.stickToMin=a.stickToMax=null};h.prototype.updatedDataHandler=function(){var a=this.chart.navigator,b=this.navigatorSeries,c=a.getBaseSeriesMin(this.xData[0]);a.stickToMax=a.reversedExtremes?0===Math.round(a.zoomedMin):Math.round(a.zoomedMax)>=Math.round(a.size);a.stickToMin=q(this.xAxis.min)&&this.xAxis.min<=c&&(!this.chart.fixedRange||
+!a.stickToMax);b&&!a.hasNavigatorData&&(b.options.pointStart=this.xData[0],b.setData(this.options.data,!1,null,!1))};h.prototype.addChartEvents=function(){this.eventsToUnbind||(this.eventsToUnbind=[]);this.eventsToUnbind.push(u(this.chart,"redraw",function(){var a=this.navigator,b=a&&(a.baseSeries&&a.baseSeries[0]&&a.baseSeries[0].xAxis||this.xAxis[0]);b&&a.render(b.min,b.max)}),u(this.chart,"getMargins",function(){var a=this.navigator,b=a.opposite?"plotTop":"marginBottom";this.inverted&&(b=a.opposite?
+"marginRight":"plotLeft");this[b]=(this[b]||0)+(a.navigatorEnabled||!this.inverted?a.outlineHeight:0)+a.navigatorOptions.margin}))};h.prototype.destroy=function(){this.removeEvents();this.xAxis&&(w(this.chart.xAxis,this.xAxis),w(this.chart.axes,this.xAxis));this.yAxis&&(w(this.chart.yAxis,this.yAxis),w(this.chart.axes,this.yAxis));(this.series||[]).forEach(function(a){a.destroy&&a.destroy()});"series xAxis yAxis shades outline scrollbarTrack scrollbarRifles scrollbarGroup scrollbar navigatorGroup rendered".split(" ").forEach(function(a){this[a]&&
+this[a].destroy&&this[a].destroy();this[a]=null},this);[this.handles].forEach(function(a){d(a)},this)};return h}();y.Navigator||(y.Navigator=r,F.compose(e),u(h,"beforeShowResetZoom",function(){var a=this.options,c=a.navigator,d=a.rangeSelector;if((c&&c.enabled||d&&d.enabled)&&(!b&&"x"===a.chart.zoomType||b&&"x"===a.chart.pinchType))return!1}),u(h,"beforeRender",function(){var a=this.options;if(a.navigator.enabled||a.scrollbar.enabled)this.scroller=this.navigator=new r(this)}),u(h,"afterSetChartSize",
+function(){var a=this.legend,b=this.navigator;if(b){var c=a&&a.options;var d=b.xAxis;var e=b.yAxis;var f=b.scrollbarHeight;this.inverted?(b.left=b.opposite?this.chartWidth-f-b.height:this.spacing[3]+f,b.top=this.plotTop+f):(b.left=this.plotLeft+f,b.top=b.navigatorOptions.top||this.chartHeight-b.height-f-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(c&&"bottom"===c.verticalAlign&&"proximate"!==c.layout&&c.enabled&&!c.floating?a.legendHeight+B(c.margin,
+10):0)-(this.titleOffset?this.titleOffset[2]:0));d&&e&&(this.inverted?d.options.left=e.options.left=b.left:d.options.top=e.options.top=b.top,d.setAxisSize(),e.setAxisSize())}}),u(h,"update",function(b){var c=b.options.navigator||{},d=b.options.scrollbar||{};this.navigator||this.scroller||!c.enabled&&!d.enabled||(a(!0,this.options.navigator,c),a(!0,this.options.scrollbar,d),delete b.options.navigator,delete b.options.scrollbar)}),u(h,"afterUpdate",function(a){this.navigator||this.scroller||!this.options.navigator.enabled&&
+!this.options.scrollbar.enabled||(this.scroller=this.navigator=new r(this),B(a.redraw,!0)&&this.redraw(a.animation))}),u(h,"afterAddSeries",function(){this.navigator&&this.navigator.setBaseSeries(null,!1)}),u(t,"afterUpdate",function(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}),h.prototype.callbacks.push(function(a){var b=a.navigator;b&&a.xAxis[0]&&(a=a.xAxis[0].getExtremes(),b.render(a.min,a.max))}));y.Navigator=r;return y.Navigator});P(e,"masters/modules/gantt.src.js",
+[e["Core/Globals.js"],e["Core/Chart/GanttChart.js"]],function(e,h){e.GanttChart=h;e.ganttChart=h.ganttChart});P(e,"masters/highcharts-gantt.src.js",[e["masters/highcharts.src.js"]],function(e){e.product="Highcharts Gantt";return e});e["masters/highcharts-gantt.src.js"]._modules=e;return e["masters/highcharts-gantt.src.js"]});
 //# sourceMappingURL=highcharts-gantt.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/highcharts-gantt.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 328 - 955
node_modules/highcharts/highcharts-gantt.src.js


+ 191 - 190
node_modules/highcharts/highcharts-more.js

@@ -1,197 +1,198 @@
 /*
- Highcharts JS v9.0.1 (2021-02-15)
+ Highcharts JS v9.1.0 (2021-05-03)
 
  (c) 2009-2021 Torstein Honsi
 
  License: www.highcharts.com/license
 */
-(function(e){"object"===typeof module&&module.exports?(e["default"]=e,module.exports=e):"function"===typeof define&&define.amd?define("highcharts/highcharts-more",["highcharts"],function(z){e(z);e.Highcharts=z;return e}):e("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(e){function z(e,c,h,g){e.hasOwnProperty(c)||(e[c]=g.apply(null,h))}e=e?e._modules:{};z(e,"Extensions/Pane.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Pointer.js"],e["Core/Utilities.js"],
-e["Mixins/CenteredSeries.js"]],function(e,c,h,g,a,u){function d(b,a,k){return Math.sqrt(Math.pow(b-k[0],2)+Math.pow(a-k[1],2))<=k[2]/2}var r=a.addEvent,n=a.extend,x=a.merge,b=a.pick,k=a.splat;e.prototype.collectionsWithUpdate.push("pane");a=function(){function b(b,a){this.options=this.chart=this.center=this.background=void 0;this.coll="pane";this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0};this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:h.neutralColor20,
-backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,h.backgroundColor],[1,h.neutralColor10]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"};this.init(b,a)}b.prototype.init=function(b,a){this.chart=a;this.background=[];a.pane.push(this);this.setOptions(b)};b.prototype.setOptions=function(b){this.options=x(this.defaultOptions,this.chart.angular?{background:{}}:void 0,b)};b.prototype.render=function(){var b=this.options,a=this.options.background,l=this.chart.renderer;
-this.group||(this.group=l.g("pane-group").attr({zIndex:b.zIndex||0}).add());this.updateCenter();if(a)for(a=k(a),b=Math.max(a.length,this.background.length||0),l=0;l<b;l++)a[l]&&this.axis?this.renderBackground(x(this.defaultBackgroundOptions,a[l]),l):this.background[l]&&(this.background[l]=this.background[l].destroy(),this.background.splice(l,1))};b.prototype.renderBackground=function(b,a){var k="animate",l={"class":"highcharts-pane "+(b.className||"")};this.chart.styledMode||n(l,{fill:b.backgroundColor,
-stroke:b.borderColor,"stroke-width":b.borderWidth});this.background[a]||(this.background[a]=this.chart.renderer.path().add(this.group),k="attr");this.background[a][k]({d:this.axis.getPlotBandPath(b.from,b.to,b)}).attr(l)};b.prototype.updateCenter=function(b){this.center=(b||this.axis||{}).center=u.getCenter.call(this)};b.prototype.update=function(b,a){x(!0,this.options,b);x(!0,this.chart.options.pane,b);this.setOptions(this.options);this.render();this.chart.axes.forEach(function(b){b.pane===this&&
-(b.pane=null,b.update({},a))},this)};return b}();e.prototype.getHoverPane=function(b){var a=this,k;b&&a.pane.forEach(function(l){var c=b.chartX-a.plotLeft,h=b.chartY-a.plotTop;d(a.inverted?h:c,a.inverted?c:h,l.center)&&(k=l)});return k};r(e,"afterIsInsidePlot",function(b){this.polar&&(b.isInsidePlot=this.pane.some(function(a){return d(b.x,b.y,a.center)}))});r(g,"beforeGetHoverData",function(a){var k=this.chart;k.polar?(k.hoverPane=k.getHoverPane(a),a.filter=function(l){return l.visible&&!(!a.shared&&
-l.directTouch)&&b(l.options.enableMouseTracking,!0)&&(!k.hoverPane||l.xAxis.pane===k.hoverPane)}):k.hoverPane=void 0});r(g,"afterGetHoverData",function(b){var a=this.chart;b.hoverPoint&&b.hoverPoint.plotX&&b.hoverPoint.plotY&&a.hoverPane&&!d(b.hoverPoint.plotX,b.hoverPoint.plotY,a.hoverPane.center)&&(b.hoverPoint=void 0)});c.Pane=a;return c.Pane});z(e,"Core/Axis/HiddenAxis.js",[],function(){return function(){function e(){}e.init=function(c){c.getOffset=function(){};c.redraw=function(){this.isDirty=
-!1};c.render=function(){this.isDirty=!1};c.createLabelCollector=function(){return function(){}};c.setScale=function(){};c.setCategories=function(){};c.setTitle=function(){};c.isHidden=!0};return e}()});z(e,"Core/Axis/RadialAxis.js",[e["Core/Axis/Axis.js"],e["Core/Axis/Tick.js"],e["Core/Axis/HiddenAxis.js"],e["Core/Utilities.js"]],function(e,c,h,g){var a=g.addEvent,u=g.correctFloat,d=g.defined,r=g.extend,n=g.fireEvent,x=g.merge,b=g.pick,k=g.relativeLength,l=g.wrap;g=function(){function c(){}c.init=
-function(a){var l=e.prototype;a.setOptions=function(b){b=this.options=x(a.constructor.defaultOptions,this.defaultPolarOptions,b);b.plotBands||(b.plotBands=[]);n(this,"afterSetOptions")};a.getOffset=function(){l.getOffset.call(this);this.chart.axisOffset[this.side]=0};a.getLinePath=function(a,k,l){a=this.pane.center;var q=this.chart,p=b(k,a[2]/2-this.offset),f=this.left||0,A=this.top||0;"undefined"===typeof l&&(l=this.horiz?0:this.center&&-this.center[3]/2);l&&(p+=l);this.isCircular||"undefined"!==
-typeof k?(k=this.chart.renderer.symbols.arc(f+a[0],A+a[1],p,p,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0}),k.xBounds=[f+a[0]],k.yBounds=[A+a[1]-p]):(k=this.postTranslate(this.angleRad,p),k=[["M",this.center[0]+q.plotLeft,this.center[1]+q.plotTop],["L",k.x,k.y]]);return k};a.setAxisTranslation=function(){l.setAxisTranslation.call(this);this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-
-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)};a.beforeSetTickPositions=function(){this.autoConnect=this.isCircular&&"undefined"===typeof b(this.userMax,this.options.max)&&u(this.endAngleRad-this.startAngleRad)===u(2*Math.PI);!this.isCircular&&this.chart.inverted&&this.max++;this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)};a.setAxisSize=function(){l.setAxisSize.call(this);if(this.isRadial){this.pane.updateCenter(this);
-var a=this.center=r([],this.pane.center);if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var k=this.postTranslate(this.angleRad,a[3]/2);a[0]=k.x-this.chart.plotLeft;a[1]=k.y-this.chart.plotTop}this.len=this.width=this.height=(a[2]-a[3])*b(this.sector,1)/2}};a.getPosition=function(a,k){a=this.translate(a);return this.postTranslate(this.isCircular?a:this.angleRad,b(this.isCircular?k:0>a?0:a,this.center[2]/2)-this.offset)};a.postTranslate=function(b,a){var k=this.chart,q=this.center;
-b=this.startAngleRad+b;return{x:k.plotLeft+q[0]+Math.cos(b)*a,y:k.plotTop+q[1]+Math.sin(b)*a}};a.getPlotBandPath=function(a,k,l){var q=function(f){if("string"===typeof f){var p=parseInt(f,10);c.test(f)&&(p=p*A/100);return p}return f},p=this.center,f=this.startAngleRad,A=p[2]/2,v=Math.min(this.offset,0),m=this.left||0,D=this.top||0,c=/%$/;var C=this.isCircular;var d=b(q(l.outerRadius),A),y=q(l.innerRadius);q=b(q(l.thickness),10);if("polygon"===this.options.gridLineInterpolation)v=this.getPlotLinePath({value:a}).concat(this.getPlotLinePath({value:k,
-reverse:!0}));else{a=Math.max(a,this.min);k=Math.min(k,this.max);a=this.translate(a);k=this.translate(k);C||(d=a||0,y=k||0);if("circle"!==l.shape&&C)l=f+(a||0),f+=k||0;else{l=-Math.PI/2;f=1.5*Math.PI;var h=!0}d-=v;v=this.chart.renderer.symbols.arc(m+p[0],D+p[1],d,d,{start:Math.min(l,f),end:Math.max(l,f),innerR:b(y,d-(q-v)),open:h});C&&(C=(f+l)/2,m=m+p[0]+p[2]/2*Math.cos(C),v.xBounds=C>-Math.PI/2&&C<Math.PI/2?[m,this.chart.plotWidth]:[0,m],v.yBounds=[D+p[1]+p[2]/2*Math.sin(C)],v.yBounds[0]+=C>-Math.PI&&
-0>C||C>Math.PI?-10:10)}return v};a.getCrosshairPosition=function(b,a,k){var q=b.value,p=this.pane.center;if(this.isCircular){if(d(q))b.point&&(f=b.point.shapeArgs||{},f.start&&(q=this.chart.inverted?this.translate(b.point.rectPlotY,!0):b.point.x));else{var f=b.chartX||0;var A=b.chartY||0;q=this.translate(Math.atan2(A-k,f-a)-this.startAngleRad,!0)}b=this.getPosition(q);f=b.x;A=b.y}else d(q)||(f=b.chartX,A=b.chartY),d(f)&&d(A)&&(k=p[1]+this.chart.plotTop,q=this.translate(Math.min(Math.sqrt(Math.pow(f-
-a,2)+Math.pow(A-k,2)),p[2]/2)-p[3]/2,!0));return[q,f||0,A||0]};a.getPlotLinePath=function(b){var a=this,l=a.pane.center,q=a.chart,p=q.inverted,f=b.value,A=b.reverse,v=a.getPosition(f),m=a.pane.options.background?a.pane.options.background[0]||a.pane.options.background:{},D=m.innerRadius||"0%",c=m.outerRadius||"100%";m=l[0]+q.plotLeft;var C=l[1]+q.plotTop,d=v.x,E=v.y,h=a.height;v=l[3]/2;var g;b.isCrosshair&&(E=this.getCrosshairPosition(b,m,C),f=E[0],d=E[1],E=E[2]);if(a.isCircular)f=Math.sqrt(Math.pow(d-
-m,2)+Math.pow(E-C,2)),A="string"===typeof D?k(D,1):D/f,q="string"===typeof c?k(c,1):c/f,l&&v&&(f=v/f,A<f&&(A=f),q<f&&(q=f)),l=[["M",m+A*(d-m),C-A*(C-E)],["L",d-(1-q)*(d-m),E+(1-q)*(C-E)]];else if((f=a.translate(f))&&(0>f||f>h)&&(f=0),"circle"===a.options.gridLineInterpolation)l=a.getLinePath(0,f,v);else if(l=[],q[p?"yAxis":"xAxis"].forEach(function(f){f.pane===a.pane&&(g=f)}),g)for(m=g.tickPositions,g.autoConnect&&(m=m.concat([m[0]])),A&&(m=m.slice().reverse()),f&&(f+=v),d=0;d<m.length;d++)C=g.getPosition(m[d],
-f),l.push(d?["L",C.x,C.y]:["M",C.x,C.y]);return l};a.getTitlePosition=function(){var b=this.center,a=this.chart,k=this.options.title;return{x:a.plotLeft+b[0]+(k.x||0),y:a.plotTop+b[1]-{high:.5,middle:.25,low:0}[k.align]*b[2]+(k.y||0)}};a.createLabelCollector=function(){var b=this;return function(){if(b.isRadial&&b.tickPositions&&!0!==b.options.labels.allowOverlap)return b.tickPositions.map(function(a){return b.ticks[a]&&b.ticks[a].label}).filter(function(b){return!!b})}}};c.compose=function(d,g){a(d,
-"init",function(b){var a=this.chart,k=a.inverted,q=a.angular,p=a.polar,f=this.isXAxis,A=this.coll,v=q&&f,m,D=a.options;b=b.userOptions.pane||0;b=this.pane=a.pane&&a.pane[b];if("colorAxis"===A)this.isRadial=!1;else{if(q){if(v?h.init(this):c.init(this),m=!f)this.defaultPolarOptions=c.defaultRadialGaugeOptions}else p&&(c.init(this),this.defaultPolarOptions=(m=this.horiz)?c.defaultCircularOptions:x("xAxis"===A?d.defaultOptions:d.defaultYAxisOptions,c.defaultRadialOptions),k&&"yAxis"===A&&(this.defaultPolarOptions.stackLabels=
-d.defaultYAxisOptions.stackLabels));q||p?(this.isRadial=!0,D.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&a.labelCollectors.push(this.labelCollector)):this.isRadial=!1;b&&m&&(b.axis=this);this.isCircular=m}});a(d,"afterInit",function(){var a=this.chart,k=this.options,l=this.pane,q=l&&l.options;a.angular&&this.isXAxis||!l||!a.angular&&!a.polar||(this.angleRad=(k.angle||0)*Math.PI/180,this.startAngleRad=(q.startAngle-90)*Math.PI/180,
-this.endAngleRad=(b(q.endAngle,q.startAngle+360)-90)*Math.PI/180,this.offset=k.offset||0)});a(d,"autoLabelAlign",function(b){this.isRadial&&(b.align=void 0,b.preventDefault())});a(d,"destroy",function(){if(this.chart&&this.chart.labelCollectors){var b=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=b&&this.chart.labelCollectors.splice(b,1)}});a(d,"initialAxisTranslation",function(){this.isRadial&&this.beforeSetTickPositions()});a(g,"afterGetPosition",function(b){this.axis.getPosition&&
-r(b.pos,this.axis.getPosition(this.pos))});a(g,"afterGetLabelPosition",function(a){var l=this.axis,d=this.label;if(d){var q=d.getBBox(),p=l.options.labels,f=p.y,A=20,v=p.align,m=(l.translate(this.pos)+l.startAngleRad+Math.PI/2)/Math.PI*180%360,D=Math.round(m),c="end",C=0>D?D+360:D,g=C,E=0,h=0,r=null===p.y?.3*-q.height:0;if(l.isRadial){var x=l.getPosition(this.pos,l.center[2]/2+k(b(p.distance,-25),l.center[2]/2,-l.center[2]/2));"auto"===p.rotation?d.attr({rotation:m}):null===f&&(f=l.chart.renderer.fontMetrics(d.styles&&
-d.styles.fontSize).b-q.height/2);null===v&&(l.isCircular?(q.width>l.len*l.tickInterval/(l.max-l.min)&&(A=0),v=m>A&&m<180-A?"left":m>180+A&&m<360-A?"right":"center"):v="center",d.attr({align:v}));if("auto"===v&&2===l.tickPositions.length&&l.isCircular){90<C&&180>C?C=180-C:270<C&&360>=C&&(C=540-C);180<g&&360>=g&&(g=360-g);if(l.pane.options.startAngle===D||l.pane.options.startAngle===D+360||l.pane.options.startAngle===D-360)c="start";v=-90<=D&&90>=D||-360<=D&&-270>=D||270<=D&&360>=D?"start"===c?"right":
-"left":"start"===c?"left":"right";70<g&&110>g&&(v="center");15>C||180<=C&&195>C?E=.3*q.height:15<=C&&35>=C?E="start"===c?0:.75*q.height:195<=C&&215>=C?E="start"===c?.75*q.height:0:35<C&&90>=C?E="start"===c?.25*-q.height:q.height:215<C&&270>=C&&(E="start"===c?q.height:.25*-q.height);15>g?h="start"===c?.15*-q.height:.15*q.height:165<g&&180>=g&&(h="start"===c?.15*q.height:.15*-q.height);d.attr({align:v});d.translate(h,E+r)}a.pos.x=x.x+p.x;a.pos.y=x.y+f}}});l(g.prototype,"getMarkPath",function(b,a,k,
-q,p,f,A){var v=this.axis;v.isRadial?(b=v.getPosition(this.pos,v.center[2]/2+q),a=["M",a,k,"L",b.x,b.y]):a=b.call(this,a,k,q,p,f,A);return a})};c.defaultCircularOptions={gridLineWidth:1,labels:{align:null,distance:15,x:0,y:null,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0};c.defaultRadialGaugeOptions={labels:{align:"center",x:0,y:null},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",
-tickWidth:2,title:{rotation:0},zIndex:2};c.defaultRadialOptions={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};return c}();g.compose(e,c);return g});z(e,"Series/AreaRange/AreaRangePoint.js",[e["Series/Area/AreaSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,c,h){var g=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,
-a){b.__proto__=a}||function(b,a){for(var k in a)a.hasOwnProperty(k)&&(b[k]=a[k])};return a(d,c)};return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),a=c.prototype,u=h.defined,d=h.isNumber;return function(c){function h(){var a=null!==c&&c.apply(this,arguments)||this;a.high=void 0;a.low=void 0;a.options=void 0;a.plotHigh=void 0;a.plotLow=void 0;a.plotHighX=void 0;a.plotLowX=void 0;a.plotX=void 0;a.series=void 0;return a}
-g(h,c);h.prototype.setState=function(){var d=this.state,b=this.series,k=b.chart.polar;u(this.plotHigh)||(this.plotHigh=b.yAxis.toPixels(this.high,!0));u(this.plotLow)||(this.plotLow=this.plotY=b.yAxis.toPixels(this.low,!0));b.stateMarkerGraphic&&(b.lowerStateMarkerGraphic=b.stateMarkerGraphic,b.stateMarkerGraphic=b.upperStateMarkerGraphic);this.graphic=this.upperGraphic;this.plotY=this.plotHigh;k&&(this.plotX=this.plotHighX);a.setState.apply(this,arguments);this.state=d;this.plotY=this.plotLow;this.graphic=
-this.lowerGraphic;k&&(this.plotX=this.plotLowX);b.stateMarkerGraphic&&(b.upperStateMarkerGraphic=b.stateMarkerGraphic,b.stateMarkerGraphic=b.lowerStateMarkerGraphic,b.lowerStateMarkerGraphic=void 0);a.setState.apply(this,arguments)};h.prototype.haloPath=function(){var d=this.series.chart.polar,b=[];this.plotY=this.plotLow;d&&(this.plotX=this.plotLowX);this.isInside&&(b=a.haloPath.apply(this,arguments));this.plotY=this.plotHigh;d&&(this.plotX=this.plotHighX);this.isTopInside&&(b=b.concat(a.haloPath.apply(this,
-arguments)));return b};h.prototype.isValid=function(){return d(this.low)&&d(this.high)};return h}(e.prototype.pointClass)});z(e,"Series/AreaRange/AreaRangeSeries.js",[e["Series/AreaRange/AreaRangePoint.js"],e["Series/Area/AreaSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,c,h,g,a,u,d){var r=this&&this.__extends||function(){var b=function(a,q){b=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(b,f){b.__proto__=f}||function(b,f){for(var p in f)f.hasOwnProperty(p)&&(b[p]=f[p])};return b(a,q)};return function(a,q){function p(){this.constructor=a}b(a,q);a.prototype=null===q?Object.create(q):(p.prototype=q.prototype,new p)}}(),n=c.prototype,x=h.prototype,b=g.noop,k=a.prototype,l=d.defined,t=d.extend,w=d.isArray,K=d.pick,L=d.merge;h=function(a){function d(){var q=null!==a&&a.apply(this,arguments)||this;q.data=void 0;q.options=void 0;q.points=void 0;q.lowerStateMarkerGraphic=void 0;
-q.xAxis=void 0;q.setStackedPoints=b;return q}r(d,a);d.prototype.toYData=function(b){return[b.low,b.high]};d.prototype.highToXY=function(b){var p=this.chart,f=this.xAxis.postTranslate(b.rectPlotX,this.yAxis.len-b.plotHigh);b.plotHighX=f.x-p.plotLeft;b.plotHigh=f.y-p.plotTop;b.plotLowX=b.plotX};d.prototype.translate=function(){var b=this,p=b.yAxis,f=!!b.modifyValue;n.translate.apply(b);b.points.forEach(function(a){var v=a.high,m=a.plotY;a.isNull?a.plotY=null:(a.plotLow=m,a.plotHigh=p.translate(f?b.modifyValue(v,
-a):v,0,1,0,1),f&&(a.yBottom=a.plotHigh))});this.chart.polar&&this.points.forEach(function(f){b.highToXY(f);f.tooltipPos=[(f.plotHighX+f.plotLowX)/2,(f.plotHigh+f.plotLow)/2]})};d.prototype.getGraphPath=function(b){var p=[],f=[],a,v=n.getGraphPath;var m=this.options;var q=this.chart.polar,k=q&&!1!==m.connectEnds,l=m.connectNulls,d=m.step;b=b||this.points;for(a=b.length;a--;){var c=b[a];var g=q?{plotX:c.rectPlotX,plotY:c.yBottom,doCurve:!1}:{plotX:c.plotX,plotY:c.plotY,doCurve:!1};c.isNull||k||l||b[a+
-1]&&!b[a+1].isNull||f.push(g);var h={polarPlotY:c.polarPlotY,rectPlotX:c.rectPlotX,yBottom:c.yBottom,plotX:K(c.plotHighX,c.plotX),plotY:c.plotHigh,isNull:c.isNull};f.push(h);p.push(h);c.isNull||k||l||b[a-1]&&!b[a-1].isNull||f.push(g)}b=v.call(this,b);d&&(!0===d&&(d="left"),m.step={left:"right",center:"center",right:"left"}[d]);p=v.call(this,p);f=v.call(this,f);m.step=d;m=[].concat(b,p);!this.chart.polar&&f[0]&&"M"===f[0][0]&&(f[0]=["L",f[0][1],f[0][2]]);this.graphPath=m;this.areaPath=b.concat(f);
-m.isArea=!0;m.xMap=b.xMap;this.areaPath.xMap=b.xMap;return m};d.prototype.drawDataLabels=function(){var b=this.points,a=b.length,f,A=[],v=this.options.dataLabels,m,D=this.chart.inverted;if(w(v)){var l=v[0]||{enabled:!1};var d=v[1]||{enabled:!1}}else l=t({},v),l.x=v.xHigh,l.y=v.yHigh,d=t({},v),d.x=v.xLow,d.y=v.yLow;if(l.enabled||this._hasPointLabels){for(f=a;f--;)if(m=b[f]){var c=l.inside?m.plotHigh<m.plotLow:m.plotHigh>m.plotLow;m.y=m.high;m._plotY=m.plotY;m.plotY=m.plotHigh;A[f]=m.dataLabel;m.dataLabel=
-m.dataLabelUpper;m.below=c;D?l.align||(l.align=c?"right":"left"):l.verticalAlign||(l.verticalAlign=c?"top":"bottom")}this.options.dataLabels=l;k.drawDataLabels&&k.drawDataLabels.apply(this,arguments);for(f=a;f--;)if(m=b[f])m.dataLabelUpper=m.dataLabel,m.dataLabel=A[f],delete m.dataLabels,m.y=m.low,m.plotY=m._plotY}if(d.enabled||this._hasPointLabels){for(f=a;f--;)if(m=b[f])c=d.inside?m.plotHigh<m.plotLow:m.plotHigh>m.plotLow,m.below=!c,D?d.align||(d.align=c?"left":"right"):d.verticalAlign||(d.verticalAlign=
-c?"bottom":"top");this.options.dataLabels=d;k.drawDataLabels&&k.drawDataLabels.apply(this,arguments)}if(l.enabled)for(f=a;f--;)if(m=b[f])m.dataLabels=[m.dataLabelUpper,m.dataLabel].filter(function(f){return!!f});this.options.dataLabels=v};d.prototype.alignDataLabel=function(){x.alignDataLabel.apply(this,arguments)};d.prototype.drawPoints=function(){var b=this.points.length,a;k.drawPoints.apply(this,arguments);for(a=0;a<b;){var f=this.points[a];f.origProps={plotY:f.plotY,plotX:f.plotX,isInside:f.isInside,
-negative:f.negative,zone:f.zone,y:f.y};f.lowerGraphic=f.graphic;f.graphic=f.upperGraphic;f.plotY=f.plotHigh;l(f.plotHighX)&&(f.plotX=f.plotHighX);f.y=f.high;f.negative=f.high<(this.options.threshold||0);f.zone=this.zones.length&&f.getZone();this.chart.polar||(f.isInside=f.isTopInside="undefined"!==typeof f.plotY&&0<=f.plotY&&f.plotY<=this.yAxis.len&&0<=f.plotX&&f.plotX<=this.xAxis.len);a++}k.drawPoints.apply(this,arguments);for(a=0;a<b;)f=this.points[a],f.upperGraphic=f.graphic,f.graphic=f.lowerGraphic,
-t(f,f.origProps),delete f.origProps,a++};d.defaultOptions=L(c.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}});return d}(c);t(h.prototype,{pointArrayMap:["low","high"],pointValKey:"low",deferTranslatePolar:!0,pointClass:e});u.registerSeriesType("arearange",h);"";return h});z(e,"Series/AreaSplineRange/AreaSplineRangeSeries.js",
-[e["Series/AreaRange/AreaRangeSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,c,h){var g=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var k in a)a.hasOwnProperty(k)&&(b[k]=a[k])};return a(d,c)};return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),a=c.seriesTypes.spline,u=h.merge;
-h=h.extend;var d=function(a){function d(){var d=null!==a&&a.apply(this,arguments)||this;d.options=void 0;d.data=void 0;d.points=void 0;return d}g(d,a);d.defaultOptions=u(e.defaultOptions);return d}(e);h(d.prototype,{getPointSpline:a.prototype.getPointSpline});c.registerSeriesType("areasplinerange",d);"";return d});z(e,"Series/ColumnRange/ColumnRangePoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,c){var h=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var k in b)b.hasOwnProperty(k)&&(a[k]=b[k])};return a(d,c)};return function(d,c){function g(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}(),g=e.seriesTypes;e=g.column.prototype.pointClass;var a=c.extend,u=c.isNumber;c=function(a){function d(){var d=null!==a&&a.apply(this,arguments)||this;d.series=void 0;d.options=void 0;d.barX=void 0;d.pointWidth=void 0;d.shapeArgs=
-void 0;d.shapeType=void 0;return d}h(d,a);d.prototype.isValid=function(){return u(this.low)};return d}(g.arearange.prototype.pointClass);a(c.prototype,{setState:e.prototype.setState});return c});z(e,"Series/ColumnRange/ColumnRangeSeries.js",[e["Series/ColumnRange/ColumnRangePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,c,h,g){var a=this&&this.__extends||function(){var b=function(a,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,
-a){b.__proto__=a}||function(b,a){for(var q in a)a.hasOwnProperty(q)&&(b[q]=a[q])};return b(a,d)};return function(a,d){function k(){this.constructor=a}b(a,d);a.prototype=null===d?Object.create(d):(k.prototype=d.prototype,new k)}}();c=c.noop;var u=h.seriesTypes,d=u.arearange,r=u.column,n=r.prototype,x=d.prototype,b=g.clamp,k=g.merge,l=g.pick;g=g.extend;var t={pointRange:null,marker:null,states:{hover:{halo:!1}}};u=function(c){function g(){var b=null!==c&&c.apply(this,arguments)||this;b.data=void 0;
-b.points=void 0;b.options=void 0;return b}a(g,c);g.prototype.setOptions=function(){k(!0,arguments[0],{stacking:void 0});return x.setOptions.apply(this,arguments)};g.prototype.translate=function(){var a=this,d=a.yAxis,k=a.xAxis,q=k.startAngleRad,p,f=a.chart,A=a.xAxis.isRadial,v=Math.max(f.chartWidth,f.chartHeight)+999,m;n.translate.apply(a);a.points.forEach(function(c){var D=c.shapeArgs,g=a.options.minPointLength;c.plotHigh=m=b(d.translate(c.high,0,1,0,1),-v,v);c.plotLow=b(c.plotY,-v,v);var h=m;var e=
-l(c.rectPlotY,c.plotY)-m;Math.abs(e)<g?(g-=e,e+=g,h-=g/2):0>e&&(e*=-1,h-=e);A?(p=c.barX+q,c.shapeType="arc",c.shapeArgs=a.polarArc(h+e,h,p,p+c.pointWidth)):(D.height=e,D.y=h,c.tooltipPos=f.inverted?[d.len+d.pos-f.plotLeft-h-e/2,k.len+k.pos-f.plotTop-D.x-D.width/2,e]:[k.left-f.plotLeft+D.x+D.width/2,d.pos-f.plotTop+h+e/2,e])})};g.prototype.crispCol=function(){return n.crispCol.apply(this,arguments)};g.prototype.drawPoints=function(){return n.drawPoints.apply(this,arguments)};g.prototype.drawTracker=
-function(){return n.drawTracker.apply(this,arguments)};g.prototype.getColumnMetrics=function(){return n.getColumnMetrics.apply(this,arguments)};g.prototype.pointAttribs=function(){return n.pointAttribs.apply(this,arguments)};g.prototype.adjustForMissingColumns=function(){return n.adjustForMissingColumns.apply(this,arguments)};g.prototype.animate=function(){return n.animate.apply(this,arguments)};g.prototype.translate3dPoints=function(){return n.translate3dPoints.apply(this,arguments)};g.prototype.translate3dShapes=
-function(){return n.translate3dShapes.apply(this,arguments)};g.defaultOptions=k(r.defaultOptions,d.defaultOptions,t);return g}(d);g(u.prototype,{directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:c,getSymbol:c,polarArc:function(){return n.polarArc.apply(this,arguments)},pointClass:e});h.registerSeriesType("columnrange",u);"";return u});z(e,"Series/ColumnPyramid/ColumnPyramidSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,
-c,h){var g=this&&this.__extends||function(){var a=function(d,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var d in a)a.hasOwnProperty(d)&&(b[d]=a[d])};return a(d,b)};return function(d,b){function k(){this.constructor=d}a(d,b);d.prototype=null===b?Object.create(b):(k.prototype=b.prototype,new k)}}(),a=e.prototype,u=h.clamp,d=h.merge,r=h.pick;h=function(c){function h(){var b=null!==c&&c.apply(this,arguments)||this;b.data=void 0;b.options=
-void 0;b.points=void 0;return b}g(h,c);h.prototype.translate=function(){var b=this,d=b.chart,c=b.options,g=b.dense=2>b.closestPointRange*b.xAxis.transA;g=b.borderWidth=r(c.borderWidth,g?0:1);var h=b.yAxis,e=c.threshold,x=b.translatedThreshold=h.getThreshold(e),n=r(c.minPointLength,5),y=b.getColumnMetrics(),q=y.width,p=b.barW=Math.max(q,1+2*g),f=b.pointXOffset=y.offset;d.inverted&&(x-=.5);c.pointPadding&&(p=Math.ceil(p));a.translate.apply(b);b.points.forEach(function(a){var v=r(a.yBottom,x),m=999+
-Math.abs(v),k=u(a.plotY,-m,h.len+m);m=a.plotX+f;var A=p/2,l=Math.min(k,v);v=Math.max(k,v)-l;var g;a.barX=m;a.pointWidth=q;a.tooltipPos=d.inverted?[h.len+h.pos-d.plotLeft-k,b.xAxis.len-m-A,v]:[m+A,k+h.pos-d.plotTop,v];k=e+(a.total||a.y);"percent"===c.stacking&&(k=e+(0>a.y)?-100:100);k=h.toPixels(k,!0);var E=(g=d.plotHeight-k-(d.plotHeight-x))?A*(l-k)/g:0;var t=g?A*(l+v-k)/g:0;g=m-E+A;E=m+E+A;var y=m+t+A;t=m-t+A;var w=l-n;var H=l+v;0>a.y&&(w=l,H=l+v+n);d.inverted&&(y=d.plotWidth-l,g=k-(d.plotWidth-
-x),E=A*(k-y)/g,t=A*(k-(y-v))/g,g=m+A+E,E=g-2*E,y=m-t+A,t=m+t+A,w=l,H=l+v-n,0>a.y&&(H=l+v+n));a.shapeType="path";a.shapeArgs={x:g,y:w,width:E-g,height:v,d:[["M",g,w],["L",E,w],["L",y,H],["L",t,H],["Z"]]}})};h.defaultOptions=d(e.defaultOptions,{});return h}(e);c.registerSeriesType("columnpyramid",h);"";return h});z(e,"Series/Gauge/GaugePoint.js",[e["Core/Series/SeriesRegistry.js"]],function(e){var c=this&&this.__extends||function(){var c=function(g,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(a,d){a.__proto__=d}||function(a,d){for(var c in d)d.hasOwnProperty(c)&&(a[c]=d[c])};return c(g,a)};return function(g,a){function h(){this.constructor=g}c(g,a);g.prototype=null===a?Object.create(a):(h.prototype=a.prototype,new h)}}();return function(h){function g(){var a=null!==h&&h.apply(this,arguments)||this;a.options=void 0;a.series=void 0;a.shapeArgs=void 0;return a}c(g,h);g.prototype.setState=function(a){this.state=a};return g}(e.series.prototype.pointClass)});z(e,"Series/Gauge/GaugeSeries.js",
-[e["Series/Gauge/GaugePoint.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,c,h,g,a){var u=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return a(b,d)};return function(b,d){function c(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(c.prototype=d.prototype,
-new c)}}();c=c.noop;var d=g.series,r=g.seriesTypes.column,n=a.clamp,x=a.isNumber,b=a.extend,k=a.merge,l=a.pick,t=a.pInt;a=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.points=void 0;b.options=void 0;b.yAxis=void 0;return b}u(b,a);b.prototype.translate=function(){var b=this.yAxis,a=this.options,d=b.center;this.generatePoints();this.points.forEach(function(c){var p=k(a.dial,c.dial),f=t(l(p.radius,"80%"))*d[2]/200,A=t(l(p.baseLength,"70%"))*f/100,v=t(l(p.rearLength,
-"10%"))*f/100,m=p.baseWidth||3,q=p.topWidth||1,g=a.overshoot,h=b.startAngleRad+b.translate(c.y,null,null,null,!0);if(x(g)||!1===a.wrap)g=x(g)?g/180*Math.PI:0,h=n(h,b.startAngleRad-g,b.endAngleRad+g);h=180*h/Math.PI;c.shapeType="path";c.shapeArgs={d:p.path||[["M",-v,-m/2],["L",A,-m/2],["L",f,-q/2],["L",f,q/2],["L",A,m/2],["L",-v,m/2],["Z"]],translateX:d[0],translateY:d[1],rotation:h};c.plotX=d[0];c.plotY=d[1]})};b.prototype.drawPoints=function(){var b=this,a=b.chart,d=b.yAxis.center,c=b.pivot,p=b.options,
-f=p.pivot,A=a.renderer;b.points.forEach(function(f){var d=f.graphic,c=f.shapeArgs,v=c.d,q=k(p.dial,f.dial);d?(d.animate(c),c.d=v):f.graphic=A[f.shapeType](c).attr({rotation:c.rotation,zIndex:1}).addClass("highcharts-dial").add(b.group);if(!a.styledMode)f.graphic[d?"animate":"attr"]({stroke:q.borderColor||"none","stroke-width":q.borderWidth||0,fill:q.backgroundColor||h.neutralColor100})});c?c.animate({translateX:d[0],translateY:d[1]}):(b.pivot=A.circle(0,0,l(f.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(d[0],
-d[1]).add(b.group),a.styledMode||b.pivot.attr({"stroke-width":f.borderWidth||0,stroke:f.borderColor||h.neutralColor20,fill:f.backgroundColor||h.neutralColor100}))};b.prototype.animate=function(b){var a=this;b||a.points.forEach(function(b){var d=b.graphic;d&&(d.attr({rotation:180*a.yAxis.startAngleRad/Math.PI}),d.animate({rotation:b.shapeArgs.rotation},a.options.animation))})};b.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,
-this.chart.seriesGroup);d.prototype.render.call(this);this.group.clip(this.chart.clipRect)};b.prototype.setData=function(b,a){d.prototype.setData.call(this,b,!1);this.processData();this.generatePoints();l(a,!0)&&this.chart.redraw()};b.prototype.hasData=function(){return!!this.points.length};b.defaultOptions=k(d.defaultOptions,{dataLabels:{borderColor:h.neutralColor20,borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},
-showInLegend:!1});return b}(d);b(a.prototype,{angular:!0,directTouch:!0,drawGraph:c,drawTracker:r.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:e,trackerGroups:["group","dataLabelsGroup"]});g.registerSeriesType("gauge",a);"";return a});z(e,"Series/BoxPlot/BoxPlotSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,c,h,g,a){var u=this&&this.__extends||function(){var a=
-function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var d in a)a.hasOwnProperty(d)&&(b[d]=a[d])};return a(b,d)};return function(b,d){function c(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(c.prototype=d.prototype,new c)}}();c=c.noop;var d=a.extend,r=a.merge,n=a.pick;a=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}u(b,a);b.prototype.pointAttribs=
-function(){return{}};b.prototype.translate=function(){var b=this.yAxis,d=this.pointArrayMap;a.prototype.translate.apply(this);this.points.forEach(function(a){d.forEach(function(d){null!==a[d]&&(a[d+"Plot"]=b.translate(a[d],0,1,0,1))});a.plotHigh=a.highPlot})};b.prototype.drawPoints=function(){var a=this,b=a.options,d=a.chart,c=d.renderer,g,h,e,r,q,p,f=0,A,v,m,D,I=!1!==a.doQuartiles,C,u=a.options.whiskerLength;a.points.forEach(function(k){var l=k.graphic,t=l?"animate":"attr",E=k.shapeArgs,x={},y={},
-w={},J={},B=k.color||a.color;"undefined"!==typeof k.plotY&&(A=Math.round(E.width),v=Math.floor(E.x),m=v+A,D=Math.round(A/2),g=Math.floor(I?k.q1Plot:k.lowPlot),h=Math.floor(I?k.q3Plot:k.lowPlot),e=Math.floor(k.highPlot),r=Math.floor(k.lowPlot),l||(k.graphic=l=c.g("point").add(a.group),k.stem=c.path().addClass("highcharts-boxplot-stem").add(l),u&&(k.whiskers=c.path().addClass("highcharts-boxplot-whisker").add(l)),I&&(k.box=c.path(void 0).addClass("highcharts-boxplot-box").add(l)),k.medianShape=c.path(void 0).addClass("highcharts-boxplot-median").add(l)),
-d.styledMode||(y.stroke=k.stemColor||b.stemColor||B,y["stroke-width"]=n(k.stemWidth,b.stemWidth,b.lineWidth),y.dashstyle=k.stemDashStyle||b.stemDashStyle||b.dashStyle,k.stem.attr(y),u&&(w.stroke=k.whiskerColor||b.whiskerColor||B,w["stroke-width"]=n(k.whiskerWidth,b.whiskerWidth,b.lineWidth),w.dashstyle=k.whiskerDashStyle||b.whiskerDashStyle||b.dashStyle,k.whiskers.attr(w)),I&&(x.fill=k.fillColor||b.fillColor||B,x.stroke=b.lineColor||B,x["stroke-width"]=b.lineWidth||0,x.dashstyle=k.boxDashStyle||b.boxDashStyle||
-b.dashStyle,k.box.attr(x)),J.stroke=k.medianColor||b.medianColor||B,J["stroke-width"]=n(k.medianWidth,b.medianWidth,b.lineWidth),J.dashstyle=k.medianDashStyle||b.medianDashStyle||b.dashStyle,k.medianShape.attr(J)),p=k.stem.strokeWidth()%2/2,f=v+D+p,l=[["M",f,h],["L",f,e],["M",f,g],["L",f,r]],k.stem[t]({d:l}),I&&(p=k.box.strokeWidth()%2/2,g=Math.floor(g)+p,h=Math.floor(h)+p,v+=p,m+=p,l=[["M",v,h],["L",v,g],["L",m,g],["L",m,h],["L",v,h],["Z"]],k.box[t]({d:l})),u&&(p=k.whiskers.strokeWidth()%2/2,e+=
-p,r+=p,C=/%$/.test(u)?D*parseFloat(u)/100:u/2,l=[["M",f-C,e],["L",f+C,e],["M",f-C,r],["L",f+C,r]],k.whiskers[t]({d:l})),q=Math.round(k.medianPlot),p=k.medianShape.strokeWidth()%2/2,q+=p,l=[["M",v,q],["L",m,q]],k.medianShape[t]({d:l}))})};b.prototype.toYData=function(b){return[b.low,b.q1,b.median,b.q3,b.high]};b.defaultOptions=r(e.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},
-whiskerLength:"50%",fillColor:h.backgroundColor,lineWidth:1,medianWidth:2,whiskerWidth:2});return b}(e);d(a.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:c,setStackedPoints:c});g.registerSeriesType("boxplot",a);"";return a});z(e,"Series/ErrorBar/ErrorBarSeries.js",[e["Series/BoxPlot/BoxPlotSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Color/Palette.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,c,h,g,a){var u=this&&
-this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var d in a)a.hasOwnProperty(d)&&(b[d]=a[d])};return a(b,d)};return function(b,d){function c(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(c.prototype=d.prototype,new c)}}(),d=g.seriesTypes.arearange,r=a.merge;a=a.extend;var n=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.options=void 0;
-b.points=void 0;return b}u(b,a);b.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||c.prototype.getColumnMetrics.call(this)};b.prototype.drawDataLabels=function(){var b=this.pointValKey;d&&(d.prototype.drawDataLabels.call(this),this.data.forEach(function(a){a.y=a[b]}))};b.prototype.toYData=function(b){return[b.low,b.high]};b.defaultOptions=r(e.defaultOptions,{color:h.neutralColor100,grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},
-whiskerWidth:null});return b}(e);a(n.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1});g.registerSeriesType("errorbar",n);"";return n});z(e,"Core/Axis/WaterfallAxis.js",[e["Extensions/Stacking.js"],e["Core/Utilities.js"]],function(e,c){var h=c.addEvent,g=c.objectEach,a;(function(a){function d(){var b=this.waterfall.stacks;b&&(b.changed=!1,delete b.alreadyChanged)}function c(){var b=this.options.stackLabels;b&&b.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}
-function u(){for(var b=this.axes,a=this.series,d=a.length;d--;)a[d].options.stacking&&(b.forEach(function(b){b.isXAxis||(b.waterfall.stacks.changed=!0)}),d=0)}function x(){this.waterfall||(this.waterfall=new b(this))}var b=function(){function b(b){this.axis=b;this.stacks={changed:!1}}b.prototype.renderStackTotals=function(){var b=this.axis,a=b.waterfall.stacks,d=b.stacking&&b.stacking.stackTotalGroup,c=new e(b,b.options.stackLabels,!1,0,void 0);this.dummyStackItem=c;g(a,function(b){g(b,function(b){c.total=
-b.stackTotal;b.label&&(c.label=b.label);e.prototype.render.call(c,d);b.label=c.label;delete c.label})});c.total=null};return b}();a.Composition=b;a.compose=function(b,a){h(b,"init",x);h(b,"afterBuildStacks",d);h(b,"afterRender",c);h(a,"beforeRedraw",u)}})(a||(a={}));return a});z(e,"Series/Waterfall/WaterfallPoint.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,c,h){var g=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return a(d,c)};return function(d,c){function g(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}(),a=h.isNumber;return function(h){function d(){var a=null!==h&&h.apply(this,arguments)||this;a.options=void 0;a.series=void 0;return a}g(d,h);d.prototype.getClassName=function(){var a=c.prototype.getClassName.call(this);this.isSum?
-a+=" highcharts-sum":this.isIntermediateSum&&(a+=" highcharts-intermediate-sum");return a};d.prototype.isValid=function(){return a(this.y)||this.isSum||!!this.isIntermediateSum};return d}(e.prototype.pointClass)});z(e,"Series/Waterfall/WaterfallSeries.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Core/Axis/WaterfallAxis.js"],e["Series/Waterfall/WaterfallPoint.js"]],function(e,c,h,g,a,u,d){var r=this&&this.__extends||
-function(){var b=function(a,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var a in f)f.hasOwnProperty(a)&&(b[a]=f[a])};return b(a,d)};return function(a,d){function p(){this.constructor=a}b(a,d);a.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)}}(),n=g.seriesTypes,x=n.column,b=n.line,k=a.arrayMax,l=a.arrayMin,t=a.correctFloat;n=a.extend;var w=a.merge,B=a.objectEach,z=a.pick;a=function(a){function d(){var b=null!==a&&
-a.apply(this,arguments)||this;b.chart=void 0;b.data=void 0;b.options=void 0;b.points=void 0;b.stackedYNeg=void 0;b.stackedYPos=void 0;b.stackKey=void 0;b.xData=void 0;b.yAxis=void 0;b.yData=void 0;return b}r(d,a);d.prototype.generatePoints=function(){var b;x.prototype.generatePoints.apply(this);var a=0;for(b=this.points.length;a<b;a++){var f=this.points[a];var d=this.processedYData[a];if(f.isIntermediateSum||f.isSum)f.y=t(d)}};d.prototype.translate=function(){var b=this.options,a=this.yAxis,f,d=z(b.minPointLength,
-5),c=d/2,m=b.threshold,k=b.stacking,g=a.waterfall.stacks[this.stackKey];x.prototype.translate.apply(this);var h=f=m;var l=this.points;var e=0;for(b=l.length;e<b;e++){var r=l[e];var u=this.processedYData[e];var t=r.shapeArgs;var n=[0,u];var y=r.y;if(k){if(g){n=g[e];if("overlap"===k){var w=n.stackState[n.stateIndex--];w=0<=y?w:w-y;Object.hasOwnProperty.call(n,"absolutePos")&&delete n.absolutePos;Object.hasOwnProperty.call(n,"absoluteNeg")&&delete n.absoluteNeg}else 0<=y?(w=n.threshold+n.posTotal,n.posTotal-=
-y):(w=n.threshold+n.negTotal,n.negTotal-=y,w-=y),!n.posTotal&&Object.hasOwnProperty.call(n,"absolutePos")&&(n.posTotal=n.absolutePos,delete n.absolutePos),!n.negTotal&&Object.hasOwnProperty.call(n,"absoluteNeg")&&(n.negTotal=n.absoluteNeg,delete n.absoluteNeg);r.isSum||(n.connectorThreshold=n.threshold+n.stackTotal);a.reversed?(u=0<=y?w-y:w+y,y=w):(u=w,y=w-y);r.below=u<=z(m,0);t.y=a.translate(u,0,1,0,1);t.height=Math.abs(t.y-a.translate(y,0,1,0,1));if(y=a.waterfall.dummyStackItem)y.x=e,y.label=g[e].label,
-y.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[e],this.stackedYPos[e])}}else w=Math.max(h,h+y)+n[0],t.y=a.translate(w,0,1,0,1),r.isSum?(t.y=a.translate(n[1],0,1,0,1),t.height=Math.min(a.translate(n[0],0,1,0,1),a.len)-t.y):r.isIntermediateSum?(0<=y?(u=n[1]+f,y=f):(u=f,y=n[1]+f),a.reversed&&(u^=y,y^=u,u^=y),t.y=a.translate(u,0,1,0,1),t.height=Math.abs(t.y-Math.min(a.translate(y,0,1,0,1),a.len)),f+=n[1]):(t.height=0<u?a.translate(h,0,1,0,1)-t.y:a.translate(h,0,1,0,1)-a.translate(h-u,
-0,1,0,1),h+=u,r.below=h<z(m,0)),0>t.height&&(t.y+=t.height,t.height*=-1);r.plotY=t.y=Math.round(t.y)-this.borderWidth%2/2;t.height=Math.max(Math.round(t.height),.001);r.yBottom=t.y+t.height;t.height<=d&&!r.isNull?(t.height=d,t.y-=c,r.plotY=t.y,r.minPointLengthOffset=0>r.y?-c:c):(r.isNull&&(t.width=0),r.minPointLengthOffset=0);t=r.plotY+(r.negative?t.height:0);this.chart.inverted?r.tooltipPos[0]=a.len-t:r.tooltipPos[1]=t}};d.prototype.processData=function(b){var d=this.options,f=this.yData,c=d.data,
-v=f.length,m=d.threshold||0,k,g,q,h,l;for(l=g=k=q=h=0;l<v;l++){var e=f[l];var r=c&&c[l]?c[l]:{};"sum"===e||r.isSum?f[l]=t(g):"intermediateSum"===e||r.isIntermediateSum?(f[l]=t(k),k=0):(g+=e,k+=e);q=Math.min(g,q);h=Math.max(g,h)}a.prototype.processData.call(this,b);d.stacking||(this.dataMin=q+m,this.dataMax=h)};d.prototype.toYData=function(b){return b.isSum?"sum":b.isIntermediateSum?"intermediateSum":b.y};d.prototype.updateParallelArrays=function(b,d){a.prototype.updateParallelArrays.call(this,b,d);
-if("sum"===this.yData[0]||"intermediateSum"===this.yData[0])this.yData[0]=null};d.prototype.pointAttribs=function(b,a){var f=this.options.upColor;f&&!b.options.color&&(b.color=0<b.y?f:null);b=x.prototype.pointAttribs.call(this,b,a);delete b.dashstyle;return b};d.prototype.getGraphPath=function(){return[["M",0,0]]};d.prototype.getCrispPath=function(){var b=this.data,a=this.yAxis,f=b.length,d=Math.round(this.graph.strokeWidth())%2/2,c=Math.round(this.borderWidth)%2/2,m=this.xAxis.reversed,k=this.yAxis.reversed,
-g=this.options.stacking,h=[],l;for(l=1;l<f;l++){var e=b[l].shapeArgs;var t=b[l-1];var r=b[l-1].shapeArgs;var u=a.waterfall.stacks[this.stackKey];var n=0<t.y?-r.height:0;u&&r&&e&&(u=u[l-1],g?(u=u.connectorThreshold,n=Math.round(a.translate(u,0,1,0,1)+(k?n:0))-d):n=r.y+t.minPointLengthOffset+c-d,h.push(["M",(r.x||0)+(m?0:r.width||0),n],["L",(e.x||0)+(m?e.width||0:0),n]));r&&h.length&&(!g&&0>t.y&&!k||0<t.y&&k)&&(h[h.length-2][2]+=r.height,h[h.length-1][2]+=r.height)}return h};d.prototype.drawGraph=function(){b.prototype.drawGraph.call(this);
-this.graph.attr({d:this.getCrispPath()})};d.prototype.setStackedPoints=function(){function b(b,f,a,d){if(z)for(a;a<z;a++)w.stackState[a]+=d;else w.stackState[0]=b,z=w.stackState.length;w.stackState.push(w.stackState[z-1]+f)}var a=this.options,f=this.yAxis.waterfall.stacks,d=a.threshold,c=d||0,m=c,k=this.stackKey,g=this.xData,h=g.length,l,e,r;this.yAxis.stacking.usePercentage=!1;var t=e=r=c;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var u=f.changed;(l=f.alreadyChanged)&&0>l.indexOf(k)&&
-(u=!0);f[k]||(f[k]={});l=f[k];for(var n=0;n<h;n++){var y=g[n];if(!l[y]||u)l[y]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:u&&l[y]?l[y].label:void 0};var w=l[y];var x=this.yData[n];0<=x?w.posTotal+=x:w.negTotal+=x;var B=a.data[n];y=w.absolutePos=w.posTotal;var K=w.absoluteNeg=w.negTotal;w.stackTotal=y+K;var z=w.stackState.length;B&&B.isIntermediateSum?(b(r,e,0,r),r=e,e=d,c^=m,m^=c,c^=m):B&&B.isSum?(b(d,t,z),c=d):(b(c,x,0,t),B&&(t+=x,e+=x));w.stateIndex++;w.threshold=
-c;c+=w.stackTotal}f.changed=!1;f.alreadyChanged||(f.alreadyChanged=[]);f.alreadyChanged.push(k)}};d.prototype.getExtremes=function(){var b=this.options.stacking;if(b){var a=this.yAxis;a=a.waterfall.stacks;var f=this.stackedYNeg=[];var d=this.stackedYPos=[];"overlap"===b?B(a[this.stackKey],function(b){f.push(l(b.stackState));d.push(k(b.stackState))}):B(a[this.stackKey],function(b){f.push(b.negTotal+b.threshold);d.push(b.posTotal+b.threshold)});return{dataMin:l(f),dataMax:k(d)}}return{dataMin:this.dataMin,
-dataMax:this.dataMax}};d.defaultOptions=w(x.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:h.neutralColor80,dashStyle:"Dot",borderColor:h.neutralColor80,states:{hover:{lineWidthPlus:0}}});return d}(x);n(a.prototype,{getZonesGraphs:b.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:d});g.registerSeriesType("waterfall",a);u.compose(c.Axis,e);"";return a});z(e,"Series/Polygon/PolygonSeries.js",[e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],
-e["Core/Utilities.js"]],function(e,c,h,g){var a=this&&this.__extends||function(){var b=function(a,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var d in a)a.hasOwnProperty(d)&&(b[d]=a[d])};return b(a,d)};return function(a,d){function c(){this.constructor=a}b(a,d);a.prototype=null===d?Object.create(d):(c.prototype=d.prototype,new c)}}();e=e.noop;var u=h.series,d=h.seriesTypes,r=d.area,n=d.line,x=d.scatter;d=g.extend;var b=g.merge;g=function(d){function c(){var b=
-null!==d&&d.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}a(c,d);c.prototype.getGraphPath=function(){for(var b=n.prototype.getGraphPath.call(this),a=b.length+1;a--;)(a===b.length||"M"===b[a][0])&&0<a&&b.splice(a,0,["Z"]);return this.areaPath=b};c.prototype.drawGraph=function(){this.options.fillColor=this.color;r.prototype.drawGraph.call(this)};c.defaultOptions=b(x.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,
-pointFormat:""},trackByArea:!0});return c}(x);d(g.prototype,{type:"polygon",drawLegendSymbol:c.drawRectangle,drawTracker:u.prototype.drawTracker,setStackedPoints:e});h.registerSeriesType("polygon",g);"";return g});z(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,c,h){var g=this&&this.__extends||function(){var a=function(c,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,
-d){for(var c in d)d.hasOwnProperty(c)&&(a[c]=d[c])};return a(c,d)};return function(c,d){function g(){this.constructor=c}a(c,d);c.prototype=null===d?Object.create(d):(g.prototype=d.prototype,new g)}}();h=h.extend;c=function(a){function c(){var d=null!==a&&a.apply(this,arguments)||this;d.options=void 0;d.series=void 0;return d}g(c,a);c.prototype.haloPath=function(a){return e.prototype.haloPath.call(this,0===a?0:(this.marker?this.marker.radius||0:0)+a)};return c}(c.seriesTypes.scatter.prototype.pointClass);
-h(c.prototype,{ttBelow:!1});return c});z(e,"Series/Bubble/BubbleLegend.js",[e["Core/Chart/Chart.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Legend.js"],e["Core/Color/Palette.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(e,c,h,g,a,u,d){var r=c.parse,n=h.noop;c=d.addEvent;var x=d.arrayMax,b=d.arrayMin,k=d.isNumber,l=d.merge,t=d.objectEach,w=d.pick,B=d.setOptions,z=d.stableSort,G=d.wrap;"";B({legend:{bubbleLegend:{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,
-connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:10,color:void 0},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}});B=function(){function c(b,a){this.options=this.symbols=this.visible=this.ranges=this.movementX=this.maxLabel=
-this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0;this.setState=n;this.init(b,a)}c.prototype.init=function(b,a){this.options=b;this.visible=!0;this.chart=a.chart;this.legend=a};c.prototype.addToLegend=function(b){b.splice(this.options.legendIndex,0,this)};c.prototype.drawLegendSymbol=function(b){var a=this.chart,f=this.options,d=w(b.options.itemDistance,20),c=f.ranges;var m=f.connectorDistance;this.fontMetrics=
-a.renderer.fontMetrics(f.labels.style.fontSize.toString()+"px");c&&c.length&&k(c[0].value)?(z(c,function(b,a){return a.value-b.value}),this.ranges=c,this.setOptions(),this.render(),a=this.getMaxLabelSize(),c=this.ranges[0].radius,b=2*c,m=m-c+a.width,m=0<m?m:0,this.maxLabel=a,this.movementX="left"===f.labels.align?m:0,this.legendItemWidth=b+m+d,this.legendItemHeight=b+this.fontMetrics.h/2):b.options.bubbleLegend.autoRanges=!0};c.prototype.setOptions=function(){var b=this.ranges,a=this.options,f=this.chart.series[a.seriesIndex],
-d=this.legend.baseline,c={"z-index":a.zIndex,"stroke-width":a.borderWidth},m={"z-index":a.zIndex,"stroke-width":a.connectorWidth},k=this.getLabelStyles(),g=f.options.marker.fillOpacity,h=this.chart.styledMode;b.forEach(function(p,v){h||(c.stroke=w(p.borderColor,a.borderColor,f.color),c.fill=w(p.color,a.color,1!==g?r(f.color).setOpacity(g).get("rgba"):f.color),m.stroke=w(p.connectorColor,a.connectorColor,f.color));b[v].radius=this.getRangeRadius(p.value);b[v]=l(b[v],{center:b[0].radius-b[v].radius+
-d});h||l(!0,b[v],{bubbleStyle:l(!1,c),connectorStyle:l(!1,m),labelStyle:k})},this)};c.prototype.getLabelStyles=function(){var b=this.options,d={},f="left"===b.labels.align,c=this.legend.options.rtl;t(b.labels.style,function(b,a){"color"!==a&&"fontSize"!==a&&"z-index"!==a&&(d[a]=b)});return l(!1,d,{"font-size":b.labels.style.fontSize,fill:w(b.labels.style.color,a.neutralColor100),"z-index":b.zIndex,align:c||f?"right":"left"})};c.prototype.getRangeRadius=function(b){var a=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,
-a.ranges[a.ranges.length-1].value,a.ranges[0].value,a.minSize,a.maxSize,b)};c.prototype.render=function(){var b=this.chart.renderer,a=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});this.legendSymbol=b.g("bubble-legend");this.legendItem=b.g("bubble-legend-item");this.legendSymbol.translateX=0;this.legendSymbol.translateY=0;this.ranges.forEach(function(b){b.value>=a&&this.renderRange(b)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);
-this.hideOverlappingLabels()};c.prototype.renderRange=function(b){var a=this.options,f=a.labels,d=this.chart.renderer,c=this.symbols,m=c.labels,k=b.center,g=Math.abs(b.radius),h=a.connectorDistance||0,e=f.align,l=f.style.fontSize;h=this.legend.options.rtl||"left"===e?-h:h;f=a.connectorWidth;var q=this.ranges[0].radius||0,r=k-g-a.borderWidth/2+f/2;l=l/2-(this.fontMetrics.h-l)/2;var t=d.styledMode;"center"===e&&(h=0,a.connectorDistance=0,b.labelStyle.align="center");e=r+a.labels.y;var u=q+h+a.labels.x;
-c.bubbleItems.push(d.circle(q,k+((r%1?1:.5)-(f%2?0:.5)),g).attr(t?{}:b.bubbleStyle).addClass((t?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-symbol "+(a.className||"")).add(this.legendSymbol));c.connectors.push(d.path(d.crispLine([["M",q,r],["L",q+h,r]],a.connectorWidth)).attr(t?{}:b.connectorStyle).addClass((t?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(a.connectorClassName||"")).add(this.legendSymbol));b=d.text(this.formatLabel(b),
-u,e+l).attr(t?{}:b.labelStyle).addClass("highcharts-bubble-legend-labels "+(a.labels.className||"")).add(this.legendSymbol);m.push(b);b.placed=!0;b.alignAttr={x:u,y:e+l}};c.prototype.getMaxLabelSize=function(){var b,a;this.symbols.labels.forEach(function(f){a=f.getBBox(!0);b=b?a.width>b.width?a:b:a});return b||{}};c.prototype.formatLabel=function(b){var a=this.options,f=a.labels.formatter;a=a.labels.format;var c=this.chart.numberFormatter;return a?d.format(a,b):f?f.call(b):c(b.value,1)};c.prototype.hideOverlappingLabels=
-function(){var b=this.chart,a=this.symbols;!this.options.labels.allowOverlap&&a&&(b.hideOverlappingLabels(a.labels),a.labels.forEach(function(b,d){b.newOpacity?b.newOpacity!==b.oldOpacity&&a.connectors[d].show():a.connectors[d].hide()}))};c.prototype.getRanges=function(){var a=this.legend.bubbleLegend,d=a.options.ranges,f,c=Number.MAX_VALUE,g=-Number.MAX_VALUE;a.chart.series.forEach(function(a){a.isBubble&&!a.ignoreSeries&&(f=a.zData.filter(k),f.length&&(c=w(a.options.zMin,Math.min(c,Math.max(b(f),
-!1===a.options.displayNegative?a.options.zThreshold:-Number.MAX_VALUE))),g=w(a.options.zMax,Math.max(g,x(f)))))});var m=c===g?[{value:g}]:[{value:c},{value:(c+g)/2},{value:g,autoRanges:!0}];d.length&&d[0].radius&&m.reverse();m.forEach(function(b,a){d&&d[a]&&(m[a]=l(!1,d[a],b))});return m};c.prototype.predictBubbleSizes=function(){var b=this.chart,a=this.fontMetrics,f=b.legend.options,d="horizontal"===f.layout,c=d?b.legend.lastLineHeight:0,m=b.plotSizeX,g=b.plotSizeY,k=b.series[this.options.seriesIndex];
-b=Math.ceil(k.minPxSize);var h=Math.ceil(k.maxPxSize);k=k.options.maxSize;var e=Math.min(g,m);if(f.floating||!/%$/.test(k))a=h;else if(k=parseFloat(k),a=(e+c-a.h/2)*k/100/(k/100+1),d&&g-a>=m||!d&&m-a>=g)a=h;return[b,Math.ceil(a)]};c.prototype.updateRanges=function(b,a){var f=this.legend.options.bubbleLegend;f.minSize=b;f.maxSize=a;f.ranges=this.getRanges()};c.prototype.correctSizes=function(){var b=this.legend,a=this.chart.series[this.options.seriesIndex];1<Math.abs(Math.ceil(a.maxPxSize)-this.options.maxSize)&&
-(this.updateRanges(this.options.minSize,a.maxPxSize),b.render())};return c}();c(g,"afterGetAllItems",function(b){var a=this.bubbleLegend,d=this.options,f=d.bubbleLegend,c=this.chart.getVisibleBubbleSeriesIndex();a&&a.ranges&&a.ranges.length&&(f.ranges.length&&(f.autoRanges=!!f.ranges[0].autoRanges),this.destroyItem(a));0<=c&&d.enabled&&f.enabled&&(f.seriesIndex=c,this.bubbleLegend=new h.BubbleLegend(f,this),this.bubbleLegend.addToLegend(b.allItems))});e.prototype.getVisibleBubbleSeriesIndex=function(){for(var b=
-this.series,a=0;a<b.length;){if(b[a]&&b[a].isBubble&&b[a].visible&&b[a].zData.length)return a;a++}return-1};g.prototype.getLinesHeights=function(){var b=this.allItems,a=[],d=b.length,f,c=0;for(f=0;f<d;f++)if(b[f].legendItemHeight&&(b[f].itemHeight=b[f].legendItemHeight),b[f]===b[d-1]||b[f+1]&&b[f]._legendItemPos[1]!==b[f+1]._legendItemPos[1]){a.push({height:0});var k=a[a.length-1];for(c;c<=f;c++)b[c].itemHeight>k.height&&(k.height=b[c].itemHeight);k.step=f}return a};g.prototype.retranslateItems=function(b){var a,
-d,f,c=this.options.rtl,k=0;this.allItems.forEach(function(m,g){a=m.legendGroup.translateX;d=m._legendItemPos[1];if((f=m.movementX)||c&&m.ranges)f=c?a-m.options.maxSize/2:a+f,m.legendGroup.attr({translateX:f});g>b[k].step&&k++;m.legendGroup.attr({translateY:Math.round(d+b[k].height/2)});m._legendItemPos[1]=d+b[k].height/2})};c(u,"legendItemClick",function(){var b=this.chart,a=this.visible,d=this.chart.legend;d&&d.bubbleLegend&&(this.visible=!a,this.ignoreSeries=a,b=0<=b.getVisibleBubbleSeriesIndex(),
-d.bubbleLegend.visible!==b&&(d.update({bubbleLegend:{enabled:b}}),d.bubbleLegend.visible=b),this.visible=a)});G(e.prototype,"drawChartBox",function(b,a,d){var f=this.legend,c=0<=this.getVisibleBubbleSeriesIndex();if(f&&f.options.enabled&&f.bubbleLegend&&f.options.bubbleLegend.autoRanges&&c){var k=f.bubbleLegend.options;c=f.bubbleLegend.predictBubbleSizes();f.bubbleLegend.updateRanges(c[0],c[1]);k.placed||(f.group.placed=!1,f.allItems.forEach(function(b){b.legendGroup.translateY=null}));f.render();
-this.getMargins();this.axes.forEach(function(b){b.visible&&b.render();k.placed||(b.setScale(),b.updateNames(),t(b.ticks,function(b){b.isNew=!0;b.isNewLabel=!0}))});k.placed=!0;this.getMargins();b.call(this,a,d);f.bubbleLegend.correctSizes();f.retranslateItems(f.getLinesHeights())}else b.call(this,a,d),f&&f.options.enabled&&f.bubbleLegend&&(f.render(),f.retranslateItems(f.getLinesHeights()))});h.BubbleLegend=B;return h.BubbleLegend});z(e,"Series/Bubble/BubbleSeries.js",[e["Core/Axis/Axis.js"],e["Series/Bubble/BubblePoint.js"],
-e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,c,h,g,a,u,d){var r=this&&this.__extends||function(){var b=function(a,f){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var f in a)a.hasOwnProperty(f)&&(b[f]=a[f])};return b(a,f)};return function(a,f){function d(){this.constructor=a}b(a,f);a.prototype=null===f?Object.create(f):(d.prototype=f.prototype,
-new d)}}(),n=h.parse;h=g.noop;var x=u.seriesTypes;g=x.column;var b=x.scatter,k=d.arrayMax,l=d.arrayMin,t=d.clamp,w=d.extend,B=d.isNumber,z=d.merge,G=d.pick,y=d.pInt;d=function(d){function c(){var b=null!==d&&d.apply(this,arguments)||this;b.data=void 0;b.maxPxSize=void 0;b.minPxSize=void 0;b.options=void 0;b.points=void 0;b.radii=void 0;b.yData=void 0;b.zData=void 0;return b}r(c,d);c.prototype.animate=function(b){!b&&this.points.length<this.options.animationLimit&&this.points.forEach(function(b){var a=
-b.graphic;a&&a.width&&(this.hasRendered||a.attr({x:b.plotX,y:b.plotY,width:1,height:1}),a.animate(this.markerAttribs(b),this.options.animation))},this)};c.prototype.getRadii=function(b,a,d){var f=this.zData,c=this.yData,k=d.minPxSize,g=d.maxPxSize,h=[];var e=0;for(d=f.length;e<d;e++){var l=f[e];h.push(this.getRadius(b,a,k,g,l,c[e]))}this.radii=h};c.prototype.getRadius=function(b,a,d,c,k,g){var f=this.options,m="width"!==f.sizeBy,h=f.zThreshold,e=a-b,l=.5;if(null===g||null===k)return null;if(B(k)){f.sizeByAbsoluteValue&&
-(k=Math.abs(k-h),e=Math.max(a-h,Math.abs(b-h)),b=0);if(k<b)return d/2-1;0<e&&(l=(k-b)/e)}m&&0<=l&&(l=Math.sqrt(l));return Math.ceil(d+l*(c-d))/2};c.prototype.hasData=function(){return!!this.processedXData.length};c.prototype.pointAttribs=function(b,d){var f=this.options.marker.fillOpacity;b=a.prototype.pointAttribs.call(this,b,d);1!==f&&(b.fill=n(b.fill).setOpacity(f).get("rgba"));return b};c.prototype.translate=function(){var b,a=this.data,c=this.radii;d.prototype.translate.call(this);for(b=a.length;b--;){var k=
-a[b];var g=c?c[b]:0;B(g)&&g>=this.minPxSize/2?(k.marker=w(k.marker,{radius:g,width:2*g,height:2*g}),k.dlBox={x:k.plotX-g,y:k.plotY-g,width:2*g,height:2*g}):k.shapeArgs=k.plotY=k.dlBox=void 0}};c.defaultOptions=z(b.defaultOptions,{dataLabels:{formatter:function(){return this.point.z},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},
-tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"});return c}(b);w(d.prototype,{alignDataLabel:g.prototype.alignDataLabel,applyZones:h,bubblePadding:!0,buildKDTree:h,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:c,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"});e.prototype.beforePadding=function(){var b=this,a=this.len,f=this.chart,d=0,c=a,g=this.isXAxis,h=g?"xData":
-"yData",e=this.min,r={},u=Math.min(f.plotWidth,f.plotHeight),n=Number.MAX_VALUE,w=-Number.MAX_VALUE,x=this.max-e,z=a/x,H=[];this.series.forEach(function(a){var d=a.options;!a.bubblePadding||!a.visible&&f.options.chart.ignoreHiddenSeries||(b.allowZoomOutside=!0,H.push(a),g&&(["minSize","maxSize"].forEach(function(b){var a=d[b],f=/%$/.test(a);a=y(a);r[b]=f?u*a/100:a}),a.minPxSize=r.minSize,a.maxPxSize=Math.max(r.maxSize,r.minSize),a=a.zData.filter(B),a.length&&(n=G(d.zMin,t(l(a),!1===d.displayNegative?
-d.zThreshold:-Number.MAX_VALUE,n)),w=G(d.zMax,Math.max(w,k(a))))))});H.forEach(function(a){var f=a[h],k=f.length;g&&a.getRadii(n,w,a);if(0<x)for(;k--;)if(B(f[k])&&b.dataMin<=f[k]&&f[k]<=b.max){var m=a.radii?a.radii[k]:0;d=Math.min((f[k]-e)*z-m,d);c=Math.max((f[k]-e)*z+m,c)}});H.length&&0<x&&!this.logarithmic&&(c-=a,z*=(a+Math.max(0,d)-Math.min(c,a))/a,[["min","userMin",d],["max","userMax",c]].forEach(function(a){"undefined"===typeof G(b.options[a[0]],b[a[1]])&&(b[a[0]]+=a[2]/z)}))};u.registerSeriesType("bubble",
-d);"";"";return d});z(e,"Series/PackedBubble/PackedBubblePoint.js",[e["Core/Chart/Chart.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"]],function(e,c,h){var g=this&&this.__extends||function(){var a=function(c,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var c in d)d.hasOwnProperty(c)&&(a[c]=d[c])};return a(c,d)};return function(c,d){function g(){this.constructor=c}a(c,d);c.prototype=null===d?Object.create(d):(g.prototype=
-d.prototype,new g)}}();return function(a){function h(){var d=null!==a&&a.apply(this,arguments)||this;d.degree=NaN;d.mass=NaN;d.radius=NaN;d.options=void 0;d.series=void 0;d.value=null;return d}g(h,a);h.prototype.destroy=function(){this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes);return c.prototype.destroy.apply(this,arguments)};h.prototype.firePointEvent=function(){var a=this.series.options;if(this.isParentNode&&a.parentNode){var g=a.allowPointSelect;
-a.allowPointSelect=a.parentNode.allowPointSelect;c.prototype.firePointEvent.apply(this,arguments);a.allowPointSelect=g}else c.prototype.firePointEvent.apply(this,arguments)};h.prototype.select=function(){var a=this.series.chart;this.isParentNode?(a.getSelectedPoints=a.getSelectedParentNodes,c.prototype.select.apply(this,arguments),a.getSelectedPoints=e.prototype.getSelectedPoints):c.prototype.select.apply(this,arguments)};return h}(h.seriesTypes.bubble.prototype.pointClass)});z(e,"Series/Networkgraph/DraggableNodes.js",
-[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,c,h){var g=h.addEvent;c.dragNodesMixin={onMouseDown:function(a,c){c=this.chart.pointer.normalize(c);a.fixedPosition={chartX:c.chartX,chartY:c.chartY,plotX:a.plotX,plotY:a.plotY};a.inDragMode=!0},onMouseMove:function(a,c){if(a.fixedPosition&&a.inDragMode){var d=this.chart;c=d.pointer.normalize(c);var g=a.fixedPosition.chartX-c.chartX,h=a.fixedPosition.chartY-c.chartY;c=d.graphLayoutsLookup;if(5<Math.abs(g)||5<Math.abs(h))g=
-a.fixedPosition.plotX-g,h=a.fixedPosition.plotY-h,d.isInsidePlot(g,h)&&(a.plotX=g,a.plotY=h,a.hasDragged=!0,this.redrawHalo(a),c.forEach(function(a){a.restartSimulation()}))}},onMouseUp:function(a,c){a.fixedPosition&&(a.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),a.inDragMode=a.hasDragged=!1,this.options.fixedDraggable||delete a.fixedPosition)},redrawHalo:function(a){a&&this.halo&&this.halo.attr({d:a.haloPath(this.options.states.hover.halo.size)})}};g(e,"load",
-function(){var a=this,c,d,h;a.container&&(c=g(a.container,"mousedown",function(c){var e=a.hoverPoint;e&&e.series&&e.series.hasDraggableNodes&&e.series.options.draggable&&(e.series.onMouseDown(e,c),d=g(a.container,"mousemove",function(b){return e&&e.series&&e.series.onMouseMove(e,b)}),h=g(a.container.ownerDocument,"mouseup",function(b){d();h();return e&&e.series&&e.series.onMouseUp(e,b)}))}));g(a,"destroy",function(){c()})})});z(e,"Series/Networkgraph/Integrations.js",[e["Core/Globals.js"]],function(e){e.networkgraphIntegrations=
-{verlet:{attractiveForceFunction:function(c,h){return(h-c)/c},repulsiveForceFunction:function(c,h){return(h-c)/c*(h>c?1:0)},barycenter:function(){var c=this.options.gravitationalConstant,h=this.barycenter.xFactor,g=this.barycenter.yFactor;h=(h-(this.box.left+this.box.width)/2)*c;g=(g-(this.box.top+this.box.height)/2)*c;this.nodes.forEach(function(a){a.fixedPosition||(a.plotX-=h/a.mass/a.degree,a.plotY-=g/a.mass/a.degree)})},repulsive:function(c,h,g){h=h*this.diffTemperature/c.mass/c.degree;c.fixedPosition||
-(c.plotX+=g.x*h,c.plotY+=g.y*h)},attractive:function(c,h,g){var a=c.getMass(),e=-g.x*h*this.diffTemperature;h=-g.y*h*this.diffTemperature;c.fromNode.fixedPosition||(c.fromNode.plotX-=e*a.fromNode/c.fromNode.degree,c.fromNode.plotY-=h*a.fromNode/c.fromNode.degree);c.toNode.fixedPosition||(c.toNode.plotX+=e*a.toNode/c.toNode.degree,c.toNode.plotY+=h*a.toNode/c.toNode.degree)},integrate:function(c,e){var g=-c.options.friction,a=c.options.maxSpeed,h=(e.plotX+e.dispX-e.prevX)*g;g*=e.plotY+e.dispY-e.prevY;
-var d=Math.abs,r=d(h)/(h||1);d=d(g)/(g||1);h=r*Math.min(a,Math.abs(h));g=d*Math.min(a,Math.abs(g));e.prevX=e.plotX+e.dispX;e.prevY=e.plotY+e.dispY;e.plotX+=h;e.plotY+=g;e.temperature=c.vectorLength({x:h,y:g})},getK:function(c){return Math.pow(c.box.width*c.box.height/c.nodes.length,.5)}},euler:{attractiveForceFunction:function(c,e){return c*c/e},repulsiveForceFunction:function(c,e){return e*e/c},barycenter:function(){var c=this.options.gravitationalConstant,e=this.barycenter.xFactor,g=this.barycenter.yFactor;
-this.nodes.forEach(function(a){if(!a.fixedPosition){var h=a.getDegree();h*=1+h/2;a.dispX+=(e-a.plotX)*c*h/a.degree;a.dispY+=(g-a.plotY)*c*h/a.degree}})},repulsive:function(c,e,g,a){c.dispX+=g.x/a*e/c.degree;c.dispY+=g.y/a*e/c.degree},attractive:function(c,e,g,a){var h=c.getMass(),d=g.x/a*e;e*=g.y/a;c.fromNode.fixedPosition||(c.fromNode.dispX-=d*h.fromNode/c.fromNode.degree,c.fromNode.dispY-=e*h.fromNode/c.fromNode.degree);c.toNode.fixedPosition||(c.toNode.dispX+=d*h.toNode/c.toNode.degree,c.toNode.dispY+=
-e*h.toNode/c.toNode.degree)},integrate:function(c,e){e.dispX+=e.dispX*c.options.friction;e.dispY+=e.dispY*c.options.friction;var g=e.temperature=c.vectorLength({x:e.dispX,y:e.dispY});0!==g&&(e.plotX+=e.dispX/g*Math.min(Math.abs(e.dispX),c.temperature),e.plotY+=e.dispY/g*Math.min(Math.abs(e.dispY),c.temperature))},getK:function(c){return Math.pow(c.box.width*c.box.height/c.nodes.length,.3)}}}});z(e,"Series/Networkgraph/QuadTree.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,c){c=c.extend;
-var h=e.QuadTreeNode=function(c){this.box=c;this.boxSize=Math.min(c.width,c.height);this.nodes=[];this.body=this.isInternal=!1;this.isEmpty=!0};c(h.prototype,{insert:function(c,a){this.isInternal?this.nodes[this.getBoxPosition(c)].insert(c,a-1):(this.isEmpty=!1,this.body?a?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,a-1),this.body=!0),this.nodes[this.getBoxPosition(c)].insert(c,a-1)):(a=new h({top:c.plotX,left:c.plotY,width:.1,
-height:.1}),a.body=c,a.isInternal=!1,this.nodes.push(a)):(this.isInternal=!1,this.body=c))},updateMassAndCenter:function(){var c=0,a=0,e=0;this.isInternal?(this.nodes.forEach(function(d){d.isEmpty||(c+=d.mass,a+=d.plotX*d.mass,e+=d.plotY*d.mass)}),a/=c,e/=c):this.body&&(c=this.body.mass,a=this.body.plotX,e=this.body.plotY);this.mass=c;this.plotX=a;this.plotY=e},divideBox:function(){var c=this.box.width/2,a=this.box.height/2;this.nodes[0]=new h({left:this.box.left,top:this.box.top,width:c,height:a});
-this.nodes[1]=new h({left:this.box.left+c,top:this.box.top,width:c,height:a});this.nodes[2]=new h({left:this.box.left+c,top:this.box.top+a,width:c,height:a});this.nodes[3]=new h({left:this.box.left,top:this.box.top+a,width:c,height:a})},getBoxPosition:function(c){var a=c.plotY<this.box.top+this.box.height/2;return c.plotX<this.box.left+this.box.width/2?a?0:3:a?1:2}});e=e.QuadTree=function(c,a,e,d){this.box={left:c,top:a,width:e,height:d};this.maxDepth=25;this.root=new h(this.box,"0");this.root.isInternal=
-!0;this.root.isRoot=!0;this.root.divideBox()};c(e.prototype,{insertNodes:function(c){c.forEach(function(a){this.root.insert(a,this.maxDepth)},this)},visitNodeRecursive:function(c,a,e){var d;c||(c=this.root);c===this.root&&a&&(d=a(c));!1!==d&&(c.nodes.forEach(function(c){if(c.isInternal){a&&(d=a(c));if(!1===d)return;this.visitNodeRecursive(c,a,e)}else c.body&&a&&a(c.body);e&&e(c)},this),c===this.root&&e&&e(c))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,null,function(c){c.updateMassAndCenter()})}})});
-z(e,"Series/Networkgraph/Layouts.js",[e["Core/Chart/Chart.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,c,h,g){var a=c.setAnimation;c=g.addEvent;var u=g.clamp,d=g.defined,r=g.extend,n=g.isFunction,x=g.pick;h.layouts={"reingold-fruchterman":function(){}};r(h.layouts["reingold-fruchterman"].prototype,{init:function(b){this.options=b;this.nodes=[];this.links=[];this.series=[];this.box={x:0,y:0,width:0,height:0};this.setInitialRendering(!0);this.integration=
-h.networkgraphIntegrations[b.integration];this.enableSimulation=b.enableSimulation;this.attractiveForce=x(b.attractiveForce,this.integration.attractiveForceFunction);this.repulsiveForce=x(b.repulsiveForce,this.integration.repulsiveForceFunction);this.approximation=b.approximation},updateSimulation:function(b){this.enableSimulation=x(b,this.options.enableSimulation)},start:function(){var b=this.series,a=this.options;this.currentStep=0;this.forces=b[0]&&b[0].forces||[];this.chart=b[0]&&b[0].chart;this.initialRendering&&
-(this.initPositions(),b.forEach(function(b){b.finishedAnimating=!0;b.render()}));this.setK();this.resetSimulation(a);this.enableSimulation&&this.step()},step:function(){var b=this,a=this.series;b.currentStep++;"barnes-hut"===b.approximation&&(b.createQuadTree(),b.quadTree.calculateMassAndCenter());b.forces.forEach(function(a){b[a+"Forces"](b.temperature)});b.applyLimits(b.temperature);b.temperature=b.coolDown(b.startTemperature,b.diffTemperature,b.currentStep);b.prevSystemTemperature=b.systemTemperature;
-b.systemTemperature=b.getSystemTemperature();b.enableSimulation&&(a.forEach(function(b){b.chart&&b.render()}),b.maxIterations--&&isFinite(b.temperature)&&!b.isStable()?(b.simulation&&h.win.cancelAnimationFrame(b.simulation),b.simulation=h.win.requestAnimationFrame(function(){b.step()})):b.simulation=!1)},stop:function(){this.simulation&&h.win.cancelAnimationFrame(this.simulation)},setArea:function(b,a,c,d){this.box={left:b,top:a,width:c,height:d}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},
-addElementsToCollection:function(b,a){b.forEach(function(b){-1===a.indexOf(b)&&a.push(b)})},removeElementFromCollection:function(b,a){b=a.indexOf(b);-1!==b&&a.splice(b,1)},clear:function(){this.nodes.length=0;this.links.length=0;this.series.length=0;this.resetSimulation()},resetSimulation:function(){this.forcedStop=!1;this.systemTemperature=0;this.setMaxIterations();this.setTemperature();this.setDiffTemperature()},restartSimulation:function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),
-this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},setMaxIterations:function(b){this.maxIterations=x(b,this.options.maxIterations)},setTemperature:function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},setDiffTemperature:function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},setInitialRendering:function(b){this.initialRendering=b},createQuadTree:function(){this.quadTree=
-new h.QuadTree(this.box.left,this.box.top,this.box.width,this.box.height);this.quadTree.insertNodes(this.nodes)},initPositions:function(){var b=this.options.initialPositions;n(b)?(b.call(this),this.nodes.forEach(function(b){d(b.prevX)||(b.prevX=b.plotX);d(b.prevY)||(b.prevY=b.plotY);b.dispX=0;b.dispY=0})):"circle"===b?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){function b(a){a.linksFrom.forEach(function(a){h[a.toNode.id]||(h[a.toNode.id]=!0,g.push(a.toNode),
-b(a.toNode))})}var a=this.box,c=this.nodes,d=2*Math.PI/(c.length+1),e=c.filter(function(b){return 0===b.linksTo.length}),g=[],h={},r=this.options.initialPositionRadius;e.forEach(function(a){g.push(a);b(a)});g.length?c.forEach(function(b){-1===g.indexOf(b)&&g.push(b)}):g=c;g.forEach(function(b,c){b.plotX=b.prevX=x(b.plotX,a.width/2+r*Math.cos(c*d));b.plotY=b.prevY=x(b.plotY,a.height/2+r*Math.sin(c*d));b.dispX=0;b.dispY=0})},setRandomPositions:function(){function b(b){b=b*b/Math.PI;return b-=Math.floor(b)}
-var a=this.box,c=this.nodes,d=c.length+1;c.forEach(function(c,e){c.plotX=c.prevX=x(c.plotX,a.width*b(e));c.plotY=c.prevY=x(c.plotY,a.height*b(d+e));c.dispX=0;c.dispY=0})},force:function(b){this.integration[b].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter();this.force("barycenter")},getBarycenter:function(){var b=0,a=0,c=0;this.nodes.forEach(function(d){a+=d.plotX*d.mass;c+=d.plotY*d.mass;b+=d.mass});return this.barycenter={x:a,y:c,xFactor:a/b,
-yFactor:c/b}},barnesHutApproximation:function(b,a){var c=this.getDistXY(b,a),d=this.vectorLength(c);if(b!==a&&0!==d)if(a.isInternal)if(a.boxSize/d<this.options.theta&&0!==d){var e=this.repulsiveForce(d,this.k);this.force("repulsive",b,e*a.mass,c,d);var k=!1}else k=!0;else e=this.repulsiveForce(d,this.k),this.force("repulsive",b,e*a.mass,c,d);return k},repulsiveForces:function(){var b=this;"barnes-hut"===b.approximation?b.nodes.forEach(function(a){b.quadTree.visitNodeRecursive(null,function(c){return b.barnesHutApproximation(a,
-c)})}):b.nodes.forEach(function(a){b.nodes.forEach(function(c){if(a!==c&&!a.fixedPosition){var d=b.getDistXY(a,c);var e=b.vectorLength(d);if(0!==e){var k=b.repulsiveForce(e,b.k);b.force("repulsive",a,k*c.mass,d,e)}}})})},attractiveForces:function(){var a=this,c,d,e;a.links.forEach(function(b){b.fromNode&&b.toNode&&(c=a.getDistXY(b.fromNode,b.toNode),d=a.vectorLength(c),0!==d&&(e=a.attractiveForce(d,a.k),a.force("attractive",b,e,c,d)))})},applyLimits:function(){var a=this;a.nodes.forEach(function(b){b.fixedPosition||
-(a.integration.integrate(a,b),a.applyLimitBox(b,a.box),b.dispX=0,b.dispY=0)})},applyLimitBox:function(a,c){var b=a.radius;a.plotX=u(a.plotX,c.left+b,c.width-b);a.plotY=u(a.plotY,c.top+b,c.height-b)},coolDown:function(a,c,d){return a-c*d},isStable:function(){return.00001>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce(function(a,c){return a+c.temperature},0)},vectorLength:function(a){return Math.sqrt(a.x*a.x+
-a.y*a.y)},getDistR:function(a,c){a=this.getDistXY(a,c);return this.vectorLength(a)},getDistXY:function(a,c){var b=a.plotX-c.plotX;a=a.plotY-c.plotY;return{x:b,y:a,absX:Math.abs(b),absY:Math.abs(a)}}});c(e,"predraw",function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(a){a.stop()})});c(e,"render",function(){function b(a){a.maxIterations--&&isFinite(a.temperature)&&!a.isStable()&&!a.enableSimulation&&(a.beforeStep&&a.beforeStep(),a.step(),d=!1,c=!0)}var c=!1;if(this.graphLayoutsLookup){a(!1,
-this);for(this.graphLayoutsLookup.forEach(function(a){a.start()});!d;){var d=!0;this.graphLayoutsLookup.forEach(b)}c&&this.series.forEach(function(a){a&&a.layout&&a.render()})}});c(e,"beforePrint",function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(function(a){a.updateSimulation(!1)}),this.redraw())});c(e,"afterPrint",function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(a){a.updateSimulation()});this.redraw()})});z(e,"Series/PackedBubble/PackedBubbleComposition.js",
-[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,c,h){var g=c.layouts["reingold-fruchterman"],a=h.addEvent,u=h.extendClass,d=h.pick;e.prototype.getSelectedParentNodes=function(){var a=[];this.series.forEach(function(c){c.parentNode&&c.parentNode.selected&&a.push(c.parentNode)});return a};c.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(a,c,d,b){return Math.min(a,(d.marker.radius+b.marker.radius)/2)},barycenter:function(){var a=this,c=a.options.gravitationalConstant,
-d=a.box,b=a.nodes,e,g;b.forEach(function(h){a.options.splitSeries&&!h.isParentNode?(e=h.series.parentNode.plotX,g=h.series.parentNode.plotY):(e=d.width/2,g=d.height/2);h.fixedPosition||(h.plotX-=(h.plotX-e)*c/(h.mass*Math.sqrt(b.length)),h.plotY-=(h.plotY-g)*c/(h.mass*Math.sqrt(b.length)))})},repulsive:function(a,c,d,b){var e=c*this.diffTemperature/a.mass/a.degree;c=d.x*e;d=d.y*e;a.fixedPosition||(a.plotX+=c,a.plotY+=d);b.fixedPosition||(b.plotX-=c,b.plotY-=d)},integrate:c.networkgraphIntegrations.verlet.integrate,
-getK:c.noop};c.layouts.packedbubble=u(g,{beforeStep:function(){this.options.marker&&this.series.forEach(function(a){a&&a.calculateParentRadius()})},setCircularPositions:function(){var a=this,c=a.box,e=a.nodes,b=2*Math.PI/(e.length+1),g,h,t=a.options.initialPositionRadius;e.forEach(function(e,k){a.options.splitSeries&&!e.isParentNode?(g=e.series.parentNode.plotX,h=e.series.parentNode.plotY):(g=c.width/2,h=c.height/2);e.plotX=e.prevX=d(e.plotX,g+t*Math.cos(e.index||k*b));e.plotY=e.prevY=d(e.plotY,h+
-t*Math.sin(e.index||k*b));e.dispX=0;e.dispY=0})},repulsiveForces:function(){var a=this,c,d,b,e=a.options.bubblePadding;a.nodes.forEach(function(g){g.degree=g.mass;g.neighbours=0;a.nodes.forEach(function(h){c=0;g===h||g.fixedPosition||!a.options.seriesInteraction&&g.series!==h.series||(b=a.getDistXY(g,h),d=a.vectorLength(b)-(g.marker.radius+h.marker.radius+e),0>d&&(g.degree+=.01,g.neighbours++,c=a.repulsiveForce(-d/Math.sqrt(g.neighbours),a.k,g,h)),a.force("repulsive",g,c*h.mass,b,h,d))})})},applyLimitBox:function(a){if(this.options.splitSeries&&
-!a.isParentNode&&this.options.parentNodeLimit){var c=this.getDistXY(a,a.series.parentNode);var d=a.series.parentNodeRadius-a.marker.radius-this.vectorLength(c);0>d&&d>-2*a.marker.radius&&(a.plotX-=.01*c.x,a.plotY-=.01*c.y)}g.prototype.applyLimitBox.apply(this,arguments)}});a(e,"beforeRedraw",function(){this.allDataPoints&&delete this.allDataPoints})});z(e,"Series/PackedBubble/PackedBubbleSeries.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Series/PackedBubble/PackedBubblePoint.js"],e["Core/Series/SeriesRegistry.js"],
-e["Core/Utilities.js"]],function(e,c,h,g,a){var u=this&&this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return a(b,f)};return function(b,f){function c(){this.constructor=b}a(b,f);b.prototype=null===f?Object.create(f):(c.prototype=f.prototype,new c)}}(),d=e.parse,r=g.series,n=g.seriesTypes.bubble,x=a.addEvent,b=a.clamp,k=a.defined,l=a.extend,t=a.fireEvent,
-w=a.isArray,z=a.isNumber,B=a.merge,G=a.pick,y=c.dragNodesMixin;e=function(a){function e(){var b=null!==a&&a.apply(this,arguments)||this;b.chart=void 0;b.data=void 0;b.layout=void 0;b.options=void 0;b.points=void 0;b.xData=void 0;return b}u(e,a);e.prototype.accumulateAllPoints=function(a){var b=a.chart,c=[],f,d;for(f=0;f<b.series.length;f++)if(a=b.series[f],a.is("packedbubble")&&a.visible||!b.options.chart.ignoreHiddenSeries)for(d=0;d<a.yData.length;d++)c.push([null,null,a.yData[d],a.index,d,{id:d,
-marker:{radius:0}}]);return c};e.prototype.addLayout=function(){var a=this.options.layoutAlgorithm,b=this.chart.graphLayoutsStorage,d=this.chart.graphLayoutsLookup,e=this.chart.options.chart;b||(this.chart.graphLayoutsStorage=b={},this.chart.graphLayoutsLookup=d=[]);var g=b[a.type];g||(a.enableSimulation=k(e.forExport)?!e.forExport:a.enableSimulation,b[a.type]=g=new c.layouts[a.type],g.init(a),d.splice(g.index,0,g));this.layout=g;this.points.forEach(function(a){a.mass=2;a.degree=1;a.collisionNmb=
-1});g.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight);g.addElementsToCollection([this],g.series);g.addElementsToCollection(this.points,g.nodes)};e.prototype.addSeriesLayout=function(){var a=this.options.layoutAlgorithm,b=this.chart.graphLayoutsStorage,d=this.chart.graphLayoutsLookup,e=B(a,a.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation});var g=b[a.type+"-series"];g||(b[a.type+"-series"]=g=new c.layouts[a.type],g.init(e),d.splice(g.index,0,g));this.parentNodeLayout=
-g;this.createParentNodes()};e.prototype.calculateParentRadius=function(){var a=this.seriesBox();this.parentNodeRadius=b(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,a?Math.max(Math.sqrt(Math.pow(a.width,2)+Math.pow(a.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20);this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)};e.prototype.calculateZExtremes=function(){var a=this.options.zMin,b=this.options.zMax,c=Infinity,d=-Infinity;if(a&&b)return[a,
-b];this.chart.series.forEach(function(a){a.yData.forEach(function(a){k(a)&&(a>d&&(d=a),a<c&&(c=a))})});a=G(a,c);b=G(b,d);return[a,b]};e.prototype.checkOverlap=function(a,b){var c=a[0]-b[0],f=a[1]-b[1];return-.001>Math.sqrt(c*c+f*f)-Math.abs(a[2]+b[2])};e.prototype.createParentNodes=function(){var a=this,b=a.chart,c=a.parentNodeLayout,d,e=a.parentNode,g=a.pointClass;a.parentNodeMass=0;a.points.forEach(function(b){a.parentNodeMass+=Math.PI*Math.pow(b.marker.radius,2)});a.calculateParentRadius();c.nodes.forEach(function(b){b.seriesIndex===
-a.index&&(d=!0)});c.setArea(0,0,b.plotWidth,b.plotHeight);d||(e||(e=(new g).init(this,{mass:a.parentNodeRadius/2,marker:{radius:a.parentNodeRadius},dataLabels:{inside:!1},dataLabelOnNull:!0,degree:a.parentNodeRadius,isParentNode:!0,seriesIndex:a.index})),a.parentNode&&(e.plotX=a.parentNode.plotX,e.plotY=a.parentNode.plotY),a.parentNode=e,c.addElementsToCollection([a],c.series),c.addElementsToCollection([e],c.nodes))};e.prototype.deferLayout=function(){var a=this.options.layoutAlgorithm;this.visible&&
-(this.addLayout(),a.splitSeries&&this.addSeriesLayout())};e.prototype.destroy=function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(function(a){a.removeElementFromCollection(this,a.series)},this);this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy()));r.prototype.destroy.apply(this,arguments)};e.prototype.drawDataLabels=
-function(){var a=this.options.dataLabels.textPath,b=this.points;r.prototype.drawDataLabels.apply(this,arguments);this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,r.prototype.drawDataLabels.apply(this,arguments),this.points=b,this.options.dataLabels.textPath=a)};e.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var a=this.chart,b=this.layout.options.parentNodeOptions.marker;
-b={fill:b.fillColor||d(this.color).brighten(.4).get(),opacity:b.fillOpacity,stroke:b.lineColor||this.color,"stroke-width":b.lineWidth};var c=this.visible?"inherit":"hidden";this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",c,.1,a.seriesGroup),this.group.attr({zIndex:2}));this.calculateParentRadius();c=B({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},
-b);this.parentNode.graphic||(this.graph=this.parentNode.graphic=a.renderer.symbol(b.symbol).add(this.parentNodesGroup));this.parentNode.graphic.attr(c)}};e.prototype.drawTracker=function(){var b=this.parentNode;a.prototype.drawTracker.call(this);if(b){var c=w(b.dataLabels)?b.dataLabels:b.dataLabel?[b.dataLabel]:[];b.graphic&&(b.graphic.element.point=b);c.forEach(function(a){a.div?a.div.point=b:a.element.point=b})}};e.prototype.getPointRadius=function(){var a=this,c=a.chart,d=a.options,e=d.useSimulation,
-g=Math.min(c.plotWidth,c.plotHeight),h={},k=[],p=c.allDataPoints,l,n,q,r;["minSize","maxSize"].forEach(function(a){var b=parseInt(d[a],10),c=/%$/.test(d[a]);h[a]=c?g*b/100:b*Math.sqrt(p.length)});c.minRadius=l=h.minSize/Math.sqrt(p.length);c.maxRadius=n=h.maxSize/Math.sqrt(p.length);var t=e?a.calculateZExtremes():[l,n];(p||[]).forEach(function(c,d){q=e?b(c[2],t[0],t[1]):c[2];r=a.getRadius(t[0],t[1],l,n,q);0===r&&(r=null);p[d][2]=r;k.push(r)});a.radii=k};e.prototype.init=function(){r.prototype.init.apply(this,
-arguments);this.eventsToUnbind.push(x(this,"updatedData",function(){this.chart.series.forEach(function(a){a.type===this.type&&(a.isDirty=!0)},this)}));return this};e.prototype.onMouseUp=function(a){if(a.fixedPosition&&!a.removed){var b,c,d=this.layout,f=this.parentNodeLayout;f&&d.options.dragBetweenSeries&&f.nodes.forEach(function(f){a&&a.marker&&f!==a.series.parentNode&&(b=d.getDistXY(a,f),c=d.vectorLength(b)-f.marker.radius-a.marker.radius,0>c&&(f.series.addPoint(B(a.options,{plotX:a.plotX,plotY:a.plotY}),
-!1),d.removeElementFromCollection(a,d.nodes),a.remove()))});y.onMouseUp.apply(this,arguments)}};e.prototype.placeBubbles=function(a){var b=this.checkOverlap,c=this.positionBubble,d=[],f=1,e=0,g=0;var h=[];var k;a=a.sort(function(a,b){return b[2]-a[2]});if(a.length){d.push([[0,0,a[0][2],a[0][3],a[0][4]]]);if(1<a.length)for(d.push([[0,0-a[1][2]-a[0][2],a[1][2],a[1][3],a[1][4]]]),k=2;k<a.length;k++)a[k][2]=a[k][2]||1,h=c(d[f][e],d[f-1][g],a[k]),b(h,d[f][0])?(d.push([]),g=0,d[f+1].push(c(d[f][e],d[f][0],
-a[k])),f++,e=0):1<f&&d[f-1][g+1]&&b(h,d[f-1][g+1])?(g++,d[f].push(c(d[f][e],d[f-1][g],a[k])),e++):(e++,d[f].push(h));this.chart.stages=d;this.chart.rawPositions=[].concat.apply([],d);this.resizeRadius();h=this.chart.rawPositions}return h};e.prototype.positionBubble=function(a,b,c){var d=Math.sqrt,f=Math.asin,e=Math.acos,g=Math.pow,h=Math.abs;d=d(g(a[0]-b[0],2)+g(a[1]-b[1],2));e=e((g(d,2)+g(c[2]+b[2],2)-g(c[2]+a[2],2))/(2*(c[2]+b[2])*d));f=f(h(a[0]-b[0])/d);a=(0>a[1]-b[1]?0:Math.PI)+e+f*(0>(a[0]-b[0])*
-(a[1]-b[1])?1:-1);return[b[0]+(b[2]+c[2])*Math.sin(a),b[1]-(b[2]+c[2])*Math.cos(a),c[2],c[3],c[4]]};e.prototype.render=function(){var a=[];r.prototype.render.apply(this,arguments);this.options.dataLabels.allowOverlap||(this.data.forEach(function(b){w(b.dataLabels)&&b.dataLabels.forEach(function(b){a.push(b)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(a))};e.prototype.resizeRadius=function(){var a=this.chart,b=a.rawPositions,c=Math.min,d=Math.max,e=a.plotLeft,g=a.plotTop,h=a.plotHeight,
-k=a.plotWidth,p,l,n;var q=p=Number.POSITIVE_INFINITY;var r=l=Number.NEGATIVE_INFINITY;for(n=0;n<b.length;n++){var t=b[n][2];q=c(q,b[n][0]-t);r=d(r,b[n][0]+t);p=c(p,b[n][1]-t);l=d(l,b[n][1]+t)}n=[r-q,l-p];c=c.apply([],[(k-e)/n[0],(h-g)/n[1]]);if(1e-10<Math.abs(c-1)){for(n=0;n<b.length;n++)b[n][2]*=c;this.placeBubbles(b)}else a.diffY=h/2+g-p-(l-p)/2,a.diffX=k/2+e-q-(r-q)/2};e.prototype.seriesBox=function(){var a=this.chart,b=Math.max,c=Math.min,d,e=[a.plotLeft,a.plotLeft+a.plotWidth,a.plotTop,a.plotTop+
-a.plotHeight];this.data.forEach(function(a){k(a.plotX)&&k(a.plotY)&&a.marker.radius&&(d=a.marker.radius,e[0]=c(e[0],a.plotX-d),e[1]=b(e[1],a.plotX+d),e[2]=c(e[2],a.plotY-d),e[3]=b(e[3],a.plotY+d))});return z(e.width/e.height)?e:null};e.prototype.setVisible=function(){var a=this;r.prototype.setVisible.apply(a,arguments);a.parentNodeLayout&&a.graph?a.visible?(a.graph.show(),a.parentNode.dataLabel&&a.parentNode.dataLabel.show()):(a.graph.hide(),a.parentNodeLayout.removeElementFromCollection(a.parentNode,
-a.parentNodeLayout.nodes),a.parentNode.dataLabel&&a.parentNode.dataLabel.hide()):a.layout&&(a.visible?a.layout.addElementsToCollection(a.points,a.layout.nodes):a.points.forEach(function(b){a.layout.removeElementFromCollection(b,a.layout.nodes)}))};e.prototype.translate=function(){var a=this.chart,b=this.data,c=this.index,d,e=this.options.useSimulation;this.processedXData=this.xData;this.generatePoints();k(a.allDataPoints)||(a.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius());if(e)var g=
-a.allDataPoints;else g=this.placeBubbles(a.allDataPoints),this.options.draggable=!1;for(d=0;d<g.length;d++)if(g[d][3]===c){var h=b[g[d][4]];var p=g[d][2];e||(h.plotX=g[d][0]-a.plotLeft+a.diffX,h.plotY=g[d][1]-a.plotTop+a.diffY);h.marker=l(h.marker,{radius:p,width:2*p,height:2*p});h.radius=p}e&&this.deferLayout();t(this,"afterTranslate")};e.defaultOptions=B(n.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,
-parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){return this.point.value},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,
-fillOpacity:1,lineWidth:1,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1E3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}});return e}(n);l(e.prototype,{alignDataLabel:r.prototype.alignDataLabel,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,onMouseDown:y.onMouseDown,onMouseMove:y.onMouseMove,pointArrayMap:["value"],pointClass:h,pointValKey:"value",
-redrawHalo:y.redrawHalo,requireSorting:!1,searchPoint:c.noop,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"]});g.registerSeriesType("packedbubble",e);"";"";return e});z(e,"Extensions/Polar.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Extensions/Pane.js"],e["Core/Pointer.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(e,c,h,g,a,u,d,r,n){var x=e.animObject;
-d=d.seriesTypes;var b=n.addEvent,k=n.defined,l=n.find,t=n.isNumber,w=n.pick,z=n.splat,B=n.uniqueKey;e=n.wrap;var G=u.prototype;a=a.prototype;G.searchPointByAngle=function(a){var b=this.chart,c=this.xAxis.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(a.chartX-c[0]-b.plotLeft,a.chartY-c[1]-b.plotTop)})};G.getConnectors=function(a,b,c,d){var e=d?1:0;var f=0<=b&&b<=a.length-1?b:0>b?a.length-1+b:0;b=0>f-1?a.length-(1+e):f-1;e=f+1>a.length-1?e:f+1;var g=a[b];e=a[e];var h=g.plotX;
-g=g.plotY;var k=e.plotX;var l=e.plotY;e=a[f].plotX;f=a[f].plotY;h=(1.5*e+h)/2.5;g=(1.5*f+g)/2.5;k=(1.5*e+k)/2.5;var p=(1.5*f+l)/2.5;l=Math.sqrt(Math.pow(h-e,2)+Math.pow(g-f,2));var v=Math.sqrt(Math.pow(k-e,2)+Math.pow(p-f,2));h=Math.atan2(g-f,h-e);p=Math.PI/2+(h+Math.atan2(p-f,k-e))/2;Math.abs(h-p)>Math.PI/2&&(p-=Math.PI);h=e+Math.cos(p)*l;g=f+Math.sin(p)*l;k=e+Math.cos(Math.PI+p)*v;p=f+Math.sin(Math.PI+p)*v;e={rightContX:k,rightContY:p,leftContX:h,leftContY:g,plotX:e,plotY:f};c&&(e.prevPointCont=
-this.getConnectors(a,b,!1,d));return e};G.toXY=function(a){var b=this.chart,c=this.xAxis;var d=this.yAxis;var e=a.plotX,g=a.plotY,h=a.series,k=b.inverted,l=a.y,p=k?e:d.len-g;k&&h&&!h.isRadialBar&&(a.plotY=g="number"===typeof l?d.translate(l)||0:0);a.rectPlotX=e;a.rectPlotY=g;d.center&&(p+=d.center[3]/2);d=k?d.postTranslate(g,p):c.postTranslate(e,p);a.plotX=a.polarPlotX=d.x-b.plotLeft;a.plotY=a.polarPlotY=d.y-b.plotTop;this.kdByAngle?(b=(e/Math.PI*180+c.pane.options.startAngle)%360,0>b&&(b+=360),a.clientX=
-b):a.clientX=a.plotX};d.spline&&(e(d.spline.prototype,"getPointSpline",function(a,b,c,d){this.chart.polar?d?(a=this.getConnectors(b,d,!0,this.connectEnds),a=["C",a.prevPointCont.rightContX,a.prevPointCont.rightContY,a.leftContX,a.leftContY,a.plotX,a.plotY]):a=["M",c.plotX,c.plotY]:a=a.call(this,b,c,d);return a}),d.areasplinerange&&(d.areasplinerange.prototype.getPointSpline=d.spline.prototype.getPointSpline));b(u,"afterTranslate",function(){var a=this.chart;if(a.polar&&this.xAxis){(this.kdByAngle=
-a.tooltip&&a.tooltip.shared)?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy";if(!this.preventPostTranslate)for(var c=this.points,d=c.length;d--;)this.toXY(c[d]),!a.hasParallelCoordinates&&!this.yAxis.reversed&&c[d].y<this.yAxis.min&&(c[d].isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(b(this,"afterRender",function(){if(a.polar){var b=this.yAxis.pane.center;this.clipCircle?this.clipCircle.animate({x:b[0],y:b[1],r:b[2]/2,innerR:b[3]/
-2}):this.clipCircle=a.renderer.clipCircle(b[0],b[1],b[2]/2,b[3]/2);this.group.clip(this.clipCircle);this.setClip=h.noop}})))}},{order:2});e(d.line.prototype,"getGraphPath",function(a,b){var c=this,d;if(this.chart.polar){b=b||this.points;for(d=0;d<b.length;d++)if(!b[d].isNull){var e=d;break}if(!1!==this.options.connectEnds&&"undefined"!==typeof e){this.connectEnds=!0;b.splice(b.length,0,b[e]);var f=!0}b.forEach(function(a){"undefined"===typeof a.polarPlotY&&c.toXY(a)})}d=a.apply(this,[].slice.call(arguments,
-1));f&&b.pop();return d});var y=function(a,b){var c=this,d=this.chart,e=this.options.animation,f=this.group,g=this.markerGroup,k=this.xAxis.center,l=d.plotLeft,p=d.plotTop,n,q,r,t;if(d.polar)if(c.isRadialBar)b||(c.startAngleRad=w(c.translatedThreshold,c.xAxis.startAngleRad),h.seriesTypes.pie.prototype.animate.call(c,b));else{if(d.renderer.isSVG)if(e=x(e),c.is("column")){if(!b){var u=k[3]/2;c.points.forEach(function(a){n=a.graphic;r=(q=a.shapeArgs)&&q.r;t=q&&q.innerR;n&&q&&(n.attr({r:u,innerR:u}),
-n.animate({r:r,innerR:t},c.options.animation))})}}else b?(a={translateX:k[0]+l,translateY:k[1]+p,scaleX:.001,scaleY:.001},f.attr(a),g&&g.attr(a)):(a={translateX:l,translateY:p,scaleX:1,scaleY:1},f.animate(a,e),g&&g.animate(a,e))}else a.call(this,b)};e(G,"animate",y);if(d.column){var q=d.arearange.prototype;d=d.column.prototype;d.polarArc=function(a,b,c,d){var e=this.xAxis.center,f=this.yAxis.len,g=e[3]/2;b=f-b+g;a=f-w(a,f)+g;this.yAxis.reversed&&(0>b&&(b=g),0>a&&(a=g));return{x:e[0],y:e[1],r:b,innerR:a,
-start:c,end:d}};e(d,"animate",y);e(d,"translate",function(a){var b=this.options,c=b.stacking,d=this.chart,e=this.xAxis,g=this.yAxis,h=g.reversed,l=g.center,p=e.startAngleRad,q=e.endAngleRad-p;this.preventPostTranslate=!0;a.call(this);if(e.isRadial){a=this.points;e=a.length;var r=g.translate(g.min);var u=g.translate(g.max);b=b.threshold||0;if(d.inverted&&t(b)){var w=g.translate(b);k(w)&&(0>w?w=0:w>q&&(w=q),this.translatedThreshold=w+p)}for(;e--;){b=a[e];var x=b.barX;var y=b.x;var z=b.y;b.shapeType=
-"arc";if(d.inverted){b.plotY=g.translate(z);if(c&&g.stacking){if(z=g.stacking.stacks[(0>z?"-":"")+this.stackKey],this.visible&&z&&z[y]&&!b.isNull){var B=z[y].points[this.getStackIndicator(void 0,y,this.index).key];var F=g.translate(B[0]);B=g.translate(B[1]);k(F)&&(F=n.clamp(F,0,q))}}else F=w,B=b.plotY;F>B&&(B=[F,F=B][0]);if(!h)if(F<r)F=r;else if(B>u)B=u;else{if(B<r||F>u)F=B=0}else if(B>r)B=r;else if(F<u)F=u;else if(F>r||B<u)F=B=q;g.min>g.max&&(F=B=h?q:0);F+=p;B+=p;l&&(b.barX=x+=l[3]/2);y=Math.max(x,
-0);z=Math.max(x+b.pointWidth,0);b.shapeArgs={x:l&&l[0],y:l&&l[1],r:z,innerR:y,start:F,end:B};b.opacity=F===B?0:void 0;b.plotY=(k(this.translatedThreshold)&&(F<this.translatedThreshold?F:B))-p}else F=x+p,b.shapeArgs=this.polarArc(b.yBottom,b.plotY,F,F+b.pointWidth);this.toXY(b);d.inverted?(x=g.postTranslate(b.rectPlotY,x+b.pointWidth/2),b.tooltipPos=[x.x-d.plotLeft,x.y-d.plotTop]):b.tooltipPos=[b.plotX,b.plotY];l&&(b.ttBelow=b.plotY>l[1])}}});d.findAlignments=function(a,b){null===b.align&&(b.align=
-20<a&&160>a?"left":200<a&&340>a?"right":"center");null===b.verticalAlign&&(b.verticalAlign=45>a||315<a?"bottom":135<a&&225>a?"top":"middle");return b};q&&(q.findAlignments=d.findAlignments);e(d,"alignDataLabel",function(a,b,c,d,e,g){var f=this.chart,h=w(d.inside,!!this.options.stacking);f.polar?(a=b.rectPlotX/Math.PI*180,f.inverted?(this.forceDL=f.isInsidePlot(b.plotX,Math.round(b.plotY),!1),h&&b.shapeArgs?(e=b.shapeArgs,e=this.yAxis.postTranslate((e.start+e.end)/2-this.xAxis.startAngleRad,b.barX+
-b.pointWidth/2),e={x:e.x-f.plotLeft,y:e.y-f.plotTop}):b.tooltipPos&&(e={x:b.tooltipPos[0],y:b.tooltipPos[1]}),d.align=w(d.align,"center"),d.verticalAlign=w(d.verticalAlign,"middle")):this.findAlignments&&(d=this.findAlignments(a,d)),G.alignDataLabel.call(this,b,c,d,e,g),this.isRadialBar&&b.shapeArgs&&b.shapeArgs.start===b.shapeArgs.end&&c.hide(!0)):a.call(this,b,c,d,e,g)})}e(a,"getCoordinates",function(a,b){var c=this.chart,d={xAxis:[],yAxis:[]};c.polar?c.axes.forEach(function(a){var e=a.isXAxis,
-f=a.center;if("colorAxis"!==a.coll){var g=b.chartX-f[0]-c.plotLeft;f=b.chartY-f[1]-c.plotTop;d[e?"xAxis":"yAxis"].push({axis:a,value:a.translate(e?Math.PI-Math.atan2(g,f):Math.sqrt(Math.pow(g,2)+Math.pow(f,2)),!0)})}}):d=a.call(this,b);return d});r.prototype.clipCircle=function(a,b,c,d){var e=B(),f=this.createElement("clipPath").attr({id:e}).add(this.defs);a=d?this.arc(a,b,c,d,0,2*Math.PI).add(f):this.circle(a,b,c).add(f);a.id=e;a.clipPath=f;return a};b(c,"getAxes",function(){this.pane||(this.pane=
-[]);z(this.options.pane).forEach(function(a){new g(a,this)},this)});b(c,"afterDrawChartBox",function(){this.pane.forEach(function(a){a.render()})});b(u,"afterInit",function(){var a=this.chart;a.inverted&&a.polar&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0))});e(c.prototype,"get",function(a,b){return l(this.pane||[],function(a){return a.options.id===b})||a.call(this,b)})});z(e,"masters/highcharts-more.src.js",[],function(){})});
+(function(e){"object"===typeof module&&module.exports?(e["default"]=e,module.exports=e):"function"===typeof define&&define.amd?define("highcharts/highcharts-more",["highcharts"],function(z){e(z);e.Highcharts=z;return e}):e("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(e){function z(e,d,h,c){e.hasOwnProperty(d)||(e[d]=c.apply(null,h))}e=e?e._modules:{};z(e,"Extensions/Pane.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Pointer.js"],e["Core/Utilities.js"],
+e["Mixins/CenteredSeries.js"]],function(e,d,h,c,a,n){function k(b,a,f){return Math.sqrt(Math.pow(b-f[0],2)+Math.pow(a-f[1],2))<=f[2]/2}var t=a.addEvent,q=a.extend,y=a.merge,b=a.pick,f=a.splat;e.prototype.collectionsWithUpdate.push("pane");a=function(){function b(b,a){this.options=this.chart=this.center=this.background=void 0;this.coll="pane";this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0};this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:h.neutralColor20,
+backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,h.backgroundColor],[1,h.neutralColor10]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"};this.init(b,a)}b.prototype.init=function(b,a){this.chart=a;this.background=[];a.pane.push(this);this.setOptions(b)};b.prototype.setOptions=function(b){this.options=y(this.defaultOptions,this.chart.angular?{background:{}}:void 0,b)};b.prototype.render=function(){var b=this.options,a=this.options.background,m=this.chart.renderer;
+this.group||(this.group=m.g("pane-group").attr({zIndex:b.zIndex||0}).add());this.updateCenter();if(a)for(a=f(a),b=Math.max(a.length,this.background.length||0),m=0;m<b;m++)a[m]&&this.axis?this.renderBackground(y(this.defaultBackgroundOptions,a[m]),m):this.background[m]&&(this.background[m]=this.background[m].destroy(),this.background.splice(m,1))};b.prototype.renderBackground=function(b,a){var f="animate",m={"class":"highcharts-pane "+(b.className||"")};this.chart.styledMode||q(m,{fill:b.backgroundColor,
+stroke:b.borderColor,"stroke-width":b.borderWidth});this.background[a]||(this.background[a]=this.chart.renderer.path().add(this.group),f="attr");this.background[a][f]({d:this.axis.getPlotBandPath(b.from,b.to,b)}).attr(m)};b.prototype.updateCenter=function(b){this.center=(b||this.axis||{}).center=n.getCenter.call(this)};b.prototype.update=function(b,a){y(!0,this.options,b);y(!0,this.chart.options.pane,b);this.setOptions(this.options);this.render();this.chart.axes.forEach(function(b){b.pane===this&&
+(b.pane=null,b.update({},a))},this)};return b}();e.prototype.getHoverPane=function(b){var a=this,f;b&&a.pane.forEach(function(m){var M=b.chartX-a.plotLeft,d=b.chartY-a.plotTop;k(a.inverted?d:M,a.inverted?M:d,m.center)&&(f=m)});return f};t(e,"afterIsInsidePlot",function(b){this.polar&&(b.isInsidePlot=this.pane.some(function(a){return k(b.x,b.y,a.center)}))});t(c,"beforeGetHoverData",function(a){var f=this.chart;f.polar?(f.hoverPane=f.getHoverPane(a),a.filter=function(m){return m.visible&&!(!a.shared&&
+m.directTouch)&&b(m.options.enableMouseTracking,!0)&&(!f.hoverPane||m.xAxis.pane===f.hoverPane)}):f.hoverPane=void 0});t(c,"afterGetHoverData",function(b){var a=this.chart;b.hoverPoint&&b.hoverPoint.plotX&&b.hoverPoint.plotY&&a.hoverPane&&!k(b.hoverPoint.plotX,b.hoverPoint.plotY,a.hoverPane.center)&&(b.hoverPoint=void 0)});d.Pane=a;return d.Pane});z(e,"Core/Axis/HiddenAxis.js",[],function(){return function(){function e(){}e.init=function(d){d.getOffset=function(){};d.redraw=function(){this.isDirty=
+!1};d.render=function(){this.isDirty=!1};d.createLabelCollector=function(){return function(){}};d.setScale=function(){};d.setCategories=function(){};d.setTitle=function(){};d.isHidden=!0};return e}()});z(e,"Core/Axis/RadialAxis.js",[e["Core/Axis/Axis.js"],e["Core/Axis/Tick.js"],e["Core/Axis/HiddenAxis.js"],e["Core/Utilities.js"]],function(e,d,h,c){var a=c.addEvent,n=c.correctFloat,k=c.defined,t=c.extend,q=c.fireEvent,y=c.merge,b=c.pick,f=c.relativeLength,m=c.wrap;c=function(){function d(){}d.init=
+function(a){var m=e.prototype;a.setOptions=function(b){b=this.options=y(a.constructor.defaultOptions,this.defaultPolarOptions,b);b.plotBands||(b.plotBands=[]);q(this,"afterSetOptions")};a.getOffset=function(){m.getOffset.call(this);this.chart.axisOffset[this.side]=0};a.getLinePath=function(a,f,u){a=this.pane.center;var r=this.chart,l=b(f,a[2]/2-this.offset),g=this.left||0,x=this.top||0;"undefined"===typeof u&&(u=this.horiz?0:this.center&&-this.center[3]/2);u&&(l+=u);this.isCircular||"undefined"!==
+typeof f?(f=this.chart.renderer.symbols.arc(g+a[0],x+a[1],l,l,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0}),f.xBounds=[g+a[0]],f.yBounds=[x+a[1]-l]):(f=this.postTranslate(this.angleRad,l),f=[["M",this.center[0]+r.plotLeft,this.center[1]+r.plotTop],["L",f.x,f.y]]);return f};a.setAxisTranslation=function(){m.setAxisTranslation.call(this);this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-
+this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)};a.beforeSetTickPositions=function(){this.autoConnect=this.isCircular&&"undefined"===typeof b(this.userMax,this.options.max)&&n(this.endAngleRad-this.startAngleRad)===n(2*Math.PI);!this.isCircular&&this.chart.inverted&&this.max++;this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)};a.setAxisSize=function(){m.setAxisSize.call(this);if(this.isRadial){this.pane.updateCenter(this);
+var a=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var f=this.postTranslate(this.angleRad,a[3]/2);a[0]=f.x-this.chart.plotLeft;a[1]=f.y-this.chart.plotTop}this.len=this.width=this.height=(a[2]-a[3])*b(this.sector,1)/2}};a.getPosition=function(a,f){a=this.translate(a);return this.postTranslate(this.isCircular?a:this.angleRad,b(this.isCircular?f:0>a?0:a,this.center[2]/2)-this.offset)};a.postTranslate=function(b,a){var f=this.chart,r=this.center;
+b=this.startAngleRad+b;return{x:f.plotLeft+r[0]+Math.cos(b)*a,y:f.plotTop+r[1]+Math.sin(b)*a}};a.getPlotBandPath=function(a,f,u){var r=function(g){if("string"===typeof g){var l=parseInt(g,10);m.test(g)&&(l=l*x/100);return l}return g},l=this.center,g=this.startAngleRad,x=l[2]/2,p=Math.min(this.offset,0),C=this.left||0,A=this.top||0,m=/%$/;var d=this.isCircular;var k=b(r(u.outerRadius),x),c=r(u.innerRadius);r=b(r(u.thickness),10);if("polygon"===this.options.gridLineInterpolation)p=this.getPlotLinePath({value:a}).concat(this.getPlotLinePath({value:f,
+reverse:!0}));else{a=Math.max(a,this.min);f=Math.min(f,this.max);a=this.translate(a);f=this.translate(f);d||(k=a||0,c=f||0);if("circle"!==u.shape&&d)u=g+(a||0),g+=f||0;else{u=-Math.PI/2;g=1.5*Math.PI;var h=!0}k-=p;p=this.chart.renderer.symbols.arc(C+l[0],A+l[1],k,k,{start:Math.min(u,g),end:Math.max(u,g),innerR:b(c,k-(r-p)),open:h});d&&(d=(g+u)/2,C=C+l[0]+l[2]/2*Math.cos(d),p.xBounds=d>-Math.PI/2&&d<Math.PI/2?[C,this.chart.plotWidth]:[0,C],p.yBounds=[A+l[1]+l[2]/2*Math.sin(d)],p.yBounds[0]+=d>-Math.PI&&
+0>d||d>Math.PI?-10:10)}return p};a.getCrosshairPosition=function(b,a,f){var r=b.value,l=this.pane.center;if(this.isCircular){if(k(r))b.point&&(g=b.point.shapeArgs||{},g.start&&(r=this.chart.inverted?this.translate(b.point.rectPlotY,!0):b.point.x));else{var g=b.chartX||0;var x=b.chartY||0;r=this.translate(Math.atan2(x-f,g-a)-this.startAngleRad,!0)}b=this.getPosition(r);g=b.x;x=b.y}else k(r)||(g=b.chartX,x=b.chartY),k(g)&&k(x)&&(f=l[1]+this.chart.plotTop,r=this.translate(Math.min(Math.sqrt(Math.pow(g-
+a,2)+Math.pow(x-f,2)),l[2]/2)-l[3]/2,!0));return[r,g||0,x||0]};a.getPlotLinePath=function(b){var a=this,u=a.pane.center,r=a.chart,l=r.inverted,g=b.value,x=b.reverse,p=a.getPosition(g),C=a.pane.options.background?a.pane.options.background[0]||a.pane.options.background:{},A=C.innerRadius||"0%",d=C.outerRadius||"100%";C=u[0]+r.plotLeft;var m=u[1]+r.plotTop,k=p.x,c=p.y,h=a.height;p=u[3]/2;var t;b.isCrosshair&&(c=this.getCrosshairPosition(b,C,m),g=c[0],k=c[1],c=c[2]);if(a.isCircular)g=Math.sqrt(Math.pow(k-
+C,2)+Math.pow(c-m,2)),x="string"===typeof A?f(A,1):A/g,r="string"===typeof d?f(d,1):d/g,u&&p&&(g=p/g,x<g&&(x=g),r<g&&(r=g)),u=[["M",C+x*(k-C),m-x*(m-c)],["L",k-(1-r)*(k-C),c+(1-r)*(m-c)]];else if((g=a.translate(g))&&(0>g||g>h)&&(g=0),"circle"===a.options.gridLineInterpolation)u=a.getLinePath(0,g,p);else if(u=[],r[l?"yAxis":"xAxis"].forEach(function(g){g.pane===a.pane&&(t=g)}),t)for(C=t.tickPositions,t.autoConnect&&(C=C.concat([C[0]])),x&&(C=C.slice().reverse()),g&&(g+=p),k=0;k<C.length;k++)m=t.getPosition(C[k],
+g),u.push(k?["L",m.x,m.y]:["M",m.x,m.y]);return u};a.getTitlePosition=function(){var b=this.center,a=this.chart,f=this.options.title;return{x:a.plotLeft+b[0]+(f.x||0),y:a.plotTop+b[1]-{high:.5,middle:.25,low:0}[f.align]*b[2]+(f.y||0)}};a.createLabelCollector=function(){var b=this;return function(){if(b.isRadial&&b.tickPositions&&!0!==b.options.labels.allowOverlap)return b.tickPositions.map(function(a){return b.ticks[a]&&b.ticks[a].label}).filter(function(b){return!!b})}}};d.compose=function(c,e){a(c,
+"init",function(b){var a=this.chart,f=a.inverted,r=a.angular,l=a.polar,g=this.isXAxis,x=this.coll,p=r&&g,C,A=a.options;b=b.userOptions.pane||0;b=this.pane=a.pane&&a.pane[b];if("colorAxis"===x)this.isRadial=!1;else{if(r){if(p?h.init(this):d.init(this),C=!g)this.defaultPolarOptions=d.defaultRadialGaugeOptions}else l&&(d.init(this),this.defaultPolarOptions=(C=this.horiz)?d.defaultCircularOptions:y("xAxis"===x?c.defaultOptions:c.defaultYAxisOptions,d.defaultRadialOptions),f&&"yAxis"===x&&(this.defaultPolarOptions.stackLabels=
+c.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0));r||l?(this.isRadial=!0,A.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&a.labelCollectors.push(this.labelCollector)):this.isRadial=!1;b&&C&&(b.axis=this);this.isCircular=C}});a(c,"afterInit",function(){var a=this.chart,f=this.options,u=this.pane,r=u&&u.options;a.angular&&this.isXAxis||!u||!a.angular&&!a.polar||(this.angleRad=(f.angle||0)*Math.PI/180,this.startAngleRad=
+(r.startAngle-90)*Math.PI/180,this.endAngleRad=(b(r.endAngle,r.startAngle+360)-90)*Math.PI/180,this.offset=f.offset||0)});a(c,"autoLabelAlign",function(b){this.isRadial&&(b.align=void 0,b.preventDefault())});a(c,"destroy",function(){if(this.chart&&this.chart.labelCollectors){var b=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=b&&this.chart.labelCollectors.splice(b,1)}});a(c,"initialAxisTranslation",function(){this.isRadial&&this.beforeSetTickPositions()});a(e,"afterGetPosition",
+function(b){this.axis.getPosition&&t(b.pos,this.axis.getPosition(this.pos))});a(e,"afterGetLabelPosition",function(a){var m=this.axis,u=this.label;if(u){var r=u.getBBox(),l=m.options.labels,g=l.y,x=20,p=l.align,C=(m.translate(this.pos)+m.startAngleRad+Math.PI/2)/Math.PI*180%360,A=Math.round(C),d="end",c=0>A?A+360:A,h=c,t=0,e=0,y=k(g)?0:.3*-r.height;if(m.isRadial){var q=m.getPosition(this.pos,m.center[2]/2+f(b(l.distance,-25),m.center[2]/2,-m.center[2]/2));"auto"===l.rotation?u.attr({rotation:C}):
+k(g)||(g=m.chart.renderer.fontMetrics(u.styles&&u.styles.fontSize).b-r.height/2);k(p)||(m.isCircular?(r.width>m.len*m.tickInterval/(m.max-m.min)&&(x=0),p=C>x&&C<180-x?"left":C>180+x&&C<360-x?"right":"center"):p="center",u.attr({align:p}));if("auto"===p&&2===m.tickPositions.length&&m.isCircular){90<c&&180>c?c=180-c:270<c&&360>=c&&(c=540-c);180<h&&360>=h&&(h=360-h);if(m.pane.options.startAngle===A||m.pane.options.startAngle===A+360||m.pane.options.startAngle===A-360)d="start";p=-90<=A&&90>=A||-360<=
+A&&-270>=A||270<=A&&360>=A?"start"===d?"right":"left":"start"===d?"left":"right";70<h&&110>h&&(p="center");15>c||180<=c&&195>c?t=.3*r.height:15<=c&&35>=c?t="start"===d?0:.75*r.height:195<=c&&215>=c?t="start"===d?.75*r.height:0:35<c&&90>=c?t="start"===d?.25*-r.height:r.height:215<c&&270>=c&&(t="start"===d?r.height:.25*-r.height);15>h?e="start"===d?.15*-r.height:.15*r.height:165<h&&180>=h&&(e="start"===d?.15*r.height:.15*-r.height);u.attr({align:p});u.translate(e,t+y)}a.pos.x=q.x+(l.x||0);a.pos.y=q.y+
+(g||0)}}});m(e.prototype,"getMarkPath",function(b,a,f,r,l,g,x){var p=this.axis;p.isRadial?(b=p.getPosition(this.pos,p.center[2]/2+r),a=["M",a,f,"L",b.x,b.y]):a=b.call(this,a,f,r,l,g,x);return a})};d.defaultCircularOptions={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0};d.defaultRadialGaugeOptions={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,
+minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2};d.defaultRadialOptions={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};return d}();c.compose(e,d);return c});z(e,"Series/AreaRange/AreaRangePoint.js",[e["Series/Area/AreaSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,d,h){var c=this&&this.__extends||function(){var a=function(d,
+c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var f in a)a.hasOwnProperty(f)&&(b[f]=a[f])};return a(d,c)};return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),a=d.prototype,n=h.defined,k=h.isNumber;return function(d){function h(){var a=null!==d&&d.apply(this,arguments)||this;a.high=void 0;a.low=void 0;a.options=void 0;a.plotHigh=void 0;a.plotLow=void 0;a.plotHighX=
+void 0;a.plotLowX=void 0;a.plotX=void 0;a.series=void 0;return a}c(h,d);h.prototype.setState=function(){var d=this.state,b=this.series,f=b.chart.polar;n(this.plotHigh)||(this.plotHigh=b.yAxis.toPixels(this.high,!0));n(this.plotLow)||(this.plotLow=this.plotY=b.yAxis.toPixels(this.low,!0));b.stateMarkerGraphic&&(b.lowerStateMarkerGraphic=b.stateMarkerGraphic,b.stateMarkerGraphic=b.upperStateMarkerGraphic);this.graphic=this.upperGraphic;this.plotY=this.plotHigh;f&&(this.plotX=this.plotHighX);a.setState.apply(this,
+arguments);this.state=d;this.plotY=this.plotLow;this.graphic=this.lowerGraphic;f&&(this.plotX=this.plotLowX);b.stateMarkerGraphic&&(b.upperStateMarkerGraphic=b.stateMarkerGraphic,b.stateMarkerGraphic=b.lowerStateMarkerGraphic,b.lowerStateMarkerGraphic=void 0);a.setState.apply(this,arguments)};h.prototype.haloPath=function(){var d=this.series.chart.polar,b=[];this.plotY=this.plotLow;d&&(this.plotX=this.plotLowX);this.isInside&&(b=a.haloPath.apply(this,arguments));this.plotY=this.plotHigh;d&&(this.plotX=
+this.plotHighX);this.isTopInside&&(b=b.concat(a.haloPath.apply(this,arguments)));return b};h.prototype.isValid=function(){return k(this.low)&&k(this.high)};return h}(e.prototype.pointClass)});z(e,"Series/AreaRange/AreaRangeSeries.js",[e["Series/AreaRange/AreaRangePoint.js"],e["Series/Area/AreaSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,c,a,n,k){var t=this&&this.__extends||function(){var b=
+function(a,f){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,l){b.__proto__=l}||function(b,l){for(var g in l)l.hasOwnProperty(g)&&(b[g]=l[g])};return b(a,f)};return function(a,f){function r(){this.constructor=a}b(a,f);a.prototype=null===f?Object.create(f):(r.prototype=f.prototype,new r)}}(),q=d.prototype,y=h.prototype;h=c.noop;var b=a.prototype,f=k.defined,m=k.extend,v=k.isArray,w=k.pick,L=k.merge;a=function(a){function c(){var b=null!==a&&a.apply(this,arguments)||this;b.data=
+void 0;b.options=void 0;b.points=void 0;b.lowerStateMarkerGraphic=void 0;b.xAxis=void 0;return b}t(c,a);c.prototype.toYData=function(b){return[b.low,b.high]};c.prototype.highToXY=function(b){var a=this.chart,l=this.xAxis.postTranslate(b.rectPlotX||0,this.yAxis.len-b.plotHigh);b.plotHighX=l.x-a.plotLeft;b.plotHigh=l.y-a.plotTop;b.plotLowX=b.plotX};c.prototype.translate=function(){var b=this,a=b.yAxis,l=!!b.modifyValue;q.translate.apply(b);b.points.forEach(function(g){var x=g.high,p=g.plotY;g.isNull?
+g.plotY=null:(g.plotLow=p,g.plotHigh=a.translate(l?b.modifyValue(x,g):x,0,1,0,1),l&&(g.yBottom=g.plotHigh))});this.chart.polar&&this.points.forEach(function(g){b.highToXY(g);g.tooltipPos=[(g.plotHighX+g.plotLowX)/2,(g.plotHigh+g.plotLow)/2]})};c.prototype.getGraphPath=function(b){var a=[],l=[],g,x=q.getGraphPath;var p=this.options;var C=this.chart.polar,f=C&&!1!==p.connectEnds,d=p.connectNulls,m=p.step;b=b||this.points;for(g=b.length;g--;){var c=b[g];var k=C?{plotX:c.rectPlotX,plotY:c.yBottom,doCurve:!1}:
+{plotX:c.plotX,plotY:c.plotY,doCurve:!1};c.isNull||f||d||b[g+1]&&!b[g+1].isNull||l.push(k);var h={polarPlotY:c.polarPlotY,rectPlotX:c.rectPlotX,yBottom:c.yBottom,plotX:w(c.plotHighX,c.plotX),plotY:c.plotHigh,isNull:c.isNull};l.push(h);a.push(h);c.isNull||f||d||b[g-1]&&!b[g-1].isNull||l.push(k)}b=x.call(this,b);m&&(!0===m&&(m="left"),p.step={left:"right",center:"center",right:"left"}[m]);a=x.call(this,a);l=x.call(this,l);p.step=m;p=[].concat(b,a);!this.chart.polar&&l[0]&&"M"===l[0][0]&&(l[0]=["L",
+l[0][1],l[0][2]]);this.graphPath=p;this.areaPath=b.concat(l);p.isArea=!0;p.xMap=b.xMap;this.areaPath.xMap=b.xMap;return p};c.prototype.drawDataLabels=function(){var a=this.points,f=a.length,l,g=[],x=this.options.dataLabels,p,C=this.chart.inverted;if(x){if(v(x)){var A=x[0]||{enabled:!1};var c=x[1]||{enabled:!1}}else A=m({},x),A.x=x.xHigh,A.y=x.yHigh,c=m({},x),c.x=x.xLow,c.y=x.yLow;if(A.enabled||this._hasPointLabels){for(l=f;l--;)if(p=a[l]){var d=A.inside?p.plotHigh<p.plotLow:p.plotHigh>p.plotLow;p.y=
+p.high;p._plotY=p.plotY;p.plotY=p.plotHigh;g[l]=p.dataLabel;p.dataLabel=p.dataLabelUpper;p.below=d;C?A.align||(A.align=d?"right":"left"):A.verticalAlign||(A.verticalAlign=d?"top":"bottom")}this.options.dataLabels=A;b.drawDataLabels&&b.drawDataLabels.apply(this,arguments);for(l=f;l--;)if(p=a[l])p.dataLabelUpper=p.dataLabel,p.dataLabel=g[l],delete p.dataLabels,p.y=p.low,p.plotY=p._plotY}if(c.enabled||this._hasPointLabels){for(l=f;l--;)if(p=a[l])d=c.inside?p.plotHigh<p.plotLow:p.plotHigh>p.plotLow,p.below=
+!d,C?c.align||(c.align=d?"left":"right"):c.verticalAlign||(c.verticalAlign=d?"bottom":"top");this.options.dataLabels=c;b.drawDataLabels&&b.drawDataLabels.apply(this,arguments)}if(A.enabled)for(l=f;l--;)if(p=a[l])p.dataLabels=[p.dataLabelUpper,p.dataLabel].filter(function(g){return!!g});this.options.dataLabels=x}};c.prototype.alignDataLabel=function(){y.alignDataLabel.apply(this,arguments)};c.prototype.drawPoints=function(){var a=this.points.length,r;b.drawPoints.apply(this,arguments);for(r=0;r<a;){var l=
+this.points[r];l.origProps={plotY:l.plotY,plotX:l.plotX,isInside:l.isInside,negative:l.negative,zone:l.zone,y:l.y};l.lowerGraphic=l.graphic;l.graphic=l.upperGraphic;l.plotY=l.plotHigh;f(l.plotHighX)&&(l.plotX=l.plotHighX);l.y=w(l.high,l.origProps.y);l.negative=l.y<(this.options.threshold||0);this.zones.length&&(l.zone=l.getZone());this.chart.polar||(l.isInside=l.isTopInside="undefined"!==typeof l.plotY&&0<=l.plotY&&l.plotY<=this.yAxis.len&&0<=l.plotX&&l.plotX<=this.xAxis.len);r++}b.drawPoints.apply(this,
+arguments);for(r=0;r<a;)l=this.points[r],l.upperGraphic=l.graphic,l.graphic=l.lowerGraphic,l.origProps&&(m(l,l.origProps),delete l.origProps),r++};c.defaultOptions=L(d.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}});return c}(d);m(a.prototype,{pointArrayMap:["low","high"],pointValKey:"low",
+deferTranslatePolar:!0,pointClass:e,setStackedPoints:h});n.registerSeriesType("arearange",a);"";return a});z(e,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[e["Series/AreaRange/AreaRangeSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var c=this&&this.__extends||function(){var a=function(c,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var f in a)a.hasOwnProperty(f)&&(b[f]=a[f])};return a(c,d)};
+return function(c,d){function b(){this.constructor=c}a(c,d);c.prototype=null===d?Object.create(d):(b.prototype=d.prototype,new b)}}(),a=d.seriesTypes.spline,n=h.merge;h=h.extend;var k=function(a){function d(){var c=null!==a&&a.apply(this,arguments)||this;c.options=void 0;c.data=void 0;c.points=void 0;return c}c(d,a);d.defaultOptions=n(e.defaultOptions);return d}(e);h(k.prototype,{getPointSpline:a.prototype.getPointSpline});d.registerSeriesType("areasplinerange",k);"";return k});z(e,"Series/ColumnRange/ColumnRangePoint.js",
+[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var a=function(c,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return a(c,d)};return function(c,d){function k(){this.constructor=c}a(c,d);c.prototype=null===d?Object.create(d):(k.prototype=d.prototype,new k)}}(),c=e.seriesTypes;e=c.column.prototype.pointClass;var a=d.extend,n=d.isNumber;
+d=function(a){function c(){var c=null!==a&&a.apply(this,arguments)||this;c.series=void 0;c.options=void 0;c.barX=void 0;c.pointWidth=void 0;c.shapeType=void 0;return c}h(c,a);c.prototype.isValid=function(){return n(this.low)};return c}(c.arearange.prototype.pointClass);a(d.prototype,{setState:e.prototype.setState});return d});z(e,"Series/ColumnRange/ColumnRangeSeries.js",[e["Series/ColumnRange/ColumnRangePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,
+d,h,c){var a=this&&this.__extends||function(){var b=function(a,f){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var f in a)a.hasOwnProperty(f)&&(b[f]=a[f])};return b(a,f)};return function(a,f){function c(){this.constructor=a}b(a,f);a.prototype=null===f?Object.create(f):(c.prototype=f.prototype,new c)}}();d=d.noop;var n=h.seriesTypes,k=n.arearange,t=n.column,q=t.prototype,y=k.prototype,b=c.clamp,f=c.merge,m=c.pick;c=c.extend;var v={pointRange:null,
+marker:null,states:{hover:{halo:!1}}};n=function(c){function d(){var b=null!==c&&c.apply(this,arguments)||this;b.data=void 0;b.points=void 0;b.options=void 0;return b}a(d,c);d.prototype.setOptions=function(){f(!0,arguments[0],{stacking:void 0});return y.setOptions.apply(this,arguments)};d.prototype.translate=function(){var a=this,f=a.yAxis,c=a.xAxis,d=c.startAngleRad,l,g=a.chart,x=a.xAxis.isRadial,p=Math.max(g.chartWidth,g.chartHeight)+999,C;q.translate.apply(a);a.points.forEach(function(r){var A=
+r.shapeArgs||{},k=a.options.minPointLength;r.plotHigh=C=b(f.translate(r.high,0,1,0,1),-p,p);r.plotLow=b(r.plotY,-p,p);var h=C;var e=m(r.rectPlotY,r.plotY)-C;Math.abs(e)<k?(k-=e,e+=k,h-=k/2):0>e&&(e*=-1,h-=e);x?(l=r.barX+d,r.shapeType="arc",r.shapeArgs=a.polarArc(h+e,h,l,l+r.pointWidth)):(A.height=e,A.y=h,k=A.x,k=void 0===k?0:k,A=A.width,A=void 0===A?0:A,r.tooltipPos=g.inverted?[f.len+f.pos-g.plotLeft-h-e/2,c.len+c.pos-g.plotTop-k-A/2,e]:[c.left-g.plotLeft+k+A/2,f.pos-g.plotTop+h+e/2,e])})};d.prototype.crispCol=
+function(){return q.crispCol.apply(this,arguments)};d.prototype.drawPoints=function(){return q.drawPoints.apply(this,arguments)};d.prototype.drawTracker=function(){return q.drawTracker.apply(this,arguments)};d.prototype.getColumnMetrics=function(){return q.getColumnMetrics.apply(this,arguments)};d.prototype.pointAttribs=function(){return q.pointAttribs.apply(this,arguments)};d.prototype.adjustForMissingColumns=function(){return q.adjustForMissingColumns.apply(this,arguments)};d.prototype.animate=
+function(){return q.animate.apply(this,arguments)};d.prototype.translate3dPoints=function(){return q.translate3dPoints.apply(this,arguments)};d.prototype.translate3dShapes=function(){return q.translate3dShapes.apply(this,arguments)};d.defaultOptions=f(t.defaultOptions,k.defaultOptions,v);return d}(k);c(n.prototype,{directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:d,getSymbol:d,polarArc:function(){return q.polarArc.apply(this,arguments)},pointClass:e});h.registerSeriesType("columnrange",
+n);"";return n});z(e,"Series/ColumnPyramid/ColumnPyramidSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var c=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return a(c,b)};return function(c,b){function f(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(f.prototype=
+b.prototype,new f)}}(),a=e.prototype,n=h.clamp,k=h.merge,t=h.pick;h=function(d){function h(){var b=null!==d&&d.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}c(h,d);h.prototype.translate=function(){var b=this,c=b.chart,d=b.options,k=b.dense=2>b.closestPointRange*b.xAxis.transA;k=b.borderWidth=t(d.borderWidth,k?0:1);var h=b.yAxis,e=d.threshold,q=b.translatedThreshold=h.getThreshold(e),y=t(d.minPointLength,5),u=b.getColumnMetrics(),r=u.width,l=b.barW=Math.max(r,
+1+2*k),g=b.pointXOffset=u.offset;c.inverted&&(q-=.5);d.pointPadding&&(l=Math.ceil(l));a.translate.apply(b);b.points.forEach(function(a){var p=t(a.yBottom,q),f=999+Math.abs(p),x=n(a.plotY,-f,h.len+f);f=a.plotX+g;var m=l/2,k=Math.min(x,p);p=Math.max(x,p)-k;var u;a.barX=f;a.pointWidth=r;a.tooltipPos=c.inverted?[h.len+h.pos-c.plotLeft-x,b.xAxis.len-f-m,p]:[f+m,x+h.pos-c.plotTop,p];x=e+(a.total||a.y);"percent"===d.stacking&&(x=e+(0>a.y)?-100:100);x=h.toPixels(x,!0);var F=(u=c.plotHeight-x-(c.plotHeight-
+q))?m*(k-x)/u:0;var v=u?m*(k+p-x)/u:0;u=f-F+m;F=f+F+m;var w=f+v+m;v=f-v+m;var H=k-y;var G=k+p;0>a.y&&(H=k,G=k+p+y);c.inverted&&(w=c.plotWidth-k,u=x-(c.plotWidth-q),F=m*(x-w)/u,v=m*(x-(w-p))/u,u=f+m+F,F=u-2*F,w=f-v+m,v=f+v+m,H=k,G=k+p-y,0>a.y&&(G=k+p+y));a.shapeType="path";a.shapeArgs={x:u,y:H,width:F-u,height:p,d:[["M",u,H],["L",F,H],["L",w,G],["L",v,G],["Z"]]}})};h.defaultOptions=k(e.defaultOptions,{});return h}(e);d.registerSeriesType("columnpyramid",h);"";return h});z(e,"Series/Gauge/GaugePoint.js",
+[e["Core/Series/SeriesRegistry.js"]],function(e){var d=this&&this.__extends||function(){var d=function(c,a){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};return d(c,a)};return function(c,a){function h(){this.constructor=c}d(c,a);c.prototype=null===a?Object.create(a):(h.prototype=a.prototype,new h)}}();return function(h){function c(){var a=null!==h&&h.apply(this,arguments)||this;a.options=void 0;
+a.series=void 0;a.shapeArgs=void 0;return a}d(c,h);c.prototype.setState=function(a){this.state=a};return c}(e.series.prototype.pointClass)});z(e,"Series/Gauge/GaugeSeries.js",[e["Series/Gauge/GaugePoint.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,c,a){var n=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&
+(a[c]=b[c])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();d=d.noop;var k=c.series,t=c.seriesTypes.column,q=a.clamp,y=a.isNumber,b=a.extend,f=a.merge,m=a.pick,v=a.pInt;a=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.points=void 0;a.options=void 0;a.yAxis=void 0;return a}n(a,b);a.prototype.translate=function(){var a=this.yAxis,b=this.options,c=a.center;this.generatePoints();
+this.points.forEach(function(d){var l=f(b.dial,d.dial),g=v(m(l.radius,"80%"))*c[2]/200,x=v(m(l.baseLength,"70%"))*g/100,p=v(m(l.rearLength,"10%"))*g/100,r=l.baseWidth||3,A=l.topWidth||1,k=b.overshoot,h=a.startAngleRad+a.translate(d.y,null,null,null,!0);if(y(k)||!1===b.wrap)k=y(k)?k/180*Math.PI:0,h=q(h,a.startAngleRad-k,a.endAngleRad+k);h=180*h/Math.PI;d.shapeType="path";d.shapeArgs={d:l.path||[["M",-p,-r/2],["L",x,-r/2],["L",g,-A/2],["L",g,A/2],["L",x,r/2],["L",-p,r/2],["Z"]],translateX:c[0],translateY:c[1],
+rotation:h};d.plotX=c[0];d.plotY=c[1]})};a.prototype.drawPoints=function(){var a=this,b=a.chart,c=a.yAxis.center,d=a.pivot,l=a.options,g=l.pivot,x=b.renderer;a.points.forEach(function(g){var c=g.graphic,p=g.shapeArgs,d=p.d,r=f(l.dial,g.dial);c?(c.animate(p),p.d=d):g.graphic=x[g.shapeType](p).attr({rotation:p.rotation,zIndex:1}).addClass("highcharts-dial").add(a.group);if(!b.styledMode)g.graphic[c?"animate":"attr"]({stroke:r.borderColor||"none","stroke-width":r.borderWidth||0,fill:r.backgroundColor||
+h.neutralColor100})});d?d.animate({translateX:c[0],translateY:c[1]}):(a.pivot=x.circle(0,0,m(g.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(c[0],c[1]).add(a.group),b.styledMode||a.pivot.attr({"stroke-width":g.borderWidth||0,stroke:g.borderColor||h.neutralColor20,fill:g.backgroundColor||h.neutralColor100}))};a.prototype.animate=function(a){var b=this;a||b.points.forEach(function(a){var c=a.graphic;c&&(c.attr({rotation:180*b.yAxis.startAngleRad/Math.PI}),c.animate({rotation:a.shapeArgs.rotation},
+b.options.animation))})};a.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup);k.prototype.render.call(this);this.group.clip(this.chart.clipRect)};a.prototype.setData=function(a,b){k.prototype.setData.call(this,a,!1);this.processData();this.generatePoints();m(b,!0)&&this.chart.redraw()};a.prototype.hasData=function(){return!!this.points.length};a.defaultOptions=f(k.defaultOptions,{dataLabels:{borderColor:h.neutralColor20,
+borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1});return a}(k);b(a.prototype,{angular:!0,directTouch:!0,drawGraph:d,drawTracker:t.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:e,trackerGroups:["group","dataLabelsGroup"]});c.registerSeriesType("gauge",a);"";return a});z(e,"Series/BoxPlot/BoxPlotSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],
+e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,c,a){var n=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();d=d.noop;var k=a.extend,t=a.merge,q=a.pick;a=function(a){function b(){var b=
+null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}n(b,a);b.prototype.pointAttribs=function(){return{}};b.prototype.translate=function(){var b=this.yAxis,c=this.pointArrayMap;a.prototype.translate.apply(this);this.points.forEach(function(a){c.forEach(function(c){null!==a[c]&&(a[c+"Plot"]=b.translate(a[c],0,1,0,1))});a.plotHigh=a.highPlot})};b.prototype.drawPoints=function(){var a=this,b=a.options,c=a.chart,d=c.renderer,k,h,e,u,r,l,g=0,x,p,C,A,t=!1!==a.doQuartiles,
+n,y=a.options.whiskerLength;a.points.forEach(function(f){var m=f.graphic,J=m?"animate":"attr",v=f.shapeArgs,I={},F={},w={},K={},B=f.color||a.color;"undefined"!==typeof f.plotY&&(x=Math.round(v.width),p=Math.floor(v.x),C=p+x,A=Math.round(x/2),k=Math.floor(t?f.q1Plot:f.lowPlot),h=Math.floor(t?f.q3Plot:f.lowPlot),e=Math.floor(f.highPlot),u=Math.floor(f.lowPlot),m||(f.graphic=m=d.g("point").add(a.group),f.stem=d.path().addClass("highcharts-boxplot-stem").add(m),y&&(f.whiskers=d.path().addClass("highcharts-boxplot-whisker").add(m)),
+t&&(f.box=d.path(void 0).addClass("highcharts-boxplot-box").add(m)),f.medianShape=d.path(void 0).addClass("highcharts-boxplot-median").add(m)),c.styledMode||(F.stroke=f.stemColor||b.stemColor||B,F["stroke-width"]=q(f.stemWidth,b.stemWidth,b.lineWidth),F.dashstyle=f.stemDashStyle||b.stemDashStyle||b.dashStyle,f.stem.attr(F),y&&(w.stroke=f.whiskerColor||b.whiskerColor||B,w["stroke-width"]=q(f.whiskerWidth,b.whiskerWidth,b.lineWidth),w.dashstyle=f.whiskerDashStyle||b.whiskerDashStyle||b.dashStyle,f.whiskers.attr(w)),
+t&&(I.fill=f.fillColor||b.fillColor||B,I.stroke=b.lineColor||B,I["stroke-width"]=b.lineWidth||0,I.dashstyle=f.boxDashStyle||b.boxDashStyle||b.dashStyle,f.box.attr(I)),K.stroke=f.medianColor||b.medianColor||B,K["stroke-width"]=q(f.medianWidth,b.medianWidth,b.lineWidth),K.dashstyle=f.medianDashStyle||b.medianDashStyle||b.dashStyle,f.medianShape.attr(K)),l=f.stem.strokeWidth()%2/2,g=p+A+l,m=[["M",g,h],["L",g,e],["M",g,k],["L",g,u]],f.stem[J]({d:m}),t&&(l=f.box.strokeWidth()%2/2,k=Math.floor(k)+l,h=Math.floor(h)+
+l,p+=l,C+=l,m=[["M",p,h],["L",p,k],["L",C,k],["L",C,h],["L",p,h],["Z"]],f.box[J]({d:m})),y&&(l=f.whiskers.strokeWidth()%2/2,e+=l,u+=l,n=/%$/.test(y)?A*parseFloat(y)/100:y/2,m=[["M",g-n,e],["L",g+n,e],["M",g-n,u],["L",g+n,u]],f.whiskers[J]({d:m})),r=Math.round(f.medianPlot),l=f.medianShape.strokeWidth()%2/2,r+=l,m=[["M",p,r],["L",C,r]],f.medianShape[J]({d:m}))})};b.prototype.toYData=function(a){return[a.low,a.q1,a.median,a.q3,a.high]};b.defaultOptions=t(e.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},
+whiskerLength:"50%",fillColor:h.backgroundColor,lineWidth:1,medianWidth:2,whiskerWidth:2});return b}(e);k(a.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:d,setStackedPoints:d});c.registerSeriesType("boxplot",a);"";return a});z(e,"Series/ErrorBar/ErrorBarSeries.js",[e["Series/BoxPlot/BoxPlotSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Color/Palette.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,c,a){var n=this&&
+this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),k=c.seriesTypes.arearange,t=a.merge;a=a.extend;var q=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.options=void 0;
+b.points=void 0;return b}n(b,a);b.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||d.prototype.getColumnMetrics.call(this)};b.prototype.drawDataLabels=function(){var a=this.pointValKey;k&&(k.prototype.drawDataLabels.call(this),this.data.forEach(function(b){b.y=b[a]}))};b.prototype.toYData=function(a){return[a.low,a.high]};b.defaultOptions=t(e.defaultOptions,{color:h.neutralColor100,grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},
+whiskerWidth:null});return b}(e);a(q.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1});c.registerSeriesType("errorbar",q);"";return q});z(e,"Core/Axis/WaterfallAxis.js",[e["Extensions/Stacking.js"],e["Core/Utilities.js"]],function(e,d){var h=d.addEvent,c=d.objectEach,a;(function(a){function d(){var a=this.waterfall.stacks;a&&(a.changed=!1,delete a.alreadyChanged)}function t(){var a=this.options.stackLabels;a&&a.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}
+function n(){for(var a=this.axes,b=this.series,c=b.length;c--;)b[c].options.stacking&&(a.forEach(function(a){a.isXAxis||(a.waterfall.stacks.changed=!0)}),c=0)}function y(){this.waterfall||(this.waterfall=new b(this))}var b=function(){function a(a){this.axis=a;this.stacks={changed:!1}}a.prototype.renderStackTotals=function(){var a=this.axis,b=a.waterfall.stacks,d=a.stacking&&a.stacking.stackTotalGroup,f=new e(a,a.options.stackLabels,!1,0,void 0);this.dummyStackItem=f;c(b,function(a){c(a,function(a){f.total=
+a.stackTotal;a.label&&(f.label=a.label);e.prototype.render.call(f,d);a.label=f.label;delete f.label})});f.total=null};return a}();a.Composition=b;a.compose=function(a,b){h(a,"init",y);h(a,"afterBuildStacks",d);h(a,"afterRender",t);h(b,"beforeRedraw",n)}})(a||(a={}));return a});z(e,"Series/Waterfall/WaterfallPoint.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,d,h){var c=this&&this.__extends||function(){var a=function(c,d){a=Object.setPrototypeOf||
+{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(c,d)};return function(c,d){function h(){this.constructor=c}a(c,d);c.prototype=null===d?Object.create(d):(h.prototype=d.prototype,new h)}}(),a=h.isNumber;return function(h){function e(){var a=null!==h&&h.apply(this,arguments)||this;a.options=void 0;a.series=void 0;return a}c(e,h);e.prototype.getClassName=function(){var a=d.prototype.getClassName.call(this);this.isSum?
+a+=" highcharts-sum":this.isIntermediateSum&&(a+=" highcharts-intermediate-sum");return a};e.prototype.isValid=function(){return a(this.y)||this.isSum||!!this.isIntermediateSum};return e}(e.prototype.pointClass)});z(e,"Series/Waterfall/WaterfallSeries.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Core/Axis/WaterfallAxis.js"],e["Series/Waterfall/WaterfallPoint.js"]],function(e,d,h,c,a,n,k){var t=this&&this.__extends||
+function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,g){a.__proto__=g}||function(a,g){for(var b in g)g.hasOwnProperty(b)&&(a[b]=g[b])};return a(b,c)};return function(b,c){function l(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(l.prototype=c.prototype,new l)}}(),q=c.seriesTypes,y=q.column,b=q.line,f=a.arrayMax,m=a.arrayMin,v=a.correctFloat;q=a.extend;var w=a.merge,B=a.objectEach,z=a.pick;a=function(a){function c(){var b=null!==a&&
+a.apply(this,arguments)||this;b.chart=void 0;b.data=void 0;b.options=void 0;b.points=void 0;b.stackedYNeg=void 0;b.stackedYPos=void 0;b.stackKey=void 0;b.xData=void 0;b.yAxis=void 0;b.yData=void 0;return b}t(c,a);c.prototype.generatePoints=function(){var a;y.prototype.generatePoints.apply(this);var b=0;for(a=this.points.length;b<a;b++){var g=this.points[b];var c=this.processedYData[b];if(g.isIntermediateSum||g.isSum)g.y=v(c)}};c.prototype.translate=function(){var a=this.options,b=this.yAxis,g,c=z(a.minPointLength,
+5),d=c/2,f=a.threshold,A=a.stacking,h=b.waterfall.stacks[this.stackKey];y.prototype.translate.apply(this);var e=g=f;var k=this.points;var m=0;for(a=k.length;m<a;m++){var t=k[m];var u=this.processedYData[m];var n=t.shapeArgs;var v=[0,u];var q=t.y;if(A){if(h){v=h[m];if("overlap"===A){var w=v.stackState[v.stateIndex--];w=0<=q?w:w-q;Object.hasOwnProperty.call(v,"absolutePos")&&delete v.absolutePos;Object.hasOwnProperty.call(v,"absoluteNeg")&&delete v.absoluteNeg}else 0<=q?(w=v.threshold+v.posTotal,v.posTotal-=
+q):(w=v.threshold+v.negTotal,v.negTotal-=q,w-=q),!v.posTotal&&Object.hasOwnProperty.call(v,"absolutePos")&&(v.posTotal=v.absolutePos,delete v.absolutePos),!v.negTotal&&Object.hasOwnProperty.call(v,"absoluteNeg")&&(v.negTotal=v.absoluteNeg,delete v.absoluteNeg);t.isSum||(v.connectorThreshold=v.threshold+v.stackTotal);b.reversed?(u=0<=q?w-q:w+q,q=w):(u=w,q=w-q);t.below=u<=z(f,0);n.y=b.translate(u,0,1,0,1);n.height=Math.abs(n.y-b.translate(q,0,1,0,1));if(q=b.waterfall.dummyStackItem)q.x=m,q.label=h[m].label,
+q.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[m],this.stackedYPos[m])}}else w=Math.max(e,e+q)+v[0],n.y=b.translate(w,0,1,0,1),t.isSum?(n.y=b.translate(v[1],0,1,0,1),n.height=Math.min(b.translate(v[0],0,1,0,1),b.len)-n.y):t.isIntermediateSum?(0<=q?(u=v[1]+g,q=g):(u=g,q=v[1]+g),b.reversed&&(u^=q,q^=u,u^=q),n.y=b.translate(u,0,1,0,1),n.height=Math.abs(n.y-Math.min(b.translate(q,0,1,0,1),b.len)),g+=v[1]):(n.height=0<u?b.translate(e,0,1,0,1)-n.y:b.translate(e,0,1,0,1)-b.translate(e-u,
+0,1,0,1),e+=u,t.below=e<z(f,0)),0>n.height&&(n.y+=n.height,n.height*=-1);t.plotY=n.y=Math.round(n.y)-this.borderWidth%2/2;n.height=Math.max(Math.round(n.height),.001);t.yBottom=n.y+n.height;n.height<=c&&!t.isNull?(n.height=c,n.y-=d,t.plotY=n.y,t.minPointLengthOffset=0>t.y?-d:d):(t.isNull&&(n.width=0),t.minPointLengthOffset=0);n=t.plotY+(t.negative?n.height:0);this.chart.inverted?t.tooltipPos[0]=b.len-n:t.tooltipPos[1]=n}};c.prototype.processData=function(b){var c=this.options,g=this.yData,d=c.data,
+p=g.length,f=c.threshold||0,r,e,h,k,m;for(m=e=r=h=k=0;m<p;m++){var t=g[m];var n=d&&d[m]?d[m]:{};"sum"===t||n.isSum?g[m]=v(e):"intermediateSum"===t||n.isIntermediateSum?(g[m]=v(r),r=0):(e+=t,r+=t);h=Math.min(e,h);k=Math.max(e,k)}a.prototype.processData.call(this,b);c.stacking||(this.dataMin=h+f,this.dataMax=k)};c.prototype.toYData=function(a){return a.isSum?"sum":a.isIntermediateSum?"intermediateSum":a.y};c.prototype.updateParallelArrays=function(b,c){a.prototype.updateParallelArrays.call(this,b,c);
+if("sum"===this.yData[0]||"intermediateSum"===this.yData[0])this.yData[0]=null};c.prototype.pointAttribs=function(a,b){var g=this.options.upColor;g&&!a.options.color&&(a.color=0<a.y?g:null);a=y.prototype.pointAttribs.call(this,a,b);delete a.dashstyle;return a};c.prototype.getGraphPath=function(){return[["M",0,0]]};c.prototype.getCrispPath=function(){var a=this.data,b=this.yAxis,g=a.length,c=Math.round(this.graph.strokeWidth())%2/2,d=Math.round(this.borderWidth)%2/2,f=this.xAxis.reversed,e=this.yAxis.reversed,
+h=this.options.stacking,k=[],m;for(m=1;m<g;m++){var t=a[m].shapeArgs;var n=a[m-1];var v=a[m-1].shapeArgs;var u=b.waterfall.stacks[this.stackKey];var q=0<n.y?-v.height:0;u&&v&&t&&(u=u[m-1],h?(u=u.connectorThreshold,q=Math.round(b.translate(u,0,1,0,1)+(e?q:0))-c):q=v.y+n.minPointLengthOffset+d-c,k.push(["M",(v.x||0)+(f?0:v.width||0),q],["L",(t.x||0)+(f?t.width||0:0),q]));v&&k.length&&(!h&&0>n.y&&!e||0<n.y&&e)&&((n=k[k.length-2])&&"number"===typeof n[2]&&(n[2]+=v.height||0),(n=k[k.length-1])&&"number"===
+typeof n[2]&&(n[2]+=v.height||0))}return k};c.prototype.drawGraph=function(){b.prototype.drawGraph.call(this);this.graph.attr({d:this.getCrispPath()})};c.prototype.setStackedPoints=function(){function a(a,b,g,c){if(z)for(g;g<z;g++)w.stackState[g]+=c;else w.stackState[0]=a,z=w.stackState.length;w.stackState.push(w.stackState[z-1]+b)}var b=this.options,g=this.yAxis.waterfall.stacks,c=b.threshold,d=c||0,f=d,e=this.stackKey,h=this.xData,k=h.length,m,n,t;this.yAxis.stacking.usePercentage=!1;var v=n=t=
+d;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var u=g.changed;(m=g.alreadyChanged)&&0>m.indexOf(e)&&(u=!0);g[e]||(g[e]={});m=g[e];for(var q=0;q<k;q++){var y=h[q];if(!m[y]||u)m[y]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:u&&m[y]?m[y].label:void 0};var w=m[y];var B=this.yData[q];0<=B?w.posTotal+=B:w.negTotal+=B;var D=b.data[q];y=w.absolutePos=w.posTotal;var L=w.absoluteNeg=w.negTotal;w.stackTotal=y+L;var z=w.stackState.length;D&&D.isIntermediateSum?
+(a(t,n,0,t),t=n,n=c,d^=f,f^=d,d^=f):D&&D.isSum?(a(c,v,z),d=c):(a(d,B,0,v),D&&(v+=B,n+=B));w.stateIndex++;w.threshold=d;d+=w.stackTotal}g.changed=!1;g.alreadyChanged||(g.alreadyChanged=[]);g.alreadyChanged.push(e)}};c.prototype.getExtremes=function(){var a=this.options.stacking;if(a){var b=this.yAxis;b=b.waterfall.stacks;var g=this.stackedYNeg=[];var c=this.stackedYPos=[];"overlap"===a?B(b[this.stackKey],function(a){g.push(m(a.stackState));c.push(f(a.stackState))}):B(b[this.stackKey],function(a){g.push(a.negTotal+
+a.threshold);c.push(a.posTotal+a.threshold)});return{dataMin:m(g),dataMax:f(c)}}return{dataMin:this.dataMin,dataMax:this.dataMax}};c.defaultOptions=w(y.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:h.neutralColor80,dashStyle:"Dot",borderColor:h.neutralColor80,states:{hover:{lineWidthPlus:0}}});return c}(y);q(a.prototype,{getZonesGraphs:b.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:k});c.registerSeriesType("waterfall",a);n.compose(d.Axis,e);"";return a});z(e,"Series/Polygon/PolygonSeries.js",
+[e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,c){var a=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();e=e.noop;var n=h.series,
+k=h.seriesTypes,t=k.area,q=k.line,y=k.scatter;k=c.extend;var b=c.merge;c=function(c){function d(){var a=null!==c&&c.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}a(d,c);d.prototype.getGraphPath=function(){for(var a=q.prototype.getGraphPath.call(this),b=a.length+1;b--;)(b===a.length||"M"===a[b][0])&&0<b&&a.splice(b,0,["Z"]);return this.areaPath=a};d.prototype.drawGraph=function(){this.options.fillColor=this.color;t.prototype.drawGraph.call(this)};d.defaultOptions=
+b(y.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0});return d}(y);k(c.prototype,{type:"polygon",drawLegendSymbol:d.drawRectangle,drawTracker:n.prototype.drawTracker,setStackedPoints:e});h.registerSeriesType("polygon",c);"";return c});z(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var c=this&&this.__extends||function(){var a=
+function(c,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};return a(c,d)};return function(c,d){function e(){this.constructor=c}a(c,d);c.prototype=null===d?Object.create(d):(e.prototype=d.prototype,new e)}}();h=h.extend;d=function(a){function d(){var c=null!==a&&a.apply(this,arguments)||this;c.options=void 0;c.series=void 0;return c}c(d,a);d.prototype.haloPath=function(a){return e.prototype.haloPath.call(this,
+0===a?0:(this.marker?this.marker.radius||0:0)+a)};return d}(d.seriesTypes.scatter.prototype.pointClass);h(d.prototype,{ttBelow:!1});return d});z(e,"Series/Bubble/BubbleLegend.js",[e["Core/Chart/Chart.js"],e["Core/Color/Color.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Legend.js"],e["Core/Options.js"],e["Core/Color/Palette.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(e,d,h,c,a,n,k,t,q){var y=d.parse,b=c.noop;n=n.setOptions;d=q.addEvent;var f=q.arrayMax,m=q.arrayMin,
+v=q.isNumber,w=q.merge,B=q.objectEach,z=q.pick,E=q.stableSort;q=q.wrap;"";n({legend:{bubbleLegend:{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:k.neutralColor100},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},
+sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}});k=function(){function a(a,c){this.options=this.symbols=this.visible=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0;this.setState=b;this.init(a,c)}a.prototype.init=function(a,b){this.options=a;this.visible=!0;this.chart=b.chart;this.legend=b};a.prototype.addToLegend=function(a){a.splice(this.options.legendIndex,
+0,this)};a.prototype.drawLegendSymbol=function(a){var b=this.chart,g=this.options,c=z(a.options.itemDistance,20),d=g.ranges;var f=g.connectorDistance;this.fontMetrics=b.renderer.fontMetrics(g.labels.style.fontSize);d&&d.length&&v(d[0].value)?(E(d,function(a,b){return b.value-a.value}),this.ranges=d,this.setOptions(),this.render(),b=this.getMaxLabelSize(),d=this.ranges[0].radius,a=2*d,f=f-d+b.width,f=0<f?f:0,this.maxLabel=b,this.movementX="left"===g.labels.align?f:0,this.legendItemWidth=a+f+c,this.legendItemHeight=
+a+this.fontMetrics.h/2):a.options.bubbleLegend.autoRanges=!0};a.prototype.setOptions=function(){var a=this.ranges,b=this.options,g=this.chart.series[b.seriesIndex],c=this.legend.baseline,d={zIndex:b.zIndex,"stroke-width":b.borderWidth},f={zIndex:b.zIndex,"stroke-width":b.connectorWidth},e={align:this.legend.options.rtl||"left"===b.labels.align?"right":"left",zIndex:b.zIndex},h=g.options.marker.fillOpacity,m=this.chart.styledMode;a.forEach(function(l,p){m||(d.stroke=z(l.borderColor,b.borderColor,g.color),
+d.fill=z(l.color,b.color,1!==h?y(g.color).setOpacity(h).get("rgba"):g.color),f.stroke=z(l.connectorColor,b.connectorColor,g.color));a[p].radius=this.getRangeRadius(l.value);a[p]=w(a[p],{center:a[0].radius-a[p].radius+c});m||w(!0,a[p],{bubbleAttribs:w(d),connectorAttribs:w(f),labelAttribs:e})},this)};a.prototype.getRangeRadius=function(a){var b=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,b.ranges[b.ranges.length-1].value,b.ranges[0].value,b.minSize,b.maxSize,
+a)};a.prototype.render=function(){var a=this.chart.renderer,b=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});this.legendSymbol=a.g("bubble-legend");this.legendItem=a.g("bubble-legend-item");this.legendSymbol.translateX=0;this.legendSymbol.translateY=0;this.ranges.forEach(function(a){a.value>=b&&this.renderRange(a)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()};a.prototype.renderRange=
+function(a){var b=this.options,g=b.labels,c=this.chart,d=c.series[b.seriesIndex],f=c.renderer,e=this.symbols;c=e.labels;var h=a.center,m=Math.abs(a.radius),k=b.connectorDistance||0,r=g.align;k=this.legend.options.rtl||"left"===r?-k:k;var n=b.connectorWidth,t=this.ranges[0].radius||0,v=h-m-b.borderWidth/2+n/2,u=this.fontMetrics;u=u.f/2-(u.h-u.f)/2;var q=f.styledMode;"center"===r&&(k=0,b.connectorDistance=0,a.labelAttribs.align="center");r=v+b.labels.y;var w=t+k+b.labels.x;e.bubbleItems.push(f.circle(t,
+h+((v%1?1:.5)-(n%2?0:.5)),m).attr(q?{}:a.bubbleAttribs).addClass((q?"highcharts-color-"+d.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(b.className||"")).add(this.legendSymbol));e.connectors.push(f.path(f.crispLine([["M",t,v],["L",t+k,v]],b.connectorWidth)).attr(q?{}:a.connectorAttribs).addClass((q?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(b.connectorClassName||"")).add(this.legendSymbol));a=f.text(this.formatLabel(a),w,r+u).attr(q?{}:a.labelAttribs).css(q?
+{}:g.style).addClass("highcharts-bubble-legend-labels "+(b.labels.className||"")).add(this.legendSymbol);c.push(a);a.placed=!0;a.alignAttr={x:w,y:r+u}};a.prototype.getMaxLabelSize=function(){var a,b;this.symbols.labels.forEach(function(g){b=g.getBBox(!0);a=a?b.width>a.width?b:a:b});return a||{}};a.prototype.formatLabel=function(a){var b=this.options,g=b.labels.formatter;b=b.labels.format;var c=this.chart.numberFormatter;return b?h.format(b,a):g?g.call(a):c(a.value,1)};a.prototype.hideOverlappingLabels=
+function(){var a=this.chart,b=this.symbols;!this.options.labels.allowOverlap&&b&&(a.hideOverlappingLabels(b.labels),b.labels.forEach(function(a,c){a.newOpacity?a.newOpacity!==a.oldOpacity&&b.connectors[c].show():b.connectors[c].hide()}))};a.prototype.getRanges=function(){var a=this.legend.bubbleLegend,b=a.options.ranges,g,c=Number.MAX_VALUE,d=-Number.MAX_VALUE;a.chart.series.forEach(function(a){a.isBubble&&!a.ignoreSeries&&(g=a.zData.filter(v),g.length&&(c=z(a.options.zMin,Math.min(c,Math.max(m(g),
+!1===a.options.displayNegative?a.options.zThreshold:-Number.MAX_VALUE))),d=z(a.options.zMax,Math.max(d,f(g)))))});var e=c===d?[{value:d}]:[{value:c},{value:(c+d)/2},{value:d,autoRanges:!0}];b.length&&b[0].radius&&e.reverse();e.forEach(function(a,g){b&&b[g]&&(e[g]=w(b[g],a))});return e};a.prototype.predictBubbleSizes=function(){var a=this.chart,b=this.fontMetrics,g=a.legend.options,c="horizontal"===g.layout,d=c?a.legend.lastLineHeight:0,f=a.plotSizeX,e=a.plotSizeY,h=a.series[this.options.seriesIndex];
+a=Math.ceil(h.minPxSize);var m=Math.ceil(h.maxPxSize);h=h.options.maxSize;var k=Math.min(e,f);if(g.floating||!/%$/.test(h))b=m;else if(h=parseFloat(h),b=(k+d-b.h/2)*h/100/(h/100+1),c&&e-b>=f||!c&&f-b>=e)b=m;return[a,Math.ceil(b)]};a.prototype.updateRanges=function(a,b){var g=this.legend.options.bubbleLegend;g.minSize=a;g.maxSize=b;g.ranges=this.getRanges()};a.prototype.correctSizes=function(){var a=this.legend,b=this.chart.series[this.options.seriesIndex];1<Math.abs(Math.ceil(b.maxPxSize)-this.options.maxSize)&&
+(this.updateRanges(this.options.minSize,b.maxPxSize),a.render())};return a}();d(a,"afterGetAllItems",function(a){var b=this.bubbleLegend,d=this.options,g=d.bubbleLegend,f=this.chart.getVisibleBubbleSeriesIndex();b&&b.ranges&&b.ranges.length&&(g.ranges.length&&(g.autoRanges=!!g.ranges[0].autoRanges),this.destroyItem(b));0<=f&&d.enabled&&g.enabled&&(g.seriesIndex=f,this.bubbleLegend=new c.BubbleLegend(g,this),this.bubbleLegend.addToLegend(a.allItems))});e.prototype.getVisibleBubbleSeriesIndex=function(){for(var a=
+this.series,b=0;b<a.length;){if(a[b]&&a[b].isBubble&&a[b].visible&&a[b].zData.length)return b;b++}return-1};a.prototype.getLinesHeights=function(){var a=this.allItems,b=[],c=a.length,g,d=0;for(g=0;g<c;g++)if(a[g].legendItemHeight&&(a[g].itemHeight=a[g].legendItemHeight),a[g]===a[c-1]||a[g+1]&&a[g]._legendItemPos[1]!==a[g+1]._legendItemPos[1]){b.push({height:0});var f=b[b.length-1];for(d;d<=g;d++)a[d].itemHeight>f.height&&(f.height=a[d].itemHeight);f.step=g}return b};a.prototype.retranslateItems=function(a){var b,
+c,g,d=this.options.rtl,f=0;this.allItems.forEach(function(l,p){b=l.legendGroup.translateX;c=l._legendItemPos[1];if((g=l.movementX)||d&&l.ranges)g=d?b-l.options.maxSize/2:b+g,l.legendGroup.attr({translateX:g});p>a[f].step&&f++;l.legendGroup.attr({translateY:Math.round(c+a[f].height/2)});l._legendItemPos[1]=c+a[f].height/2})};d(t,"legendItemClick",function(){var a=this.chart,b=this.visible,c=this.chart.legend;c&&c.bubbleLegend&&(this.visible=!b,this.ignoreSeries=b,a=0<=a.getVisibleBubbleSeriesIndex(),
+c.bubbleLegend.visible!==a&&(c.update({bubbleLegend:{enabled:a}}),c.bubbleLegend.visible=a),this.visible=b)});q(e.prototype,"drawChartBox",function(a,b,c){var g=this.legend,d=0<=this.getVisibleBubbleSeriesIndex();if(g&&g.options.enabled&&g.bubbleLegend&&g.options.bubbleLegend.autoRanges&&d){var f=g.bubbleLegend.options;d=g.bubbleLegend.predictBubbleSizes();g.bubbleLegend.updateRanges(d[0],d[1]);f.placed||(g.group.placed=!1,g.allItems.forEach(function(a){a.legendGroup.translateY=null}));g.render();
+this.getMargins();this.axes.forEach(function(a){a.visible&&a.render();f.placed||(a.setScale(),a.updateNames(),B(a.ticks,function(a){a.isNew=!0;a.isNewLabel=!0}))});f.placed=!0;this.getMargins();a.call(this,b,c);g.bubbleLegend.correctSizes();g.retranslateItems(g.getLinesHeights())}else a.call(this,b,c),g&&g.options.enabled&&g.bubbleLegend&&(g.render(),g.retranslateItems(g.getLinesHeights()))});c.BubbleLegend=k;return c.BubbleLegend});z(e,"Series/Bubble/BubbleSeries.js",[e["Core/Axis/Axis.js"],e["Series/Bubble/BubblePoint.js"],
+e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,c,a,n,k){var t=this&&this.__extends||function(){var a=function(b,g){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var g in b)b.hasOwnProperty(g)&&(a[g]=b[g])};return a(b,g)};return function(b,g){function c(){this.constructor=b}a(b,g);b.prototype=null===g?Object.create(g):(c.prototype=g.prototype,
+new c)}}(),q=h.parse;h=c.noop;var y=n.seriesTypes;c=y.column;var b=y.scatter,f=k.arrayMax,m=k.arrayMin,v=k.clamp,w=k.extend,B=k.isNumber,z=k.merge,E=k.pick,u=k.pInt;k=function(c){function d(){var a=null!==c&&c.apply(this,arguments)||this;a.data=void 0;a.maxPxSize=void 0;a.minPxSize=void 0;a.options=void 0;a.points=void 0;a.radii=void 0;a.yData=void 0;a.zData=void 0;return a}t(d,c);d.prototype.animate=function(a){!a&&this.points.length<this.options.animationLimit&&this.points.forEach(function(a){var b=
+a.graphic;b&&b.width&&(this.hasRendered||b.attr({x:a.plotX,y:a.plotY,width:1,height:1}),b.animate(this.markerAttribs(a),this.options.animation))},this)};d.prototype.getRadii=function(a,b,c){var g=this.zData,d=this.yData,f=c.minPxSize,l=c.maxPxSize,e=[];var p=0;for(c=g.length;p<c;p++){var h=g[p];e.push(this.getRadius(a,b,f,l,h,d[p]))}this.radii=e};d.prototype.getRadius=function(a,b,c,d,f,l){var g=this.options,e="width"!==g.sizeBy,p=g.zThreshold,h=b-a,m=.5;if(null===l||null===f)return null;if(B(f)){g.sizeByAbsoluteValue&&
+(f=Math.abs(f-p),h=Math.max(b-p,Math.abs(a-p)),a=0);if(f<a)return c/2-1;0<h&&(m=(f-a)/h)}e&&0<=m&&(m=Math.sqrt(m));return Math.ceil(c+m*(d-c))/2};d.prototype.hasData=function(){return!!this.processedXData.length};d.prototype.pointAttribs=function(b,c){var g=this.options.marker.fillOpacity;b=a.prototype.pointAttribs.call(this,b,c);1!==g&&(b.fill=q(b.fill).setOpacity(g).get("rgba"));return b};d.prototype.translate=function(){var a,b=this.data,d=this.radii;c.prototype.translate.call(this);for(a=b.length;a--;){var f=
+b[a];var l=d?d[a]:0;B(l)&&l>=this.minPxSize/2?(f.marker=w(f.marker,{radius:l,width:2*l,height:2*l}),f.dlBox={x:f.plotX-l,y:f.plotY-l,width:2*l,height:2*l}):f.shapeArgs=f.plotY=f.dlBox=void 0}};d.defaultOptions=z(b.defaultOptions,{dataLabels:{formatter:function(){return this.point.z},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},
+tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"});return d}(b);w(k.prototype,{alignDataLabel:c.prototype.alignDataLabel,applyZones:h,bubblePadding:!0,buildKDTree:h,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:d,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"});e.prototype.beforePadding=function(){var a=this,b=this.len,g=this.chart,c=0,d=b,e=this.isXAxis,h=e?"xData":
+"yData",k=this.min,n={},t=Math.min(g.plotWidth,g.plotHeight),q=Number.MAX_VALUE,w=-Number.MAX_VALUE,y=this.max-k,z=b/y,G=[];this.series.forEach(function(b){var c=b.options;!b.bubblePadding||!b.visible&&g.options.chart.ignoreHiddenSeries||(a.allowZoomOutside=!0,G.push(b),e&&(["minSize","maxSize"].forEach(function(a){var b=c[a],g=/%$/.test(b);b=u(b);n[a]=g?t*b/100:b}),b.minPxSize=n.minSize,b.maxPxSize=Math.max(n.maxSize,n.minSize),b=b.zData.filter(B),b.length&&(q=E(c.zMin,v(m(b),!1===c.displayNegative?
+c.zThreshold:-Number.MAX_VALUE,q)),w=E(c.zMax,Math.max(w,f(b))))))});G.forEach(function(b){var g=b[h],f=g.length;e&&b.getRadii(q,w,b);if(0<y)for(;f--;)if(B(g[f])&&a.dataMin<=g[f]&&g[f]<=a.max){var l=b.radii?b.radii[f]:0;c=Math.min((g[f]-k)*z-l,c);d=Math.max((g[f]-k)*z+l,d)}});G.length&&0<y&&!this.logarithmic&&(d-=b,z*=(b+Math.max(0,c)-Math.min(d,b))/b,[["min","userMin",c],["max","userMax",d]].forEach(function(b){"undefined"===typeof E(a.options[b[0]],a[b[1]])&&(a[b[0]]+=b[2]/z)}))};n.registerSeriesType("bubble",
+k);"";"";return k});z(e,"Series/PackedBubble/PackedBubblePoint.js",[e["Core/Chart/Chart.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"]],function(e,d,h){var c=this&&this.__extends||function(){var a=function(c,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};return a(c,d)};return function(c,d){function e(){this.constructor=c}a(c,d);c.prototype=null===d?Object.create(d):(e.prototype=
+d.prototype,new e)}}();return function(a){function h(){var c=null!==a&&a.apply(this,arguments)||this;c.degree=NaN;c.mass=NaN;c.radius=NaN;c.options=void 0;c.series=void 0;c.value=null;return c}c(h,a);h.prototype.destroy=function(){this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes);return d.prototype.destroy.apply(this,arguments)};h.prototype.firePointEvent=function(){var a=this.series.options;if(this.isParentNode&&a.parentNode){var c=a.allowPointSelect;
+a.allowPointSelect=a.parentNode.allowPointSelect;d.prototype.firePointEvent.apply(this,arguments);a.allowPointSelect=c}else d.prototype.firePointEvent.apply(this,arguments)};h.prototype.select=function(){var a=this.series.chart;this.isParentNode?(a.getSelectedPoints=a.getSelectedParentNodes,d.prototype.select.apply(this,arguments),a.getSelectedPoints=e.prototype.getSelectedPoints):d.prototype.select.apply(this,arguments)};return h}(h.seriesTypes.bubble.prototype.pointClass)});z(e,"Series/Networkgraph/DraggableNodes.js",
+[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,d,h){var c=h.addEvent;d.dragNodesMixin={onMouseDown:function(a,c){c=this.chart.pointer.normalize(c);a.fixedPosition={chartX:c.chartX,chartY:c.chartY,plotX:a.plotX,plotY:a.plotY};a.inDragMode=!0},onMouseMove:function(a,c){if(a.fixedPosition&&a.inDragMode){var d=this.chart,e=d.pointer.normalize(c);c=a.fixedPosition.chartX-e.chartX;e=a.fixedPosition.chartY-e.chartY;var h=void 0,n=void 0,b=d.graphLayoutsLookup;if(5<Math.abs(c)||
+5<Math.abs(e))h=a.fixedPosition.plotX-c,n=a.fixedPosition.plotY-e,d.isInsidePlot(h,n)&&(a.plotX=h,a.plotY=n,a.hasDragged=!0,this.redrawHalo(a),b.forEach(function(a){a.restartSimulation()}))}},onMouseUp:function(a,c){a.fixedPosition&&(a.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),a.inDragMode=a.hasDragged=!1,this.options.fixedDraggable||delete a.fixedPosition)},redrawHalo:function(a){a&&this.halo&&this.halo.attr({d:a.haloPath(this.options.states.hover.halo.size)})}};
+c(e,"load",function(){var a=this,d,e,h;a.container&&(d=c(a.container,"mousedown",function(d){var k=a.hoverPoint;k&&k.series&&k.series.hasDraggableNodes&&k.series.options.draggable&&(k.series.onMouseDown(k,d),e=c(a.container,"mousemove",function(a){return k&&k.series&&k.series.onMouseMove(k,a)}),h=c(a.container.ownerDocument,"mouseup",function(a){e();h();return k&&k.series&&k.series.onMouseUp(k,a)}))}));c(a,"destroy",function(){d()})})});z(e,"Series/Networkgraph/Integrations.js",[e["Core/Globals.js"]],
+function(e){e.networkgraphIntegrations={verlet:{attractiveForceFunction:function(d,e){return(e-d)/d},repulsiveForceFunction:function(d,e){return(e-d)/d*(e>d?1:0)},barycenter:function(){var d=this.options.gravitationalConstant,e=this.barycenter.xFactor,c=this.barycenter.yFactor;e=(e-(this.box.left+this.box.width)/2)*d;c=(c-(this.box.top+this.box.height)/2)*d;this.nodes.forEach(function(a){a.fixedPosition||(a.plotX-=e/a.mass/a.degree,a.plotY-=c/a.mass/a.degree)})},repulsive:function(d,e,c){e=e*this.diffTemperature/
+d.mass/d.degree;d.fixedPosition||(d.plotX+=c.x*e,d.plotY+=c.y*e)},attractive:function(d,e,c){var a=d.getMass(),h=-c.x*e*this.diffTemperature;e=-c.y*e*this.diffTemperature;d.fromNode.fixedPosition||(d.fromNode.plotX-=h*a.fromNode/d.fromNode.degree,d.fromNode.plotY-=e*a.fromNode/d.fromNode.degree);d.toNode.fixedPosition||(d.toNode.plotX+=h*a.toNode/d.toNode.degree,d.toNode.plotY+=e*a.toNode/d.toNode.degree)},integrate:function(d,e){var c=-d.options.friction,a=d.options.maxSpeed,h=(e.plotX+e.dispX-e.prevX)*
+c;c*=e.plotY+e.dispY-e.prevY;var k=Math.abs,t=k(h)/(h||1);k=k(c)/(c||1);h=t*Math.min(a,Math.abs(h));c=k*Math.min(a,Math.abs(c));e.prevX=e.plotX+e.dispX;e.prevY=e.plotY+e.dispY;e.plotX+=h;e.plotY+=c;e.temperature=d.vectorLength({x:h,y:c})},getK:function(d){return Math.pow(d.box.width*d.box.height/d.nodes.length,.5)}},euler:{attractiveForceFunction:function(d,e){return d*d/e},repulsiveForceFunction:function(d,e){return e*e/d},barycenter:function(){var d=this.options.gravitationalConstant,e=this.barycenter.xFactor,
+c=this.barycenter.yFactor;this.nodes.forEach(function(a){if(!a.fixedPosition){var h=a.getDegree();h*=1+h/2;a.dispX+=(e-a.plotX)*d*h/a.degree;a.dispY+=(c-a.plotY)*d*h/a.degree}})},repulsive:function(d,e,c,a){d.dispX+=c.x/a*e/d.degree;d.dispY+=c.y/a*e/d.degree},attractive:function(d,e,c,a){var h=d.getMass(),k=c.x/a*e;e*=c.y/a;d.fromNode.fixedPosition||(d.fromNode.dispX-=k*h.fromNode/d.fromNode.degree,d.fromNode.dispY-=e*h.fromNode/d.fromNode.degree);d.toNode.fixedPosition||(d.toNode.dispX+=k*h.toNode/
+d.toNode.degree,d.toNode.dispY+=e*h.toNode/d.toNode.degree)},integrate:function(d,e){e.dispX+=e.dispX*d.options.friction;e.dispY+=e.dispY*d.options.friction;var c=e.temperature=d.vectorLength({x:e.dispX,y:e.dispY});0!==c&&(e.plotX+=e.dispX/c*Math.min(Math.abs(e.dispX),d.temperature),e.plotY+=e.dispY/c*Math.min(Math.abs(e.dispY),d.temperature))},getK:function(d){return Math.pow(d.box.width*d.box.height/d.nodes.length,.3)}}}});z(e,"Series/Networkgraph/QuadTree.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],
+function(e,d){d=d.extend;var h=e.QuadTreeNode=function(c){this.box=c;this.boxSize=Math.min(c.width,c.height);this.nodes=[];this.body=this.isInternal=!1;this.isEmpty=!0};d(h.prototype,{insert:function(c,a){this.isInternal?this.nodes[this.getBoxPosition(c)].insert(c,a-1):(this.isEmpty=!1,this.body?a?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,a-1),this.body=!0),this.nodes[this.getBoxPosition(c)].insert(c,a-1)):(a=new h({top:c.plotX,
+left:c.plotY,width:.1,height:.1}),a.body=c,a.isInternal=!1,this.nodes.push(a)):(this.isInternal=!1,this.body=c))},updateMassAndCenter:function(){var c=0,a=0,d=0;this.isInternal?(this.nodes.forEach(function(e){e.isEmpty||(c+=e.mass,a+=e.plotX*e.mass,d+=e.plotY*e.mass)}),a/=c,d/=c):this.body&&(c=this.body.mass,a=this.body.plotX,d=this.body.plotY);this.mass=c;this.plotX=a;this.plotY=d},divideBox:function(){var c=this.box.width/2,a=this.box.height/2;this.nodes[0]=new h({left:this.box.left,top:this.box.top,
+width:c,height:a});this.nodes[1]=new h({left:this.box.left+c,top:this.box.top,width:c,height:a});this.nodes[2]=new h({left:this.box.left+c,top:this.box.top+a,width:c,height:a});this.nodes[3]=new h({left:this.box.left,top:this.box.top+a,width:c,height:a})},getBoxPosition:function(c){var a=c.plotY<this.box.top+this.box.height/2;return c.plotX<this.box.left+this.box.width/2?a?0:3:a?1:2}});e=e.QuadTree=function(c,a,d,e){this.box={left:c,top:a,width:d,height:e};this.maxDepth=25;this.root=new h(this.box,
+"0");this.root.isInternal=!0;this.root.isRoot=!0;this.root.divideBox()};d(e.prototype,{insertNodes:function(c){c.forEach(function(a){this.root.insert(a,this.maxDepth)},this)},visitNodeRecursive:function(c,a,d){var e;c||(c=this.root);c===this.root&&a&&(e=a(c));!1!==e&&(c.nodes.forEach(function(c){if(c.isInternal){a&&(e=a(c));if(!1===e)return;this.visitNodeRecursive(c,a,d)}else c.body&&a&&a(c.body);d&&d(c)},this),c===this.root&&d&&d(c))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,
+null,function(c){c.updateMassAndCenter()})}})});z(e,"Series/Networkgraph/Layouts.js",[e["Core/Chart/Chart.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,d,h,c){var a=d.setAnimation;d=c.addEvent;var n=c.clamp,k=c.defined,t=c.extend,q=c.isFunction,y=c.pick;h.layouts={"reingold-fruchterman":function(){}};t(h.layouts["reingold-fruchterman"].prototype,{init:function(a){this.options=a;this.nodes=[];this.links=[];this.series=[];this.box={x:0,y:0,width:0,
+height:0};this.setInitialRendering(!0);this.integration=h.networkgraphIntegrations[a.integration];this.enableSimulation=a.enableSimulation;this.attractiveForce=y(a.attractiveForce,this.integration.attractiveForceFunction);this.repulsiveForce=y(a.repulsiveForce,this.integration.repulsiveForceFunction);this.approximation=a.approximation},updateSimulation:function(a){this.enableSimulation=y(a,this.options.enableSimulation)},start:function(){var a=this.series,c=this.options;this.currentStep=0;this.forces=
+a[0]&&a[0].forces||[];this.chart=a[0]&&a[0].chart;this.initialRendering&&(this.initPositions(),a.forEach(function(a){a.finishedAnimating=!0;a.render()}));this.setK();this.resetSimulation(c);this.enableSimulation&&this.step()},step:function(){var a=this,c=this.series;a.currentStep++;"barnes-hut"===a.approximation&&(a.createQuadTree(),a.quadTree.calculateMassAndCenter());a.forces.forEach(function(b){a[b+"Forces"](a.temperature)});a.applyLimits(a.temperature);a.temperature=a.coolDown(a.startTemperature,
+a.diffTemperature,a.currentStep);a.prevSystemTemperature=a.systemTemperature;a.systemTemperature=a.getSystemTemperature();a.enableSimulation&&(c.forEach(function(a){a.chart&&a.render()}),a.maxIterations--&&isFinite(a.temperature)&&!a.isStable()?(a.simulation&&h.win.cancelAnimationFrame(a.simulation),a.simulation=h.win.requestAnimationFrame(function(){a.step()})):a.simulation=!1)},stop:function(){this.simulation&&h.win.cancelAnimationFrame(this.simulation)},setArea:function(a,c,d,e){this.box={left:a,
+top:c,width:d,height:e}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},addElementsToCollection:function(a,c){a.forEach(function(a){-1===c.indexOf(a)&&c.push(a)})},removeElementFromCollection:function(a,c){a=c.indexOf(a);-1!==a&&c.splice(a,1)},clear:function(){this.nodes.length=0;this.links.length=0;this.series.length=0;this.resetSimulation()},resetSimulation:function(){this.forcedStop=!1;this.systemTemperature=0;this.setMaxIterations();this.setTemperature();this.setDiffTemperature()},
+restartSimulation:function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},setMaxIterations:function(a){this.maxIterations=y(a,this.options.maxIterations)},setTemperature:function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},setDiffTemperature:function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},
+setInitialRendering:function(a){this.initialRendering=a},createQuadTree:function(){this.quadTree=new h.QuadTree(this.box.left,this.box.top,this.box.width,this.box.height);this.quadTree.insertNodes(this.nodes)},initPositions:function(){var a=this.options.initialPositions;q(a)?(a.call(this),this.nodes.forEach(function(a){k(a.prevX)||(a.prevX=a.plotX);k(a.prevY)||(a.prevY=a.plotY);a.dispX=0;a.dispY=0})):"circle"===a?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){function a(b){b.linksFrom.forEach(function(b){t[b.toNode.id]||
+(t[b.toNode.id]=!0,k.push(b.toNode),a(b.toNode))})}var c=this.box,d=this.nodes,e=2*Math.PI/(d.length+1),h=d.filter(function(a){return 0===a.linksTo.length}),k=[],t={},q=this.options.initialPositionRadius;h.forEach(function(b){k.push(b);a(b)});k.length?d.forEach(function(a){-1===k.indexOf(a)&&k.push(a)}):k=d;k.forEach(function(a,b){a.plotX=a.prevX=y(a.plotX,c.width/2+q*Math.cos(b*e));a.plotY=a.prevY=y(a.plotY,c.height/2+q*Math.sin(b*e));a.dispX=0;a.dispY=0})},setRandomPositions:function(){function a(a){a=
+a*a/Math.PI;return a-=Math.floor(a)}var c=this.box,d=this.nodes,e=d.length+1;d.forEach(function(b,d){b.plotX=b.prevX=y(b.plotX,c.width*a(d));b.plotY=b.prevY=y(b.plotY,c.height*a(e+d));b.dispX=0;b.dispY=0})},force:function(a){this.integration[a].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter();this.force("barycenter")},getBarycenter:function(){var a=0,c=0,d=0;this.nodes.forEach(function(b){c+=b.plotX*b.mass;d+=b.plotY*b.mass;a+=b.mass});return this.barycenter=
+{x:c,y:d,xFactor:c/a,yFactor:d/a}},barnesHutApproximation:function(a,c){var b=this.getDistXY(a,c),d=this.vectorLength(b);if(a!==c&&0!==d)if(c.isInternal)if(c.boxSize/d<this.options.theta&&0!==d){var e=this.repulsiveForce(d,this.k);this.force("repulsive",a,e*c.mass,b,d);var f=!1}else f=!0;else e=this.repulsiveForce(d,this.k),this.force("repulsive",a,e*c.mass,b,d);return f},repulsiveForces:function(){var a=this;"barnes-hut"===a.approximation?a.nodes.forEach(function(b){a.quadTree.visitNodeRecursive(null,
+function(c){return a.barnesHutApproximation(b,c)})}):a.nodes.forEach(function(b){a.nodes.forEach(function(c){if(b!==c&&!b.fixedPosition){var d=a.getDistXY(b,c);var e=a.vectorLength(d);if(0!==e){var f=a.repulsiveForce(e,a.k);a.force("repulsive",b,f*c.mass,d,e)}}})})},attractiveForces:function(){var a=this,c,d,e;a.links.forEach(function(b){b.fromNode&&b.toNode&&(c=a.getDistXY(b.fromNode,b.toNode),d=a.vectorLength(c),0!==d&&(e=a.attractiveForce(d,a.k),a.force("attractive",b,e,c,d)))})},applyLimits:function(){var a=
+this;a.nodes.forEach(function(b){b.fixedPosition||(a.integration.integrate(a,b),a.applyLimitBox(b,a.box),b.dispX=0,b.dispY=0)})},applyLimitBox:function(a,c){var b=a.radius;a.plotX=n(a.plotX,c.left+b,c.width-b);a.plotY=n(a.plotY,c.top+b,c.height-b)},coolDown:function(a,c,d){return a-c*d},isStable:function(){return.00001>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce(function(a,c){return a+c.temperature},0)},
+vectorLength:function(a){return Math.sqrt(a.x*a.x+a.y*a.y)},getDistR:function(a,c){a=this.getDistXY(a,c);return this.vectorLength(a)},getDistXY:function(a,c){var b=a.plotX-c.plotX;a=a.plotY-c.plotY;return{x:b,y:a,absX:Math.abs(b),absY:Math.abs(a)}}});d(e,"predraw",function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(a){a.stop()})});d(e,"render",function(){function b(a){a.maxIterations--&&isFinite(a.temperature)&&!a.isStable()&&!a.enableSimulation&&(a.beforeStep&&a.beforeStep(),
+a.step(),d=!1,c=!0)}var c=!1;if(this.graphLayoutsLookup){a(!1,this);for(this.graphLayoutsLookup.forEach(function(a){a.start()});!d;){var d=!0;this.graphLayoutsLookup.forEach(b)}c&&this.series.forEach(function(a){a&&a.layout&&a.render()})}});d(e,"beforePrint",function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(function(a){a.updateSimulation(!1)}),this.redraw())});d(e,"afterPrint",function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(a){a.updateSimulation()});
+this.redraw()})});z(e,"Series/PackedBubble/PackedBubbleComposition.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,d,h){var c=d.layouts["reingold-fruchterman"],a=h.addEvent,n=h.extendClass,k=h.pick;e.prototype.getSelectedParentNodes=function(){var a=[];this.series.forEach(function(c){c.parentNode&&c.parentNode.selected&&a.push(c.parentNode)});return a};d.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(a,c,d,b){return Math.min(a,(d.marker.radius+
+b.marker.radius)/2)},barycenter:function(){var a=this,c=a.options.gravitationalConstant,d=a.box,b=a.nodes,e,h;b.forEach(function(f){a.options.splitSeries&&!f.isParentNode?(e=f.series.parentNode.plotX,h=f.series.parentNode.plotY):(e=d.width/2,h=d.height/2);f.fixedPosition||(f.plotX-=(f.plotX-e)*c/(f.mass*Math.sqrt(b.length)),f.plotY-=(f.plotY-h)*c/(f.mass*Math.sqrt(b.length)))})},repulsive:function(a,c,d,b){var e=c*this.diffTemperature/a.mass/a.degree;c=d.x*e;d=d.y*e;a.fixedPosition||(a.plotX+=c,a.plotY+=
+d);b.fixedPosition||(b.plotX-=c,b.plotY-=d)},integrate:d.networkgraphIntegrations.verlet.integrate,getK:d.noop};d.layouts.packedbubble=n(c,{beforeStep:function(){this.options.marker&&this.series.forEach(function(a){a&&a.calculateParentRadius()})},isStable:function(){var a=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&.00001>a||0>=this.temperature},setCircularPositions:function(){var a=this,c=a.box,d=a.nodes,b=
+2*Math.PI/(d.length+1),e,h,n=a.options.initialPositionRadius;d.forEach(function(d,f){a.options.splitSeries&&!d.isParentNode?(e=d.series.parentNode.plotX,h=d.series.parentNode.plotY):(e=c.width/2,h=c.height/2);d.plotX=d.prevX=k(d.plotX,e+n*Math.cos(d.index||f*b));d.plotY=d.prevY=k(d.plotY,h+n*Math.sin(d.index||f*b));d.dispX=0;d.dispY=0})},repulsiveForces:function(){var a=this,c,d,b,e=a.options.bubblePadding;a.nodes.forEach(function(f){f.degree=f.mass;f.neighbours=0;a.nodes.forEach(function(h){c=0;
+f===h||f.fixedPosition||!a.options.seriesInteraction&&f.series!==h.series||(b=a.getDistXY(f,h),d=a.vectorLength(b)-(f.marker.radius+h.marker.radius+e),0>d&&(f.degree+=.01,f.neighbours++,c=a.repulsiveForce(-d/Math.sqrt(f.neighbours),a.k,f,h)),a.force("repulsive",f,c*h.mass,b,h,d))})})},applyLimitBox:function(a){if(this.options.splitSeries&&!a.isParentNode&&this.options.parentNodeLimit){var d=this.getDistXY(a,a.series.parentNode);var e=a.series.parentNodeRadius-a.marker.radius-this.vectorLength(d);
+0>e&&e>-2*a.marker.radius&&(a.plotX-=.01*d.x,a.plotY-=.01*d.y)}c.prototype.applyLimitBox.apply(this,arguments)}});a(e,"beforeRedraw",function(){this.allDataPoints&&delete this.allDataPoints})});z(e,"Series/PackedBubble/PackedBubbleSeries.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Series/PackedBubble/PackedBubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,c,a){var n=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof
+Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function g(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}(),k=e.parse,t=c.series,q=c.seriesTypes.bubble,y=a.addEvent,b=a.clamp,f=a.defined,m=a.extend,v=a.fireEvent,w=a.isArray,z=a.isNumber,B=a.merge,E=a.pick,u=d.dragNodesMixin;e=function(a){function c(){var b=null!==a&&a.apply(this,arguments)||this;b.chart=void 0;
+b.data=void 0;b.layout=void 0;b.options=void 0;b.points=void 0;b.xData=void 0;return b}n(c,a);c.prototype.accumulateAllPoints=function(a){var b=a.chart,c=[],g,d;for(g=0;g<b.series.length;g++)if(a=b.series[g],a.is("packedbubble")&&a.visible||!b.options.chart.ignoreHiddenSeries)for(d=0;d<a.yData.length;d++)c.push([null,null,a.yData[d],a.index,d,{id:d,marker:{radius:0}}]);return c};c.prototype.addLayout=function(){var a=this.options.layoutAlgorithm,b=this.chart.graphLayoutsStorage,c=this.chart.graphLayoutsLookup,
+e=this.chart.options.chart;b||(this.chart.graphLayoutsStorage=b={},this.chart.graphLayoutsLookup=c=[]);var l=b[a.type];l||(a.enableSimulation=f(e.forExport)?!e.forExport:a.enableSimulation,b[a.type]=l=new d.layouts[a.type],l.init(a),c.splice(l.index,0,l));this.layout=l;this.points.forEach(function(a){a.mass=2;a.degree=1;a.collisionNmb=1});l.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight);l.addElementsToCollection([this],l.series);l.addElementsToCollection(this.points,l.nodes)};c.prototype.addSeriesLayout=
+function(){var a=this.options.layoutAlgorithm,b=this.chart.graphLayoutsStorage,c=this.chart.graphLayoutsLookup,e=B(a,a.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation});var f=b[a.type+"-series"];f||(b[a.type+"-series"]=f=new d.layouts[a.type],f.init(e),c.splice(f.index,0,f));this.parentNodeLayout=f;this.createParentNodes()};c.prototype.calculateParentRadius=function(){var a=this.seriesBox();this.parentNodeRadius=b(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,a?Math.max(Math.sqrt(Math.pow(a.width,
+2)+Math.pow(a.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20);this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)};c.prototype.calculateZExtremes=function(){var a=this.options.zMin,b=this.options.zMax,c=Infinity,d=-Infinity;if(a&&b)return[a,b];this.chart.series.forEach(function(a){a.yData.forEach(function(a){f(a)&&(a>d&&(d=a),a<c&&(c=a))})});a=E(a,c);b=E(b,d);return[a,b]};c.prototype.checkOverlap=function(a,b){var c=a[0]-b[0],d=a[1]-b[1];
+return-.001>Math.sqrt(c*c+d*d)-Math.abs(a[2]+b[2])};c.prototype.createParentNodes=function(){var a=this,b=a.chart,c=a.parentNodeLayout,d,e=a.parentNode,f=a.pointClass;a.parentNodeMass=0;a.points.forEach(function(b){a.parentNodeMass+=Math.PI*Math.pow(b.marker.radius,2)});a.calculateParentRadius();c.nodes.forEach(function(b){b.seriesIndex===a.index&&(d=!0)});c.setArea(0,0,b.plotWidth,b.plotHeight);d||(e||(e=(new f).init(this,{mass:a.parentNodeRadius/2,marker:{radius:a.parentNodeRadius},dataLabels:{inside:!1},
+dataLabelOnNull:!0,degree:a.parentNodeRadius,isParentNode:!0,seriesIndex:a.index})),a.parentNode&&(e.plotX=a.parentNode.plotX,e.plotY=a.parentNode.plotY),a.parentNode=e,c.addElementsToCollection([a],c.series),c.addElementsToCollection([e],c.nodes))};c.prototype.deferLayout=function(){var a=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),a.splitSeries&&this.addSeriesLayout())};c.prototype.destroy=function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(function(a){a.removeElementFromCollection(this,
+a.series)},this);this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy()));t.prototype.destroy.apply(this,arguments)};c.prototype.drawDataLabels=function(){var a=this.options.dataLabels.textPath,b=this.points;t.prototype.drawDataLabels.apply(this,arguments);this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],
+this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,t.prototype.drawDataLabels.apply(this,arguments),this.points=b,this.options.dataLabels.textPath=a)};c.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var a=this.chart;var b=this.layout.options.parentNodeOptions.marker;var c={fill:b.fillColor||k(this.color).brighten(.4).get(),opacity:b.fillOpacity,stroke:b.lineColor||this.color,"stroke-width":b.lineWidth};this.parentNodesGroup||(this.parentNodesGroup=
+this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,a.seriesGroup),this.group.attr({zIndex:2}));this.calculateParentRadius();b=B({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},c);this.parentNode.graphic||(this.graph=this.parentNode.graphic=a.renderer.symbol(c.symbol).add(this.parentNodesGroup));this.parentNode.graphic.attr(b)}};c.prototype.drawTracker=function(){var b=
+this.parentNode;a.prototype.drawTracker.call(this);if(b){var c=w(b.dataLabels)?b.dataLabels:b.dataLabel?[b.dataLabel]:[];b.graphic&&(b.graphic.element.point=b);c.forEach(function(a){a.div?a.div.point=b:a.element.point=b})}};c.prototype.getPointRadius=function(){var a=this,c=a.chart,d=a.options,e=d.useSimulation,f=Math.min(c.plotWidth,c.plotHeight),l={},h=[],k=c.allDataPoints,m,n,q,r;["minSize","maxSize"].forEach(function(a){var b=parseInt(d[a],10),c=/%$/.test(d[a]);l[a]=c?f*b/100:b*Math.sqrt(k.length)});
+c.minRadius=m=l.minSize/Math.sqrt(k.length);c.maxRadius=n=l.maxSize/Math.sqrt(k.length);var t=e?a.calculateZExtremes():[m,n];(k||[]).forEach(function(c,d){q=e?b(c[2],t[0],t[1]):c[2];r=a.getRadius(t[0],t[1],m,n,q);0===r&&(r=null);k[d][2]=r;h.push(r)});a.radii=h};c.prototype.init=function(){t.prototype.init.apply(this,arguments);this.eventsToUnbind.push(y(this,"updatedData",function(){this.chart.series.forEach(function(a){a.type===this.type&&(a.isDirty=!0)},this)}));return this};c.prototype.onMouseUp=
+function(a){if(a.fixedPosition&&!a.removed){var b,c,d=this.layout,g=this.parentNodeLayout;g&&d.options.dragBetweenSeries&&g.nodes.forEach(function(g){a&&a.marker&&g!==a.series.parentNode&&(b=d.getDistXY(a,g),c=d.vectorLength(b)-g.marker.radius-a.marker.radius,0>c&&(g.series.addPoint(B(a.options,{plotX:a.plotX,plotY:a.plotY}),!1),d.removeElementFromCollection(a,d.nodes),a.remove()))});u.onMouseUp.apply(this,arguments)}};c.prototype.placeBubbles=function(a){var b=this.checkOverlap,c=this.positionBubble,
+d=[],g=1,e=0,f=0;var l=[];var h;a=a.sort(function(a,b){return b[2]-a[2]});if(a.length){d.push([[0,0,a[0][2],a[0][3],a[0][4]]]);if(1<a.length)for(d.push([[0,0-a[1][2]-a[0][2],a[1][2],a[1][3],a[1][4]]]),h=2;h<a.length;h++)a[h][2]=a[h][2]||1,l=c(d[g][e],d[g-1][f],a[h]),b(l,d[g][0])?(d.push([]),f=0,d[g+1].push(c(d[g][e],d[g][0],a[h])),g++,e=0):1<g&&d[g-1][f+1]&&b(l,d[g-1][f+1])?(f++,d[g].push(c(d[g][e],d[g-1][f],a[h])),e++):(e++,d[g].push(l));this.chart.stages=d;this.chart.rawPositions=[].concat.apply([],
+d);this.resizeRadius();l=this.chart.rawPositions}return l};c.prototype.positionBubble=function(a,b,c){var d=Math.sqrt,g=Math.asin,e=Math.acos,f=Math.pow,l=Math.abs;d=d(f(a[0]-b[0],2)+f(a[1]-b[1],2));e=e((f(d,2)+f(c[2]+b[2],2)-f(c[2]+a[2],2))/(2*(c[2]+b[2])*d));g=g(l(a[0]-b[0])/d);a=(0>a[1]-b[1]?0:Math.PI)+e+g*(0>(a[0]-b[0])*(a[1]-b[1])?1:-1);return[b[0]+(b[2]+c[2])*Math.sin(a),b[1]-(b[2]+c[2])*Math.cos(a),c[2],c[3],c[4]]};c.prototype.render=function(){var a=[];t.prototype.render.apply(this,arguments);
+this.options.dataLabels.allowOverlap||(this.data.forEach(function(b){w(b.dataLabels)&&b.dataLabels.forEach(function(b){a.push(b)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(a))};c.prototype.resizeRadius=function(){var a=this.chart,b=a.rawPositions,c=Math.min,d=Math.max,e=a.plotLeft,f=a.plotTop,l=a.plotHeight,h=a.plotWidth,k,m,n;var q=k=Number.POSITIVE_INFINITY;var r=m=Number.NEGATIVE_INFINITY;for(n=0;n<b.length;n++){var t=b[n][2];q=c(q,b[n][0]-t);r=d(r,b[n][0]+t);k=c(k,b[n][1]-
+t);m=d(m,b[n][1]+t)}n=[r-q,m-k];c=c.apply([],[(h-e)/n[0],(l-f)/n[1]]);if(1e-10<Math.abs(c-1)){for(n=0;n<b.length;n++)b[n][2]*=c;this.placeBubbles(b)}else a.diffY=l/2+f-k-(m-k)/2,a.diffX=h/2+e-q-(r-q)/2};c.prototype.seriesBox=function(){var a=this.chart,b=Math.max,c=Math.min,d,e=[a.plotLeft,a.plotLeft+a.plotWidth,a.plotTop,a.plotTop+a.plotHeight];this.data.forEach(function(a){f(a.plotX)&&f(a.plotY)&&a.marker.radius&&(d=a.marker.radius,e[0]=c(e[0],a.plotX-d),e[1]=b(e[1],a.plotX+d),e[2]=c(e[2],a.plotY-
+d),e[3]=b(e[3],a.plotY+d))});return z(e.width/e.height)?e:null};c.prototype.setVisible=function(){var a=this;t.prototype.setVisible.apply(a,arguments);a.parentNodeLayout&&a.graph?a.visible?(a.graph.show(),a.parentNode.dataLabel&&a.parentNode.dataLabel.show()):(a.graph.hide(),a.parentNodeLayout.removeElementFromCollection(a.parentNode,a.parentNodeLayout.nodes),a.parentNode.dataLabel&&a.parentNode.dataLabel.hide()):a.layout&&(a.visible?a.layout.addElementsToCollection(a.points,a.layout.nodes):a.points.forEach(function(b){a.layout.removeElementFromCollection(b,
+a.layout.nodes)}))};c.prototype.translate=function(){var a=this.chart,b=this.data,c=this.index,d,e=this.options.useSimulation;this.processedXData=this.xData;this.generatePoints();f(a.allDataPoints)||(a.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius());if(e)var l=a.allDataPoints;else l=this.placeBubbles(a.allDataPoints),this.options.draggable=!1;for(d=0;d<l.length;d++)if(l[d][3]===c){var h=b[l[d][4]];var k=E(l[d][2],void 0);e||(h.plotX=l[d][0]-a.plotLeft+a.diffX,h.plotY=l[d][1]-a.plotTop+
+a.diffY);z(k)&&(h.marker=m(h.marker,{radius:k,width:2*k,height:2*k}),h.radius=k)}e&&this.deferLayout();v(this,"afterTranslate")};c.defaultOptions=B(q.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){return this.point.value},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},
+layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:1,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1E3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}});
+return c}(q);m(e.prototype,{alignDataLabel:t.prototype.alignDataLabel,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,onMouseDown:u.onMouseDown,onMouseMove:u.onMouseMove,pointArrayMap:["value"],pointClass:h,pointValKey:"value",redrawHalo:u.redrawHalo,requireSorting:!1,searchPoint:d.noop,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"]});c.registerSeriesType("packedbubble",e);"";"";return e});z(e,"Extensions/Polar.js",
+[e["Core/Animation/AnimationUtilities.js"],e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Extensions/Pane.js"],e["Core/Pointer.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(e,d,h,c,a,n,k,t,q){var y=e.animObject;k=k.seriesTypes;var b=q.addEvent,f=q.defined,m=q.find,v=q.isNumber,w=q.pick,z=q.splat,B=q.uniqueKey;e=q.wrap;var E=n.prototype;a=a.prototype;E.searchPointByAngle=function(a){var b=this.chart,c=this.xAxis.pane.center;
+return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(a.chartX-c[0]-b.plotLeft,a.chartY-c[1]-b.plotTop)})};E.getConnectors=function(a,b,c,d){var e=d?1:0;var g=0<=b&&b<=a.length-1?b:0>b?a.length-1+b:0;b=0>g-1?a.length-(1+e):g-1;e=g+1>a.length-1?e:g+1;var f=a[b];e=a[e];var l=f.plotX;f=f.plotY;var h=e.plotX;var k=e.plotY;e=a[g].plotX;g=a[g].plotY;l=(1.5*e+l)/2.5;f=(1.5*g+f)/2.5;h=(1.5*e+h)/2.5;var p=(1.5*g+k)/2.5;k=Math.sqrt(Math.pow(l-e,2)+Math.pow(f-g,2));var m=Math.sqrt(Math.pow(h-e,2)+Math.pow(p-
+g,2));l=Math.atan2(f-g,l-e);p=Math.PI/2+(l+Math.atan2(p-g,h-e))/2;Math.abs(l-p)>Math.PI/2&&(p-=Math.PI);l=e+Math.cos(p)*k;f=g+Math.sin(p)*k;h=e+Math.cos(Math.PI+p)*m;p=g+Math.sin(Math.PI+p)*m;e={rightContX:h,rightContY:p,leftContX:l,leftContY:f,plotX:e,plotY:g};c&&(e.prevPointCont=this.getConnectors(a,b,!1,d));return e};E.toXY=function(a){var b=this.chart,c=this.xAxis,d=this.yAxis,e=a.plotX,f=a.plotY,l=a.series,h=b.inverted,k=a.y,m=h?e:d.len-f;h&&l&&!l.isRadialBar&&(a.plotY=f="number"===typeof k?
+d.translate(k)||0:0);a.rectPlotX=e;a.rectPlotY=f;d.center&&(m+=d.center[3]/2);v(f)&&(d=h?d.postTranslate(f,m):c.postTranslate(e,m),a.plotX=a.polarPlotX=d.x-b.plotLeft,a.plotY=a.polarPlotY=d.y-b.plotTop);this.kdByAngle?(b=(e/Math.PI*180+c.pane.options.startAngle)%360,0>b&&(b+=360),a.clientX=b):a.clientX=a.plotX};k.spline&&(e(k.spline.prototype,"getPointSpline",function(a,b,c,d){this.chart.polar?d?(a=this.getConnectors(b,d,!0,this.connectEnds),b=a.prevPointCont&&a.prevPointCont.rightContX,c=a.prevPointCont&&
+a.prevPointCont.rightContY,a=["C",v(b)?b:a.plotX,v(c)?c:a.plotY,v(a.leftContX)?a.leftContX:a.plotX,v(a.leftContY)?a.leftContY:a.plotY,a.plotX,a.plotY]):a=["M",c.plotX,c.plotY]:a=a.call(this,b,c,d);return a}),k.areasplinerange&&(k.areasplinerange.prototype.getPointSpline=k.spline.prototype.getPointSpline));b(n,"afterTranslate",function(){var a=this.chart;if(a.polar&&this.xAxis){(this.kdByAngle=a.tooltip&&a.tooltip.shared)?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy";
+if(!this.preventPostTranslate)for(var c=this.points,d=c.length;d--;)this.toXY(c[d]),!a.hasParallelCoordinates&&!this.yAxis.reversed&&c[d].y<this.yAxis.min&&(c[d].isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(b(this,"afterRender",function(){if(a.polar){var b=this.yAxis.pane.center;this.clipCircle?this.clipCircle.animate({x:b[0],y:b[1],r:b[2]/2,innerR:b[3]/2}):this.clipCircle=a.renderer.clipCircle(b[0],b[1],b[2]/2,b[3]/2);this.group.clip(this.clipCircle);
+this.setClip=h.noop}})))}},{order:2});e(k.line.prototype,"getGraphPath",function(a,b){var c=this,d;if(this.chart.polar){b=b||this.points;for(d=0;d<b.length;d++)if(!b[d].isNull){var e=d;break}if(!1!==this.options.connectEnds&&"undefined"!==typeof e){this.connectEnds=!0;b.splice(b.length,0,b[e]);var g=!0}b.forEach(function(a){"undefined"===typeof a.polarPlotY&&c.toXY(a)})}d=a.apply(this,[].slice.call(arguments,1));g&&b.pop();return d});var u=function(a,b){var c=this,d=this.chart,e=this.options.animation,
+g=this.group,f=this.markerGroup,l=this.xAxis.center,k=d.plotLeft,m=d.plotTop,n,q,r,t;if(d.polar)if(c.isRadialBar)b||(c.startAngleRad=w(c.translatedThreshold,c.xAxis.startAngleRad),h.seriesTypes.pie.prototype.animate.call(c,b));else{if(d.renderer.isSVG)if(e=y(e),c.is("column")){if(!b){var u=l[3]/2;c.points.forEach(function(a){n=a.graphic;r=(q=a.shapeArgs)&&q.r;t=q&&q.innerR;n&&q&&(n.attr({r:u,innerR:u}),n.animate({r:r,innerR:t},c.options.animation))})}}else b?(a={translateX:l[0]+k,translateY:l[1]+
+m,scaleX:.001,scaleY:.001},g.attr(a),f&&f.attr(a)):(a={translateX:k,translateY:m,scaleX:1,scaleY:1},g.animate(a,e),f&&f.animate(a,e))}else a.call(this,b)};e(E,"animate",u);if(k.column){var r=k.arearange.prototype;k=k.column.prototype;k.polarArc=function(a,b,c,d){var e=this.xAxis.center,g=this.yAxis.len,f=e[3]/2;b=g-b+f;a=g-w(a,g)+f;this.yAxis.reversed&&(0>b&&(b=f),0>a&&(a=f));return{x:e[0],y:e[1],r:b,innerR:a,start:c,end:d}};e(k,"animate",u);e(k,"translate",function(a){var b=this.options,c=b.stacking,
+d=this.chart,e=this.xAxis,h=this.yAxis,l=h.reversed,k=h.center,m=e.startAngleRad,n=e.endAngleRad-m;this.preventPostTranslate=!0;a.call(this);if(e.isRadial){a=this.points;e=a.length;var r=h.translate(h.min);var t=h.translate(h.max);b=b.threshold||0;if(d.inverted&&v(b)){var u=h.translate(b);f(u)&&(0>u?u=0:u>n&&(u=n),this.translatedThreshold=u+m)}for(;e--;){b=a[e];var w=b.barX;var y=b.x;var z=b.y;b.shapeType="arc";if(d.inverted){b.plotY=h.translate(z);if(c&&h.stacking){if(z=h.stacking.stacks[(0>z?"-":
+"")+this.stackKey],this.visible&&z&&z[y]&&!b.isNull){var B=z[y].points[this.getStackIndicator(void 0,y,this.index).key];var D=h.translate(B[0]);B=h.translate(B[1]);f(D)&&(D=q.clamp(D,0,n))}}else D=u,B=b.plotY;D>B&&(B=[D,D=B][0]);if(!l)if(D<r)D=r;else if(B>t)B=t;else{if(B<r||D>t)D=B=0}else if(B>r)B=r;else if(D<t)D=t;else if(D>r||B<t)D=B=n;h.min>h.max&&(D=B=l?n:0);D+=m;B+=m;k&&(b.barX=w+=k[3]/2);y=Math.max(w,0);z=Math.max(w+b.pointWidth,0);b.shapeArgs={x:k&&k[0],y:k&&k[1],r:z,innerR:y,start:D,end:B};
+b.opacity=D===B?0:void 0;b.plotY=(f(this.translatedThreshold)&&(D<this.translatedThreshold?D:B))-m}else D=w+m,b.shapeArgs=this.polarArc(b.yBottom,b.plotY,D,D+b.pointWidth);this.toXY(b);d.inverted?(w=h.postTranslate(b.rectPlotY,w+b.pointWidth/2),b.tooltipPos=[w.x-d.plotLeft,w.y-d.plotTop]):b.tooltipPos=[b.plotX,b.plotY];k&&(b.ttBelow=b.plotY>k[1])}}});k.findAlignments=function(a,b){null===b.align&&(b.align=20<a&&160>a?"left":200<a&&340>a?"right":"center");null===b.verticalAlign&&(b.verticalAlign=45>
+a||315<a?"bottom":135<a&&225>a?"top":"middle");return b};r&&(r.findAlignments=k.findAlignments);e(k,"alignDataLabel",function(a,b,c,d,e,f){var g=this.chart,h=w(d.inside,!!this.options.stacking);g.polar?(a=b.rectPlotX/Math.PI*180,g.inverted?(this.forceDL=g.isInsidePlot(b.plotX,Math.round(b.plotY)),h&&b.shapeArgs?(e=b.shapeArgs,e=this.yAxis.postTranslate(((e.start||0)+(e.end||0))/2-this.xAxis.startAngleRad,b.barX+b.pointWidth/2),e={x:e.x-g.plotLeft,y:e.y-g.plotTop}):b.tooltipPos&&(e={x:b.tooltipPos[0],
+y:b.tooltipPos[1]}),d.align=w(d.align,"center"),d.verticalAlign=w(d.verticalAlign,"middle")):this.findAlignments&&(d=this.findAlignments(a,d)),E.alignDataLabel.call(this,b,c,d,e,f),this.isRadialBar&&b.shapeArgs&&b.shapeArgs.start===b.shapeArgs.end&&c.hide(!0)):a.call(this,b,c,d,e,f)})}e(a,"getCoordinates",function(a,b){var c=this.chart,d={xAxis:[],yAxis:[]};c.polar?c.axes.forEach(function(a){var e=a.isXAxis,f=a.center;if("colorAxis"!==a.coll){var g=b.chartX-f[0]-c.plotLeft;f=b.chartY-f[1]-c.plotTop;
+d[e?"xAxis":"yAxis"].push({axis:a,value:a.translate(e?Math.PI-Math.atan2(g,f):Math.sqrt(Math.pow(g,2)+Math.pow(f,2)),!0)})}}):d=a.call(this,b);return d});t.prototype.clipCircle=function(a,b,c,d){var e=B(),f=this.createElement("clipPath").attr({id:e}).add(this.defs);a=d?this.arc(a,b,c,d,0,2*Math.PI).add(f):this.circle(a,b,c).add(f);a.id=e;a.clipPath=f;return a};b(d,"getAxes",function(){this.pane||(this.pane=[]);z(this.options.pane).forEach(function(a){new c(a,this)},this)});b(d,"afterDrawChartBox",
+function(){this.pane.forEach(function(a){a.render()})});b(n,"afterInit",function(){var a=this.chart;a.inverted&&a.polar&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0))});e(d.prototype,"get",function(a,b){return m(this.pane||[],function(a){return a.options.id===b})||a.call(this,b)})});z(e,"masters/highcharts-more.src.js",[],function(){})});
 //# sourceMappingURL=highcharts-more.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/highcharts-more.js.map


+ 237 - 223
node_modules/highcharts/highcharts-more.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highcharts JS v9.0.1 (2021-02-16)
+ * @license Highcharts JS v9.1.0 (2021-05-04)
  *
  * (c) 2009-2021 Torstein Honsi
  *
@@ -49,7 +49,7 @@
         /**
          * The Pane object allows options that are common to a set of X and Y axes.
          *
-         * In the future, this can be extended to basic Highcharts and Highstock.
+         * In the future, this can be extended to basic Highcharts and Highcharts Stock.
          *
          * @private
          * @class
@@ -672,7 +672,7 @@
                         this.pane.updateCenter(this);
                         // In case when the innerSize is set in a polar chart, the axis'
                         // center cannot be a reference to pane's center
-                        center = this.center = extend([], this.pane.center);
+                        center = this.center = this.pane.center.slice();
                         // The sector is used in Axis.translate to compute the
                         // translation of reversed axis points (#2570)
                         if (this.isCircular) {
@@ -1078,6 +1078,7 @@
                         // Apply the stack labels for yAxis in case of inverted chart
                         if (inverted && coll === 'yAxis') {
                             axis.defaultPolarOptions.stackLabels = AxisClass.defaultYAxisOptions.stackLabels;
+                            axis.defaultPolarOptions.reversedStacks = true;
                         }
                     }
                     // Disable certain features on angular and polar axes
@@ -1167,7 +1168,7 @@
                         align = labelOptions.align, angle = ((axis.translate(this.pos) + axis.startAngleRad +
                             Math.PI / 2) / Math.PI * 180) % 360, correctAngle = Math.round(angle), labelDir = 'end', // Direction of the label 'start' or 'end'
                         reducedAngle1 = correctAngle < 0 ?
-                            correctAngle + 360 : correctAngle, reducedAngle2 = reducedAngle1, translateY = 0, translateX = 0, labelYPosCorrection = labelOptions.y === null ? -labelBBox.height * 0.3 : 0;
+                            correctAngle + 360 : correctAngle, reducedAngle2 = reducedAngle1, translateY = 0, translateX = 0, labelYPosCorrection = !defined(optionsY) ? -labelBBox.height * 0.3 : 0;
                     if (axis.isRadial) { // Both X and Y axes in a polar chart
                         ret = axis.getPosition(this.pos, (axis.center[2] / 2) +
                             relativeLength(pick(labelOptions.distance, -25), axis.center[2] / 2, -axis.center[2] / 2));
@@ -1178,13 +1179,13 @@
                             });
                             // Vertically centered
                         }
-                        else if (optionsY === null) {
+                        else if (!defined(optionsY)) {
                             optionsY = (axis.chart.renderer
                                 .fontMetrics(label.styles && label.styles.fontSize).b -
                                 labelBBox.height / 2);
                         }
                         // Automatic alignment
-                        if (align === null) {
+                        if (!defined(align)) {
                             if (axis.isCircular) { // Y axis
                                 if (labelBBox.width >
                                     axis.len * axis.tickInterval / (axis.max - axis.min)) { // #3506
@@ -1273,8 +1274,8 @@
                             label.attr({ align: align });
                             label.translate(translateX, translateY + labelYPosCorrection);
                         }
-                        e.pos.x = ret.x + labelOptions.x;
-                        e.pos.y = ret.y + optionsY;
+                        e.pos.x = ret.x + (labelOptions.x || 0);
+                        e.pos.y = ret.y + (optionsY || 0);
                     }
                 });
                 // Wrap the getMarkPath function to return the path of the radial marker
@@ -1312,10 +1313,10 @@
             RadialAxis.defaultCircularOptions = {
                 gridLineWidth: 1,
                 labels: {
-                    align: null,
+                    align: void 0,
                     distance: 15,
                     x: 0,
-                    y: null,
+                    y: void 0,
                     style: {
                         textOverflow: 'none' // wrap lines by default (#7248)
                     }
@@ -1333,7 +1334,7 @@
                 labels: {
                     align: 'center',
                     x: 0,
-                    y: null // auto
+                    y: void 0 // auto
                 },
                 minorGridLineWidth: 0,
                 minorTickInterval: 'auto',
@@ -1615,7 +1616,6 @@
                 _this.points = void 0;
                 _this.lowerStateMarkerGraphic = void 0;
                 _this.xAxis = void 0;
-                _this.setStackedPoints = noop;
                 return _this;
                 /* eslint-enable valid-jsdoc */
             }
@@ -1638,7 +1638,7 @@
             AreaRangeSeries.prototype.highToXY = function (point) {
                 // Find the polar plotX and plotY
                 var chart = this.chart,
-                    xy = this.xAxis.postTranslate(point.rectPlotX,
+                    xy = this.xAxis.postTranslate(point.rectPlotX || 0,
                     this.yAxis.len - point.plotHigh);
                 point.plotHighX = xy.x - chart.plotLeft;
                 point.plotHigh = xy.y - chart.plotTop;
@@ -1791,129 +1791,131 @@
                     inverted = this.chart.inverted,
                     upperDataLabelOptions,
                     lowerDataLabelOptions;
-                // Split into upper and lower options. If data labels is an array, the
-                // first element is the upper label, the second is the lower.
-                //
-                // TODO: We want to change this and allow multiple labels for both upper
-                // and lower values in the future - introducing some options for which
-                // point value to use as Y for the dataLabel, so that this could be
-                // handled in Series.drawDataLabels. This would also improve performance
-                // since we now have to loop over all the points multiple times to work
-                // around the data label logic.
-                if (isArray(dataLabelOptions)) {
-                    upperDataLabelOptions = dataLabelOptions[0] || { enabled: false };
-                    lowerDataLabelOptions = dataLabelOptions[1] || { enabled: false };
-                }
-                else {
-                    // Make copies
-                    upperDataLabelOptions = extend({}, dataLabelOptions);
-                    upperDataLabelOptions.x = dataLabelOptions.xHigh;
-                    upperDataLabelOptions.y = dataLabelOptions.yHigh;
-                    lowerDataLabelOptions = extend({}, dataLabelOptions);
-                    lowerDataLabelOptions.x = dataLabelOptions.xLow;
-                    lowerDataLabelOptions.y = dataLabelOptions.yLow;
-                }
-                // Draw upper labels
-                if (upperDataLabelOptions.enabled || this._hasPointLabels) {
-                    // Set preliminary values for plotY and dataLabel
-                    // and draw the upper labels
-                    i = length;
-                    while (i--) {
-                        point = data[i];
-                        if (point) {
-                            up = upperDataLabelOptions.inside ?
-                                point.plotHigh < point.plotLow :
-                                point.plotHigh > point.plotLow;
-                            point.y = point.high;
-                            point._plotY = point.plotY;
-                            point.plotY = point.plotHigh;
-                            // Store original data labels and set preliminary label
-                            // objects to be picked up in the uber method
-                            originalDataLabels[i] = point.dataLabel;
-                            point.dataLabel = point.dataLabelUpper;
-                            // Set the default offset
-                            point.below = up;
-                            if (inverted) {
-                                if (!upperDataLabelOptions.align) {
-                                    upperDataLabelOptions.align = up ? 'right' : 'left';
+                if (dataLabelOptions) {
+                    // Split into upper and lower options. If data labels is an array,
+                    // the first element is the upper label, the second is the lower.
+                    //
+                    // TODO: We want to change this and allow multiple labels for both
+                    // upper and lower values in the future - introducing some options
+                    // for which point value to use as Y for the dataLabel, so that
+                    // this could be handled in Series.drawDataLabels. This would also
+                    // improve performance since we now have to loop over all the
+                    // points multiple times to work around the data label logic.
+                    if (isArray(dataLabelOptions)) {
+                        upperDataLabelOptions = dataLabelOptions[0] || { enabled: false };
+                        lowerDataLabelOptions = dataLabelOptions[1] || { enabled: false };
+                    }
+                    else {
+                        // Make copies
+                        upperDataLabelOptions = extend({}, dataLabelOptions);
+                        upperDataLabelOptions.x = dataLabelOptions.xHigh;
+                        upperDataLabelOptions.y = dataLabelOptions.yHigh;
+                        lowerDataLabelOptions = extend({}, dataLabelOptions);
+                        lowerDataLabelOptions.x = dataLabelOptions.xLow;
+                        lowerDataLabelOptions.y = dataLabelOptions.yLow;
+                    }
+                    // Draw upper labels
+                    if (upperDataLabelOptions.enabled || this._hasPointLabels) {
+                        // Set preliminary values for plotY and dataLabel
+                        // and draw the upper labels
+                        i = length;
+                        while (i--) {
+                            point = data[i];
+                            if (point) {
+                                up = upperDataLabelOptions.inside ?
+                                    point.plotHigh < point.plotLow :
+                                    point.plotHigh > point.plotLow;
+                                point.y = point.high;
+                                point._plotY = point.plotY;
+                                point.plotY = point.plotHigh;
+                                // Store original data labels and set preliminary label
+                                // objects to be picked up in the uber method
+                                originalDataLabels[i] = point.dataLabel;
+                                point.dataLabel = point.dataLabelUpper;
+                                // Set the default offset
+                                point.below = up;
+                                if (inverted) {
+                                    if (!upperDataLabelOptions.align) {
+                                        upperDataLabelOptions.align = up ? 'right' : 'left';
+                                    }
                                 }
-                            }
-                            else {
-                                if (!upperDataLabelOptions.verticalAlign) {
-                                    upperDataLabelOptions.verticalAlign = up ?
-                                        'top' :
-                                        'bottom';
+                                else {
+                                    if (!upperDataLabelOptions.verticalAlign) {
+                                        upperDataLabelOptions.verticalAlign = up ?
+                                            'top' :
+                                            'bottom';
+                                    }
                                 }
                             }
                         }
-                    }
-                    this.options.dataLabels = upperDataLabelOptions;
-                    if (seriesProto.drawDataLabels) {
-                        // #1209:
-                        seriesProto.drawDataLabels.apply(this, arguments);
-                    }
-                    // Reset state after the upper labels were created. Move
-                    // it to point.dataLabelUpper and reassign the originals.
-                    // We do this here to support not drawing a lower label.
-                    i = length;
-                    while (i--) {
-                        point = data[i];
-                        if (point) {
-                            point.dataLabelUpper = point.dataLabel;
-                            point.dataLabel = originalDataLabels[i];
-                            delete point.dataLabels;
-                            point.y = point.low;
-                            point.plotY = point._plotY;
+                        this.options.dataLabels = upperDataLabelOptions;
+                        if (seriesProto.drawDataLabels) {
+                            // #1209:
+                            seriesProto.drawDataLabels.apply(this, arguments);
+                        }
+                        // Reset state after the upper labels were created. Move
+                        // it to point.dataLabelUpper and reassign the originals.
+                        // We do this here to support not drawing a lower label.
+                        i = length;
+                        while (i--) {
+                            point = data[i];
+                            if (point) {
+                                point.dataLabelUpper = point.dataLabel;
+                                point.dataLabel = originalDataLabels[i];
+                                delete point.dataLabels;
+                                point.y = point.low;
+                                point.plotY = point._plotY;
+                            }
                         }
                     }
-                }
-                // Draw lower labels
-                if (lowerDataLabelOptions.enabled || this._hasPointLabels) {
-                    i = length;
-                    while (i--) {
-                        point = data[i];
-                        if (point) {
-                            up = lowerDataLabelOptions.inside ?
-                                point.plotHigh < point.plotLow :
-                                point.plotHigh > point.plotLow;
-                            // Set the default offset
-                            point.below = !up;
-                            if (inverted) {
-                                if (!lowerDataLabelOptions.align) {
-                                    lowerDataLabelOptions.align = up ? 'left' : 'right';
+                    // Draw lower labels
+                    if (lowerDataLabelOptions.enabled || this._hasPointLabels) {
+                        i = length;
+                        while (i--) {
+                            point = data[i];
+                            if (point) {
+                                up = lowerDataLabelOptions.inside ?
+                                    point.plotHigh < point.plotLow :
+                                    point.plotHigh > point.plotLow;
+                                // Set the default offset
+                                point.below = !up;
+                                if (inverted) {
+                                    if (!lowerDataLabelOptions.align) {
+                                        lowerDataLabelOptions.align = up ? 'left' : 'right';
+                                    }
                                 }
-                            }
-                            else {
-                                if (!lowerDataLabelOptions.verticalAlign) {
-                                    lowerDataLabelOptions.verticalAlign = up ?
-                                        'bottom' :
-                                        'top';
+                                else {
+                                    if (!lowerDataLabelOptions.verticalAlign) {
+                                        lowerDataLabelOptions.verticalAlign = up ?
+                                            'bottom' :
+                                            'top';
+                                    }
                                 }
                             }
                         }
+                        this.options.dataLabels = lowerDataLabelOptions;
+                        if (seriesProto.drawDataLabels) {
+                            seriesProto.drawDataLabels.apply(this, arguments);
+                        }
                     }
-                    this.options.dataLabels = lowerDataLabelOptions;
-                    if (seriesProto.drawDataLabels) {
-                        seriesProto.drawDataLabels.apply(this, arguments);
-                    }
-                }
-                // Merge upper and lower into point.dataLabels for later destroying
-                if (upperDataLabelOptions.enabled) {
-                    i = length;
-                    while (i--) {
-                        point = data[i];
-                        if (point) {
-                            point.dataLabels = [
-                                point.dataLabelUpper,
-                                point.dataLabel
-                            ].filter(function (label) {
-                                return !!label;
-                            });
+                    // Merge upper and lower into point.dataLabels for later destroying
+                    if (upperDataLabelOptions.enabled) {
+                        i = length;
+                        while (i--) {
+                            point = data[i];
+                            if (point) {
+                                point.dataLabels = [
+                                    point.dataLabelUpper,
+                                    point.dataLabel
+                                ].filter(function (label) {
+                                    return !!label;
+                                });
+                            }
                         }
                     }
+                    // Reset options
+                    this.options.dataLabels = dataLabelOptions;
                 }
-                // Reset options
-                this.options.dataLabels = dataLabelOptions;
             };
             AreaRangeSeries.prototype.alignDataLabel = function () {
                 columnProto.alignDataLabel.apply(this, arguments);
@@ -1924,8 +1926,7 @@
                     point,
                     i;
                 // Draw bottom points
-                seriesProto.drawPoints
-                    .apply(series, arguments);
+                seriesProto.drawPoints.apply(series, arguments);
                 // Prepare drawing top points
                 i = 0;
                 while (i < pointLength) {
@@ -1946,9 +1947,11 @@
                     if (defined(point.plotHighX)) {
                         point.plotX = point.plotHighX;
                     }
-                    point.y = point.high;
-                    point.negative = point.high < (series.options.threshold || 0);
-                    point.zone = (series.zones.length && point.getZone());
+                    point.y = pick(point.high, point.origProps.y); // #15523
+                    point.negative = point.y < (series.options.threshold || 0);
+                    if (series.zones.length) {
+                        point.zone = point.getZone();
+                    }
                     if (!series.chart.polar) {
                         point.isInside = point.isTopInside = (typeof point.plotY !== 'undefined' &&
                             point.plotY >= 0 &&
@@ -1966,8 +1969,10 @@
                     point = series.points[i];
                     point.upperGraphic = point.graphic;
                     point.graphic = point.lowerGraphic;
-                    extend(point, point.origProps);
-                    delete point.origProps;
+                    if (point.origProps) {
+                        extend(point, point.origProps);
+                        delete point.origProps;
+                    }
                     i++;
                 }
             };
@@ -2097,7 +2102,8 @@
             pointArrayMap: ['low', 'high'],
             pointValKey: 'low',
             deferTranslatePolar: true,
-            pointClass: AreaRangePoint
+            pointClass: AreaRangePoint,
+            setStackedPoints: noop
         });
         SeriesRegistry.registerSeriesType('arearange', AreaRangeSeries);
         /* *
@@ -2462,7 +2468,6 @@
                 _this.options = void 0;
                 _this.barX = void 0;
                 _this.pointWidth = void 0;
-                _this.shapeArgs = void 0;
                 _this.shapeType = void 0;
                 return _this;
             }
@@ -2633,7 +2638,7 @@
                 columnProto.translate.apply(series);
                 // Set plotLow and plotHigh
                 series.points.forEach(function (point) {
-                    var shapeArgs = point.shapeArgs,
+                    var shapeArgs = point.shapeArgs || {},
                         minPointLength = series.options.minPointLength,
                         heightDifference,
                         height,
@@ -2662,16 +2667,20 @@
                     else {
                         shapeArgs.height = height;
                         shapeArgs.y = y;
+                        var _a = shapeArgs.x,
+                            x = _a === void 0 ? 0 : _a,
+                            _b = shapeArgs.width,
+                            width = _b === void 0 ? 0 : _b;
                         point.tooltipPos = chart.inverted ?
                             [
                                 yAxis.len + yAxis.pos - chart.plotLeft - y -
                                     height / 2,
                                 xAxis.len + xAxis.pos - chart.plotTop -
-                                    shapeArgs.x - shapeArgs.width / 2,
+                                    x - width / 2,
                                 height
                             ] : [
-                            xAxis.left - chart.plotLeft + shapeArgs.x +
-                                shapeArgs.width / 2,
+                            xAxis.left - chart.plotLeft + x +
+                                width / 2,
                             yAxis.pos - chart.plotTop + y + height / 2,
                             height
                         ]; // don't inherit from column tooltip position - #3372
@@ -5442,8 +5451,14 @@
                         path.length &&
                         ((!stacking && prevPoint.y < 0 && !reversedYAxis) ||
                             (prevPoint.y > 0 && reversedYAxis))) {
-                        path[path.length - 2][2] += prevArgs.height;
-                        path[path.length - 1][2] += prevArgs.height;
+                        var nextLast = path[path.length - 2];
+                        if (nextLast && typeof nextLast[2] === 'number') {
+                            nextLast[2] += prevArgs.height || 0;
+                        }
+                        var last = path[path.length - 1];
+                        if (last && typeof last[2] === 'number') {
+                            last[2] += prevArgs.height || 0;
+                        }
                     }
                 }
                 return path;
@@ -6105,7 +6120,7 @@
 
         return BubblePoint;
     });
-    _registerModule(_modules, 'Series/Bubble/BubbleLegend.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Color/Color.js'], _modules['Core/Globals.js'], _modules['Core/Legend.js'], _modules['Core/Color/Palette.js'], _modules['Core/Series/Series.js'], _modules['Core/Utilities.js']], function (Chart, Color, H, Legend, palette, Series, U) {
+    _registerModule(_modules, 'Series/Bubble/BubbleLegend.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Color/Color.js'], _modules['Core/FormatUtilities.js'], _modules['Core/Globals.js'], _modules['Core/Legend.js'], _modules['Core/Options.js'], _modules['Core/Color/Palette.js'], _modules['Core/Series/Series.js'], _modules['Core/Utilities.js']], function (Chart, Color, F, H, Legend, O, palette, Series, U) {
         /* *
          *
          *  (c) 2010-2021 Highsoft AS
@@ -6119,6 +6134,7 @@
          * */
         var color = Color.parse;
         var noop = H.noop;
+        var setOptions = O.setOptions;
         var addEvent = U.addEvent,
             arrayMax = U.arrayMax,
             arrayMin = U.arrayMin,
@@ -6126,7 +6142,6 @@
             merge = U.merge,
             objectEach = U.objectEach,
             pick = U.pick,
-            setOptions = U.setOptions,
             stableSort = U.stableSort,
             wrap = U.wrap;
         /**
@@ -6295,9 +6310,9 @@
                          */
                         style: {
                             /** @ignore-option */
-                            fontSize: 10,
+                            fontSize: '10px',
                             /** @ignore-option */
-                            color: void 0
+                            color: palette.neutralColor100
                         },
                         /**
                          * The x position offset of the label relative to the
@@ -6474,7 +6489,7 @@
                     maxLabel,
                     connectorDistance = options.connectorDistance;
                 // Predict label dimensions
-                this.fontMetrics = chart.renderer.fontMetrics(options.labels.style.fontSize.toString() + 'px');
+                this.fontMetrics = chart.renderer.fontMetrics(options.labels.style.fontSize);
                 // Do not create bubbleLegend now if ranges or ranges valeus are not
                 // specified or if are empty array.
                 if (!ranges || !ranges.length || !isNumber(ranges[0].value)) {
@@ -6514,26 +6529,30 @@
                     options = this.options,
                     series = this.chart.series[options.seriesIndex],
                     baseline = this.legend.baseline,
-                    bubbleStyle = {
-                        'z-index': options.zIndex,
+                    bubbleAttribs = {
+                        zIndex: options.zIndex,
                         'stroke-width': options.borderWidth
                     },
-                    connectorStyle = {
-                        'z-index': options.zIndex,
+                    connectorAttribs = {
+                        zIndex: options.zIndex,
                         'stroke-width': options.connectorWidth
                     },
-                    labelStyle = this.getLabelStyles(),
+                    labelAttribs = {
+                        align: (this.legend.options.rtl ||
+                            options.labels.align === 'left') ? 'right' : 'left',
+                        zIndex: options.zIndex
+                    },
                     fillOpacity = series.options.marker.fillOpacity,
                     styledMode = this.chart.styledMode;
                 // Allow to parts of styles be used individually for range
                 ranges.forEach(function (range, i) {
                     if (!styledMode) {
-                        bubbleStyle.stroke = pick(range.borderColor, options.borderColor, series.color);
-                        bubbleStyle.fill = pick(range.color, options.color, fillOpacity !== 1 ?
+                        bubbleAttribs.stroke = pick(range.borderColor, options.borderColor, series.color);
+                        bubbleAttribs.fill = pick(range.color, options.color, fillOpacity !== 1 ?
                             color(series.color).setOpacity(fillOpacity)
                                 .get('rgba') :
                             series.color);
-                        connectorStyle.stroke = pick(range.connectorColor, options.connectorColor, series.color);
+                        connectorAttribs.stroke = pick(range.connectorColor, options.connectorColor, series.color);
                     }
                     // Set options needed for rendering each range
                     ranges[i].radius = this.getRangeRadius(range.value);
@@ -6543,40 +6562,13 @@
                     });
                     if (!styledMode) {
                         merge(true, ranges[i], {
-                            bubbleStyle: merge(false, bubbleStyle),
-                            connectorStyle: merge(false, connectorStyle),
-                            labelStyle: labelStyle
+                            bubbleAttribs: merge(bubbleAttribs),
+                            connectorAttribs: merge(connectorAttribs),
+                            labelAttribs: labelAttribs
                         });
                     }
                 }, this);
             };
-            /**
-             * Merge options for bubbleLegend labels.
-             *
-             * @private
-             * @function Highcharts.BubbleLegend#getLabelStyles
-             * @return {Highcharts.CSSObject}
-             */
-            BubbleLegend.prototype.getLabelStyles = function () {
-                var options = this.options,
-                    additionalLabelsStyle = {},
-                    labelsOnLeft = options.labels.align === 'left',
-                    rtl = this.legend.options.rtl;
-                // To separate additional style options
-                objectEach(options.labels.style, function (value, key) {
-                    if (key !== 'color' &&
-                        key !== 'fontSize' &&
-                        key !== 'z-index') {
-                        additionalLabelsStyle[key] = value;
-                    }
-                });
-                return merge(false, additionalLabelsStyle, {
-                    'font-size': options.labels.style.fontSize,
-                    fill: pick(options.labels.style.color, palette.neutralColor100),
-                    'z-index': options.zIndex,
-                    align: rtl || labelsOnLeft ? 'right' : 'left'
-                });
-            };
             /**
              * Calculate radius for each bubble range,
              * used code from BubbleSeries.js 'getRadius' method.
@@ -6646,6 +6638,7 @@
                     options = this.options,
                     labelsOptions = options.labels,
                     chart = this.chart,
+                    bubbleSeries = chart.series[options.seriesIndex],
                     renderer = chart.renderer,
                     symbols = this.symbols,
                     labels = symbols.labels,
@@ -6655,7 +6648,6 @@
                     connectorDistance = options.connectorDistance || 0,
                     labelsAlign = labelsOptions.align,
                     rtl = legend.options.rtl,
-                    fontSize = labelsOptions.style.fontSize,
                     connectorLength = rtl || labelsAlign === 'left' ?
                         -connectorDistance : connectorDistance,
                     borderWidth = options.borderWidth,
@@ -6666,7 +6658,8 @@
                     labelY,
                     labelX,
                     fontMetrics = this.fontMetrics,
-                    labelMovement = fontSize / 2 - (fontMetrics.h - fontSize) / 2,
+                    labelMovement = fontMetrics.f / 2 -
+                        (fontMetrics.h - fontMetrics.f) / 2,
                     crispMovement = (posY % 1 ? 1 : 0.5) -
                         (connectorWidth % 2 ? 0 : 0.5),
                     styledMode = renderer.styledMode;
@@ -6674,17 +6667,17 @@
                 if (labelsAlign === 'center') {
                     connectorLength = 0; // do not use connector
                     options.connectorDistance = 0;
-                    range.labelStyle.align = 'center';
+                    range.labelAttribs.align = 'center';
                 }
                 labelY = posY + options.labels.y;
                 labelX = posX + connectorLength + options.labels.x;
                 // Render bubble symbol
                 symbols.bubbleItems.push(renderer
                     .circle(posX, elementCenter + crispMovement, absoluteRadius)
-                    .attr(styledMode ? {} : range.bubbleStyle)
+                    .attr(styledMode ? {} : range.bubbleAttribs)
                     .addClass((styledMode ?
                     'highcharts-color-' +
-                        this.options.seriesIndex + ' ' :
+                        bubbleSeries.colorIndex + ' ' :
                     '') +
                     'highcharts-bubble-legend-symbol ' +
                     (options.className || '')).add(this.legendSymbol));
@@ -6694,7 +6687,7 @@
                     ['M', posX, posY],
                     ['L', posX + connectorLength, posY]
                 ], options.connectorWidth))
-                    .attr(styledMode ? {} : range.connectorStyle)
+                    .attr((styledMode ? {} : range.connectorAttribs))
                     .addClass((styledMode ?
                     'highcharts-color-' +
                         this.options.seriesIndex + ' ' : '') +
@@ -6703,7 +6696,8 @@
                 // Render label
                 label = renderer
                     .text(this.formatLabel(range), labelX, labelY + labelMovement)
-                    .attr(styledMode ? {} : range.labelStyle)
+                    .attr((styledMode ? {} : range.labelAttribs))
+                    .css(styledMode ? {} : labelsOptions.style)
                     .addClass('highcharts-bubble-legend-labels ' +
                     (options.labels.className || '')).add(this.legendSymbol);
                 labels.push(label);
@@ -6752,7 +6746,7 @@
                     formatter = options.labels.formatter,
                     format = options.labels.format;
                 var numberFormatter = this.chart.numberFormatter;
-                return format ? U.format(format, range) :
+                return format ? F.format(format, range) :
                     formatter ? formatter.call(range) :
                         numberFormatter(range.value, 1);
             };
@@ -6828,7 +6822,7 @@
                 // Merge ranges values with user options
                 ranges.forEach(function (range, i) {
                     if (rangesOptions && rangesOptions[i]) {
-                        ranges[i] = merge(false, rangesOptions[i], range);
+                        ranges[i] = merge(rangesOptions[i], range);
                     }
                 });
                 return ranges;
@@ -7950,8 +7944,8 @@
                         normalizedEvent = chart.pointer.normalize(event),
                         diffX = point.fixedPosition.chartX - normalizedEvent.chartX,
                         diffY = point.fixedPosition.chartY - normalizedEvent.chartY,
-                        newPlotX,
-                        newPlotY,
+                        newPlotX = void 0,
+                        newPlotY = void 0,
                         graphLayoutsLookup = chart.graphLayoutsLookup;
                     // At least 5px to apply change (avoids simple click):
                     if (Math.abs(diffX) > 5 || Math.abs(diffY) > 5) {
@@ -9255,7 +9249,7 @@
                 */
                 // Exponential:
                 /*
-                var alpha = 0.1;
+                let alpha = 0.1;
                 layout.temperature = Math.sqrt(layout.nodes.length) *
                     Math.pow(alpha, layout.diffTemperature);
                 */
@@ -9456,6 +9450,15 @@
                     });
                 }
             },
+            isStable: function () {
+                var tempDiff = Math.abs(this.prevSystemTemperature -
+                        this.systemTemperature);
+                var upScaledTemperature = 10 * this.systemTemperature /
+                        Math.sqrt(this.nodes.length);
+                return Math.abs(upScaledTemperature) < 1 &&
+                    tempDiff < 0.00001 ||
+                    this.temperature <= 0;
+            },
             setCircularPositions: function () {
                 var layout = this,
                     box = layout.box,
@@ -9915,11 +9918,10 @@
                         opacity: nodeMarker.fillOpacity,
                         stroke: nodeMarker.lineColor || series.color,
                         'stroke-width': nodeMarker.lineWidth
-                    },
-                    visibility = series.visible ? 'inherit' : 'hidden';
+                    };
                 // create the group for parent Nodes if doesn't exist
                 if (!this.parentNodesGroup) {
-                    series.parentNodesGroup = series.plotGroup('parentNodesGroup', 'parentNode', visibility, 0.1, chart.seriesGroup);
+                    series.parentNodesGroup = series.plotGroup('parentNodesGroup', 'parentNode', series.visible ? 'inherit' : 'hidden', 0.1, chart.seriesGroup);
                     series.group.attr({
                         zIndex: 2
                     });
@@ -10042,24 +10044,24 @@
              */
             PackedBubbleSeries.prototype.onMouseUp = function (point) {
                 if (point.fixedPosition && !point.removed) {
-                    var distanceXY,
-                        distanceR,
-                        layout = this.layout,
+                    var distanceXY_1,
+                        distanceR_1,
+                        layout_1 = this.layout,
                         parentNodeLayout = this.parentNodeLayout;
-                    if (parentNodeLayout && layout.options.dragBetweenSeries) {
+                    if (parentNodeLayout && layout_1.options.dragBetweenSeries) {
                         parentNodeLayout.nodes.forEach(function (node) {
                             if (point && point.marker &&
                                 node !== point.series.parentNode) {
-                                distanceXY = layout.getDistXY(point, node);
-                                distanceR = (layout.vectorLength(distanceXY) -
+                                distanceXY_1 = layout_1.getDistXY(point, node);
+                                distanceR_1 = (layout_1.vectorLength(distanceXY_1) -
                                     node.marker.radius -
                                     point.marker.radius);
-                                if (distanceR < 0) {
+                                if (distanceR_1 < 0) {
                                     node.series.addPoint(merge(point.options, {
                                         plotX: point.plotX,
                                         plotY: point.plotY
                                     }), false);
-                                    layout.removeElementFromCollection(point, layout.nodes);
+                                    layout_1.removeElementFromCollection(point, layout_1.nodes);
                                     point.remove();
                                 }
                             }
@@ -10413,19 +10415,21 @@
                         // update the series points with the val from positions
                         // array
                         point = data[positions[i][4]];
-                        radius = positions[i][2];
+                        radius = pick(positions[i][2], void 0);
                         if (!useSimulation) {
                             point.plotX = (positions[i][0] - chart.plotLeft +
                                 chart.diffX);
                             point.plotY = (positions[i][1] - chart.plotTop +
                                 chart.diffY);
                         }
-                        point.marker = extend(point.marker, {
-                            radius: radius,
-                            width: 2 * radius,
-                            height: 2 * radius
-                        });
-                        point.radius = radius;
+                        if (isNumber(radius)) {
+                            point.marker = extend(point.marker, {
+                                radius: radius,
+                                width: 2 * radius,
+                                height: 2 * radius
+                            });
+                            point.radius = radius;
+                        }
                     }
                 }
                 if (useSimulation) {
@@ -11035,8 +11039,7 @@
          * @private
          */
         seriesProto.toXY = function (point) {
-            var xy,
-                chart = this.chart,
+            var chart = this.chart,
                 xAxis = this.xAxis,
                 yAxis = this.yAxis,
                 plotX = point.plotX,
@@ -11057,11 +11060,16 @@
             if (yAxis.center) {
                 radius += yAxis.center[3] / 2;
             }
-            // Find the polar plotX and plotY
-            xy = inverted ? yAxis.postTranslate(plotY, radius) :
-                xAxis.postTranslate(plotX, radius);
-            point.plotX = point.polarPlotX = xy.x - chart.plotLeft;
-            point.plotY = point.polarPlotY = xy.y - chart.plotTop;
+            // Find the polar plotX and plotY. Avoid setting plotX and plotY to NaN when
+            // plotY is undefined (#15438)
+            if (isNumber(plotY)) {
+                var xy = inverted ? yAxis.postTranslate(plotY,
+                    radius) :
+                        xAxis.postTranslate(plotX,
+                    radius);
+                point.plotX = point.polarPlotX = xy.x - chart.plotLeft;
+                point.plotY = point.polarPlotY = xy.y - chart.plotTop;
+            }
             // If shared tooltip, record the angle in degrees in order to align X
             // points. Otherwise, use a standard k-d tree to get the nearest point
             // in two dimensions.
@@ -11092,12 +11100,18 @@
                     }
                     else { // curve from last point to this
                         connectors = this.getConnectors(segment, i, true, this.connectEnds);
+                        var rightContX = connectors.prevPointCont && connectors.prevPointCont.rightContX;
+                        var rightContY = connectors.prevPointCont && connectors.prevPointCont.rightContY;
                         ret = [
                             'C',
-                            connectors.prevPointCont.rightContX,
-                            connectors.prevPointCont.rightContY,
-                            connectors.leftContX,
-                            connectors.leftContY,
+                            isNumber(rightContX) ? rightContX : connectors.plotX,
+                            isNumber(rightContY) ? rightContY : connectors.plotY,
+                            isNumber(connectors.leftContX) ?
+                                connectors.leftContX :
+                                connectors.plotX,
+                            isNumber(connectors.leftContY) ?
+                                connectors.leftContY :
+                                connectors.plotY,
                             connectors.plotX,
                             connectors.plotY
                         ];
@@ -11594,7 +11608,7 @@
                     else { // Required corrections for data labels of inverted bars
                         // The plotX and plotY are correctly set therefore they
                         // don't need to be swapped (inverted argument is false)
-                        this.forceDL = chart.isInsidePlot(point.plotX, Math.round(point.plotY), false);
+                        this.forceDL = chart.isInsidePlot(point.plotX, Math.round(point.plotY));
                         // Checks if labels should be positioned inside
                         if (inside && point.shapeArgs) {
                             shapeArgs = point.shapeArgs;
@@ -11603,7 +11617,7 @@
                             labelPos =
                                 this.yAxis.postTranslate(
                                 // angle
-                                (shapeArgs.start + shapeArgs.end) / 2 -
+                                ((shapeArgs.start || 0) + (shapeArgs.end || 0)) / 2 -
                                     this
                                         .xAxis.startAngleRad, 
                                 // radius

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 372 - 149
node_modules/highcharts/highcharts.d.ts


+ 574 - 567
node_modules/highcharts/highcharts.js

@@ -1,574 +1,581 @@
 /*
- Highcharts JS v9.0.1 (2021-02-15)
+ Highcharts JS v9.1.0 (2021-05-03)
 
  (c) 2009-2021 Torstein Honsi
 
  License: www.highcharts.com/license
 */
-(function(W,P){"object"===typeof module&&module.exports?(P["default"]=P,module.exports=W.document?P(W):P):"function"===typeof define&&define.amd?define("highcharts/highcharts",function(){return P(W)}):(W.Highcharts&&W.Highcharts.error(16,!0),W.Highcharts=P(W))})("undefined"!==typeof window?window:this,function(W){function P(f,d,k,x){f.hasOwnProperty(d)||(f[d]=x.apply(null,k))}var k={};P(k,"Core/Globals.js",[],function(){var f="undefined"!==typeof W?W:"undefined"!==typeof window?window:{},d=f.document,
-k=f.navigator&&f.navigator.userAgent||"",x=d&&d.createElementNS&&!!d.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,B=/(edge|msie|trident)/i.test(k)&&!f.opera,G=-1!==k.indexOf("Firefox"),D=-1!==k.indexOf("Chrome"),H=G&&4>parseInt(k.split("Firefox/")[1],10),t=function(){};return{product:"Highcharts",version:"9.0.1",deg2rad:2*Math.PI/360,doc:d,hasBidiBug:H,hasTouch:!!f.TouchEvent,isMS:B,isWebKit:-1!==k.indexOf("AppleWebKit"),isFirefox:G,isChrome:D,isSafari:!D&&-1!==k.indexOf("Safari"),
-isTouchDevice:/(Mobile|Android|Windows Phone)/.test(k),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},supportsPassiveEvents:function(){var C=!1;if(!B){var l=Object.defineProperty({},"passive",{get:function(){C=!0}});f.addEventListener&&f.removeEventListener&&(f.addEventListener("testPassive",t,l),f.removeEventListener("testPassive",t,l))}return C}(),symbolSizes:{},svg:x,win:f,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:t,charts:[],dateFormats:{}}});P(k,"Core/Utilities.js",
-[k["Core/Globals.js"]],function(f){function d(a,c,v,L){var p=c?"Highcharts error":"Highcharts warning";32===a&&(a=p+": Deprecated member");var K=l(a),h=K?p+" #"+a+": www.highcharts.com/errors/"+a+"/":a.toString();p=function(){if(c)throw Error(h);b.console&&-1===d.messages.indexOf(h)&&console.warn(h)};if("undefined"!==typeof L){var g="";K&&(h+="?");m(L,function(p,a){g+="\n - "+a+": "+p;K&&(h+=encodeURI(a)+"="+encodeURI(p))});h+=g}v?e(v,"displayError",{code:a,message:h,params:L},p):p();d.messages.push(h)}
-function k(){var a,b=arguments,v={},L=function(p,a){"object"!==typeof p&&(p={});m(a,function(b,u){"__proto__"!==u&&"constructor"!==u&&(!H(b,!0)||C(b)||t(b)?p[u]=a[u]:p[u]=L(p[u]||{},b))});return p};!0===b[0]&&(v=b[1],b=Array.prototype.slice.call(b,2));var p=b.length;for(a=0;a<p;a++)v=L(v,b[a]);return v}function x(a,b){var v={};m(a,function(L,p){if(H(a[p],!0)&&!a.nodeType&&b[p])L=x(a[p],b[p]),Object.keys(L).length&&(v[p]=L);else if(H(a[p])||a[p]!==b[p])v[p]=a[p]});return v}function B(a,b){return parseInt(a,
-b||10)}function G(a){return"string"===typeof a}function D(a){a=Object.prototype.toString.call(a);return"[object Array]"===a||"[object Array Iterator]"===a}function H(a,b){return!!a&&"object"===typeof a&&(!b||!D(a))}function t(a){return H(a)&&"number"===typeof a.nodeType}function C(a){var b=a&&a.constructor;return!(!H(a,!0)||t(a)||!b||!b.name||"Object"===b.name)}function l(a){return"number"===typeof a&&!isNaN(a)&&Infinity>a&&-Infinity<a}function E(a){return"undefined"!==typeof a&&null!==a}function g(a,
-b,v){var L;G(b)?E(v)?a.setAttribute(b,v):a&&a.getAttribute&&((L=a.getAttribute(b))||"class"!==b||(L=a.getAttribute(b+"Name"))):m(b,function(p,b){a.setAttribute(b,p)});return L}function y(a,b){var v;a||(a={});for(v in b)a[v]=b[v];return a}function c(){for(var a=arguments,b=a.length,v=0;v<b;v++){var L=a[v];if("undefined"!==typeof L&&null!==L)return L}}function q(a,b){f.isMS&&!f.svg&&b&&"undefined"!==typeof b.opacity&&(b.filter="alpha(opacity="+100*b.opacity+")");y(a.style,b)}function n(b,e,v,L,p){b=
-a.createElement(b);e&&y(b,e);p&&q(b,{padding:"0",border:"none",margin:"0"});v&&q(b,v);L&&L.appendChild(b);return b}function A(a,b){return parseFloat(a.toPrecision(b||14))}function M(a,b,v,L){a=+a||0;b=+b;var p=f.defaultOptions.lang,K=(a.toString().split(".")[1]||"").split("e")[0].length,e=a.toString().split("e"),h=b;if(-1===b)b=Math.min(K,20);else if(!l(b))b=2;else if(b&&e[1]&&0>e[1]){var u=b+ +e[1];0<=u?(e[0]=(+e[0]).toExponential(u).split("e")[0],b=u):(e[0]=e[0].split(".")[0]||0,a=20>b?(e[0]*Math.pow(10,
-e[1])).toFixed(b):0,e[1]=0)}var m=(Math.abs(e[1]?e[0]:a)+Math.pow(10,-Math.max(b,K)-1)).toFixed(b);K=String(B(m));u=3<K.length?K.length%3:0;v=c(v,p.decimalPoint);L=c(L,p.thousandsSep);a=(0>a?"-":"")+(u?K.substr(0,u)+L:"");a=0>+e[1]&&!h?"0":a+K.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+L);b&&(a+=v+m.slice(-b));e[1]&&0!==+a&&(a+="e"+e[1]);return a}function z(a,b){if(!a)return b;var v=a.split(".").reverse();if(1===v.length)return b[a];for(a=v.pop();"undefined"!==typeof a&&"undefined"!==typeof b&&null!==
-b;)b=b[a],a=v.pop();return b}function m(a,b,v){for(var e in a)Object.hasOwnProperty.call(a,e)&&b.call(v||a[e],a[e],e,a)}function r(a,b,v){function e(p,b){var u=a.removeEventListener||f.removeEventListenerPolyfill;u&&u.call(a,p,b,!1)}function p(p){var u;if(a.nodeName){if(b){var v={};v[b]=!0}else v=p;m(v,function(a,b){if(p[b])for(u=p[b].length;u--;)e(b,p[b][u].fn)})}}var K="function"===typeof a&&a.prototype||a;if(Object.hasOwnProperty.call(K,"hcEvents")){var h=K.hcEvents;b?(K=h[b]||[],v?(h[b]=K.filter(function(a){return v!==
-a.fn}),e(b,v)):(p(h),h[b]=[])):(p(h),delete K.hcEvents)}}function e(b,e,v,L){v=v||{};if(a.createEvent&&(b.dispatchEvent||b.fireEvent)){var p=a.createEvent("Events");p.initEvent(e,!0,!0);y(p,v);b.dispatchEvent?b.dispatchEvent(p):b.fireEvent(e,p)}else if(b.hcEvents){v.target||y(v,{preventDefault:function(){v.defaultPrevented=!0},target:b,type:e});p=[];for(var K=b,h=!1;K.hcEvents;)Object.hasOwnProperty.call(K,"hcEvents")&&K.hcEvents[e]&&(p.length&&(h=!0),p.unshift.apply(p,K.hcEvents[e])),K=Object.getPrototypeOf(K);
-h&&p.sort(function(a,p){return a.order-p.order});p.forEach(function(a){!1===a.fn.call(b,v)&&v.preventDefault()})}L&&!v.defaultPrevented&&L.call(b,v)}var h=f.charts,a=f.doc,b=f.win;"";(d||(d={})).messages=[];var w;Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};var J=Array.prototype.find?function(a,b){return a.find(b)}:function(a,b){var v,e=a.length;for(v=0;v<e;v++)if(b(a[v],v))return a[v]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(a,b){f[b]=
-function(v){var e;d(32,!1,void 0,(e={},e["Highcharts."+b]="use Array."+a,e));return Array.prototype[a].apply(v,[].slice.call(arguments,1))}});var O,F=function(){var a=Math.random().toString(36).substring(2,9)+"-",b=0;return function(){return"highcharts-"+(O?"":a)+b++}}(),N=f.getOptions=function(){return f.defaultOptions},R=f.setOptions=function(a){f.defaultOptions=k(!0,f.defaultOptions,a);(a.time||a.global)&&f.time.update(k(f.defaultOptions.global,f.defaultOptions.time,a.global,a.time));return f.defaultOptions};
-b.jQuery&&(b.jQuery.fn.highcharts=function(){var a=[].slice.call(arguments);if(this[0])return a[0]?(new (f[G(a[0])?a.shift():"Chart"])(this[0],a[0],a[1]),this):h[g(this[0],"data-highcharts-chart")]});return{addEvent:function(a,b,v,e){void 0===e&&(e={});var p="function"===typeof a&&a.prototype||a;Object.hasOwnProperty.call(p,"hcEvents")||(p.hcEvents={});p=p.hcEvents;f.Point&&a instanceof f.Point&&a.series&&a.series.chart&&(a.series.chart.runTrackerClick=!0);var K=a.addEventListener||f.addEventListenerPolyfill;
-K&&K.call(a,b,v,f.supportsPassiveEvents?{passive:void 0===e.passive?-1!==b.indexOf("touch"):e.passive,capture:!1}:!1);p[b]||(p[b]=[]);p[b].push({fn:v,order:"number"===typeof e.order?e.order:Infinity});p[b].sort(function(a,b){return a.order-b.order});return function(){r(a,b,v)}},arrayMax:function(a){for(var b=a.length,v=a[0];b--;)a[b]>v&&(v=a[b]);return v},arrayMin:function(a){for(var b=a.length,v=a[0];b--;)a[b]<v&&(v=a[b]);return v},attr:g,clamp:function(a,b,v){return a>b?a<v?a:v:b},cleanRecursively:x,
-clearTimeout:function(a){E(a)&&clearTimeout(a)},correctFloat:A,createElement:n,css:q,defined:E,destroyObjectProperties:function(a,b){m(a,function(v,e){v&&v!==b&&v.destroy&&v.destroy();delete a[e]})},discardElement:function(a){w||(w=n("div"));a&&w.appendChild(a);w.innerHTML=""},erase:function(a,b){for(var v=a.length;v--;)if(a[v]===b){a.splice(v,1);break}},error:d,extend:y,extendClass:function(a,b){var v=function(){};v.prototype=new a;y(v.prototype,b);return v},find:J,fireEvent:e,format:function(a,
-b,v){var e="{",p=!1,K=[],h=/f$/,c=/\.([0-9])/,u=f.defaultOptions.lang,m=v&&v.time||f.time;for(v=v&&v.numberFormatter||M;a;){var I=a.indexOf(e);if(-1===I)break;var g=a.slice(0,I);if(p){g=g.split(":");e=z(g.shift()||"",b);if(g.length&&"number"===typeof e)if(g=g.join(":"),h.test(g)){var w=parseInt((g.match(c)||["","-1"])[1],10);null!==e&&(e=v(e,w,u.decimalPoint,-1<g.indexOf(",")?u.thousandsSep:""))}else e=m.dateFormat(g,e);K.push(e)}else K.push(g);a=a.slice(I+1);e=(p=!p)?"}":"{"}K.push(a);return K.join("")},
-getMagnitude:function(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))},getNestedProperty:z,getOptions:N,getStyle:function(a,e,v){if("width"===e)return e=Math.min(a.offsetWidth,a.scrollWidth),v=a.getBoundingClientRect&&a.getBoundingClientRect().width,v<e&&v>=e-1&&(e=Math.floor(v)),Math.max(0,e-f.getStyle(a,"padding-left")-f.getStyle(a,"padding-right"));if("height"===e)return Math.max(0,Math.min(a.offsetHeight,a.scrollHeight)-f.getStyle(a,"padding-top")-f.getStyle(a,"padding-bottom"));b.getComputedStyle||
-d(27,!0);if(a=b.getComputedStyle(a,void 0))a=a.getPropertyValue(e),c(v,"opacity"!==e)&&(a=B(a));return a},inArray:function(a,b,v){d(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"});return b.indexOf(a,v)},isArray:D,isClass:C,isDOMElement:t,isFunction:function(a){return"function"===typeof a},isNumber:l,isObject:H,isString:G,keys:function(a){d(32,!1,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(a)},merge:k,normalizeTickInterval:function(a,b,v,e,p){var K=a;v=c(v,1);var h=a/
-v;b||(b=p?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===e&&(1===v?b=b.filter(function(a){return 0===a%1}):.1>=v&&(b=[1/v])));for(e=0;e<b.length&&!(K=b[e],p&&K*v>=a||!p&&h<=(b[e]+(b[e+1]||b[e]))/2);e++);return K=A(K*v,-Math.round(Math.log(.001)/Math.LN10))},numberFormat:M,objectEach:m,offset:function(e){var h=a.documentElement;e=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:e.top+(b.pageYOffset||h.scrollTop)-(h.clientTop||0),left:e.left+(b.pageXOffset||
-h.scrollLeft)-(h.clientLeft||0),width:e.width,height:e.height}},pad:function(a,b,v){return Array((b||2)+1-String(a).replace("-","").length).join(v||"0")+a},pick:c,pInt:B,relativeLength:function(a,b,v){return/%$/.test(a)?b*parseFloat(a)/100+(v||0):parseFloat(a)},removeEvent:r,setOptions:R,splat:function(a){return D(a)?a:[a]},stableSort:function(a,b){var v=a.length,e,p;for(p=0;p<v;p++)a[p].safeI=p;a.sort(function(a,p){e=b(a,p);return 0===e?a.safeI-p.safeI:e});for(p=0;p<v;p++)delete a[p].safeI},syncTimeout:function(a,
-b,v){if(0<b)return setTimeout(a,b,v);a.call(0,v);return-1},timeUnits:{millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5},uniqueKey:F,useSerialIds:function(a){return O=c(a,O)},wrap:function(a,b,v){var e=a[b];a[b]=function(){var a=Array.prototype.slice.call(arguments),b=arguments,h=this;h.proceed=function(){e.apply(h,arguments.length?arguments:b)};a.unshift(e);a=v.apply(this,a);h.proceed=null;return a}}}});P(k,"Core/Renderer/HTML/AST.js",[k["Core/Globals.js"],
-k["Core/Utilities.js"]],function(f,d){var k=f.SVG_NS,x=d.attr,B=d.createElement,G=d.discardElement,D=d.error,H=d.isString,t=d.objectEach,C=d.splat;"";var l=!1;try{l=!!(new DOMParser).parseFromString("","text/html")}catch(E){}return function(){function E(g){this.nodes="string"===typeof g?this.parseMarkup(g):g}E.filterUserAttributes=function(g){t(g,function(y,c){var q=!0;-1===E.allowedAttributes.indexOf(c)&&(q=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(c)&&(q=H(y)&&E.allowedReferences.some(function(c){return 0===
-y.indexOf(c)}));q||(D("Highcharts warning: Invalid attribute '"+c+"' in config"),delete g[c])});return g};E.setElementHTML=function(g,y){g.innerHTML="";y&&(new E(y)).addToDOM(g)};E.prototype.addToDOM=function(g){function y(c,g){var n;C(c).forEach(function(c){var q=c.tagName,A=c.textContent?f.doc.createTextNode(c.textContent):void 0;if(q)if("#text"===q)var m=A;else if(-1!==E.allowedTags.indexOf(q)){q=f.doc.createElementNS("svg"===q?k:g.namespaceURI||k,q);var r=c.attributes||{};t(c,function(e,h){"tagName"!==
-h&&"attributes"!==h&&"children"!==h&&"textContent"!==h&&(r[h]=e)});x(q,E.filterUserAttributes(r));A&&q.appendChild(A);y(c.children||[],q);m=q}else D("Highcharts warning: Invalid tagName '"+q+"' in config");m&&g.appendChild(m);n=m});return n}return y(this.nodes,g)};E.prototype.parseMarkup=function(g){var y=[];if(l)g=(new DOMParser).parseFromString(g,"text/html");else{var c=B("div");c.innerHTML=g;g={body:c}}var q=function(c,g){var n=c.nodeName.toLowerCase(),A={tagName:n};if("#text"===n){n=c.textContent||
-"";if(/^[\s]*$/.test(n))return;A.textContent=n}if(n=c.attributes){var m={};[].forEach.call(n,function(e){m[e.name]=e.value});A.attributes=m}if(c.childNodes.length){var r=[];[].forEach.call(c.childNodes,function(e){q(e,r)});r.length&&(A.children=r)}g.push(A)};[].forEach.call(g.body.childNodes,function(c){return q(c,y)});c&&G(c);return y};E.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr ul #text".split(" ");
-E.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 xy y y1 y2 zIndex".split(" ");
-E.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");return E}()});P(k,"Core/Color/Color.js",[k["Core/Globals.js"],k["Core/Utilities.js"]],function(f,d){var k=d.isNumber,x=d.merge,B=d.pInt;"";d=function(){function d(D){this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(d){return[B(d[1]),B(d[2]),B(d[3]),parseFloat(d[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(d){return[B(d[1]),
-B(d[2]),B(d[3]),1]}}];this.rgba=[];if(f.Color!==d)return new f.Color(D);if(!(this instanceof d))return new d(D);this.init(D)}d.parse=function(f){return new d(f)};d.prototype.init=function(f){var k,t;if((this.input=f=d.names[f&&f.toLowerCase?f.toLowerCase():""]||f)&&f.stops)this.stops=f.stops.map(function(l){return new d(l[1])});else{if(f&&f.charAt&&"#"===f.charAt()){var C=f.length;f=parseInt(f.substr(1),16);7===C?k=[(f&16711680)>>16,(f&65280)>>8,f&255,1]:4===C&&(k=[(f&3840)>>4|(f&3840)>>8,(f&240)>>
-4|f&240,(f&15)<<4|f&15,1])}if(!k)for(t=this.parsers.length;t--&&!k;){var l=this.parsers[t];(C=l.regex.exec(f))&&(k=l.parse(C))}}this.rgba=k||[]};d.prototype.get=function(d){var f=this.input,t=this.rgba;if("undefined"!==typeof this.stops){var C=x(f);C.stops=[].concat(C.stops);this.stops.forEach(function(l,E){C.stops[E]=[C.stops[E][0],l.get(d)]})}else C=t&&k(t[0])?"rgb"===d||!d&&1===t[3]?"rgb("+t[0]+","+t[1]+","+t[2]+")":"a"===d?t[3]:"rgba("+t.join(",")+")":f;return C};d.prototype.brighten=function(d){var f,
-t=this.rgba;if(this.stops)this.stops.forEach(function(C){C.brighten(d)});else if(k(d)&&0!==d)for(f=0;3>f;f++)t[f]+=B(255*d),0>t[f]&&(t[f]=0),255<t[f]&&(t[f]=255);return this};d.prototype.setOpacity=function(d){this.rgba[3]=d;return this};d.prototype.tweenTo=function(d,f){var t=this.rgba,C=d.rgba;C.length&&t&&t.length?(d=1!==C[3]||1!==t[3],f=(d?"rgba(":"rgb(")+Math.round(C[0]+(t[0]-C[0])*(1-f))+","+Math.round(C[1]+(t[1]-C[1])*(1-f))+","+Math.round(C[2]+(t[2]-C[2])*(1-f))+(d?","+(C[3]+(t[3]-C[3])*(1-
-f)):"")+")"):f=d.input||"none";return f};d.names={white:"#ffffff",black:"#000000"};return d}();f.Color=d;f.color=d.parse;return d});P(k,"Core/Color/Palette.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",neutralColor80:"#333333",neutralColor60:"#666666",neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",
-highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",indicatorPositiveLine:"#06b535",indicatorNegativeLine:"#f21313"}});P(k,"Core/Animation/Fx.js",[k["Core/Globals.js"],k["Core/Utilities.js"]],function(f,d){var k=f.win,x=d.isNumber,B=d.objectEach;d=function(){function d(d,f,t){this.pos=NaN;this.options=f;this.elem=d;this.prop=t}d.prototype.dSetter=function(){var d=this.paths,f=d&&d[0];d=d&&d[1];var t=[],C=this.now||
-0;if(1!==C&&f&&d)if(f.length===d.length&&1>C)for(var l=0;l<d.length;l++){for(var E=f[l],g=d[l],y=[],c=0;c<g.length;c++){var q=E[c],n=g[c];x(q)&&x(n)&&("A"!==g[0]||4!==c&&5!==c)?y[c]=q+C*(n-q):y[c]=n}t.push(y)}else t=d;else t=this.toD||[];this.elem.attr("d",t,void 0,!0)};d.prototype.update=function(){var d=this.elem,f=this.prop,t=this.now,C=this.options.step;if(this[f+"Setter"])this[f+"Setter"]();else d.attr?d.element&&d.attr(f,t,null,!0):d.style[f]=t+this.unit;C&&C.call(d,t,this)};d.prototype.run=
-function(f,H,t){var C=this,l=C.options,E=function(c){return E.stopped?!1:C.step(c)},g=k.requestAnimationFrame||function(c){setTimeout(c,13)},y=function(){for(var c=0;c<d.timers.length;c++)d.timers[c]()||d.timers.splice(c--,1);d.timers.length&&g(y)};f!==H||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=f,this.end=H,this.unit=t,this.now=this.start,this.pos=0,E.elem=this.elem,E.prop=this.prop,E()&&1===d.timers.push(E)&&g(y)):(delete l.curAnim[this.prop],l.complete&&0===Object.keys(l.curAnim).length&&
-l.complete.call(this.elem))};d.prototype.step=function(d){var f=+new Date,t=this.options,C=this.elem,l=t.complete,E=t.duration,g=t.curAnim;if(C.attr&&!C.element)d=!1;else if(d||f>=E+this.startTime){this.now=this.end;this.pos=1;this.update();var y=g[this.prop]=!0;B(g,function(c){!0!==c&&(y=!1)});y&&l&&l.call(C);d=!1}else this.pos=t.easing((f-this.startTime)/E),this.now=this.start+(this.end-this.start)*this.pos,this.update(),d=!0;return d};d.prototype.initPath=function(d,f,t){function C(c,g){for(;c.length<
-A;){var m=c[0],n=g[A-c.length];n&&"M"===m[0]&&(c[0]="C"===n[0]?["C",m[1],m[2],m[1],m[2],m[1],m[2]]:["L",m[1],m[2]]);c.unshift(m);y&&c.push(c[c.length-1])}}function l(g,n){for(;g.length<A;)if(n=g[g.length/c-1].slice(),"C"===n[0]&&(n[1]=n[5],n[2]=n[6]),y){var m=g[g.length/c].slice();g.splice(g.length/2,0,n,m)}else g.push(n)}var E=d.startX,g=d.endX;f=f&&f.slice();t=t.slice();var y=d.isArea,c=y?2:1;if(!f)return[t,t];if(E&&g){for(d=0;d<E.length;d++)if(E[d]===g[0]){var q=d;break}else if(E[0]===g[g.length-
-E.length+d]){q=d;var n=!0;break}else if(E[E.length-1]===g[g.length-E.length+d]){q=E.length-d;break}"undefined"===typeof q&&(f=[])}if(f.length&&x(q)){var A=t.length+q*c;n?(C(f,t),l(t,f)):(C(t,f),l(f,t))}return[f,t]};d.prototype.fillSetter=function(){d.prototype.strokeSetter.apply(this,arguments)};d.prototype.strokeSetter=function(){this.elem.attr(this.prop,f.color(this.start).tweenTo(f.color(this.end),this.pos),null,!0)};d.timers=[];return d}();f.Fx=d;f.timers=d.timers;return d});P(k,"Core/Animation/AnimationUtilities.js",
-[k["Core/Animation/Fx.js"],k["Core/Globals.js"],k["Core/Utilities.js"]],function(f,d,k){var x=k.defined,B=k.getStyle,S=k.isArray,D=k.isNumber,H=k.isObject,t=k.merge,C=k.objectEach,l=k.pick;k=d.setAnimation=function(c,g){g.renderer.globalAnimation=l(c,g.options.chart.animation,!0)};var E=d.animObject=function(c){return H(c)?t({duration:500,defer:0},c):{duration:c?500:0,defer:0}},g=d.getDeferredAnimation=function(c,g,n){var q=E(g),y=0,l=0;(n?[n]:c.series).forEach(function(c){c=E(c.options.animation);
-y=g&&x(g.defer)?q.defer:Math.max(y,c.duration+c.defer);l=Math.min(q.duration,c.duration)});c.renderer.forExport&&(y=0);return{defer:Math.max(0,y-l),duration:Math.min(y,l)}},y=d.stop=function(c,g){for(var n=f.timers.length;n--;)f.timers[n].elem!==c||g&&g!==f.timers[n].prop||(f.timers[n].stopped=!0)};return{animate:function(c,g,n){var q,l="",d,m;if(!H(n)){var r=arguments;n={duration:r[2],easing:r[3],complete:r[4]}}D(n.duration)||(n.duration=400);n.easing="function"===typeof n.easing?n.easing:Math[n.easing]||
-Math.easeInOutSine;n.curAnim=t(g);C(g,function(e,h){y(c,h);m=new f(c,n,h);d=null;"d"===h&&S(g.d)?(m.paths=m.initPath(c,c.pathArray,g.d),m.toD=g.d,q=0,d=1):c.attr?q=c.attr(h):(q=parseFloat(B(c,h))||0,"opacity"!==h&&(l="px"));d||(d=e);d&&d.match&&d.match("px")&&(d=d.replace(/px/g,""));m.run(q,d,l)})},animObject:E,getDeferredAnimation:g,setAnimation:k,stop:y}});P(k,"Core/Renderer/SVG/SVGElement.js",[k["Core/Animation/AnimationUtilities.js"],k["Core/Renderer/HTML/AST.js"],k["Core/Color/Color.js"],k["Core/Globals.js"],
-k["Core/Color/Palette.js"],k["Core/Utilities.js"]],function(f,d,k,x,B,G){var D=f.animate,H=f.animObject,t=f.stop,C=x.deg2rad,l=x.doc,E=x.hasTouch,g=x.noop,y=x.svg,c=x.SVG_NS,q=x.win,n=G.attr,A=G.createElement,M=G.css,z=G.defined,m=G.erase,r=G.extend,e=G.fireEvent,h=G.isArray,a=G.isFunction,b=G.isNumber,w=G.isString,J=G.merge,O=G.objectEach,F=G.pick,N=G.pInt,R=G.syncTimeout,Q=G.uniqueKey;"";f=function(){function f(){this.height=this.element=void 0;this.opacity=1;this.renderer=void 0;this.SVG_NS=c;
-this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ");this.width=void 0}f.prototype._defaultGetter=function(a){a=F(this[a+"Value"],this[a],this.element?this.element.getAttribute(a):null,0);/^[\-0-9\.]+$/.test(a)&&(a=parseFloat(a));return a};f.prototype._defaultSetter=function(a,b,p){p.setAttribute(b,a)};f.prototype.add=function(a){var b=this.renderer,p=this.element;a&&(this.parentGroup=a);this.parentInverted=a&&a.inverted;"undefined"!==typeof this.textStr&&
-"text"===this.element.nodeName&&b.buildText(this);this.added=!0;if(!a||a.handleZ||this.zIndex)var e=this.zIndexSetter();e||(a?a.element:b.box).appendChild(p);if(this.onAdd)this.onAdd();return this};f.prototype.addClass=function(a,b){var p=b?"":this.attr("class")||"";a=(a||"").split(/ /g).reduce(function(a,b){-1===p.indexOf(b)&&a.push(b);return a},p?[p]:[]).join(" ");a!==p&&this.attr("class",a);return this};f.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=
-!1)};f.prototype.align=function(a,b,p){var e,v={};var c=this.renderer;var u=c.alignedObjects;var h,I;if(a){if(this.alignOptions=a,this.alignByTranslate=b,!p||w(p))this.alignTo=e=p||"renderer",m(u,this),u.push(this),p=void 0}else a=this.alignOptions,b=this.alignByTranslate,e=this.alignTo;p=F(p,c[e],c);e=a.align;c=a.verticalAlign;u=(p.x||0)+(a.x||0);var g=(p.y||0)+(a.y||0);"right"===e?h=1:"center"===e&&(h=2);h&&(u+=(p.width-(a.width||0))/h);v[b?"translateX":"x"]=Math.round(u);"bottom"===c?I=1:"middle"===
-c&&(I=2);I&&(g+=(p.height-(a.height||0))/I);v[b?"translateY":"y"]=Math.round(g);this[this.placed?"animate":"attr"](v);this.placed=!0;this.alignAttr=v;return this};f.prototype.alignSetter=function(a){var b={left:"start",center:"middle",right:"end"};b[a]&&(this.alignValue=a,this.element.setAttribute("text-anchor",b[a]))};f.prototype.animate=function(a,b,p){var e=this,v=H(F(b,this.renderer.globalAnimation,!0));b=v.defer;F(l.hidden,l.msHidden,l.webkitHidden,!1)&&(v.duration=0);0!==v.duration?(p&&(v.complete=
-p),R(function(){e.element&&D(e,a,v)},b)):(this.attr(a,void 0,p),O(a,function(a,b){v.step&&v.step.call(this,a,{prop:b,pos:1,elem:this})},this));return this};f.prototype.applyTextOutline=function(a){var b=this.element;-1!==a.indexOf("contrast")&&(a=a.replace(/contrast/g,this.renderer.getContrast(b.style.fill)));var p=a.split(" ");a=p[p.length-1];if((p=p[0])&&"none"!==p&&x.svg){this.fakeTS=!0;this.ySetter=this.xSetter;p=p.replace(/(^[\d\.]+)(.*?)$/g,function(a,b,p){return 2*Number(b)+p});this.removeTextOutline();
-var e=l.createElementNS(c,"tspan");n(e,{"class":"highcharts-text-outline",fill:a,stroke:a,"stroke-width":p,"stroke-linejoin":"round"});[].forEach.call(b.childNodes,function(a){var b=a.cloneNode(!0);b.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(a){return b.removeAttribute(a)});e.appendChild(b)});a=l.createElementNS(c,"tspan");a.textContent="\u200b";n(a,{x:b.getAttribute("x"),y:b.getAttribute("y")});e.appendChild(a);b.insertBefore(e,b.firstChild)}};f.prototype.attr=function(a,
-b,p,e){var K=this.element,v,u=this,c,h,g=this.symbolCustomAttribs;if("string"===typeof a&&"undefined"!==typeof b){var L=a;a={};a[L]=b}"string"===typeof a?u=(this[a+"Getter"]||this._defaultGetter).call(this,a,K):(O(a,function(b,p){c=!1;e||t(this,p);this.symbolName&&-1!==g.indexOf(p)&&(v||(this.symbolAttr(a),v=!0),c=!0);!this.rotation||"x"!==p&&"y"!==p||(this.doTransform=!0);c||(h=this[p+"Setter"]||this._defaultSetter,h.call(this,b,p,K),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(p)&&
-this.updateShadows(p,b,h))},this),this.afterSetters());p&&p.call(this);return u};f.prototype.clip=function(a){return this.attr("clip-path",a?"url("+this.renderer.url+"#"+a.id+")":"none")};f.prototype.crisp=function(a,b){b=b||a.strokeWidth||0;var p=Math.round(b)%2/2;a.x=Math.floor(a.x||this.x||0)+p;a.y=Math.floor(a.y||this.y||0)+p;a.width=Math.floor((a.width||this.width||0)-2*p);a.height=Math.floor((a.height||this.height||0)-2*p);z(a.strokeWidth)&&(a.strokeWidth=b);return a};f.prototype.complexColor=
-function(a,b,p){var K=this.renderer,v,c,u,g,I,m,L,w,n,r,q=[],F;e(this.renderer,"complexColor",{args:arguments},function(){a.radialGradient?c="radialGradient":a.linearGradient&&(c="linearGradient");if(c){u=a[c];I=K.gradients;m=a.stops;n=p.radialReference;h(u)&&(a[c]=u={x1:u[0],y1:u[1],x2:u[2],y2:u[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===c&&n&&!z(u.gradientUnits)&&(g=u,u=J(u,K.getRadialAttr(n,g),{gradientUnits:"userSpaceOnUse"}));O(u,function(a,b){"id"!==b&&q.push(b,a)});O(m,function(a){q.push(a)});
-q=q.join(",");if(I[q])r=I[q].attr("id");else{u.id=r=Q();var e=I[q]=K.createElement(c).attr(u).add(K.defs);e.radAttr=g;e.stops=[];m.forEach(function(a){0===a[1].indexOf("rgba")?(v=k.parse(a[1]),L=v.get("rgb"),w=v.get("a")):(L=a[1],w=1);a=K.createElement("stop").attr({offset:a[0],"stop-color":L,"stop-opacity":w}).add(e);e.stops.push(a)})}F="url("+K.url+"#"+r+")";p.setAttribute(b,F);p.gradient=q;a.toString=function(){return F}}})};f.prototype.css=function(a){var b=this.styles,p={},e=this.element,c="",
-v=!b,u=["textOutline","textOverflow","width"];a&&a.color&&(a.fill=a.color);b&&O(a,function(a,u){b&&b[u]!==a&&(p[u]=a,v=!0)});if(v){b&&(a=r(b,p));if(a)if(null===a.width||"auto"===a.width)delete this.textWidth;else if("text"===e.nodeName.toLowerCase()&&a.width)var h=this.textWidth=N(a.width);this.styles=a;h&&!y&&this.renderer.forExport&&delete a.width;if(e.namespaceURI===this.SVG_NS){var g=function(a,b){return"-"+b.toLowerCase()};O(a,function(a,b){-1===u.indexOf(b)&&(c+=b.replace(/([A-Z])/g,g)+":"+
-a+";")});c&&n(e,"style",c)}else M(e,a);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),a&&a.textOutline&&this.applyTextOutline(a.textOutline))}return this};f.prototype.dashstyleSetter=function(a){var b=this["stroke-width"];"inherit"===b&&(b=1);if(a=a&&a.toLowerCase()){var p=a.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,
-"").split(",");for(a=p.length;a--;)p[a]=""+N(p[a])*F(b,NaN);a=p.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",a)}};f.prototype.destroy=function(){var a=this,b=a.element||{},p=a.renderer,e=p.isSVG&&"SPAN"===b.nodeName&&a.parentGroup||void 0,c=b.ownerSVGElement;b.onclick=b.onmouseout=b.onmouseover=b.onmousemove=b.point=null;t(a);if(a.clipPath&&c){var h=a.clipPath;[].forEach.call(c.querySelectorAll("[clip-path],[CLIP-PATH]"),function(a){-1<a.getAttribute("clip-path").indexOf(h.element.id)&&
-a.removeAttribute("clip-path")});a.clipPath=h.destroy()}if(a.stops){for(c=0;c<a.stops.length;c++)a.stops[c].destroy();a.stops.length=0;a.stops=void 0}a.safeRemoveChild(b);for(p.styledMode||a.destroyShadows();e&&e.div&&0===e.div.childNodes.length;)b=e.parentGroup,a.safeRemoveChild(e.div),delete e.div,e=b;a.alignTo&&m(p.alignedObjects,a);O(a,function(b,p){a[p]&&a[p].parentGroup===a&&a[p].destroy&&a[p].destroy();delete a[p]})};f.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(a){this.safeRemoveChild(a)},
-this);this.shadows=void 0};f.prototype.destroyTextPath=function(a,b){var p=a.getElementsByTagName("text")[0];if(p){if(p.removeAttribute("dx"),p.removeAttribute("dy"),b.element.setAttribute("id",""),this.textPathWrapper&&p.getElementsByTagName("textPath").length){for(a=this.textPathWrapper.element.childNodes;a.length;)p.appendChild(a[0]);p.removeChild(this.textPathWrapper.element)}}else if(a.getAttribute("dx")||a.getAttribute("dy"))a.removeAttribute("dx"),a.removeAttribute("dy");this.textPathWrapper&&
-(this.textPathWrapper=this.textPathWrapper.destroy())};f.prototype.dSetter=function(a,b,p){h(a)&&("string"===typeof a[0]&&(a=this.renderer.pathToSegments(a)),this.pathArray=a,a=a.reduce(function(a,b,p){return b&&b.join?(p?a+" ":"")+b.join(" "):(b||"").toString()},""));/(NaN| {2}|^$)/.test(a)&&(a="M 0 0");this[b]!==a&&(p.setAttribute(b,a),this[b]=a)};f.prototype.fadeOut=function(a){var b=this;b.animate({opacity:0},{duration:F(a,150),complete:function(){b.attr({y:-9999}).hide()}})};f.prototype.fillSetter=
-function(a,b,p){"string"===typeof a?p.setAttribute(b,a):a&&this.complexColor(a,b,p)};f.prototype.getBBox=function(b,e){var p,c=this.renderer,h=this.element,g=this.styles,u=this.textStr,m=c.cache,I=c.cacheKeys,v=h.namespaceURI===this.SVG_NS;e=F(e,this.rotation,0);var L=c.styledMode?h&&f.prototype.getStyle.call(h,"font-size"):g&&g.fontSize;if(z(u)){var w=u.toString();-1===w.indexOf("<")&&(w=w.replace(/[0-9]/g,"0"));w+=["",e,L,this.textWidth,g&&g.textOverflow,g&&g.fontWeight].join()}w&&!b&&(p=m[w]);
-if(!p){if(v||c.forExport){try{var n=this.fakeTS&&function(a){var b=h.querySelector(".highcharts-text-outline");b&&M(b,{display:a})};a(n)&&n("none");p=h.getBBox?r({},h.getBBox()):{width:h.offsetWidth,height:h.offsetHeight};a(n)&&n("")}catch(da){""}if(!p||0>p.width)p={width:0,height:0}}else p=this.htmlGetBBox();c.isSVG&&(b=p.width,c=p.height,v&&(p.height=c={"11px,17":14,"13px,20":16}[g&&g.fontSize+","+Math.round(c)]||c),e&&(g=e*C,p.width=Math.abs(c*Math.sin(g))+Math.abs(b*Math.cos(g)),p.height=Math.abs(c*
-Math.cos(g))+Math.abs(b*Math.sin(g))));if(w&&0<p.height){for(;250<I.length;)delete m[I.shift()];m[w]||I.push(w);m[w]=p}}return p};f.prototype.getStyle=function(a){return q.getComputedStyle(this.element||this,"").getPropertyValue(a)};f.prototype.hasClass=function(a){return-1!==(""+this.attr("class")).split(" ").indexOf(a)};f.prototype.hide=function(a){a?this.attr({y:-9999}):this.attr({visibility:"hidden"});return this};f.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};f.prototype.init=
-function(a,b){this.element="span"===b?A(b):l.createElementNS(this.SVG_NS,b);this.renderer=a;e(this,"afterInit")};f.prototype.invert=function(a){this.inverted=a;this.updateTransform();return this};f.prototype.on=function(a,b){var p,e,c=this.element,h;E&&"click"===a?(c.ontouchstart=function(a){p=a.touches[0].clientX;e=a.touches[0].clientY},c.ontouchend=function(a){p&&4<=Math.sqrt(Math.pow(p-a.changedTouches[0].clientX,2)+Math.pow(e-a.changedTouches[0].clientY,2))||b.call(c,a);h=!0;!1!==a.cancelable&&
-a.preventDefault()},c.onclick=function(a){h||b.call(c,a)}):c["on"+a]=b;return this};f.prototype.opacitySetter=function(a,b,p){this.opacity=a=Number(Number(a).toFixed(3));p.setAttribute(b,a)};f.prototype.removeClass=function(a){return this.attr("class",(""+this.attr("class")).replace(w(a)?new RegExp("(^| )"+a+"( |$)"):a," ").replace(/ +/g," ").trim())};f.prototype.removeTextOutline=function(){var a=this.element.querySelector("tspan.highcharts-text-outline");a&&this.safeRemoveChild(a)};f.prototype.safeRemoveChild=
-function(a){var b=a.parentNode;b&&b.removeChild(a)};f.prototype.setRadialReference=function(a){var b=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=a;b&&b.radAttr&&b.animate(this.renderer.getRadialAttr(a,b.radAttr));return this};f.prototype.setTextPath=function(a,e){var p=this.element,c=this.text?this.text.element:p,h={textAnchor:"text-anchor"},m=!1,u=this.textPathWrapper,v=!u;e=J(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},
-e);var I=d.filterUserAttributes(e.attributes);if(a&&e&&e.enabled){u&&null===u.element.parentNode?(v=!0,u=u.destroy()):u&&this.removeTextOutline.call(u.parentGroup);this.options&&this.options.padding&&(I.dx=-this.options.padding);u||(this.textPathWrapper=u=this.renderer.createElement("textPath"),m=!0);var w=u.element;(e=a.element.getAttribute("id"))||a.element.setAttribute("id",e=Q());if(v)for(c.setAttribute("y",0),b(I.dx)&&c.setAttribute("x",-I.dx),a=[].slice.call(c.childNodes),v=0;v<a.length;v++){var n=
-a[v];n.nodeType!==Node.TEXT_NODE&&"tspan"!==n.nodeName||w.appendChild(n)}m&&u&&u.add({element:c});w.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+e);z(I.dy)&&(w.parentNode.setAttribute("dy",I.dy),delete I.dy);z(I.dx)&&(w.parentNode.setAttribute("dx",I.dx),delete I.dx);O(I,function(a,b){w.setAttribute(h[b]||b,a)});p.removeAttribute("transform");this.removeTextOutline.call(u);this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0});this.applyTextOutline=
-this.updateTransform=g}else u&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(p,a),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this};f.prototype.shadow=function(a,b,p){var e=[],c=this.element,h=!1,u=this.oldShadowOptions;var g={color:B.neutralColor100,offsetX:1,offsetY:1,opacity:.15,width:3};var I;!0===a?I=g:"object"===typeof a&&(I=r(g,a));I&&(I&&u&&O(I,function(a,b){a!==u[b]&&(h=!0)}),h&&
-this.destroyShadows(),this.oldShadowOptions=I);if(!I)this.destroyShadows();else if(!this.shadows){var m=I.opacity/I.width;var v=this.parentInverted?"translate(-1,-1)":"translate("+I.offsetX+", "+I.offsetY+")";for(g=1;g<=I.width;g++){var w=c.cloneNode(!1);var L=2*I.width+1-2*g;n(w,{stroke:a.color||B.neutralColor100,"stroke-opacity":m*g,"stroke-width":L,transform:v,fill:"none"});w.setAttribute("class",(w.getAttribute("class")||"")+" highcharts-shadow");p&&(n(w,"height",Math.max(n(w,"height")-L,0)),
-w.cutHeight=L);b?b.element.appendChild(w):c.parentNode&&c.parentNode.insertBefore(w,c);e.push(w)}this.shadows=e}return this};f.prototype.show=function(a){return this.attr({visibility:a?"inherit":"visible"})};f.prototype.strokeSetter=function(a,b,p){this[b]=a;this.stroke&&this["stroke-width"]?(f.prototype.fillSetter.call(this,this.stroke,"stroke",p),p.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===b&&0===a&&this.hasStroke?(p.removeAttribute("stroke"),this.hasStroke=
-!1):this.renderer.styledMode&&this["stroke-width"]&&(p.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)};f.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var a=this.getStyle("stroke-width"),b=0;if(a.indexOf("px")===a.length-2)b=N(a);else if(""!==a){var p=l.createElementNS(c,"rect");n(p,{width:a,"stroke-width":0});this.element.parentNode.appendChild(p);b=p.getBBox().width;p.parentNode.removeChild(p)}return b};f.prototype.symbolAttr=
-function(a){var b=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(p){b[p]=F(a[p],b[p])});b.attr({d:b.renderer.symbols[b.symbolName](b.x,b.y,b.width,b.height,b)})};f.prototype.textSetter=function(a){a!==this.textStr&&(delete this.textPxLength,this.textStr=a,this.added&&this.renderer.buildText(this))};f.prototype.titleSetter=function(a){var b=this.element,p=b.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");b.insertBefore?b.insertBefore(p,
-b.firstChild):b.appendChild(p);p.textContent=String(F(a,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")};f.prototype.toFront=function(){var a=this.element;a.parentNode.appendChild(a);return this};f.prototype.translate=function(a,b){return this.attr({translateX:a,translateY:b})};f.prototype.updateShadows=function(a,b,p){var e=this.shadows;if(e)for(var c=e.length;c--;)p.call(e[c],"height"===a?Math.max(b-(e[c].cutHeight||0),0):"d"===a?this.d:b,a,e[c])};f.prototype.updateTransform=
-function(){var a=this.translateX||0,b=this.translateY||0,p=this.scaleX,e=this.scaleY,c=this.inverted,h=this.rotation,u=this.matrix,g=this.element;c&&(a+=this.width,b+=this.height);a=["translate("+a+","+b+")"];z(u)&&a.push("matrix("+u.join(",")+")");c?a.push("rotate(90) scale(-1,1)"):h&&a.push("rotate("+h+" "+F(this.rotationOriginX,g.getAttribute("x"),0)+" "+F(this.rotationOriginY,g.getAttribute("y")||0)+")");(z(p)||z(e))&&a.push("scale("+F(p,1)+" "+F(e,1)+")");a.length&&g.setAttribute("transform",
-a.join(" "))};f.prototype.visibilitySetter=function(a,b,p){"inherit"===a?p.removeAttribute(b):this[b]!==a&&p.setAttribute(b,a);this[b]=a};f.prototype.xGetter=function(a){"circle"===this.element.nodeName&&("x"===a?a="cx":"y"===a&&(a="cy"));return this._defaultGetter(a)};f.prototype.zIndexSetter=function(a,b){var p=this.renderer,e=this.parentGroup,c=(e||p).element||p.box,h=this.element,u=!1;p=c===p.box;var g=this.added;var I;z(a)?(h.setAttribute("data-z-index",a),a=+a,this[b]===a&&(g=!1)):z(this[b])&&
-h.removeAttribute("data-z-index");this[b]=a;if(g){(a=this.zIndex)&&e&&(e.handleZ=!0);b=c.childNodes;for(I=b.length-1;0<=I&&!u;I--){e=b[I];g=e.getAttribute("data-z-index");var m=!z(g);if(e!==h)if(0>a&&m&&!p&&!I)c.insertBefore(h,b[I]),u=!0;else if(N(g)<=a||m&&(!z(a)||0<=a))c.insertBefore(h,b[I+1]||null),u=!0}u||(c.insertBefore(h,b[p?3:0]||null),u=!0)}return u};return f}();f.prototype["stroke-widthSetter"]=f.prototype.strokeSetter;f.prototype.yGetter=f.prototype.xGetter;f.prototype.matrixSetter=f.prototype.rotationOriginXSetter=
-f.prototype.rotationOriginYSetter=f.prototype.rotationSetter=f.prototype.scaleXSetter=f.prototype.scaleYSetter=f.prototype.translateXSetter=f.prototype.translateYSetter=f.prototype.verticalAlignSetter=function(a,b){this[b]=a;this.doTransform=!0};x.SVGElement=f;return x.SVGElement});P(k,"Core/Renderer/SVG/SVGLabel.js",[k["Core/Renderer/SVG/SVGElement.js"],k["Core/Utilities.js"]],function(f,d){function k(f,d){D(f)?f!==this[d]&&(this[d]=f,this.updateTextPadding()):this[d]=void 0}var x=this&&this.__extends||
-function(){var f=function(d,g){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,c){g.__proto__=c}||function(g,c){for(var q in c)c.hasOwnProperty(q)&&(g[q]=c[q])};return f(d,g)};return function(d,g){function y(){this.constructor=d}f(d,g);d.prototype=null===g?Object.create(g):(y.prototype=g.prototype,new y)}}(),B=d.defined,G=d.extend,D=d.isNumber,H=d.merge,t=d.pick,C=d.removeEvent;return function(d){function l(g,f,c,q,n,A,M,z,m,r){var e=d.call(this)||this;e.paddingSetter=k;e.paddingLeftSetter=
-k;e.paddingRightSetter=k;e.init(g,"g");e.textStr=f;e.x=c;e.y=q;e.anchorX=A;e.anchorY=M;e.baseline=m;e.className=r;"button"!==r&&e.addClass("highcharts-label");r&&e.addClass("highcharts-"+r);e.text=g.text("",0,0,z).attr({zIndex:1});if("string"===typeof n){var h=/^url\((.*?)\)$/.test(n);if(e.renderer.symbols[n]||h)e.symbolKey=n}e.bBox=l.emptyBBox;e.padding=3;e.baselineOffset=0;e.needsBox=g.styledMode||h;e.deferredAttr={};e.alignFactor=0;return e}x(l,d);l.prototype.alignSetter=function(g){g={left:0,
-center:.5,right:1}[g];g!==this.alignFactor&&(this.alignFactor=g,this.bBox&&D(this.xSetting)&&this.attr({x:this.xSetting}))};l.prototype.anchorXSetter=function(g,l){this.anchorX=g;this.boxAttr(l,Math.round(g)-this.getCrispAdjust()-this.xSetting)};l.prototype.anchorYSetter=function(g,l){this.anchorY=g;this.boxAttr(l,g-this.ySetting)};l.prototype.boxAttr=function(g,l){this.box?this.box.attr(g,l):this.deferredAttr[g]=l};l.prototype.css=function(g){if(g){var d={};g=H(g);l.textProps.forEach(function(c){"undefined"!==
-typeof g[c]&&(d[c]=g[c],delete g[c])});this.text.css(d);var c="width"in d;"fontSize"in d||"fontWeight"in d?this.updateTextPadding():c&&this.updateBoxSize()}return f.prototype.css.call(this,g)};l.prototype.destroy=function(){C(this.element,"mouseenter");C(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());f.prototype.destroy.call(this)};l.prototype.fillSetter=function(g,l){g&&(this.needsBox=!0);this.fill=g;this.boxAttr(l,g)};l.prototype.getBBox=function(){var g=
-this.bBox,l=this.padding,c=t(this.paddingLeft,l);return{width:this.width,height:this.height,x:g.x-c,y:g.y-l}};l.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};l.prototype.heightSetter=function(g){this.heightSetting=g};l.prototype.on=function(g,l){var c=this,q=c.text,n=q&&"SPAN"===q.element.tagName?q:void 0;if(n){var d=function(q){("mouseenter"===g||"mouseleave"===g)&&q.relatedTarget instanceof
-Element&&(c.element.compareDocumentPosition(q.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY||n.element.compareDocumentPosition(q.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||l.call(c.element,q)};n.on(g,d)}f.prototype.on.call(c,g,d||l);return c};l.prototype.onAdd=function(){var g=this.textStr;this.text.add(this);this.attr({text:B(g)?g:"",x:this.x,y:this.y});this.box&&B(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};l.prototype.rSetter=function(g,l){this.boxAttr(l,
-g)};l.prototype.shadow=function(g){g&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(g));return this};l.prototype.strokeSetter=function(g,l){this.stroke=g;this.boxAttr(l,g)};l.prototype["stroke-widthSetter"]=function(g,l){g&&(this.needsBox=!0);this["stroke-width"]=g;this.boxAttr(l,g)};l.prototype["text-alignSetter"]=function(g){this.textAlign=g};l.prototype.textSetter=function(g){"undefined"!==typeof g&&this.text.attr({text:g});this.updateTextPadding()};l.prototype.updateBoxSize=
-function(){var g=this.text.element.style,d={},c=this.padding,q=this.bBox=D(this.widthSetting)&&D(this.heightSetting)&&!this.textAlign||!B(this.text.textStr)?l.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||q.height||0)+2*c;this.baselineOffset=c+Math.min(this.renderer.fontMetrics(g&&g.fontSize,this.text).b,q.height||Infinity);this.needsBox&&(this.box||(g=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),g.addClass(("button"===
-this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),g.add(this)),g=this.getCrispAdjust(),d.x=g,d.y=(this.baseline?-this.baselineOffset:0)+g,d.width=Math.round(this.width),d.height=Math.round(this.height),this.box.attr(G(d,this.deferredAttr)),this.deferredAttr={})};l.prototype.updateTextPadding=function(){var g=this.text;this.updateBoxSize();var l=this.baseline?0:this.baselineOffset,c=t(this.paddingLeft,this.padding);B(this.widthSetting)&&this.bBox&&
-("center"===this.textAlign||"right"===this.textAlign)&&(c+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(c!==g.x||l!==g.y)g.attr("x",c),g.hasBoxWidthChanged&&(this.bBox=g.getBBox(!0)),"undefined"!==typeof l&&g.attr("y",l);g.x=c;g.y=l};l.prototype.widthSetter=function(g){this.widthSetting=D(g)?g:void 0};l.prototype.getPaddedWidth=function(){var g=this.padding,l=t(this.paddingLeft,g);g=t(this.paddingRight,g);return(this.widthSetting||this.bBox.width||0)+l+g};l.prototype.xSetter=
-function(g){this.x=g;this.alignFactor&&(g-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(g);this.attr("translateX",this.xSetting)};l.prototype.ySetter=function(g){this.ySetting=this.y=Math.round(g);this.attr("translateY",this.ySetting)};l.emptyBBox={width:0,height:0,x:0,y:0};l.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return l}(f)});P(k,"Core/Renderer/SVG/TextBuilder.js",
-[k["Core/Globals.js"],k["Core/Utilities.js"],k["Core/Renderer/HTML/AST.js"]],function(f,d,k){var x=f.doc,B=f.SVG_NS,S=d.attr,D=d.isString,H=d.objectEach,t=d.pick;return function(){function d(l){var d=l.styles;this.renderer=l.renderer;this.svgElement=l;this.width=l.textWidth;this.textLineHeight=d&&d.lineHeight;this.textOutline=d&&d.textOutline;this.ellipsis=!(!d||"ellipsis"!==d.textOverflow);this.noWrap=!(!d||"nowrap"!==d.whiteSpace);this.fontSize=d&&d.fontSize}d.prototype.buildSVG=function(){var l=
-this.svgElement,d=l.element,g=l.renderer,f=t(l.textStr,"").toString(),c=-1!==f.indexOf("<"),q=d.childNodes,n=q.length;g=this.width&&!l.added&&g.box;var A=/<br.*?>/g;var M=[f,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(M!==l.textCache){l.textCache=M;for(delete l.actualWidth;n--;)d.removeChild(q[n]);c||this.ellipsis||this.width||-1!==f.indexOf(" ")&&(!this.noWrap||A.test(f))?""!==f&&(g&&g.appendChild(d),f=new k(f),this.modifyTree(f.nodes),f.addToDOM(l.element),
-this.modifyDOM(),this.ellipsis&&-1!==(d.textContent||"").indexOf("\u2026")&&l.attr("title",this.unescapeEntities(l.textStr||"",["&lt;","&gt;"])),g&&g.removeChild(d)):d.appendChild(x.createTextNode(this.unescapeEntities(f)));D(this.textOutline)&&l.applyTextOutline&&l.applyTextOutline(this.textOutline)}};d.prototype.modifyDOM=function(){var d=this,f=this.svgElement,g=S(f.element,"x");[].forEach.call(f.element.querySelectorAll("tspan.highcharts-br"),function(c){c.nextSibling&&c.previousSibling&&S(c,
-{dy:d.getLineHeight(c.nextSibling),x:g})});var y=this.width||0;if(y){var c=function(c,q){var n=c.textContent||"",l=n.replace(/([^\^])-/g,"$1- ").split(" "),m=!d.noWrap&&(1<l.length||1<f.element.childNodes.length),r=d.getLineHeight(q),e=0,h=f.actualWidth;if(d.ellipsis)n&&d.truncate(c,n,void 0,0,Math.max(0,y-parseInt(d.fontSize||12,10)),function(a,b){return a.substring(0,b)+"\u2026"});else if(m){n=[];for(m=[];q.firstChild&&q.firstChild!==c;)m.push(q.firstChild),q.removeChild(q.firstChild);for(;l.length;)l.length&&
-!d.noWrap&&0<e&&(n.push(c.textContent||""),c.textContent=l.join(" ").replace(/- /g,"-")),d.truncate(c,void 0,l,0===e?h||0:0,y,function(a,b){return l.slice(0,b).join(" ").replace(/- /g,"-")}),h=f.actualWidth,e++;m.forEach(function(a){q.insertBefore(a,c)});n.forEach(function(a){q.insertBefore(x.createTextNode(a),c);a=x.createElementNS(B,"tspan");a.textContent="\u200b";S(a,{dy:r,x:g});q.insertBefore(a,c)})}},q=function(g){[].slice.call(g.childNodes).forEach(function(n){n.nodeType===Node.TEXT_NODE?c(n,
-g):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(f.actualWidth=0),q(n))})};q(f.element)}};d.prototype.getLineHeight=function(d){var l;d=d.nodeType===Node.TEXT_NODE?d.parentElement:d;this.renderer.styledMode||(l=d&&/(px|em)$/.test(d.style.fontSize)?d.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(l,d||this.svgElement.element).h};d.prototype.modifyTree=function(d){var l=this,g=function(f,
-c){var q=f.tagName,n=l.renderer.styledMode,A=f.attributes||{};if("b"===q||"strong"===q)n?A["class"]="highcharts-strong":A.style="font-weight:bold;"+(A.style||"");else if("i"===q||"em"===q)n?A["class"]="highcharts-emphasized":A.style="font-style:italic;"+(A.style||"");D(A.style)&&(A.style=A.style.replace(/(;| |^)color([ :])/,"$1fill$2"));"br"===q&&(A["class"]="highcharts-br",f.textContent="\u200b",(c=d[c+1])&&c.textContent&&(c.textContent=c.textContent.replace(/^ +/gm,"")));"#text"!==q&&"a"!==q&&(f.tagName=
-"tspan");f.attributes=A;f.children&&f.children.filter(function(c){return"#text"!==c.tagName}).forEach(g)};for(d.forEach(g);d[0]&&"tspan"===d[0].tagName&&!d[0].children;)d.splice(0,1)};d.prototype.truncate=function(d,f,g,y,c,q){var n=this.svgElement,l=n.renderer,M=n.rotation,z=[],m=g?1:0,r=(f||g||"").length,e=r,h,a=function(a,b){b=b||a;var e=d.parentNode;if(e&&"undefined"===typeof z[b])if(e.getSubStringLength)try{z[b]=y+e.getSubStringLength(0,g?b+1:b)}catch(F){""}else l.getSpanWidth&&(d.textContent=
-q(f||g,a),z[b]=y+l.getSpanWidth(n,d));return z[b]};n.rotation=0;var b=a(d.textContent.length);if(y+b>c){for(;m<=r;)e=Math.ceil((m+r)/2),g&&(h=q(g,e)),b=a(e,h&&h.length-1),m===r?m=r+1:b>c?r=e-1:m=e;0===r?d.textContent="":f&&r===f.length-1||(d.textContent=h||q(f||g,e))}g&&g.splice(0,e);n.actualWidth=b;n.rotation=M};d.prototype.unescapeEntities=function(d,f){H(this.renderer.escapes,function(g,l){f&&-1!==f.indexOf(g)||(d=d.toString().replace(new RegExp(g,"g"),l))});return d};return d}()});P(k,"Core/Renderer/SVG/SVGRenderer.js",
-[k["Core/Color/Color.js"],k["Core/Globals.js"],k["Core/Color/Palette.js"],k["Core/Renderer/SVG/SVGElement.js"],k["Core/Renderer/SVG/SVGLabel.js"],k["Core/Renderer/HTML/AST.js"],k["Core/Renderer/SVG/TextBuilder.js"],k["Core/Utilities.js"]],function(f,d,k,x,B,G,D,H){var t=H.addEvent,C=H.attr,l=H.createElement,E=H.css,g=H.defined,y=H.destroyObjectProperties,c=H.extend,q=H.isArray,n=H.isNumber,A=H.isObject,M=H.isString,z=H.merge,m=H.pick,r=H.pInt,e=H.uniqueKey,h=d.charts,a=d.deg2rad,b=d.doc,w=d.isFirefox,
-J=d.isMS,O=d.isWebKit;H=d.noop;var F=d.SVG_NS,N=d.symbolSizes,R=d.win,Q,T=function(){function d(a,b,e,c,h,u,g){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(a,b,e,c,h,u,g)}d.prototype.init=function(a,p,e,c,h,u,g){var K=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"});g||K.css(this.getStyle(c));c=K.element;
-a.appendChild(c);C(a,"dir","ltr");-1===a.innerHTML.indexOf("xmlns")&&C(c,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=c;this.boxWrapper=K;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(b.createTextNode("Created with Highcharts 9.0.1"));this.defs=this.createElement("defs").add();this.allowHTML=u;this.forExport=h;this.styledMode=g;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(p,e,!1);var m;w&&a.getBoundingClientRect&&
-(p=function(){E(a,{left:0,top:0});m=a.getBoundingClientRect();E(a,{left:Math.ceil(m.left)-m.left+"px",top:Math.ceil(m.top)-m.top+"px"})},p(),this.unSubPixelFix=t(R,"resize",p))};d.prototype.definition=function(a){return(new G([a])).addToDOM(this.defs.element)};d.prototype.getReferenceURL=function(){if((w||O)&&b.getElementsByTagName("base").length){if(!g(Q)){var a=e();a=(new G([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:a},children:[{tagName:"rect",
-attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+a+")",fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(b.body);E(a,{position:"fixed",top:0,left:0,zIndex:9E5});var p=b.elementFromPoint(6,6);Q="hitme"===(p&&p.id);b.body.removeChild(a)}if(Q)return R.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};d.prototype.getStyle=function(a){return this.style=c({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',
-fontSize:"12px"},a)};d.prototype.setStyle=function(a){this.boxWrapper.css(this.getStyle(a))};d.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};d.prototype.destroy=function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();y(this.gradients||{});this.gradients=null;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};d.prototype.createElement=function(a){var b=new this.Element;b.init(this,a);return b};d.prototype.getRadialAttr=
-function(a,b){return{cx:a[0]-a[2]/2+b.cx*a[2],cy:a[1]-a[2]/2+b.cy*a[2],r:b.r*a[2]}};d.prototype.buildText=function(a){(new D(a)).buildSVG()};d.prototype.getContrast=function(a){a=f.parse(a).rgba;a[0]*=1;a[1]*=1.2;a[2]*=.5;return 459<a[0]+a[1]+a[2]?"#000000":"#FFFFFF"};d.prototype.button=function(a,b,e,h,g,u,m,I,w,d){var p=this.label(a,b,e,w,void 0,void 0,d,void 0,"button"),K=0,n=this.styledMode,q=g?z(g):{};a=q&&q.style||{};q=G.filterUserAttributes(q);p.attr(z({padding:8,r:2},q));if(!n){q=z({fill:k.neutralColor3,
-stroke:k.neutralColor20,"stroke-width":1,style:{color:k.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:a},q);var r=q.style;delete q.style;u=z(q,{fill:k.neutralColor10},G.filterUserAttributes(u||{}));var aa=u.style;delete u.style;m=z(q,{fill:k.highlightColor10,style:{color:k.neutralColor100,fontWeight:"bold"}},G.filterUserAttributes(m||{}));var f=m.style;delete m.style;I=z(q,{style:{color:k.neutralColor20}},G.filterUserAttributes(I||{}));var v=I.style;delete I.style}t(p.element,J?"mouseover":
-"mouseenter",function(){3!==K&&p.setState(1)});t(p.element,J?"mouseout":"mouseleave",function(){3!==K&&p.setState(K)});p.setState=function(a){1!==a&&(p.state=K=a);p.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][a||0]);n||p.attr([q,u,m,I][a||0]).css([r,aa,f,v][a||0])};n||p.attr(q).css(c({cursor:"default"},r));return p.on("click",function(a){3!==K&&h.call(p,a)})};d.prototype.crispLine=function(a,b,e){void 0===e&&
-(e="round");var p=a[0],c=a[1];p[1]===c[1]&&(p[1]=c[1]=Math[e](p[1])-b%2/2);p[2]===c[2]&&(p[2]=c[2]=Math[e](p[2])+b%2/2);return a};d.prototype.path=function(a){var b=this.styledMode?{}:{fill:"none"};q(a)?b.d=a:A(a)&&c(b,a);return this.createElement("path").attr(b)};d.prototype.circle=function(a,b,e){a=A(a)?a:"undefined"===typeof a?{}:{x:a,y:b,r:e};b=this.createElement("circle");b.xSetter=b.ySetter=function(a,b,p){p.setAttribute("c"+b,a)};return b.attr(a)};d.prototype.arc=function(a,b,e,c,h,u){A(a)?
-(c=a,b=c.y,e=c.r,a=c.x):c={innerR:c,start:h,end:u};a=this.symbol("arc",a,b,e,e,c);a.r=e;return a};d.prototype.rect=function(a,b,e,c,h,u){h=A(a)?a.r:h;var p=this.createElement("rect");a=A(a)?a:"undefined"===typeof a?{}:{x:a,y:b,width:Math.max(e,0),height:Math.max(c,0)};this.styledMode||("undefined"!==typeof u&&(a.strokeWidth=u,a=p.crisp(a)),a.fill="none");h&&(a.r=h);p.rSetter=function(a,b,e){p.r=a;C(e,{rx:a,ry:a})};p.rGetter=function(){return p.r};return p.attr(a)};d.prototype.setSize=function(a,b,
-e){var p=this.alignedObjects,c=p.length;this.width=a;this.height=b;for(this.boxWrapper.animate({width:a,height:b},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:m(e,!0)?void 0:0});c--;)p[c].align()};d.prototype.g=function(a){var b=this.createElement("g");return a?b.attr({"class":"highcharts-"+a}):b};d.prototype.image=function(a,b,e,h,g,u){var p={preserveAspectRatio:"none"},K=function(a,b){a.setAttributeNS?a.setAttributeNS("http://www.w3.org/1999/xlink",
-"href",b):a.setAttribute("hc-svg-href",b)},m=function(b){K(w.element,a);u.call(w,b)};1<arguments.length&&c(p,{x:b,y:e,width:h,height:g});var w=this.createElement("image").attr(p);u?(K(w.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),p=new R.Image,t(p,"load",m),p.src=a,p.complete&&m({})):K(w.element,a);return w};d.prototype.symbol=function(a,p,e,w,d,u){var K=this,I=/^url\((.*?)\)$/,q=I.test(a),n=!q&&(this.symbols[a]?a:"circle"),r=n&&this.symbols[n],J;if(r){"number"===
-typeof p&&(J=r.call(this.symbols,Math.round(p||0),Math.round(e||0),w||0,d||0,u));var f=this.path(J);K.styledMode||f.attr("fill","none");c(f,{symbolName:n,x:p,y:e,width:w,height:d});u&&c(f,u)}else if(q){var v=a.match(I)[1];f=this.image(v);f.imgwidth=m(N[v]&&N[v].width,u&&u.width);f.imgheight=m(N[v]&&N[v].height,u&&u.height);var F=function(){f.attr({width:f.width,height:f.height})};["width","height"].forEach(function(a){f[a+"Setter"]=function(a,b){var p={},e=this["img"+b],c="width"===b?"translateX":
-"translateY";this[b]=a;g(e)&&(u&&"within"===u.backgroundSize&&this.width&&this.height&&(e=Math.round(e*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(b,e),this.alignByTranslate||(p[c]=((this[b]||0)-e)/2,this.attr(p)))}});g(p)&&f.attr({x:p,y:e});f.isImg=!0;g(f.imgwidth)&&g(f.imgheight)?F():(f.attr({width:0,height:0}),l("img",{onload:function(){var a=h[K.chartIndex];0===this.width&&(E(this,{position:"absolute",top:"-999em"}),b.body.appendChild(this));
-N[v]={width:this.width,height:this.height};f.imgwidth=this.width;f.imgheight=this.height;f.element&&F();this.parentNode&&this.parentNode.removeChild(this);K.imgCount--;if(!K.imgCount&&a&&!a.hasLoaded)a.onload()},src:v}),this.imgCount++)}return f};d.prototype.clipRect=function(a,b,c,h){var p=e()+"-",u=this.createElement("clipPath").attr({id:p}).add(this.defs);a=this.rect(a,b,c,h,0).add(u);a.id=p;a.clipPath=u;a.count=0;return a};d.prototype.text=function(a,b,e,c){var p={};if(c&&(this.allowHTML||!this.forExport))return this.html(a,
-b,e);p.x=Math.round(b||0);e&&(p.y=Math.round(e));g(a)&&(p.text=a);a=this.createElement("text").attr(p);c||(a.xSetter=function(a,b,p){var e=p.getElementsByTagName("tspan"),u=p.getAttribute(b),c;for(c=0;c<e.length;c++){var h=e[c];h.getAttribute(b)===u&&h.setAttribute(b,a)}p.setAttribute(b,a)});return a};d.prototype.fontMetrics=function(a,b){a=!this.styledMode&&/px/.test(a)||!R.getComputedStyle?a||b&&b.style&&b.style.fontSize||this.style&&this.style.fontSize:b&&x.prototype.getStyle.call(b,"font-size");
-a=/px/.test(a)?r(a):12;b=24>a?a+3:Math.round(1.2*a);return{h:b,b:Math.round(.8*b),f:a}};d.prototype.rotCorr=function(b,p,e){var c=b;p&&e&&(c=Math.max(c*Math.cos(p*a),4));return{x:-b/3*Math.sin(p*a),y:c}};d.prototype.pathToSegments=function(a){for(var b=[],e=[],c={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},h=0;h<a.length;h++)M(e[0])&&n(a[h])&&e.length===c[e[0].toUpperCase()]&&a.splice(h,0,e[0].replace("M","L").replace("m","l")),"string"===typeof a[h]&&(e.length&&b.push(e.slice(0)),e.length=0),e.push(a[h]);
-b.push(e.slice(0));return b};d.prototype.label=function(a,b,e,c,h,u,g,m,w){return new B(this,a,b,e,c,h,u,g,m,w)};return d}();T.prototype.Element=x;T.prototype.SVG_NS=F;T.prototype.draw=H;T.prototype.escapes={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};T.prototype.symbols={circle:function(a,b,e,c){return this.arc(a+e/2,b+c/2,e/2,c/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},square:function(a,b,e,c){return[["M",a,b],["L",a+e,b],["L",a+e,b+c],["L",a,b+c],["Z"]]},triangle:function(a,
-b,e,c){return[["M",a+e/2,b],["L",a+e,b+c],["L",a,b+c],["Z"]]},"triangle-down":function(a,b,e,c){return[["M",a,b],["L",a+e,b],["L",a+e/2,b+c],["Z"]]},diamond:function(a,b,e,c){return[["M",a+e/2,b],["L",a+e,b+c/2],["L",a+e/2,b+c],["L",a,b+c/2],["Z"]]},arc:function(a,b,e,c,h){var p=[];if(h){var u=h.start||0,K=h.end||0,I=h.r||e;e=h.r||c||e;var w=.001>Math.abs(K-u-2*Math.PI);K-=.001;c=h.innerR;w=m(h.open,w);var d=Math.cos(u),n=Math.sin(u),q=Math.cos(K),r=Math.sin(K);u=m(h.longArc,.001>K-u-Math.PI?0:1);
-p.push(["M",a+I*d,b+e*n],["A",I,e,0,u,m(h.clockwise,1),a+I*q,b+e*r]);g(c)&&p.push(w?["M",a+c*q,b+c*r]:["L",a+c*q,b+c*r],["A",c,c,0,u,g(h.clockwise)?1-h.clockwise:0,a+c*d,b+c*n]);w||p.push(["Z"])}return p},callout:function(a,b,e,c,h){var p=Math.min(h&&h.r||0,e,c),u=p+6,g=h&&h.anchorX;h=h&&h.anchorY||0;var m=[["M",a+p,b],["L",a+e-p,b],["C",a+e,b,a+e,b,a+e,b+p],["L",a+e,b+c-p],["C",a+e,b+c,a+e,b+c,a+e-p,b+c],["L",a+p,b+c],["C",a,b+c,a,b+c,a,b+c-p],["L",a,b+p],["C",a,b,a,b,a+p,b]];if(!n(g))return m;a+
-g>=e?h>b+u&&h<b+c-u?m.splice(3,1,["L",a+e,h-6],["L",a+e+6,h],["L",a+e,h+6],["L",a+e,b+c-p]):m.splice(3,1,["L",a+e,c/2],["L",g,h],["L",a+e,c/2],["L",a+e,b+c-p]):0>=a+g?h>b+u&&h<b+c-u?m.splice(7,1,["L",a,h+6],["L",a-6,h],["L",a,h-6],["L",a,b+p]):m.splice(7,1,["L",a,c/2],["L",g,h],["L",a,c/2],["L",a,b+p]):h&&h>c&&g>a+u&&g<a+e-u?m.splice(5,1,["L",g+6,b+c],["L",g,b+c+6],["L",g-6,b+c],["L",a+p,b+c]):h&&0>h&&g>a+u&&g<a+e-u&&m.splice(1,1,["L",g-6,b],["L",g,b-6],["L",g+6,b],["L",e-p,b]);return m}};d.SVGRenderer=
-T;d.Renderer=d.SVGRenderer;return d.Renderer});P(k,"Core/Renderer/HTML/HTMLElement.js",[k["Core/Globals.js"],k["Core/Renderer/SVG/SVGElement.js"],k["Core/Utilities.js"]],function(f,d,k){var x=k.css,B=k.defined,S=k.extend,D=k.pick,H=k.pInt,t=f.isFirefox;S(d.prototype,{htmlCss:function(d){var f="SPAN"===this.element.tagName&&d&&"width"in d,t=D(f&&d.width,void 0);if(f){delete d.width;this.textWidth=t;var g=!0}d&&"ellipsis"===d.textOverflow&&(d.whiteSpace="nowrap",d.overflow="hidden");this.styles=S(this.styles,
-d);x(this.element,d);g&&this.htmlUpdateTransform();return this},htmlGetBBox:function(){var d=this.element;return{x:d.offsetLeft,y:d.offsetTop,width:d.offsetWidth,height:d.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var d=this.renderer,f=this.element,t=this.translateX||0,g=this.translateY||0,y=this.x||0,c=this.y||0,q=this.textAlign||"left",n={left:0,center:.5,right:1}[q],A=this.styles,M=A&&A.whiteSpace;x(f,{marginLeft:t,marginTop:g});!d.styledMode&&this.shadows&&this.shadows.forEach(function(e){x(e,
-{marginLeft:t+1,marginTop:g+1})});this.inverted&&[].forEach.call(f.childNodes,function(e){d.invertChild(e,f)});if("SPAN"===f.tagName){A=this.rotation;var z=this.textWidth&&H(this.textWidth),m=[A,q,f.innerHTML,this.textWidth,this.textAlign].join(),r;(r=z!==this.oldTextWidth)&&!(r=z>this.oldTextWidth)&&((r=this.textPxLength)||(x(f,{width:"",whiteSpace:M||"nowrap"}),r=f.offsetWidth),r=r>z);r&&(/[ \-]/.test(f.textContent||f.innerText)||"ellipsis"===f.style.textOverflow)?(x(f,{width:z+"px",display:"block",
-whiteSpace:M||"normal"}),this.oldTextWidth=z,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1;m!==this.cTT&&(M=d.fontMetrics(f.style.fontSize,f).b,!B(A)||A===(this.oldRotation||0)&&q===this.oldAlign||this.setSpanRotation(A,n,M),this.getSpanCorrection(!B(A)&&this.textPxLength||f.offsetWidth,M,n,A,q));x(f,{left:y+(this.xCorr||0)+"px",top:c+(this.yCorr||0)+"px"});this.cTT=m;this.oldRotation=A;this.oldAlign=q}}else this.alignOnAdd=!0},setSpanRotation:function(d,f,k){var g={},l=this.renderer.getTransformKey();
-g[l]=g.transform="rotate("+d+"deg)";g[l+(t?"Origin":"-origin")]=g.transformOrigin=100*f+"% "+k+"px";x(this.element,g)},getSpanCorrection:function(d,f,t){this.xCorr=-d*t;this.yCorr=-f}});return d});P(k,"Core/Renderer/HTML/HTMLRenderer.js",[k["Core/Globals.js"],k["Core/Renderer/HTML/AST.js"],k["Core/Renderer/SVG/SVGElement.js"],k["Core/Renderer/SVG/SVGRenderer.js"],k["Core/Utilities.js"]],function(f,d,k,x,B){var S=f.isFirefox,D=f.isMS,H=f.isWebKit,t=f.win,C=B.attr,l=B.createElement,E=B.extend,g=B.pick;
-E(x.prototype,{getTransformKey:function(){return D&&!/Edge/.test(t.navigator.userAgent)?"-ms-transform":H?"-webkit-transform":S?"MozTransform":t.opera?"-o-transform":""},html:function(f,c,q){var n=this.createElement("span"),A=n.element,M=n.renderer,z=M.isSVG,m=function(c,e){["opacity","visibility"].forEach(function(h){c[h+"Setter"]=function(a,b,g){var m=c.div?c.div.style:e;k.prototype[h+"Setter"].call(this,a,b,g);m&&(m[b]=a)}});c.addedSetters=!0};n.textSetter=function(c){c!==this.textStr&&(delete this.bBox,
-delete this.oldTextWidth,d.setElementHTML(this.element,g(c,"")),this.textStr=c,n.doTransform=!0)};z&&m(n,n.element.style);n.xSetter=n.ySetter=n.alignSetter=n.rotationSetter=function(c,e){"align"===e?n.alignValue=n.textAlign=c:n[e]=c;n.doTransform=!0};n.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};n.attr({text:f,x:Math.round(c),y:Math.round(q)}).css({position:"absolute"});M.styledMode||n.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});
-A.style.whiteSpace="nowrap";n.css=n.htmlCss;z&&(n.add=function(c){var e=M.box.parentNode,h=[];if(this.parentGroup=c){var a=c.div;if(!a){for(;c;)h.push(c),c=c.parentGroup;h.reverse().forEach(function(b){function c(a,e){b[e]=a;"translateX"===e?q.left=a+"px":q.top=a+"px";b.doTransform=!0}var g=C(b.element,"class"),d=b.styles||{};a=b.div=b.div||l("div",g?{className:g}:void 0,{position:"absolute",left:(b.translateX||0)+"px",top:(b.translateY||0)+"px",display:b.display,opacity:b.opacity,cursor:d.cursor,
-pointerEvents:d.pointerEvents},a||e);var q=a.style;E(b,{classSetter:function(a){return function(b){this.element.setAttribute("class",b);a.className=b}}(a),on:function(){h[0].div&&n.on.apply({element:h[0].div},arguments);return b},translateXSetter:c,translateYSetter:c});b.addedSetters||m(b)})}}else a=e;a.appendChild(A);n.added=!0;n.alignOnAdd&&n.htmlUpdateTransform();return n});return n}});return x});P(k,"Core/Time.js",[k["Core/Globals.js"],k["Core/Utilities.js"]],function(f,d){var k=f.win,x=d.defined,
-B=d.error,G=d.extend,D=d.isObject,H=d.merge,t=d.objectEach,C=d.pad,l=d.pick,E=d.splat,g=d.timeUnits;"";d=function(){function d(c){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=k.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(c)}d.prototype.get=function(c,g){if(this.variableTimezone||this.timezoneOffset){var d=g.getTime(),q=d-this.getTimezoneOffset(g);g.setTime(q);c=g["getUTC"+c]();g.setTime(d);return c}return this.useUTC?g["getUTC"+c]():g["get"+c]()};d.prototype.set=
-function(c,g,d){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===c||"Seconds"===c||"Minutes"===c&&0===this.getTimezoneOffset(g)%36E5)return g["setUTC"+c](d);var n=this.getTimezoneOffset(g);n=g.getTime()-n;g.setTime(n);g["setUTC"+c](d);c=this.getTimezoneOffset(g);n=g.getTime()+c;return g.setTime(n)}return this.useUTC?g["setUTC"+c](d):g["set"+c](d)};d.prototype.update=function(c){var g=l(c&&c.useUTC,!0);this.options=c=H(!0,this.options||{},c);this.Date=c.Date||k.Date||Date;this.timezoneOffset=
-(this.useUTC=g)&&c.timezoneOffset;this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=g&&!(!c.getTimezoneOffset&&!c.timezone)};d.prototype.makeTime=function(c,g,d,A,M,z){if(this.useUTC){var m=this.Date.UTC.apply(0,arguments);var n=this.getTimezoneOffset(m);m+=n;var e=this.getTimezoneOffset(m);n!==e?m+=e-n:n-36E5!==this.getTimezoneOffset(m-36E5)||f.isSafari||(m-=36E5)}else m=(new this.Date(c,g,l(d,1),l(A,0),l(M,0),l(z,0))).getTime();return m};d.prototype.timezoneOffsetFunction=
-function(){var c=this,g=this.options,d=g.moment||k.moment;if(!this.useUTC)return function(c){return 6E4*(new Date(c.toString())).getTimezoneOffset()};if(g.timezone){if(d)return function(c){return 6E4*-d.tz(c,g.timezone).utcOffset()};B(25)}return this.useUTC&&g.getTimezoneOffset?function(c){return 6E4*g.getTimezoneOffset(c.valueOf())}:function(){return 6E4*(c.timezoneOffset||0)}};d.prototype.dateFormat=function(c,g,d){var n;if(!x(g)||isNaN(g))return(null===(n=f.defaultOptions.lang)||void 0===n?void 0:
-n.invalidDate)||"";c=l(c,"%Y-%m-%d %H:%M:%S");var q=this;n=new this.Date(g);var z=this.get("Hours",n),m=this.get("Day",n),r=this.get("Date",n),e=this.get("Month",n),h=this.get("FullYear",n),a=f.defaultOptions.lang,b=null===a||void 0===a?void 0:a.weekdays,w=null===a||void 0===a?void 0:a.shortWeekdays;n=G({a:w?w[m]:b[m].substr(0,3),A:b[m],d:C(r),e:C(r,2," "),w:m,b:a.shortMonths[e],B:a.months[e],m:C(e+1),o:e+1,y:h.toString().substr(2,2),Y:h,H:C(z),k:z,I:C(z%12||12),l:z%12||12,M:C(this.get("Minutes",
-n)),p:12>z?"AM":"PM",P:12>z?"am":"pm",S:C(n.getSeconds()),L:C(Math.floor(g%1E3),3)},f.dateFormats);t(n,function(a,b){for(;-1!==c.indexOf("%"+b);)c=c.replace("%"+b,"function"===typeof a?a.call(q,g):a)});return d?c.substr(0,1).toUpperCase()+c.substr(1):c};d.prototype.resolveDTLFormat=function(c){return D(c,!0)?c:(c=E(c),{main:c[0],from:c[1],to:c[2]})};d.prototype.getTimeTicks=function(c,d,n,f){var q=this,A=[],m={};var r=new q.Date(d);var e=c.unitRange,h=c.count||1,a;f=l(f,1);if(x(d)){q.set("Milliseconds",
-r,e>=g.second?0:h*Math.floor(q.get("Milliseconds",r)/h));e>=g.second&&q.set("Seconds",r,e>=g.minute?0:h*Math.floor(q.get("Seconds",r)/h));e>=g.minute&&q.set("Minutes",r,e>=g.hour?0:h*Math.floor(q.get("Minutes",r)/h));e>=g.hour&&q.set("Hours",r,e>=g.day?0:h*Math.floor(q.get("Hours",r)/h));e>=g.day&&q.set("Date",r,e>=g.month?1:Math.max(1,h*Math.floor(q.get("Date",r)/h)));if(e>=g.month){q.set("Month",r,e>=g.year?0:h*Math.floor(q.get("Month",r)/h));var b=q.get("FullYear",r)}e>=g.year&&q.set("FullYear",
-r,b-b%h);e===g.week&&(b=q.get("Day",r),q.set("Date",r,q.get("Date",r)-b+f+(b<f?-7:0)));b=q.get("FullYear",r);f=q.get("Month",r);var w=q.get("Date",r),J=q.get("Hours",r);d=r.getTime();!q.variableTimezone&&q.useUTC||!x(n)||(a=n-d>4*g.month||q.getTimezoneOffset(d)!==q.getTimezoneOffset(n));d=r.getTime();for(r=1;d<n;)A.push(d),d=e===g.year?q.makeTime(b+r*h,0):e===g.month?q.makeTime(b,f+r*h):!a||e!==g.day&&e!==g.week?a&&e===g.hour&&1<h?q.makeTime(b,f,w,J+r*h):d+e*h:q.makeTime(b,f,w+r*h*(e===g.day?1:7)),
-r++;A.push(d);e<=g.hour&&1E4>A.length&&A.forEach(function(a){0===a%18E5&&"000000000"===q.dateFormat("%H%M%S%L",a)&&(m[a]="day")})}A.info=G(c,{higherRanks:m,totalRange:e*h});return A};return d}();f.Time=d;return f.Time});P(k,"Core/Options.js",[k["Core/Globals.js"],k["Core/Color/Color.js"],k["Core/Color/Palette.js"],k["Core/Time.js"],k["Core/Utilities.js"]],function(f,d,k,x,B){var G=f.isTouchDevice,D=f.svg;d=d.parse;B=B.merge;"";f.defaultOptions={colors:k.colors,symbols:["circle","diamond","square",
-"triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,
-timezoneOffset:0,useUTC:!0},chart:{styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:k.highlightColor80,backgroundColor:k.backgroundColor,plotBorderColor:k.neutralColor20},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",
-align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:k.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:k.neutralColor40,borderRadius:0,navigation:{activeColor:k.highlightColor100,inactiveColor:k.neutralColor20},itemStyle:{color:k.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:k.neutralColor100},itemHiddenStyle:{color:k.neutralColor20},
-shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:k.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:D,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",
-day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:G?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:d(k.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:k.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",
-position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:k.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};f.defaultOptions.chart.styledMode=!1;"";f.time=new x(B(f.defaultOptions.global,f.defaultOptions.time));f.dateFormat=function(d,t,k){return f.time.dateFormat(d,t,k)};return{dateFormat:f.dateFormat,defaultOptions:f.defaultOptions,time:f.time}});P(k,"Core/Axis/Tick.js",[k["Core/Globals.js"],k["Core/Utilities.js"]],function(f,d){var k=f.deg2rad,x=d.clamp,B=
-d.correctFloat,G=d.defined,D=d.destroyObjectProperties,H=d.extend,t=d.fireEvent,C=d.isNumber,l=d.merge,E=d.objectEach,g=d.pick;"";d=function(){function d(c,g,d,f,l){this.isNewLabel=this.isNew=!0;this.axis=c;this.pos=g;this.type=d||"";this.parameters=l||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;t(this,"init");d||f||this.addLabel()}d.prototype.addLabel=function(){var c=this,d=c.axis,n=d.options,f=d.chart,l=d.categories,z=d.logarithmic,m=d.names,r=c.pos,
-e=g(c.options&&c.options.labels,n.labels),h=d.tickPositions,a=r===h[0],b=r===h[h.length-1];m=this.parameters.category||(l?g(l[r],m[r],r):r);var w=c.label;l=(!e.step||1===e.step)&&1===d.tickInterval;h=h.info;var J,O;if(d.dateTime&&h){var F=f.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&h.higherRanks[r]||h.unitName]);var N=F.main}c.isFirst=a;c.isLast=b;c.formatCtx={axis:d,chart:f,isFirst:a,isLast:b,dateTimeLabelFormat:N,tickPositionInfo:h,value:z?B(z.lin2log(m)):m,pos:r};n=d.labelFormatter.call(c.formatCtx,
-this.formatCtx);if(O=F&&F.list)c.shortenLabel=function(){for(J=0;J<O.length;J++)if(w.attr({text:d.labelFormatter.call(H(c.formatCtx,{dateTimeLabelFormat:O[J]}))}),w.getBBox().width<d.getSlotWidth(c)-2*g(e.padding,5))return;w.attr({text:""})};l&&d._addedPlotLB&&c.moveLabel(n,e);G(w)||c.movedLabel?w&&w.textStr!==n&&!l&&(!w.textWidth||e.style&&e.style.width||w.styles.width||w.css({width:null}),w.attr({text:n}),w.textPxLength=w.getBBox().width):(c.label=w=c.createLabel({x:0,y:0},n,e),c.rotation=0)};d.prototype.createLabel=
-function(c,g,d){var n=this.axis,f=n.chart;if(c=G(g)&&d.enabled?f.renderer.text(g,c.x,c.y,d.useHTML).add(n.labelGroup):null)f.styledMode||c.css(l(d.style)),c.textPxLength=c.getBBox().width;return c};d.prototype.destroy=function(){D(this,this.axis)};d.prototype.getPosition=function(c,g,d,f){var n=this.axis,q=n.chart,m=f&&q.oldChartHeight||q.chartHeight;c={x:c?B(n.translate(g+d,null,null,f)+n.transB):n.left+n.offset+(n.opposite?(f&&q.oldChartWidth||q.chartWidth)-n.right-n.left:0),y:c?m-n.bottom+n.offset-
-(n.opposite?n.height:0):B(m-n.translate(g+d,null,null,f)-n.transB)};c.y=x(c.y,-1E5,1E5);t(this,"afterGetPosition",{pos:c});return c};d.prototype.getLabelPosition=function(c,g,d,f,l,z,m,r){var e=this.axis,h=e.transA,a=e.isLinked&&e.linkedParent?e.linkedParent.reversed:e.reversed,b=e.staggerLines,w=e.tickRotCorr||{x:0,y:0},n=l.y,q=f||e.reserveSpaceDefault?0:-e.labelOffset*("center"===e.labelAlign?.5:1),F={};G(n)||(n=0===e.side?d.rotation?-8:-d.getBBox().height:2===e.side?w.y+8:Math.cos(d.rotation*k)*
-(w.y-d.getBBox(!1,0).height/2));c=c+l.x+q+w.x-(z&&f?z*h*(a?-1:1):0);g=g+n-(z&&!f?z*h*(a?1:-1):0);b&&(d=m/(r||1)%b,e.opposite&&(d=b-d-1),g+=e.labelOffset/b*d);F.x=c;F.y=Math.round(g);t(this,"afterGetLabelPosition",{pos:F,tickmarkOffset:z,index:m});return F};d.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};d.prototype.getMarkPath=function(c,g,d,f,l,z){return z.crispLine([["M",c,g],["L",c+(l?0:-d),g+(l?d:0)]],f)};d.prototype.handleOverflow=
-function(c){var d=this.axis,f=d.options.labels,l=c.x,t=d.chart.chartWidth,z=d.chart.spacing,m=g(d.labelLeft,Math.min(d.pos,z[3]));z=g(d.labelRight,Math.max(d.isRadial?0:d.pos+d.len,t-z[1]));var r=this.label,e=this.rotation,h={left:0,center:.5,right:1}[d.labelAlign||r.attr("align")],a=r.getBBox().width,b=d.getSlotWidth(this),w=b,J=1,O,F={};if(e||"justify"!==g(f.overflow,"justify"))0>e&&l-h*a<m?O=Math.round(l/Math.cos(e*k)-m):0<e&&l+h*a>z&&(O=Math.round((t-l)/Math.cos(e*k)));else if(t=l+(1-h)*a,l-h*
-a<m?w=c.x+w*(1-h)-m:t>z&&(w=z-c.x+w*h,J=-1),w=Math.min(b,w),w<b&&"center"===d.labelAlign&&(c.x+=J*(b-w-h*(b-Math.min(a,w)))),a>w||d.autoRotation&&(r.styles||{}).width)O=w;O&&(this.shortenLabel?this.shortenLabel():(F.width=Math.floor(O)+"px",(f.style||{}).textOverflow||(F.textOverflow="ellipsis"),r.css(F)))};d.prototype.moveLabel=function(c,g){var d=this,f=d.label,q=!1,l=d.axis,m=l.reversed;f&&f.textStr===c?(d.movedLabel=f,q=!0,delete d.label):E(l.ticks,function(e){q||e.isNew||e===d||!e.label||e.label.textStr!==
-c||(d.movedLabel=e.label,q=!0,e.labelPos=d.movedLabel.xy,delete e.label)});if(!q&&(d.labelPos||f)){var r=d.labelPos||f.xy;f=l.horiz?m?0:l.width+l.left:r.x;l=l.horiz?r.y:m?l.width+l.left:0;d.movedLabel=d.createLabel({x:f,y:l},c,g);d.movedLabel&&d.movedLabel.attr({opacity:0})}};d.prototype.render=function(c,d,f){var n=this.axis,q=n.horiz,l=this.pos,m=g(this.tickmarkOffset,n.tickmarkOffset);l=this.getPosition(q,l,m,d);m=l.x;var r=l.y;n=q&&m===n.pos+n.len||!q&&r===n.pos?-1:1;f=g(f,1);this.isActive=!0;
-this.renderGridLine(d,f,n);this.renderMark(l,f,n);this.renderLabel(l,d,f,c);this.isNew=!1;t(this,"afterRender")};d.prototype.renderGridLine=function(c,d,f){var n=this.axis,q=n.options,l=this.gridLine,m={},r=this.pos,e=this.type,h=g(this.tickmarkOffset,n.tickmarkOffset),a=n.chart.renderer,b=e?e+"Grid":"grid",w=q[b+"LineWidth"],J=q[b+"LineColor"];q=q[b+"LineDashStyle"];l||(n.chart.styledMode||(m.stroke=J,m["stroke-width"]=w,q&&(m.dashstyle=q)),e||(m.zIndex=1),c&&(d=0),this.gridLine=l=a.path().attr(m).addClass("highcharts-"+
-(e?e+"-":"")+"grid-line").add(n.gridGroup));if(l&&(f=n.getPlotLinePath({value:r+h,lineWidth:l.strokeWidth()*f,force:"pass",old:c})))l[c||this.isNew?"attr":"animate"]({d:f,opacity:d})};d.prototype.renderMark=function(c,d,f){var n=this.axis,q=n.options,l=n.chart.renderer,m=this.type,r=m?m+"Tick":"tick",e=n.tickSize(r),h=this.mark,a=!h,b=c.x;c=c.y;var w=g(q[r+"Width"],!m&&n.isXAxis?1:0);q=q[r+"Color"];e&&(n.opposite&&(e[0]=-e[0]),a&&(this.mark=h=l.path().addClass("highcharts-"+(m?m+"-":"")+"tick").add(n.axisGroup),
-n.chart.styledMode||h.attr({stroke:q,"stroke-width":w})),h[a?"attr":"animate"]({d:this.getMarkPath(b,c,e[0],h.strokeWidth()*f,n.horiz,l),opacity:d}))};d.prototype.renderLabel=function(c,d,f,l){var n=this.axis,q=n.horiz,m=n.options,r=this.label,e=m.labels,h=e.step;n=g(this.tickmarkOffset,n.tickmarkOffset);var a=!0,b=c.x;c=c.y;r&&C(b)&&(r.xy=c=this.getLabelPosition(b,c,r,q,e,n,l,h),this.isFirst&&!this.isLast&&!g(m.showFirstLabel,1)||this.isLast&&!this.isFirst&&!g(m.showLastLabel,1)?a=!1:!q||e.step||
-e.rotation||d||0===f||this.handleOverflow(c),h&&l%h&&(a=!1),a&&C(c.y)?(c.opacity=f,r[this.isNewLabel?"attr":"animate"](c),this.isNewLabel=!1):(r.attr("y",-9999),this.isNewLabel=!0))};d.prototype.replaceMovedLabel=function(){var c=this.label,g=this.axis,d=g.reversed;if(c&&!this.isNew){var f=g.horiz?d?g.left:g.width+g.left:c.xy.x;d=g.horiz?c.xy.y:d?g.width+g.top:g.top;c.animate({x:f,y:d,opacity:0},void 0,c.destroy);delete this.label}g.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return d}();
-f.Tick=d;return f.Tick});P(k,"Core/Axis/Axis.js",[k["Core/Animation/AnimationUtilities.js"],k["Core/Color/Color.js"],k["Core/Globals.js"],k["Core/Color/Palette.js"],k["Core/Options.js"],k["Core/Axis/Tick.js"],k["Core/Utilities.js"]],function(f,d,k,x,B,G,D){var H=f.animObject,t=B.defaultOptions,C=D.addEvent,l=D.arrayMax,E=D.arrayMin,g=D.clamp,y=D.correctFloat,c=D.defined,q=D.destroyObjectProperties,n=D.erase,A=D.error,M=D.extend,z=D.fireEvent,m=D.format,r=D.getMagnitude,e=D.isArray,h=D.isFunction,
-a=D.isNumber,b=D.isString,w=D.merge,J=D.normalizeTickInterval,O=D.objectEach,F=D.pick,N=D.relativeLength,R=D.removeEvent,Q=D.splat,T=D.syncTimeout;"";var v=k.deg2rad;f=function(){function f(a,b){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=
-this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0;this.init(a,b)}f.prototype.init=function(a,b){var e=b.isX,p=this;p.chart=
-a;p.horiz=a.inverted&&!p.isZAxis?!e:e;p.isXAxis=e;p.coll=p.coll||(e?"xAxis":"yAxis");z(this,"init",{userOptions:b});p.opposite=F(b.opposite,p.opposite);p.side=F(b.side,p.side,p.horiz?p.opposite?0:2:p.opposite?1:3);p.setOptions(b);var u=this.options,g=u.type;p.labelFormatter=u.labels.formatter||p.defaultLabelFormatter;p.userOptions=b;p.minPixelPadding=0;p.reversed=F(u.reversed,p.reversed);p.visible=!1!==u.visible;p.zoomEnabled=!1!==u.zoomEnabled;p.hasNames="category"===g||!0===u.categories;p.categories=
-u.categories||p.hasNames;p.names||(p.names=[],p.names.keys={});p.plotLinesAndBandsGroups={};p.positiveValuesOnly=!!p.logarithmic;p.isLinked=c(u.linkedTo);p.ticks={};p.labelEdge=[];p.minorTicks={};p.plotLinesAndBands=[];p.alternateBands={};p.len=0;p.minRange=p.userMinRange=u.minRange||u.maxZoom;p.range=u.range;p.offset=u.offset||0;p.max=null;p.min=null;p.crosshair=F(u.crosshair,Q(a.options.tooltip.crosshairs)[e?0:1],!1);b=p.options.events;-1===a.axes.indexOf(p)&&(e?a.axes.splice(a.xAxis.length,0,p):
-a.axes.push(p),a[p.coll].push(p));p.series=p.series||[];a.inverted&&!p.isZAxis&&e&&"undefined"===typeof p.reversed&&(p.reversed=!0);p.labelRotation=p.options.labels.rotation;O(b,function(a,b){h(a)&&C(p,b,a)});z(this,"afterInit")};f.prototype.setOptions=function(a){this.options=w(f.defaultOptions,"yAxis"===this.coll&&f.defaultYAxisOptions,[f.defaultTopAxisOptions,f.defaultRightAxisOptions,f.defaultBottomAxisOptions,f.defaultLeftAxisOptions][this.side],w(t[this.coll],a));z(this,"afterSetOptions",{userOptions:a})};
-f.prototype.defaultLabelFormatter=function(){var b=this.axis,e=a(this.value)?this.value:NaN,c=b.chart.time,g=b.categories,u=this.dateTimeLabelFormat,h=t.lang,d=h.numericSymbols;h=h.numericSymbolMagnitude||1E3;var f=d&&d.length,w=b.options.labels.format;b=b.logarithmic?Math.abs(e):b.tickInterval;var n=this.chart,q=n.numberFormatter;if(w)var r=m(w,this,n);else if(g)r=""+this.value;else if(u)r=c.dateFormat(u,e);else if(f&&1E3<=b)for(;f--&&"undefined"===typeof r;)c=Math.pow(h,f+1),b>=c&&0===10*e%c&&null!==
-d[f]&&0!==e&&(r=q(e/c,-1)+d[f]);"undefined"===typeof r&&(r=1E4<=Math.abs(e)?q(e,-1):q(e,-1,void 0,""));return r};f.prototype.getSeriesExtremes=function(){var b=this,e=b.chart,g;z(this,"getSeriesExtremes",null,function(){b.hasVisibleSeries=!1;b.dataMin=b.dataMax=b.threshold=null;b.softThreshold=!b.isXAxis;b.stacking&&b.stacking.buildStacks();b.series.forEach(function(p){if(p.visible||!e.options.chart.ignoreHiddenSeries){var u=p.options,h=u.threshold;b.hasVisibleSeries=!0;b.positiveValuesOnly&&0>=h&&
-(h=null);if(b.isXAxis){if(u=p.xData,u.length){u=b.logarithmic?u.filter(b.validatePositiveValue):u;g=p.getXExtremes(u);var d=g.min;var f=g.max;a(d)||d instanceof Date||(u=u.filter(a),g=p.getXExtremes(u),d=g.min,f=g.max);u.length&&(b.dataMin=Math.min(F(b.dataMin,d),d),b.dataMax=Math.max(F(b.dataMax,f),f))}}else if(p=p.applyExtremes(),a(p.dataMin)&&(d=p.dataMin,b.dataMin=Math.min(F(b.dataMin,d),d)),a(p.dataMax)&&(f=p.dataMax,b.dataMax=Math.max(F(b.dataMax,f),f)),c(h)&&(b.threshold=h),!u.softThreshold||
-b.positiveValuesOnly)b.softThreshold=!1}})});z(this,"afterGetSeriesExtremes")};f.prototype.translate=function(b,e,c,g,u,h){var p=this.linkedParent||this,d=1,f=0,m=g&&p.old?p.old.transA:p.transA;g=g&&p.old?p.old.min:p.min;var w=p.minPixelPadding;u=(p.isOrdinal||p.brokenAxis&&p.brokenAxis.hasBreaks||p.logarithmic&&u)&&p.lin2val;m||(m=p.transA);c&&(d*=-1,f=p.len);p.reversed&&(d*=-1,f-=d*(p.sector||p.len));e?(b=(b*d+f-w)/m+g,u&&(b=p.lin2val(b))):(u&&(b=p.val2lin(b)),b=a(g)?d*(b-g)*m+f+d*w+(a(h)?m*h:0):
-void 0);return b};f.prototype.toPixels=function(a,b){return this.translate(a,!1,!this.horiz,null,!0)+(b?0:this.pos)};f.prototype.toValue=function(a,b){return this.translate(a-(b?0:this.pos),!0,!this.horiz,null,!0)};f.prototype.getPlotLinePath=function(b){function e(a,b,e){if("pass"!==n&&a<b||a>e)n?a=g(a,b,e):Z=!0;return a}var c=this,p=c.chart,u=c.left,h=c.top,d=b.old,f=b.value,m=b.translatedValue,w=b.lineWidth,n=b.force,r,q,l,J,v=d&&p.oldChartHeight||p.chartHeight,V=d&&p.oldChartWidth||p.chartWidth,
-Z,N=c.transB;b={value:f,lineWidth:w,old:d,force:n,acrossPanes:b.acrossPanes,translatedValue:m};z(this,"getPlotLinePath",b,function(b){m=F(m,c.translate(f,null,null,d));m=g(m,-1E5,1E5);r=l=Math.round(m+N);q=J=Math.round(v-m-N);a(m)?c.horiz?(q=h,J=v-c.bottom,r=l=e(r,u,u+c.width)):(r=u,l=V-c.right,q=J=e(q,h,h+c.height)):(Z=!0,n=!1);b.path=Z&&!n?null:p.renderer.crispLine([["M",r,q],["L",l,J]],w||1)});return b.path};f.prototype.getLinearTickPositions=function(a,b,e){var c=y(Math.floor(b/a)*a);e=y(Math.ceil(e/
-a)*a);var p=[],g;y(c+a)===c&&(g=20);if(this.single)return[b];for(b=c;b<=e;){p.push(b);b=y(b+a,g);if(b===h)break;var h=b}return p};f.prototype.getMinorTickInterval=function(){var a=this.options;return!0===a.minorTicks?F(a.minorTickInterval,"auto"):!1===a.minorTicks?null:a.minorTickInterval};f.prototype.getMinorTickPositions=function(){var a=this.options,b=this.tickPositions,e=this.minorTickInterval,c=[],u=this.pointRangePadding||0,g=this.min-u;u=this.max+u;var h=u-g;if(h&&h/e<this.len/3){var d=this.logarithmic;
-if(d)this.paddedTicks.forEach(function(a,b,p){b&&c.push.apply(c,d.getLogTickPositions(e,p[b-1],p[b],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())c=c.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(e),g,u,a.startOfWeek));else for(a=g+(b[0]-g)%e;a<=u&&a!==c[0];a+=e)c.push(a)}0!==c.length&&this.trimTicks(c);return c};f.prototype.adjustForMinRange=function(){var a=this.options,b=this.min,e=this.max,g=this.logarithmic,u=0,h,d,f,m;this.isXAxis&&"undefined"===typeof this.minRange&&
-!g&&(c(a.min)||c(a.max)?this.minRange=null:(this.series.forEach(function(a){f=a.xData;m=a.xIncrement?1:f.length-1;if(1<f.length)for(h=m;0<h;h--)if(d=f[h]-f[h-1],!u||d<u)u=d}),this.minRange=Math.min(5*u,this.dataMax-this.dataMin)));if(e-b<this.minRange){var w=this.dataMax-this.dataMin>=this.minRange;var n=this.minRange;var r=(n-e+b)/2;r=[b-r,F(a.min,b-r)];w&&(r[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);b=l(r);e=[b+n,F(a.max,b+n)];w&&(e[2]=g?g.log2lin(this.dataMax):this.dataMax);
-e=E(e);e-b<n&&(r[0]=e-n,r[1]=F(a.min,e-n),b=l(r))}this.min=b;this.max=e};f.prototype.getClosest=function(){var a;this.categories?a=1:this.series.forEach(function(b){var e=b.closestPointRange,p=b.visible||!b.chart.options.chart.ignoreHiddenSeries;!b.noSharedTooltip&&c(e)&&p&&(a=c(a)?Math.min(a,e):e)});return a};f.prototype.nameToX=function(a){var b=e(this.categories),p=b?this.categories:this.names,g=a.options.x;a.series.requireSorting=!1;c(g)||(g=!1===this.options.uniqueNames?a.series.autoIncrement():
-b?p.indexOf(a.name):F(p.keys[a.name],-1));if(-1===g){if(!b)var u=p.length}else u=g;"undefined"!==typeof u&&(this.names[u]=a.name,this.names.keys[a.name]=u);return u};f.prototype.updateNames=function(){var a=this,b=this.names;0<b.length&&(Object.keys(b.keys).forEach(function(a){delete b.keys[a]}),b.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(b){b.xIncrement=null;if(!b.points||b.isDirtyData)a.max=Math.max(a.max,b.xData.length-1),b.processData(),b.generatePoints();b.data.forEach(function(e,
-c){if(e&&e.options&&"undefined"!==typeof e.name){var p=a.nameToX(e);"undefined"!==typeof p&&p!==e.x&&(e.x=p,b.xData[c]=p)}})}))};f.prototype.setAxisTranslation=function(){var a=this,e=a.max-a.min,c=a.axisPointRange||0,g=0,u=0,h=a.linkedParent,d=!!a.categories,f=a.transA,m=a.isXAxis;if(m||d||c){var w=a.getClosest();h?(g=h.minPointOffset,u=h.pointRangePadding):a.series.forEach(function(e){var p=d?1:m?F(e.options.pointRange,w,0):a.axisPointRange||0,h=e.options.pointPlacement;c=Math.max(c,p);if(!a.single||
-d)e=e.is("xrange")?!m:m,g=Math.max(g,e&&b(h)?0:p/2),u=Math.max(u,e&&"on"===h?0:p)});h=a.ordinal&&a.ordinal.slope&&w?a.ordinal.slope/w:1;a.minPointOffset=g*=h;a.pointRangePadding=u*=h;a.pointRange=Math.min(c,a.single&&d?1:e);m&&(a.closestPointRange=w)}a.translationSlope=a.transA=f=a.staticScale||a.len/(e+u||1);a.transB=a.horiz?a.left:a.bottom;a.minPixelPadding=f*g;z(this,"afterSetAxisTranslation")};f.prototype.minFromRange=function(){return this.max-this.range};f.prototype.setTickInterval=function(b){var e=
-this,p=e.chart,g=e.logarithmic,u=e.options,h=e.isXAxis,d=e.isLinked,f=u.maxPadding,m=u.minPadding,w=u.tickInterval,n=u.tickPixelInterval,q=e.categories,l=a(e.threshold)?e.threshold:null,v=e.softThreshold;e.dateTime||q||d||this.getTickAmount();var N=F(e.userMin,u.min);var O=F(e.userMax,u.max);if(d){e.linkedParent=p[e.coll][u.linkedTo];var V=e.linkedParent.getExtremes();e.min=F(V.min,V.dataMin);e.max=F(V.max,V.dataMax);u.type!==e.linkedParent.options.type&&A(11,1,p)}else{if(v&&c(l))if(e.dataMin>=l)V=
-l,m=0;else if(e.dataMax<=l){var Z=l;f=0}e.min=F(N,V,e.dataMin);e.max=F(O,Z,e.dataMax)}g&&(e.positiveValuesOnly&&!b&&0>=Math.min(e.min,F(e.dataMin,e.min))&&A(10,1,p),e.min=y(g.log2lin(e.min),16),e.max=y(g.log2lin(e.max),16));e.range&&c(e.max)&&(e.userMin=e.min=N=Math.max(e.dataMin,e.minFromRange()),e.userMax=O=e.max,e.range=null);z(e,"foundExtremes");e.beforePadding&&e.beforePadding();e.adjustForMinRange();!(q||e.axisPointRange||e.stacking&&e.stacking.usePercentage||d)&&c(e.min)&&c(e.max)&&(p=e.max-
-e.min)&&(!c(N)&&m&&(e.min-=p*m),!c(O)&&f&&(e.max+=p*f));a(e.userMin)||(a(u.softMin)&&u.softMin<e.min&&(e.min=N=u.softMin),a(u.floor)&&(e.min=Math.max(e.min,u.floor)));a(e.userMax)||(a(u.softMax)&&u.softMax>e.max&&(e.max=O=u.softMax),a(u.ceiling)&&(e.max=Math.min(e.max,u.ceiling)));v&&c(e.dataMin)&&(l=l||0,!c(N)&&e.min<l&&e.dataMin>=l?e.min=e.options.minRange?Math.min(l,e.max-e.minRange):l:!c(O)&&e.max>l&&e.dataMax<=l&&(e.max=e.options.minRange?Math.max(l,e.min+e.minRange):l));a(e.min)&&a(e.max)&&
-!this.chart.polar&&e.min>e.max&&(c(e.options.min)?e.max=e.min:c(e.options.max)&&(e.min=e.max));e.tickInterval=e.min===e.max||"undefined"===typeof e.min||"undefined"===typeof e.max?1:d&&!w&&n===e.linkedParent.options.tickPixelInterval?w=e.linkedParent.tickInterval:F(w,this.tickAmount?(e.max-e.min)/Math.max(this.tickAmount-1,1):void 0,q?1:(e.max-e.min)*n/Math.max(e.len,n));h&&!b&&e.series.forEach(function(a){var b,c;a.processData(e.min!==(null===(b=e.old)||void 0===b?void 0:b.min)||e.max!==(null===
-(c=e.old)||void 0===c?void 0:c.max))});e.setAxisTranslation();z(this,"initialAxisTranslation");e.pointRange&&!w&&(e.tickInterval=Math.max(e.pointRange,e.tickInterval));b=F(u.minTickInterval,e.dateTime&&!e.series.some(function(a){return a.noSharedTooltip})?e.closestPointRange:0);!w&&e.tickInterval<b&&(e.tickInterval=b);e.dateTime||e.logarithmic||w||(e.tickInterval=J(e.tickInterval,void 0,r(e.tickInterval),F(u.allowDecimals,.5>e.tickInterval||void 0!==this.tickAmount),!!this.tickAmount));this.tickAmount||
-(e.tickInterval=e.unsquish());this.setTickPositions()};f.prototype.setTickPositions=function(){var a=this.options,b=a.tickPositions;var e=this.getMinorTickInterval();var g=a.tickPositioner,h=this.hasVerticalPanning(),d="colorAxis"===this.coll,f=(d||!h)&&a.startOnTick;h=(d||!h)&&a.endOnTick;this.tickmarkOffset=this.categories&&"between"===a.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===e&&this.tickInterval?this.tickInterval/5:e;this.single=this.min===this.max&&c(this.min)&&
-!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==a.allowDecimals);this.tickPositions=e=b&&b.slice();!e&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?e=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,a.units),this.min,this.max,a.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):
-this.getLinearTickPositions(this.tickInterval,this.min,this.max):(e=[this.min,this.max],A(19,!1,this.chart)),e.length>this.len&&(e=[e[0],e.pop()],e[0]===e[1]&&(e.length=1)),this.tickPositions=e,g&&(g=g.apply(this,[this.min,this.max])))&&(this.tickPositions=e=g);this.paddedTicks=e.slice(0);this.trimTicks(e,f,h);this.isLinked||(this.single&&2>e.length&&!this.categories&&!this.series.some(function(a){return a.is("heatmap")&&"between"===a.options.pointPlacement})&&(this.min-=.5,this.max+=.5),b||g||this.adjustTickAmount());
-z(this,"afterSetTickPositions")};f.prototype.trimTicks=function(a,b,e){var g=a[0],p=a[a.length-1],h=!this.isOrdinal&&this.minPointOffset||0;z(this,"trimTicks");if(!this.isLinked){if(b&&-Infinity!==g)this.min=g;else for(;this.min-h>a[0];)a.shift();if(e)this.max=p;else for(;this.max+h<a[a.length-1];)a.pop();0===a.length&&c(g)&&!this.options.tickPositions&&a.push((p+g)/2)}};f.prototype.alignToOthers=function(){var a={},b,e=this.options;!1===this.chart.options.chart.alignTicks||!1===e.alignTicks||!1===
-e.startOnTick||!1===e.endOnTick||this.logarithmic||this.chart[this.coll].forEach(function(e){var c=e.options;c=[e.horiz?c.left:c.top,c.width,c.height,c.pane].join();e.series.length&&(a[c]?b=!0:a[c]=1)});return b};f.prototype.getTickAmount=function(){var a=this.options,b=a.tickAmount,e=a.tickPixelInterval;!c(a.tickInterval)&&!b&&this.len<e&&!this.isRadial&&!this.logarithmic&&a.startOnTick&&a.endOnTick&&(b=2);!b&&this.alignToOthers()&&(b=Math.ceil(this.len/e)+1);4>b&&(this.finalTickAmt=b,b=5);this.tickAmount=
-b};f.prototype.adjustTickAmount=function(){var b=this.options,e=this.tickInterval,g=this.tickPositions,h=this.tickAmount,u=this.finalTickAmt,d=g&&g.length,f=F(this.threshold,this.softThreshold?0:null);if(this.hasData()&&a(this.min)&&a(this.max)){if(d<h){for(;g.length<h;)g.length%2||this.min===f?g.push(y(g[g.length-1]+e)):g.unshift(y(g[0]-e));this.transA*=(d-1)/(h-1);this.min=b.startOnTick?g[0]:Math.min(this.min,g[0]);this.max=b.endOnTick?g[g.length-1]:Math.max(this.max,g[g.length-1])}else d>h&&(this.tickInterval*=
-2,this.setTickPositions());if(c(u)){for(e=b=g.length;e--;)(3===u&&1===e%2||2>=u&&0<e&&e<b-1)&&g.splice(e,1);this.finalTickAmt=void 0}}};f.prototype.setScale=function(){var a,b,e,c,g,h,d=!1,f=!1;this.series.forEach(function(a){var b;d=d||a.isDirtyData||a.isDirty;f=f||(null===(b=a.xAxis)||void 0===b?void 0:b.isDirty)||!1});this.setAxisSize();(h=this.len!==(null===(a=this.old)||void 0===a?void 0:a.len))||d||f||this.isLinked||this.forceRedraw||this.userMin!==(null===(b=this.old)||void 0===b?void 0:b.userMin)||
-this.userMax!==(null===(e=this.old)||void 0===e?void 0:e.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=h||this.min!==(null===(c=this.old)||void 0===c?void 0:c.min)||this.max!==(null===(g=this.old)||void 0===g?void 0:g.max))):this.stacking&&this.stacking.cleanStacks();d&&this.panningState&&(this.panningState.isDirty=!0);z(this,"afterSetScale")};f.prototype.setExtremes=function(a,
-b,e,c,g){var h=this,p=h.chart;e=F(e,!0);h.series.forEach(function(a){delete a.kdTree});g=M(g,{min:a,max:b});z(h,"setExtremes",g,function(){h.userMin=a;h.userMax=b;h.eventArgs=g;e&&p.redraw(c)})};f.prototype.zoom=function(a,b){var e=this,g=this.dataMin,h=this.dataMax,p=this.options,d=Math.min(g,F(p.min,g)),f=Math.max(h,F(p.max,h));a={newMin:a,newMax:b};z(this,"zoom",a,function(a){var b=a.newMin,p=a.newMax;if(b!==e.min||p!==e.max)e.allowZoomOutside||(c(g)&&(b<d&&(b=d),b>f&&(b=f)),c(h)&&(p<d&&(p=d),
-p>f&&(p=f))),e.displayBtn="undefined"!==typeof b||"undefined"!==typeof p,e.setExtremes(b,p,!1,void 0,{trigger:"zoom"});a.zoomed=!0});return a.zoomed};f.prototype.setAxisSize=function(){var a=this.chart,b=this.options,e=b.offsets||[0,0,0,0],c=this.horiz,g=this.width=Math.round(N(F(b.width,a.plotWidth-e[3]+e[1]),a.plotWidth)),h=this.height=Math.round(N(F(b.height,a.plotHeight-e[0]+e[2]),a.plotHeight)),d=this.top=Math.round(N(F(b.top,a.plotTop+e[0]),a.plotHeight,a.plotTop));b=this.left=Math.round(N(F(b.left,
-a.plotLeft+e[3]),a.plotWidth,a.plotLeft));this.bottom=a.chartHeight-h-d;this.right=a.chartWidth-g-b;this.len=Math.max(c?g:h,0);this.pos=c?b:d};f.prototype.getExtremes=function(){var a=this.logarithmic;return{min:a?y(a.lin2log(this.min)):this.min,max:a?y(a.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};f.prototype.getThreshold=function(a){var b=this.logarithmic,e=b?b.lin2log(this.min):this.min;b=b?b.lin2log(this.max):this.max;null===
-a||-Infinity===a?a=e:Infinity===a?a=b:e>a?a=e:b<a&&(a=b);return this.translate(a,0,1,0,1)};f.prototype.autoLabelAlign=function(a){var b=(F(a,0)-90*this.side+720)%360;a={align:"center"};z(this,"autoLabelAlign",a,function(a){15<b&&165>b?a.align="right":195<b&&345>b&&(a.align="left")});return a.align};f.prototype.tickSize=function(a){var b=this.options,e=b["tick"===a?"tickLength":"minorTickLength"],c=F(b["tick"===a?"tickWidth":"minorTickWidth"],"tick"===a&&this.isXAxis&&!this.categories?1:0);if(c&&e){"inside"===
-b[a+"Position"]&&(e=-e);var g=[e,c]}a={tickSize:g};z(this,"afterTickSize",a);return a.tickSize};f.prototype.labelMetrics=function(){var a=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[a]&&this.ticks[a].label)};f.prototype.unsquish=function(){var a=this.options.labels,b=this.horiz,e=this.tickInterval,g=e,h=this.len/(((this.categories?1:0)+this.max-this.min)/e),d,f=a.rotation,m=this.labelMetrics(),
-w,n=Number.MAX_VALUE,r,l=Math.max(this.max-this.min,0),q=function(a){var b=a/(h||1);b=1<b?Math.ceil(b):1;b*e>l&&Infinity!==a&&Infinity!==h&&l&&(b=Math.ceil(l/e));return y(b*e)};b?(r=!a.staggerLines&&!a.step&&(c(f)?[f]:h<F(a.autoRotationLimit,80)&&a.autoRotation))&&r.forEach(function(a){if(a===f||a&&-90<=a&&90>=a){w=q(Math.abs(m.h/Math.sin(v*a)));var b=w+Math.abs(a/360);b<n&&(n=b,d=a,g=w)}}):a.step||(g=q(m.h));this.autoRotation=r;this.labelRotation=F(d,f);return g};f.prototype.getSlotWidth=function(b){var e,
-c=this.chart,g=this.horiz,h=this.options.labels,d=Math.max(this.tickPositions.length-(this.categories?0:1),1),p=c.margin[3];if(b&&a(b.slotWidth))return b.slotWidth;if(g&&h&&2>(h.step||0))return h.rotation?0:(this.staggerLines||1)*this.len/d;if(!g){b=null===(e=null===h||void 0===h?void 0:h.style)||void 0===e?void 0:e.width;if(void 0!==b)return parseInt(b,10);if(p)return p-c.spacing[3]}return.33*c.chartWidth};f.prototype.renderUnsquish=function(){var a=this.chart,e=a.renderer,c=this.tickPositions,g=
-this.ticks,h=this.options.labels,d=h&&h.style||{},f=this.horiz,m=this.getSlotWidth(),w=Math.max(1,Math.round(m-2*(h.padding||5))),n={},r=this.labelMetrics(),l=h.style&&h.style.textOverflow,q=0;b(h.rotation)||(n.rotation=h.rotation||0);c.forEach(function(a){a=g[a];a.movedLabel&&a.replaceMovedLabel();a&&a.label&&a.label.textPxLength>q&&(q=a.label.textPxLength)});this.maxLabelLength=q;if(this.autoRotation)q>w&&q>r.h?n.rotation=this.labelRotation:this.labelRotation=0;else if(m){var J=w;if(!l){var F="clip";
-for(w=c.length;!f&&w--;){var v=c[w];if(v=g[v].label)v.styles&&"ellipsis"===v.styles.textOverflow?v.css({textOverflow:"clip"}):v.textPxLength>m&&v.css({width:m+"px"}),v.getBBox().height>this.len/c.length-(r.h-r.f)&&(v.specificTextOverflow="ellipsis")}}}n.rotation&&(J=q>.5*a.chartHeight?.33*a.chartHeight:q,l||(F="ellipsis"));if(this.labelAlign=h.align||this.autoLabelAlign(this.labelRotation))n.align=this.labelAlign;c.forEach(function(a){var b=(a=g[a])&&a.label,e=d.width,c={};b&&(b.attr(n),a.shortenLabel?
-a.shortenLabel():J&&!e&&"nowrap"!==d.whiteSpace&&(J<b.textPxLength||"SPAN"===b.element.tagName)?(c.width=J+"px",l||(c.textOverflow=b.specificTextOverflow||F),b.css(c)):b.styles&&b.styles.width&&!c.width&&!e&&b.css({width:null}),delete b.specificTextOverflow,a.rotation=n.rotation)},this);this.tickRotCorr=e.rotCorr(r.b,this.labelRotation||0,0!==this.side)};f.prototype.hasData=function(){return this.series.some(function(a){return a.hasData()})||this.options.showEmpty&&c(this.min)&&c(this.max)};f.prototype.addTitle=
-function(a){var b=this.chart.renderer,e=this.horiz,c=this.opposite,g=this.options.title,h,d=this.chart.styledMode;this.axisTitle||((h=g.textAlign)||(h=(e?{low:"left",middle:"center",high:"right"}:{low:c?"right":"left",middle:"center",high:c?"left":"right"})[g.align]),this.axisTitle=b.text(g.text,0,0,g.useHTML).attr({zIndex:7,rotation:g.rotation||0,align:h}).addClass("highcharts-axis-title"),d||this.axisTitle.css(w(g.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);d||g.style.width||
-this.isRadial||this.axisTitle.css({width:this.len+"px"});this.axisTitle[a?"show":"hide"](a)};f.prototype.generateTick=function(a){var b=this.ticks;b[a]?b[a].addLabel():b[a]=new G(this,a)};f.prototype.getOffset=function(){var a=this,b=this,e=b.chart,g=e.renderer,h=b.options,d=b.tickPositions,f=b.ticks,m=b.horiz,w=b.side,n=e.inverted&&!b.isZAxis?[1,0,3,2][w]:w,r,l=0,q=0,J=h.title,v=h.labels,N=0,V=e.axisOffset;e=e.clipOffset;var Z=[-1,1,1,-1][w],k=h.className,t=b.axisParent;var y=b.hasData();b.showAxis=
-r=y||F(h.showEmpty,!0);b.staggerLines=b.horiz&&v.staggerLines;if(!b.axisGroup){var A=function(b,e,c){return g.g(b).attr({zIndex:c}).addClass("highcharts-"+a.coll.toLowerCase()+e+" "+(a.isRadial?"highcharts-radial-axis"+e+" ":"")+(k||"")).add(t)};b.gridGroup=A("grid","-grid",h.gridZIndex||1);b.axisGroup=A("axis","",h.zIndex||2);b.labelGroup=A("axis-labels","-labels",v.zIndex||7)}y||b.isLinked?(d.forEach(function(a,e){b.generateTick(a,e)}),b.renderUnsquish(),b.reserveSpaceDefault=0===w||2===w||{1:"left",
-3:"right"}[w]===b.labelAlign,F(v.reserveSpace,"center"===b.labelAlign?!0:null,b.reserveSpaceDefault)&&d.forEach(function(a){N=Math.max(f[a].getLabelSize(),N)}),b.staggerLines&&(N*=b.staggerLines),b.labelOffset=N*(b.opposite?-1:1)):O(f,function(a,b){a.destroy();delete f[b]});if(J&&J.text&&!1!==J.enabled&&(b.addTitle(r),r&&!1!==J.reserveSpace)){b.titleOffset=l=b.axisTitle.getBBox()[m?"height":"width"];var R=J.offset;q=c(R)?0:F(J.margin,m?5:10)}b.renderLine();b.offset=Z*F(h.offset,V[w]?V[w]+(h.margin||
-0):0);b.tickRotCorr=b.tickRotCorr||{x:0,y:0};J=0===w?-b.labelMetrics().h:2===w?b.tickRotCorr.y:0;q=Math.abs(N)+q;N&&(q=q-J+Z*(m?F(v.y,b.tickRotCorr.y+8*Z):v.x));b.axisTitleMargin=F(R,q);b.getMaxLabelDimensions&&(b.maxLabelDimensions=b.getMaxLabelDimensions(f,d));m=this.tickSize("tick");V[w]=Math.max(V[w],b.axisTitleMargin+l+Z*b.offset,q,d&&d.length&&m?m[0]+Z*b.offset:0);h=h.offset?0:2*Math.floor(b.axisLine.strokeWidth()/2);e[n]=Math.max(e[n],h);z(this,"afterGetOffset")};f.prototype.getLinePath=function(a){var b=
-this.chart,e=this.opposite,c=this.offset,g=this.horiz,h=this.left+(e?this.width:0)+c;c=b.chartHeight-this.bottom-(e?this.height:0)+c;e&&(a*=-1);return b.renderer.crispLine([["M",g?this.left:h,g?c:this.top],["L",g?b.chartWidth-this.right:h,g?c:b.chartHeight-this.bottom]],a)};f.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,
-zIndex:7}))};f.prototype.getTitlePosition=function(){var a=this.horiz,b=this.left,e=this.top,c=this.len,g=this.options.title,h=a?b:e,d=this.opposite,f=this.offset,m=g.x||0,w=g.y||0,n=this.axisTitle,r=this.chart.renderer.fontMetrics(g.style&&g.style.fontSize,n);n=Math.max(n.getBBox(null,0).height-r.h-1,0);c={low:h+(a?0:c),middle:h+c/2,high:h+(a?c:0)}[g.align];b=(a?e+this.height:b)+(a?1:-1)*(d?-1:1)*this.axisTitleMargin+[-n,n,r.f,-n][this.side];a={x:a?c+m:b+(d?this.width:0)+f+m,y:a?b+w-(d?this.height:
-0)+f:c+w};z(this,"afterGetTitlePosition",{titlePosition:a});return a};f.prototype.renderMinorTick=function(a){var b=this.chart.hasRendered&&this.old,e=this.minorTicks;e[a]||(e[a]=new G(this,a,"minor"));b&&e[a].isNew&&e[a].render(null,!0);e[a].render(null,!1,1)};f.prototype.renderTick=function(a,b){var e,c=this.ticks,g=this.chart.hasRendered&&this.old;if(!this.isLinked||a>=this.min&&a<=this.max||(null===(e=this.grid)||void 0===e?0:e.isColumn))c[a]||(c[a]=new G(this,a)),g&&c[a].isNew&&c[a].render(b,
-!0,-1),c[a].render(b)};f.prototype.render=function(){var b=this,e=b.chart,c=b.logarithmic,g=b.options,h=b.isLinked,d=b.tickPositions,f=b.axisTitle,m=b.ticks,w=b.minorTicks,n=b.alternateBands,r=g.stackLabels,q=g.alternateGridColor,l=b.tickmarkOffset,J=b.axisLine,F=b.showAxis,v=H(e.renderer.globalAnimation),V,N;b.labelEdge.length=0;b.overlap=!1;[m,w,n].forEach(function(a){O(a,function(a){a.isActive=!1})});if(b.hasData()||h)b.minorTickInterval&&!b.categories&&b.getMinorTickPositions().forEach(function(a){b.renderMinorTick(a)}),
-d.length&&(d.forEach(function(a,e){b.renderTick(a,e)}),l&&(0===b.min||b.single)&&(m[-1]||(m[-1]=new G(b,-1,null,!0)),m[-1].render(-1))),q&&d.forEach(function(a,g){N="undefined"!==typeof d[g+1]?d[g+1]+l:b.max-l;0===g%2&&a<b.max&&N<=b.max+(e.polar?-l:l)&&(n[a]||(n[a]=new k.PlotLineOrBand(b)),V=a+l,n[a].options={from:c?c.lin2log(V):V,to:c?c.lin2log(N):N,color:q,className:"highcharts-alternate-grid"},n[a].render(),n[a].isActive=!0)}),b._addedPlotLB||(b._addedPlotLB=!0,(g.plotLines||[]).concat(g.plotBands||
-[]).forEach(function(a){b.addPlotBandOrLine(a)}));[m,w,n].forEach(function(a){var b,c=[],g=v.duration;O(a,function(a,b){a.isActive||(a.render(b,!1,0),a.isActive=!1,c.push(b))});T(function(){for(b=c.length;b--;)a[c[b]]&&!a[c[b]].isActive&&(a[c[b]].destroy(),delete a[c[b]])},a!==n&&e.hasRendered&&g?g:0)});J&&(J[J.isPlaced?"animate":"attr"]({d:this.getLinePath(J.strokeWidth())}),J.isPlaced=!0,J[F?"show":"hide"](F));f&&F&&(g=b.getTitlePosition(),a(g.y)?(f[f.isNew?"attr":"animate"](g),f.isNew=!1):(f.attr("y",
--9999),f.isNew=!0));r&&r.enabled&&b.stacking&&b.stacking.renderStackTotals();b.old={len:b.len,max:b.max,min:b.min,transA:b.transA,userMax:b.userMax,userMin:b.userMin};b.isDirty=!1;z(this,"afterRender")};f.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(a){a.render()}));this.series.forEach(function(a){a.isDirty=!0})};f.prototype.getKeepProps=function(){return this.keepProps||f.keepProps};f.prototype.destroy=function(a){var b=this,e=b.plotLinesAndBands,
-c;z(this,"destroy",{keepEvents:a});a||R(b);[b.ticks,b.minorTicks,b.alternateBands].forEach(function(a){q(a)});if(e)for(a=e.length;a--;)e[a].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(a){b[a]&&(b[a]=b[a].destroy())});for(c in b.plotLinesAndBandsGroups)b.plotLinesAndBandsGroups[c]=b.plotLinesAndBandsGroups[c].destroy();O(b,function(a,e){-1===b.getKeepProps().indexOf(e)&&delete b[e]})};f.prototype.drawCrosshair=function(a,b){var e=this.crosshair,
-g=F(e.snap,!0),h,f=this.cross,m=this.chart;z(this,"drawCrosshair",{e:a,point:b});a||(a=this.cross&&this.cross.e);if(this.crosshair&&!1!==(c(b)||!g)){g?c(b)&&(h=F("colorAxis"!==this.coll?b.crosshairPos:null,this.isXAxis?b.plotX:this.len-b.plotY)):h=a&&(this.horiz?a.chartX-this.pos:this.len-a.chartY+this.pos);if(c(h)){var p={value:b&&(this.isXAxis?b.x:F(b.stackY,b.y)),translatedValue:h};m.polar&&M(p,{isCrosshair:!0,chartX:a&&a.chartX,chartY:a&&a.chartY,point:b});p=this.getPlotLinePath(p)||null}if(!c(p)){this.hideCrosshair();
-return}g=this.categories&&!this.isRadial;f||(this.cross=f=m.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(g?"category ":"thin ")+e.className).attr({zIndex:F(e.zIndex,2)}).add(),m.styledMode||(f.attr({stroke:e.color||(g?d.parse(x.highlightColor20).setOpacity(.25).get():x.neutralColor20),"stroke-width":F(e.width,1)}).css({"pointer-events":"none"}),e.dashStyle&&f.attr({dashstyle:e.dashStyle})));f.show().attr({d:p});g&&!e.width&&f.attr({"stroke-width":this.transA});this.cross.e=
-a}else this.hideCrosshair();z(this,"afterDrawCrosshair",{e:a,point:b})};f.prototype.hideCrosshair=function(){this.cross&&this.cross.hide();z(this,"afterHideCrosshair")};f.prototype.hasVerticalPanning=function(){var a,b=null===(a=this.chart.options.chart)||void 0===a?void 0:a.panning;return!!(b&&b.enabled&&/y/.test(b.type))};f.prototype.validatePositiveValue=function(b){return a(b)&&0<b};f.prototype.update=function(a,b){var e=this.chart,c=a&&a.events||{};a=w(this.userOptions,a);e.options[this.coll].indexOf&&
-(e.options[this.coll][e.options[this.coll].indexOf(this.userOptions)]=a);O(e.options[this.coll].events,function(a,b){"undefined"===typeof c[b]&&(c[b]=void 0)});this.destroy(!0);this.init(e,M(a,{events:c}));e.isDirtyBox=!0;F(b,!0)&&e.redraw()};f.prototype.remove=function(a){for(var b=this.chart,c=this.coll,g=this.series,h=g.length;h--;)g[h]&&g[h].remove(!1);n(b.axes,this);n(b[c],this);e(b.options[c])?b.options[c].splice(this.options.index,1):delete b.options[c];b[c].forEach(function(a,b){a.options.index=
-a.userOptions.index=b});this.destroy();b.isDirtyBox=!0;F(a,!0)&&b.redraw()};f.prototype.setTitle=function(a,b){this.update({title:a},b)};f.prototype.setCategories=function(a,b){this.update({categories:a},b)};f.defaultOptions={dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,labels:{enabled:!0,indentation:10,
-x:0,style:{color:x.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",minPadding:.01,showEmpty:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",style:{color:x.neutralColor60}},type:"linear",minorGridLineColor:x.neutralColor5,minorGridLineWidth:1,minorTickColor:x.neutralColor40,lineColor:x.highlightColor20,lineWidth:1,gridLineColor:x.neutralColor10,
-tickColor:x.highlightColor20};f.defaultYAxisOptions={endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var a=this.axis.chart.numberFormatter;return a(this.total,-1)},style:{color:x.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};f.defaultLeftAxisOptions=
-{labels:{x:-15},title:{rotation:270}};f.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};f.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};f.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};f.keepProps="extKey hcEvents names series userMax userMin".split(" ");return f}();k.Axis=f;return k.Axis});P(k,"Core/Axis/DateTimeAxis.js",[k["Core/Axis/Axis.js"],k["Core/Utilities.js"]],function(f,d){var k=d.addEvent,x=d.getMagnitude,
-B=d.normalizeTickInterval,G=d.timeUnits,D=function(){function d(d){this.axis=d}d.prototype.normalizeTimeTickInterval=function(d,f){var l=f||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];f=l[l.length-1];var k=G[f[0]],g=f[1],t;for(t=0;t<l.length&&!(f=l[t],k=G[f[0]],g=f[1],l[t+1]&&d<=(k*g[g.length-1]+G[l[t+1][0]])/2);t++);k===G.year&&d<5*k&&(g=[1,2,5]);
-d=B(d/k,g,"year"===f[0]?Math.max(x(d/k),1):1);return{unitRange:k,count:d,unitName:f[0]}};return d}();d=function(){function d(){}d.compose=function(d){d.keepProps.push("dateTime");d.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)};k(d,"init",function(d){"datetime"!==d.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new D(this))})};d.AdditionsClass=D;return d}();d.compose(f);return d});P(k,"Core/Axis/LogarithmicAxis.js",[k["Core/Axis/Axis.js"],
-k["Core/Utilities.js"]],function(f,d){var k=d.addEvent,x=d.getMagnitude,B=d.normalizeTickInterval,G=d.pick,D=function(){function d(d){this.axis=d}d.prototype.getLogTickPositions=function(d,f,l,k){var g=this.axis,y=g.len,c=g.options,q=[];k||(this.minorAutoInterval=void 0);if(.5<=d)d=Math.round(d),q=g.getLinearTickPositions(d,f,l);else if(.08<=d){c=Math.floor(f);var n,A;for(y=.3<d?[1,2,4]:.15<d?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];c<l+1&&!A;c++){var t=y.length;for(n=0;n<t&&!A;n++){var z=this.log2lin(this.lin2log(c)*
-y[n]);z>f&&(!k||m<=l)&&"undefined"!==typeof m&&q.push(m);m>l&&(A=!0);var m=z}}}else f=this.lin2log(f),l=this.lin2log(l),d=k?g.getMinorTickInterval():c.tickInterval,d=G("auto"===d?null:d,this.minorAutoInterval,c.tickPixelInterval/(k?5:1)*(l-f)/((k?y/g.tickPositions.length:y)||1)),d=B(d,void 0,x(d)),q=g.getLinearTickPositions(d,f,l).map(this.log2lin),k||(this.minorAutoInterval=d/5);k||(g.tickInterval=d);return q};d.prototype.lin2log=function(d){return Math.pow(10,d)};d.prototype.log2lin=function(d){return Math.log(d)/
-Math.LN10};return d}();d=function(){function d(){}d.compose=function(d){d.keepProps.push("logarithmic");k(d,"init",function(d){var f=this.logarithmic;"logarithmic"!==d.userOptions.type?this.logarithmic=void 0:f||(this.logarithmic=new D(this))});k(d,"afterInit",function(){var d=this.logarithmic;d&&(this.lin2val=function(f){return d.lin2log(f)},this.val2lin=function(f){return d.log2lin(f)})})};return d}();d.compose(f);return d});P(k,"Core/Axis/PlotLineOrBand.js",[k["Core/Axis/Axis.js"],k["Core/Globals.js"],
-k["Core/Color/Palette.js"],k["Core/Utilities.js"]],function(f,d,k,x){var B=x.arrayMax,G=x.arrayMin,D=x.defined,H=x.destroyObjectProperties,t=x.erase,C=x.extend,l=x.fireEvent,E=x.merge,g=x.objectEach,y=x.pick;x=function(){function c(c,g){this.axis=c;g&&(this.options=g,this.id=g.id)}c.prototype.render=function(){l(this,"render");var c=this,d=c.axis,f=d.horiz,t=d.logarithmic,z=c.options,m=z.label,r=c.label,e=z.to,h=z.from,a=z.value,b=D(h)&&D(e),w=D(a),J=c.svgElem,O=!J,F=[],N=z.color,R=y(z.zIndex,0),
-Q=z.events;F={"class":"highcharts-plot-"+(b?"band ":"line ")+(z.className||"")};var C={},v=d.chart.renderer,x=b?"bands":"lines";t&&(h=t.log2lin(h),e=t.log2lin(e),a=t.log2lin(a));d.chart.styledMode||(w?(F.stroke=N||k.neutralColor40,F["stroke-width"]=y(z.width,1),z.dashStyle&&(F.dashstyle=z.dashStyle)):b&&(F.fill=N||k.highlightColor10,z.borderWidth&&(F.stroke=z.borderColor,F["stroke-width"]=z.borderWidth)));C.zIndex=R;x+="-"+R;(t=d.plotLinesAndBandsGroups[x])||(d.plotLinesAndBandsGroups[x]=t=v.g("plot-"+
-x).attr(C).add());O&&(c.svgElem=J=v.path().attr(F).add(t));if(w)F=d.getPlotLinePath({value:a,lineWidth:J.strokeWidth(),acrossPanes:z.acrossPanes});else if(b)F=d.getPlotBandPath(h,e,z);else return;!c.eventsAdded&&Q&&(g(Q,function(a,b){J.on(b,function(a){Q[b].apply(c,[a])})}),c.eventsAdded=!0);(O||!J.d)&&F&&F.length?J.attr({d:F}):J&&(F?(J.show(!0),J.animate({d:F})):J.d&&(J.hide(),r&&(c.label=r=r.destroy())));m&&(D(m.text)||D(m.formatter))&&F&&F.length&&0<d.width&&0<d.height&&!F.isFlat?(m=E({align:f&&
-b&&"center",x:f?!b&&4:10,verticalAlign:!f&&b&&"middle",y:f?b?16:10:b?6:-4,rotation:f&&!b&&90},m),this.renderLabel(m,F,b,R)):r&&r.hide();return c};c.prototype.renderLabel=function(c,g,d,f){var n=this.label,m=this.axis.chart.renderer;n||(n={align:c.textAlign||c.align,rotation:c.rotation,"class":"highcharts-plot-"+(d?"band":"line")+"-label "+(c.className||"")},n.zIndex=f,f=this.getLabelText(c),this.label=n=m.text(f,0,0,c.useHTML).attr(n).add(),this.axis.chart.styledMode||n.css(c.style));m=g.xBounds||
-[g[0][1],g[1][1],d?g[2][1]:g[0][1]];g=g.yBounds||[g[0][2],g[1][2],d?g[2][2]:g[0][2]];d=G(m);f=G(g);n.align(c,!1,{x:d,y:f,width:B(m)-d,height:B(g)-f});n.show(!0)};c.prototype.getLabelText=function(c){return D(c.formatter)?c.formatter.call(this):c.text};c.prototype.destroy=function(){t(this.axis.plotLinesAndBands,this);delete this.axis;H(this)};return c}();C(f.prototype,{getPlotBandPath:function(c,g,d){void 0===d&&(d=this.options);var f=this.getPlotLinePath({value:g,force:!0,acrossPanes:d.acrossPanes});
-d=this.getPlotLinePath({value:c,force:!0,acrossPanes:d.acrossPanes});var n=[],l=this.horiz,m=1;c=c<this.min&&g<this.min||c>this.max&&g>this.max;if(d&&f){if(c){var r=d.toString()===f.toString();m=0}for(c=0;c<d.length;c+=2){g=d[c];var e=d[c+1],h=f[c],a=f[c+1];"M"!==g[0]&&"L"!==g[0]||"M"!==e[0]&&"L"!==e[0]||"M"!==h[0]&&"L"!==h[0]||"M"!==a[0]&&"L"!==a[0]||(l&&h[1]===g[1]?(h[1]+=m,a[1]+=m):l||h[2]!==g[2]||(h[2]+=m,a[2]+=m),n.push(["M",g[1],g[2]],["L",e[1],e[2]],["L",a[1],a[2]],["L",h[1],h[2]],["Z"]));
-n.isFlat=r}}return n},addPlotBand:function(c){return this.addPlotBandOrLine(c,"plotBands")},addPlotLine:function(c){return this.addPlotBandOrLine(c,"plotLines")},addPlotBandOrLine:function(c,g){var f=this,l=new d.PlotLineOrBand(this,c),q=this.userOptions;this.visible&&(l=l.render());if(l){this._addedPlotLB||(this._addedPlotLB=!0,(q.plotLines||[]).concat(q.plotBands||[]).forEach(function(c){f.addPlotBandOrLine(c)}));if(g){var k=q[g]||[];k.push(c);q[g]=k}this.plotLinesAndBands.push(l)}return l},removePlotBandOrLine:function(c){for(var g=
-this.plotLinesAndBands,d=this.options,f=this.userOptions,l=g.length;l--;)g[l].id===c&&g[l].destroy();[d.plotLines||[],f.plotLines||[],d.plotBands||[],f.plotBands||[]].forEach(function(g){for(l=g.length;l--;)(g[l]||{}).id===c&&t(g,g[l])})},removePlotBand:function(c){this.removePlotBandOrLine(c)},removePlotLine:function(c){this.removePlotBandOrLine(c)}});d.PlotLineOrBand=x;return d.PlotLineOrBand});P(k,"Core/Tooltip.js",[k["Core/Globals.js"],k["Core/Color/Palette.js"],k["Core/Utilities.js"]],function(f,
-d,k){var x=f.doc,B=k.clamp,G=k.css,D=k.defined,H=k.discardElement,t=k.extend,C=k.fireEvent,l=k.format,E=k.isNumber,g=k.isString,y=k.merge,c=k.pick,q=k.splat,n=k.syncTimeout,A=k.timeUnits;"";var M=function(){function z(c,g){this.container=void 0;this.crosshairs=[];this.distance=0;this.isHidden=!0;this.isSticky=!1;this.now={};this.options={};this.outside=!1;this.chart=c;this.init(c,g)}z.prototype.applyFilter=function(){var c=this.chart;c.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+
-c.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{"in":"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{"in":"SourceGraphic"}}]}]});c.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+c.index+"{filter:url(#drop-shadow-"+c.index+")}"})};z.prototype.bodyFormatter=
-function(c){return c.map(function(c){var e=c.series.tooltipOptions;return(e[(c.point.formatPrefix||"point")+"Formatter"]||c.point.tooltipFormatter).call(c.point,e[(c.point.formatPrefix||"point")+"Format"]||"")})};z.prototype.cleanSplit=function(c){this.chart.series.forEach(function(g){var e=g&&g.tt;e&&(!e.isActive||c?g.tt=e.destroy():e.isActive=!1)})};z.prototype.defaultFormatter=function(c){var g=this.points||q(this);var e=[c.tooltipFooterHeaderFormatter(g[0])];e=e.concat(c.bodyFormatter(g));e.push(c.tooltipFooterHeaderFormatter(g[0],
-!0));return e};z.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),H(this.container));k.clearTimeout(this.hideTimer);k.clearTimeout(this.tooltipTimeout)};z.prototype.getAnchor=function(c,g){var e=this.chart;var d=e.pointer;var a=e.inverted,b=e.plotTop,f=e.plotLeft,m=0,n=0,l,r;c=q(c);this.followPointer&&g?("undefined"===typeof g.chartX&&(g=d.normalize(g)),
-d=[g.chartX-f,g.chartY-b]):c[0].tooltipPos?d=c[0].tooltipPos:(c.forEach(function(c){l=c.series.yAxis;r=c.series.xAxis;m+=c.plotX||0;n+=c.plotLow?(c.plotLow+(c.plotHigh||0))/2:c.plotY||0;r&&l&&(a?(m+=b+e.plotHeight-r.len-r.pos,n+=f+e.plotWidth-l.len-l.pos):(m+=r.pos-f,n+=l.pos-b))}),m/=c.length,n/=c.length,d=[a?e.plotWidth-n:m,a?e.plotHeight-m:n],this.shared&&1<c.length&&g&&(a?d[0]=g.chartX-f:d[1]=g.chartY-b));return d.map(Math.round)};z.prototype.getDateFormat=function(c,g,e,d){var a=this.chart.time,
-b=a.dateFormat("%m-%d %H:%M:%S.%L",g),h={millisecond:15,second:12,minute:9,hour:6,day:3},f="millisecond";for(m in A){if(c===A.week&&+a.dateFormat("%w",g)===e&&"00:00:00.000"===b.substr(6)){var m="week";break}if(A[m]>c){m=f;break}if(h[m]&&b.substr(h[m])!=="01-01 00:00:00.000".substr(h[m]))break;"week"!==m&&(f=m)}if(m)var n=a.resolveDTLFormat(d[m]).main;return n};z.prototype.getLabel=function(){var c,g,e,d=this,a=this.chart.renderer,b=this.chart.styledMode,w=this.options,n="tooltip"+(D(w.className)?
-" "+w.className:""),l=(null===(c=w.style)||void 0===c?void 0:c.pointerEvents)||(!this.followPointer&&w.stickOnContact?"auto":"none"),q;c=function(){d.inContact=!0};var k=function(){var a=d.chart.hoverSeries;d.inContact=!1;if(a&&a.onMouseOut)a.onMouseOut()};if(!this.label){if(this.outside){var t=null===(g=this.chart.options.chart)||void 0===g?void 0:g.style;this.container=q=f.doc.createElement("div");q.className="highcharts-tooltip-container";G(q,{position:"absolute",top:"1px",pointerEvents:l,zIndex:Math.max((null===
-(e=this.options.style)||void 0===e?void 0:e.zIndex)||0,((null===t||void 0===t?void 0:t.zIndex)||0)+3)});f.doc.body.appendChild(q);this.renderer=a=new f.Renderer(q,0,0,t,void 0,void 0,a.styledMode)}this.split?this.label=a.g(n):(this.label=a.label("",0,0,w.shape||"callout",null,null,w.useHTML,null,n).attr({padding:w.padding,r:w.borderRadius}),b||this.label.attr({fill:w.backgroundColor,"stroke-width":w.borderWidth}).css(w.style).css({pointerEvents:l}).shadow(w.shadow));b&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+
-this.chart.index));if(d.outside&&!d.split){var y=this.label,z=y.xSetter,v=y.ySetter;y.xSetter=function(a){z.call(y,d.distance);q.style.left=a+"px"};y.ySetter=function(a){v.call(y,d.distance);q.style.top=a+"px"}}this.label.on("mouseenter",c).on("mouseleave",k).attr({zIndex:8}).add()}return this.label};z.prototype.getPosition=function(g,d,e){var h=this.chart,a=this.distance,b={},f=h.inverted&&e.h||0,m,n=this.outside,l=n?x.documentElement.clientWidth-2*a:h.chartWidth,r=n?Math.max(x.body.scrollHeight,
-x.documentElement.scrollHeight,x.body.offsetHeight,x.documentElement.offsetHeight,x.documentElement.clientHeight):h.chartHeight,q=h.pointer.getChartPosition(),k=function(b){var c="x"===b;return[b,c?l:r,c?g:d].concat(n?[c?g*q.scaleX:d*q.scaleY,c?q.left-a+(e.plotX+h.plotLeft)*q.scaleX:q.top-a+(e.plotY+h.plotTop)*q.scaleY,0,c?l:r]:[c?g:d,c?e.plotX+h.plotLeft:e.plotY+h.plotTop,c?h.plotLeft:h.plotTop,c?h.plotLeft+h.plotWidth:h.plotTop+h.plotHeight])},y=k("y"),v=k("x"),t=!this.followPointer&&c(e.ttBelow,
-!h.inverted===!!e.negative),p=function(e,c,g,d,h,m,p){var u=n?"y"===e?a*q.scaleY:a*q.scaleX:a,w=(g-d)/2,l=d<h-a,r=h+a+d<c,J=h-u-g+w;h=h+u-w;if(t&&r)b[e]=h;else if(!t&&l)b[e]=J;else if(l)b[e]=Math.min(p-d,0>J-f?J:J-f);else if(r)b[e]=Math.max(m,h+f+g>c?h:h+f);else return!1},z=function(e,c,g,d,h){var f;h<a||h>c-a?f=!1:b[e]=h<g/2?1:h>c-d/2?c-d-2:h-g/2;return f},A=function(a){var b=y;y=v;v=b;m=a},E=function(){!1!==p.apply(0,y)?!1!==z.apply(0,v)||m||(A(!0),E()):m?b.x=b.y=0:(A(!0),E())};(h.inverted||1<this.len)&&
-A();E();return b};z.prototype.getXDateFormat=function(c,g,e){g=g.dateTimeLabelFormats;var d=e&&e.closestPointRange;return(d?this.getDateFormat(d,c.x,e.options.startOfWeek,g):g.day)||g.year};z.prototype.hide=function(g){var d=this;k.clearTimeout(this.hideTimer);g=c(g,this.options.hideDelay,500);this.isHidden||(this.hideTimer=n(function(){d.getLabel().fadeOut(g?void 0:g);d.isHidden=!0},g))};z.prototype.init=function(g,d){this.chart=g;this.options=d;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=
-!0;this.split=d.split&&!g.inverted&&!g.polar;this.shared=d.shared||this.split;this.outside=c(d.outside,!(!g.scrollablePixelsX&&!g.scrollablePixelsY))};z.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)};z.prototype.move=function(c,g,e,d){var a=this,b=a.now,h=!1!==a.options.animation&&!a.isHidden&&(1<Math.abs(c-b.x)||1<Math.abs(g-b.y)),f=a.followPointer||1<a.len;t(b,{x:h?(2*b.x+c)/3:c,y:h?(b.y+g)/2:g,anchorX:f?void 0:h?(2*b.anchorX+e)/
-3:e,anchorY:f?void 0:h?(b.anchorY+d)/2:d});a.getLabel().attr(b);a.drawTracker();h&&(k.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){a&&a.move(c,g,e,d)},32))};z.prototype.refresh=function(g,f){var e=this.chart,h=this.options,a=g,b={},m=[],n=h.formatter||this.defaultFormatter;b=this.shared;var l=e.styledMode;if(h.enabled){k.clearTimeout(this.hideTimer);this.followPointer=q(a)[0].series.tooltipOptions.followPointer;var r=this.getAnchor(a,f);f=r[0];var N=r[1];!b||a.series&&
-a.series.noSharedTooltip?b=a.getLabelConfig():(e.pointer.applyInactiveState(a),a.forEach(function(a){a.setState("hover");m.push(a.getLabelConfig())}),b={x:a[0].category,y:a[0].y},b.points=m,a=a[0]);this.len=m.length;e=n.call(b,this);n=a.series;this.distance=c(n.tooltipOptions.distance,16);!1===e?this.hide():(this.split?this.renderSplit(e,q(g)):(g=this.getLabel(),h.style.width&&!l||g.css({width:this.chart.spacingBox.width+"px"}),g.attr({text:e&&e.join?e.join(""):e}),g.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+
-c(a.colorIndex,n.colorIndex)),l||g.attr({stroke:h.borderColor||a.color||n.color||d.neutralColor60}),this.updatePosition({plotX:f,plotY:N,negative:a.negative,ttBelow:a.ttBelow,h:r[2]||0})),this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1);C(this,"refresh")}};z.prototype.renderSplit=function(m,n){function e(a,b,e,c,g){void 0===g&&(g=!0);e?(b=aa?0:U,a=B(a-c/2,x.left,x.right-c)):(b-=I,a=g?a-c-p:a+p,a=B(a,g?a:x.left,x.right));return{x:a,y:b}}var h=this,a=h.chart,b=h.chart,
-w=b.plotHeight,l=b.plotLeft,q=b.plotTop,r=b.pointer,k=b.renderer,y=b.scrollablePixelsY,z=void 0===y?0:y;y=b.scrollingContainer;y=void 0===y?{scrollLeft:0,scrollTop:0}:y;var A=y.scrollLeft,v=y.scrollTop,E=b.styledMode,p=h.distance,C=h.options,M=h.options.positioner,x={left:A,right:A+b.chartWidth,top:v,bottom:v+b.chartHeight},u=h.getLabel(),aa=!(!a.xAxis[0]||!a.xAxis[0].opposite),I=q+v,X=0,U=w-z;g(m)&&(m=[!1,m]);m=m.slice(0,n.length+1).reduce(function(a,b,g){if(!1!==b&&""!==b){g=n[g-1]||{isHeader:!0,
-plotX:n[0].plotX,plotY:w,series:{}};var f=g.isHeader,m=f?h:g.series,r=m.tt,J=g.isHeader;var F=g.series;var N="highcharts-color-"+c(g.colorIndex,F.colorIndex,"none");r||(r={padding:C.padding,r:C.borderRadius},E||(r.fill=C.backgroundColor,r["stroke-width"]=C.borderWidth),r=k.label("",0,0,C[J?"headerShape":"shape"]||"callout",void 0,void 0,C.useHTML).addClass((J?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+N).attr(r).add(u));r.isActive=!0;r.attr({text:b});E||r.css(C.style).shadow(C.shadow).attr({stroke:C.borderColor||
-g.color||F.color||d.neutralColor80});b=m.tt=r;J=b.getBBox();m=J.width+b.strokeWidth();f&&(X=J.height,U+=X,aa&&(I-=X));F=g.plotX;F=void 0===F?0:F;N=g.plotY;N=void 0===N?0:N;var O=g.series;if(g.isHeader){F=l+F;var y=q+w/2}else r=O.xAxis,O=O.yAxis,F=r.pos+B(F,-p,r.len+p),O.pos+N>=v+q&&O.pos+N<=v+q+w-z&&(y=O.pos+N);F=B(F,x.left-p,x.right+p);"number"===typeof y?(J=J.height+1,N=M?M.call(h,m,J,g):e(F,y,f,m),a.push({align:M?0:void 0,anchorX:F,anchorY:y,boxWidth:m,point:g,rank:c(N.rank,f?1:0),size:J,target:N.y,
-tt:b,x:N.x})):b.isActive=!1}return a},[]);!M&&m.some(function(a){return a.x<x.left})&&(m=m.map(function(a){var b=e(a.anchorX,a.anchorY,a.point.isHeader,a.boxWidth,!1);return t(a,{target:b.y,x:b.x})}));h.cleanSplit();f.distribute(m,U);m.forEach(function(a){var b=a.pos;a.tt.attr({visibility:"undefined"===typeof b?"hidden":"inherit",x:a.x,y:b+I,anchorX:a.anchorX,anchorY:a.anchorY})});m=h.container;a=h.renderer;h.outside&&m&&a&&(b=u.getBBox(),a.setSize(b.width+b.x,b.height+b.y,!1),r=r.getChartPosition(),
-m.style.left=r.left+"px",m.style.top=r.top+"px")};z.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var c=this.chart,g=this.label,e=c.hoverPoint;if(g&&e){var d={x:0,y:0,width:0,height:0};e=this.getAnchor(e);var a=g.getBBox();e[0]+=c.plotLeft-g.translateX;e[1]+=c.plotTop-g.translateY;d.x=Math.min(0,e[0]);d.y=Math.min(0,e[1]);d.width=0>e[0]?Math.max(Math.abs(e[0]),a.width-e[0]):Math.max(Math.abs(e[0]),a.width);d.height=0>
-e[1]?Math.max(Math.abs(e[1]),a.height-Math.abs(e[1])):Math.max(Math.abs(e[1]),a.height);this.tracker?this.tracker.attr(d):(this.tracker=g.renderer.rect(d).addClass("highcharts-tracker").add(g),c.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}};z.prototype.styledModeFormat=function(c){return c.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')};z.prototype.tooltipFooterHeaderFormatter=
-function(c,g){var e=g?"footer":"header",d=c.series,a=d.tooltipOptions,b=a.xDateFormat,f=d.xAxis,m=f&&"datetime"===f.options.type&&E(c.key),n=a[e+"Format"];g={isFooter:g,labelConfig:c};C(this,"headerFormatter",g,function(e){m&&!b&&(b=this.getXDateFormat(c,a,f));m&&b&&(c.point&&c.point.tooltipDateKeys||["key"]).forEach(function(a){n=n.replace("{point."+a+"}","{point."+a+":"+b+"}")});d.chart.styledMode&&(n=this.styledModeFormat(n));e.text=l(n,{point:c,series:d},this.chart)});return g.text};z.prototype.update=
-function(c){this.destroy();y(!0,this.chart.options.tooltip.userOptions,c);this.init(this.chart,y(!0,this.options,c))};z.prototype.updatePosition=function(c){var g=this.chart,e=g.pointer,d=this.getLabel(),a=c.plotX+g.plotLeft;g=c.plotY+g.plotTop;e=e.getChartPosition();c=(this.options.positioner||this.getPosition).call(this,d.width,d.height,c);if(this.outside){var b=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(d.width+b,d.height+b,!1);if(1!==e.scaleX||1!==e.scaleY)G(this.container,
-{transform:"scale("+e.scaleX+", "+e.scaleY+")"}),a*=e.scaleX,g*=e.scaleY;a+=e.left-c.x;g+=e.top-c.y}this.move(Math.round(c.x),Math.round(c.y||0),a,g)};return z}();f.Tooltip=M;return f.Tooltip});P(k,"Core/Pointer.js",[k["Core/Color/Color.js"],k["Core/Globals.js"],k["Core/Color/Palette.js"],k["Core/Tooltip.js"],k["Core/Utilities.js"]],function(f,d,k,x,B){var G=f.parse,D=d.charts,H=d.noop,t=B.addEvent,C=B.attr,l=B.css,E=B.defined,g=B.extend,y=B.find,c=B.fireEvent,q=B.isNumber,n=B.isObject,A=B.objectEach,
-M=B.offset,z=B.pick,m=B.splat;"";f=function(){function f(e,c){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.chart=e;this.hasDragged=!1;this.options=c;this.unbindContainerMouseLeave=function(){};this.unbindContainerMouseEnter=function(){};this.init(e,c)}f.prototype.applyInactiveState=function(e){var c=[],a;(e||[]).forEach(function(b){a=b.series;c.push(a);a.linkedParent&&c.push(a.linkedParent);a.linkedSeries&&(c=c.concat(a.linkedSeries));a.navigatorSeries&&c.push(a.navigatorSeries)});
-this.chart.series.forEach(function(a){-1===c.indexOf(a)?a.setState("inactive",!0):a.options.inactiveOtherPoints&&a.setAllPointsToState("inactive")})};f.prototype.destroy=function(){var e=this;"undefined"!==typeof e.unDocMouseMove&&e.unDocMouseMove();this.unbindContainerMouseLeave();d.chartCount||(d.unbindDocumentMouseUp&&(d.unbindDocumentMouseUp=d.unbindDocumentMouseUp()),d.unbindDocumentTouchEnd&&(d.unbindDocumentTouchEnd=d.unbindDocumentTouchEnd()));clearInterval(e.tooltipTimeout);A(e,function(c,
-a){e[a]=void 0})};f.prototype.drag=function(e){var c=this.chart,a=c.options.chart,b=e.chartX,g=e.chartY,d=this.zoomHor,f=this.zoomVert,m=c.plotLeft,l=c.plotTop,q=c.plotWidth,r=c.plotHeight,y=this.selectionMarker,v=this.mouseDownX||0,t=this.mouseDownY||0,p=n(a.panning)?a.panning&&a.panning.enabled:a.panning,z=a.panKey&&e[a.panKey+"Key"];if(!y||!y.touch)if(b<m?b=m:b>m+q&&(b=m+q),g<l?g=l:g>l+r&&(g=l+r),this.hasDragged=Math.sqrt(Math.pow(v-b,2)+Math.pow(t-g,2)),10<this.hasDragged){var A=c.isInsidePlot(v-
-m,t-l);c.hasCartesianSeries&&(this.zoomX||this.zoomY)&&A&&!z&&!y&&(this.selectionMarker=y=c.renderer.rect(m,l,d?1:q,f?1:r,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),c.styledMode||y.attr({fill:a.selectionMarkerFill||G(k.highlightColor80).setOpacity(.25).get()}));y&&d&&(b-=v,y.attr({width:Math.abs(b),x:(0<b?0:b)+v}));y&&f&&(b=g-t,y.attr({height:Math.abs(b),y:(0<b?0:b)+t}));A&&!y&&p&&c.pan(e,a.panning)}};f.prototype.dragStart=function(e){var c=this.chart;c.mouseIsDown=e.type;c.cancelClick=
-!1;c.mouseDownX=this.mouseDownX=e.chartX;c.mouseDownY=this.mouseDownY=e.chartY};f.prototype.drop=function(e){var d=this,a=this.chart,b=this.hasPinched;if(this.selectionMarker){var f={originalEvent:e,xAxis:[],yAxis:[]},m=this.selectionMarker,n=m.attr?m.attr("x"):m.x,r=m.attr?m.attr("y"):m.y,k=m.attr?m.attr("width"):m.width,y=m.attr?m.attr("height"):m.height,t;if(this.hasDragged||b)a.axes.forEach(function(a){if(a.zoomEnabled&&E(a.min)&&(b||d[{xAxis:"zoomX",yAxis:"zoomY"}[a.coll]])&&q(n)&&q(r)){var c=
-a.horiz,g="touchend"===e.type?a.minPixelPadding:0,h=a.toValue((c?n:r)+g);c=a.toValue((c?n+k:r+y)-g);f[a.coll].push({axis:a,min:Math.min(h,c),max:Math.max(h,c)});t=!0}}),t&&c(a,"selection",f,function(e){a.zoom(g(e,b?{animation:!1}:null))});q(a.index)&&(this.selectionMarker=this.selectionMarker.destroy());b&&this.scaleGroups()}a&&q(a.index)&&(l(a.container,{cursor:a._cursor}),a.cancelClick=10<this.hasDragged,a.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])};f.prototype.findNearestKDPoint=
-function(e,c,a){var b=this.chart,g=b.hoverPoint;b=b.tooltip;if(g&&b&&b.isStickyOnContact())return g;var d;e.forEach(function(b){var e=!(b.noSharedTooltip&&c)&&0>b.options.findNearestPointBy.indexOf("y");b=b.searchPoint(a,e);if((e=n(b,!0)&&b.series)&&!(e=!n(d,!0))){e=d.distX-b.distX;var g=d.dist-b.dist,f=(b.series.group&&b.series.group.zIndex)-(d.series.group&&d.series.group.zIndex);e=0<(0!==e&&c?e:0!==g?g:0!==f?f:d.series.index>b.series.index?-1:1)}e&&(d=b)});return d};f.prototype.getChartCoordinatesFromPoint=
-function(e,c){var a=e.series,b=a.xAxis;a=a.yAxis;var g=z(e.clientX,e.plotX),d=e.shapeArgs;if(b&&a)return c?{chartX:b.len+b.pos-g,chartY:a.len+a.pos-e.plotY}:{chartX:g+b.pos,chartY:e.plotY+a.pos};if(d&&d.x&&d.y)return{chartX:d.x,chartY:d.y}};f.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var e=this.chart.container,c=M(e);this.chartPosition={left:c.left,top:c.top,scaleX:1,scaleY:1};var a=e.offsetWidth;e=e.offsetHeight;2<a&&2<e&&(this.chartPosition.scaleX=c.width/
-a,this.chartPosition.scaleY=c.height/e);return this.chartPosition};f.prototype.getCoordinates=function(e){var c={xAxis:[],yAxis:[]};this.chart.axes.forEach(function(a){c[a.isXAxis?"xAxis":"yAxis"].push({axis:a,value:a.toValue(e[a.horiz?"chartX":"chartY"])})});return c};f.prototype.getHoverData=function(e,g,a,b,d,f){var h,m=[];b=!(!b||!e);var w=g&&!g.stickyTracking,l={chartX:f?f.chartX:void 0,chartY:f?f.chartY:void 0,shared:d};c(this,"beforeGetHoverData",l);w=w?[g]:a.filter(function(a){return l.filter?
-l.filter(a):a.visible&&!(!d&&a.directTouch)&&z(a.options.enableMouseTracking,!0)&&a.stickyTracking});g=(h=b||!f?e:this.findNearestKDPoint(w,d,f))&&h.series;h&&(d&&!g.noSharedTooltip?(w=a.filter(function(a){return l.filter?l.filter(a):a.visible&&!(!d&&a.directTouch)&&z(a.options.enableMouseTracking,!0)&&!a.noSharedTooltip}),w.forEach(function(a){var b=y(a.points,function(a){return a.x===h.x&&!a.isNull});n(b)&&(a.chart.isBoosting&&(b=a.getPoint(b)),m.push(b))})):m.push(h));l={hoverPoint:h};c(this,"afterGetHoverData",
-l);return{hoverPoint:l.hoverPoint,hoverSeries:g,hoverPoints:m}};f.prototype.getPointFromEvent=function(e){e=e.target;for(var c;e&&!c;)c=e.point,e=e.parentNode;return c};f.prototype.onTrackerMouseOut=function(e){e=e.relatedTarget||e.toElement;var c=this.chart.hoverSeries;this.isDirectTouch=!1;if(!(!c||!e||c.stickyTracking||this.inClass(e,"highcharts-tooltip")||this.inClass(e,"highcharts-series-"+c.index)&&this.inClass(e,"highcharts-tracker")))c.onMouseOut()};f.prototype.inClass=function(e,c){for(var a;e;){if(a=
-C(e,"class")){if(-1!==a.indexOf(c))return!0;if(-1!==a.indexOf("highcharts-container"))return!1}e=e.parentNode}};f.prototype.init=function(e,c){this.options=c;this.chart=e;this.runChartClick=c.chart.events&&!!c.chart.events.click;this.pinchDown=[];this.lastValidTouch={};x&&(e.tooltip=new x(e,c.tooltip),this.followTouchMove=z(c.tooltip.followTouchMove,!0));this.setDOMEvents()};f.prototype.normalize=function(e,c){var a=e.touches,b=a?a.length?a.item(0):z(a.changedTouches,e.changedTouches)[0]:e;c||(c=
-this.getChartPosition());a=b.pageX-c.left;b=b.pageY-c.top;a/=c.scaleX;b/=c.scaleY;return g(e,{chartX:Math.round(a),chartY:Math.round(b)})};f.prototype.onContainerClick=function(e){var d=this.chart,a=d.hoverPoint;e=this.normalize(e);var b=d.plotLeft,f=d.plotTop;d.cancelClick||(a&&this.inClass(e.target,"highcharts-tracker")?(c(a.series,"click",g(e,{point:a})),d.hoverPoint&&a.firePointEvent("click",e)):(g(e,this.getCoordinates(e)),d.isInsidePlot(e.chartX-b,e.chartY-f)&&c(d,"click",e)))};f.prototype.onContainerMouseDown=
-function(e){var c=1===((e.buttons||e.button)&1);e=this.normalize(e);if(d.isFirefox&&0!==e.button)this.onContainerMouseMove(e);if("undefined"===typeof e.button||c)this.zoomOption(e),c&&e.preventDefault&&e.preventDefault(),this.dragStart(e)};f.prototype.onContainerMouseLeave=function(e){var c=D[z(d.hoverChartIndex,-1)],a=this.chart.tooltip;e=this.normalize(e);c&&(e.relatedTarget||e.toElement)&&(c.pointer.reset(),c.pointer.chartPosition=void 0);a&&!a.isHidden&&this.reset()};f.prototype.onContainerMouseEnter=
-function(e){delete this.chartPosition};f.prototype.onContainerMouseMove=function(e){var c=this.chart;e=this.normalize(e);this.setHoverChartIndex();e.preventDefault||(e.returnValue=!1);("mousedown"===c.mouseIsDown||this.touchSelect(e))&&this.drag(e);c.openMenu||!this.inClass(e.target,"highcharts-tracker")&&!c.isInsidePlot(e.chartX-c.plotLeft,e.chartY-c.plotTop)||this.runPointActions(e)};f.prototype.onDocumentTouchEnd=function(e){D[d.hoverChartIndex]&&D[d.hoverChartIndex].pointer.drop(e)};f.prototype.onContainerTouchMove=
-function(e){if(this.touchSelect(e))this.onContainerMouseMove(e);else this.touch(e)};f.prototype.onContainerTouchStart=function(e){if(this.touchSelect(e))this.onContainerMouseDown(e);else this.zoomOption(e),this.touch(e,!0)};f.prototype.onDocumentMouseMove=function(e){var c=this.chart,a=this.chartPosition;e=this.normalize(e,a);var b=c.tooltip;!a||b&&b.isStickyOnContact()||c.isInsidePlot(e.chartX-c.plotLeft,e.chartY-c.plotTop)||this.inClass(e.target,"highcharts-tracker")||this.reset()};f.prototype.onDocumentMouseUp=
-function(e){var c=D[z(d.hoverChartIndex,-1)];c&&c.pointer.drop(e)};f.prototype.pinch=function(e){var c=this,a=c.chart,b=c.pinchDown,d=e.touches||[],f=d.length,m=c.lastValidTouch,n=c.hasZoom,l=c.selectionMarker,q={},r=1===f&&(c.inClass(e.target,"highcharts-tracker")&&a.runTrackerClick||c.runChartClick),k={};1<f&&(c.initiated=!0);n&&c.initiated&&!r&&!1!==e.cancelable&&e.preventDefault();[].map.call(d,function(a){return c.normalize(a)});"touchstart"===e.type?([].forEach.call(d,function(a,e){b[e]={chartX:a.chartX,
-chartY:a.chartY}}),m.x=[b[0].chartX,b[1]&&b[1].chartX],m.y=[b[0].chartY,b[1]&&b[1].chartY],a.axes.forEach(function(b){if(b.zoomEnabled){var e=a.bounds[b.horiz?"h":"v"],c=b.minPixelPadding,g=b.toPixels(Math.min(z(b.options.min,b.dataMin),b.dataMin)),d=b.toPixels(Math.max(z(b.options.max,b.dataMax),b.dataMax)),f=Math.max(g,d);e.min=Math.min(b.pos,Math.min(g,d)-c);e.max=Math.max(b.pos+b.len,f+c)}}),c.res=!0):c.followTouchMove&&1===f?this.runPointActions(c.normalize(e)):b.length&&(l||(c.selectionMarker=
-l=g({destroy:H,touch:!0},a.plotBox)),c.pinchTranslate(b,d,q,l,k,m),c.hasPinched=n,c.scaleGroups(q,k),c.res&&(c.res=!1,this.reset(!1,0)))};f.prototype.pinchTranslate=function(e,c,a,b,g,d){this.zoomHor&&this.pinchTranslateDirection(!0,e,c,a,b,g,d);this.zoomVert&&this.pinchTranslateDirection(!1,e,c,a,b,g,d)};f.prototype.pinchTranslateDirection=function(e,c,a,b,g,d,f,m){var h=this.chart,n=e?"x":"y",l=e?"X":"Y",w="chart"+l,q=e?"width":"height",r=h["plot"+(e?"Left":"Top")],p,J,F=m||1,k=h.inverted,u=h.bounds[e?
-"h":"v"],y=1===c.length,I=c[0][w],t=a[0][w],z=!y&&c[1][w],O=!y&&a[1][w];a=function(){"number"===typeof O&&20<Math.abs(I-z)&&(F=m||Math.abs(t-O)/Math.abs(I-z));J=(r-t)/F+I;p=h["plot"+(e?"Width":"Height")]/F};a();c=J;if(c<u.min){c=u.min;var A=!0}else c+p>u.max&&(c=u.max-p,A=!0);A?(t-=.8*(t-f[n][0]),"number"===typeof O&&(O-=.8*(O-f[n][1])),a()):f[n]=[t,O];k||(d[n]=J-r,d[q]=p);d=k?1/F:F;g[q]=p;g[n]=c;b[k?e?"scaleY":"scaleX":"scale"+l]=F;b["translate"+l]=d*r+(t-d*I)};f.prototype.reset=function(e,c){var a=
-this.chart,b=a.hoverSeries,g=a.hoverPoint,d=a.hoverPoints,f=a.tooltip,h=f&&f.shared?d:g;e&&h&&m(h).forEach(function(a){a.series.isCartesian&&"undefined"===typeof a.plotX&&(e=!1)});if(e)f&&h&&m(h).length&&(f.refresh(h),f.shared&&d?d.forEach(function(a){a.setState(a.state,!0);a.series.isCartesian&&(a.series.xAxis.crosshair&&a.series.xAxis.drawCrosshair(null,a),a.series.yAxis.crosshair&&a.series.yAxis.drawCrosshair(null,a))}):g&&(g.setState(g.state,!0),a.axes.forEach(function(a){a.crosshair&&g.series[a.coll]===
-a&&a.drawCrosshair(null,g)})));else{if(g)g.onMouseOut();d&&d.forEach(function(a){a.setState()});if(b)b.onMouseOut();f&&f.hide(c);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());a.axes.forEach(function(a){a.hideCrosshair()});this.hoverX=a.hoverPoints=a.hoverPoint=null}};f.prototype.runPointActions=function(e,c){var a=this.chart,b=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,g=b?b.shared:!1,f=c||a.hoverPoint,h=f&&f.series||a.hoverSeries;h=this.getHoverData(f,h,a.series,(!e||
-"touchmove"!==e.type)&&(!!c||h&&h.directTouch&&this.isDirectTouch),g,e);f=h.hoverPoint;var m=h.hoverPoints;c=(h=h.hoverSeries)&&h.tooltipOptions.followPointer;g=g&&h&&!h.noSharedTooltip;if(f&&(f!==a.hoverPoint||b&&b.isHidden)){(a.hoverPoints||[]).forEach(function(a){-1===m.indexOf(a)&&a.setState()});if(a.hoverSeries!==h)h.onMouseOver();this.applyInactiveState(m);(m||[]).forEach(function(a){a.setState("hover")});a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut");if(!f.series)return;a.hoverPoints=
-m;a.hoverPoint=f;f.firePointEvent("mouseOver");b&&b.refresh(g?m:f,e)}else c&&b&&!b.isHidden&&(f=b.getAnchor([{}],e),b.updatePosition({plotX:f[0],plotY:f[1]}));this.unDocMouseMove||(this.unDocMouseMove=t(a.container.ownerDocument,"mousemove",function(a){var b=D[d.hoverChartIndex];if(b)b.pointer.onDocumentMouseMove(a)}));a.axes.forEach(function(b){var c=z((b.crosshair||{}).snap,!0),g;c&&((g=a.hoverPoint)&&g.series[b.coll]===b||(g=y(m,function(a){return a.series[b.coll]===b})));g||!c?b.drawCrosshair(e,
-g):b.hideCrosshair()})};f.prototype.scaleGroups=function(e,c){var a=this.chart,b;a.series.forEach(function(g){b=e||g.getPlotBox();g.xAxis&&g.xAxis.zoomEnabled&&g.group&&(g.group.attr(b),g.markerGroup&&(g.markerGroup.attr(b),g.markerGroup.clip(c?a.clipRect:null)),g.dataLabelsGroup&&g.dataLabelsGroup.attr(b))});a.clipRect.attr(c||a.clipBox)};f.prototype.setDOMEvents=function(){var e=this,c=this.chart.container,a=c.ownerDocument;c.onmousedown=this.onContainerMouseDown.bind(this);c.onmousemove=this.onContainerMouseMove.bind(this);
-c.onclick=this.onContainerClick.bind(this);this.unbindContainerMouseEnter=t(c,"mouseenter",this.onContainerMouseEnter.bind(this));this.unbindContainerMouseLeave=t(c,"mouseleave",this.onContainerMouseLeave.bind(this));d.unbindDocumentMouseUp||(d.unbindDocumentMouseUp=t(a,"mouseup",this.onDocumentMouseUp.bind(this)));for(var b=this.chart.renderTo.parentElement;b&&"BODY"!==b.tagName;)t(b,"scroll",function(){delete e.chartPosition}),b=b.parentElement;d.hasTouch&&(t(c,"touchstart",this.onContainerTouchStart.bind(this),
-{passive:!1}),t(c,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1}),d.unbindDocumentTouchEnd||(d.unbindDocumentTouchEnd=t(a,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};f.prototype.setHoverChartIndex=function(){var e=this.chart,c=d.charts[z(d.hoverChartIndex,-1)];if(c&&c!==e)c.pointer.onContainerMouseLeave({relatedTarget:!0});c&&c.mouseIsDown||(d.hoverChartIndex=e.index)};f.prototype.touch=function(e,c){var a=this.chart,b;this.setHoverChartIndex();if(1===e.touches.length)if(e=
-this.normalize(e),(b=a.isInsidePlot(e.chartX-a.plotLeft,e.chartY-a.plotTop))&&!a.openMenu){c&&this.runPointActions(e);if("touchmove"===e.type){c=this.pinchDown;var g=c[0]?4<=Math.sqrt(Math.pow(c[0].chartX-e.chartX,2)+Math.pow(c[0].chartY-e.chartY,2)):!1}z(g,!0)&&this.pinch(e)}else c&&this.reset();else 2===e.touches.length&&this.pinch(e)};f.prototype.touchSelect=function(e){return!(!this.chart.options.chart.zoomBySingleTouch||!e.touches||1!==e.touches.length)};f.prototype.zoomOption=function(e){var c=
-this.chart,a=c.options.chart,b=a.zoomType||"";c=c.inverted;/touch/.test(e.type)&&(b=z(a.pinchType,b));this.zoomX=e=/x/.test(b);this.zoomY=b=/y/.test(b);this.zoomHor=e&&!c||b&&c;this.zoomVert=b&&!c||e&&c;this.hasZoom=e||b};return f}();return d.Pointer=f});P(k,"Core/MSPointer.js",[k["Core/Globals.js"],k["Core/Pointer.js"],k["Core/Utilities.js"]],function(f,d,k){function x(){var c=[];c.item=function(c){return this[c]};E(y,function(g){c.push({pageX:g.pageX,pageY:g.pageY,target:g.target})});return c}function B(c,
-g,d,l){"touch"!==c.pointerType&&c.pointerType!==c.MSPOINTER_TYPE_TOUCH||!D[f.hoverChartIndex]||(l(c),l=D[f.hoverChartIndex].pointer,l[g]({type:d,target:c.currentTarget,preventDefault:t,touches:x()}))}var G=this&&this.__extends||function(){var c=function(g,d){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,g){c.__proto__=g}||function(c,g){for(var d in g)g.hasOwnProperty(d)&&(c[d]=g[d])};return c(g,d)};return function(g,d){function f(){this.constructor=g}c(g,d);g.prototype=null===
-d?Object.create(d):(f.prototype=d.prototype,new f)}}(),D=f.charts,H=f.doc,t=f.noop,C=k.addEvent,l=k.css,E=k.objectEach,g=k.removeEvent,y={},c=!!f.win.PointerEvent;return function(d){function f(){return null!==d&&d.apply(this,arguments)||this}G(f,d);f.prototype.batchMSEvents=function(g){g(this.chart.container,c?"pointerdown":"MSPointerDown",this.onContainerPointerDown);g(this.chart.container,c?"pointermove":"MSPointerMove",this.onContainerPointerMove);g(H,c?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};
-f.prototype.destroy=function(){this.batchMSEvents(g);d.prototype.destroy.call(this)};f.prototype.init=function(c,g){d.prototype.init.call(this,c,g);this.hasZoom&&l(c.container,{"-ms-touch-action":"none","touch-action":"none"})};f.prototype.onContainerPointerDown=function(c){B(c,"onContainerTouchStart","touchstart",function(c){y[c.pointerId]={pageX:c.pageX,pageY:c.pageY,target:c.currentTarget}})};f.prototype.onContainerPointerMove=function(c){B(c,"onContainerTouchMove","touchmove",function(c){y[c.pointerId]=
-{pageX:c.pageX,pageY:c.pageY};y[c.pointerId].target||(y[c.pointerId].target=c.currentTarget)})};f.prototype.onDocumentPointerUp=function(c){B(c,"onDocumentTouchEnd","touchend",function(c){delete y[c.pointerId]})};f.prototype.setDOMEvents=function(){d.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(C)};return f}(d)});P(k,"Core/Series/Point.js",[k["Core/Renderer/HTML/AST.js"],k["Core/Animation/AnimationUtilities.js"],k["Core/Globals.js"],k["Core/Options.js"],
-k["Core/Utilities.js"]],function(f,d,k,x,B){var G=d.animObject,D=x.defaultOptions,H=B.addEvent,t=B.defined,C=B.erase,l=B.extend,E=B.fireEvent,g=B.format,y=B.getNestedProperty,c=B.isArray,q=B.isFunction,n=B.isNumber,A=B.isObject,M=B.merge,z=B.objectEach,m=B.pick,r=B.syncTimeout,e=B.removeEvent,h=B.uniqueKey;"";d=function(){function a(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=
-this.series=void 0;this.visible=!0;this.x=void 0}a.prototype.animateBeforeDestroy=function(){var a=this,c={x:a.startXPos,opacity:0},e,g=a.getGraphicalProps();g.singular.forEach(function(b){e="dataLabel"===b;a[b]=a[b].animate(e?{x:a[b].startXPos,y:a[b].startYPos,opacity:0}:c)});g.plural.forEach(function(b){a[b].forEach(function(b){b.element&&b.animate(l({x:a.startXPos},b.startYPos?{x:b.startXPos,y:b.startYPos}:{}))})})};a.prototype.applyOptions=function(b,c){var e=this.series,g=e.options.pointValKey||
-e.pointValKey;b=a.prototype.optionsToObject.call(this,b);l(this,b);this.options=this.options?l(this.options,b):b;b.group&&delete this.group;b.dataLabels&&delete this.dataLabels;g&&(this.y=a.prototype.getNestedProperty.call(this,g));this.formatPrefix=(this.isNull=m(this.isValid&&!this.isValid(),null===this.x||!n(this.y)))?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof c&&e.xAxis&&e.xAxis.hasNames&&(this.x=e.xAxis.nameToX(this));"undefined"===typeof this.x&&
-e&&(this.x="undefined"===typeof c?e.autoIncrement(this):c);return this};a.prototype.destroy=function(){function a(){if(c.graphic||c.dataLabel||c.dataLabels)e(c),c.destroyElements();for(m in c)c[m]=null}var c=this,g=c.series,d=g.chart;g=g.options.dataSorting;var f=d.hoverPoints,h=G(c.series.chart.renderer.globalAnimation),m;c.legendItem&&d.legend.destroyItem(c);f&&(c.setState(),C(f,c),f.length||(d.hoverPoints=null));if(c===d.hoverPoint)c.onMouseOut();g&&g.enabled?(this.animateBeforeDestroy(),r(a,h.duration)):
-a();d.pointCount--};a.prototype.destroyElements=function(a){var b=this;a=b.getGraphicalProps(a);a.singular.forEach(function(a){b[a]=b[a].destroy()});a.plural.forEach(function(a){b[a].forEach(function(a){a.element&&a.destroy()});delete b[a]})};a.prototype.firePointEvent=function(a,c,e){var b=this,g=this.series.options;(g.point.events[a]||b.options&&b.options.events&&b.options.events[a])&&b.importEvents();"click"===a&&g.allowPointSelect&&(e=function(a){b.select&&b.select(null,a.ctrlKey||a.metaKey||
-a.shiftKey)});E(b,a,c,e)};a.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};a.prototype.getGraphicalProps=function(a){var b=this,c=
-[],e,g={singular:[],plural:[]};a=a||{graphic:1,dataLabel:1};a.graphic&&c.push("graphic","upperGraphic","shadowGroup");a.dataLabel&&c.push("dataLabel","dataLabelUpper","connector");for(e=c.length;e--;){var d=c[e];b[d]&&g.singular.push(d)}["dataLabel","connector"].forEach(function(c){var e=c+"s";a[c]&&b[e]&&g.plural.push(e)});return g};a.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,
-percentage:this.percentage,total:this.total||this.stackTotal}};a.prototype.getNestedProperty=function(a){if(a)return 0===a.indexOf("custom.")?y(a,this.options):this[a]};a.prototype.getZone=function(){var a=this.series,c=a.zones;a=a.zoneAxis||"y";var e=0,g;for(g=c[e];this[a]>=g.value;)g=c[++e];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=g&&g.color&&!this.options.color?g.color:this.nonZonedColor;return g};a.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||
-this.graphic.element.nodeName))!==this.shapeType};a.prototype.init=function(a,c,e){this.series=a;this.applyOptions(c,e);this.id=t(this.id)?this.id:h();this.resolveColor();a.chart.pointCount++;E(this,"afterInit");return this};a.prototype.optionsToObject=function(b){var e={},g=this.series,d=g.options.keys,f=d||g.pointArrayMap||["y"],h=f.length,m=0,l=0;if(n(b)||null===b)e[f[0]]=b;else if(c(b))for(!d&&b.length>h&&(g=typeof b[0],"string"===g?e.name=b[0]:"number"===g&&(e.x=b[0]),m++);l<h;)d&&"undefined"===
-typeof b[m]||(0<f[l].indexOf(".")?a.prototype.setNestedProperty(e,b[m],f[l]):e[f[l]]=b[m]),m++,l++;else"object"===typeof b&&(e=b,b.dataLabels&&(g._hasPointLabels=!0),b.marker&&(g._hasPointMarkers=!0));return e};a.prototype.resolveColor=function(){var a=this.series;var c=a.chart.options.chart.colorCount;var e=a.chart.styledMode;delete this.nonZonedColor;e||this.options.color||(this.color=a.color);a.options.colorByPoint?(e||(c=a.options.colors||a.chart.options.colors,this.color=this.color||c[a.colorCounter],
-c=c.length),e=a.colorCounter,a.colorCounter++,a.colorCounter===c&&(a.colorCounter=0)):e=a.colorIndex;this.colorIndex=m(this.options.colorIndex,e)};a.prototype.setNestedProperty=function(a,c,e){e.split(".").reduce(function(a,b,e,g){a[b]=g.length-1===e?c:A(a[b],!0)?a[b]:{};return a[b]},a);return a};a.prototype.tooltipFormatter=function(a){var b=this.series,c=b.tooltipOptions,e=m(c.valueDecimals,""),d=c.valuePrefix||"",f=c.valueSuffix||"";b.chart.styledMode&&(a=b.chart.tooltip.styledModeFormat(a));(b.pointArrayMap||
-["y"]).forEach(function(b){b="{point."+b;if(d||f)a=a.replace(RegExp(b+"}","g"),d+b+"}"+f);a=a.replace(RegExp(b+"}","g"),b+":,."+e+"f}")});return g(a,{point:this,series:this.series},b.chart)};a.prototype.update=function(a,c,e,g){function b(){d.applyOptions(a);var b=h&&d.hasDummyGraphic;b=null===d.y?!b:b;h&&b&&(d.graphic=h.destroy(),delete d.hasDummyGraphic);A(a,!0)&&(h&&h.element&&a&&a.marker&&"undefined"!==typeof a.marker.symbol&&(d.graphic=h.destroy()),a&&a.dataLabels&&d.dataLabel&&(d.dataLabel=
-d.dataLabel.destroy()),d.connector&&(d.connector=d.connector.destroy()));l=d.index;f.updateParallelArrays(d,l);q.data[l]=A(q.data[l],!0)||A(a,!0)?d.options:m(a,q.data[l]);f.isDirty=f.isDirtyData=!0;!f.fixedBox&&f.hasCartesianSeries&&(n.isDirtyBox=!0);"point"===q.legendType&&(n.isDirtyLegend=!0);c&&n.redraw(e)}var d=this,f=d.series,h=d.graphic,l,n=f.chart,q=f.options;c=m(c,!0);!1===g?b():d.firePointEvent("update",{options:a},b)};a.prototype.remove=function(a,c){this.series.removePoint(this.series.data.indexOf(this),
-a,c)};a.prototype.select=function(a,c){var b=this,e=b.series,g=e.chart;this.selectedStaging=a=m(a,!b.selected);b.firePointEvent(a?"select":"unselect",{accumulate:c},function(){b.selected=b.options.selected=a;e.options.data[e.data.indexOf(b)]=b.options;b.setState(a&&"select");c||g.getSelectedPoints().forEach(function(a){var c=a.series;a.selected&&a!==b&&(a.selected=a.options.selected=!1,c.options.data[c.data.indexOf(a)]=a.options,a.setState(g.hoverPoints&&c.options.inactiveOtherPoints?"inactive":""),
-a.firePointEvent("unselect"))})});delete this.selectedStaging};a.prototype.onMouseOver=function(a){var b=this.series.chart,c=b.pointer;a=a?c.normalize(a):c.getChartCoordinatesFromPoint(this,b.inverted);c.runPointActions(a,this)};a.prototype.onMouseOut=function(){var a=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(a.hoverPoints||[]).forEach(function(a){a.setState()});a.hoverPoints=a.hoverPoint=null};a.prototype.importEvents=function(){if(!this.hasImportedEvents){var a=
-this,c=M(a.series.options.point,a.options).events;a.events=c;z(c,function(b,c){q(b)&&H(a,c,b)});this.hasImportedEvents=!0}};a.prototype.setState=function(a,c){var b=this.series,e=this.state,g=b.options.states[a||"normal"]||{},d=D.plotOptions[b.type].marker&&b.options.marker,h=d&&!1===d.enabled,n=d&&d.states&&d.states[a||"normal"]||{},q=!1===n.enabled,r=b.stateMarkerGraphic,w=this.marker||{},p=b.chart,k=b.halo,y,t=d&&b.markerAttribs;a=a||"";if(!(a===this.state&&!c||this.selected&&"select"!==a||!1===
-g.enabled||a&&(q||h&&!1===n.enabled)||a&&w.states&&w.states[a]&&!1===w.states[a].enabled)){this.state=a;t&&(y=b.markerAttribs(this,a));if(this.graphic){e&&this.graphic.removeClass("highcharts-point-"+e);a&&this.graphic.addClass("highcharts-point-"+a);if(!p.styledMode){var u=b.pointAttribs(this,a);var z=m(p.options.chart.animation,g.animation);b.options.inactiveOtherPoints&&u.opacity&&((this.dataLabels||[]).forEach(function(a){a&&a.animate({opacity:u.opacity},z)}),this.connector&&this.connector.animate({opacity:u.opacity},
-z));this.graphic.animate(u,z)}y&&this.graphic.animate(y,m(p.options.chart.animation,n.animation,d.animation));r&&r.hide()}else{if(a&&n){e=w.symbol||b.symbol;r&&r.currentSymbol!==e&&(r=r.destroy());if(y)if(r)r[c?"animate":"attr"]({x:y.x,y:y.y});else e&&(b.stateMarkerGraphic=r=p.renderer.symbol(e,y.x,y.y,y.width,y.height).add(b.markerGroup),r.currentSymbol=e);!p.styledMode&&r&&r.attr(b.pointAttribs(this,a))}r&&(r[a&&this.isInside?"show":"hide"](),r.element.point=this)}a=g.halo;g=(r=this.graphic||r)&&
-r.visibility||"inherit";a&&a.size&&r&&"hidden"!==g&&!this.isCluster?(k||(b.halo=k=p.renderer.path().add(r.parentGroup)),k.show()[c?"animate":"attr"]({d:this.haloPath(a.size)}),k.attr({"class":"highcharts-halo highcharts-color-"+m(this.colorIndex,b.colorIndex)+(this.className?" "+this.className:""),visibility:g,zIndex:-1}),k.point=this,p.styledMode||k.attr(l({fill:this.color||b.color,"fill-opacity":a.opacity},f.filterUserAttributes(a.attributes||{})))):k&&k.point&&k.point.haloPath&&k.animate({d:k.point.haloPath(0)},
-null,k.hide);E(this,"afterSetState")}};a.prototype.haloPath=function(a){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-a,this.plotY-a,2*a,2*a)};return a}();return k.Point=d});P(k,"Core/Legend.js",[k["Core/Animation/AnimationUtilities.js"],k["Core/Globals.js"],k["Core/Series/Point.js"],k["Core/Utilities.js"]],function(f,d,k,x){var B=f.animObject,G=f.setAnimation;f=d.isFirefox;var D=d.marginNames,H=d.win,t=x.addEvent,C=x.createElement,l=x.css,E=x.defined,g=x.discardElement,
-y=x.find,c=x.fireEvent,q=x.format,n=x.isNumber,A=x.merge,M=x.pick,z=x.relativeLength,m=x.stableSort,r=x.syncTimeout;x=x.wrap;var e=function(){function e(a,b){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options={};this.padding=0;this.pages=
-[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=a;this.init(a,b)}e.prototype.init=function(a,b){this.chart=a;this.setOptions(b);b.enabled&&(this.render(),t(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=t(this.chart,"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};e.prototype.setOptions=
-function(a){var b=M(a.padding,8);this.options=a;this.chart.styledMode||(this.itemStyle=a.itemStyle,this.itemHiddenStyle=A(this.itemStyle,a.itemHiddenStyle));this.itemMarginTop=a.itemMarginTop||0;this.itemMarginBottom=a.itemMarginBottom||0;this.padding=b;this.initialItemY=b-5;this.symbolWidth=M(a.symbolWidth,16);this.pages=[];this.proximate="proximate"===a.layout&&!this.chart.inverted;this.baseline=void 0};e.prototype.update=function(a,b){var e=this.chart;this.setOptions(A(!0,this.options,a));this.destroy();
-e.isDirtyLegend=e.isDirtyBox=!0;M(b,!0)&&e.redraw();c(this,"afterUpdate")};e.prototype.colorizeItem=function(a,b){a.legendGroup[b?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var e=this.options,g=a.legendItem,d=a.legendLine,f=a.legendSymbol,h=this.itemHiddenStyle.color;e=b?e.itemStyle.color:h;var m=b?a.color||h:h,l=a.options&&a.options.marker,n={fill:m};g&&g.css({fill:e,color:e});d&&d.attr({stroke:m});f&&(l&&f.isMarker&&(n=a.pointAttribs(),b||(n.stroke=n.fill=
-h)),f.attr(n))}c(this,"afterColorizeItem",{item:a,visible:b})};e.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};e.prototype.positionItem=function(a){var b=this,e=this.options,g=e.symbolPadding,d=!e.rtl,f=a._legendItemPos;e=f[0];f=f[1];var h=a.checkbox,m=a.legendGroup;m&&m.element&&(g={translateX:d?e:this.legendWidth-e-2*g-4,translateY:f},d=function(){c(b,"afterPositionItem",{item:a})},E(m.translateY)?m.animate(g,void 0,
-d):(m.attr(g),d()));h&&(h.x=e,h.y=f)};e.prototype.destroyItem=function(a){var b=a.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(b){a[b]&&(a[b]=a[b].destroy())});b&&g(a.checkbox)};e.prototype.destroy=function(){function a(a){this[a]&&(this[a]=this[a].destroy())}this.getAllItems().forEach(function(b){["legendItem","legendGroup"].forEach(a,b)});"clipRect up down pager nav box title group".split(" ").forEach(a,this);this.display=null};e.prototype.positionCheckboxes=
-function(){var a=this.group&&this.group.alignAttr,b=this.clipHeight||this.legendHeight,c=this.titleHeight;if(a){var e=a.translateY;this.allItems.forEach(function(g){var d=g.checkbox;if(d){var f=e+c+d.y+(this.scrollOffset||0)+3;l(d,{left:a.translateX+g.checkboxOffset+d.x-20+"px",top:f+"px",display:this.proximate||f>e-6&&f<e+b-6?"":"none"})}},this)}};e.prototype.renderTitle=function(){var a=this.options,b=this.padding,c=a.title,e=0;c.text&&(this.title||(this.title=this.chart.renderer.label(c.text,b-
-3,b-4,null,null,null,a.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(c.style),this.title.add(this.group)),c.width||this.title.css({width:this.maxLegendWidth+"px"}),a=this.title.getBBox(),e=a.height,this.offsetWidth=a.width,this.contentGroup.attr({translateY:e}));this.titleHeight=e};e.prototype.setText=function(a){var b=this.options;a.legendItem.attr({text:b.labelFormat?q(b.labelFormat,a,this.chart):b.labelFormatter.call(a)})};e.prototype.renderItem=function(a){var b=
-this.chart,c=b.renderer,e=this.options,g=this.symbolWidth,d=e.symbolPadding,f=this.itemStyle,h=this.itemHiddenStyle,m="horizontal"===e.layout?M(e.itemDistance,20):0,l=!e.rtl,n=a.legendItem,q=!a.series,p=!q&&a.series.drawLegendSymbol?a.series:a,r=p.options;r=this.createCheckboxForItem&&r&&r.showCheckbox;m=g+d+m+(r?20:0);var k=e.useHTML,y=a.options.className;n||(a.legendGroup=c.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+a.colorIndex+(y?" "+y:"")+(q?" highcharts-series-"+
-a.index:"")).attr({zIndex:1}).add(this.scrollGroup),a.legendItem=n=c.text("",l?g+d:-d,this.baseline||0,k),b.styledMode||n.css(A(a.visible?f:h)),n.attr({align:l?"left":"right",zIndex:2}).add(a.legendGroup),this.baseline||(this.fontMetrics=c.fontMetrics(b.styledMode?12:f.fontSize,n),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,n.attr("y",this.baseline)),this.symbolHeight=e.symbolHeight||this.fontMetrics.f,p.drawLegendSymbol(this,a),this.setItemEvents&&this.setItemEvents(a,n,k));r&&!a.checkbox&&
-this.createCheckboxForItem&&this.createCheckboxForItem(a);this.colorizeItem(a,a.visible);!b.styledMode&&f.width||n.css({width:(e.itemWidth||this.widthOption||b.spacingBox.width)-m+"px"});this.setText(a);b=n.getBBox();a.itemWidth=a.checkboxOffset=e.itemWidth||a.legendItemWidth||b.width+m;this.maxItemWidth=Math.max(this.maxItemWidth,a.itemWidth);this.totalItemWidth+=a.itemWidth;this.itemHeight=a.itemHeight=Math.round(a.legendItemHeight||b.height||this.symbolHeight)};e.prototype.layoutItem=function(a){var b=
-this.options,c=this.padding,e="horizontal"===b.layout,g=a.itemHeight,d=this.itemMarginBottom,f=this.itemMarginTop,h=e?M(b.itemDistance,20):0,m=this.maxLegendWidth;b=b.alignColumns&&this.totalItemWidth>m?this.maxItemWidth:a.itemWidth;e&&this.itemX-c+b>m&&(this.itemX=c,this.lastLineHeight&&(this.itemY+=f+this.lastLineHeight+d),this.lastLineHeight=0);this.lastItemY=f+this.itemY+d;this.lastLineHeight=Math.max(g,this.lastLineHeight);a._legendItemPos=[this.itemX,this.itemY];e?this.itemX+=b:(this.itemY+=
-f+g+d,this.lastLineHeight=g);this.offsetWidth=this.widthOption||Math.max((e?this.itemX-c-(a.checkbox?0:h):b)+c,this.offsetWidth)};e.prototype.getAllItems=function(){var a=[];this.chart.series.forEach(function(b){var c=b&&b.options;b&&M(c.showInLegend,E(c.linkedTo)?!1:void 0,!0)&&(a=a.concat(b.legendItems||("point"===c.legendType?b.data:b)))});c(this,"afterGetAllItems",{allItems:a});return a};e.prototype.getAlignment=function(){var a=this.options;return this.proximate?a.align.charAt(0)+"tv":a.floating?
-"":a.align.charAt(0)+a.verticalAlign.charAt(0)+a.layout.charAt(0)};e.prototype.adjustMargins=function(a,b){var c=this.chart,e=this.options,g=this.getAlignment();g&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(d,f){d.test(g)&&!E(a[f])&&(c[D[f]]=Math.max(c[D[f]],c.legend[(f+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][f]*e[f%2?"x":"y"]+M(e.margin,12)+b[f]+(c.titleOffset[f]||0)))})};e.prototype.proximatePositions=function(){var a=this.chart,b=[],c="left"===this.options.align;
-this.allItems.forEach(function(e){var g;var d=c;if(e.yAxis){e.xAxis.options.reversed&&(d=!d);e.points&&(g=y(d?e.points:e.points.slice(0).reverse(),function(a){return n(a.plotY)}));d=this.itemMarginTop+e.legendItem.getBBox().height+this.itemMarginBottom;var f=e.yAxis.top-a.plotTop;e.visible?(g=g?g.plotY:e.yAxis.height,g+=f-.3*d):g=f+e.yAxis.height;b.push({target:g,size:d,item:e})}},this);d.distribute(b,a.plotHeight);b.forEach(function(b){b.item._legendItemPos[1]=a.plotTop-a.spacing[0]+b.pos})};e.prototype.render=
-function(){var a=this.chart,b=a.renderer,e=this.group,g=this.box,d=this.options,f=this.padding;this.itemX=f;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=z(d.width,a.spacingBox.width-f);var h=a.spacingBox.width-2*f-d.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(h/=2);this.maxLegendWidth=this.widthOption||h;e||(this.group=e=b.g("legend").attr({zIndex:7}).add(),this.contentGroup=b.g().attr({zIndex:1}).add(e),this.scrollGroup=b.g().add(this.contentGroup));
-this.renderTitle();var n=this.getAllItems();m(n,function(a,b){return(a.options&&a.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)});d.reversed&&n.reverse();this.allItems=n;this.display=h=!!n.length;this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;n.forEach(this.renderItem,this);n.forEach(this.layoutItem,this);n=(this.widthOption||this.offsetWidth)+f;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l);l+=f;g||(this.box=g=b.rect().addClass("highcharts-legend-box").attr({r:d.borderRadius}).add(e),
-g.isNew=!0);a.styledMode||g.attr({stroke:d.borderColor,"stroke-width":d.borderWidth||0,fill:d.backgroundColor||"none"}).shadow(d.shadow);0<n&&0<l&&(g[g.isNew?"attr":"animate"](g.crisp.call({},{x:0,y:0,width:n,height:l},g.strokeWidth())),g.isNew=!1);g[h?"show":"hide"]();a.styledMode&&"none"===e.getStyle("display")&&(n=l=0);this.legendWidth=n;this.legendHeight=l;h&&this.align();this.proximate||this.positionItems();c(this,"afterRender")};e.prototype.align=function(a){void 0===a&&(a=this.chart.spacingBox);
-var b=this.chart,c=this.options,e=a.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<b.titleOffset[0]?e+=b.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<b.titleOffset[2]&&(e-=b.titleOffset[2]);e!==a.y&&(a=A(a,{y:e}));this.group.align(A(c,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":c.verticalAlign}),!0,a)};e.prototype.handleOverflow=function(a){var b=this,c=this.chart,e=c.renderer,g=this.options,d=g.y,f=this.padding;d=c.spacingBox.height+("top"===g.verticalAlign?
--d:d)-f;var h=g.maxHeight,m,n=this.clipRect,l=g.navigation,q=M(l.animation,!0),p=l.arrowSize||12,r=this.nav,k=this.pages,y,u=this.allItems,t=function(a){"number"===typeof a?n.attr({height:a}):n&&(b.clipRect=n.destroy(),b.contentGroup.clip());b.contentGroup.div&&(b.contentGroup.div.style.clip=a?"rect("+f+"px,9999px,"+(f+a)+"px,0)":"auto")},I=function(a){b[a]=e.circle(0,0,1.3*p).translate(p/2,p/2).add(r);c.styledMode||b[a].attr("fill","rgba(0,0,0,0.0001)");return b[a]};"horizontal"!==g.layout||"middle"===
-g.verticalAlign||g.floating||(d/=2);h&&(d=Math.min(d,h));k.length=0;a>d&&!1!==l.enabled?(this.clipHeight=m=Math.max(d-20-this.titleHeight-f,0),this.currentPage=M(this.currentPage,1),this.fullHeight=a,u.forEach(function(a,b){var c=a._legendItemPos[1],e=Math.round(a.legendItem.getBBox().height),g=k.length;if(!g||c-k[g-1]>m&&(y||c)!==k[g-1])k.push(y||c),g++;a.pageIx=g-1;y&&(u[b-1].pageIx=g-1);b===u.length-1&&c+e-k[g-1]>m&&c!==y&&(k.push(c),a.pageIx=g);c!==y&&(y=c)}),n||(n=b.clipRect=e.clipRect(0,f,9999,
-0),b.contentGroup.clip(n)),t(m),r||(this.nav=r=e.g().attr({zIndex:1}).add(this.group),this.up=e.symbol("triangle",0,0,p,p).add(r),I("upTracker").on("click",function(){b.scroll(-1,q)}),this.pager=e.text("",15,10).addClass("highcharts-legend-navigation"),c.styledMode||this.pager.css(l.style),this.pager.add(r),this.down=e.symbol("triangle-down",0,0,p,p).add(r),I("downTracker").on("click",function(){b.scroll(1,q)})),b.scroll(0),a=d):r&&(t(),this.nav=r.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=
-0);return a};e.prototype.scroll=function(a,b){var e=this,g=this.chart,d=this.pages,f=d.length,h=this.currentPage+a;a=this.clipHeight;var m=this.options.navigation,n=this.pager,l=this.padding;h>f&&(h=f);0<h&&("undefined"!==typeof b&&G(b,g),this.nav.attr({translateX:l,translateY:a+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(a){a.attr({"class":1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),n.attr({text:h+"/"+f}),[this.down,
-this.downTracker].forEach(function(a){a.attr({x:18+this.pager.getBBox().width,"class":h===f?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),g.styledMode||(this.up.attr({fill:1===h?m.inactiveColor:m.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===f?m.inactiveColor:m.activeColor}),this.downTracker.css({cursor:h===f?"default":"pointer"})),this.scrollOffset=-d[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),
-this.currentPage=h,this.positionCheckboxes(),b=B(M(b,g.renderer.globalAnimation,!0)),r(function(){c(e,"afterScroll",{currentPage:h})},b.duration))};e.prototype.setItemEvents=function(a,b,e){var g=this,d=g.chart.renderer.boxWrapper,f=a instanceof k,h="highcharts-legend-"+(f?"point":"series")+"-active",m=g.chart.styledMode;(e?[b,a.legendSymbol]:[a.legendGroup]).forEach(function(e){if(e)e.on("mouseover",function(){a.visible&&g.allItems.forEach(function(b){a!==b&&b.setState("inactive",!f)});a.setState("hover");
-a.visible&&d.addClass(h);m||b.css(g.options.itemHoverStyle)}).on("mouseout",function(){g.chart.styledMode||b.css(A(a.visible?g.itemStyle:g.itemHiddenStyle));g.allItems.forEach(function(b){a!==b&&b.setState("",!f)});d.removeClass(h);a.setState()}).on("click",function(b){var e=function(){a.setVisible&&a.setVisible();g.allItems.forEach(function(b){a!==b&&b.setState(a.visible?"inactive":"",!f)})};d.removeClass(h);b={browserEvent:b};a.firePointEvent?a.firePointEvent("legendItemClick",b,e):c(a,"legendItemClick",
-b,e)})})};e.prototype.createCheckboxForItem=function(a){a.checkbox=C("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:a.selected,defaultChecked:a.selected},this.options.itemCheckboxStyle,this.chart.container);t(a.checkbox,"click",function(b){c(a.series||a,"checkboxClick",{checked:b.target.checked,item:a},function(){a.select()})})};return e}();(/Trident\/7\.0/.test(H.navigator&&H.navigator.userAgent)||f)&&x(e.prototype,"positionItem",function(e,a){var b=this,c=function(){a._legendItemPos&&
-e.call(b,a)};c();b.bubbleLegend||setTimeout(c)});d.Legend=e;return d.Legend});P(k,"Core/Series/SeriesRegistry.js",[k["Core/Globals.js"],k["Core/Options.js"],k["Core/Series/Point.js"],k["Core/Utilities.js"]],function(f,d,k,x){var B=d.defaultOptions,G=x.error,D=x.extendClass,H=x.merge,t;(function(d){function f(f,g){var l=B.plotOptions||{},c=g.defaultOptions;g.prototype.pointClass||(g.prototype.pointClass=k);g.prototype.type=f;c&&(l[f]=c);d.seriesTypes[f]=g}d.seriesTypes={};d.getSeries=function(f,g){void 0===
-g&&(g={});var l=f.options.chart;l=g.type||l.type||l.defaultSeriesType||"";var c=d.seriesTypes[l];d||G(17,!0,f,{missingModuleFor:l});l=new c;"function"===typeof l.init&&l.init(f,g);return l};d.registerSeriesType=f;d.seriesType=function(l,g,y,c,q){var n=B.plotOptions||{};g=g||"";n[l]=H(n[g],y);f(l,D(d.seriesTypes[g]||function(){},c));d.seriesTypes[l].prototype.type=l;q&&(d.seriesTypes[l].prototype.pointClass=D(k,q));return d.seriesTypes[l]}})(t||(t={}));f.seriesType=t.seriesType;f.seriesTypes=t.seriesTypes;
-return t});P(k,"Core/Chart/Chart.js",[k["Core/Animation/AnimationUtilities.js"],k["Core/Axis/Axis.js"],k["Core/Globals.js"],k["Core/Legend.js"],k["Core/MSPointer.js"],k["Core/Options.js"],k["Core/Color/Palette.js"],k["Core/Pointer.js"],k["Core/Series/SeriesRegistry.js"],k["Core/Time.js"],k["Core/Utilities.js"],k["Core/Renderer/HTML/AST.js"]],function(f,d,k,x,B,G,D,H,t,C,l,E){var g=f.animate,y=f.animObject,c=f.setAnimation,q=k.charts,n=k.doc,A=k.win,M=G.defaultOptions,z=G.time,m=t.seriesTypes,r=l.addEvent,
-e=l.attr,h=l.cleanRecursively,a=l.createElement,b=l.css,w=l.defined,J=l.discardElement,O=l.erase,F=l.error,N=l.extend,R=l.find,Q=l.fireEvent,T=l.getStyle,v=l.isArray,L=l.isFunction,p=l.isNumber,K=l.isObject,S=l.isString,ba=l.merge,u=l.numberFormat,aa=l.objectEach,I=l.pick,X=l.pInt,U=l.relativeLength,ea=l.removeEvent,Y=l.splat,da=l.syncTimeout,ha=l.uniqueKey,fa=k.marginNames,ca=function(){function f(a,b,c){this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=
-this.spacing=this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0;this.getArgs(a,b,c)}f.prototype.getArgs=function(a,b,c){S(a)||a.nodeName?(this.renderTo=a,this.init(b,c)):this.init(a,
-b)};f.prototype.init=function(a,b){var c,e=a.series,g=a.plotOptions||{};Q(this,"init",{args:arguments},function(){a.series=null;c=ba(M,a);var d=c.chart||{};aa(c.plotOptions,function(a,b){K(a)&&(a.tooltip=g[b]&&ba(g[b].tooltip)||void 0)});c.tooltip.userOptions=a.chart&&a.chart.forExport&&a.tooltip.userOptions||a.tooltip;c.series=a.series=e;this.userOptions=a;var f=d.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=b;this.isResizing=0;this.options=
-c;this.axes=[];this.series=[];this.time=a.time&&Object.keys(a.time).length?new C(a.time):k.time;this.numberFormatter=d.numberFormatter||u;this.styledMode=d.styledMode;this.hasCartesianSeries=d.showAxes;var h=this;h.index=q.length;q.push(h);k.chartCount++;f&&aa(f,function(a,b){L(a)&&r(h,b,a)});h.xAxis=[];h.yAxis=[];h.pointCount=h.colorCounter=h.symbolCounter=0;Q(h,"afterInit");h.firstRender()})};f.prototype.initSeries=function(a){var b=this.options.chart;b=a.type||b.type||b.defaultSeriesType;var c=
-m[b];c||F(17,!0,this,{missingModuleFor:b});b=new c;"function"===typeof b.init&&b.init(this,a);return b};f.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(a){a.points||a.data||!a.enabledDataSorting||a.setData(a.options.data,!1)})};f.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(a,b){return a.linkedSeries.length||b.linkedSeries.length?b.linkedSeries.length-a.linkedSeries.length:0})};f.prototype.orderSeries=function(a){var b=this.series;
-for(a=a||0;a<b.length;a++)b[a]&&(b[a].index=a,b[a].name=b[a].getName())};f.prototype.isInsidePlot=function(a,b,c){var e=c?b:a;a=c?a:b;e={x:e,y:a,isInsidePlot:0<=e&&e<=this.plotWidth&&0<=a&&a<=this.plotHeight};Q(this,"afterIsInsidePlot",e);return e.isInsidePlot};f.prototype.redraw=function(a){Q(this,"beforeRedraw");var b=this.hasCartesianSeries?this.axes:this.colorAxis||[],e=this.series,g=this.pointer,d=this.legend,f=this.userOptions.legend,h=this.isDirtyLegend,m=this.isDirtyBox,u=this.renderer,l=
-u.isHidden(),n=[];this.setResponsive&&this.setResponsive(!1);c(this.hasRendered?a:!1,this);l&&this.temporaryDisplay();this.layOutTitles();for(a=e.length;a--;){var p=e[a];if(p.options.stacking||p.options.centerInCategory){var q=!0;if(p.isDirty){var r=!0;break}}}if(r)for(a=e.length;a--;)p=e[a],p.options.stacking&&(p.isDirty=!0);e.forEach(function(a){a.isDirty&&("point"===a.options.legendType?("function"===typeof a.updateTotals&&a.updateTotals(),h=!0):f&&(f.labelFormatter||f.labelFormat)&&(h=!0));a.isDirtyData&&
-Q(a,"updatedData")});h&&d&&d.options.enabled&&(d.render(),this.isDirtyLegend=!1);q&&this.getStacks();b.forEach(function(a){a.updateNames();a.setScale()});this.getMargins();b.forEach(function(a){a.isDirty&&(m=!0)});b.forEach(function(a){var b=a.min+","+a.max;a.extKey!==b&&(a.extKey=b,n.push(function(){Q(a,"afterSetExtremes",N(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(m||q)&&a.redraw()});m&&this.drawChartBox();Q(this,"predraw");e.forEach(function(a){(m||a.isDirty)&&a.visible&&a.redraw();
-a.isDirtyData=!1});g&&g.reset(!0);u.draw();Q(this,"redraw");Q(this,"render");l&&this.temporaryDisplay(!0);n.forEach(function(a){a.call()})};f.prototype.get=function(a){function b(b){return b.id===a||b.options&&b.options.id===a}var c=this.series,e;var g=R(this.axes,b)||R(this.series,b);for(e=0;!g&&e<c.length;e++)g=R(c[e].points||[],b);return g};f.prototype.getAxes=function(){var a=this,b=this.options,e=b.xAxis=Y(b.xAxis||{});b=b.yAxis=Y(b.yAxis||{});Q(this,"getAxes");e.forEach(function(a,b){a.index=
-b;a.isX=!0});b.forEach(function(a,b){a.index=b});e.concat(b).forEach(function(b){new d(a,b)});Q(this,"afterGetAxes")};f.prototype.getSelectedPoints=function(){var a=[];this.series.forEach(function(b){a=a.concat(b.getPointsCollection().filter(function(a){return I(a.selectedStaging,a.selected)}))});return a};f.prototype.getSelectedSeries=function(){return this.series.filter(function(a){return a.selected})};f.prototype.setTitle=function(a,b,e){this.applyDescription("title",a);this.applyDescription("subtitle",
-b);this.applyDescription("caption",void 0);this.layOutTitles(e)};f.prototype.applyDescription=function(a,b){var e=this,c="title"===a?{color:D.neutralColor80,fontSize:this.options.isStock?"16px":"18px"}:{color:D.neutralColor60};c=this.options[a]=ba(!this.styledMode&&{style:c},this.options[a],b);var g=this[a];g&&b&&(this[a]=g=g.destroy());c&&!g&&(g=this.renderer.text(c.text,0,0,c.useHTML).attr({align:c.align,"class":"highcharts-"+a,zIndex:c.zIndex||4}).add(),g.update=function(b){e[{title:"setTitle",
-subtitle:"setSubtitle",caption:"setCaption"}[a]](b)},this.styledMode||g.css(c.style),this[a]=g)};f.prototype.layOutTitles=function(a){var b=[0,0,0],c=this.renderer,e=this.spacingBox;["title","subtitle","caption"].forEach(function(a){var g=this[a],d=this.options[a],f=d.verticalAlign||"top";a="title"===a?-3:"top"===f?b[0]+2:0;if(g){if(!this.styledMode)var h=d.style.fontSize;h=c.fontMetrics(h,g).b;g.css({width:(d.width||e.width+(d.widthAdjust||0))+"px"});var m=Math.round(g.getBBox(d.useHTML).height);
-g.align(N({y:"bottom"===f?h:a+h,height:m},d),!1,"spacingBox");d.floating||("top"===f?b[0]=Math.ceil(b[0]+m):"bottom"===f&&(b[2]=Math.ceil(b[2]+m)))}},this);b[0]&&"top"===(this.options.title.verticalAlign||"top")&&(b[0]+=this.options.title.margin);b[2]&&"bottom"===this.options.caption.verticalAlign&&(b[2]+=this.options.caption.margin);var g=!this.titleOffset||this.titleOffset.join(",")!==b.join(",");this.titleOffset=b;Q(this,"afterLayOutTitles");!this.isDirtyBox&&g&&(this.isDirtyBox=this.isDirtyLegend=
-g,this.hasRendered&&I(a,!0)&&this.isDirtyBox&&this.redraw())};f.prototype.getChartSize=function(){var a=this.options.chart,b=a.width;a=a.height;var c=this.renderTo;w(b)||(this.containerWidth=T(c,"width"));w(a)||(this.containerHeight=T(c,"height"));this.chartWidth=Math.max(0,b||this.containerWidth||600);this.chartHeight=Math.max(0,U(a,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))};f.prototype.temporaryDisplay=function(a){var c=this.renderTo;if(a)for(;c&&c.style;)c.hcOrigStyle&&
-(b(c,c.hcOrigStyle),delete c.hcOrigStyle),c.hcOrigDetached&&(n.body.removeChild(c),c.hcOrigDetached=!1),c=c.parentNode;else for(;c&&c.style;){n.body.contains(c)||c.parentNode||(c.hcOrigDetached=!0,n.body.appendChild(c));if("none"===T(c,"display",!1)||c.hcOricDetached)c.hcOrigStyle={display:c.style.display,height:c.style.height,overflow:c.style.overflow},a={display:"block",overflow:"hidden"},c!==this.renderTo&&(a.height=0),b(c,a),c.offsetWidth||c.style.setProperty("display","block","important");c=
-c.parentNode;if(c===n.body)break}};f.prototype.setClassName=function(a){this.container.className="highcharts-container "+(a||"")};f.prototype.getContainer=function(){var g=this.options,d=g.chart;var f=this.renderTo;var h=ha(),m,u;f||(this.renderTo=f=d.renderTo);S(f)&&(this.renderTo=f=n.getElementById(f));f||F(13,!0,this);var l=X(e(f,"data-highcharts-chart"));p(l)&&q[l]&&q[l].hasRendered&&q[l].destroy();e(f,"data-highcharts-chart",this.index);f.innerHTML="";d.skipClone||f.offsetWidth||this.temporaryDisplay();
-this.getChartSize();l=this.chartWidth;var r=this.chartHeight;b(f,{overflow:"hidden"});this.styledMode||(m=N({position:"relative",overflow:"hidden",width:l+"px",height:r+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none"},d.style));this.container=f=a("div",{id:h},m,f);this._cursor=f.style.cursor;this.renderer=new (k[d.renderer]||k.Renderer)(f,l,r,null,d.forExport,g.exporting&&g.exporting.allowHTML,this.styledMode);c(void 0,this);this.setClassName(d.className);
-if(this.styledMode)for(u in g.defs)this.renderer.definition(g.defs[u]);else this.renderer.setStyle(d.style);this.renderer.chartIndex=this.index;Q(this,"afterGetContainer")};f.prototype.getMargins=function(a){var b=this.spacing,c=this.margin,e=this.titleOffset;this.resetMargins();e[0]&&!w(c[0])&&(this.plotTop=Math.max(this.plotTop,e[0]+b[0]));e[2]&&!w(c[2])&&(this.marginBottom=Math.max(this.marginBottom,e[2]+b[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(c,b);Q(this,"getMargins");
-a||this.getAxisMargins()};f.prototype.getAxisMargins=function(){var a=this,b=a.axisOffset=[0,0,0,0],c=a.colorAxis,e=a.margin,g=function(a){a.forEach(function(a){a.visible&&a.getOffset()})};a.hasCartesianSeries?g(a.axes):c&&c.length&&g(c);fa.forEach(function(c,g){w(e[g])||(a[c]+=b[g])});a.setChartSize()};f.prototype.reflow=function(a){var b=this,c=b.options.chart,e=b.renderTo,g=w(c.width)&&w(c.height),d=c.width||T(e,"width");c=c.height||T(e,"height");e=a?a.target:A;delete b.pointer.chartPosition;if(!g&&
-!b.isPrinting&&d&&c&&(e===A||e===n)){if(d!==b.containerWidth||c!==b.containerHeight)l.clearTimeout(b.reflowTimeout),b.reflowTimeout=da(function(){b.container&&b.setSize(void 0,void 0,!1)},a?100:0);b.containerWidth=d;b.containerHeight=c}};f.prototype.setReflow=function(a){var b=this;!1===a||this.unbindReflow?!1===a&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=r(A,"resize",function(a){b.options&&b.reflow(a)}),r(this,"destroy",this.unbindReflow))};f.prototype.setSize=
-function(a,e,d){var f=this,h=f.renderer;f.isResizing+=1;c(d,f);d=h.globalAnimation;f.oldChartHeight=f.chartHeight;f.oldChartWidth=f.chartWidth;"undefined"!==typeof a&&(f.options.chart.width=a);"undefined"!==typeof e&&(f.options.chart.height=e);f.getChartSize();f.styledMode||(d?g:b)(f.container,{width:f.chartWidth+"px",height:f.chartHeight+"px"},d);f.setChartSize(!0);h.setSize(f.chartWidth,f.chartHeight,d);f.axes.forEach(function(a){a.isDirty=!0;a.setScale()});f.isDirtyLegend=!0;f.isDirtyBox=!0;f.layOutTitles();
-f.getMargins();f.redraw(d);f.oldChartHeight=null;Q(f,"resize");da(function(){f&&Q(f,"endResize",null,function(){--f.isResizing})},y(d).duration)};f.prototype.setChartSize=function(a){var b=this.inverted,c=this.renderer,e=this.chartWidth,g=this.chartHeight,d=this.options.chart,f=this.spacing,h=this.clipOffset,m,u,l,n;this.plotLeft=m=Math.round(this.plotLeft);this.plotTop=u=Math.round(this.plotTop);this.plotWidth=l=Math.max(0,Math.round(e-m-this.marginRight));this.plotHeight=n=Math.max(0,Math.round(g-
-u-this.marginBottom));this.plotSizeX=b?n:l;this.plotSizeY=b?l:n;this.plotBorderWidth=d.plotBorderWidth||0;this.spacingBox=c.spacingBox={x:f[3],y:f[0],width:e-f[3]-f[1],height:g-f[0]-f[2]};this.plotBox=c.plotBox={x:m,y:u,width:l,height:n};e=2*Math.floor(this.plotBorderWidth/2);b=Math.ceil(Math.max(e,h[3])/2);c=Math.ceil(Math.max(e,h[0])/2);this.clipBox={x:b,y:c,width:Math.floor(this.plotSizeX-Math.max(e,h[1])/2-b),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(e,h[2])/2-c))};a||this.axes.forEach(function(a){a.setAxisSize();
-a.setAxisTranslation()});Q(this,"afterSetChartSize",{skipAxes:a})};f.prototype.resetMargins=function(){Q(this,"resetMargins");var a=this,b=a.options.chart;["margin","spacing"].forEach(function(c){var e=b[c],g=K(e)?e:[e,e,e,e];["Top","Right","Bottom","Left"].forEach(function(e,d){a[c][d]=I(b[c+e],g[d])})});fa.forEach(function(b,c){a[b]=I(a.margin[c],a.spacing[c])});a.axisOffset=[0,0,0,0];a.clipOffset=[0,0,0,0]};f.prototype.drawChartBox=function(){var a=this.options.chart,b=this.renderer,c=this.chartWidth,
-e=this.chartHeight,g=this.chartBackground,d=this.plotBackground,f=this.plotBorder,h=this.styledMode,m=this.plotBGImage,u=a.backgroundColor,l=a.plotBackgroundColor,n=a.plotBackgroundImage,p,q=this.plotLeft,r=this.plotTop,k=this.plotWidth,I=this.plotHeight,w=this.plotBox,y=this.clipRect,t=this.clipBox,v="animate";g||(this.chartBackground=g=b.rect().addClass("highcharts-background").add(),v="attr");if(h)var z=p=g.strokeWidth();else{z=a.borderWidth||0;p=z+(a.shadow?8:0);u={fill:u||"none"};if(z||g["stroke-width"])u.stroke=
-a.borderColor,u["stroke-width"]=z;g.attr(u).shadow(a.shadow)}g[v]({x:p/2,y:p/2,width:c-p-z%2,height:e-p-z%2,r:a.borderRadius});v="animate";d||(v="attr",this.plotBackground=d=b.rect().addClass("highcharts-plot-background").add());d[v](w);h||(d.attr({fill:l||"none"}).shadow(a.plotShadow),n&&(m?(n!==m.attr("href")&&m.attr("href",n),m.animate(w)):this.plotBGImage=b.image(n,q,r,k,I).add()));y?y.animate({width:t.width,height:t.height}):this.clipRect=b.clipRect(t);v="animate";f||(v="attr",this.plotBorder=
-f=b.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());h||f.attr({stroke:a.plotBorderColor,"stroke-width":a.plotBorderWidth||0,fill:"none"});f[v](f.crisp({x:q,y:r,width:k,height:I},-f.strokeWidth()));this.isDirtyBox=!1;Q(this,"afterDrawChartBox")};f.prototype.propFromSeries=function(){var a=this,b=a.options.chart,c,e=a.options.series,g,d;["inverted","angular","polar"].forEach(function(f){c=m[b.type||b.defaultSeriesType];d=b[f]||c&&c.prototype[f];for(g=e&&e.length;!d&&g--;)(c=m[e[g].type])&&
-c.prototype[f]&&(d=!0);a[f]=d})};f.prototype.linkSeries=function(){var a=this,b=a.series;b.forEach(function(a){a.linkedSeries.length=0});b.forEach(function(b){var c=b.options.linkedTo;S(c)&&(c=":previous"===c?a.series[b.index-1]:a.get(c))&&c.linkedParent!==b&&(c.linkedSeries.push(b),b.linkedParent=c,c.enabledDataSorting&&b.setDataSortingOptions(),b.visible=I(b.options.visible,c.options.visible,b.visible))});Q(this,"afterLinkSeries")};f.prototype.renderSeries=function(){this.series.forEach(function(a){a.translate();
-a.render()})};f.prototype.renderLabels=function(){var a=this,b=a.options.labels;b.items&&b.items.forEach(function(c){var e=N(b.style,c.style),g=X(e.left)+a.plotLeft,d=X(e.top)+a.plotTop+12;delete e.left;delete e.top;a.renderer.text(c.html,g,d).attr({zIndex:2}).css(e).add()})};f.prototype.render=function(){var a=this.axes,b=this.colorAxis,c=this.renderer,e=this.options,g=0,d=function(a){a.forEach(function(a){a.visible&&a.render()})};this.setTitle();this.legend=new x(this,e.legend);this.getStacks&&
-this.getStacks();this.getMargins(!0);this.setChartSize();e=this.plotWidth;a.some(function(a){if(a.horiz&&a.visible&&a.options.labels.enabled&&a.series.length)return g=21,!0});var f=this.plotHeight=Math.max(this.plotHeight-g,0);a.forEach(function(a){a.setScale()});this.getAxisMargins();var h=1.1<e/this.plotWidth;var m=1.05<f/this.plotHeight;if(h||m)a.forEach(function(a){(a.horiz&&h||!a.horiz&&m)&&a.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries?d(a):b&&b.length&&
-d(b);this.seriesGroup||(this.seriesGroup=c.g("series-group").attr({zIndex:3}).add());this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0};f.prototype.addCredits=function(a){var b=this,c=ba(!0,this.options.credits,a);c.enabled&&!this.credits&&(this.credits=this.renderer.text(c.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){c.href&&(A.location.href=c.href)}).attr({align:c.position.align,zIndex:8}),
-b.styledMode||this.credits.css(c.style),this.credits.add().align(c.position),this.credits.update=function(a){b.credits=b.credits.destroy();b.addCredits(a)})};f.prototype.destroy=function(){var a=this,b=a.axes,c=a.series,e=a.container,g,d=e&&e.parentNode;Q(a,"destroy");a.renderer.forExport?O(q,a):q[a.index]=void 0;k.chartCount--;a.renderTo.removeAttribute("data-highcharts-chart");ea(a);for(g=b.length;g--;)b[g]=b[g].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(g=c.length;g--;)c[g]=
-c[g].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(b){var c=a[b];c&&c.destroy&&(a[b]=c.destroy())});e&&(e.innerHTML="",ea(e),d&&J(e));aa(a,function(b,c){delete a[c]})};f.prototype.firstRender=function(){var a=this,b=a.options;if(!a.isReadyToRender||a.isReadyToRender()){a.getContainer();a.resetMargins();a.setChartSize();a.propFromSeries();a.getAxes();
-(v(b.series)?b.series:[]).forEach(function(b){a.initSeries(b)});a.linkSeries();a.setSeriesData();Q(a,"beforeRender");H&&(a.pointer=k.hasTouch||!A.PointerEvent&&!A.MSPointerEvent?new H(a,b):new B(a,b));a.render();a.pointer.getChartPosition();if(!a.renderer.imgCount&&!a.hasLoaded)a.onload();a.temporaryDisplay(!0)}};f.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(a){a&&"undefined"!==typeof this.index&&a.apply(this,[this])},this);Q(this,"load");Q(this,"render");w(this.index)&&
-this.setReflow(this.options.chart.reflow);this.hasLoaded=!0};f.prototype.addSeries=function(a,b,c){var e,g=this;a&&(b=I(b,!0),Q(g,"addSeries",{options:a},function(){e=g.initSeries(a);g.isDirtyLegend=!0;g.linkSeries();e.enabledDataSorting&&e.setData(a.data,!1);Q(g,"afterAddSeries",{series:e});b&&g.redraw(c)}));return e};f.prototype.addAxis=function(a,b,c,e){return this.createAxis(b?"xAxis":"yAxis",{axis:a,redraw:c,animation:e})};f.prototype.addColorAxis=function(a,b,c){return this.createAxis("colorAxis",
-{axis:a,redraw:b,animation:c})};f.prototype.createAxis=function(a,b){var c=this.options,e="colorAxis"===a,g=b.redraw,f=b.animation;b=ba(b.axis,{index:this[a].length,isX:"xAxis"===a});var h=e?new k.ColorAxis(this,b):new d(this,b);c[a]=Y(c[a]||{});c[a].push(b);e&&(this.isDirtyLegend=!0,this.axes.forEach(function(a){a.series=[]}),this.series.forEach(function(a){a.bindAxes();a.isDirtyData=!0}));I(g,!0)&&this.redraw(f);return h};f.prototype.showLoading=function(c){var e=this,d=e.options,f=e.loadingDiv,
-h=e.loadingSpan,m=d.loading,u=function(){f&&b(f,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})};f||(e.loadingDiv=f=a("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container));h||(e.loadingSpan=h=a("span",{className:"highcharts-loading-inner"},null,f),r(e,"redraw",u));f.className="highcharts-loading";E.setElementHTML(h,I(c,d.lang.loading,""));e.styledMode||(b(f,N(m.style,{zIndex:10})),b(h,m.labelStyle),e.loadingShown||(b(f,{opacity:0,
-display:""}),g(f,{opacity:m.style.opacity||.5},{duration:m.showDuration||0})));e.loadingShown=!0;u()};f.prototype.hideLoading=function(){var a=this.options,c=this.loadingDiv;c&&(c.className="highcharts-loading highcharts-loading-hidden",this.styledMode||g(c,{opacity:0},{duration:a.loading.hideDuration||100,complete:function(){b(c,{display:"none"})}}));this.loadingShown=!1};f.prototype.update=function(a,b,c,e){var g=this,d={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},
-f,m,u,l=a.isResponsiveOptions,n=[];Q(g,"update",{options:a});l||g.setResponsive(!1,!0);a=h(a,g.options);g.userOptions=ba(g.userOptions,a);if(f=a.chart){ba(!0,g.options.chart,f);"className"in f&&g.setClassName(f.className);"reflow"in f&&g.setReflow(f.reflow);if("inverted"in f||"polar"in f||"type"in f){g.propFromSeries();var q=!0}"alignTicks"in f&&(q=!0);aa(f,function(a,b){-1!==g.propsRequireUpdateSeries.indexOf("chart."+b)&&(m=!0);-1!==g.propsRequireDirtyBox.indexOf(b)&&(g.isDirtyBox=!0);-1!==g.propsRequireReflow.indexOf(b)&&
-(l?g.isDirtyBox=!0:u=!0)});!g.styledMode&&"style"in f&&g.renderer.setStyle(f.style)}!g.styledMode&&a.colors&&(this.options.colors=a.colors);a.time&&(this.time===z&&(this.time=new C(a.time)),ba(!0,g.options.time,a.time));aa(a,function(b,c){if(g[c]&&"function"===typeof g[c].update)g[c].update(b,!1);else if("function"===typeof g[d[c]])g[d[c]](b);else"color"!==c&&-1===g.collectionsWithUpdate.indexOf(c)&&ba(!0,g.options[c],a[c]);"chart"!==c&&-1!==g.propsRequireUpdateSeries.indexOf(c)&&(m=!0)});this.collectionsWithUpdate.forEach(function(b){if(a[b]){if("series"===
-b){var e=[];g[b].forEach(function(a,b){a.options.isInternal||e.push(I(a.options.index,b))})}Y(a[b]).forEach(function(a,d){var f=w(a.id),h;f&&(h=g.get(a.id));!h&&g[b]&&(h=g[b][e?e[d]:d])&&f&&w(h.options.id)&&(h=void 0);h&&h.coll===b&&(h.update(a,!1),c&&(h.touched=!0));!h&&c&&g.collectionsWithInit[b]&&(g.collectionsWithInit[b][0].apply(g,[a].concat(g.collectionsWithInit[b][1]||[]).concat([!1])).touched=!0)});c&&g[b].forEach(function(a){a.touched||a.options.isInternal?delete a.touched:n.push(a)})}});
-n.forEach(function(a){a.chart&&a.remove(!1)});q&&g.axes.forEach(function(a){a.update({},!1)});m&&g.getSeriesOrderByLinks().forEach(function(a){a.chart&&a.update({},!1)},this);q=f&&f.width;f=f&&f.height;S(f)&&(f=U(f,q||g.chartWidth));u||p(q)&&q!==g.chartWidth||p(f)&&f!==g.chartHeight?g.setSize(q,f,e):I(b,!0)&&g.redraw(e);Q(g,"afterUpdate",{options:a,redraw:b,animation:e})};f.prototype.setSubtitle=function(a,b){this.applyDescription("subtitle",a);this.layOutTitles(b)};f.prototype.setCaption=function(a,
-b){this.applyDescription("caption",a);this.layOutTitles(b)};f.prototype.showResetZoom=function(){function a(){b.zoomOut()}var b=this,c=M.lang,e=b.options.chart.resetZoomButton,g=e.theme,d=g.states,f="chart"===e.relativeTo||"spaceBox"===e.relativeTo?null:this.scrollablePlotBox||"plotBox";Q(this,"beforeShowResetZoom",null,function(){b.resetZoomButton=b.renderer.button(c.resetZoom,null,null,a,g,d&&d.hover).attr({align:e.position.align,title:c.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(e.position,
-!1,f)});Q(this,"afterShowResetZoom")};f.prototype.zoomOut=function(){Q(this,"selection",{resetSelection:!0},this.zoom)};f.prototype.zoom=function(a){var b=this,c,e=b.pointer,g=!1,d=b.inverted?e.mouseDownX:e.mouseDownY;!a||a.resetSelection?(b.axes.forEach(function(a){c=a.zoom()}),e.initiated=!1):a.xAxis.concat(a.yAxis).forEach(function(a){var f=a.axis,h=b.inverted?f.left:f.top,m=b.inverted?h+f.width:h+f.height,u=f.isXAxis,l=!1;if(!u&&d>=h&&d<=m||u||!w(d))l=!0;e[u?"zoomX":"zoomY"]&&l&&(c=f.zoom(a.min,
-a.max),f.displayBtn&&(g=!0))});var f=b.resetZoomButton;g&&!f?b.showResetZoom():!g&&K(f)&&(b.resetZoomButton=f.destroy());c&&b.redraw(I(b.options.chart.animation,a&&a.animation,100>b.pointCount))};f.prototype.pan=function(a,c){var e=this,g=e.hoverPoints,d=e.options.chart,f=e.options.mapNavigation&&e.options.mapNavigation.enabled,h;c="object"===typeof c?c:{enabled:c,type:"x"};d&&d.panning&&(d.panning=c);var m=c.type;Q(this,"pan",{originalEvent:a},function(){g&&g.forEach(function(a){a.setState()});var c=
-[1];"xy"===m?c=[1,0]:"y"===m&&(c=[0]);c.forEach(function(b){var c=e[b?"xAxis":"yAxis"][0],g=c.horiz,d=a[g?"chartX":"chartY"];g=g?"mouseDownX":"mouseDownY";var u=e[g],l=(c.pointRange||0)/2,n=c.reversed&&!e.inverted||!c.reversed&&e.inverted?-1:1,q=c.getExtremes(),r=c.toValue(u-d,!0)+l*n;n=c.toValue(u+c.len-d,!0)-l*n;var k=n<r;u=k?n:r;r=k?r:n;n=c.hasVerticalPanning();var w=c.panningState;!n||b||w&&!w.isDirty||c.series.forEach(function(a){var b=a.getProcessedData(!0);b=a.getExtremes(b.yData,!0);w||(w=
-{startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});p(b.dataMin)&&p(b.dataMax)&&(w.startMin=Math.min(I(a.options.threshold,Infinity),b.dataMin,w.startMin),w.startMax=Math.max(I(a.options.threshold,-Infinity),b.dataMax,w.startMax))});b=Math.min(I(null===w||void 0===w?void 0:w.startMin,q.dataMin),l?q.min:c.toValue(c.toPixels(q.min)-c.minPixelPadding));l=Math.max(I(null===w||void 0===w?void 0:w.startMax,q.dataMax),l?q.max:c.toValue(c.toPixels(q.max)+c.minPixelPadding));c.panningState=w;c.isOrdinal||
-(n=b-u,0<n&&(r+=n,u=b),n=r-l,0<n&&(r=l,u-=n),c.series.length&&u!==q.min&&r!==q.max&&u>=b&&r<=l&&(c.setExtremes(u,r,!1,!1,{trigger:"pan"}),e.resetZoomButton||f||u===b||r===l||!m.match("y")||(e.showResetZoom(),c.displayBtn=!1),h=!0),e[g]=d)});h&&e.redraw(!1);b(e.container,{cursor:"move"})})};return f}();N(ca.prototype,{callbacks:[],collectionsWithInit:{xAxis:[ca.prototype.addAxis,[!0]],yAxis:[ca.prototype.addAxis,[!1]],series:[ca.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis",
-"series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});k.chart=function(a,b,c){return new ca(a,
-b,c)};k.Chart=ca;"";return ca});P(k,"Mixins/LegendSymbol.js",[k["Core/Globals.js"],k["Core/Utilities.js"]],function(f,d){var k=d.merge,x=d.pick;return f.LegendSymbolMixin={drawRectangle:function(d,f){var k=d.symbolHeight,H=d.options.squareSymbol;f.legendSymbol=this.chart.renderer.rect(H?(d.symbolWidth-k)/2:0,d.baseline-k+1,H?k:d.symbolWidth,k,x(d.options.symbolRadius,k/2)).addClass("highcharts-point").attr({zIndex:3}).add(f.legendGroup)},drawLineMarker:function(d){var f=this.options,D=f.marker,H=
-d.symbolWidth,t=d.symbolHeight,C=t/2,l=this.chart.renderer,E=this.legendGroup;d=d.baseline-Math.round(.3*d.fontMetrics.b);var g={};this.chart.styledMode||(g={"stroke-width":f.lineWidth||0},f.dashStyle&&(g.dashstyle=f.dashStyle));this.legendLine=l.path([["M",0,d],["L",H,d]]).addClass("highcharts-graph").attr(g).add(E);D&&!1!==D.enabled&&H&&(f=Math.min(x(D.radius,C),C),0===this.symbol.indexOf("url")&&(D=k(D,{width:t,height:t}),f=0),this.legendSymbol=D=l.symbol(this.symbol,H/2-f,d-f,2*f,2*f,D).addClass("highcharts-point").add(E),
-D.isMarker=!0)}}});P(k,"Core/Series/Series.js",[k["Core/Animation/AnimationUtilities.js"],k["Core/Globals.js"],k["Mixins/LegendSymbol.js"],k["Core/Options.js"],k["Core/Color/Palette.js"],k["Core/Series/Point.js"],k["Core/Series/SeriesRegistry.js"],k["Core/Renderer/SVG/SVGElement.js"],k["Core/Utilities.js"]],function(f,d,k,x,B,G,D,H,t){var C=f.animObject,l=f.setAnimation,E=d.hasTouch,g=d.svg,y=d.win,c=x.defaultOptions,q=D.seriesTypes,n=t.addEvent,A=t.arrayMax,M=t.arrayMin,z=t.clamp,m=t.cleanRecursively,
-r=t.correctFloat,e=t.defined,h=t.erase,a=t.error,b=t.extend,w=t.find,J=t.fireEvent,O=t.getNestedProperty,F=t.isArray,N=t.isFunction,R=t.isNumber,Q=t.isString,T=t.merge,v=t.objectEach,L=t.pick,p=t.removeEvent,K=t.splat,S=t.syncTimeout;f=function(){function d(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}d.prototype.init=
-function(a,c){J(this,"init",{options:c});var e=this,g=a.series,d;this.eventOptions=this.eventOptions||{};this.eventsToUnbind=[];e.chart=a;e.options=c=e.setOptions(c);e.linkedSeries=[];e.bindAxes();b(e,{name:c.name,state:"",visible:!1!==c.visible,selected:!0===c.selected});var f=c.events;v(f,function(a,b){N(a)&&e.eventOptions[b]!==a&&(N(e.eventOptions[b])&&p(e,b,e.eventOptions[b]),e.eventOptions[b]=a,n(e,b,a))});if(f&&f.click||c.point&&c.point.events&&c.point.events.click||c.allowPointSelect)a.runTrackerClick=
-!0;e.getColor();e.getSymbol();e.parallelArrays.forEach(function(a){e[a+"Data"]||(e[a+"Data"]=[])});e.isCartesian&&(a.hasCartesianSeries=!0);g.length&&(d=g[g.length-1]);e._i=L(d&&d._i,-1)+1;e.opacity=e.options.opacity;a.orderSeries(this.insert(g));c.dataSorting&&c.dataSorting.enabled?e.setDataSortingOptions():e.points||e.data||e.setData(c.data,!1);J(this,"afterInit")};d.prototype.is=function(a){return q[a]&&this instanceof q[a]};d.prototype.insert=function(a){var b=this.options.index,c;if(R(b)){for(c=
-a.length;c--;)if(b>=L(a[c].options.index,a[c]._i)){a.splice(c+1,0,this);break}-1===c&&a.unshift(this);c+=1}else a.push(this);return L(c,a.length-1)};d.prototype.bindAxes=function(){var b=this,c=b.options,e=b.chart,g;J(this,"bindAxes",null,function(){(b.axisTypes||[]).forEach(function(d){e[d].forEach(function(a){g=a.options;if(c[d]===g.index||"undefined"!==typeof c[d]&&c[d]===g.id||"undefined"===typeof c[d]&&0===g.index)b.insert(a.series),b[d]=a,a.isDirty=!0});b[d]||b.optionalAxis===d||a(18,!0,e)})});
-J(this,"afterBindAxes")};d.prototype.updateParallelArrays=function(a,b){var c=a.series,e=arguments,g=R(b)?function(e){var g="y"===e&&c.toYData?c.toYData(a):a[e];c[e+"Data"][b]=g}:function(a){Array.prototype[b].apply(c[a+"Data"],Array.prototype.slice.call(e,2))};c.parallelArrays.forEach(g)};d.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length};d.prototype.autoIncrement=function(){var a=
-this.options,b=this.xIncrement,c,e=a.pointIntervalUnit,g=this.chart.time;b=L(b,a.pointStart,0);this.pointInterval=c=L(this.pointInterval,a.pointInterval,1);e&&(a=new g.Date(b),"day"===e?g.set("Date",a,g.get("Date",a)+c):"month"===e?g.set("Month",a,g.get("Month",a)+c):"year"===e&&g.set("FullYear",a,g.get("FullYear",a)+c),c=a.getTime()-b);this.xIncrement=b+c;return b};d.prototype.setDataSortingOptions=function(){var a=this.options;b(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});
-e(a.pointRange)||(a.pointRange=1)};d.prototype.setOptions=function(a){var b=this.chart,g=b.options,d=g.plotOptions,f=b.userOptions||{};a=T(a);b=b.styledMode;var h={plotOptions:d,userOptions:a};J(this,"setOptions",h);var m=h.plotOptions[this.type],l=f.plotOptions||{};this.userOptions=h.userOptions;f=T(m,d.series,f.plotOptions&&f.plotOptions[this.type],a);this.tooltipOptions=T(c.tooltip,c.plotOptions.series&&c.plotOptions.series.tooltip,c.plotOptions[this.type].tooltip,g.tooltip.userOptions,d.series&&
-d.series.tooltip,d[this.type].tooltip,a.tooltip);this.stickyTracking=L(a.stickyTracking,l[this.type]&&l[this.type].stickyTracking,l.series&&l.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:f.stickyTracking);null===m.marker&&delete f.marker;this.zoneAxis=f.zoneAxis;g=this.zones=(f.zones||[]).slice();!f.negativeColor&&!f.negativeFillColor||f.zones||(d={value:f[this.zoneAxis+"Threshold"]||f.threshold||0,className:"highcharts-negative"},b||(d.color=f.negativeColor,d.fillColor=
-f.negativeFillColor),g.push(d));g.length&&e(g[g.length-1].value)&&g.push(b?{}:{color:this.color,fillColor:this.fillColor});J(this,"afterSetOptions",{options:f});return f};d.prototype.getName=function(){return L(this.options.name,"Series "+(this.index+1))};d.prototype.getCyclic=function(a,b,c){var g=this.chart,d=this.userOptions,f=a+"Index",h=a+"Counter",m=c?c.length:L(g.options.chart[a+"Count"],g[a+"Count"]);if(!b){var l=L(d[f],d["_"+f]);e(l)||(g.series.length||(g[h]=0),d["_"+f]=l=g[h]%m,g[h]+=1);
-c&&(b=c[l])}"undefined"!==typeof l&&(this[f]=l);this[a]=b};d.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||c.plotOptions[this.type].color,this.chart.options.colors)};d.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]};d.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};d.prototype.findPointIndex=
-function(a,b){var c=a.id,e=a.x,g=this.points,d,f=this.options.dataSorting;if(c)var h=this.chart.get(c);else if(this.linkedParent||this.enabledDataSorting){var m=f&&f.matchByName?"name":"index";h=w(g,function(b){return!b.touched&&b[m]===a[m]});if(!h)return}if(h){var l=h&&h.index;"undefined"!==typeof l&&(d=!0)}"undefined"===typeof l&&R(e)&&(l=this.xData.indexOf(e,b));-1!==l&&"undefined"!==typeof l&&this.cropped&&(l=l>=this.cropStart?l-this.cropStart:l);!d&&g[l]&&g[l].touched&&(l=void 0);return l};d.prototype.updateData=
-function(a,b){var c=this.options,g=c.dataSorting,d=this.points,f=[],h,m,l,n=this.requireSorting,u=a.length===d.length,p=!0;this.xIncrement=null;a.forEach(function(a,b){var m=e(a)&&this.pointClass.prototype.optionsToObject.call({series:this},a)||{};var p=m.x;if(m.id||R(p)){if(p=this.findPointIndex(m,l),-1===p||"undefined"===typeof p?f.push(a):d[p]&&a!==c.data[p]?(d[p].update(a,!1,null,!1),d[p].touched=!0,n&&(l=p+1)):d[p]&&(d[p].touched=!0),!u||b!==p||g&&g.enabled||this.hasDerivedData)h=!0}else f.push(a)},
-this);if(h)for(a=d.length;a--;)(m=d[a])&&!m.touched&&m.remove&&m.remove(!1,b);else!u||g&&g.enabled?p=!1:(a.forEach(function(a,b){d[b].update&&a!==d[b].y&&d[b].update(a,!1,null,!1)}),f.length=0);d.forEach(function(a){a&&(a.touched=!1)});if(!p)return!1;f.forEach(function(a){this.addPoint(a,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=A(this.xData),this.autoIncrement());return!0};d.prototype.setData=function(b,c,e,g){var d=this,f=d.points,h=f&&f.length||
-0,m,l=d.options,n=d.chart,u=l.dataSorting,p=null,q=d.xAxis;p=l.turboThreshold;var r=this.xData,k=this.yData,w=(m=d.pointArrayMap)&&m.length,y=l.keys,t=0,I=1,v;b=b||[];m=b.length;c=L(c,!0);u&&u.enabled&&(b=this.sortData(b));!1!==g&&m&&h&&!d.cropped&&!d.hasGroupedData&&d.visible&&!d.isSeriesBoosting&&(v=this.updateData(b,e));if(!v){d.xIncrement=null;d.colorCounter=0;this.parallelArrays.forEach(function(a){d[a+"Data"].length=0});if(p&&m>p)if(p=d.getFirstValidPoint(b),R(p))for(e=0;e<m;e++)r[e]=this.autoIncrement(),
-k[e]=b[e];else if(F(p))if(w)for(e=0;e<m;e++)g=b[e],r[e]=g[0],k[e]=g.slice(1,w+1);else for(y&&(t=y.indexOf("x"),I=y.indexOf("y"),t=0<=t?t:0,I=0<=I?I:1),e=0;e<m;e++)g=b[e],r[e]=g[t],k[e]=g[I];else a(12,!1,n);else for(e=0;e<m;e++)"undefined"!==typeof b[e]&&(g={series:d},d.pointClass.prototype.applyOptions.apply(g,[b[e]]),d.updateParallelArrays(g,e));k&&Q(k[0])&&a(14,!0,n);d.data=[];d.options.data=d.userOptions.data=b;for(e=h;e--;)f[e]&&f[e].destroy&&f[e].destroy();q&&(q.minRange=q.userMinRange);d.isDirty=
-n.isDirtyBox=!0;d.isDirtyData=!!f;e=!1}"point"===l.legendType&&(this.processData(),this.generatePoints());c&&n.redraw(e)};d.prototype.sortData=function(a){var b=this,c=b.options.dataSorting.sortKey||"y",g=function(a,b){return e(b)&&a.pointClass.prototype.optionsToObject.call({series:a},b)||{}};a.forEach(function(c,e){a[e]=g(b,c);a[e].index=e},this);a.concat().sort(function(a,b){a=O(c,a);b=O(c,b);return b<a?-1:b>a?1:0}).forEach(function(a,b){a.x=b},this);b.linkedSeries&&b.linkedSeries.forEach(function(b){var c=
-b.options,e=c.data;c.dataSorting&&c.dataSorting.enabled||!e||(e.forEach(function(c,d){e[d]=g(b,c);a[d]&&(e[d].x=a[d].x,e[d].index=d)}),b.setData(e,!1))});return a};d.prototype.getProcessedData=function(b){var c=this.xData,e=this.yData,g=c.length;var d=0;var f=this.xAxis,h=this.options;var m=h.cropThreshold;var l=b||this.getExtremesFromAll||h.getExtremesFromAll,n=this.isCartesian;b=f&&f.val2lin;h=!(!f||!f.logarithmic);var p=this.requireSorting;if(f){f=f.getExtremes();var u=f.min;var q=f.max}if(n&&
-this.sorted&&!l&&(!m||g>m||this.forceCrop))if(c[g-1]<u||c[0]>q)c=[],e=[];else if(this.yData&&(c[0]<u||c[g-1]>q)){d=this.cropData(this.xData,this.yData,u,q);c=d.xData;e=d.yData;d=d.start;var r=!0}for(m=c.length||1;--m;)if(g=h?b(c[m])-b(c[m-1]):c[m]-c[m-1],0<g&&("undefined"===typeof k||g<k))var k=g;else 0>g&&p&&(a(15,!1,this.chart),p=!1);return{xData:c,yData:e,cropped:r,cropStart:d,closestPointRange:k}};d.prototype.processData=function(a){var b=this.xAxis;if(this.isCartesian&&!this.isDirty&&!b.isDirty&&
-!this.yAxis.isDirty&&!a)return!1;a=this.getProcessedData();this.cropped=a.cropped;this.cropStart=a.cropStart;this.processedXData=a.xData;this.processedYData=a.yData;this.closestPointRange=this.basePointRange=a.closestPointRange};d.prototype.cropData=function(a,b,c,e,g){var d=a.length,f=0,h=d,m;g=L(g,this.cropShoulder);for(m=0;m<d;m++)if(a[m]>=c){f=Math.max(0,m-g);break}for(c=m;c<d;c++)if(a[c]>e){h=c+g;break}return{xData:a.slice(f,h),yData:b.slice(f,h),start:f,end:h}};d.prototype.generatePoints=function(){var a=
-this.options,c=a.data,e=this.data,g,d=this.processedXData,f=this.processedYData,h=this.pointClass,m=d.length,l=this.cropStart||0,n=this.hasGroupedData;a=a.keys;var p=[],q;e||n||(e=[],e.length=c.length,e=this.data=e);a&&n&&(this.options.keys=!1);for(q=0;q<m;q++){var r=l+q;if(n){var k=(new h).init(this,[d[q]].concat(K(f[q])));k.dataGroup=this.groupMap[q];k.dataGroup.options&&(k.options=k.dataGroup.options,b(k,k.dataGroup.options),delete k.dataLabels)}else(k=e[r])||"undefined"===typeof c[r]||(e[r]=k=
-(new h).init(this,c[r],d[q]));k&&(k.index=r,p[q]=k)}this.options.keys=a;if(e&&(m!==(g=e.length)||n))for(q=0;q<g;q++)q!==l||n||(q+=m),e[q]&&(e[q].destroyElements(),e[q].plotX=void 0);this.data=e;this.points=p;J(this,"afterGeneratePoints")};d.prototype.getXExtremes=function(a){return{min:M(a),max:A(a)}};d.prototype.getExtremes=function(a,b){var c=this.xAxis,e=this.yAxis,g=this.processedXData||this.xData,d=[],f=0,h=0;var m=0;var l=this.requireSorting?this.cropShoulder:0,n=e?e.positiveValuesOnly:!1,p;
-a=a||this.stackedYData||this.processedYData||[];e=a.length;c&&(m=c.getExtremes(),h=m.min,m=m.max);for(p=0;p<e;p++){var u=g[p];var q=a[p];var r=(R(q)||F(q))&&(q.length||0<q||!n);u=b||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!c||(g[p+l]||u)>=h&&(g[p-l]||u)<=m;if(r&&u)if(r=q.length)for(;r--;)R(q[r])&&(d[f++]=q[r]);else d[f++]=q}a={dataMin:M(d),dataMax:A(d)};J(this,"afterGetExtremes",{dataExtremes:a});return a};d.prototype.applyExtremes=function(){var a=this.getExtremes();
-this.dataMin=a.dataMin;this.dataMax=a.dataMax;return a};d.prototype.getFirstValidPoint=function(a){for(var b=null,c=a.length,e=0;null===b&&e<c;)b=a[e],e++;return b};d.prototype.translate=function(){this.processedXData||this.processData();this.generatePoints();var a=this.options,b=a.stacking,c=this.xAxis,g=c.categories,d=this.enabledDataSorting,f=this.yAxis,h=this.points,m=h.length,l=!!this.modifyValue,n,p=this.pointPlacementToXValue(),q=!!p,k=a.threshold,w=a.startFromThreshold?k:0,y,t=this.zoneAxis||
-"y",v=Number.MAX_VALUE;for(n=0;n<m;n++){var A=h[n],C=A.x,E=A.y,x=A.low,M=b&&f.stacking&&f.stacking.stacks[(this.negStacks&&E<(w?0:k)?"-":"")+this.stackKey];if(f.positiveValuesOnly&&!f.validatePositiveValue(E)||c.positiveValuesOnly&&!c.validatePositiveValue(C))A.isNull=!0;A.plotX=y=r(z(c.translate(C,0,0,0,1,p,"flags"===this.type),-1E5,1E5));if(b&&this.visible&&M&&M[C]){var N=this.getStackIndicator(N,C,this.index);if(!A.isNull){var H=M[C];var Q=H.points[N.key]}}F(Q)&&(x=Q[0],E=Q[1],x===w&&N.key===M[C].base&&
-(x=L(R(k)&&k,f.min)),f.positiveValuesOnly&&0>=x&&(x=null),A.total=A.stackTotal=H.total,A.percentage=H.total&&A.y/H.total*100,A.stackY=E,this.irregularWidths||H.setOffset(this.pointXOffset||0,this.barW||0));A.yBottom=e(x)?z(f.translate(x,0,1,0,1),-1E5,1E5):null;l&&(E=this.modifyValue(E,A));A.plotY=void 0;R(E)&&(E=f.translate(E,!1,!0,!1,!0),"undefined"!==typeof E&&(A.plotY=z(E,-1E5,1E5)));A.isInside=this.isPointInside(A);A.clientX=q?r(c.translate(C,0,0,0,1,p)):y;A.negative=A[t]<(a[t+"Threshold"]||k||
-0);A.category=g&&"undefined"!==typeof g[A.x]?g[A.x]:A.x;if(!A.isNull&&!1!==A.visible){"undefined"!==typeof D&&(v=Math.min(v,Math.abs(y-D)));var D=y}A.zone=this.zones.length&&A.getZone();!A.graphic&&this.group&&d&&(A.isNew=!0)}this.closestPointRangePx=v;J(this,"afterTranslate")};d.prototype.getValidPoints=function(a,b,c){var e=this.chart;return(a||this.points||[]).filter(function(a){return b&&!e.isInsidePlot(a.plotX,a.plotY,e.inverted)?!1:!1!==a.visible&&(c||!a.isNull)})};d.prototype.getClipBox=function(a,
-b){var c=this.options,e=this.chart,g=e.inverted,d=this.xAxis,f=d&&this.yAxis,h=e.options.chart.scrollablePlotArea||{};a&&!1===c.clip&&f?a=g?{y:-e.chartWidth+f.len+f.pos,height:e.chartWidth,width:e.chartHeight,x:-e.chartHeight+d.len+d.pos}:{y:-f.pos,height:e.chartHeight,width:e.chartWidth,x:-d.pos}:(a=this.clipBox||e.clipBox,b&&(a.width=e.plotSizeX,a.x=(e.scrollablePixelsX||0)*(h.scrollPositionX||0)));return b?{width:a.width,x:a.x}:a};d.prototype.setClip=function(a){var b=this.chart,c=this.options,
-e=b.renderer,g=b.inverted,d=this.clipBox,f=this.getClipBox(a),h=this.sharedClipKey||["_sharedClip",a&&a.duration,a&&a.easing,a&&a.defer,f.height,c.xAxis,c.yAxis].join(),m=b[h],l=b[h+"m"];a&&(f.width=0,g&&(f.x=b.plotHeight+(!1!==c.clip?0:b.plotTop)));m?b.hasLoaded||m.attr(f):(a&&(b[h+"m"]=l=e.clipRect(g?b.plotSizeX+99:-99,g?-b.plotLeft:-b.plotTop,99,g?b.chartWidth:b.chartHeight)),b[h]=m=e.clipRect(f),m.count={length:0});a&&!m.count[this.index]&&(m.count[this.index]=!0,m.count.length+=1);if(!1!==c.clip||
-a)this.group.clip(a||d?m:b.clipRect),this.markerGroup.clip(l),this.sharedClipKey=h;a||(m.count[this.index]&&(delete m.count[this.index],--m.count.length),0===m.count.length&&h&&b[h]&&(d||(b[h]=b[h].destroy()),b[h+"m"]&&(b[h+"m"]=b[h+"m"].destroy())))};d.prototype.animate=function(a){var b=this.chart,c=C(this.options.animation);if(a)this.setClip(c);else{var e=this.sharedClipKey;a=b[e];var g=this.getClipBox(c,!0);a&&a.animate(g,c);b[e+"m"]&&b[e+"m"].animate({width:g.width+99,x:g.x-(b.inverted?0:99)},
-c)}};d.prototype.afterAnimate=function(){this.setClip();J(this,"afterAnimate");this.finishedAnimating=!0};d.prototype.drawPoints=function(){var a=this.points,b=this.chart,c,e,g=this.options.marker,d=this[this.specialGroup]||this.markerGroup,f=this.xAxis,h=L(g.enabled,!f||f.isRadial?!0:null,this.closestPointRangePx>=g.enabledThreshold*g.radius);if(!1!==g.enabled||this._hasPointMarkers)for(c=0;c<a.length;c++){var m=a[c];var l=(e=m.graphic)?"animate":"attr";var n=m.marker||{};var p=!!m.marker;if((h&&
-"undefined"===typeof n.enabled||n.enabled)&&!m.isNull&&!1!==m.visible){var q=L(n.symbol,this.symbol);var r=this.markerAttribs(m,m.selected&&"select");this.enabledDataSorting&&(m.startXPos=f.reversed?-r.width:f.width);var k=!1!==m.isInside;e?e[k?"show":"hide"](k).animate(r):k&&(0<r.width||m.hasImage)&&(m.graphic=e=b.renderer.symbol(q,r.x,r.y,r.width,r.height,p?n:g).add(d),this.enabledDataSorting&&b.hasRendered&&(e.attr({x:m.startXPos}),l="animate"));e&&"animate"===l&&e[k?"show":"hide"](k).animate(r);
-if(e&&!b.styledMode)e[l](this.pointAttribs(m,m.selected&&"select"));e&&e.addClass(m.getClassName(),!0)}else e&&(m.graphic=e.destroy())}};d.prototype.markerAttribs=function(a,b){var c=this.options,e=c.marker,g=a.marker||{},d=g.symbol||e.symbol,f=L(g.radius,e.radius);b&&(e=e.states[b],b=g.states&&g.states[b],f=L(b&&b.radius,e&&e.radius,f+(e&&e.radiusPlus||0)));a.hasImage=d&&0===d.indexOf("url");a.hasImage&&(f=0);a={x:c.crisp?Math.floor(a.plotX)-f:a.plotX-f,y:a.plotY-f};f&&(a.width=a.height=2*f);return a};
-d.prototype.pointAttribs=function(a,b){var c=this.options.marker,e=a&&a.options,g=e&&e.marker||{},d=this.color,f=e&&e.color,h=a&&a.color;e=L(g.lineWidth,c.lineWidth);var m=a&&a.zone&&a.zone.color;a=1;d=f||m||h||d;f=g.fillColor||c.fillColor||d;d=g.lineColor||c.lineColor||d;b=b||"normal";c=c.states[b];b=g.states&&g.states[b]||{};e=L(b.lineWidth,c.lineWidth,e+L(b.lineWidthPlus,c.lineWidthPlus,0));f=b.fillColor||c.fillColor||f;d=b.lineColor||c.lineColor||d;a=L(b.opacity,c.opacity,a);return{stroke:d,"stroke-width":e,
-fill:f,opacity:a}};d.prototype.destroy=function(a){var b=this,c=b.chart,e=/AppleWebKit\/533/.test(y.navigator.userAgent),g,d,f=b.data||[],m,l;J(b,"destroy");this.removeEvents(a);(b.axisTypes||[]).forEach(function(a){(l=b[a])&&l.series&&(h(l.series,b),l.isDirty=l.forceRedraw=!0)});b.legendItem&&b.chart.legend.destroyItem(b);for(d=f.length;d--;)(m=f[d])&&m.destroy&&m.destroy();b.points=null;t.clearTimeout(b.animationTimeout);v(b,function(a,b){a instanceof H&&!a.survive&&(g=e&&"group"===b?"hide":"destroy",
-a[g]())});c.hoverSeries===b&&(c.hoverSeries=null);h(c.series,b);c.orderSeries();v(b,function(c,e){a&&"hcEvents"===e||delete b[e]})};d.prototype.applyZones=function(){var a=this,b=this.chart,c=b.renderer,e=this.zones,g,d,f=this.clips||[],h,m=this.graph,l=this.area,n=Math.max(b.chartWidth,b.chartHeight),p=this[(this.zoneAxis||"y")+"Axis"],q=b.inverted,r,k,w,y=!1,t,v;if(e.length&&(m||l)&&p&&"undefined"!==typeof p.min){var A=p.reversed;var F=p.horiz;m&&!this.showLine&&m.hide();l&&l.hide();var E=p.getExtremes();
-e.forEach(function(e,u){g=A?F?b.plotWidth:0:F?0:p.toPixels(E.min)||0;g=z(L(d,g),0,n);d=z(Math.round(p.toPixels(L(e.value,E.max),!0)||0),0,n);y&&(g=d=p.toPixels(E.max));r=Math.abs(g-d);k=Math.min(g,d);w=Math.max(g,d);p.isXAxis?(h={x:q?w:k,y:0,width:r,height:n},F||(h.x=b.plotHeight-h.x)):(h={x:0,y:q?w:k,width:n,height:r},F&&(h.y=b.plotWidth-h.y));q&&c.isVML&&(h=p.isXAxis?{x:0,y:A?k:w,height:h.width,width:b.chartWidth}:{x:h.y-b.plotLeft-b.spacingBox.x,y:0,width:h.height,height:b.chartHeight});f[u]?f[u].animate(h):
-f[u]=c.clipRect(h);t=a["zone-area-"+u];v=a["zone-graph-"+u];m&&v&&v.clip(f[u]);l&&t&&t.clip(f[u]);y=e.value>E.max;a.resetZones&&0===d&&(d=void 0)});this.clips=f}else a.visible&&(m&&m.show(!0),l&&l.show(!0))};d.prototype.invertGroups=function(a){function b(){["group","markerGroup"].forEach(function(b){c[b]&&(e.renderer.isVML&&c[b].attr({width:c.yAxis.len,height:c.xAxis.len}),c[b].width=c.yAxis.len,c[b].height=c.xAxis.len,c[b].invert(c.isRadialSeries?!1:a))})}var c=this,e=c.chart;c.xAxis&&(c.eventsToUnbind.push(n(e,
-"resize",b)),b(),c.invertGroups=b)};d.prototype.plotGroup=function(a,b,c,g,d){var f=this[a],h=!f;c={visibility:c,zIndex:g||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(c.opacity=this.opacity);h&&(this[a]=f=this.chart.renderer.g().add(d));f.addClass("highcharts-"+b+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(e(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(f.hasClass("highcharts-tracker")?
-" highcharts-tracker":""),!0);f.attr(c)[h?"attr":"animate"](this.getPlotBox());return f};d.prototype.getPlotBox=function(){var a=this.chart,b=this.xAxis,c=this.yAxis;a.inverted&&(b=c,c=this.xAxis);return{translateX:b?b.left:a.plotLeft,translateY:c?c.top:a.plotTop,scaleX:1,scaleY:1}};d.prototype.removeEvents=function(a){a||p(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind.length=0)};d.prototype.render=function(){var a=this,b=a.chart,c=a.options,
-e=C(c.animation),g=!a.finishedAnimating&&b.renderer.isSVG&&e.duration,d=a.visible?"inherit":"hidden",f=c.zIndex,h=a.hasRendered,m=b.seriesGroup,l=b.inverted;J(this,"render");var n=a.plotGroup("group","series",d,f,m);a.markerGroup=a.plotGroup("markerGroup","markers",d,f,m);g&&a.animate&&a.animate(!0);n.inverted=L(a.invertible,a.isCartesian)?l:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.visible&&a.drawPoints();a.drawDataLabels&&a.drawDataLabels();a.redrawPoints&&a.redrawPoints();a.drawTracker&&
-!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(l);!1===c.clip||a.sharedClipKey||h||n.clip(b.clipRect);g&&a.animate&&a.animate();h||(g&&e.defer&&(g+=e.defer),a.animationTimeout=S(function(){a.afterAnimate()},g||0));a.isDirty=!1;a.hasRendered=!0;J(a,"afterRender")};d.prototype.redraw=function(){var a=this.chart,b=this.isDirty||this.isDirtyData,c=this.group,e=this.xAxis,g=this.yAxis;c&&(a.inverted&&c.attr({width:a.plotWidth,height:a.plotHeight}),c.animate({translateX:L(e&&e.left,
-a.plotLeft),translateY:L(g&&g.top,a.plotTop)}));this.translate();this.render();b&&delete this.kdTree};d.prototype.searchPoint=function(a,b){var c=this.xAxis,e=this.yAxis,g=this.chart.inverted;return this.searchKDTree({clientX:g?c.len-a.chartY+c.pos:a.chartX-c.pos,plotY:g?e.len-a.chartX+e.pos:a.chartY-e.pos},b,a)};d.prototype.buildKDTree=function(a){function b(a,e,g){var d;if(d=a&&a.length){var f=c.kdAxisArray[e%g];a.sort(function(a,b){return a[f]-b[f]});d=Math.floor(d/2);return{point:a[d],left:b(a.slice(0,
-d),e+1,g),right:b(a.slice(d+1),e+1,g)}}}this.buildingKdTree=!0;var c=this,e=-1<c.options.findNearestPointBy.indexOf("y")?2:1;delete c.kdTree;S(function(){c.kdTree=b(c.getValidPoints(null,!c.directTouch),e,e);c.buildingKdTree=!1},c.options.kdNow||a&&"touchstart"===a.type?0:1)};d.prototype.searchKDTree=function(a,b,c){function g(a,b,c,l){var n=b.point,p=d.kdAxisArray[c%l],q=n;var r=e(a[f])&&e(n[f])?Math.pow(a[f]-n[f],2):null;var k=e(a[h])&&e(n[h])?Math.pow(a[h]-n[h],2):null;k=(r||0)+(k||0);n.dist=e(k)?
-Math.sqrt(k):Number.MAX_VALUE;n.distX=e(r)?Math.sqrt(r):Number.MAX_VALUE;p=a[p]-n[p];k=0>p?"left":"right";r=0>p?"right":"left";b[k]&&(k=g(a,b[k],c+1,l),q=k[m]<q[m]?k:n);b[r]&&Math.sqrt(p*p)<q[m]&&(a=g(a,b[r],c+1,l),q=a[m]<q[m]?a:q);return q}var d=this,f=this.kdAxisArray[0],h=this.kdAxisArray[1],m=b?"distX":"dist";b=-1<d.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(c);if(this.kdTree)return g(a,this.kdTree,b,b)};d.prototype.pointPlacementToXValue=function(){var a=
-this.options,b=a.pointRange,c=this.xAxis;a=a.pointPlacement;"between"===a&&(a=c.reversed?-.5:.5);return R(a)?a*(b||c.pointRange):0};d.prototype.isPointInside=function(a){return"undefined"!==typeof a.plotY&&"undefined"!==typeof a.plotX&&0<=a.plotY&&a.plotY<=this.yAxis.len&&0<=a.plotX&&a.plotX<=this.xAxis.len};d.prototype.drawTracker=function(){var a=this,b=a.options,c=b.trackByArea,e=[].concat(c?a.areaPath:a.graphPath),d=a.chart,f=d.pointer,h=d.renderer,m=d.options.tooltip.snap,l=a.tracker,n=function(b){if(d.hoverSeries!==
-a)a.onMouseOver()},p="rgba(192,192,192,"+(g?.0001:.002)+")";l?l.attr({d:e}):a.graph&&(a.tracker=h.path(e).attr({visibility:a.visible?"visible":"hidden",zIndex:2}).addClass(c?"highcharts-tracker-area":"highcharts-tracker-line").add(a.group),d.styledMode||a.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:p,fill:c?p:"none","stroke-width":a.graph.strokeWidth()+(c?0:2*m)}),[a.tracker,a.markerGroup].forEach(function(a){a.addClass("highcharts-tracker").on("mouseover",n).on("mouseout",
-function(a){f.onTrackerMouseOut(a)});b.cursor&&!d.styledMode&&a.css({cursor:b.cursor});if(E)a.on("touchstart",n)}));J(this,"afterDrawTracker")};d.prototype.addPoint=function(a,b,c,e,g){var d=this.options,f=this.data,h=this.chart,m=this.xAxis;m=m&&m.hasNames&&m.names;var l=d.data,n=this.xData,p;b=L(b,!0);var q={series:this};this.pointClass.prototype.applyOptions.apply(q,[a]);var r=q.x;var k=n.length;if(this.requireSorting&&r<n[k-1])for(p=!0;k&&n[k-1]>r;)k--;this.updateParallelArrays(q,"splice",k,0,
-0);this.updateParallelArrays(q,k);m&&q.name&&(m[r]=q.name);l.splice(k,0,a);p&&(this.data.splice(k,0,null),this.processData());"point"===d.legendType&&this.generatePoints();c&&(f[0]&&f[0].remove?f[0].remove(!1):(f.shift(),this.updateParallelArrays(q,"shift"),l.shift()));!1!==g&&J(this,"addPoint",{point:q});this.isDirtyData=this.isDirty=!0;b&&h.redraw(e)};d.prototype.removePoint=function(a,b,c){var e=this,g=e.data,d=g[a],f=e.points,h=e.chart,m=function(){f&&f.length===g.length&&f.splice(a,1);g.splice(a,
-1);e.options.data.splice(a,1);e.updateParallelArrays(d||{series:e},"splice",a,1);d&&d.destroy();e.isDirty=!0;e.isDirtyData=!0;b&&h.redraw()};l(c,h);b=L(b,!0);d?d.firePointEvent("remove",null,m):m()};d.prototype.remove=function(a,b,c,e){function g(){d.destroy(e);f.isDirtyLegend=f.isDirtyBox=!0;f.linkSeries();L(a,!0)&&f.redraw(b)}var d=this,f=d.chart;!1!==c?J(d,"remove",null,g):g()};d.prototype.update=function(c,e){c=m(c,this.userOptions);J(this,"update",{options:c});var g=this,d=g.chart,f=g.userOptions,
-h=g.initialType||g.type,l=d.options.plotOptions,n=c.type||f.type||d.options.chart.type,p=!(this.hasDerivedData||n&&n!==this.type||"undefined"!==typeof c.pointStart||"undefined"!==typeof c.pointInterval||g.hasOptionChanged("dataGrouping")||g.hasOptionChanged("pointStart")||g.hasOptionChanged("pointInterval")||g.hasOptionChanged("pointIntervalUnit")||g.hasOptionChanged("keys")),r=q[h].prototype,k,w=["eventOptions","navigatorSeries","baseSeries"],u=g.finishedAnimating&&{animation:!1},y={};p&&(w.push("data",
-"isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==c.visible&&w.push("area","graph"),g.parallelArrays.forEach(function(a){w.push(a+"Data")}),c.data&&(c.dataSorting&&b(g.options.dataSorting,c.dataSorting),this.setData(c.data,!1)));c=T(f,u,{index:"undefined"===typeof f.index?g.index:f.index,pointStart:L(l&&l.series&&l.series.pointStart,f.pointStart,g.xData[0])},!p&&
-{data:g.options.data},c);p&&c.data&&(c.data=g.options.data);w=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(w);w.forEach(function(a){w[a]=g[a];delete g[a]});if(q[n||h]){if(f=n!==g.type,g.remove(!1,!1,!1,!0),f)if(Object.setPrototypeOf)Object.setPrototypeOf(g,q[n||h].prototype);else{f=Object.hasOwnProperty.call(g,"hcEvents")&&g.hcEvents;for(k in r)g[k]=void 0;b(g,q[n||h].prototype);f?g.hcEvents=f:delete g.hcEvents}}else a(17,!0,d,{missingModuleFor:n||h});w.forEach(function(a){g[a]=
-w[a]});g.init(d,c);if(p&&this.points){var t=g.options;!1===t.visible?(y.graphic=1,y.dataLabel=1):g._hasPointLabels||(c=t.marker,n=t.dataLabels,c&&(!1===c.enabled||"symbol"in c)&&(y.graphic=1),n&&!1===n.enabled&&(y.dataLabel=1));this.points.forEach(function(a){a&&a.series&&(a.resolveColor(),Object.keys(y).length&&a.destroyElements(y),!1===t.showInLegend&&a.legendItem&&d.legend.destroyItem(a))},this)}g.initialType=h;d.linkSeries();J(this,"afterUpdate");L(e,!0)&&d.redraw(p?void 0:!1)};d.prototype.setName=
-function(a){this.name=this.options.name=this.userOptions.name=a;this.chart.isDirtyLegend=!0};d.prototype.hasOptionChanged=function(a){var b=this.options[a],c=this.chart.options.plotOptions,e=this.userOptions[a];return e?b!==e:b!==L(c&&c[this.type]&&c[this.type][a],c&&c.series&&c.series[a],b)};d.prototype.onMouseOver=function(){var a=this.chart,b=a.hoverSeries;a.pointer.setHoverChartIndex();if(b&&b!==this)b.onMouseOut();this.options.events.mouseOver&&J(this,"mouseOver");this.setState("hover");a.hoverSeries=
-this};d.prototype.onMouseOut=function(){var a=this.options,b=this.chart,c=b.tooltip,e=b.hoverPoint;b.hoverSeries=null;if(e)e.onMouseOut();this&&a.events.mouseOut&&J(this,"mouseOut");!c||this.stickyTracking||c.shared&&!this.noSharedTooltip||c.hide();b.series.forEach(function(a){a.setState("",!0)})};d.prototype.setState=function(a,b){var c=this,e=c.options,g=c.graph,d=e.inactiveOtherPoints,f=e.states,h=e.lineWidth,m=e.opacity,l=L(f[a||"normal"]&&f[a||"normal"].animation,c.chart.options.chart.animation);
-e=0;a=a||"";if(c.state!==a&&([c.group,c.markerGroup,c.dataLabelsGroup].forEach(function(b){b&&(c.state&&b.removeClass("highcharts-series-"+c.state),a&&b.addClass("highcharts-series-"+a))}),c.state=a,!c.chart.styledMode)){if(f[a]&&!1===f[a].enabled)return;a&&(h=f[a].lineWidth||h+(f[a].lineWidthPlus||0),m=L(f[a].opacity,m));if(g&&!g.dashstyle)for(f={"stroke-width":h},g.animate(f,l);c["zone-graph-"+e];)c["zone-graph-"+e].animate(f,l),e+=1;d||[c.group,c.markerGroup,c.dataLabelsGroup,c.labelBySeries].forEach(function(a){a&&
-a.animate({opacity:m},l)})}b&&d&&c.points&&c.setAllPointsToState(a||void 0)};d.prototype.setAllPointsToState=function(a){this.points.forEach(function(b){b.setState&&b.setState(a)})};d.prototype.setVisible=function(a,b){var c=this,e=c.chart,g=c.legendItem,d=e.options.chart.ignoreHiddenSeries,f=c.visible;var h=(c.visible=a=c.options.visible=c.userOptions.visible="undefined"===typeof a?!f:a)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(a){if(c[a])c[a][h]()});
-if(e.hoverSeries===c||(e.hoverPoint&&e.hoverPoint.series)===c)c.onMouseOut();g&&e.legend.colorizeItem(c,a);c.isDirty=!0;c.options.stacking&&e.series.forEach(function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});c.linkedSeries.forEach(function(b){b.setVisible(a,!1)});d&&(e.isDirtyBox=!0);J(c,h);!1!==b&&e.redraw()};d.prototype.show=function(){this.setVisible(!0)};d.prototype.hide=function(){this.setVisible(!1)};d.prototype.select=function(a){this.selected=a=this.options.selected="undefined"===
-typeof a?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);J(this,a?"select":"unselect")};d.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:B.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:B.neutralColor20,lineColor:B.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},
-align:"center",defer:!0,formatter:function(){var a=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":a(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},
-stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"};return d}();b(f.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:k.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:G,requireSorting:!0,sorted:!0});D.series=f;"";"";return f});P(k,"Extensions/ScrollablePlotArea.js",[k["Core/Animation/AnimationUtilities.js"],k["Core/Axis/Axis.js"],k["Core/Chart/Chart.js"],k["Core/Series/Series.js"],
-k["Core/Globals.js"],k["Core/Utilities.js"]],function(f,d,k,x,B,G){var D=f.stop,H=G.addEvent,t=G.createElement,C=G.merge,l=G.pick;"";H(k,"afterSetChartSize",function(d){var g=this.options.chart.scrollablePlotArea,f=g&&g.minWidth;g=g&&g.minHeight;if(!this.renderer.forExport){if(f){if(this.scrollablePixelsX=f=Math.max(0,f-this.chartWidth)){this.scrollablePlotBox=C(this.plotBox);this.plotWidth+=f;this.inverted?(this.clipBox.height+=f,this.plotBox.height+=f):(this.clipBox.width+=f,this.plotBox.width+=
-f);var c={1:{name:"right",value:f}}}}else g&&(this.scrollablePixelsY=f=Math.max(0,g-this.chartHeight))&&(this.scrollablePlotBox=C(this.plotBox),this.plotHeight+=f,this.inverted?(this.clipBox.width+=f,this.plotBox.width+=f):(this.clipBox.height+=f,this.plotBox.height+=f),c={2:{name:"bottom",value:f}});c&&!d.skipAxes&&this.axes.forEach(function(g){c[g.side]?g.getPlotLinePath=function(){var d=c[g.side].name,f=this[d];this[d]=f-c[g.side].value;var l=B.Axis.prototype.getPlotLinePath.apply(this,arguments);
-this[d]=f;return l}:(g.setAxisSize(),g.setAxisTranslation())})}});H(k,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});k.prototype.setUpScrolling=function(){var d=this,g={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(g.overflowX="auto");this.scrollablePixelsY&&(g.overflowY="auto");this.scrollingParent=t("div",{className:"highcharts-scrolling-parent"},
-{position:"relative"},this.renderTo);this.scrollingContainer=t("div",{className:"highcharts-scrolling"},g,this.scrollingParent);H(this.scrollingContainer,"scroll",function(){d.pointer&&delete d.pointer.chartPosition});this.innerContainer=t("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};k.prototype.moveFixedElements=function(){var d=this.container,g=this.fixedRenderer,f=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),
-c;this.scrollablePixelsX&&!this.inverted?c=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?c=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?c=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(c=".highcharts-yaxis");c&&f.push(c+":not(.highcharts-radial-axis)",c+"-labels:not(.highcharts-radial-axis-labels)");f.forEach(function(c){[].forEach.call(d.querySelectorAll(c),function(c){(c.namespaceURI===g.SVG_NS?g.box:g.box.parentNode).appendChild(c);c.style.pointerEvents="auto"})})};
-k.prototype.applyFixed=function(){var f=this,g,k,c,q=!this.fixedDiv,n=this.options.chart,A=n.scrollablePlotArea;q?(this.fixedDiv=t("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:((null===(g=n.style)||void 0===g?void 0:g.zIndex)||0)+2,top:0},null,!0),null===(k=this.scrollingContainer)||void 0===k?void 0:k.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=g=new B.Renderer(this.fixedDiv,
-this.chartWidth,this.chartHeight,null===(c=this.options.chart)||void 0===c?void 0:c.style),this.scrollableMask=g.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":l(A.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),H(this,"afterShowResetZoom",this.moveFixedElements),H(this,"afterLayOutTitles",this.moveFixedElements),H(d,"afterInit",function(){f.scrollableDirty=!0}),H(x,"show",function(){f.scrollableDirty=!0})):this.fixedRenderer.setSize(this.chartWidth,
-this.chartHeight);if(this.scrollableDirty||q)this.scrollableDirty=!1,this.moveFixedElements();c=this.chartWidth+(this.scrollablePixelsX||0);g=this.chartHeight+(this.scrollablePixelsY||0);D(this.container);this.container.style.width=c+"px";this.container.style.height=g+"px";this.renderer.boxWrapper.attr({width:c,height:g,viewBox:[0,0,c,g].join(" ")});this.chartBackground.attr({width:c,height:g});this.scrollingContainer.style.height=this.chartHeight+"px";q&&(A.scrollPositionX&&(this.scrollingContainer.scrollLeft=
-this.scrollablePixelsX*A.scrollPositionX),A.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*A.scrollPositionY));g=this.axisOffset;q=this.plotTop-g[0]-1;A=this.plotLeft-g[3]-1;c=this.plotTop+this.plotHeight+g[2]+1;g=this.plotLeft+this.plotWidth+g[1]+1;k=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0);n=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);q=this.scrollablePixelsX?[["M",0,q],["L",this.plotLeft-1,q],["L",this.plotLeft-1,c],["L",0,c],["Z"],["M",
-k,q],["L",this.chartWidth,q],["L",this.chartWidth,c],["L",k,c],["Z"]]:this.scrollablePixelsY?[["M",A,0],["L",A,this.plotTop-1],["L",g,this.plotTop-1],["L",g,0],["Z"],["M",A,n],["L",A,this.chartHeight],["L",g,this.chartHeight],["L",g,n],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:q})}});P(k,"Core/Axis/StackingAxis.js",[k["Core/Animation/AnimationUtilities.js"],k["Core/Utilities.js"]],function(f,d){var k=f.getDeferredAnimation,x=d.addEvent,B=d.destroyObjectProperties,
-G=d.fireEvent,D=d.objectEach,H=d.pick,t=function(){function d(d){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=d}d.prototype.buildStacks=function(){var d=this.axis,f=d.series,g=H(d.options.reversedStacks,!0),k=f.length,c;if(!d.isXAxis){this.usePercentage=!1;for(c=k;c--;){var q=f[g?c:k-c-1];q.setStackedPoints();q.setGroupedPoints()}for(c=0;c<k;c++)f[c].modifyStacks();G(d,"afterBuildStacks")}};d.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var d=this.stacks=
-this.oldStacks;D(d,function(d){D(d,function(g){g.cumulative=g.total})})}};d.prototype.resetStacks=function(){var d=this,f=d.stacks;d.axis.isXAxis||D(f,function(g){D(g,function(f,c){f.touched<d.stacksTouched?(f.destroy(),delete g[c]):(f.total=null,f.cumulative=null)})})};d.prototype.renderStackTotals=function(){var d=this.axis,f=d.chart,g=f.renderer,t=this.stacks;d=k(f,d.options.stackLabels.animation);var c=this.stackTotalGroup=this.stackTotalGroup||g.g("stack-labels").attr({visibility:"visible",zIndex:6,
-opacity:0}).add();c.translate(f.plotLeft,f.plotTop);D(t,function(g){D(g,function(g){g.render(c)})});c.animate({opacity:1},d)};return d}();return function(){function d(){}d.compose=function(f){x(f,"init",d.onInit);x(f,"destroy",d.onDestroy)};d.onDestroy=function(){var d=this.stacking;if(d){var f=d.stacks;D(f,function(g,d){B(g);f[d]=null});d&&d.stackTotalGroup&&d.stackTotalGroup.destroy()}};d.onInit=function(){this.stacking||(this.stacking=new t(this))};return d}()});P(k,"Extensions/Stacking.js",[k["Core/Axis/Axis.js"],
-k["Core/Chart/Chart.js"],k["Core/Globals.js"],k["Core/Series/Series.js"],k["Core/Axis/StackingAxis.js"],k["Core/Utilities.js"]],function(f,d,k,x,B,G){var D=G.correctFloat,H=G.defined,t=G.destroyObjectProperties,C=G.format,l=G.isArray,E=G.isNumber,g=G.pick;"";var y=function(){function c(c,g,d,f,l){var m=c.chart.inverted;this.axis=c;this.isNegative=d;this.options=g=g||{};this.x=f;this.total=null;this.points={};this.hasValidPoints=!1;this.stack=l;this.rightCliff=this.leftCliff=0;this.alignOptions={align:g.align||
-(m?d?"left":"right":"center"),verticalAlign:g.verticalAlign||(m?"middle":d?"bottom":"top"),y:g.y,x:g.x};this.textAlign=g.textAlign||(m?d?"right":"left":"center")}c.prototype.destroy=function(){t(this,this.axis)};c.prototype.render=function(c){var d=this.axis.chart,f=this.options,l=f.format;l=l?C(l,this,d):f.formatter.call(this);this.label?this.label.attr({text:l,visibility:"hidden"}):(this.label=d.renderer.label(l,null,null,f.shape,null,null,f.useHTML,!1,"stack-labels"),l={r:f.borderRadius||0,text:l,
-rotation:f.rotation,padding:g(f.padding,5),visibility:"hidden"},d.styledMode||(l.fill=f.backgroundColor,l.stroke=f.borderColor,l["stroke-width"]=f.borderWidth,this.label.css(f.style)),this.label.attr(l),this.label.added||this.label.add(c));this.label.labelrank=d.plotSizeY};c.prototype.setOffset=function(c,d,f,l,k){var m=this.axis,n=m.chart;l=m.translate(m.stacking.usePercentage?100:l?l:this.total,0,0,0,1);f=m.translate(f?f:0);f=H(l)&&Math.abs(l-f);c=g(k,n.xAxis[0].translate(this.x))+c;m=H(l)&&this.getStackBox(n,
-this,c,l,d,f,m);d=this.label;f=this.isNegative;c="justify"===g(this.options.overflow,"justify");var e=this.textAlign;d&&m&&(k=d.getBBox(),l=d.padding,e="left"===e?n.inverted?-l:l:"right"===e?k.width:n.inverted&&"center"===e?k.width/2:n.inverted?f?k.width+l:-l:k.width/2,f=n.inverted?k.height/2:f?-l:k.height,this.alignOptions.x=g(this.options.x,0),this.alignOptions.y=g(this.options.y,0),m.x-=e,m.y-=f,d.align(this.alignOptions,null,m),n.isInsidePlot(d.alignAttr.x+e-this.alignOptions.x,d.alignAttr.y+
-f-this.alignOptions.y)?d.show():(d.alignAttr.y=-9999,c=!1),c&&x.prototype.justifyDataLabel.call(this.axis,d,this.alignOptions,d.alignAttr,k,m),d.attr({x:d.alignAttr.x,y:d.alignAttr.y}),g(!c&&this.options.crop,!0)&&((n=E(d.x)&&E(d.y)&&n.isInsidePlot(d.x-l+d.width,d.y)&&n.isInsidePlot(d.x+l,d.y))||d.hide()))};c.prototype.getStackBox=function(c,g,d,f,l,m,k){var e=g.axis.reversed,h=c.inverted,a=k.height+k.pos-(h?c.plotLeft:c.plotTop);g=g.isNegative&&!e||!g.isNegative&&e;return{x:h?g?f-k.right:f-m+k.pos-
-c.plotLeft:d+c.xAxis[0].transB-c.plotLeft,y:h?k.height-d-l:g?a-f-m:a-f,width:h?m:l,height:h?l:m}};return c}();d.prototype.getStacks=function(){var c=this,d=c.inverted;c.yAxis.forEach(function(c){c.stacking&&c.stacking.stacks&&c.hasVisibleSeries&&(c.stacking.oldStacks=c.stacking.stacks)});c.series.forEach(function(f){var l=f.xAxis&&f.xAxis.options||{};!f.options.stacking||!0!==f.visible&&!1!==c.options.chart.ignoreHiddenSeries||(f.stackKey=[f.type,g(f.options.stack,""),d?l.top:l.left,d?l.height:l.width].join())})};
-B.compose(f);x.prototype.setGroupedPoints=function(){this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length&&x.prototype.setStackedPoints.call(this,"group")};x.prototype.setStackedPoints=function(c){var d=c||this.options.stacking;if(d&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var f=this.processedXData,k=this.processedYData,t=[],z=k.length,m=this.options,r=m.threshold,e=g(m.startFromThreshold&&r,0);
-m=m.stack;c=c?this.type+","+d:this.stackKey;var h="-"+c,a=this.negStacks,b=this.yAxis,w=b.stacking.stacks,C=b.stacking.oldStacks,E,F;b.stacking.stacksTouched+=1;for(F=0;F<z;F++){var x=f[F];var R=k[F];var Q=this.getStackIndicator(Q,x,this.index);var B=Q.key;var v=(E=a&&R<(e?0:r))?h:c;w[v]||(w[v]={});w[v][x]||(C[v]&&C[v][x]?(w[v][x]=C[v][x],w[v][x].total=null):w[v][x]=new y(b,b.options.stackLabels,E,x,m));v=w[v][x];null!==R?(v.points[B]=v.points[this.index]=[g(v.cumulative,e)],H(v.cumulative)||(v.base=
-B),v.touched=b.stacking.stacksTouched,0<Q.index&&!1===this.singleStacks&&(v.points[B][0]=v.points[this.index+","+x+",0"][0])):v.points[B]=v.points[this.index]=null;"percent"===d?(E=E?c:h,a&&w[E]&&w[E][x]?(E=w[E][x],v.total=E.total=Math.max(E.total,v.total)+Math.abs(R)||0):v.total=D(v.total+(Math.abs(R)||0))):"group"===d?(l(R)&&(R=R[0]),null!==R&&(v.total=(v.total||0)+1)):v.total=D(v.total+(R||0));v.cumulative="group"===d?(v.total||1)-1:g(v.cumulative,e)+(R||0);null!==R&&(v.points[B].push(v.cumulative),
-t[F]=v.cumulative,v.hasValidPoints=!0)}"percent"===d&&(b.stacking.usePercentage=!0);"group"!==d&&(this.stackedYData=t);b.stacking.oldStacks={}}};x.prototype.modifyStacks=function(){var c=this,g=c.stackKey,d=c.yAxis.stacking.stacks,f=c.processedXData,l,k=c.options.stacking;c[k+"Stacker"]&&[g,"-"+g].forEach(function(g){for(var m=f.length,e,h;m--;)if(e=f[m],l=c.getStackIndicator(l,e,c.index,g),h=(e=d[g]&&d[g][e])&&e.points[l.key])c[k+"Stacker"](h,e,m)})};x.prototype.percentStacker=function(c,g,d){g=
-g.total?100/g.total:0;c[0]=D(c[0]*g);c[1]=D(c[1]*g);this.stackedYData[d]=c[1]};x.prototype.getStackIndicator=function(c,g,d,f){!H(c)||c.x!==g||f&&c.key!==f?c={x:g,index:0,key:f}:c.index++;c.key=[d,g,c.index].join();return c};k.StackItem=y;return k.StackItem});P(k,"Series/Line/LineSeries.js",[k["Core/Color/Palette.js"],k["Core/Series/Series.js"],k["Core/Series/SeriesRegistry.js"],k["Core/Utilities.js"]],function(f,d,k,x){var B=this&&this.__extends||function(){var d=function(f,k){d=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var g in f)f.hasOwnProperty(g)&&(d[g]=f[g])};return d(f,k)};return function(f,k){function l(){this.constructor=f}d(f,k);f.prototype=null===k?Object.create(k):(l.prototype=k.prototype,new l)}}(),G=x.defined,D=x.merge;x=function(k){function t(){var d=null!==k&&k.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;return d}B(t,k);t.prototype.drawGraph=function(){var d=this,l=this.options,k=(this.gappedPath||
-this.getGraphPath).call(this),g=this.chart.styledMode,t=[["graph","highcharts-graph"]];g||t[0].push(l.lineColor||this.color||f.neutralColor20,l.dashStyle);t=d.getZonesGraphs(t);t.forEach(function(c,f){var n=c[0],q=d[n],t=q?"animate":"attr";q?(q.endX=d.preventGraphAnimation?null:k.xMap,q.animate({d:k})):k.length&&(d[n]=q=d.chart.renderer.path(k).addClass(c[1]).attr({zIndex:1}).add(d.group));q&&!g&&(n={stroke:c[2],"stroke-width":l.lineWidth,fill:d.fillGraph&&d.color||"none"},c[3]?n.dashstyle=c[3]:"square"!==
-l.linecap&&(n["stroke-linecap"]=n["stroke-linejoin"]="round"),q[t](n).shadow(2>f&&l.shadow));q&&(q.startX=k.xMap,q.isArea=k.isArea)})};t.prototype.getGraphPath=function(d,f,k){var g=this,l=g.options,c=l.step,q,n=[],t=[],E;d=d||g.points;(q=d.reversed)&&d.reverse();(c={right:1,center:2}[c]||c&&3)&&q&&(c=4-c);d=this.getValidPoints(d,!1,!(l.connectNulls&&!f&&!k));d.forEach(function(q,m){var r=q.plotX,e=q.plotY,h=d[m-1];(q.leftCliff||h&&h.rightCliff)&&!k&&(E=!0);q.isNull&&!G(f)&&0<m?E=!l.connectNulls:
-q.isNull&&!f?E=!0:(0===m||E?m=[["M",q.plotX,q.plotY]]:g.getPointSpline?m=[g.getPointSpline(d,q,m)]:c?(m=1===c?[["L",h.plotX,e]]:2===c?[["L",(h.plotX+r)/2,h.plotY],["L",(h.plotX+r)/2,e]]:[["L",r,h.plotY]],m.push(["L",r,e])):m=[["L",r,e]],t.push(q.x),c&&(t.push(q.x),2===c&&t.push(q.x)),n.push.apply(n,m),E=!1)});n.xMap=t;return g.graphPath=n};t.prototype.getZonesGraphs=function(d){this.zones.forEach(function(f,k){k=["zone-graph-"+k,"highcharts-graph highcharts-zone-graph-"+k+" "+(f.className||"")];this.chart.styledMode||
-k.push(f.color||this.color,f.dashStyle||this.options.dashStyle);d.push(k)},this);return d};t.defaultOptions=D(d.defaultOptions,{});return t}(d);k.registerSeriesType("line",x);"";return x});P(k,"Series/Area/AreaSeries.js",[k["Core/Color/Color.js"],k["Mixins/LegendSymbol.js"],k["Core/Series/SeriesRegistry.js"],k["Core/Utilities.js"]],function(f,d,k,x){var B=this&&this.__extends||function(){var d=function(f,g){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,c){g.__proto__=c}||function(g,
-c){for(var d in c)c.hasOwnProperty(d)&&(g[d]=c[d])};return d(f,g)};return function(f,g){function l(){this.constructor=f}d(f,g);f.prototype=null===g?Object.create(g):(l.prototype=g.prototype,new l)}}(),G=f.parse,D=k.seriesTypes.line;f=x.extend;var H=x.merge,t=x.objectEach,C=x.pick;x=function(d){function f(){var g=null!==d&&d.apply(this,arguments)||this;g.data=void 0;g.options=void 0;g.points=void 0;return g}B(f,d);f.prototype.drawGraph=function(){this.areaPath=[];d.prototype.drawGraph.apply(this);
-var g=this,f=this.areaPath,c=this.options,l=[["area","highcharts-area",this.color,c.fillColor]];this.zones.forEach(function(d,f){l.push(["zone-area-"+f,"highcharts-area highcharts-zone-area-"+f+" "+d.className,d.color||g.color,d.fillColor||c.fillColor])});l.forEach(function(d){var l=d[0],n=g[l],k=n?"animate":"attr",m={};n?(n.endX=g.preventGraphAnimation?null:f.xMap,n.animate({d:f})):(m.zIndex=0,n=g[l]=g.chart.renderer.path(f).addClass(d[1]).add(g.group),n.isArea=!0);g.chart.styledMode||(m.fill=C(d[3],
-G(d[2]).setOpacity(C(c.fillOpacity,.75)).get()));n[k](m);n.startX=f.xMap;n.shiftUnit=c.step?2:1})};f.prototype.getGraphPath=function(g){var d=D.prototype.getGraphPath,c=this.options,f=c.stacking,l=this.yAxis,k,t=[],z=[],m=this.index,r=l.stacking.stacks[this.stackKey],e=c.threshold,h=Math.round(l.getThreshold(c.threshold));c=C(c.connectNulls,"percent"===f);var a=function(a,b,c){var d=g[a];a=f&&r[d.x].points[m];var k=d[c+"Null"]||0;c=d[c+"Cliff"]||0;d=!0;if(c||k){var n=(k?a[0]:a[1])+c;var q=a[0]+c;
-d=!!k}else!f&&g[b]&&g[b].isNull&&(n=q=e);"undefined"!==typeof n&&(z.push({plotX:w,plotY:null===n?h:l.getThreshold(n),isNull:d,isCliff:!0}),t.push({plotX:w,plotY:null===q?h:l.getThreshold(q),doCurve:!1}))};g=g||this.points;f&&(g=this.getStackPoints(g));for(k=0;k<g.length;k++){f||(g[k].leftCliff=g[k].rightCliff=g[k].leftNull=g[k].rightNull=void 0);var b=g[k].isNull;var w=C(g[k].rectPlotX,g[k].plotX);var E=f?C(g[k].yBottom,h):h;if(!b||c)c||a(k,k-1,"left"),b&&!f&&c||(z.push(g[k]),t.push({x:k,plotX:w,
-plotY:E})),c||a(k,k+1,"right")}k=d.call(this,z,!0,!0);t.reversed=!0;b=d.call(this,t,!0,!0);(E=b[0])&&"M"===E[0]&&(b[0]=["L",E[1],E[2]]);b=k.concat(b);d=d.call(this,z,!1,c);b.xMap=k.xMap;this.areaPath=b;return d};f.prototype.getStackPoints=function(d){var g=[],c=[],f=this.xAxis,l=this.yAxis,k=l.stacking.stacks[this.stackKey],E={},z=this.index,m=l.series,r=m.length,e=C(l.options.reversedStacks,!0)?1:-1,h;d=d||this.points;if(this.options.stacking){for(h=0;h<d.length;h++)d[h].leftNull=d[h].rightNull=
-void 0,E[d[h].x]=d[h];t(k,function(a,e){null!==a.total&&c.push(e)});c.sort(function(a,c){return a-c});var a=m.map(function(a){return a.visible});c.forEach(function(b,d){var m=0,n,q;if(E[b]&&!E[b].isNull)g.push(E[b]),[-1,1].forEach(function(g){var f=1===g?"rightNull":"leftNull",m=0,l=k[c[d+g]];if(l)for(h=z;0<=h&&h<r;)n=l.points[h],n||(h===z?E[b][f]=!0:a[h]&&(q=k[b].points[h])&&(m-=q[1]-q[0])),h+=e;E[b][1===g?"rightCliff":"leftCliff"]=m});else{for(h=z;0<=h&&h<r;){if(n=k[b].points[h]){m=n[1];break}h+=
-e}m=l.translate(m,0,1,0,1);g.push({isNull:!0,plotX:f.translate(b,0,0,0,1),x:b,plotY:m,yBottom:m})}})}return g};f.defaultOptions=H(D.defaultOptions,{threshold:0});return f}(D);f(x.prototype,{singleStacks:!1,drawLegendSymbol:d.drawRectangle});k.registerSeriesType("area",x);"";return x});P(k,"Series/Spline/SplineSeries.js",[k["Core/Series/SeriesRegistry.js"],k["Core/Utilities.js"]],function(f,d){var k=this&&this.__extends||function(){var d=function(f,k){d=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(d,f){d.__proto__=f}||function(d,f){for(var l in f)f.hasOwnProperty(l)&&(d[l]=f[l])};return d(f,k)};return function(f,k){function t(){this.constructor=f}d(f,k);f.prototype=null===k?Object.create(k):(t.prototype=k.prototype,new t)}}(),x=f.seriesTypes.line,B=d.merge,G=d.pick;d=function(d){function f(){var f=null!==d&&d.apply(this,arguments)||this;f.data=void 0;f.options=void 0;f.points=void 0;return f}k(f,d);f.prototype.getPointSpline=function(d,f,l){var k=f.plotX||0,g=f.plotY||0,t=d[l-
-1];l=d[l+1];if(t&&!t.isNull&&!1!==t.doCurve&&!f.isCliff&&l&&!l.isNull&&!1!==l.doCurve&&!f.isCliff){d=t.plotY||0;var c=l.plotX||0;l=l.plotY||0;var q=0;var n=(1.5*k+(t.plotX||0))/2.5;var x=(1.5*g+d)/2.5;c=(1.5*k+c)/2.5;var C=(1.5*g+l)/2.5;c!==n&&(q=(C-x)*(c-k)/(c-n)+g-C);x+=q;C+=q;x>d&&x>g?(x=Math.max(d,g),C=2*g-x):x<d&&x<g&&(x=Math.min(d,g),C=2*g-x);C>l&&C>g?(C=Math.max(l,g),x=2*g-C):C<l&&C<g&&(C=Math.min(l,g),x=2*g-C);f.rightContX=c;f.rightContY=C}f=["C",G(t.rightContX,t.plotX,0),G(t.rightContY,t.plotY,
-0),G(n,k,0),G(x,g,0),k,g];t.rightContX=t.rightContY=void 0;return f};f.defaultOptions=B(x.defaultOptions);return f}(x);f.registerSeriesType("spline",d);"";return d});P(k,"Series/AreaSpline/AreaSplineSeries.js",[k["Series/Area/AreaSeries.js"],k["Series/Spline/SplineSeries.js"],k["Mixins/LegendSymbol.js"],k["Core/Series/SeriesRegistry.js"],k["Core/Utilities.js"]],function(f,d,k,x,B){var G=this&&this.__extends||function(){var d=function(f,k){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,
-f){d.__proto__=f}||function(d,f){for(var c in f)f.hasOwnProperty(c)&&(d[c]=f[c])};return d(f,k)};return function(f,k){function g(){this.constructor=f}d(f,k);f.prototype=null===k?Object.create(k):(g.prototype=k.prototype,new g)}}(),D=f.prototype,H=B.extend,t=B.merge;B=function(k){function l(){var d=null!==k&&k.apply(this,arguments)||this;d.data=void 0;d.points=void 0;d.options=void 0;return d}G(l,k);l.defaultOptions=t(d.defaultOptions,f.defaultOptions);return l}(d);H(B.prototype,{getGraphPath:D.getGraphPath,
-getStackPoints:D.getStackPoints,drawGraph:D.drawGraph,drawLegendSymbol:k.drawRectangle});x.registerSeriesType("areaspline",B);"";return B});P(k,"Series/Column/ColumnSeries.js",[k["Core/Animation/AnimationUtilities.js"],k["Core/Color/Color.js"],k["Core/Globals.js"],k["Mixins/LegendSymbol.js"],k["Core/Color/Palette.js"],k["Core/Series/Series.js"],k["Core/Series/SeriesRegistry.js"],k["Core/Utilities.js"]],function(f,d,k,x,B,G,D,H){var t=this&&this.__extends||function(){var c=function(e,a){c=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return c(e,a)};return function(e,a){function b(){this.constructor=e}c(e,a);e.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),C=f.animObject,l=d.parse,E=k.hasTouch;f=k.noop;var g=H.clamp,y=H.css,c=H.defined,q=H.extend,n=H.fireEvent,A=H.isArray,M=H.isNumber,z=H.merge,m=H.pick,r=H.objectEach;H=function(e){function d(){var a=null!==e&&e.apply(this,arguments)||
-this;a.borderWidth=void 0;a.data=void 0;a.group=void 0;a.options=void 0;a.points=void 0;return a}t(d,e);d.prototype.animate=function(a){var b=this,c=this.yAxis,e=b.options,d=this.chart.inverted,f={},h=d?"translateX":"translateY";if(a)f.scaleY=.001,a=g(c.toPixels(e.threshold),c.pos,c.pos+c.len),d?f.translateX=a-c.len:f.translateY=a,b.clipBox&&b.setClip(),b.group.attr(f);else{var m=b.group.attr(h);b.group.animate({scaleY:1},q(C(b.options.animation),{step:function(a,e){b.group&&(f[h]=m+e.pos*(c.pos-
-m),b.group.attr(f))}}))}};d.prototype.init=function(a,b){e.prototype.init.apply(this,arguments);var c=this;a=c.chart;a.hasRendered&&a.series.forEach(function(a){a.type===c.type&&(a.isDirty=!0)})};d.prototype.getColumnMetrics=function(){var a=this,b=a.options,c=a.xAxis,e=a.yAxis,d=c.options.reversedStacks;d=c.reversed&&!d||!c.reversed&&d;var g,f={},h=0;!1===b.grouping?h=1:a.chart.series.forEach(function(b){var c=b.yAxis,d=b.options;if(b.type===a.type&&(b.visible||!a.chart.options.chart.ignoreHiddenSeries)&&
-e.len===c.len&&e.pos===c.pos){if(d.stacking&&"group"!==d.stacking){g=b.stackKey;"undefined"===typeof f[g]&&(f[g]=h++);var m=f[g]}else!1!==d.grouping&&(m=h++);b.columnIndex=m}});var l=Math.min(Math.abs(c.transA)*(c.ordinal&&c.ordinal.slope||b.pointRange||c.closestPointRange||c.tickInterval||1),c.len),k=l*b.groupPadding,n=(l-2*k)/(h||1);b=Math.min(b.maxPointWidth||c.len,m(b.pointWidth,n*(1-2*b.pointPadding)));a.columnMetrics={width:b,offset:(n-b)/2+(k+((a.columnIndex||0)+(d?1:0))*n-l/2)*(d?-1:1),paddedWidth:n,
-columnCount:h};return a.columnMetrics};d.prototype.crispCol=function(a,b,c,e){var d=this.chart,g=this.borderWidth,f=-(g%2?.5:0);g=g%2?.5:1;d.inverted&&d.renderer.isVML&&(g+=1);this.options.crisp&&(c=Math.round(a+c)+f,a=Math.round(a)+f,c-=a);e=Math.round(b+e)+g;f=.5>=Math.abs(b)&&.5<e;b=Math.round(b)+g;e-=b;f&&e&&(--b,e+=1);return{x:a,y:b,width:c,height:e}};d.prototype.adjustForMissingColumns=function(a,b,c,e){var d=this,g=this.options.stacking;if(!c.isNull&&1<e.columnCount){var f=0,h=0;r(this.yAxis.stacking&&
-this.yAxis.stacking.stacks,function(a){if("number"===typeof c.x&&(a=a[c.x.toString()])){var b=a.points[d.index],e=a.total;g?(b&&(f=h),a.hasValidPoints&&h++):A(b)&&(f=b[1],h=e||0)}});a=(c.plotX||0)+((h-1)*e.paddedWidth+b)/2-b-f*e.paddedWidth}return a};d.prototype.translate=function(){var a=this,b=a.chart,e=a.options,d=a.dense=2>a.closestPointRange*a.xAxis.transA;d=a.borderWidth=m(e.borderWidth,d?0:1);var f=a.xAxis,h=a.yAxis,l=e.threshold,k=a.translatedThreshold=h.getThreshold(l),n=m(e.minPointLength,
-5),q=a.getColumnMetrics(),r=q.width,t=a.barW=Math.max(r,1+2*d),p=a.pointXOffset=q.offset,y=a.dataMin,z=a.dataMax;b.inverted&&(k-=.5);e.pointPadding&&(t=Math.ceil(t));G.prototype.translate.apply(a);a.points.forEach(function(d){var w=m(d.yBottom,k),v=999+Math.abs(w),F=r,x=d.plotX||0;v=g(d.plotY,-v,h.len+v);var E=x+p,C=t,A=Math.min(v,w),B=Math.max(v,w)-A;if(n&&Math.abs(B)<n){B=n;var H=!h.reversed&&!d.negative||h.reversed&&d.negative;M(l)&&M(z)&&d.y===l&&z<=l&&(h.min||0)<l&&(y!==z||(h.max||0)<=l)&&(H=
-!H);A=Math.abs(A-k)>n?w-n:k-(H?n:0)}c(d.options.pointWidth)&&(F=C=Math.ceil(d.options.pointWidth),E-=Math.round((F-r)/2));e.centerInCategory&&(E=a.adjustForMissingColumns(E,F,d,q));d.barX=E;d.pointWidth=F;d.tooltipPos=b.inverted?[g(h.len+h.pos-b.plotLeft-v,h.pos-b.plotLeft,h.len+h.pos-b.plotLeft),f.len+f.pos-b.plotTop-(x||0)-p-C/2,B]:[f.left-b.plotLeft+E+C/2,g(v+h.pos-b.plotTop,h.pos-b.plotTop,h.len+h.pos-b.plotTop),B];d.shapeType=a.pointClass.prototype.shapeType||"rect";d.shapeArgs=a.crispCol.apply(a,
-d.isNull?[E,k,C,0]:[E,A,C,B])})};d.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};d.prototype.pointAttribs=function(a,b){var c=this.options,e=this.pointAttrToOptions||{};var d=e.stroke||"borderColor";var g=e["stroke-width"]||"borderWidth",f=a&&a.color||this.color,h=a&&a[d]||c[d]||this.color||f,k=a&&a[g]||c[g]||this[g]||0;e=a&&a.options.dashStyle||c.dashStyle;var n=m(a&&a.opacity,c.opacity,1);if(a&&this.zones.length){var q=a.getZone();f=a.options.color||
-q&&(q.color||a.nonZonedColor)||this.color;q&&(h=q.borderColor||h,e=q.dashStyle||e,k=q.borderWidth||k)}b&&a&&(a=z(c.states[b],a.options.states&&a.options.states[b]||{}),b=a.brightness,f=a.color||"undefined"!==typeof b&&l(f).brighten(a.brightness).get()||f,h=a[d]||h,k=a[g]||k,e=a.dashStyle||e,n=m(a.opacity,n));d={fill:f,stroke:h,"stroke-width":k,opacity:n};e&&(d.dashstyle=e);return d};d.prototype.drawPoints=function(){var a=this,b=this.chart,c=a.options,e=b.renderer,d=c.animationLimit||250,g;a.points.forEach(function(f){var h=
-f.graphic,m=!!h,l=h&&b.pointCount<d?"animate":"attr";if(M(f.plotY)&&null!==f.y){g=f.shapeArgs;h&&f.hasNewShapeType()&&(h=h.destroy());a.enabledDataSorting&&(f.startXPos=a.xAxis.reversed?-(g?g.width:0):a.xAxis.width);h||(f.graphic=h=e[f.shapeType](g).add(f.group||a.group))&&a.enabledDataSorting&&b.hasRendered&&b.pointCount<d&&(h.attr({x:f.startXPos}),m=!0,l="animate");if(h&&m)h[l](z(g));if(c.borderRadius)h[l]({r:c.borderRadius});b.styledMode||h[l](a.pointAttribs(f,f.selected&&"select")).shadow(!1!==
-f.allowShadow&&c.shadow,null,c.stacking&&!c.borderRadius);h&&(h.addClass(f.getClassName(),!0),h.attr({visibility:f.visible?"inherit":"hidden"}))}else h&&(f.graphic=h.destroy())})};d.prototype.drawTracker=function(){var a=this,b=a.chart,c=b.pointer,e=function(a){var b=c.getPointFromEvent(a);"undefined"!==typeof b&&(c.isDirectTouch=!0,b.onMouseOver(a))},d;a.points.forEach(function(a){d=A(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[];a.graphic&&(a.graphic.element.point=a);d.forEach(function(b){b.div?
-b.div.point=a:b.element.point=a})});a._hasTracking||(a.trackerGroups.forEach(function(d){if(a[d]){a[d].addClass("highcharts-tracker").on("mouseover",e).on("mouseout",function(a){c.onTrackerMouseOut(a)});if(E)a[d].on("touchstart",e);!b.styledMode&&a.options.cursor&&a[d].css(y).css({cursor:a.options.cursor})}}),a._hasTracking=!0);n(this,"afterDrawTracker")};d.prototype.remove=function(){var a=this,b=a.chart;b.hasRendered&&b.series.forEach(function(b){b.type===a.type&&(b.isDirty=!0)});G.prototype.remove.apply(a,
-arguments)};d.defaultOptions=z(G.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:B.neutralColor20,borderColor:B.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:B.backgroundColor});return d}(G);q(H.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:x.drawRectangle,
-getSymbol:f,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]});D.registerSeriesType("column",H);"";"";return H});P(k,"Series/Bar/BarSeries.js",[k["Series/Column/ColumnSeries.js"],k["Core/Series/SeriesRegistry.js"],k["Core/Utilities.js"]],function(f,d,k){var x=this&&this.__extends||function(){var d=function(f,k){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var l in f)f.hasOwnProperty(l)&&(d[l]=f[l])};return d(f,k)};return function(f,
-k){function t(){this.constructor=f}d(f,k);f.prototype=null===k?Object.create(k):(t.prototype=k.prototype,new t)}}(),B=k.extend,G=k.merge;k=function(d){function k(){var f=null!==d&&d.apply(this,arguments)||this;f.data=void 0;f.options=void 0;f.points=void 0;return f}x(k,d);k.defaultOptions=G(f.defaultOptions,{});return k}(f);B(k.prototype,{inverted:!0});d.registerSeriesType("bar",k);"";return k});P(k,"Series/Scatter/ScatterSeries.js",[k["Series/Column/ColumnSeries.js"],k["Series/Line/LineSeries.js"],
-k["Core/Series/SeriesRegistry.js"],k["Core/Utilities.js"]],function(f,d,k,x){var B=this&&this.__extends||function(){var d=function(f,l){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var f in g)g.hasOwnProperty(f)&&(d[f]=g[f])};return d(f,l)};return function(f,l){function k(){this.constructor=f}d(f,l);f.prototype=null===l?Object.create(l):(k.prototype=l.prototype,new k)}}(),G=x.addEvent,D=x.extend,H=x.merge;x=function(f){function k(){var d=
-null!==f&&f.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;return d}B(k,f);k.prototype.applyJitter=function(){var d=this,f=this.options.jitter,g=this.points.length;f&&this.points.forEach(function(l,c){["x","y"].forEach(function(k,n){var q="plot"+k.toUpperCase();if(f[k]&&!l.isNull){var t=d[k+"Axis"];var z=f[k]*t.transA;if(t&&!t.isLog){var m=Math.max(0,l[q]-z);t=Math.min(t.len,l[q]+z);n=1E4*Math.sin(c+n*g);l[q]=m+(t-m)*(n-Math.floor(n));"x"===k&&(l.clientX=l.plotX)}}})})};
-k.prototype.drawGraph=function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&f.prototype.drawGraph.call(this)};k.defaultOptions=H(d.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}});return k}(d);D(x.prototype,{drawTracker:f.prototype.drawTracker,
-sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});G(x,"afterTranslate",function(){this.applyJitter()});k.registerSeriesType("scatter",x);"";return x});P(k,"Mixins/CenteredSeries.js",[k["Core/Globals.js"],k["Core/Series/Series.js"],k["Core/Utilities.js"]],function(f,d,k){var x=k.isNumber,B=k.pick,G=k.relativeLength,D=f.deg2rad;return f.CenteredSeriesMixin={getCenter:function(){var f=this.options,k=this.chart,x=2*(f.slicedOffset||
-0),l=k.plotWidth-2*x,E=k.plotHeight-2*x,g=f.center,y=Math.min(l,E),c=f.size,q=f.innerSize||0;"string"===typeof c&&(c=parseFloat(c));"string"===typeof q&&(q=parseFloat(q));f=[B(g[0],"50%"),B(g[1],"50%"),B(c&&0>c?void 0:f.size,"100%"),B(q&&0>q?void 0:f.innerSize||0,"0%")];!k.angular||this instanceof d||(f[3]=0);for(g=0;4>g;++g)c=f[g],k=2>g||2===g&&/%$/.test(c),f[g]=G(c,[l,E,y,f[2]][g])+(k?x:0);f[3]>f[2]&&(f[3]=f[2]);return f},getStartAndEndRadians:function(d,f){d=x(d)?d:0;f=x(f)&&f>d&&360>f-d?f:d+360;
-return{start:D*(d+-90),end:D*(f+-90)}}}});P(k,"Series/Pie/PiePoint.js",[k["Core/Animation/AnimationUtilities.js"],k["Core/Series/Point.js"],k["Core/Utilities.js"]],function(f,d,k){var x=this&&this.__extends||function(){var d=function(f,g){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var g in c)c.hasOwnProperty(g)&&(d[g]=c[g])};return d(f,g)};return function(f,g){function l(){this.constructor=f}d(f,g);f.prototype=null===g?Object.create(g):
-(l.prototype=g.prototype,new l)}}(),B=f.setAnimation,G=k.addEvent,D=k.defined;f=k.extend;var H=k.isNumber,t=k.pick,C=k.relativeLength;k=function(f){function l(){var d=null!==f&&f.apply(this,arguments)||this;d.labelDistance=void 0;d.options=void 0;d.series=void 0;return d}x(l,f);l.prototype.getConnectorPath=function(){var d=this.labelPosition,f=this.series.options.dataLabels,c=f.connectorShape,l=this.connectorShapes;l[c]&&(c=l[c]);return c.call(this,{x:d.final.x,y:d.final.y,alignment:d.alignment},
-d.connectorPosition,f)};l.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};l.prototype.haloPath=function(d){var f=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(f.x,f.y,f.r+d,f.r+d,{innerR:f.r-1,start:f.start,end:f.end})};l.prototype.init=function(){d.prototype.init.apply(this,arguments);var f=this;f.name=t(f.name,"Slice");var l=function(c){f.slice("select"===c.type)};G(f,"select",l);G(f,"unselect",
-l);return f};l.prototype.isValid=function(){return H(this.y)&&0<=this.y};l.prototype.setVisible=function(d,f){var c=this,g=c.series,l=g.chart,k=g.options.ignoreHiddenPoint;f=t(f,k);d!==c.visible&&(c.visible=c.options.visible=d="undefined"===typeof d?!c.visible:d,g.options.data[g.data.indexOf(c)]=c.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(f){if(c[f])c[f][d?"show":"hide"](d)}),c.legendItem&&l.legend.colorizeItem(c,d),d||"hover"!==c.state||c.setState(""),k&&(g.isDirty=
-!0),f&&l.redraw())};l.prototype.slice=function(d,f,c){var g=this.series;B(c,g.chart);t(f,!0);this.sliced=this.options.sliced=D(d)?d:!this.sliced;g.options.data[g.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return l}(d);f(k.prototype,{connectorShapes:{fixedOffset:function(d,f,g){var l=f.breakAt;f=f.touchingSliceAt;return[["M",d.x,d.y],g.softConnector?["C",d.x+("left"===d.alignment?-5:5),d.y,
-2*l.x-f.x,2*l.y-f.y,l.x,l.y]:["L",l.x,l.y],["L",f.x,f.y]]},straight:function(d,f){f=f.touchingSliceAt;return[["M",d.x,d.y],["L",f.x,f.y]]},crookedLine:function(d,f,g){f=f.touchingSliceAt;var l=this.series,c=l.center[0],k=l.chart.plotWidth,n=l.chart.plotLeft;l=d.alignment;var t=this.shapeArgs.r;g=C(g.crookDistance,1);k="left"===l?c+t+(k+n-c-t)*(1-g):n+(c-t)*g;g=["L",k,d.y];c=!0;if("left"===l?k>d.x||k<f.x:k<d.x||k>f.x)c=!1;d=[["M",d.x,d.y]];c&&d.push(g);d.push(["L",f.x,f.y]);return d}}});return k});
-P(k,"Series/Pie/PieSeries.js",[k["Mixins/CenteredSeries.js"],k["Series/Column/ColumnSeries.js"],k["Core/Globals.js"],k["Mixins/LegendSymbol.js"],k["Core/Color/Palette.js"],k["Series/Pie/PiePoint.js"],k["Core/Series/Series.js"],k["Core/Series/SeriesRegistry.js"],k["Core/Renderer/SVG/SVGRenderer.js"],k["Core/Utilities.js"]],function(f,d,k,x,B,G,D,H,t,C){var l=this&&this.__extends||function(){var c=function(d,f){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,e){c.__proto__=e}||function(c,
-e){for(var d in e)e.hasOwnProperty(d)&&(c[d]=e[d])};return c(d,f)};return function(d,f){function g(){this.constructor=d}c(d,f);d.prototype=null===f?Object.create(f):(g.prototype=f.prototype,new g)}}(),E=f.getStartAndEndRadians;k=k.noop;var g=C.clamp,y=C.extend,c=C.fireEvent,q=C.merge,n=C.pick,A=C.relativeLength;C=function(d){function f(){var c=null!==d&&d.apply(this,arguments)||this;c.center=void 0;c.data=void 0;c.maxLabelDistance=void 0;c.options=void 0;c.points=void 0;return c}l(f,d);f.prototype.animate=
-function(c){var d=this,e=d.points,f=d.startAngleRad;c||e.forEach(function(a){var b=a.graphic,c=a.shapeArgs;b&&c&&(b.attr({r:n(a.startR,d.center&&d.center[3]/2),start:f,end:f}),b.animate({r:c.r,start:c.start,end:c.end},d.options.animation))})};f.prototype.drawEmpty=function(){var c=this.startAngleRad,d=this.endAngleRad,e=this.options;if(0===this.total&&this.center){var f=this.center[0];var a=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(f,a,this.center[1]/2,0,c,d).addClass("highcharts-empty-series").add(this.group));
-this.graph.attr({d:t.prototype.symbols.arc(f,a,this.center[2]/2,0,{start:c,end:d,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":e.borderWidth,fill:e.fillColor||"none",stroke:e.color||B.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())};f.prototype.drawPoints=function(){var c=this.chart.renderer;this.points.forEach(function(d){d.graphic&&d.hasNewShapeType()&&(d.graphic=d.graphic.destroy());d.graphic||(d.graphic=c[d.shapeType](d.shapeArgs).add(d.series.group),
-d.delayedRendering=!0)})};f.prototype.generatePoints=function(){d.prototype.generatePoints.call(this);this.updateTotals()};f.prototype.getX=function(c,d,e){var f=this.center,a=this.radii?this.radii[e.index]||0:f[2]/2;c=Math.asin(g((c-f[1])/(a+e.labelDistance),-1,1));return f[0]+(d?-1:1)*Math.cos(c)*(a+e.labelDistance)+(0<e.labelDistance?(d?-1:1)*this.options.dataLabels.padding:0)};f.prototype.hasData=function(){return!!this.processedXData.length};f.prototype.redrawPoints=function(){var c=this,d=c.chart,
-e=d.renderer,f,a,b,g,l=c.options.shadow;this.drawEmpty();!l||c.shadowGroup||d.styledMode||(c.shadowGroup=e.g("shadow").attr({zIndex:-1}).add(c.group));c.points.forEach(function(h){var m={};a=h.graphic;if(!h.isNull&&a){g=h.shapeArgs;f=h.getTranslate();if(!d.styledMode){var k=h.shadowGroup;l&&!k&&(k=h.shadowGroup=e.g("shadow").add(c.shadowGroup));k&&k.attr(f);b=c.pointAttribs(h,h.selected&&"select")}h.delayedRendering?(a.setRadialReference(c.center).attr(g).attr(f),d.styledMode||a.attr(b).attr({"stroke-linejoin":"round"}).shadow(l,
-k),h.delayedRendering=!1):(a.setRadialReference(c.center),d.styledMode||q(!0,m,b),q(!0,m,g,f),a.animate(m));a.attr({visibility:h.visible?"inherit":"hidden"});a.addClass(h.getClassName(),!0)}else a&&(h.graphic=a.destroy())})};f.prototype.sortByAngle=function(c,d){c.sort(function(c,f){return"undefined"!==typeof c.angle&&(f.angle-c.angle)*d})};f.prototype.translate=function(d){this.generatePoints();var f=0,e=this.options,g=e.slicedOffset,a=g+(e.borderWidth||0),b=E(e.startAngle,e.endAngle),m=this.startAngleRad=
-b.start;b=(this.endAngleRad=b.end)-m;var l=this.points,k=e.dataLabels.distance;e=e.ignoreHiddenPoint;var q,t=l.length;d||(this.center=d=this.getCenter());for(q=0;q<t;q++){var z=l[q];var x=m+f*b;!z.isValid()||e&&!z.visible||(f+=z.percentage/100);var y=m+f*b;z.shapeType="arc";z.shapeArgs={x:d[0],y:d[1],r:d[2]/2,innerR:d[3]/2,start:Math.round(1E3*x)/1E3,end:Math.round(1E3*y)/1E3};z.labelDistance=n(z.options.dataLabels&&z.options.dataLabels.distance,k);z.labelDistance=A(z.labelDistance,z.shapeArgs.r);
-this.maxLabelDistance=Math.max(this.maxLabelDistance||0,z.labelDistance);y=(y+x)/2;y>1.5*Math.PI?y-=2*Math.PI:y<-Math.PI/2&&(y+=2*Math.PI);z.slicedTranslation={translateX:Math.round(Math.cos(y)*g),translateY:Math.round(Math.sin(y)*g)};var v=Math.cos(y)*d[2]/2;var C=Math.sin(y)*d[2]/2;z.tooltipPos=[d[0]+.7*v,d[1]+.7*C];z.half=y<-Math.PI/2||y>Math.PI/2?1:0;z.angle=y;x=Math.min(a,z.labelDistance/5);z.labelPosition={natural:{x:d[0]+v+Math.cos(y)*z.labelDistance,y:d[1]+C+Math.sin(y)*z.labelDistance},"final":{},
-alignment:0>z.labelDistance?"center":z.half?"right":"left",connectorPosition:{breakAt:{x:d[0]+v+Math.cos(y)*x,y:d[1]+C+Math.sin(y)*x},touchingSliceAt:{x:d[0]+v,y:d[1]+C}}}}c(this,"afterTranslate")};f.prototype.updateTotals=function(){var c,d=0,e=this.points,f=e.length,a=this.options.ignoreHiddenPoint;for(c=0;c<f;c++){var b=e[c];!b.isValid()||a&&!b.visible||(d+=b.y)}this.total=d;for(c=0;c<f;c++)b=e[c],b.percentage=0<d&&(b.visible||!a)?b.y/d*100:0,b.total=d};f.defaultOptions=q(D.defaultOptions,{center:[null,
-null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:B.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}});
-return f}(D);y(C.prototype,{axisTypes:[],directTouch:!0,drawGraph:null,drawLegendSymbol:x.drawRectangle,drawTracker:d.prototype.drawTracker,getCenter:f.getCenter,getSymbol:k,isCartesian:!1,noSharedTooltip:!0,pointAttribs:d.prototype.pointAttribs,pointClass:G,requireSorting:!1,searchPoint:k,trackerGroups:["group","dataLabelsGroup"]});H.registerSeriesType("pie",C);"";return C});P(k,"Core/Series/DataLabels.js",[k["Core/Animation/AnimationUtilities.js"],k["Core/Globals.js"],k["Core/Color/Palette.js"],
-k["Core/Series/Series.js"],k["Core/Series/SeriesRegistry.js"],k["Core/Utilities.js"]],function(f,d,k,x,B,G){var D=f.getDeferredAnimation;f=d.noop;B=B.seriesTypes;var H=G.arrayMax,t=G.clamp,C=G.defined,l=G.extend,E=G.fireEvent,g=G.format,y=G.isArray,c=G.merge,q=G.objectEach,n=G.pick,A=G.relativeLength,M=G.splat,z=G.stableSort;"";d.distribute=function(c,f,e){function g(a,b){return a.target-b.target}var a,b=!0,m=c,l=[];var k=0;var q=m.reducedLen||f;for(a=c.length;a--;)k+=c[a].size;if(k>q){z(c,function(a,
-b){return(b.rank||0)-(a.rank||0)});for(k=a=0;k<=q;)k+=c[a].size,a++;l=c.splice(a-1,c.length)}z(c,g);for(c=c.map(function(a){return{size:a.size,targets:[a.target],align:n(a.align,.5)}});b;){for(a=c.length;a--;)b=c[a],k=(Math.min.apply(0,b.targets)+Math.max.apply(0,b.targets))/2,b.pos=t(k-b.size*b.align,0,f-b.size);a=c.length;for(b=!1;a--;)0<a&&c[a-1].pos+c[a-1].size>c[a].pos&&(c[a-1].size+=c[a].size,c[a-1].targets=c[a-1].targets.concat(c[a].targets),c[a-1].align=.5,c[a-1].pos+c[a-1].size>f&&(c[a-1].pos=
-f-c[a-1].size),c.splice(a,1),b=!0)}m.push.apply(m,l);a=0;c.some(function(b){var c=0;if(b.targets.some(function(){m[a].pos=b.pos+c;if("undefined"!==typeof e&&Math.abs(m[a].pos-m[a].target)>e)return m.slice(0,a+1).forEach(function(a){delete a.pos}),m.reducedLen=(m.reducedLen||f)-.1*f,m.reducedLen>.1*f&&d.distribute(m,f,e),!0;c+=m[a].size;a++}))return!0});z(m,g)};x.prototype.drawDataLabels=function(){function d(a,b){var c=b.filter;return c?(b=c.operator,a=a[c.property],c=c.value,">"===b&&a>c||"<"===
-b&&a<c||">="===b&&a>=c||"<="===b&&a<=c||"=="===b&&a==c||"==="===b&&a===c?!0:!1):!0}function f(a,b){var d=[],e;if(y(a)&&!y(b))d=a.map(function(a){return c(a,b)});else if(y(b)&&!y(a))d=b.map(function(b){return c(a,b)});else if(y(a)||y(b))for(e=Math.max(a.length,b.length);e--;)d[e]=c(a[e],b[e]);else d=c(a,b);return d}var e=this,h=e.chart,a=e.options,b=a.dataLabels,l=e.points,t,z=e.hasRendered||0,x=b.animation;x=b.defer?D(h,x,e):{defer:0,duration:0};var A=h.renderer;b=f(f(h.options.plotOptions&&h.options.plotOptions.series&&
-h.options.plotOptions.series.dataLabels,h.options.plotOptions&&h.options.plotOptions[e.type]&&h.options.plotOptions[e.type].dataLabels),b);E(this,"drawDataLabels");if(y(b)||b.enabled||e._hasPointLabels){var B=e.plotGroup("dataLabelsGroup","data-labels",z?"inherit":"hidden",b.zIndex||6);B.attr({opacity:+z});!z&&(z=e.dataLabelsGroup)&&(e.visible&&B.show(!0),z[a.animation?"animate":"attr"]({opacity:1},x));l.forEach(function(c){t=M(f(b,c.dlOptions||c.options&&c.options.dataLabels));t.forEach(function(b,
-f){var m=b.enabled&&(!c.isNull||c.dataLabelOnNull)&&d(c,b),l=c.dataLabels?c.dataLabels[f]:c.dataLabel,r=c.connectors?c.connectors[f]:c.connector,t=n(b.distance,c.labelDistance),w=!l;if(m){var u=c.getLabelConfig();var v=n(b[c.formatPrefix+"Format"],b.format);u=C(v)?g(v,u,h):(b[c.formatPrefix+"Formatter"]||b.formatter).call(u,b);v=b.style;var z=b.rotation;h.styledMode||(v.color=n(b.color,v.color,e.color,k.neutralColor100),"contrast"===v.color?(c.contrastColor=A.getContrast(c.color||e.color),v.color=
-!C(t)&&b.inside||0>t||a.stacking?c.contrastColor:k.neutralColor100):delete c.contrastColor,a.cursor&&(v.cursor=a.cursor));var x={r:b.borderRadius||0,rotation:z,padding:b.padding,zIndex:1};h.styledMode||(x.fill=b.backgroundColor,x.stroke=b.borderColor,x["stroke-width"]=b.borderWidth);q(x,function(a,b){"undefined"===typeof a&&delete x[b]})}!l||m&&C(u)?m&&C(u)&&(l?x.text=u:(c.dataLabels=c.dataLabels||[],l=c.dataLabels[f]=z?A.text(u,0,-9999,b.useHTML).addClass("highcharts-data-label"):A.label(u,0,-9999,
-b.shape,null,null,b.useHTML,null,"data-label"),f||(c.dataLabel=l),l.addClass(" highcharts-data-label-color-"+c.colorIndex+" "+(b.className||"")+(b.useHTML?" highcharts-tracker":""))),l.options=b,l.attr(x),h.styledMode||l.css(v).shadow(b.shadow),l.added||l.add(B),b.textPath&&!b.useHTML&&(l.setTextPath(c.getDataLabelPath&&c.getDataLabelPath(l)||c.graphic,b.textPath),c.dataLabelPath&&!b.textPath.enabled&&(c.dataLabelPath=c.dataLabelPath.destroy())),e.alignDataLabel(c,l,b,null,w)):(c.dataLabel=c.dataLabel&&
-c.dataLabel.destroy(),c.dataLabels&&(1===c.dataLabels.length?delete c.dataLabels:delete c.dataLabels[f]),f||delete c.dataLabel,r&&(c.connector=c.connector.destroy(),c.connectors&&(1===c.connectors.length?delete c.connectors:delete c.connectors[f])))})})}E(this,"afterDrawDataLabels")};x.prototype.alignDataLabel=function(c,d,e,f,a){var b=this,g=this.chart,h=this.isCartesian&&g.inverted,m=this.enabledDataSorting,k=n(c.dlBox&&c.dlBox.centerX,c.plotX,-9999),q=n(c.plotY,-9999),r=d.getBBox(),t=e.rotation,
-z=e.align,v=g.isInsidePlot(k,Math.round(q),h),x="justify"===n(e.overflow,m?"none":"justify"),p=this.visible&&!1!==c.visible&&(c.series.forceDL||m&&!x||v||e.inside&&f&&g.isInsidePlot(k,h?f.x+1:f.y+f.height-1,h));var y=function(e){m&&b.xAxis&&!x&&b.setDataLabelStartPos(c,d,a,v,e)};if(p){var C=g.renderer.fontMetrics(g.styledMode?void 0:e.style.fontSize,d).b;f=l({x:h?this.yAxis.len-q:k,y:Math.round(h?this.xAxis.len-k:q),width:0,height:0},f);l(e,{width:r.width,height:r.height});t?(x=!1,k=g.renderer.rotCorr(C,
-t),k={x:f.x+(e.x||0)+f.width/2+k.x,y:f.y+(e.y||0)+{top:0,middle:.5,bottom:1}[e.verticalAlign]*f.height},y(k),d[a?"attr":"animate"](k).attr({align:z}),y=(t+720)%360,y=180<y&&360>y,"left"===z?k.y-=y?r.height:0:"center"===z?(k.x-=r.width/2,k.y-=r.height/2):"right"===z&&(k.x-=r.width,k.y-=y?0:r.height),d.placed=!0,d.alignAttr=k):(y(f),d.align(e,null,f),k=d.alignAttr);x&&0<=f.height?this.justifyDataLabel(d,e,k,r,f,a):n(e.crop,!0)&&(p=g.isInsidePlot(k.x,k.y)&&g.isInsidePlot(k.x+r.width,k.y+r.height));if(e.shape&&
-!t)d[a?"attr":"animate"]({anchorX:h?g.plotWidth-c.plotY:c.plotX,anchorY:h?g.plotHeight-c.plotX:c.plotY})}a&&m&&(d.placed=!1);p||m&&!x||(d.hide(!0),d.placed=!1)};x.prototype.setDataLabelStartPos=function(c,d,e,f,a){var b=this.chart,g=b.inverted,h=this.xAxis,k=h.reversed,l=g?d.height/2:d.width/2;c=(c=c.pointWidth)?c/2:0;h=g?a.x:k?-l-c:h.width-l+c;a=g?k?this.yAxis.height-l+c:-l-c:a.y;d.startXPos=h;d.startYPos=a;f?"hidden"===d.visibility&&(d.show(),d.attr({opacity:0}).animate({opacity:1})):d.attr({opacity:1}).animate({opacity:0},
-void 0,d.hide);b.hasRendered&&(e&&d.attr({x:d.startXPos,y:d.startYPos}),d.placed=!0)};x.prototype.justifyDataLabel=function(c,d,e,f,a,b){var g=this.chart,h=d.align,k=d.verticalAlign,l=c.box?0:c.padding||0,m=d.x;m=void 0===m?0:m;var n=d.y;var q=void 0===n?0:n;n=e.x+l;if(0>n){"right"===h&&0<=m?(d.align="left",d.inside=!0):m-=n;var r=!0}n=e.x+f.width-l;n>g.plotWidth&&("left"===h&&0>=m?(d.align="right",d.inside=!0):m+=g.plotWidth-n,r=!0);n=e.y+l;0>n&&("bottom"===k&&0<=q?(d.verticalAlign="top",d.inside=
-!0):q-=n,r=!0);n=e.y+f.height-l;n>g.plotHeight&&("top"===k&&0>=q?(d.verticalAlign="bottom",d.inside=!0):q+=g.plotHeight-n,r=!0);r&&(d.x=m,d.y=q,c.placed=!b,c.align(d,void 0,a));return r};B.pie&&(B.pie.prototype.dataLabelPositioners={radialDistributionY:function(c){return c.top+c.distributeBox.pos},radialDistributionX:function(c,d,e,f){return c.getX(e<d.top+2||e>d.bottom-2?f:e,d.half,d)},justify:function(c,d,e){return e[0]+(c.half?-1:1)*(d+c.labelDistance)},alignToPlotEdges:function(c,d,e,f){c=c.getBBox().width;
-return d?c+f:e-c-f},alignToConnectors:function(c,d,e,f){var a=0,b;c.forEach(function(c){b=c.dataLabel.getBBox().width;b>a&&(a=b)});return d?a+f:e-a-f}},B.pie.prototype.drawDataLabels=function(){var f=this,g=f.data,e,h=f.chart,a=f.options.dataLabels||{},b=a.connectorPadding,l,q=h.plotWidth,t=h.plotHeight,z=h.plotLeft,y=Math.round(h.chartWidth/3),A,B=f.center,E=B[2]/2,v=B[1],D,p,G,M,P=[[],[]],u,S,I,X,U=[0,0,0,0],W=f.dataLabelPositioners,Y;f.visible&&(a.enabled||f._hasPointLabels)&&(g.forEach(function(a){a.dataLabel&&
-a.visible&&a.dataLabel.shortened&&(a.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),a.dataLabel.shortened=!1)}),x.prototype.drawDataLabels.apply(f),g.forEach(function(b){b.dataLabel&&(b.visible?(P[b.half].push(b),b.dataLabel._pos=null,!C(a.style.width)&&!C(b.options.dataLabels&&b.options.dataLabels.style&&b.options.dataLabels.style.width)&&b.dataLabel.getBBox().width>y&&(b.dataLabel.css({width:Math.round(.7*y)+"px"}),b.dataLabel.shortened=!0)):(b.dataLabel=b.dataLabel.destroy(),
-b.dataLabels&&1===b.dataLabels.length&&delete b.dataLabels))}),P.forEach(function(c,g){var k=c.length,l=[],m;if(k){f.sortByAngle(c,g-.5);if(0<f.maxLabelDistance){var r=Math.max(0,v-E-f.maxLabelDistance);var w=Math.min(v+E+f.maxLabelDistance,h.plotHeight);c.forEach(function(a){0<a.labelDistance&&a.dataLabel&&(a.top=Math.max(0,v-E-a.labelDistance),a.bottom=Math.min(v+E+a.labelDistance,h.plotHeight),m=a.dataLabel.getBBox().height||21,a.distributeBox={target:a.labelPosition.natural.y-a.top+m/2,size:m,
-rank:a.y},l.push(a.distributeBox))});r=w+m-r;d.distribute(l,r,r/5)}for(X=0;X<k;X++){e=c[X];G=e.labelPosition;D=e.dataLabel;I=!1===e.visible?"hidden":"inherit";S=r=G.natural.y;l&&C(e.distributeBox)&&("undefined"===typeof e.distributeBox.pos?I="hidden":(M=e.distributeBox.size,S=W.radialDistributionY(e)));delete e.positionIndex;if(a.justify)u=W.justify(e,E,B);else switch(a.alignTo){case "connectors":u=W.alignToConnectors(c,g,q,z);break;case "plotEdges":u=W.alignToPlotEdges(D,g,q,z);break;default:u=W.radialDistributionX(f,
-e,S,r)}D._attr={visibility:I,align:G.alignment};Y=e.options.dataLabels||{};D._pos={x:u+n(Y.x,a.x)+({left:b,right:-b}[G.alignment]||0),y:S+n(Y.y,a.y)-10};G.final.x=u;G.final.y=S;n(a.crop,!0)&&(p=D.getBBox().width,r=null,u-p<b&&1===g?(r=Math.round(p-u+b),U[3]=Math.max(r,U[3])):u+p>q-b&&0===g&&(r=Math.round(u+p-q+b),U[1]=Math.max(r,U[1])),0>S-M/2?U[0]=Math.max(Math.round(-S+M/2),U[0]):S+M/2>t&&(U[2]=Math.max(Math.round(S+M/2-t),U[2])),D.sideOverflow=r)}}}),0===H(U)||this.verifyDataLabelOverflow(U))&&
-(this.placeDataLabels(),this.points.forEach(function(b){Y=c(a,b.options.dataLabels);if(l=n(Y.connectorWidth,1)){var d;A=b.connector;if((D=b.dataLabel)&&D._pos&&b.visible&&0<b.labelDistance){I=D._attr.visibility;if(d=!A)b.connector=A=h.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+b.colorIndex+(b.className?" "+b.className:"")).add(f.dataLabelsGroup),h.styledMode||A.attr({"stroke-width":l,stroke:Y.connectorColor||b.color||k.neutralColor60});A[d?"attr":"animate"]({d:b.getConnectorPath()});
-A.attr("visibility",I)}else A&&(b.connector=A.destroy())}}))},B.pie.prototype.placeDataLabels=function(){this.points.forEach(function(c){var d=c.dataLabel,e;d&&c.visible&&((e=d._pos)?(d.sideOverflow&&(d._attr.width=Math.max(d.getBBox().width-d.sideOverflow,0),d.css({width:d._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),d.shortened=!0),d.attr(d._attr),d[d.moved?"animate":"attr"](e),d.moved=!0):d&&d.attr({y:-9999}));delete c.distributeBox},this)},B.pie.prototype.alignDataLabel=
-f,B.pie.prototype.verifyDataLabelOverflow=function(c){var d=this.center,e=this.options,f=e.center,a=e.minSize||80,b=null!==e.size;if(!b){if(null!==f[0])var g=Math.max(d[2]-Math.max(c[1],c[3]),a);else g=Math.max(d[2]-c[1]-c[3],a),d[0]+=(c[3]-c[1])/2;null!==f[1]?g=t(g,a,d[2]-Math.max(c[0],c[2])):(g=t(g,a,d[2]-c[0]-c[2]),d[1]+=(c[0]-c[2])/2);g<d[2]?(d[2]=g,d[3]=Math.min(A(e.innerSize||0,g),g),this.translate(d),this.drawDataLabels&&this.drawDataLabels()):b=!0}return b});B.column&&(B.column.prototype.alignDataLabel=
-function(d,f,e,g,a){var b=this.chart.inverted,h=d.series,k=d.dlBox||d.shapeArgs,l=n(d.below,d.plotY>n(this.translatedThreshold,h.yAxis.len)),m=n(e.inside,!!this.options.stacking);k&&(g=c(k),0>g.y&&(g.height+=g.y,g.y=0),k=g.y+g.height-h.yAxis.len,0<k&&k<g.height&&(g.height-=k),b&&(g={x:h.yAxis.len-g.y-g.height,y:h.xAxis.len-g.x-g.width,width:g.height,height:g.width}),m||(b?(g.x+=l?0:g.width,g.width=0):(g.y+=l?g.height:0,g.height=0)));e.align=n(e.align,!b||m?"center":l?"right":"left");e.verticalAlign=
-n(e.verticalAlign,b||m?"middle":l?"top":"bottom");x.prototype.alignDataLabel.call(this,d,f,e,g,a);e.inside&&d.contrastColor&&f.css({color:d.contrastColor})})});P(k,"Extensions/OverlappingDataLabels.js",[k["Core/Chart/Chart.js"],k["Core/Utilities.js"]],function(f,d){var k=d.addEvent,x=d.fireEvent,B=d.isArray,G=d.isNumber,D=d.objectEach,H=d.pick;k(f,"render",function(){var d=[];(this.labelCollectors||[]).forEach(function(f){d=d.concat(f())});(this.yAxis||[]).forEach(function(f){f.stacking&&f.options.stackLabels&&
-!f.options.stackLabels.allowOverlap&&D(f.stacking.stacks,function(f){D(f,function(f){d.push(f.label)})})});(this.series||[]).forEach(function(f){var k=f.options.dataLabels;f.visible&&(!1!==k.enabled||f._hasPointLabels)&&(k=function(f){return f.forEach(function(f){f.visible&&(B(f.dataLabels)?f.dataLabels:f.dataLabel?[f.dataLabel]:[]).forEach(function(g){var c=g.options;g.labelrank=H(c.labelrank,f.labelrank,f.shapeArgs&&f.shapeArgs.height);c.allowOverlap||d.push(g)})})},k(f.nodes||[]),k(f.points))});
-this.hideOverlappingLabels(d)});f.prototype.hideOverlappingLabels=function(d){var f=this,k=d.length,t=f.renderer,g,y,c,q=!1;var n=function(c){var d,f=c.box?0:c.padding||0,e=d=0,g;if(c&&(!c.alignAttr||c.placed)){var a=c.alignAttr||{x:c.attr("x"),y:c.attr("y")};var b=c.parentGroup;c.width||(d=c.getBBox(),c.width=d.width,c.height=d.height,d=t.fontMetrics(null,c.element).h);var k=c.width-2*f;(g={left:"0",center:"0.5",right:"1"}[c.alignValue])?e=+g*k:G(c.x)&&Math.round(c.x)!==c.translateX&&(e=c.x-c.translateX);
-return{x:a.x+(b.translateX||0)+f-(e||0),y:a.y+(b.translateY||0)+f-d,width:c.width-2*f,height:c.height-2*f}}};for(y=0;y<k;y++)if(g=d[y])g.oldOpacity=g.opacity,g.newOpacity=1,g.absoluteBox=n(g);d.sort(function(c,d){return(d.labelrank||0)-(c.labelrank||0)});for(y=0;y<k;y++){var A=(n=d[y])&&n.absoluteBox;for(g=y+1;g<k;++g){var B=(c=d[g])&&c.absoluteBox;!A||!B||n===c||0===n.newOpacity||0===c.newOpacity||B.x>=A.x+A.width||B.x+B.width<=A.x||B.y>=A.y+A.height||B.y+B.height<=A.y||((n.labelrank<c.labelrank?
-n:c).newOpacity=0)}}d.forEach(function(c){if(c){var d=c.newOpacity;c.oldOpacity!==d&&(c.alignAttr&&c.placed?(c[d?"removeClass":"addClass"]("highcharts-data-label-hidden"),q=!0,c.alignAttr.opacity=d,c[c.isOld?"animate":"attr"](c.alignAttr,null,function(){f.styledMode||c.css({pointerEvents:d?"auto":"none"});c.visibility=d?"inherit":"hidden"}),x(f,"afterHideOverlappingLabel")):c.attr({opacity:d}));c.isOld=!0}});q&&x(f,"afterHideAllOverlappingLabels")}});P(k,"Core/Responsive.js",[k["Core/Chart/Chart.js"],
-k["Core/Utilities.js"]],function(f,d){var k=d.find,x=d.isArray,B=d.isObject,G=d.merge,D=d.objectEach,H=d.pick,t=d.splat,C=d.uniqueKey;f.prototype.setResponsive=function(d,f){var g=this.options.responsive,l=[],c=this.currentResponsive;!f&&g&&g.rules&&g.rules.forEach(function(c){"undefined"===typeof c._id&&(c._id=C());this.matchResponsiveRule(c,l)},this);f=G.apply(0,l.map(function(c){return k(g.rules,function(d){return d._id===c}).chartOptions}));f.isResponsiveOptions=!0;l=l.toString()||void 0;l!==
-(c&&c.ruleIds)&&(c&&this.update(c.undoOptions,d,!0),l?(c=this.currentOptions(f),c.isResponsiveOptions=!0,this.currentResponsive={ruleIds:l,mergedOptions:f,undoOptions:c},this.update(f,d,!0)):this.currentResponsive=void 0)};f.prototype.matchResponsiveRule=function(d,f){var g=d.condition;(g.callback||function(){return this.chartWidth<=H(g.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=H(g.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=H(g.minWidth,0)&&this.chartHeight>=H(g.minHeight,0)}).call(this)&&
-f.push(d._id)};f.prototype.currentOptions=function(d){function f(c,d,k,l){var n;D(c,function(c,m){if(!l&&-1<g.collectionsWithUpdate.indexOf(m)&&d[m])for(c=t(c),k[m]=[],n=0;n<Math.max(c.length,d[m].length);n++)d[m][n]&&(void 0===c[n]?k[m][n]=d[m][n]:(k[m][n]={},f(c[n],d[m][n],k[m][n],l+1)));else B(c)?(k[m]=x(c)?[]:{},f(c,d[m]||{},k[m],l+1)):k[m]="undefined"===typeof d[m]?null:d[m]})}var g=this,k={};f(d,this.options,k,0);return k}});P(k,"masters/highcharts.src.js",[k["Core/Globals.js"],k["Core/Utilities.js"],
-k["Core/Renderer/HTML/AST.js"],k["Core/Series/Series.js"]],function(f,d,k,x){f.addEvent=d.addEvent;f.arrayMax=d.arrayMax;f.arrayMin=d.arrayMin;f.attr=d.attr;f.clearTimeout=d.clearTimeout;f.correctFloat=d.correctFloat;f.createElement=d.createElement;f.css=d.css;f.defined=d.defined;f.destroyObjectProperties=d.destroyObjectProperties;f.discardElement=d.discardElement;f.erase=d.erase;f.error=d.error;f.extend=d.extend;f.extendClass=d.extendClass;f.find=d.find;f.fireEvent=d.fireEvent;f.format=d.format;
-f.getMagnitude=d.getMagnitude;f.getStyle=d.getStyle;f.inArray=d.inArray;f.isArray=d.isArray;f.isClass=d.isClass;f.isDOMElement=d.isDOMElement;f.isFunction=d.isFunction;f.isNumber=d.isNumber;f.isObject=d.isObject;f.isString=d.isString;f.keys=d.keys;f.merge=d.merge;f.normalizeTickInterval=d.normalizeTickInterval;f.numberFormat=d.numberFormat;f.objectEach=d.objectEach;f.offset=d.offset;f.pad=d.pad;f.pick=d.pick;f.pInt=d.pInt;f.relativeLength=d.relativeLength;f.removeEvent=d.removeEvent;f.splat=d.splat;
-f.stableSort=d.stableSort;f.syncTimeout=d.syncTimeout;f.timeUnits=d.timeUnits;f.uniqueKey=d.uniqueKey;f.useSerialIds=d.useSerialIds;f.wrap=d.wrap;f.AST=k;f.Series=x;return f});k["masters/highcharts.src.js"]._modules=k;return k["masters/highcharts.src.js"]});
+(function(W,O){"object"===typeof module&&module.exports?(O["default"]=O,module.exports=W.document?O(W):O):"function"===typeof define&&define.amd?define("highcharts/highcharts",function(){return O(W)}):(W.Highcharts&&W.Highcharts.error(16,!0),W.Highcharts=O(W))})("undefined"!==typeof window?window:this,function(W){function O(D,b,e,z){D.hasOwnProperty(b)||(D[b]=z.apply(null,e))}var e={};O(e,"Core/Globals.js",[],function(){var D="undefined"!==typeof W?W:"undefined"!==typeof window?window:{},b;(function(b){b.SVG_NS=
+"http://www.w3.org/2000/svg";b.product="Highcharts";b.version="9.1.0";b.win=D;b.doc=b.win.document;b.svg=b.doc&&b.doc.createElementNS&&!!b.doc.createElementNS(b.SVG_NS,"svg").createSVGRect;b.userAgent=b.win.navigator&&b.win.navigator.userAgent||"";b.isChrome=-1!==b.userAgent.indexOf("Chrome");b.isFirefox=-1!==b.userAgent.indexOf("Firefox");b.isMS=/(edge|msie|trident)/i.test(b.userAgent)&&!b.win.opera;b.isSafari=!b.isChrome&&-1!==b.userAgent.indexOf("Safari");b.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(b.userAgent);
+b.isWebKit=-1!==b.userAgent.indexOf("AppleWebKit");b.deg2rad=2*Math.PI/360;b.hasBidiBug=b.isFirefox&&4>parseInt(b.userAgent.split("Firefox/")[1],10);b.hasTouch=!!b.win.TouchEvent;b.marginNames=["plotTop","marginRight","marginBottom","plotLeft"];b.noop=function(){};b.supportsPassiveEvents=function(){var D=!1;if(!b.isMS){var e=Object.defineProperty({},"passive",{get:function(){D=!0}});b.win.addEventListener&&b.win.removeEventListener&&(b.win.addEventListener("testPassive",b.noop,e),b.win.removeEventListener("testPassive",
+b.noop,e))}return D}();b.charts=[];b.dateFormats={};b.seriesTypes={};b.symbolSizes={}})(b||(b={}));return b});O(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(D){function b(a,c,h,r){var y=c?"Highcharts error":"Highcharts warning";32===a&&(a=y+": Deprecated member");var d=w(a),M=d?y+" #"+a+": www.highcharts.com/errors/"+a+"/":a.toString();if("undefined"!==typeof r){var t="";d&&(M+="?");n(r,function(p,a){t+="\n - "+a+": "+p;d&&(M+=encodeURI(a)+"="+encodeURI(p))});M+=t}E(Highcharts,"displayError",
+{chart:h,code:a,message:M,params:r},function(){if(c)throw Error(M);g.console&&-1===b.messages.indexOf(M)&&console.warn(M)});b.messages.push(M)}function e(a,c){var y={};n(a,function(g,h){if(C(a[h],!0)&&!a.nodeType&&c[h])g=e(a[h],c[h]),Object.keys(g).length&&(y[h]=g);else if(C(a[h])||a[h]!==c[h])y[h]=a[h]});return y}function z(a,c){return parseInt(a,c||10)}function H(a){return"string"===typeof a}function G(a){a=Object.prototype.toString.call(a);return"[object Array]"===a||"[object Array Iterator]"===
+a}function C(a,c){return!!a&&"object"===typeof a&&(!c||!G(a))}function B(a){return C(a)&&"number"===typeof a.nodeType}function x(a){var c=a&&a.constructor;return!(!C(a,!0)||B(a)||!c||!c.name||"Object"===c.name)}function w(a){return"number"===typeof a&&!isNaN(a)&&Infinity>a&&-Infinity<a}function v(a){return"undefined"!==typeof a&&null!==a}function f(a,c,g){var y;H(c)?v(g)?a.setAttribute(c,g):a&&a.getAttribute&&((y=a.getAttribute(c))||"class"!==c||(y=a.getAttribute(c+"Name"))):n(c,function(c,y){a.setAttribute(y,
+c)});return y}function d(a,c){var y;a||(a={});for(y in c)a[y]=c[y];return a}function q(){for(var a=arguments,c=a.length,g=0;g<c;g++){var h=a[g];if("undefined"!==typeof h&&null!==h)return h}}function k(a,c){D.isMS&&!D.svg&&c&&"undefined"!==typeof c.opacity&&(c.filter="alpha(opacity="+100*c.opacity+")");d(a.style,c)}function l(a,g,h,r,m){a=c.createElement(a);g&&d(a,g);m&&k(a,{padding:"0",border:"none",margin:"0"});h&&k(a,h);r&&r.appendChild(a);return a}function N(a,c){return parseFloat(a.toPrecision(c||
+14))}function u(a,c,h){var y=D.getStyle||u;if("width"===c)return c=Math.min(a.offsetWidth,a.scrollWidth),h=a.getBoundingClientRect&&a.getBoundingClientRect().width,h<c&&h>=c-1&&(c=Math.floor(h)),Math.max(0,c-(y(a,"padding-left",!0)||0)-(y(a,"padding-right",!0)||0));if("height"===c)return Math.max(0,Math.min(a.offsetHeight,a.scrollHeight)-(y(a,"padding-top",!0)||0)-(y(a,"padding-bottom",!0)||0));g.getComputedStyle||b(27,!0);if(a=g.getComputedStyle(a,void 0)){var r=a.getPropertyValue(c);q(h,"opacity"!==
+c)&&(r=z(r))}return r}function n(a,c,g){for(var h in a)Object.hasOwnProperty.call(a,h)&&c.call(g||a[h],a[h],h,a)}function J(a,c,g){function h(t,p){var c=a.removeEventListener||D.removeEventListenerPolyfill;c&&c.call(a,t,p,!1)}function y(t){var p;if(a.nodeName){if(c){var g={};g[c]=!0}else g=t;n(g,function(a,c){if(t[c])for(p=t[c].length;p--;)h(c,t[c][p].fn)})}}var r="function"===typeof a&&a.prototype||a;if(Object.hasOwnProperty.call(r,"hcEvents")){var M=r.hcEvents;c?(r=M[c]||[],g?(M[c]=r.filter(function(a){return g!==
+a.fn}),h(c,g)):(y(M),M[c]=[])):(y(M),delete r.hcEvents)}}function E(a,g,h,r){h=h||{};if(c.createEvent&&(a.dispatchEvent||a.fireEvent&&a!==D)){var y=c.createEvent("Events");y.initEvent(g,!0,!0);h=d(y,h);a.dispatchEvent?a.dispatchEvent(h):a.fireEvent(g,h)}else if(a.hcEvents){h.target||d(h,{preventDefault:function(){h.defaultPrevented=!0},target:a,type:g});y=[];for(var m=a,M=!1;m.hcEvents;)Object.hasOwnProperty.call(m,"hcEvents")&&m.hcEvents[g]&&(y.length&&(M=!0),y.unshift.apply(y,m.hcEvents[g])),m=
+Object.getPrototypeOf(m);M&&y.sort(function(a,p){return a.order-p.order});y.forEach(function(t){!1===t.fn.call(a,h)&&h.preventDefault()})}r&&!h.defaultPrevented&&r.call(a,h)}var m=D.charts,c=D.doc,g=D.win;"";(b||(b={})).messages=[];var a;Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};var h=Array.prototype.find?function(a,c){return a.find(c)}:function(a,c){var g,h=a.length;for(g=0;g<h;g++)if(c(a[g],g))return a[g]};n({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},
+function(a,c){D[c]=function(g){var h;b(32,!1,void 0,(h={},h["Highcharts."+c]="use Array."+a,h));return Array.prototype[a].apply(g,[].slice.call(arguments,1))}});var r,A=function(){var a=Math.random().toString(36).substring(2,9)+"-",c=0;return function(){return"highcharts-"+(r?"":a)+c++}}();g.jQuery&&(g.jQuery.fn.highcharts=function(){var a=[].slice.call(arguments);if(this[0])return a[0]?(new (D[H(a[0])?a.shift():"Chart"])(this[0],a[0],a[1]),this):m[f(this[0],"data-highcharts-chart")]});return{addEvent:function(a,
+c,g,h){void 0===h&&(h={});var r="function"===typeof a&&a.prototype||a;Object.hasOwnProperty.call(r,"hcEvents")||(r.hcEvents={});r=r.hcEvents;D.Point&&a instanceof D.Point&&a.series&&a.series.chart&&(a.series.chart.runTrackerClick=!0);var y=a.addEventListener||D.addEventListenerPolyfill;y&&y.call(a,c,g,D.supportsPassiveEvents?{passive:void 0===h.passive?-1!==c.indexOf("touch"):h.passive,capture:!1}:!1);r[c]||(r[c]=[]);r[c].push({fn:g,order:"number"===typeof h.order?h.order:Infinity});r[c].sort(function(a,
+t){return a.order-t.order});return function(){J(a,c,g)}},arrayMax:function(a){for(var c=a.length,g=a[0];c--;)a[c]>g&&(g=a[c]);return g},arrayMin:function(a){for(var c=a.length,g=a[0];c--;)a[c]<g&&(g=a[c]);return g},attr:f,clamp:function(a,c,g){return a>c?a<g?a:g:c},cleanRecursively:e,clearTimeout:function(a){v(a)&&clearTimeout(a)},correctFloat:N,createElement:l,css:k,defined:v,destroyObjectProperties:function(a,c){n(a,function(g,h){g&&g!==c&&g.destroy&&g.destroy();delete a[h]})},discardElement:function(c){a||
+(a=l("div"));c&&a.appendChild(c);a.innerHTML=""},erase:function(a,c){for(var g=a.length;g--;)if(a[g]===c){a.splice(g,1);break}},error:b,extend:d,extendClass:function(a,c){var g=function(){};g.prototype=new a;d(g.prototype,c);return g},find:h,fireEvent:E,getMagnitude:function(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))},getNestedProperty:function(a,c){for(a=a.split(".");a.length&&v(c);){var h=a.shift();if("undefined"===typeof h||"__proto__"===h)return;c=c[h];if(!v(c)||"function"===typeof c||
+"number"===typeof c.nodeType||c===g)return}return c},getStyle:u,inArray:function(a,c,g){b(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"});return c.indexOf(a,g)},isArray:G,isClass:x,isDOMElement:B,isFunction:function(a){return"function"===typeof a},isNumber:w,isObject:C,isString:H,keys:function(a){b(32,!1,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(a)},merge:function(){var a,c=arguments,g={},h=function(a,c){"object"!==typeof a&&(a={});n(c,function(t,p){"__proto__"!==p&&
+"constructor"!==p&&(!C(t,!0)||x(t)||B(t)?a[p]=c[p]:a[p]=h(a[p]||{},t))});return a};!0===c[0]&&(g=c[1],c=Array.prototype.slice.call(c,2));var r=c.length;for(a=0;a<r;a++)g=h(g,c[a]);return g},normalizeTickInterval:function(a,c,g,h,r){var d=a;g=q(g,1);var M=a/g;c||(c=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===h&&(1===g?c=c.filter(function(a){return 0===a%1}):.1>=g&&(c=[1/g])));for(h=0;h<c.length&&!(d=c[h],r&&d*g>=a||!r&&M<=(c[h]+(c[h+1]||c[h]))/2);h++);return d=N(d*g,-Math.round(Math.log(.001)/
+Math.LN10))},objectEach:n,offset:function(a){var h=c.documentElement;a=a.parentElement||a.parentNode?a.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:a.top+(g.pageYOffset||h.scrollTop)-(h.clientTop||0),left:a.left+(g.pageXOffset||h.scrollLeft)-(h.clientLeft||0),width:a.width,height:a.height}},pad:function(a,c,g){return Array((c||2)+1-String(a).replace("-","").length).join(g||"0")+a},pick:q,pInt:z,relativeLength:function(a,c,g){return/%$/.test(a)?c*parseFloat(a)/100+(g||0):parseFloat(a)},
+removeEvent:J,splat:function(a){return G(a)?a:[a]},stableSort:function(a,c){var g=a.length,h,r;for(r=0;r<g;r++)a[r].safeI=r;a.sort(function(a,g){h=c(a,g);return 0===h?a.safeI-g.safeI:h});for(r=0;r<g;r++)delete a[r].safeI},syncTimeout:function(a,c,g){if(0<c)return setTimeout(a,c,g);a.call(0,g);return-1},timeUnits:{millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5},uniqueKey:A,useSerialIds:function(a){return r=q(a,r)},wrap:function(a,c,g){var h=a[c];a[c]=
+function(){var a=Array.prototype.slice.call(arguments),c=arguments,r=this;r.proceed=function(){h.apply(r,arguments.length?arguments:c)};a.unshift(h);a=g.apply(this,a);r.proceed=null;return a}}}});O(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(D,b){var e=b.isNumber,z=b.merge,H=b.pInt;"";b=function(){function b(e){this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(b){return[H(b[1]),H(b[2]),
+H(b[3]),parseFloat(b[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(b){return[H(b[1]),H(b[2]),H(b[3]),1]}}];this.rgba=[];if(D.Color!==b)return new D.Color(e);if(!(this instanceof b))return new b(e);this.init(e)}b.parse=function(e){return new b(e)};b.prototype.init=function(e){var B,x;if((this.input=e=b.names[e&&e.toLowerCase?e.toLowerCase():""]||e)&&e.stops)this.stops=e.stops.map(function(f){return new b(f[1])});else{if(e&&e.charAt&&"#"===e.charAt()){var w=
+e.length;e=parseInt(e.substr(1),16);7===w?B=[(e&16711680)>>16,(e&65280)>>8,e&255,1]:4===w&&(B=[(e&3840)>>4|(e&3840)>>8,(e&240)>>4|e&240,(e&15)<<4|e&15,1])}if(!B)for(x=this.parsers.length;x--&&!B;){var v=this.parsers[x];(w=v.regex.exec(e))&&(B=v.parse(w))}}this.rgba=B||[]};b.prototype.get=function(b){var B=this.input,x=this.rgba;if("undefined"!==typeof this.stops){var w=z(B);w.stops=[].concat(w.stops);this.stops.forEach(function(v,f){w.stops[f]=[w.stops[f][0],v.get(b)]})}else w=x&&e(x[0])?"rgb"===
+b||!b&&1===x[3]?"rgb("+x[0]+","+x[1]+","+x[2]+")":"a"===b?x[3]:"rgba("+x.join(",")+")":B;return w};b.prototype.brighten=function(b){var B,x=this.rgba;if(this.stops)this.stops.forEach(function(w){w.brighten(b)});else if(e(b)&&0!==b)for(B=0;3>B;B++)x[B]+=H(255*b),0>x[B]&&(x[B]=0),255<x[B]&&(x[B]=255);return this};b.prototype.setOpacity=function(b){this.rgba[3]=b;return this};b.prototype.tweenTo=function(b,e){var x=this.rgba,w=b.rgba;w.length&&x&&x.length?(b=1!==w[3]||1!==x[3],e=(b?"rgba(":"rgb(")+Math.round(w[0]+
+(x[0]-w[0])*(1-e))+","+Math.round(w[1]+(x[1]-w[1])*(1-e))+","+Math.round(w[2]+(x[2]-w[2])*(1-e))+(b?","+(w[3]+(x[3]-w[3])*(1-e)):"")+")"):e=b.input||"none";return e};b.names={white:"#ffffff",black:"#000000"};return b}();D.Color=b;D.color=b.parse;return b});O(e,"Core/Color/Palette.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",neutralColor80:"#333333",neutralColor60:"#666666",
+neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",positiveColor:"#06b535",negativeColor:"#f21313"}});O(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,b){var D=e.win,z=b.defined,H=b.error,G=b.extend,C=b.isObject,B=b.merge,x=b.objectEach,w=b.pad,v=b.pick,f=b.splat,d=
+b.timeUnits;"";b=function(){function q(d){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=D.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(d)}q.prototype.get=function(d,l){if(this.variableTimezone||this.timezoneOffset){var k=l.getTime(),u=k-this.getTimezoneOffset(l);l.setTime(u);d=l["getUTC"+d]();l.setTime(k);return d}return this.useUTC?l["getUTC"+d]():l["get"+d]()};q.prototype.set=function(d,l,f){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===
+d||"Seconds"===d||"Minutes"===d&&0===this.getTimezoneOffset(l)%36E5)return l["setUTC"+d](f);var u=this.getTimezoneOffset(l);u=l.getTime()-u;l.setTime(u);l["setUTC"+d](f);d=this.getTimezoneOffset(l);u=l.getTime()+d;return l.setTime(u)}return this.useUTC?l["setUTC"+d](f):l["set"+d](f)};q.prototype.update=function(d){var l=v(d&&d.useUTC,!0);this.options=d=B(!0,this.options||{},d);this.Date=d.Date||D.Date||Date;this.timezoneOffset=(this.useUTC=l)&&d.timezoneOffset;this.getTimezoneOffset=this.timezoneOffsetFunction();
+this.variableTimezone=l&&!(!d.getTimezoneOffset&&!d.timezone)};q.prototype.makeTime=function(d,l,f,u,n,q){if(this.useUTC){var k=this.Date.UTC.apply(0,arguments);var m=this.getTimezoneOffset(k);k+=m;var c=this.getTimezoneOffset(k);m!==c?k+=c-m:m-36E5!==this.getTimezoneOffset(k-36E5)||e.isSafari||(k-=36E5)}else k=(new this.Date(d,l,v(f,1),v(u,0),v(n,0),v(q,0))).getTime();return k};q.prototype.timezoneOffsetFunction=function(){var d=this,l=this.options,f=l.moment||D.moment;if(!this.useUTC)return function(d){return 6E4*
+(new Date(d.toString())).getTimezoneOffset()};if(l.timezone){if(f)return function(d){return 6E4*-f.tz(d,l.timezone).utcOffset()};H(25)}return this.useUTC&&l.getTimezoneOffset?function(d){return 6E4*l.getTimezoneOffset(d.valueOf())}:function(){return 6E4*(d.timezoneOffset||0)}};q.prototype.dateFormat=function(d,f,q){if(!z(f)||isNaN(f))return e.defaultOptions.lang&&e.defaultOptions.lang.invalidDate||"";d=v(d,"%Y-%m-%d %H:%M:%S");var l=this,n=new this.Date(f),k=this.get("Hours",n),N=this.get("Day",n),
+m=this.get("Date",n),c=this.get("Month",n),g=this.get("FullYear",n),a=e.defaultOptions.lang,h=a&&a.weekdays,r=a&&a.shortWeekdays;n=G({a:r?r[N]:h[N].substr(0,3),A:h[N],d:w(m),e:w(m,2," "),w:N,b:a.shortMonths[c],B:a.months[c],m:w(c+1),o:c+1,y:g.toString().substr(2,2),Y:g,H:w(k),k:k,I:w(k%12||12),l:k%12||12,M:w(this.get("Minutes",n)),p:12>k?"AM":"PM",P:12>k?"am":"pm",S:w(n.getSeconds()),L:w(Math.floor(f%1E3),3)},e.dateFormats);x(n,function(a,c){for(;-1!==d.indexOf("%"+c);)d=d.replace("%"+c,"function"===
+typeof a?a.call(l,f):a)});return q?d.substr(0,1).toUpperCase()+d.substr(1):d};q.prototype.resolveDTLFormat=function(d){return C(d,!0)?d:(d=f(d),{main:d[0],from:d[1],to:d[2]})};q.prototype.getTimeTicks=function(f,l,q,u){var n=this,k=[],N={};var m=new n.Date(l);var c=f.unitRange,g=f.count||1,a;u=v(u,1);if(z(l)){n.set("Milliseconds",m,c>=d.second?0:g*Math.floor(n.get("Milliseconds",m)/g));c>=d.second&&n.set("Seconds",m,c>=d.minute?0:g*Math.floor(n.get("Seconds",m)/g));c>=d.minute&&n.set("Minutes",m,
+c>=d.hour?0:g*Math.floor(n.get("Minutes",m)/g));c>=d.hour&&n.set("Hours",m,c>=d.day?0:g*Math.floor(n.get("Hours",m)/g));c>=d.day&&n.set("Date",m,c>=d.month?1:Math.max(1,g*Math.floor(n.get("Date",m)/g)));if(c>=d.month){n.set("Month",m,c>=d.year?0:g*Math.floor(n.get("Month",m)/g));var h=n.get("FullYear",m)}c>=d.year&&n.set("FullYear",m,h-h%g);c===d.week&&(h=n.get("Day",m),n.set("Date",m,n.get("Date",m)-h+u+(h<u?-7:0)));h=n.get("FullYear",m);u=n.get("Month",m);var r=n.get("Date",m),A=n.get("Hours",m);
+l=m.getTime();!n.variableTimezone&&n.useUTC||!z(q)||(a=q-l>4*d.month||n.getTimezoneOffset(l)!==n.getTimezoneOffset(q));l=m.getTime();for(m=1;l<q;)k.push(l),l=c===d.year?n.makeTime(h+m*g,0):c===d.month?n.makeTime(h,u+m*g):!a||c!==d.day&&c!==d.week?a&&c===d.hour&&1<g?n.makeTime(h,u,r,A+m*g):l+c*g:n.makeTime(h,u,r+m*g*(c===d.day?1:7)),m++;k.push(l);c<=d.hour&&1E4>k.length&&k.forEach(function(a){0===a%18E5&&"000000000"===n.dateFormat("%H%M%S%L",a)&&(N[a]="day")})}k.info=G(f,{higherRanks:N,totalRange:c*
+g});return k};return q}();e.Time=b;return e.Time});O(e,"Core/Options.js",[e["Core/Globals.js"],e["Core/Color/Color.js"],e["Core/Color/Palette.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(e,b,I,z,H){var D=e.isTouchDevice,C=e.svg;b=b.parse;var B=H.merge;"";var x={colors:I.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
+weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",
+x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:I.highlightColor80,backgroundColor:I.backgroundColor,plotBorderColor:I.neutralColor20},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:I.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},
+borderColor:I.neutralColor40,borderRadius:0,navigation:{activeColor:I.highlightColor100,inactiveColor:I.neutralColor20},itemStyle:{color:I.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:I.neutralColor100},itemHiddenStyle:{color:I.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",
+position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:I.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:C,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:D?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',
+backgroundColor:b(I.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:I.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:I.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};x.chart.styledMode=!1;"";var w=new z(B(x.global,x.time));return{defaultOptions:x,defaultTime:w,getOptions:function(){return x},
+setOptions:function(v){B(!0,x,v);if(v.time||v.global)e.time?e.time.update(B(x.global,x.time,v.global,v.time)):e.time=w;return x}}});O(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,b,I){var D=e.parse,H=b.win,G=I.isNumber,C=I.objectEach;return function(){function b(b,w,v){this.pos=NaN;this.options=w;this.elem=b;this.prop=v}b.prototype.dSetter=function(){var b=this.paths,w=b&&b[0];b=b&&b[1];var v=this.now||0,f=[];if(1!==v&&w&&b)if(w.length===
+b.length&&1>v)for(var d=0;d<b.length;d++){for(var q=w[d],k=b[d],l=[],N=0;N<k.length;N++){var u=q[N],n=k[N];G(u)&&G(n)&&("A"!==k[0]||4!==N&&5!==N)?l[N]=u+v*(n-u):l[N]=n}f.push(l)}else f=b;else f=this.toD||[];this.elem.attr("d",f,void 0,!0)};b.prototype.update=function(){var b=this.elem,w=this.prop,v=this.now,f=this.options.step;if(this[w+"Setter"])this[w+"Setter"]();else b.attr?b.element&&b.attr(w,v,null,!0):b.style[w]=v+this.unit;f&&f.call(b,v,this)};b.prototype.run=function(e,w,v){var f=this,d=f.options,
+q=function(d){return q.stopped?!1:f.step(d)},k=H.requestAnimationFrame||function(d){setTimeout(d,13)},l=function(){for(var d=0;d<b.timers.length;d++)b.timers[d]()||b.timers.splice(d--,1);b.timers.length&&k(l)};e!==w||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=w,this.unit=v,this.now=this.start,this.pos=0,q.elem=this.elem,q.prop=this.prop,q()&&1===b.timers.push(q)&&k(l)):(delete d.curAnim[this.prop],d.complete&&0===Object.keys(d.curAnim).length&&d.complete.call(this.elem))};
+b.prototype.step=function(b){var w=+new Date,v=this.options,f=this.elem,d=v.complete,q=v.duration,k=v.curAnim;if(f.attr&&!f.element)b=!1;else if(b||w>=q+this.startTime){this.now=this.end;this.pos=1;this.update();var l=k[this.prop]=!0;C(k,function(d){!0!==d&&(l=!1)});l&&d&&d.call(f);b=!1}else this.pos=v.easing((w-this.startTime)/q),this.now=this.start+(this.end-this.start)*this.pos,this.update(),b=!0;return b};b.prototype.initPath=function(b,w,v){function f(d,m){for(;d.length<J;){var c=d[0],g=m[J-
+d.length];g&&"M"===c[0]&&(d[0]="C"===g[0]?["C",c[1],c[2],c[1],c[2],c[1],c[2]]:["L",c[1],c[2]]);d.unshift(c);l&&(c=d.pop(),d.push(d[d.length-1],c))}}function d(d,m){for(;d.length<J;)if(m=d[Math.floor(d.length/N)-1].slice(),"C"===m[0]&&(m[1]=m[5],m[2]=m[6]),l){var c=d[Math.floor(d.length/N)].slice();d.splice(d.length/2,0,m,c)}else d.push(m)}var q=b.startX,k=b.endX;v=v.slice();var l=b.isArea,N=l?2:1;w=w&&w.slice();if(!w)return[v,v];if(q&&k&&k.length){for(b=0;b<q.length;b++)if(q[b]===k[0]){var u=b;break}else if(q[0]===
+k[k.length-q.length+b]){u=b;var n=!0;break}else if(q[q.length-1]===k[k.length-q.length+b]){u=q.length-b;break}"undefined"===typeof u&&(w=[])}if(w.length&&G(u)){var J=v.length+u*N;n?(f(w,v),d(v,w)):(f(v,w),d(w,v))}return[w,v]};b.prototype.fillSetter=function(){b.prototype.strokeSetter.apply(this,arguments)};b.prototype.strokeSetter=function(){this.elem.attr(this.prop,D(this.start).tweenTo(D(this.end),this.pos),null,!0)};b.timers=[];return b}()});O(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],
+e["Core/Utilities.js"]],function(e,b){function D(d){return x(d)?w({duration:500,defer:0},d):{duration:d?500:0,defer:0}}function z(d,f){for(var q=e.timers.length;q--;)e.timers[q].elem!==d||f&&f!==e.timers[q].prop||(e.timers[q].stopped=!0)}var H=b.defined,G=b.getStyle,C=b.isArray,B=b.isNumber,x=b.isObject,w=b.merge,v=b.objectEach,f=b.pick;return{animate:function(d,f,k){var l,q="",u,n;if(!x(k)){var b=arguments;k={duration:b[2],easing:b[3],complete:b[4]}}B(k.duration)||(k.duration=400);k.easing="function"===
+typeof k.easing?k.easing:Math[k.easing]||Math.easeInOutSine;k.curAnim=w(f);v(f,function(b,m){z(d,m);n=new e(d,k,m);u=void 0;"d"===m&&C(f.d)?(n.paths=n.initPath(d,d.pathArray,f.d),n.toD=f.d,l=0,u=1):d.attr?l=d.attr(m):(l=parseFloat(G(d,m))||0,"opacity"!==m&&(q="px"));u||(u=b);"string"===typeof u&&u.match("px")&&(u=u.replace(/px/g,""));n.run(l,u,q)})},animObject:D,getDeferredAnimation:function(d,f,b){var l=D(f),q=0,u=0;(b?[b]:d.series).forEach(function(d){d=D(d.options.animation);q=f&&H(f.defer)?l.defer:
+Math.max(q,d.duration+d.defer);u=Math.min(l.duration,d.duration)});d.renderer.forExport&&(q=0);return{defer:Math.max(0,q-u),duration:Math.min(q,u)}},setAnimation:function(d,q){q.renderer.globalAnimation=f(d,q.options.chart.animation,!0)},stop:z}});O(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,b){var D=e.SVG_NS,z=b.attr,H=b.createElement,G=b.discardElement,C=b.error,B=b.isString,x=b.objectEach,w=b.splat;"";var v=!1;try{v=!!(new DOMParser).parseFromString("",
+"text/html")}catch(f){}return function(){function f(d){this.nodes="string"===typeof d?this.parseMarkup(d):d}f.filterUserAttributes=function(d){x(d,function(q,b){var l=!0;-1===f.allowedAttributes.indexOf(b)&&(l=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(b)&&(l=B(q)&&f.allowedReferences.some(function(d){return 0===q.indexOf(d)}));l||(C("Highcharts warning: Invalid attribute '"+b+"' in config"),delete d[b])});return d};f.setElementHTML=function(d,q){d.innerHTML="";q&&(new f(q)).addToDOM(d)};
+f.prototype.addToDOM=function(d){function q(d,l){var b;w(d).forEach(function(d){var n=d.tagName,u=d.textContent?e.doc.createTextNode(d.textContent):void 0;if(n)if("#text"===n)var k=u;else if(-1!==f.allowedTags.indexOf(n)){n=e.doc.createElementNS("svg"===n?D:l.namespaceURI||D,n);var m=d.attributes||{};x(d,function(c,g){"tagName"!==g&&"attributes"!==g&&"children"!==g&&"textContent"!==g&&(m[g]=c)});z(n,f.filterUserAttributes(m));u&&n.appendChild(u);q(d.children||[],n);k=n}else C("Highcharts warning: Invalid tagName '"+
+n+"' in config");k&&l.appendChild(k);b=k});return b}return q(this.nodes,d)};f.prototype.parseMarkup=function(d){var f=[];if(v)d=(new DOMParser).parseFromString(d,"text/html");else{var b=H("div");b.innerHTML=d;d={body:b}}var l=function(d,f){var n=d.nodeName.toLowerCase(),b={tagName:n};if("#text"===n){n=d.textContent||"";if(/^[\s]*$/.test(n))return;b.textContent=n}if(n=d.attributes){var u={};[].forEach.call(n,function(c){u[c.name]=c.value});b.attributes=u}if(d.childNodes.length){var m=[];[].forEach.call(d.childNodes,
+function(c){l(c,m)});m.length&&(b.children=m)}f.push(b)};[].forEach.call(d.body.childNodes,function(d){return l(d,f)});b&&G(b);return f};f.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" ");f.allowedAttributes=
+"aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 x2 y y1 y2 zIndex".split(" ");
+f.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");return f}()});O(e,"Core/FormatUtilities.js",[e["Core/Options.js"],e["Core/Utilities.js"]],function(e,b){function D(b,v,f,d){b=+b||0;v=+v;var q=z.lang,k=(b.toString().split(".")[1]||"").split("e")[0].length,l=b.toString().split("e"),N=v;if(-1===v)v=Math.min(k,20);else if(!C(v))v=2;else if(v&&l[1]&&0>l[1]){var u=v+ +l[1];0<=u?(l[0]=(+l[0]).toExponential(u).split("e")[0],v=u):(l[0]=l[0].split(".")[0]||0,b=20>v?(l[0]*Math.pow(10,l[1])).toFixed(v):
+0,l[1]=0)}u=(Math.abs(l[1]?l[0]:b)+Math.pow(10,-Math.max(v,k)-1)).toFixed(v);k=String(x(u));var n=3<k.length?k.length%3:0;f=B(f,q.decimalPoint);d=B(d,q.thousandsSep);b=(0>b?"-":"")+(n?k.substr(0,n)+d:"");b=0>+l[1]&&!N?"0":b+k.substr(n).replace(/(\d{3})(?=\d)/g,"$1"+d);v&&(b+=f+u.slice(-v));l[1]&&0!==+b&&(b+="e"+l[1]);return b}var z=e.defaultOptions,H=e.defaultTime,G=b.getNestedProperty,C=b.isNumber,B=b.pick,x=b.pInt;return{dateFormat:function(b,v,f){return H.dateFormat(b,v,f)},format:function(b,v,
+f){var d="{",q=!1,k=/f$/,l=/\.([0-9])/,N=z.lang,u=f&&f.time||H;f=f&&f.numberFormatter||D;for(var n=[];b;){var J=b.indexOf(d);if(-1===J)break;var E=b.slice(0,J);if(q){E=E.split(":");d=G(E.shift()||"",v);if(E.length&&"number"===typeof d)if(E=E.join(":"),k.test(E)){var m=parseInt((E.match(l)||["","-1"])[1],10);null!==d&&(d=f(d,m,N.decimalPoint,-1<E.indexOf(",")?N.thousandsSep:""))}else d=u.dateFormat(E,d);n.push(d)}else n.push(E);b=b.slice(J+1);d=(q=!q)?"}":"{"}n.push(b);return n.join("")},numberFormat:D}});
+O(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,b,I,z,H,G){var D=e.animate,B=e.animObject,x=e.stop,w=z.deg2rad,v=z.doc,f=z.noop,d=z.svg,q=z.SVG_NS,k=z.win,l=G.addEvent,N=G.attr,u=G.createElement,n=G.css,J=G.defined,E=G.erase,m=G.extend,c=G.fireEvent,g=G.isArray,a=G.isFunction,h=G.isNumber,r=G.isString,A=G.merge,y=G.objectEach,L=
+G.pick,P=G.pInt,R=G.syncTimeout,V=G.uniqueKey;e=function(){function e(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=q;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}e.prototype._defaultGetter=function(a){a=L(this[a+"Value"],this[a],this.element?this.element.getAttribute(a):null,0);/^[\-0-9\.]+$/.test(a)&&(a=parseFloat(a));return a};e.prototype._defaultSetter=function(a,t,p){p.setAttribute(t,a)};e.prototype.add=
+function(a){var t=this.renderer,p=this.element;a&&(this.parentGroup=a);this.parentInverted=a&&a.inverted;"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&t.buildText(this);this.added=!0;if(!a||a.handleZ||this.zIndex)var c=this.zIndexSetter();c||(a?a.element:t.box).appendChild(p);if(this.onAdd)this.onAdd();return this};e.prototype.addClass=function(a,t){var p=t?"":this.attr("class")||"";a=(a||"").split(/ /g).reduce(function(a,t){-1===p.indexOf(t)&&a.push(t);return a},p?[p]:[]).join(" ");
+a!==p&&this.attr("class",a);return this};e.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)};e.prototype.align=function(a,t,p){var c={},g=this.renderer,d=g.alignedObjects,F,h,K;if(a){if(this.alignOptions=a,this.alignByTranslate=t,!p||r(p))this.alignTo=F=p||"renderer",E(d,this),d.push(this),p=void 0}else a=this.alignOptions,t=this.alignByTranslate,F=this.alignTo;p=L(p,g[F],"scrollablePlotBox"===F?g.plotBox:void 0,g);F=a.align;var M=a.verticalAlign;g=
+(p.x||0)+(a.x||0);d=(p.y||0)+(a.y||0);"right"===F?h=1:"center"===F&&(h=2);h&&(g+=(p.width-(a.width||0))/h);c[t?"translateX":"x"]=Math.round(g);"bottom"===M?K=1:"middle"===M&&(K=2);K&&(d+=(p.height-(a.height||0))/K);c[t?"translateY":"y"]=Math.round(d);this[this.placed?"animate":"attr"](c);this.placed=!0;this.alignAttr=c;return this};e.prototype.alignSetter=function(a){var t={left:"start",center:"middle",right:"end"};t[a]&&(this.alignValue=a,this.element.setAttribute("text-anchor",t[a]))};e.prototype.animate=
+function(a,t,p){var c=this,g=B(L(t,this.renderer.globalAnimation,!0));t=g.defer;L(v.hidden,v.msHidden,v.webkitHidden,!1)&&(g.duration=0);0!==g.duration?(p&&(g.complete=p),R(function(){c.element&&D(c,a,g)},t)):(this.attr(a,void 0,p),y(a,function(a,p){g.step&&g.step.call(this,a,{prop:p,pos:1,elem:this})},this));return this};e.prototype.applyTextOutline=function(a){var t=this.element;-1!==a.indexOf("contrast")&&(a=a.replace(/contrast/g,this.renderer.getContrast(t.style.fill)));var p=a.split(" ");a=p[p.length-
+1];if((p=p[0])&&"none"!==p&&z.svg){this.fakeTS=!0;this.ySetter=this.xSetter;p=p.replace(/(^[\d\.]+)(.*?)$/g,function(a,p,t){return 2*Number(p)+t});this.removeTextOutline();var c=v.createElementNS(q,"tspan");N(c,{"class":"highcharts-text-outline",fill:a,stroke:a,"stroke-width":p,"stroke-linejoin":"round"});[].forEach.call(t.childNodes,function(a){var p=a.cloneNode(!0);p.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(a){return p.removeAttribute(a)});c.appendChild(p)});var g=
+v.createElementNS(q,"tspan");g.textContent="\u200b";["x","y"].forEach(function(a){var p=t.getAttribute(a);p&&g.setAttribute(a,p)});c.appendChild(g);t.insertBefore(c,t.firstChild)}};e.prototype.attr=function(a,t,p,c){var g=this.element,d=this.symbolCustomAttribs,h,r=this,K,m;if("string"===typeof a&&"undefined"!==typeof t){var M=a;a={};a[M]=t}"string"===typeof a?r=(this[a+"Getter"]||this._defaultGetter).call(this,a,g):(y(a,function(p,t){K=!1;c||x(this,t);this.symbolName&&-1!==d.indexOf(t)&&(h||(this.symbolAttr(a),
+h=!0),K=!0);!this.rotation||"x"!==t&&"y"!==t||(this.doTransform=!0);K||(m=this[t+"Setter"]||this._defaultSetter,m.call(this,p,t,g),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(t)&&this.updateShadows(t,p,m))},this),this.afterSetters());p&&p.call(this);return r};e.prototype.clip=function(a){return this.attr("clip-path",a?"url("+this.renderer.url+"#"+a.id+")":"none")};e.prototype.crisp=function(a,t){t=t||a.strokeWidth||0;var p=Math.round(t)%2/2;a.x=Math.floor(a.x||
+this.x||0)+p;a.y=Math.floor(a.y||this.y||0)+p;a.width=Math.floor((a.width||this.width||0)-2*p);a.height=Math.floor((a.height||this.height||0)-2*p);J(a.strokeWidth)&&(a.strokeWidth=t);return a};e.prototype.complexColor=function(a,t,p){var d=this.renderer,h,r,F,m,K,M,f,b,l,n,u=[],q;c(this.renderer,"complexColor",{args:arguments},function(){a.radialGradient?r="radialGradient":a.linearGradient&&(r="linearGradient");if(r){F=a[r];K=d.gradients;M=a.stops;l=p.radialReference;g(F)&&(a[r]=F={x1:F[0],y1:F[1],
+x2:F[2],y2:F[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===r&&l&&!J(F.gradientUnits)&&(m=F,F=A(F,d.getRadialAttr(l,m),{gradientUnits:"userSpaceOnUse"}));y(F,function(a,p){"id"!==p&&u.push(p,a)});y(M,function(a){u.push(a)});u=u.join(",");if(K[u])n=K[u].attr("id");else{F.id=n=V();var c=K[u]=d.createElement(r).attr(F).add(d.defs);c.radAttr=m;c.stops=[];M.forEach(function(a){0===a[1].indexOf("rgba")?(h=I.parse(a[1]),f=h.get("rgb"),b=h.get("a")):(f=a[1],b=1);a=d.createElement("stop").attr({offset:a[0],
+"stop-color":f,"stop-opacity":b}).add(c);c.stops.push(a)})}q="url("+d.url+"#"+n+")";p.setAttribute(t,q);p.gradient=u;a.toString=function(){return q}}})};e.prototype.css=function(a){var t=this.styles,p={},c=this.element,g=["textOutline","textOverflow","width"],h="",F=!t;a&&a.color&&(a.fill=a.color);t&&y(a,function(a,c){t&&t[c]!==a&&(p[c]=a,F=!0)});if(F){t&&(a=m(t,p));if(a)if(null===a.width||"auto"===a.width)delete this.textWidth;else if("text"===c.nodeName.toLowerCase()&&a.width)var r=this.textWidth=
+P(a.width);this.styles=a;r&&!d&&this.renderer.forExport&&delete a.width;if(c.namespaceURI===this.SVG_NS){var K=function(a,p){return"-"+p.toLowerCase()};y(a,function(a,p){-1===g.indexOf(p)&&(h+=p.replace(/([A-Z])/g,K)+":"+a+";")});h&&N(c,"style",h)}else n(c,a);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),a&&a.textOutline&&this.applyTextOutline(a.textOutline))}return this};e.prototype.dashstyleSetter=function(a){var t=this["stroke-width"];"inherit"===t&&(t=1);if(a=a&&a.toLowerCase()){var p=
+a.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(a=p.length;a--;)p[a]=""+P(p[a])*L(t,NaN);a=p.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",a)}};e.prototype.destroy=function(){var a=this,t=a.element||{},p=a.renderer,c=t.ownerSVGElement,g=p.isSVG&&"SPAN"===t.nodeName&&a.parentGroup||
+void 0;t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null;x(a);if(a.clipPath&&c){var d=a.clipPath;[].forEach.call(c.querySelectorAll("[clip-path],[CLIP-PATH]"),function(a){-1<a.getAttribute("clip-path").indexOf(d.element.id)&&a.removeAttribute("clip-path")});a.clipPath=d.destroy()}if(a.stops){for(c=0;c<a.stops.length;c++)a.stops[c].destroy();a.stops.length=0;a.stops=void 0}a.safeRemoveChild(t);for(p.styledMode||a.destroyShadows();g&&g.div&&0===g.div.childNodes.length;)t=g.parentGroup,
+a.safeRemoveChild(g.div),delete g.div,g=t;a.alignTo&&E(p.alignedObjects,a);y(a,function(p,c){a[c]&&a[c].parentGroup===a&&a[c].destroy&&a[c].destroy();delete a[c]})};e.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(a){this.safeRemoveChild(a)},this);this.shadows=void 0};e.prototype.destroyTextPath=function(a,c){var p=a.getElementsByTagName("text")[0];if(p){if(p.removeAttribute("dx"),p.removeAttribute("dy"),c.element.setAttribute("id",""),this.textPathWrapper&&p.getElementsByTagName("textPath").length){for(a=
+this.textPathWrapper.element.childNodes;a.length;)p.appendChild(a[0]);p.removeChild(this.textPathWrapper.element)}}else if(a.getAttribute("dx")||a.getAttribute("dy"))a.removeAttribute("dx"),a.removeAttribute("dy");this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())};e.prototype.dSetter=function(a,c,p){g(a)&&("string"===typeof a[0]&&(a=this.renderer.pathToSegments(a)),this.pathArray=a,a=a.reduce(function(a,p,c){return p&&p.join?(c?a+" ":"")+p.join(" "):(p||"").toString()},""));
+/(NaN| {2}|^$)/.test(a)&&(a="M 0 0");this[c]!==a&&(p.setAttribute(c,a),this[c]=a)};e.prototype.fadeOut=function(a){var c=this;c.animate({opacity:0},{duration:L(a,150),complete:function(){c.attr({y:-9999}).hide()}})};e.prototype.fillSetter=function(a,c,p){"string"===typeof a?p.setAttribute(c,a):a&&this.complexColor(a,c,p)};e.prototype.getBBox=function(c,t){var p=this.renderer,g=this.element,d=this.styles,h=this.textStr,F=p.cache,r=p.cacheKeys,K=g.namespaceURI===this.SVG_NS;t=L(t,this.rotation,0);var A=
+p.styledMode?g&&e.prototype.getStyle.call(g,"font-size"):d&&d.fontSize,f;if(J(h)){var b=h.toString();-1===b.indexOf("<")&&(b=b.replace(/[0-9]/g,"0"));b+=["",t,A,this.textWidth,d&&d.textOverflow,d&&d.fontWeight].join()}b&&!c&&(f=F[b]);if(!f){if(K||p.forExport){try{var y=this.fakeTS&&function(a){var p=g.querySelector(".highcharts-text-outline");p&&n(p,{display:a})};a(y)&&y("none");f=g.getBBox?m({},g.getBBox()):{width:g.offsetWidth,height:g.offsetHeight};a(y)&&y("")}catch(Y){""}if(!f||0>f.width)f={width:0,
+height:0}}else f=this.htmlGetBBox();p.isSVG&&(c=f.width,p=f.height,K&&(f.height=p={"11px,17":14,"13px,20":16}[d&&d.fontSize+","+Math.round(p)]||p),t&&(d=t*w,f.width=Math.abs(p*Math.sin(d))+Math.abs(c*Math.cos(d)),f.height=Math.abs(p*Math.cos(d))+Math.abs(c*Math.sin(d))));if(b&&0<f.height){for(;250<r.length;)delete F[r.shift()];F[b]||r.push(b);F[b]=f}}return f};e.prototype.getStyle=function(a){return k.getComputedStyle(this.element||this,"").getPropertyValue(a)};e.prototype.hasClass=function(a){return-1!==
+(""+this.attr("class")).split(" ").indexOf(a)};e.prototype.hide=function(a){a?this.attr({y:-9999}):this.attr({visibility:"hidden"});return this};e.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};e.prototype.init=function(a,t){this.element="span"===t?u(t):v.createElementNS(this.SVG_NS,t);this.renderer=a;c(this,"afterInit")};e.prototype.invert=function(a){this.inverted=a;this.updateTransform();return this};e.prototype.on=function(a,c){var p=this.onEvents;if(p[a])p[a]();p[a]=l(this.element,
+a,c);return this};e.prototype.opacitySetter=function(a,c,p){this.opacity=a=Number(Number(a).toFixed(3));p.setAttribute(c,a)};e.prototype.removeClass=function(a){return this.attr("class",(""+this.attr("class")).replace(r(a)?new RegExp("(^| )"+a+"( |$)"):a," ").replace(/ +/g," ").trim())};e.prototype.removeTextOutline=function(){var a=this.element.querySelector("tspan.highcharts-text-outline");a&&this.safeRemoveChild(a)};e.prototype.safeRemoveChild=function(a){var c=a.parentNode;c&&c.removeChild(a)};
+e.prototype.setRadialReference=function(a){var c=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=a;c&&c.radAttr&&c.animate(this.renderer.getRadialAttr(a,c.radAttr));return this};e.prototype.setTextPath=function(a,c){var p=this.element,t=this.text?this.text.element:p,g={textAnchor:"text-anchor"},d=!1,F=this.textPathWrapper,r=!F;c=A(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},c);var K=b.filterUserAttributes(c.attributes);
+if(a&&c&&c.enabled){F&&null===F.element.parentNode?(r=!0,F=F.destroy()):F&&this.removeTextOutline.call(F.parentGroup);this.options&&this.options.padding&&(K.dx=-this.options.padding);F||(this.textPathWrapper=F=this.renderer.createElement("textPath"),d=!0);var m=F.element;(c=a.element.getAttribute("id"))||a.element.setAttribute("id",c=V());if(r)for(t.setAttribute("y",0),h(K.dx)&&t.setAttribute("x",-K.dx),a=[].slice.call(t.childNodes),r=0;r<a.length;r++){var l=a[r];l.nodeType!==Node.TEXT_NODE&&"tspan"!==
+l.nodeName||m.appendChild(l)}d&&F&&F.add({element:t});m.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+c);J(K.dy)&&(m.parentNode.setAttribute("dy",K.dy),delete K.dy);J(K.dx)&&(m.parentNode.setAttribute("dx",K.dx),delete K.dx);y(K,function(a,p){m.setAttribute(g[p]||p,a)});p.removeAttribute("transform");this.removeTextOutline.call(F);this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0});this.applyTextOutline=this.updateTransform=f}else F&&(delete this.updateTransform,
+delete this.applyTextOutline,this.destroyTextPath(p,a),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this};e.prototype.shadow=function(a,c,p){var t=[],g=this.element,d=this.oldShadowOptions,h={color:H.neutralColor100,offsetX:1,offsetY:1,opacity:.15,width:3},r=!1,K;!0===a?K=h:"object"===typeof a&&(K=m(h,a));K&&(K&&d&&y(K,function(a,p){a!==d[p]&&(r=!0)}),r&&this.destroyShadows(),this.oldShadowOptions=K);if(!K)this.destroyShadows();
+else if(!this.shadows){var A=K.opacity/K.width;var f=this.parentInverted?"translate(-1,-1)":"translate("+K.offsetX+", "+K.offsetY+")";for(h=1;h<=K.width;h++){var b=g.cloneNode(!1);var l=2*K.width+1-2*h;N(b,{stroke:a.color||H.neutralColor100,"stroke-opacity":A*h,"stroke-width":l,transform:f,fill:"none"});b.setAttribute("class",(b.getAttribute("class")||"")+" highcharts-shadow");p&&(N(b,"height",Math.max(N(b,"height")-l,0)),b.cutHeight=l);c?c.element.appendChild(b):g.parentNode&&g.parentNode.insertBefore(b,
+g);t.push(b)}this.shadows=t}return this};e.prototype.show=function(a){return this.attr({visibility:a?"inherit":"visible"})};e.prototype.strokeSetter=function(a,c,p){this[c]=a;this.stroke&&this["stroke-width"]?(e.prototype.fillSetter.call(this,this.stroke,"stroke",p),p.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===c&&0===a&&this.hasStroke?(p.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(p.setAttribute("stroke-width",
+this["stroke-width"]),this.hasStroke=!0)};e.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var a=this.getStyle("stroke-width"),c=0;if(a.indexOf("px")===a.length-2)c=P(a);else if(""!==a){var p=v.createElementNS(q,"rect");N(p,{width:a,"stroke-width":0});this.element.parentNode.appendChild(p);c=p.getBBox().width;p.parentNode.removeChild(p)}return c};e.prototype.symbolAttr=function(a){var c=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(p){c[p]=
+L(a[p],c[p])});c.attr({d:c.renderer.symbols[c.symbolName](c.x,c.y,c.width,c.height,c)})};e.prototype.textSetter=function(a){a!==this.textStr&&(delete this.textPxLength,this.textStr=a,this.added&&this.renderer.buildText(this))};e.prototype.titleSetter=function(a){var c=this.element,p=c.getElementsByTagName("title")[0]||v.createElementNS(this.SVG_NS,"title");c.insertBefore?c.insertBefore(p,c.firstChild):c.appendChild(p);p.textContent=String(L(a,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,
+">")};e.prototype.toFront=function(){var a=this.element;a.parentNode.appendChild(a);return this};e.prototype.translate=function(a,c){return this.attr({translateX:a,translateY:c})};e.prototype.updateShadows=function(a,c,p){var t=this.shadows;if(t)for(var g=t.length;g--;)p.call(t[g],"height"===a?Math.max(c-(t[g].cutHeight||0),0):"d"===a?this.d:c,a,t[g])};e.prototype.updateTransform=function(){var a=this.scaleX,c=this.scaleY,p=this.inverted,g=this.rotation,d=this.matrix,h=this.element,F=this.translateX||
+0,r=this.translateY||0;p&&(F+=this.width,r+=this.height);F=["translate("+F+","+r+")"];J(d)&&F.push("matrix("+d.join(",")+")");p?F.push("rotate(90) scale(-1,1)"):g&&F.push("rotate("+g+" "+L(this.rotationOriginX,h.getAttribute("x"),0)+" "+L(this.rotationOriginY,h.getAttribute("y")||0)+")");(J(a)||J(c))&&F.push("scale("+L(a,1)+" "+L(c,1)+")");F.length&&h.setAttribute("transform",F.join(" "))};e.prototype.visibilitySetter=function(a,c,p){"inherit"===a?p.removeAttribute(c):this[c]!==a&&p.setAttribute(c,
+a);this[c]=a};e.prototype.xGetter=function(a){"circle"===this.element.nodeName&&("x"===a?a="cx":"y"===a&&(a="cy"));return this._defaultGetter(a)};e.prototype.zIndexSetter=function(a,c){var p=this.renderer,g=this.parentGroup,t=(g||p).element||p.box,d=this.element;p=t===p.box;var h=!1;var r=this.added;var K;J(a)?(d.setAttribute("data-z-index",a),a=+a,this[c]===a&&(r=!1)):J(this[c])&&d.removeAttribute("data-z-index");this[c]=a;if(r){(a=this.zIndex)&&g&&(g.handleZ=!0);c=t.childNodes;for(K=c.length-1;0<=
+K&&!h;K--){g=c[K];r=g.getAttribute("data-z-index");var m=!J(r);if(g!==d)if(0>a&&m&&!p&&!K)t.insertBefore(d,c[K]),h=!0;else if(P(r)<=a||m&&(!J(a)||0<=a))t.insertBefore(d,c[K+1]||null),h=!0}h||(t.insertBefore(d,c[p?3:0]||null),h=!0)}return h};return e}();e.prototype["stroke-widthSetter"]=e.prototype.strokeSetter;e.prototype.yGetter=e.prototype.xGetter;e.prototype.matrixSetter=e.prototype.rotationOriginXSetter=e.prototype.rotationOriginYSetter=e.prototype.rotationSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=
+e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.verticalAlignSetter=function(a,c){this[c]=a;this.doTransform=!0};"";return e});O(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(e,b){function D(b,f){C(b)?b!==this[f]&&(this[f]=b,this.updateTextPadding()):this[f]=void 0}var z=this&&this.__extends||function(){var b=function(f,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,
+b){for(var f in b)b.hasOwnProperty(f)&&(d[f]=b[f])};return b(f,d)};return function(f,d){function q(){this.constructor=f}b(f,d);f.prototype=null===d?Object.create(d):(q.prototype=d.prototype,new q)}}(),H=b.defined,G=b.extend,C=b.isNumber,B=b.merge,x=b.pick,w=b.removeEvent;return function(b){function f(d,q,k,l,e,u,n,v,E,m){var c=b.call(this)||this;c.paddingSetter=D;c.paddingLeftSetter=D;c.paddingRightSetter=D;c.init(d,"g");c.textStr=q;c.x=k;c.y=l;c.anchorX=u;c.anchorY=n;c.baseline=E;c.className=m;"button"!==
+m&&c.addClass("highcharts-label");m&&c.addClass("highcharts-"+m);c.text=d.text("",0,0,v).attr({zIndex:1});if("string"===typeof e){var g=/^url\((.*?)\)$/.test(e);if(c.renderer.symbols[e]||g)c.symbolKey=e}c.bBox=f.emptyBBox;c.padding=3;c.baselineOffset=0;c.needsBox=d.styledMode||g;c.deferredAttr={};c.alignFactor=0;return c}z(f,b);f.prototype.alignSetter=function(d){d={left:0,center:.5,right:1}[d];d!==this.alignFactor&&(this.alignFactor=d,this.bBox&&C(this.xSetting)&&this.attr({x:this.xSetting}))};f.prototype.anchorXSetter=
+function(d,b){this.anchorX=d;this.boxAttr(b,Math.round(d)-this.getCrispAdjust()-this.xSetting)};f.prototype.anchorYSetter=function(d,b){this.anchorY=d;this.boxAttr(b,d-this.ySetting)};f.prototype.boxAttr=function(d,b){this.box?this.box.attr(d,b):this.deferredAttr[d]=b};f.prototype.css=function(d){if(d){var b={},k=void 0;d=B(d);f.textProps.forEach(function(f){"undefined"!==typeof d[f]&&(b[f]=d[f],delete d[f])});this.text.css(b);k="width"in b;"fontSize"in b||"fontWeight"in b?this.updateTextPadding():
+k&&this.updateBoxSize()}return e.prototype.css.call(this,d)};f.prototype.destroy=function(){w(this.element,"mouseenter");w(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());e.prototype.destroy.call(this)};f.prototype.fillSetter=function(d,b){d&&(this.needsBox=!0);this.fill=d;this.boxAttr(b,d)};f.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var d=this.padding,b=x(this.paddingLeft,d);return{width:this.width,
+height:this.height,x:this.bBox.x-b,y:this.bBox.y-d}};f.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};f.prototype.heightSetter=function(d){this.heightSetting=d};f.prototype.on=function(d,b){var f=this,l=f.text,q=l&&"SPAN"===l.element.tagName?l:void 0;if(q){var u=function(l){("mouseenter"===d||"mouseleave"===d)&&l.relatedTarget instanceof Element&&(f.element.compareDocumentPosition(l.relatedTarget)&
+Node.DOCUMENT_POSITION_CONTAINED_BY||q.element.compareDocumentPosition(l.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||b.call(f.element,l)};q.on(d,u)}e.prototype.on.call(f,d,u||b);return f};f.prototype.onAdd=function(){var d=this.textStr;this.text.add(this);this.attr({text:H(d)?d:"",x:this.x,y:this.y});this.box&&H(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};f.prototype.rSetter=function(d,b){this.boxAttr(b,d)};f.prototype.shadow=function(d){d&&!this.renderer.styledMode&&
+(this.updateBoxSize(),this.box&&this.box.shadow(d));return this};f.prototype.strokeSetter=function(d,b){this.stroke=d;this.boxAttr(b,d)};f.prototype["stroke-widthSetter"]=function(d,b){d&&(this.needsBox=!0);this["stroke-width"]=d;this.boxAttr(b,d)};f.prototype["text-alignSetter"]=function(d){this.textAlign=d};f.prototype.textSetter=function(d){"undefined"!==typeof d&&this.text.attr({text:d});this.updateTextPadding()};f.prototype.updateBoxSize=function(){var d=this.text.element.style,b={},e=this.padding,
+l=this.bBox=C(this.widthSetting)&&C(this.heightSetting)&&!this.textAlign||!H(this.text.textStr)?f.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||l.height||0)+2*e;this.baselineOffset=e+Math.min(this.renderer.fontMetrics(d&&d.fontSize,this.text).b,l.height||Infinity);this.needsBox&&(this.box||(d=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),d.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?
+" highcharts-"+this.className+"-box":"")),d.add(this)),d=this.getCrispAdjust(),b.x=d,b.y=(this.baseline?-this.baselineOffset:0)+d,b.width=Math.round(this.width),b.height=Math.round(this.height),this.box.attr(G(b,this.deferredAttr)),this.deferredAttr={})};f.prototype.updateTextPadding=function(){var d=this.text;this.updateBoxSize();var b=this.baseline?0:this.baselineOffset,f=x(this.paddingLeft,this.padding);H(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(f+=
+{center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(f!==d.x||b!==d.y)d.attr("x",f),d.hasBoxWidthChanged&&(this.bBox=d.getBBox(!0)),"undefined"!==typeof b&&d.attr("y",b);d.x=f;d.y=b};f.prototype.widthSetter=function(d){this.widthSetting=C(d)?d:void 0};f.prototype.getPaddedWidth=function(){var d=this.padding,b=x(this.paddingLeft,d);d=x(this.paddingRight,d);return(this.widthSetting||this.bBox.width||0)+b+d};f.prototype.xSetter=function(d){this.x=d;this.alignFactor&&(d-=this.alignFactor*
+this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(d);this.attr("translateX",this.xSetting)};f.prototype.ySetter=function(d){this.ySetting=this.y=Math.round(d);this.attr("translateY",this.ySetting)};f.emptyBBox={width:0,height:0,x:0,y:0};f.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return f}(e)});O(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Globals.js"],e["Core/Utilities.js"],
+e["Core/Renderer/HTML/AST.js"]],function(e,b,I){var D=e.doc,H=e.SVG_NS,G=b.attr,C=b.isString,B=b.objectEach,x=b.pick;return function(){function b(b){var f=b.styles;this.renderer=b.renderer;this.svgElement=b;this.width=b.textWidth;this.textLineHeight=f&&f.lineHeight;this.textOutline=f&&f.textOutline;this.ellipsis=!(!f||"ellipsis"!==f.textOverflow);this.noWrap=!(!f||"nowrap"!==f.whiteSpace);this.fontSize=f&&f.fontSize}b.prototype.buildSVG=function(){var b=this.svgElement,f=b.element,d=b.renderer,e=
+x(b.textStr,"").toString(),k=-1!==e.indexOf("<"),l=f.childNodes,N=l.length;d=this.width&&!b.added&&d.box;var u=/<br.*?>/g;var n=[e,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(n!==b.textCache){b.textCache=n;for(delete b.actualWidth;N--;)f.removeChild(l[N]);k||this.ellipsis||this.width||-1!==e.indexOf(" ")&&(!this.noWrap||u.test(e))?""!==e&&(d&&d.appendChild(f),e=new I(e),this.modifyTree(e.nodes),e.addToDOM(b.element),this.modifyDOM(),this.ellipsis&&
+-1!==(f.textContent||"").indexOf("\u2026")&&b.attr("title",this.unescapeEntities(b.textStr||"",["&lt;","&gt;"])),d&&d.removeChild(f)):f.appendChild(D.createTextNode(this.unescapeEntities(e)));C(this.textOutline)&&b.applyTextOutline&&b.applyTextOutline(this.textOutline)}};b.prototype.modifyDOM=function(){var b=this,f=this.svgElement,d=G(f.element,"x");[].forEach.call(f.element.querySelectorAll("tspan.highcharts-br"),function(f){f.nextSibling&&f.previousSibling&&G(f,{dy:b.getLineHeight(f.nextSibling),
+x:d})});var e=this.width||0;if(e){var k=function(l,u){var n=l.textContent||"",k=n.replace(/([^\^])-/g,"$1- ").split(" "),q=!b.noWrap&&(1<k.length||1<f.element.childNodes.length),m=b.getLineHeight(u),c=0,g=f.actualWidth;if(b.ellipsis)n&&b.truncate(l,n,void 0,0,Math.max(0,e-parseInt(b.fontSize||12,10)),function(a,c){return a.substring(0,c)+"\u2026"});else if(q){n=[];for(q=[];u.firstChild&&u.firstChild!==l;)q.push(u.firstChild),u.removeChild(u.firstChild);for(;k.length;)k.length&&!b.noWrap&&0<c&&(n.push(l.textContent||
+""),l.textContent=k.join(" ").replace(/- /g,"-")),b.truncate(l,void 0,k,0===c?g||0:0,e,function(a,c){return k.slice(0,c).join(" ").replace(/- /g,"-")}),g=f.actualWidth,c++;q.forEach(function(a){u.insertBefore(a,l)});n.forEach(function(a){u.insertBefore(D.createTextNode(a),l);a=D.createElementNS(H,"tspan");a.textContent="\u200b";G(a,{dy:m,x:d});u.insertBefore(a,l)})}},l=function(d){[].slice.call(d.childNodes).forEach(function(b){b.nodeType===Node.TEXT_NODE?k(b,d):(-1!==b.className.baseVal.indexOf("highcharts-br")&&
+(f.actualWidth=0),l(b))})};l(f.element)}};b.prototype.getLineHeight=function(b){var f;b=b.nodeType===Node.TEXT_NODE?b.parentElement:b;this.renderer.styledMode||(f=b&&/(px|em)$/.test(b.style.fontSize)?b.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(f,b||this.svgElement.element).h};b.prototype.modifyTree=function(b){var f=this,d=function(e,k){var l=e.tagName,q=f.renderer.styledMode,u=e.attributes||
+{};if("b"===l||"strong"===l)q?u["class"]="highcharts-strong":u.style="font-weight:bold;"+(u.style||"");else if("i"===l||"em"===l)q?u["class"]="highcharts-emphasized":u.style="font-style:italic;"+(u.style||"");C(u.style)&&(u.style=u.style.replace(/(;| |^)color([ :])/,"$1fill$2"));"br"===l&&(u["class"]="highcharts-br",e.textContent="\u200b",(k=b[k+1])&&k.textContent&&(k.textContent=k.textContent.replace(/^ +/gm,"")));"#text"!==l&&"a"!==l&&(e.tagName="tspan");e.attributes=u;e.children&&e.children.filter(function(d){return"#text"!==
+d.tagName}).forEach(d)};for(b.forEach(d);b[0]&&"tspan"===b[0].tagName&&!b[0].children;)b.splice(0,1)};b.prototype.truncate=function(b,f,d,e,k,l){var q=this.svgElement,u=q.renderer,n=q.rotation,J=[],E=d?1:0,m=(f||d||"").length,c=m,g,a=function(a,c){c=c||a;var g=b.parentNode;if(g&&"undefined"===typeof J[c])if(g.getSubStringLength)try{J[c]=e+g.getSubStringLength(0,d?c+1:c)}catch(L){""}else u.getSpanWidth&&(b.textContent=l(f||d,a),J[c]=e+u.getSpanWidth(q,b));return J[c]};q.rotation=0;var h=a(b.textContent.length);
+if(e+h>k){for(;E<=m;)c=Math.ceil((E+m)/2),d&&(g=l(d,c)),h=a(c,g&&g.length-1),E===m?E=m+1:h>k?m=c-1:E=c;0===m?b.textContent="":f&&m===f.length-1||(b.textContent=g||l(f||d,c))}d&&d.splice(0,c);q.actualWidth=h;q.rotation=n};b.prototype.unescapeEntities=function(b,f){B(this.renderer.escapes,function(d,e){f&&-1!==f.indexOf(d)||(b=b.toString().replace(new RegExp(d,"g"),e))});return b};return b}()});O(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],
+e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(e,b,I,z,H,G,C,B){var x=B.addEvent,w=B.attr,v=B.createElement,f=B.css,d=B.defined,q=B.destroyObjectProperties,k=B.extend,l=B.isArray,N=B.isNumber,u=B.isObject,n=B.isString,J=B.merge,E=B.pick,m=B.pInt,c=B.uniqueKey,g=b.charts,a=b.deg2rad,h=b.doc,r=b.isFirefox,A=b.isMS,y=b.isWebKit,L=b.noop,P=b.SVG_NS,R=b.symbolSizes,V=b.win,Q;B=
+function(){function t(a,c,g,t,d,h,r){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(a,c,g,t,d,h,r)}t.prototype.init=function(a,c,g,t,d,b,K){var p=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"});K||p.css(this.getStyle(t));t=p.element;a.appendChild(t);w(a,"dir","ltr");-1===a.innerHTML.indexOf("xmlns")&&w(t,
+"xmlns",this.SVG_NS);this.isSVG=!0;this.box=t;this.boxWrapper=p;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(h.createTextNode("Created with Highcharts 9.1.0"));this.defs=this.createElement("defs").add();this.allowHTML=b;this.forExport=d;this.styledMode=K;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(c,g,!1);var F;r&&a.getBoundingClientRect&&(c=function(){f(a,{left:0,top:0});F=a.getBoundingClientRect();
+f(a,{left:Math.ceil(F.left)-F.left+"px",top:Math.ceil(F.top)-F.top+"px"})},c(),this.unSubPixelFix=x(V,"resize",c))};t.prototype.definition=function(a){return(new G([a])).addToDOM(this.defs.element)};t.prototype.getReferenceURL=function(){if((r||y)&&h.getElementsByTagName("base").length){if(!d(Q)){var a=c();a=(new G([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:a},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",
+attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+a+")",fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(h.body);f(a,{position:"fixed",top:0,left:0,zIndex:9E5});var g=h.elementFromPoint(6,6);Q="hitme"===(g&&g.id);h.body.removeChild(a)}if(Q)return V.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};t.prototype.getStyle=function(a){return this.style=k({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},
+a)};t.prototype.setStyle=function(a){this.boxWrapper.css(this.getStyle(a))};t.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};t.prototype.destroy=function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();q(this.gradients||{});this.gradients=null;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};t.prototype.createElement=function(a){var c=new this.Element;c.init(this,a);return c};t.prototype.getRadialAttr=
+function(a,c){return{cx:a[0]-a[2]/2+(c.cx||0)*a[2],cy:a[1]-a[2]/2+(c.cy||0)*a[2],r:(c.r||0)*a[2]}};t.prototype.buildText=function(a){(new C(a)).buildSVG()};t.prototype.getContrast=function(a){a=e.parse(a).rgba;a[0]*=1;a[1]*=1.2;a[2]*=.5;return 459<a[0]+a[1]+a[2]?"#000000":"#FFFFFF"};t.prototype.button=function(a,c,g,t,d,h,r,b,m,f){var p=this.label(a,c,g,m,void 0,void 0,f,void 0,"button"),F=0,K=this.styledMode,y=d?J(d):{};a=y&&y.style||{};y=G.filterUserAttributes(y);p.attr(J({padding:8,r:2},y));if(!K){y=
+J({fill:I.neutralColor3,stroke:I.neutralColor20,"stroke-width":1,style:{color:I.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:a},y);var l=y.style;delete y.style;h=J(y,{fill:I.neutralColor10},G.filterUserAttributes(h||{}));var S=h.style;delete h.style;r=J(y,{fill:I.highlightColor10,style:{color:I.neutralColor100,fontWeight:"bold"}},G.filterUserAttributes(r||{}));var u=r.style;delete r.style;b=J(y,{style:{color:I.neutralColor20}},G.filterUserAttributes(b||{}));var n=b.style;delete b.style}x(p.element,
+A?"mouseover":"mouseenter",function(){3!==F&&p.setState(1)});x(p.element,A?"mouseout":"mouseleave",function(){3!==F&&p.setState(F)});p.setState=function(a){1!==a&&(p.state=F=a);p.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][a||0]);K||p.attr([y,h,r,b][a||0]).css([l,S,u,n][a||0])};K||p.attr(y).css(k({cursor:"default"},l));return p.on("touchstart",function(a){return a.stopPropagation()}).on("click",function(a){3!==
+F&&t.call(p,a)})};t.prototype.crispLine=function(a,c,g){void 0===g&&(g="round");var p=a[0],t=a[1];p[1]===t[1]&&(p[1]=t[1]=Math[g](p[1])-c%2/2);p[2]===t[2]&&(p[2]=t[2]=Math[g](p[2])+c%2/2);return a};t.prototype.path=function(a){var c=this.styledMode?{}:{fill:"none"};l(a)?c.d=a:u(a)&&k(c,a);return this.createElement("path").attr(c)};t.prototype.circle=function(a,c,g){a=u(a)?a:"undefined"===typeof a?{}:{x:a,y:c,r:g};c=this.createElement("circle");c.xSetter=c.ySetter=function(a,c,p){p.setAttribute("c"+
+c,a)};return c.attr(a)};t.prototype.arc=function(a,c,g,t,d,h){u(a)?(t=a,c=t.y,g=t.r,a=t.x):t={innerR:t,start:d,end:h};a=this.symbol("arc",a,c,g,g,t);a.r=g;return a};t.prototype.rect=function(a,c,g,t,d,h){d=u(a)?a.r:d;var p=this.createElement("rect");a=u(a)?a:"undefined"===typeof a?{}:{x:a,y:c,width:Math.max(g,0),height:Math.max(t,0)};this.styledMode||("undefined"!==typeof h&&(a["stroke-width"]=h,a=p.crisp(a)),a.fill="none");d&&(a.r=d);p.rSetter=function(a,c,g){p.r=a;w(g,{rx:a,ry:a})};p.rGetter=function(){return p.r||
+0};return p.attr(a)};t.prototype.setSize=function(a,c,g){this.width=a;this.height=c;this.boxWrapper.animate({width:a,height:c},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:E(g,!0)?void 0:0});this.alignElements()};t.prototype.g=function(a){var c=this.createElement("g");return a?c.attr({"class":"highcharts-"+a}):c};t.prototype.image=function(a,c,g,t,d,h){var p={preserveAspectRatio:"none"},r=function(a,c){a.setAttributeNS?a.setAttributeNS("http://www.w3.org/1999/xlink",
+"href",c):a.setAttribute("hc-svg-href",c)},F=function(c){r(b.element,a);h.call(b,c)};1<arguments.length&&k(p,{x:c,y:g,width:t,height:d});var b=this.createElement("image").attr(p);h?(r(b.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),p=new V.Image,x(p,"load",F),p.src=a,p.complete&&F({})):r(b.element,a);return b};t.prototype.symbol=function(a,c,t,r,F,b){var p=this,m=/^url\((.*?)\)$/,A=m.test(a),y=!A&&(this.symbols[a]?a:"circle"),l=y&&this.symbols[y],u;if(l){"number"===
+typeof c&&(u=l.call(this.symbols,Math.round(c||0),Math.round(t||0),r||0,F||0,b));var n=this.path(u);p.styledMode||n.attr("fill","none");k(n,{symbolName:y,x:c,y:t,width:r,height:F});b&&k(n,b)}else if(A){var e=a.match(m)[1];n=this.image(e);n.imgwidth=E(R[e]&&R[e].width,b&&b.width);n.imgheight=E(R[e]&&R[e].height,b&&b.height);var S=function(){n.attr({width:n.width,height:n.height})};["width","height"].forEach(function(a){n[a+"Setter"]=function(a,c){var p=this["img"+c];this[c]=a;d(p)&&(b&&"within"===
+b.backgroundSize&&this.width&&this.height&&(p=Math.round(p*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(c,p),this.alignByTranslate||(a=((this[c]||0)-p)/2,this.attr("width"===c?{translateX:a}:{translateY:a})))}});d(c)&&n.attr({x:c,y:t});n.isImg=!0;d(n.imgwidth)&&d(n.imgheight)?S():(n.attr({width:0,height:0}),v("img",{onload:function(){var a=g[p.chartIndex];0===this.width&&(f(this,{position:"absolute",top:"-999em"}),h.body.appendChild(this));
+R[e]={width:this.width,height:this.height};n.imgwidth=this.width;n.imgheight=this.height;n.element&&S();this.parentNode&&this.parentNode.removeChild(this);p.imgCount--;if(!p.imgCount&&a&&!a.hasLoaded)a.onload()},src:e}),this.imgCount++)}return n};t.prototype.clipRect=function(a,g,t,d){var p=c()+"-",h=this.createElement("clipPath").attr({id:p}).add(this.defs);a=this.rect(a,g,t,d,0).add(h);a.id=p;a.clipPath=h;a.count=0;return a};t.prototype.text=function(a,c,g,t){var p={};if(t&&(this.allowHTML||!this.forExport))return this.html(a,
+c,g);p.x=Math.round(c||0);g&&(p.y=Math.round(g));d(a)&&(p.text=a);a=this.createElement("text").attr(p);t||(a.xSetter=function(a,c,p){var g=p.getElementsByTagName("tspan"),t=p.getAttribute(c),d;for(d=0;d<g.length;d++){var h=g[d];h.getAttribute(c)===t&&h.setAttribute(c,a)}p.setAttribute(c,a)});return a};t.prototype.fontMetrics=function(a,c){a=!this.styledMode&&/px/.test(a)||!V.getComputedStyle?a||c&&c.style&&c.style.fontSize||this.style&&this.style.fontSize:c&&z.prototype.getStyle.call(c,"font-size");
+a=/px/.test(a)?m(a):12;c=24>a?a+3:Math.round(1.2*a);return{h:c,b:Math.round(.8*c),f:a}};t.prototype.rotCorr=function(c,g,t){var p=c;g&&t&&(p=Math.max(p*Math.cos(g*a),4));return{x:-c/3*Math.sin(g*a),y:p}};t.prototype.pathToSegments=function(a){for(var c=[],g=[],p={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},t=0;t<a.length;t++)n(g[0])&&N(a[t])&&g.length===p[g[0].toUpperCase()]&&a.splice(t,0,g[0].replace("M","L").replace("m","l")),"string"===typeof a[t]&&(g.length&&c.push(g.slice(0)),g.length=0),g.push(a[t]);
+c.push(g.slice(0));return c};t.prototype.label=function(a,c,g,t,d,h,r,b,m){return new H(this,a,c,g,t,d,h,r,b,m)};t.prototype.alignElements=function(){this.alignedObjects.forEach(function(a){return a.align()})};return t}();B.prototype.Element=z;B.prototype.SVG_NS=P;B.prototype.draw=L;B.prototype.escapes={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};var M=function(a,c,g,d,h){h=h&&h.r||0;return[["M",a+h,c],["L",a+g-h,c],["C",a+g,c,a+g,c,a+g,c+h],["L",a+g,c+d-h],["C",a+g,c+d,a+g,c+d,a+
+g-h,c+d],["L",a+h,c+d],["C",a,c+d,a,c+d,a,c+d-h],["L",a,c+h],["C",a,c,a,c,a+h,c]]};L=function(a,c,g,d,h){return h&&h.r?M(a,c,g,d,h):[["M",a,c],["L",a+g,c],["L",a+g,c+d],["L",a,c+d],["Z"]]};B.prototype.symbols={circle:function(a,c,g,d){return this.arc(a+g/2,c+d/2,g/2,d/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},rect:L,square:L,triangle:function(a,c,g,d){return[["M",a+g/2,c],["L",a+g,c+d],["L",a,c+d],["Z"]]},"triangle-down":function(a,c,g,d){return[["M",a,c],["L",a+g,c],["L",a+g/2,c+d],["Z"]]},
+diamond:function(a,c,g,d){return[["M",a+g/2,c],["L",a+g,c+d/2],["L",a+g/2,c+d],["L",a,c+d/2],["Z"]]},arc:function(a,c,g,h,r){var t=[];if(r){var p=r.start||0,b=E(r.r,g);g=E(r.r,h||g);var m=(r.end||0)-.001;h=r.innerR;var f=E(r.open,.001>Math.abs((r.end||0)-p-2*Math.PI)),A=Math.cos(p),y=Math.sin(p),l=Math.cos(m),n=Math.sin(m);p=E(r.longArc,.001>m-p-Math.PI?0:1);t.push(["M",a+b*A,c+g*y],["A",b,g,0,p,E(r.clockwise,1),a+b*l,c+g*n]);d(h)&&t.push(f?["M",a+h*l,c+h*n]:["L",a+h*l,c+h*n],["A",h,h,0,p,d(r.clockwise)?
+1-r.clockwise:0,a+h*A,c+h*y]);f||t.push(["Z"])}return t},callout:function(a,c,g,d,h){var p=Math.min(h&&h.r||0,g,d),t=p+6,r=h&&h.anchorX;h=h&&h.anchorY||0;var b=M(a,c,g,d,{r:p});if(!N(r))return b;a+r>=g?h>c+t&&h<c+d-t?b.splice(3,1,["L",a+g,h-6],["L",a+g+6,h],["L",a+g,h+6],["L",a+g,c+d-p]):b.splice(3,1,["L",a+g,d/2],["L",r,h],["L",a+g,d/2],["L",a+g,c+d-p]):0>=a+r?h>c+t&&h<c+d-t?b.splice(7,1,["L",a,h+6],["L",a-6,h],["L",a,h-6],["L",a,c+p]):b.splice(7,1,["L",a,d/2],["L",r,h],["L",a,d/2],["L",a,c+p]):
+h&&h>d&&r>a+t&&r<a+g-t?b.splice(5,1,["L",r+6,c+d],["L",r,c+d+6],["L",r-6,c+d],["L",a+p,c+d]):h&&0>h&&r>a+t&&r<a+g-t&&b.splice(1,1,["L",r-6,c],["L",r,c-6],["L",r+6,c],["L",g-p,c]);return b}};b.SVGRenderer=B;b.Renderer=b.SVGRenderer;return b.Renderer});O(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(e,b,I){var D=e.isFirefox,H=e.isMS,G=e.isWebKit,C=e.win,B=I.css,x=I.defined,w=I.extend,v=I.pick,f=I.pInt;w(b.prototype,
+{htmlCss:function(d){var b="SPAN"===this.element.tagName&&d&&"width"in d,f=v(b&&d.width,void 0);if(b){delete d.width;this.textWidth=f;var l=!0}d&&"ellipsis"===d.textOverflow&&(d.whiteSpace="nowrap",d.overflow="hidden");this.styles=w(this.styles,d);B(this.element,d);l&&this.htmlUpdateTransform();return this},htmlGetBBox:function(){var d=this.element;return{x:d.offsetLeft,y:d.offsetTop,width:d.offsetWidth,height:d.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var d=this.renderer,b=this.element,
+e=this.translateX||0,l=this.translateY||0,N=this.x||0,u=this.y||0,n=this.textAlign||"left",J={left:0,center:.5,right:1}[n],E=this.styles;E=E&&E.whiteSpace;B(b,{marginLeft:e,marginTop:l});!d.styledMode&&this.shadows&&this.shadows.forEach(function(a){B(a,{marginLeft:e+1,marginTop:l+1})});this.inverted&&[].forEach.call(b.childNodes,function(a){d.invertChild(a,b)});if("SPAN"===b.tagName){var m=this.rotation,c=void 0;c=this.textWidth&&f(this.textWidth);var g=[m,n,b.innerHTML,this.textWidth,this.textAlign].join(),
+a;(a=c!==this.oldTextWidth)&&!(a=c>this.oldTextWidth)&&((a=this.textPxLength)||(B(b,{width:"",whiteSpace:E||"nowrap"}),a=b.offsetWidth),a=a>c);a&&(/[ \-]/.test(b.textContent||b.innerText)||"ellipsis"===b.style.textOverflow)?(B(b,{width:c+"px",display:"block",whiteSpace:E||"normal"}),this.oldTextWidth=c,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1;g!==this.cTT&&(c=d.fontMetrics(b.style.fontSize,b).b,!x(m)||m===(this.oldRotation||0)&&n===this.oldAlign||this.setSpanRotation(m,J,c),this.getSpanCorrection(!x(m)&&
+this.textPxLength||b.offsetWidth,c,J,m,n));B(b,{left:N+(this.xCorr||0)+"px",top:u+(this.yCorr||0)+"px"});this.cTT=g;this.oldRotation=m;this.oldAlign=n}}else this.alignOnAdd=!0},setSpanRotation:function(d,b,f){var l={},e=H&&!/Edge/.test(C.navigator.userAgent)?"-ms-transform":G?"-webkit-transform":D?"MozTransform":C.opera?"-o-transform":void 0;e&&(l[e]=l.transform="rotate("+d+"deg)",l[e+(D?"Origin":"-origin")]=l.transformOrigin=100*b+"% "+f+"px",B(this.element,l))},getSpanCorrection:function(d,b,f){this.xCorr=
+-d*f;this.yCorr=-b}});return b});O(e,"Core/Renderer/HTML/HTMLRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(e,b,I,z){var D=z.attr,G=z.createElement,C=z.extend,B=z.pick;C(I.prototype,{html:function(x,w,v){var f=this.createElement("span"),d=f.element,q=f.renderer,k=q.isSVG,l=function(d,f){["opacity","visibility"].forEach(function(l){d[l+"Setter"]=function(n,e,m){var c=d.div?d.div.style:f;b.prototype[l+
+"Setter"].call(this,n,e,m);c&&(c[e]=n)}});d.addedSetters=!0};f.textSetter=function(d){d!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,e.setElementHTML(this.element,B(d,"")),this.textStr=d,f.doTransform=!0)};k&&l(f,f.element.style);f.xSetter=f.ySetter=f.alignSetter=f.rotationSetter=function(d,b){"align"===b?f.alignValue=f.textAlign=d:f[b]=d;f.doTransform=!0};f.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};f.attr({text:x,x:Math.round(w),y:Math.round(v)}).css({position:"absolute"});
+q.styledMode||f.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});d.style.whiteSpace="nowrap";f.css=f.htmlCss;k&&(f.add=function(b){var e=q.box.parentNode,n=[];if(this.parentGroup=b){var k=b.div;if(!k){for(;b;)n.push(b),b=b.parentGroup;n.reverse().forEach(function(d){function b(c,g){d[g]=c;"translateX"===g?a.left=c+"px":a.top=c+"px";d.doTransform=!0}var c=D(d.element,"class"),g=d.styles||{};k=d.div=d.div||G("div",c?{className:c}:void 0,{position:"absolute",left:(d.translateX||0)+
+"px",top:(d.translateY||0)+"px",display:d.display,opacity:d.opacity,cursor:g.cursor,pointerEvents:g.pointerEvents},k||e);var a=k.style;C(d,{classSetter:function(a){return function(c){this.element.setAttribute("class",c);a.className=c}}(k),on:function(){n[0].div&&f.on.apply({element:n[0].div,onEvents:f.onEvents},arguments);return d},translateXSetter:b,translateYSetter:b});d.addedSetters||l(d)})}}else k=e;k.appendChild(d);f.added=!0;f.alignOnAdd&&f.htmlUpdateTransform();return f});return f}});return I});
+O(e,"Core/Axis/Tick.js",[e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,b,I){var D=b.deg2rad,H=I.clamp,G=I.correctFloat,C=I.defined,B=I.destroyObjectProperties,x=I.extend,w=I.fireEvent,v=I.isNumber,f=I.merge,d=I.objectEach,q=I.pick;"";I=function(){function b(d,b,f,e,k){this.isNewLabel=this.isNew=!0;this.axis=d;this.pos=b;this.type=f||"";this.parameters=k||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;w(this,"init");
+f||e||this.addLabel()}b.prototype.addLabel=function(){var d=this,b=d.axis,f=b.options,n=b.chart,k=b.categories,E=b.logarithmic,m=b.names,c=d.pos,g=q(d.options&&d.options.labels,f.labels),a=b.tickPositions,h=c===a[0],r=c===a[a.length-1],A=d.label,y=(!g.step||1===g.step)&&1===b.tickInterval;a=a.info;var L,P;k=this.parameters.category||(k?q(k[c],m[c],c):c);E&&v(k)&&(k=G(E.lin2log(k)));if(b.dateTime&&a){var R=n.time.resolveDTLFormat(f.dateTimeLabelFormats[!f.grid&&a.higherRanks[c]||a.unitName]);var V=
+R.main}d.isFirst=h;d.isLast=r;var Q={axis:b,chart:n,dateTimeLabelFormat:V,isFirst:h,isLast:r,pos:c,tick:d,tickPositionInfo:a,value:k};w(this,"labelFormat",Q);var M=function(a){return g.formatter?g.formatter.call(a,a):g.format?(a.text=b.defaultLabelFormatter.call(a),e.format(g.format,a,n)):b.defaultLabelFormatter.call(a,a)};f=M.call(Q,Q);if(P=R&&R.list)d.shortenLabel=function(){for(L=0;L<P.length;L++)if(x(Q,{dateTimeLabelFormat:P[L]}),A.attr({text:M.call(Q,Q)}),A.getBBox().width<b.getSlotWidth(d)-
+2*g.padding)return;A.attr({text:""})};y&&b._addedPlotLB&&d.moveLabel(f,g);C(A)||d.movedLabel?A&&A.textStr!==f&&!y&&(!A.textWidth||g.style.width||A.styles.width||A.css({width:null}),A.attr({text:f}),A.textPxLength=A.getBBox().width):(d.label=A=d.createLabel({x:0,y:0},f,g),d.rotation=0)};b.prototype.createLabel=function(d,b,e){var n=this.axis,l=n.chart;if(d=C(b)&&e.enabled?l.renderer.text(b,d.x,d.y,e.useHTML).add(n.labelGroup):null)l.styledMode||d.css(f(e.style)),d.textPxLength=d.getBBox().width;return d};
+b.prototype.destroy=function(){B(this,this.axis)};b.prototype.getPosition=function(d,b,f,e){var n=this.axis,l=n.chart,m=e&&l.oldChartHeight||l.chartHeight;d={x:d?G(n.translate(b+f,null,null,e)+n.transB):n.left+n.offset+(n.opposite?(e&&l.oldChartWidth||l.chartWidth)-n.right-n.left:0),y:d?m-n.bottom+n.offset-(n.opposite?n.height:0):G(m-n.translate(b+f,null,null,e)-n.transB)};d.y=H(d.y,-1E5,1E5);w(this,"afterGetPosition",{pos:d});return d};b.prototype.getLabelPosition=function(d,b,f,e,k,q,m,c){var g=
+this.axis,a=g.transA,h=g.isLinked&&g.linkedParent?g.linkedParent.reversed:g.reversed,r=g.staggerLines,A=g.tickRotCorr||{x:0,y:0},y=k.y,n=e||g.reserveSpaceDefault?0:-g.labelOffset*("center"===g.labelAlign?.5:1),l={};C(y)||(y=0===g.side?f.rotation?-8:-f.getBBox().height:2===g.side?A.y+8:Math.cos(f.rotation*D)*(A.y-f.getBBox(!1,0).height/2));d=d+k.x+n+A.x-(q&&e?q*a*(h?-1:1):0);b=b+y-(q&&!e?q*a*(h?1:-1):0);r&&(f=m/(c||1)%r,g.opposite&&(f=r-f-1),b+=g.labelOffset/r*f);l.x=d;l.y=Math.round(b);w(this,"afterGetLabelPosition",
+{pos:l,tickmarkOffset:q,index:m});return l};b.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};b.prototype.getMarkPath=function(d,b,f,e,k,q){return q.crispLine([["M",d,b],["L",d+(k?0:-f),b+(k?f:0)]],e)};b.prototype.handleOverflow=function(d){var b=this.axis,f=b.options.labels,e=d.x,l=b.chart.chartWidth,k=b.chart.spacing,m=q(b.labelLeft,Math.min(b.pos,k[3]));k=q(b.labelRight,Math.max(b.isRadial?0:b.pos+b.len,l-k[1]));var c=this.label,g=this.rotation,
+a={left:0,center:.5,right:1}[b.labelAlign||c.attr("align")],h=c.getBBox().width,r=b.getSlotWidth(this),A=r,y=1,L,P={};if(g||"justify"!==f.overflow)0>g&&e-a*h<m?L=Math.round(e/Math.cos(g*D)-m):0<g&&e+a*h>k&&(L=Math.round((l-e)/Math.cos(g*D)));else if(l=e+(1-a)*h,e-a*h<m?A=d.x+A*(1-a)-m:l>k&&(A=k-d.x+A*a,y=-1),A=Math.min(r,A),A<r&&"center"===b.labelAlign&&(d.x+=y*(r-A-a*(r-Math.min(h,A)))),h>A||b.autoRotation&&(c.styles||{}).width)L=A;L&&(this.shortenLabel?this.shortenLabel():(P.width=Math.floor(L)+
+"px",(f.style||{}).textOverflow||(P.textOverflow="ellipsis"),c.css(P)))};b.prototype.moveLabel=function(b,f){var e=this,n=e.label,l=!1,k=e.axis,m=k.reversed;n&&n.textStr===b?(e.movedLabel=n,l=!0,delete e.label):d(k.ticks,function(c){l||c.isNew||c===e||!c.label||c.label.textStr!==b||(e.movedLabel=c.label,l=!0,c.labelPos=e.movedLabel.xy,delete c.label)});if(!l&&(e.labelPos||n)){var c=e.labelPos||n.xy;n=k.horiz?m?0:k.width+k.left:c.x;k=k.horiz?c.y:m?k.width+k.left:0;e.movedLabel=e.createLabel({x:n,y:k},
+b,f);e.movedLabel&&e.movedLabel.attr({opacity:0})}};b.prototype.render=function(d,b,f){var e=this.axis,l=e.horiz,k=this.pos,m=q(this.tickmarkOffset,e.tickmarkOffset);k=this.getPosition(l,k,m,b);m=k.x;var c=k.y;e=l&&m===e.pos+e.len||!l&&c===e.pos?-1:1;l=q(f,this.label&&this.label.newOpacity,1);f=q(f,1);this.isActive=!0;this.renderGridLine(b,f,e);this.renderMark(k,f,e);this.renderLabel(k,b,l,d);this.isNew=!1;w(this,"afterRender")};b.prototype.renderGridLine=function(d,b,f){var e=this.axis,l=e.options,
+k=this.gridLine,m={},c=this.pos,g=this.type,a=q(this.tickmarkOffset,e.tickmarkOffset),h=e.chart.renderer,r=l.gridLineWidth,A=l.gridLineColor,y=l.gridLineDashStyle;"minor"===this.type&&(r=l.minorGridLineWidth,A=l.minorGridLineColor,y=l.minorGridLineDashStyle);k||(e.chart.styledMode||(m.stroke=A,m["stroke-width"]=r||0,m.dashstyle=y),g||(m.zIndex=1),d&&(b=0),this.gridLine=k=h.path().attr(m).addClass("highcharts-"+(g?g+"-":"")+"grid-line").add(e.gridGroup));if(k&&(f=e.getPlotLinePath({value:c+a,lineWidth:k.strokeWidth()*
+f,force:"pass",old:d})))k[d||this.isNew?"attr":"animate"]({d:f,opacity:b})};b.prototype.renderMark=function(d,b,f){var e=this.axis,l=e.options,k=e.chart.renderer,m=this.type,c=e.tickSize(m?m+"Tick":"tick"),g=this.mark,a=!g,h=d.x;d=d.y;var r=q(l["minor"!==m?"tickWidth":"minorTickWidth"],!m&&e.isXAxis?1:0);l=l["minor"!==m?"tickColor":"minorTickColor"];c&&(e.opposite&&(c[0]=-c[0]),a&&(this.mark=g=k.path().addClass("highcharts-"+(m?m+"-":"")+"tick").add(e.axisGroup),e.chart.styledMode||g.attr({stroke:l,
+"stroke-width":r})),g[a?"attr":"animate"]({d:this.getMarkPath(h,d,c[0],g.strokeWidth()*f,e.horiz,k),opacity:b}))};b.prototype.renderLabel=function(d,b,f,e){var l=this.axis,n=l.horiz,m=l.options,c=this.label,g=m.labels,a=g.step;l=q(this.tickmarkOffset,l.tickmarkOffset);var h=!0,r=d.x;d=d.y;c&&v(r)&&(c.xy=d=this.getLabelPosition(r,d,c,n,g,l,e,a),this.isFirst&&!this.isLast&&!m.showFirstLabel||this.isLast&&!this.isFirst&&!m.showLastLabel?h=!1:!n||g.step||g.rotation||b||0===f||this.handleOverflow(d),a&&
+e%a&&(h=!1),h&&v(d.y)?(d.opacity=f,c[this.isNewLabel?"attr":"animate"](d),this.isNewLabel=!1):(c.attr("y",-9999),this.isNewLabel=!0))};b.prototype.replaceMovedLabel=function(){var d=this.label,b=this.axis,f=b.reversed;if(d&&!this.isNew){var e=b.horiz?f?b.left:b.width+b.left:d.xy.x;f=b.horiz?d.xy.y:f?b.width+b.top:b.top;d.animate({x:e,y:f,opacity:0},void 0,d.destroy);delete this.label}b.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return b}();b.Tick=I;return b.Tick});O(e,"Core/Axis/Axis.js",
+[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Options.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(e,b,I,z,H,G,C){var B=e.animObject,x=H.defaultOptions,w=C.addEvent,v=C.arrayMax,f=C.arrayMin,d=C.clamp,q=C.correctFloat,k=C.defined,l=C.destroyObjectProperties,N=C.erase,u=C.error,n=C.extend,J=C.fireEvent,E=C.getMagnitude,m=C.isArray,c=C.isFunction,g=C.isNumber,a=C.isString,h=C.merge,r=C.normalizeTickInterval,
+A=C.objectEach,y=C.pick,L=C.relativeLength,P=C.removeEvent,R=C.splat,V=C.syncTimeout;"";var Q=I.deg2rad;e=function(){function e(a,c){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=
+this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0;this.init(a,c)}e.prototype.init=function(a,d){var b=d.isX,h=this;h.chart=a;h.horiz=a.inverted&&!h.isZAxis?!b:b;h.isXAxis=b;
+h.coll=h.coll||(b?"xAxis":"yAxis");J(this,"init",{userOptions:d});h.opposite=y(d.opposite,h.opposite);h.side=y(d.side,h.side,h.horiz?h.opposite?0:2:h.opposite?1:3);h.setOptions(d);var p=this.options,t=p.labels,r=p.type;h.userOptions=d;h.minPixelPadding=0;h.reversed=y(p.reversed,h.reversed);h.visible=p.visible;h.zoomEnabled=p.zoomEnabled;h.hasNames="category"===r||!0===p.categories;h.categories=p.categories||h.hasNames;h.names||(h.names=[],h.names.keys={});h.plotLinesAndBandsGroups={};h.positiveValuesOnly=
+!!h.logarithmic;h.isLinked=k(p.linkedTo);h.ticks={};h.labelEdge=[];h.minorTicks={};h.plotLinesAndBands=[];h.alternateBands={};h.len=0;h.minRange=h.userMinRange=p.minRange||p.maxZoom;h.range=p.range;h.offset=p.offset||0;h.max=null;h.min=null;d=y(p.crosshair,R(a.options.tooltip.crosshairs)[b?0:1]);h.crosshair=!0===d?{}:d;d=h.options.events;-1===a.axes.indexOf(h)&&(b?a.axes.splice(a.xAxis.length,0,h):a.axes.push(h),a[h.coll].push(h));h.series=h.series||[];a.inverted&&!h.isZAxis&&b&&"undefined"===typeof h.reversed&&
+(h.reversed=!0);h.labelRotation=g(t.rotation)?t.rotation:void 0;A(d,function(a,d){c(a)&&w(h,d,a)});J(this,"afterInit")};e.prototype.setOptions=function(a){this.options=h(e.defaultOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],h(x[this.coll],a));J(this,"afterSetOptions",{userOptions:a})};e.prototype.defaultLabelFormatter=function(){var a=this.axis,c=g(this.value)?this.value:NaN,d=
+a.chart.time,h=this.dateTimeLabelFormat,b=x.lang,r=b.numericSymbols;b=b.numericSymbolMagnitude||1E3;var e=r&&r.length,f=a.logarithmic?Math.abs(c):a.tickInterval,m=this.chart.numberFormatter;if(a.categories)var A=""+this.value;else if(h)A=d.dateFormat(h,c);else if(e&&1E3<=f)for(;e--&&"undefined"===typeof A;)a=Math.pow(b,e+1),f>=a&&0===10*c%a&&null!==r[e]&&0!==c&&(A=m(c/a,-1)+r[e]);"undefined"===typeof A&&(A=1E4<=Math.abs(c)?m(c,-1):m(c,-1,void 0,""));return A};e.prototype.getSeriesExtremes=function(){var a=
+this,c=a.chart,d;J(this,"getSeriesExtremes",null,function(){a.hasVisibleSeries=!1;a.dataMin=a.dataMax=a.threshold=null;a.softThreshold=!a.isXAxis;a.stacking&&a.stacking.buildStacks();a.series.forEach(function(h){if(h.visible||!c.options.chart.ignoreHiddenSeries){var b=h.options,p=b.threshold;a.hasVisibleSeries=!0;a.positiveValuesOnly&&0>=p&&(p=null);if(a.isXAxis){if(b=h.xData,b.length){b=a.logarithmic?b.filter(a.validatePositiveValue):b;d=h.getXExtremes(b);var t=d.min;var r=d.max;g(t)||t instanceof
+Date||(b=b.filter(g),d=h.getXExtremes(b),t=d.min,r=d.max);b.length&&(a.dataMin=Math.min(y(a.dataMin,t),t),a.dataMax=Math.max(y(a.dataMax,r),r))}}else if(h=h.applyExtremes(),g(h.dataMin)&&(t=h.dataMin,a.dataMin=Math.min(y(a.dataMin,t),t)),g(h.dataMax)&&(r=h.dataMax,a.dataMax=Math.max(y(a.dataMax,r),r)),k(p)&&(a.threshold=p),!b.softThreshold||a.positiveValuesOnly)a.softThreshold=!1}})});J(this,"afterGetSeriesExtremes")};e.prototype.translate=function(a,c,d,h,b,r){var p=this.linkedParent||this,t=1,e=
+0,f=h&&p.old?p.old.transA:p.transA;h=h&&p.old?p.old.min:p.min;var F=p.minPixelPadding;b=(p.isOrdinal||p.brokenAxis&&p.brokenAxis.hasBreaks||p.logarithmic&&b)&&p.lin2val;f||(f=p.transA);d&&(t*=-1,e=p.len);p.reversed&&(t*=-1,e-=t*(p.sector||p.len));c?(a=(a*t+e-F)/f+h,b&&(a=p.lin2val(a))):(b&&(a=p.val2lin(a)),a=g(h)?t*(a-h)*f+e+t*F+(g(r)?f*r:0):void 0);return a};e.prototype.toPixels=function(a,c){return this.translate(a,!1,!this.horiz,null,!0)+(c?0:this.pos)};e.prototype.toValue=function(a,c){return this.translate(a-
+(c?0:this.pos),!0,!this.horiz,null,!0)};e.prototype.getPlotLinePath=function(a){function c(a,c,g){if("pass"!==l&&a<c||a>g)l?a=d(a,c,g):v=!0;return a}var h=this,b=h.chart,t=h.left,r=h.top,e=a.old,f=a.value,m=a.translatedValue,A=a.lineWidth,l=a.force,n,k,u,L,q=e&&b.oldChartHeight||b.chartHeight,P=e&&b.oldChartWidth||b.chartWidth,v,da=h.transB;a={value:f,lineWidth:A,old:e,force:l,acrossPanes:a.acrossPanes,translatedValue:m};J(this,"getPlotLinePath",a,function(a){m=y(m,h.translate(f,null,null,e));m=d(m,
+-1E5,1E5);n=u=Math.round(m+da);k=L=Math.round(q-m-da);g(m)?h.horiz?(k=r,L=q-h.bottom,n=u=c(n,t,t+h.width)):(n=t,u=P-h.right,k=L=c(k,r,r+h.height)):(v=!0,l=!1);a.path=v&&!l?null:b.renderer.crispLine([["M",n,k],["L",u,L]],A||1)});return a.path};e.prototype.getLinearTickPositions=function(a,c,d){var g=q(Math.floor(c/a)*a);d=q(Math.ceil(d/a)*a);var h=[],b;q(g+a)===g&&(b=20);if(this.single)return[c];for(c=g;c<=d;){h.push(c);c=q(c+a,b);if(c===p)break;var p=c}return h};e.prototype.getMinorTickInterval=function(){var a=
+this.options;return!0===a.minorTicks?y(a.minorTickInterval,"auto"):!1===a.minorTicks?null:a.minorTickInterval};e.prototype.getMinorTickPositions=function(){var a=this.options,c=this.tickPositions,d=this.minorTickInterval,g=[],h=this.pointRangePadding||0,b=this.min-h;h=this.max+h;var r=h-b;if(r&&r/d<this.len/3){var e=this.logarithmic;if(e)this.paddedTicks.forEach(function(a,c,h){c&&g.push.apply(g,e.getLogTickPositions(d,h[c-1],h[c],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())g=
+g.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(d),b,h,a.startOfWeek));else for(a=b+(c[0]-b)%d;a<=h&&a!==g[0];a+=d)g.push(a)}0!==g.length&&this.trimTicks(g);return g};e.prototype.adjustForMinRange=function(){var a=this.options,c=this.min,d=this.max,g=this.logarithmic,h=0,b,r,e,m;this.isXAxis&&"undefined"===typeof this.minRange&&!g&&(k(a.min)||k(a.max)?this.minRange=null:(this.series.forEach(function(a){e=a.xData;m=a.xIncrement?1:e.length-1;if(1<e.length)for(b=m;0<b;b--)if(r=e[b]-
+e[b-1],!h||r<h)h=r}),this.minRange=Math.min(5*h,this.dataMax-this.dataMin)));if(d-c<this.minRange){var A=this.dataMax-this.dataMin>=this.minRange;var l=this.minRange;var n=(l-d+c)/2;n=[c-n,y(a.min,c-n)];A&&(n[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);c=v(n);d=[c+l,y(a.max,c+l)];A&&(d[2]=g?g.log2lin(this.dataMax):this.dataMax);d=f(d);d-c<l&&(n[0]=d-l,n[1]=y(a.min,d-l),c=v(n))}this.min=c;this.max=d};e.prototype.getClosest=function(){var a;this.categories?a=1:this.series.forEach(function(c){var d=
+c.closestPointRange,g=c.visible||!c.chart.options.chart.ignoreHiddenSeries;!c.noSharedTooltip&&k(d)&&g&&(a=k(a)?Math.min(a,d):d)});return a};e.prototype.nameToX=function(a){var c=m(this.categories),d=c?this.categories:this.names,g=a.options.x;a.series.requireSorting=!1;k(g)||(g=this.options.uniqueNames?c?d.indexOf(a.name):y(d.keys[a.name],-1):a.series.autoIncrement());if(-1===g){if(!c)var h=d.length}else h=g;"undefined"!==typeof h&&(this.names[h]=a.name,this.names.keys[a.name]=h);return h};e.prototype.updateNames=
+function(){var a=this,c=this.names;0<c.length&&(Object.keys(c.keys).forEach(function(a){delete c.keys[a]}),c.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(c){c.xIncrement=null;if(!c.points||c.isDirtyData)a.max=Math.max(a.max,c.xData.length-1),c.processData(),c.generatePoints();c.data.forEach(function(d,g){if(d&&d.options&&"undefined"!==typeof d.name){var h=a.nameToX(d);"undefined"!==typeof h&&h!==d.x&&(d.x=h,c.xData[g]=h)}})}))};e.prototype.setAxisTranslation=function(){var c=
+this,d=c.max-c.min,g=c.axisPointRange||0,h=0,b=0,r=c.linkedParent,e=!!c.categories,f=c.transA,m=c.isXAxis;if(m||e||g){var A=c.getClosest();r?(h=r.minPointOffset,b=r.pointRangePadding):c.series.forEach(function(d){var p=e?1:m?y(d.options.pointRange,A,0):c.axisPointRange||0,r=d.options.pointPlacement;g=Math.max(g,p);if(!c.single||e)d=d.is("xrange")?!m:m,h=Math.max(h,d&&a(r)?0:p/2),b=Math.max(b,d&&"on"===r?0:p)});r=c.ordinal&&c.ordinal.slope&&A?c.ordinal.slope/A:1;c.minPointOffset=h*=r;c.pointRangePadding=
+b*=r;c.pointRange=Math.min(g,c.single&&e?1:d);m&&(c.closestPointRange=A)}c.translationSlope=c.transA=f=c.staticScale||c.len/(d+b||1);c.transB=c.horiz?c.left:c.bottom;c.minPixelPadding=f*h;J(this,"afterSetAxisTranslation")};e.prototype.minFromRange=function(){return this.max-this.range};e.prototype.setTickInterval=function(a){var c=this,d=c.chart,h=c.logarithmic,b=c.options,e=c.isXAxis,t=c.isLinked,f=b.maxPadding,m=b.minPadding,A=b.tickInterval,l=b.tickPixelInterval,n=c.categories,L=g(c.threshold)?
+c.threshold:null,P=c.softThreshold;c.dateTime||n||t||this.getTickAmount();var v=y(c.userMin,b.min);var w=y(c.userMax,b.max);if(t){c.linkedParent=d[c.coll][b.linkedTo];var R=c.linkedParent.getExtremes();c.min=y(R.min,R.dataMin);c.max=y(R.max,R.dataMax);b.type!==c.linkedParent.options.type&&u(11,1,d)}else{if(P&&k(L))if(c.dataMin>=L)R=L,m=0;else if(c.dataMax<=L){var Q=L;f=0}c.min=y(v,R,c.dataMin);c.max=y(w,Q,c.dataMax)}h&&(c.positiveValuesOnly&&!a&&0>=Math.min(c.min,y(c.dataMin,c.min))&&u(10,1,d),c.min=
+q(h.log2lin(c.min),16),c.max=q(h.log2lin(c.max),16));c.range&&k(c.max)&&(c.userMin=c.min=v=Math.max(c.dataMin,c.minFromRange()),c.userMax=w=c.max,c.range=null);J(c,"foundExtremes");c.beforePadding&&c.beforePadding();c.adjustForMinRange();!(n||c.axisPointRange||c.stacking&&c.stacking.usePercentage||t)&&k(c.min)&&k(c.max)&&(d=c.max-c.min)&&(!k(v)&&m&&(c.min-=d*m),!k(w)&&f&&(c.max+=d*f));g(c.userMin)||(g(b.softMin)&&b.softMin<c.min&&(c.min=v=b.softMin),g(b.floor)&&(c.min=Math.max(c.min,b.floor)));g(c.userMax)||
+(g(b.softMax)&&b.softMax>c.max&&(c.max=w=b.softMax),g(b.ceiling)&&(c.max=Math.min(c.max,b.ceiling)));P&&k(c.dataMin)&&(L=L||0,!k(v)&&c.min<L&&c.dataMin>=L?c.min=c.options.minRange?Math.min(L,c.max-c.minRange):L:!k(w)&&c.max>L&&c.dataMax<=L&&(c.max=c.options.minRange?Math.max(L,c.min+c.minRange):L));g(c.min)&&g(c.max)&&!this.chart.polar&&c.min>c.max&&(k(c.options.min)?c.max=c.min:k(c.options.max)&&(c.min=c.max));c.tickInterval=c.min===c.max||"undefined"===typeof c.min||"undefined"===typeof c.max?1:
+t&&c.linkedParent&&!A&&l===c.linkedParent.options.tickPixelInterval?A=c.linkedParent.tickInterval:y(A,this.tickAmount?(c.max-c.min)/Math.max(this.tickAmount-1,1):void 0,n?1:(c.max-c.min)*l/Math.max(c.len,l));e&&!a&&c.series.forEach(function(a){a.processData(c.min!==(c.old&&c.old.min)||c.max!==(c.old&&c.old.max))});c.setAxisTranslation();J(this,"initialAxisTranslation");c.pointRange&&!A&&(c.tickInterval=Math.max(c.pointRange,c.tickInterval));a=y(b.minTickInterval,c.dateTime&&!c.series.some(function(a){return a.noSharedTooltip})?
+c.closestPointRange:0);!A&&c.tickInterval<a&&(c.tickInterval=a);c.dateTime||c.logarithmic||A||(c.tickInterval=r(c.tickInterval,void 0,E(c.tickInterval),y(b.allowDecimals,.5>c.tickInterval||void 0!==this.tickAmount),!!this.tickAmount));this.tickAmount||(c.tickInterval=c.unsquish());this.setTickPositions()};e.prototype.setTickPositions=function(){var a=this.options,c=a.tickPositions;var d=this.getMinorTickInterval();var g=a.tickPositioner,h=this.hasVerticalPanning(),b="colorAxis"===this.coll,r=(b||
+!h)&&a.startOnTick;h=(b||!h)&&a.endOnTick;this.tickmarkOffset=this.categories&&"between"===a.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===d&&this.tickInterval?this.tickInterval/5:d;this.single=this.min===this.max&&k(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==a.allowDecimals);this.tickPositions=d=c&&c.slice();!d&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?d=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,
+a.units),this.min,this.max,a.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(d=[this.min,this.max],u(19,!1,this.chart)),d.length>this.len&&(d=[d[0],d.pop()],d[0]===d[1]&&(d.length=1)),this.tickPositions=d,g&&(g=g.apply(this,[this.min,this.max])))&&(this.tickPositions=d=g);this.paddedTicks=d.slice(0);this.trimTicks(d,
+r,h);this.isLinked||(this.single&&2>d.length&&!this.categories&&!this.series.some(function(a){return a.is("heatmap")&&"between"===a.options.pointPlacement})&&(this.min-=.5,this.max+=.5),c||g||this.adjustTickAmount());J(this,"afterSetTickPositions")};e.prototype.trimTicks=function(a,c,d){var g=a[0],h=a[a.length-1],b=!this.isOrdinal&&this.minPointOffset||0;J(this,"trimTicks");if(!this.isLinked){if(c&&-Infinity!==g)this.min=g;else for(;this.min-b>a[0];)a.shift();if(d)this.max=h;else for(;this.max+b<
+a[a.length-1];)a.pop();0===a.length&&k(g)&&!this.options.tickPositions&&a.push((h+g)/2)}};e.prototype.alignToOthers=function(){var a={},c,d=this.options;!1!==this.chart.options.chart.alignTicks&&d.alignTicks&&!1!==d.startOnTick&&!1!==d.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach(function(d){var g=d.options;g=[d.horiz?g.left:g.top,g.width,g.height,g.pane].join();d.series.length&&(a[g]?c=!0:a[g]=1)});return c};e.prototype.getTickAmount=function(){var a=this.options,c=a.tickAmount,d=
+a.tickPixelInterval;!k(a.tickInterval)&&!c&&this.len<d&&!this.isRadial&&!this.logarithmic&&a.startOnTick&&a.endOnTick&&(c=2);!c&&this.alignToOthers()&&(c=Math.ceil(this.len/d)+1);4>c&&(this.finalTickAmt=c,c=5);this.tickAmount=c};e.prototype.adjustTickAmount=function(){var a=this.options,c=this.tickInterval,d=this.tickPositions,h=this.tickAmount,b=this.finalTickAmt,r=d&&d.length,e=y(this.threshold,this.softThreshold?0:null);if(this.hasData()&&g(this.min)&&g(this.max)){if(r<h){for(;d.length<h;)d.length%
+2||this.min===e?d.push(q(d[d.length-1]+c)):d.unshift(q(d[0]-c));this.transA*=(r-1)/(h-1);this.min=a.startOnTick?d[0]:Math.min(this.min,d[0]);this.max=a.endOnTick?d[d.length-1]:Math.max(this.max,d[d.length-1])}else r>h&&(this.tickInterval*=2,this.setTickPositions());if(k(b)){for(c=a=d.length;c--;)(3===b&&1===c%2||2>=b&&0<c&&c<a-1)&&d.splice(c,1);this.finalTickAmt=void 0}}};e.prototype.setScale=function(){var a,c=!1,d=!1;this.series.forEach(function(a){c=c||a.isDirtyData||a.isDirty;d=d||a.xAxis&&a.xAxis.isDirty||
+!1});this.setAxisSize();(a=this.len!==(this.old&&this.old.len))||c||d||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=a||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks();c&&this.panningState&&(this.panningState.isDirty=
+!0);J(this,"afterSetScale")};e.prototype.setExtremes=function(a,c,d,g,h){var b=this,r=b.chart;d=y(d,!0);b.series.forEach(function(a){delete a.kdTree});h=n(h,{min:a,max:c});J(b,"setExtremes",h,function(){b.userMin=a;b.userMax=c;b.eventArgs=h;d&&r.redraw(g)})};e.prototype.zoom=function(a,c){var d=this,g=this.dataMin,h=this.dataMax,b=this.options,r=Math.min(g,y(b.min,g)),e=Math.max(h,y(b.max,h));a={newMin:a,newMax:c};J(this,"zoom",a,function(a){var c=a.newMin,b=a.newMax;if(c!==d.min||b!==d.max)d.allowZoomOutside||
+(k(g)&&(c<r&&(c=r),c>e&&(c=e)),k(h)&&(b<r&&(b=r),b>e&&(b=e))),d.displayBtn="undefined"!==typeof c||"undefined"!==typeof b,d.setExtremes(c,b,!1,void 0,{trigger:"zoom"});a.zoomed=!0});return a.zoomed};e.prototype.setAxisSize=function(){var a=this.chart,c=this.options,d=c.offsets||[0,0,0,0],g=this.horiz,h=this.width=Math.round(L(y(c.width,a.plotWidth-d[3]+d[1]),a.plotWidth)),b=this.height=Math.round(L(y(c.height,a.plotHeight-d[0]+d[2]),a.plotHeight)),r=this.top=Math.round(L(y(c.top,a.plotTop+d[0]),a.plotHeight,
+a.plotTop));c=this.left=Math.round(L(y(c.left,a.plotLeft+d[3]),a.plotWidth,a.plotLeft));this.bottom=a.chartHeight-b-r;this.right=a.chartWidth-h-c;this.len=Math.max(g?h:b,0);this.pos=g?c:r};e.prototype.getExtremes=function(){var a=this.logarithmic;return{min:a?q(a.lin2log(this.min)):this.min,max:a?q(a.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};e.prototype.getThreshold=function(a){var c=this.logarithmic,d=c?c.lin2log(this.min):this.min;
+c=c?c.lin2log(this.max):this.max;null===a||-Infinity===a?a=d:Infinity===a?a=c:d>a?a=d:c<a&&(a=c);return this.translate(a,0,1,0,1)};e.prototype.autoLabelAlign=function(a){var c=(y(a,0)-90*this.side+720)%360;a={align:"center"};J(this,"autoLabelAlign",a,function(a){15<c&&165>c?a.align="right":195<c&&345>c&&(a.align="left")});return a.align};e.prototype.tickSize=function(a){var c=this.options,d=c["tick"===a?"tickLength":"minorTickLength"],g=y(c["tick"===a?"tickWidth":"minorTickWidth"],"tick"===a&&this.isXAxis&&
+!this.categories?1:0);if(g&&d){"inside"===c[a+"Position"]&&(d=-d);var h=[d,g]}a={tickSize:h};J(this,"afterTickSize",a);return a.tickSize};e.prototype.labelMetrics=function(){var a=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[a]&&this.ticks[a].label)};e.prototype.unsquish=function(){var a=this.options.labels,c=this.horiz,d=this.tickInterval,h=d,b=this.len/(((this.categories?1:0)+this.max-this.min)/d),r,e=a.rotation,
+f=this.labelMetrics(),m,A=Number.MAX_VALUE,l=Math.max(this.max-this.min,0),n=function(a){var c=a/(b||1);c=1<c?Math.ceil(c):1;c*d>l&&Infinity!==a&&Infinity!==b&&l&&(c=Math.ceil(l/d));return q(c*d)};if(c){if(!a.staggerLines&&!a.step)if(g(e))var k=[e];else b<a.autoRotationLimit&&(k=a.autoRotation);k&&k.forEach(function(a){if(a===e||a&&-90<=a&&90>=a){m=n(Math.abs(f.h/Math.sin(Q*a)));var c=m+Math.abs(a/360);c<A&&(A=c,r=a,h=m)}})}else a.step||(h=n(f.h));this.autoRotation=k;this.labelRotation=y(r,g(e)?e:
+0);return h};e.prototype.getSlotWidth=function(a){var c=this.chart,d=this.horiz,h=this.options.labels,b=Math.max(this.tickPositions.length-(this.categories?0:1),1),r=c.margin[3];if(a&&g(a.slotWidth))return a.slotWidth;if(d&&2>h.step)return h.rotation?0:(this.staggerLines||1)*this.len/b;if(!d){a=h.style.width;if(void 0!==a)return parseInt(String(a),10);if(r)return r-c.spacing[3]}return.33*c.chartWidth};e.prototype.renderUnsquish=function(){var c=this.chart,d=c.renderer,g=this.tickPositions,h=this.ticks,
+b=this.options.labels,r=b.style,e=this.horiz,f=this.getSlotWidth(),m=Math.max(1,Math.round(f-2*b.padding)),A={},y=this.labelMetrics(),l=r.textOverflow,n=0;a(b.rotation)||(A.rotation=b.rotation||0);g.forEach(function(a){a=h[a];a.movedLabel&&a.replaceMovedLabel();a&&a.label&&a.label.textPxLength>n&&(n=a.label.textPxLength)});this.maxLabelLength=n;if(this.autoRotation)n>m&&n>y.h?A.rotation=this.labelRotation:this.labelRotation=0;else if(f){var k=m;if(!l){var L="clip";for(m=g.length;!e&&m--;){var u=g[m];
+if(u=h[u].label)u.styles&&"ellipsis"===u.styles.textOverflow?u.css({textOverflow:"clip"}):u.textPxLength>f&&u.css({width:f+"px"}),u.getBBox().height>this.len/g.length-(y.h-y.f)&&(u.specificTextOverflow="ellipsis")}}}A.rotation&&(k=n>.5*c.chartHeight?.33*c.chartHeight:n,l||(L="ellipsis"));if(this.labelAlign=b.align||this.autoLabelAlign(this.labelRotation))A.align=this.labelAlign;g.forEach(function(a){var c=(a=h[a])&&a.label,d=r.width,g={};c&&(c.attr(A),a.shortenLabel?a.shortenLabel():k&&!d&&"nowrap"!==
+r.whiteSpace&&(k<c.textPxLength||"SPAN"===c.element.tagName)?(g.width=k+"px",l||(g.textOverflow=c.specificTextOverflow||L),c.css(g)):c.styles&&c.styles.width&&!g.width&&!d&&c.css({width:null}),delete c.specificTextOverflow,a.rotation=A.rotation)},this);this.tickRotCorr=d.rotCorr(y.b,this.labelRotation||0,0!==this.side)};e.prototype.hasData=function(){return this.series.some(function(a){return a.hasData()})||this.options.showEmpty&&k(this.min)&&k(this.max)};e.prototype.addTitle=function(a){var c=this.chart.renderer,
+d=this.horiz,g=this.opposite,b=this.options.title,r,e=this.chart.styledMode;this.axisTitle||((r=b.textAlign)||(r=(d?{low:"left",middle:"center",high:"right"}:{low:g?"right":"left",middle:"center",high:g?"left":"right"})[b.align]),this.axisTitle=c.text(b.text||"",0,0,b.useHTML).attr({zIndex:7,rotation:b.rotation,align:r}).addClass("highcharts-axis-title"),e||this.axisTitle.css(h(b.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);e||b.style.width||this.isRadial||this.axisTitle.css({width:this.len+
+"px"});this.axisTitle[a?"show":"hide"](a)};e.prototype.generateTick=function(a){var c=this.ticks;c[a]?c[a].addLabel():c[a]=new G(this,a)};e.prototype.getOffset=function(){var a=this,c=this,d=c.chart,g=d.renderer,h=c.options,b=c.tickPositions,r=c.ticks,e=c.horiz,f=c.side,m=d.inverted&&!c.isZAxis?[1,0,3,2][f]:f,l,n=0,L=0,u=h.title,P=h.labels,q=0,v=d.axisOffset;d=d.clipOffset;var w=[-1,1,1,-1][f],da=h.className,ia=c.axisParent;var E=c.hasData();c.showAxis=l=E||h.showEmpty;c.staggerLines=c.horiz&&P.staggerLines||
+void 0;if(!c.axisGroup){var R=function(c,d,h){return g.g(c).attr({zIndex:h}).addClass("highcharts-"+a.coll.toLowerCase()+d+" "+(a.isRadial?"highcharts-radial-axis"+d+" ":"")+(da||"")).add(ia)};c.gridGroup=R("grid","-grid",h.gridZIndex);c.axisGroup=R("axis","",h.zIndex);c.labelGroup=R("axis-labels","-labels",P.zIndex)}E||c.isLinked?(b.forEach(function(a,d){c.generateTick(a,d)}),c.renderUnsquish(),c.reserveSpaceDefault=0===f||2===f||{1:"left",3:"right"}[f]===c.labelAlign,y(P.reserveSpace,"center"===
+c.labelAlign?!0:null,c.reserveSpaceDefault)&&b.forEach(function(a){q=Math.max(r[a].getLabelSize(),q)}),c.staggerLines&&(q*=c.staggerLines),c.labelOffset=q*(c.opposite?-1:1)):A(r,function(a,c){a.destroy();delete r[c]});if(u&&u.text&&!1!==u.enabled&&(c.addTitle(l),l&&!1!==u.reserveSpace)){c.titleOffset=n=c.axisTitle.getBBox()[e?"height":"width"];var Q=u.offset;L=k(Q)?0:y(u.margin,e?5:10)}c.renderLine();c.offset=w*y(h.offset,v[f]?v[f]+(h.margin||0):0);c.tickRotCorr=c.tickRotCorr||{x:0,y:0};u=0===f?-c.labelMetrics().h:
+2===f?c.tickRotCorr.y:0;L=Math.abs(q)+L;q&&(L=L-u+w*(e?y(P.y,c.tickRotCorr.y+8*w):P.x));c.axisTitleMargin=y(Q,L);c.getMaxLabelDimensions&&(c.maxLabelDimensions=c.getMaxLabelDimensions(r,b));e=this.tickSize("tick");v[f]=Math.max(v[f],(c.axisTitleMargin||0)+n+w*c.offset,L,b&&b.length&&e?e[0]+w*c.offset:0);h=h.offset?0:2*Math.floor(c.axisLine.strokeWidth()/2);d[m]=Math.max(d[m],h);J(this,"afterGetOffset")};e.prototype.getLinePath=function(a){var c=this.chart,d=this.opposite,g=this.offset,h=this.horiz,
+b=this.left+(d?this.width:0)+g;g=c.chartHeight-this.bottom-(d?this.height:0)+g;d&&(a*=-1);return c.renderer.crispLine([["M",h?this.left:b,h?g:this.top],["L",h?c.chartWidth-this.right:b,h?g:c.chartHeight-this.bottom]],a)};e.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))};e.prototype.getTitlePosition=
+function(){var a=this.horiz,c=this.left,d=this.top,g=this.len,h=this.options.title,b=a?c:d,r=this.opposite,e=this.offset,f=h.x,m=h.y,A=this.axisTitle,y=this.chart.renderer.fontMetrics(h.style.fontSize,A);A=Math.max(A.getBBox(null,0).height-y.h-1,0);g={low:b+(a?0:g),middle:b+g/2,high:b+(a?g:0)}[h.align];c=(a?d+this.height:c)+(a?1:-1)*(r?-1:1)*this.axisTitleMargin+[-A,A,y.f,-A][this.side];a={x:a?g+f:c+(r?this.width:0)+e+f,y:a?c+m-(r?this.height:0)+e:g+m};J(this,"afterGetTitlePosition",{titlePosition:a});
+return a};e.prototype.renderMinorTick=function(a){var c=this.chart.hasRendered&&this.old,d=this.minorTicks;d[a]||(d[a]=new G(this,a,"minor"));c&&d[a].isNew&&d[a].render(null,!0);d[a].render(null,!1,1)};e.prototype.renderTick=function(a,c){var d=this.ticks,g=this.chart.hasRendered&&this.old;if(!this.isLinked||a>=this.min&&a<=this.max||this.grid&&this.grid.isColumn)d[a]||(d[a]=new G(this,a)),g&&d[a].isNew&&d[a].render(c,!0,-1),d[a].render(c)};e.prototype.render=function(){var a=this,c=a.chart,d=a.logarithmic,
+h=a.options,b=a.isLinked,r=a.tickPositions,e=a.axisTitle,f=a.ticks,m=a.minorTicks,y=a.alternateBands,l=h.stackLabels,n=h.alternateGridColor,k=a.tickmarkOffset,L=a.axisLine,u=a.showAxis,q=B(c.renderer.globalAnimation),P,v;a.labelEdge.length=0;a.overlap=!1;[f,m,y].forEach(function(a){A(a,function(a){a.isActive=!1})});if(a.hasData()||b)a.minorTickInterval&&!a.categories&&a.getMinorTickPositions().forEach(function(c){a.renderMinorTick(c)}),r.length&&(r.forEach(function(c,d){a.renderTick(c,d)}),k&&(0===
+a.min||a.single)&&(f[-1]||(f[-1]=new G(a,-1,null,!0)),f[-1].render(-1))),n&&r.forEach(function(g,h){v="undefined"!==typeof r[h+1]?r[h+1]+k:a.max-k;0===h%2&&g<a.max&&v<=a.max+(c.polar?-k:k)&&(y[g]||(y[g]=new I.PlotLineOrBand(a)),P=g+k,y[g].options={from:d?d.lin2log(P):P,to:d?d.lin2log(v):v,color:n,className:"highcharts-alternate-grid"},y[g].render(),y[g].isActive=!0)}),a._addedPlotLB||(a._addedPlotLB=!0,(h.plotLines||[]).concat(h.plotBands||[]).forEach(function(c){a.addPlotBandOrLine(c)}));[f,m,y].forEach(function(a){var d,
+g=[],h=q.duration;A(a,function(a,c){a.isActive||(a.render(c,!1,0),a.isActive=!1,g.push(c))});V(function(){for(d=g.length;d--;)a[g[d]]&&!a[g[d]].isActive&&(a[g[d]].destroy(),delete a[g[d]])},a!==y&&c.hasRendered&&h?h:0)});L&&(L[L.isPlaced?"animate":"attr"]({d:this.getLinePath(L.strokeWidth())}),L.isPlaced=!0,L[u?"show":"hide"](u));e&&u&&(h=a.getTitlePosition(),g(h.y)?(e[e.isNew?"attr":"animate"](h),e.isNew=!1):(e.attr("y",-9999),e.isNew=!0));l&&l.enabled&&a.stacking&&a.stacking.renderStackTotals();
+a.old={len:a.len,max:a.max,min:a.min,transA:a.transA,userMax:a.userMax,userMin:a.userMin};a.isDirty=!1;J(this,"afterRender")};e.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(a){a.render()}));this.series.forEach(function(a){a.isDirty=!0})};e.prototype.getKeepProps=function(){return this.keepProps||e.keepProps};e.prototype.destroy=function(a){var c=this,d=c.plotLinesAndBands,g;J(this,"destroy",{keepEvents:a});a||P(c);[c.ticks,c.minorTicks,c.alternateBands].forEach(function(a){l(a)});
+if(d)for(a=d.length;a--;)d[a].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(a){c[a]&&(c[a]=c[a].destroy())});for(g in c.plotLinesAndBandsGroups)c.plotLinesAndBandsGroups[g]=c.plotLinesAndBandsGroups[g].destroy();A(c,function(a,d){-1===c.getKeepProps().indexOf(d)&&delete c[d]})};e.prototype.drawCrosshair=function(a,c){var d=this.crosshair,g=y(d&&d.snap,!0),h,r=this.cross,e=this.chart;J(this,"drawCrosshair",{e:a,point:c});a||(a=this.cross&&
+this.cross.e);if(d&&!1!==(k(c)||!g)){g?k(c)&&(h=y("colorAxis"!==this.coll?c.crosshairPos:null,this.isXAxis?c.plotX:this.len-c.plotY)):h=a&&(this.horiz?a.chartX-this.pos:this.len-a.chartY+this.pos);if(k(h)){var f={value:c&&(this.isXAxis?c.x:y(c.stackY,c.y)),translatedValue:h};e.polar&&n(f,{isCrosshair:!0,chartX:a&&a.chartX,chartY:a&&a.chartY,point:c});f=this.getPlotLinePath(f)||null}if(!k(f)){this.hideCrosshair();return}g=this.categories&&!this.isRadial;r||(this.cross=r=e.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+
+(g?"category ":"thin ")+(d.className||"")).attr({zIndex:y(d.zIndex,2)}).add(),e.styledMode||(r.attr({stroke:d.color||(g?b.parse(z.highlightColor20).setOpacity(.25).get():z.neutralColor20),"stroke-width":y(d.width,1)}).css({"pointer-events":"none"}),d.dashStyle&&r.attr({dashstyle:d.dashStyle})));r.show().attr({d:f});g&&!d.width&&r.attr({"stroke-width":this.transA});this.cross.e=a}else this.hideCrosshair();J(this,"afterDrawCrosshair",{e:a,point:c})};e.prototype.hideCrosshair=function(){this.cross&&
+this.cross.hide();J(this,"afterHideCrosshair")};e.prototype.hasVerticalPanning=function(){var a=this.chart.options.chart.panning;return!!(a&&a.enabled&&/y/.test(a.type))};e.prototype.validatePositiveValue=function(a){return g(a)&&0<a};e.prototype.update=function(a,c){var d=this.chart,g=a&&a.events||{};a=h(this.userOptions,a);A(d.options[this.coll].events,function(a,c){"undefined"===typeof g[c]&&(g[c]=void 0)});this.destroy(!0);this.init(d,n(a,{events:g}));d.isDirtyBox=!0;y(c,!0)&&d.redraw()};e.prototype.remove=
+function(a){for(var c=this.chart,d=this.coll,g=this.series,h=g.length;h--;)g[h]&&g[h].remove(!1);N(c.axes,this);N(c[d],this);c[d].forEach(function(a,c){a.options.index=a.userOptions.index=c});this.destroy();c.isDirtyBox=!0;y(a,!0)&&c.redraw()};e.prototype.setTitle=function(a,c){this.update({title:a},c)};e.prototype.setCategories=function(a,c){this.update({categories:a},c)};e.defaultOptions={alignTicks:!0,allowDecimals:void 0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",
+range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:z.neutralColor60,cursor:"default",fontSize:"11px"}},
+maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:z.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:z.neutralColor5,minorGridLineWidth:1,
+minorTickColor:z.neutralColor40,lineColor:z.highlightColor20,lineWidth:1,gridLineColor:z.neutralColor10,gridLineWidth:void 0,tickColor:z.highlightColor20};e.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var a=this.axis.chart.numberFormatter;return a(this.total,-1)},
+style:{color:z.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}};e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};e.keepProps="extKey hcEvents names series userMax userMin".split(" ");return e}();
+I.Axis=e;return I.Axis});O(e,"Core/Axis/DateTimeAxis.js",[e["Core/Axis/Axis.js"],e["Core/Utilities.js"]],function(e,b){var D=b.addEvent,z=b.getMagnitude,H=b.normalizeTickInterval,G=b.timeUnits,C=function(){function b(b){this.axis=b}b.prototype.normalizeTimeTickInterval=function(b,e){var v=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=v[v.length-
+1];var f=G[e[0]],d=e[1],q;for(q=0;q<v.length&&!(e=v[q],f=G[e[0]],d=e[1],v[q+1]&&b<=(f*d[d.length-1]+G[v[q+1][0]])/2);q++);f===G.year&&b<5*f&&(d=[1,2,5]);b=H(b/f,d,"year"===e[0]?Math.max(z(b/f),1):1);return{unitRange:f,count:b,unitName:e[0]}};return b}();b=function(){function b(){}b.compose=function(b){b.keepProps.push("dateTime");b.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)};D(b,"init",function(b){"datetime"!==b.userOptions.type?this.dateTime=
+void 0:this.dateTime||(this.dateTime=new C(this))})};b.AdditionsClass=C;return b}();b.compose(e);return b});O(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Axis/Axis.js"],e["Core/Utilities.js"]],function(e,b){var D=b.addEvent,z=b.getMagnitude,H=b.normalizeTickInterval,G=b.pick,C=function(){function b(b){this.axis=b}b.prototype.getLogTickPositions=function(b,e,v,f){var d=this.axis,q=d.len,k=d.options,l=[];f||(this.minorAutoInterval=void 0);if(.5<=b)b=Math.round(b),l=d.getLinearTickPositions(b,e,v);else if(.08<=
+b){var w=Math.floor(e),u,n=k=void 0;for(q=.3<b?[1,2,4]:.15<b?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];w<v+1&&!n;w++){var J=q.length;for(u=0;u<J&&!n;u++){var E=this.log2lin(this.lin2log(w)*q[u]);E>e&&(!f||k<=v)&&"undefined"!==typeof k&&l.push(k);k>v&&(n=!0);k=E}}}else e=this.lin2log(e),v=this.lin2log(v),b=f?d.getMinorTickInterval():k.tickInterval,b=G("auto"===b?null:b,this.minorAutoInterval,k.tickPixelInterval/(f?5:1)*(v-e)/((f?q/d.tickPositions.length:q)||1)),b=H(b,void 0,z(b)),l=d.getLinearTickPositions(b,
+e,v).map(this.log2lin),f||(this.minorAutoInterval=b/5);f||(d.tickInterval=b);return l};b.prototype.lin2log=function(b){return Math.pow(10,b)};b.prototype.log2lin=function(b){return Math.log(b)/Math.LN10};return b}();b=function(){function b(){}b.compose=function(b){b.keepProps.push("logarithmic");D(b,"init",function(b){var e=this.logarithmic;"logarithmic"!==b.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new C(this))});D(b,"afterInit",function(){var b=this.logarithmic;b&&(this.lin2val=
+function(e){return b.lin2log(e)},this.val2lin=function(e){return b.log2lin(e)})})};return b}();b.compose(e);return b});O(e,"Core/Axis/PlotLineOrBand.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,b,I,z){var D=z.arrayMax,G=z.arrayMin,C=z.defined,B=z.destroyObjectProperties,x=z.erase,w=z.extend,v=z.fireEvent,f=z.isNumber,d=z.merge,q=z.objectEach,k=z.pick;z=function(){function b(d,b){this.axis=d;b&&(this.options=b,this.id=b.id)}b.prototype.render=
+function(){v(this,"render");var b=this,e=b.axis,f=e.horiz,l=e.logarithmic,E=b.options,m=E.label,c=b.label,g=E.to,a=E.from,h=E.value,r=C(a)&&C(g),A=C(h),y=b.svgElem,L=!y,P=[],R=E.color,w=k(E.zIndex,0),Q=E.events;P={"class":"highcharts-plot-"+(r?"band ":"line ")+(E.className||"")};var M={},t=e.chart.renderer,p=r?"bands":"lines";l&&(a=l.log2lin(a),g=l.log2lin(g),h=l.log2lin(h));e.chart.styledMode||(A?(P.stroke=R||I.neutralColor40,P["stroke-width"]=k(E.width,1),E.dashStyle&&(P.dashstyle=E.dashStyle)):
+r&&(P.fill=R||I.highlightColor10,E.borderWidth&&(P.stroke=E.borderColor,P["stroke-width"]=E.borderWidth)));M.zIndex=w;p+="-"+w;(l=e.plotLinesAndBandsGroups[p])||(e.plotLinesAndBandsGroups[p]=l=t.g("plot-"+p).attr(M).add());L&&(b.svgElem=y=t.path().attr(P).add(l));if(A)P=e.getPlotLinePath({value:h,lineWidth:y.strokeWidth(),acrossPanes:E.acrossPanes});else if(r)P=e.getPlotBandPath(a,g,E);else return;!b.eventsAdded&&Q&&(q(Q,function(a,c){y.on(c,function(a){Q[c].apply(b,[a])})}),b.eventsAdded=!0);(L||
+!y.d)&&P&&P.length?y.attr({d:P}):y&&(P?(y.show(!0),y.animate({d:P})):y.d&&(y.hide(),c&&(b.label=c=c.destroy())));m&&(C(m.text)||C(m.formatter))&&P&&P.length&&0<e.width&&0<e.height&&!P.isFlat?(m=d({align:f&&r&&"center",x:f?!r&&4:10,verticalAlign:!f&&r&&"middle",y:f?r?16:10:r?6:-4,rotation:f&&!r&&90},m),this.renderLabel(m,P,r,w)):c&&c.hide();return b};b.prototype.renderLabel=function(d,b,e,f){var l=this.label,m=this.axis.chart.renderer;l||(l={align:d.textAlign||d.align,rotation:d.rotation,"class":"highcharts-plot-"+
+(e?"band":"line")+"-label "+(d.className||"")},l.zIndex=f,f=this.getLabelText(d),this.label=l=m.text(f,0,0,d.useHTML).attr(l).add(),this.axis.chart.styledMode||l.css(d.style));m=b.xBounds||[b[0][1],b[1][1],e?b[2][1]:b[0][1]];b=b.yBounds||[b[0][2],b[1][2],e?b[2][2]:b[0][2]];e=G(m);f=G(b);l.align(d,!1,{x:e,y:f,width:D(m)-e,height:D(b)-f});l.show(!0)};b.prototype.getLabelText=function(d){return C(d.formatter)?d.formatter.call(this):d.text};b.prototype.destroy=function(){x(this.axis.plotLinesAndBands,
+this);delete this.axis;B(this)};return b}();w(e.prototype,{getPlotBandPath:function(d,b,e){void 0===e&&(e=this.options);var l=this.getPlotLinePath({value:b,force:!0,acrossPanes:e.acrossPanes});e=this.getPlotLinePath({value:d,force:!0,acrossPanes:e.acrossPanes});var k=[],q=this.horiz,m=1;d=!f(this.min)||!f(this.max)||d<this.min&&b<this.min||d>this.max&&b>this.max;if(e&&l){if(d){var c=e.toString()===l.toString();m=0}for(d=0;d<e.length;d+=2){b=e[d];var g=e[d+1],a=l[d],h=l[d+1];"M"!==b[0]&&"L"!==b[0]||
+"M"!==g[0]&&"L"!==g[0]||"M"!==a[0]&&"L"!==a[0]||"M"!==h[0]&&"L"!==h[0]||(q&&a[1]===b[1]?(a[1]+=m,h[1]+=m):q||a[2]!==b[2]||(a[2]+=m,h[2]+=m),k.push(["M",b[1],b[2]],["L",g[1],g[2]],["L",h[1],h[2]],["L",a[1],a[2]],["Z"]));k.isFlat=c}}return k},addPlotBand:function(d){return this.addPlotBandOrLine(d,"plotBands")},addPlotLine:function(d){return this.addPlotBandOrLine(d,"plotLines")},addPlotBandOrLine:function(d,e){var f=this,l=new b.PlotLineOrBand(this,d),k=this.userOptions;this.visible&&(l=l.render());
+if(l){this._addedPlotLB||(this._addedPlotLB=!0,(k.plotLines||[]).concat(k.plotBands||[]).forEach(function(d){f.addPlotBandOrLine(d)}));if(e){var q=k[e]||[];q.push(d);k[e]=q}this.plotLinesAndBands.push(l)}return l},removePlotBandOrLine:function(d){for(var b=this.plotLinesAndBands,e=this.options,f=this.userOptions,l=b.length;l--;)b[l].id===d&&b[l].destroy();[e.plotLines||[],f.plotLines||[],e.plotBands||[],f.plotBands||[]].forEach(function(b){for(l=b.length;l--;)(b[l]||{}).id===d&&x(b,b[l])})},removePlotBand:function(d){this.removePlotBandOrLine(d)},
+removePlotLine:function(d){this.removePlotBandOrLine(d)}});b.PlotLineOrBand=z;return b.PlotLineOrBand});O(e,"Core/Tooltip.js",[e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Utilities.js"]],function(e,b,I,z){var D=e.format,G=b.doc,C=z.clamp,B=z.css,x=z.defined,w=z.discardElement,v=z.extend,f=z.fireEvent,d=z.isArray,q=z.isNumber,k=z.isString,l=z.merge,N=z.pick,u=z.splat,n=z.syncTimeout,J=z.timeUnits;"";e=function(){function e(d,c){this.container=void 0;this.crosshairs=
+[];this.distance=0;this.isHidden=!0;this.isSticky=!1;this.now={};this.options={};this.outside=!1;this.chart=d;this.init(d,c)}e.prototype.applyFilter=function(){var d=this.chart;d.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+d.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{"in":"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",
+children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{"in":"SourceGraphic"}}]}]});d.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+d.index+"{filter:url(#drop-shadow-"+d.index+")}"})};e.prototype.bodyFormatter=function(d){return d.map(function(c){var d=c.series.tooltipOptions;return(d[(c.point.formatPrefix||"point")+"Formatter"]||c.point.tooltipFormatter).call(c.point,d[(c.point.formatPrefix||"point")+"Format"]||"")})};e.prototype.cleanSplit=function(d){this.chart.series.forEach(function(c){var b=
+c&&c.tt;b&&(!b.isActive||d?c.tt=b.destroy():b.isActive=!1)})};e.prototype.defaultFormatter=function(d){var c=this.points||u(this);var b=[d.tooltipFooterHeaderFormatter(c[0])];b=b.concat(d.bodyFormatter(c));b.push(d.tooltipFooterHeaderFormatter(c[0],!0));return b};e.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),w(this.container));z.clearTimeout(this.hideTimer);
+z.clearTimeout(this.tooltipTimeout)};e.prototype.getAnchor=function(d,c){var b=this.chart;var a=b.pointer;var h=b.inverted,e=b.plotTop,f=b.plotLeft,m=0,l=0,k,n;d=u(d);this.followPointer&&c?("undefined"===typeof c.chartX&&(c=a.normalize(c)),a=[c.chartX-f,c.chartY-e]):d[0].tooltipPos?a=d[0].tooltipPos:(d.forEach(function(a){k=a.series.yAxis;n=a.series.xAxis;m+=a.plotX||0;l+=a.plotLow?(a.plotLow+(a.plotHigh||0))/2:a.plotY||0;n&&k&&(h?(m+=e+b.plotHeight-n.len-n.pos,l+=f+b.plotWidth-k.len-k.pos):(m+=n.pos-
+f,l+=k.pos-e))}),m/=d.length,l/=d.length,a=[h?b.plotWidth-l:m,h?b.plotHeight-m:l],this.shared&&1<d.length&&c&&(h?a[0]=c.chartX-f:a[1]=c.chartY-e));return a.map(Math.round)};e.prototype.getDateFormat=function(d,c,b,a){var h=this.chart.time,g=h.dateFormat("%m-%d %H:%M:%S.%L",c),e={millisecond:15,second:12,minute:9,hour:6,day:3},f="millisecond";for(m in J){if(d===J.week&&+h.dateFormat("%w",c)===b&&"00:00:00.000"===g.substr(6)){var m="week";break}if(J[m]>d){m=f;break}if(e[m]&&g.substr(e[m])!=="01-01 00:00:00.000".substr(e[m]))break;
+"week"!==m&&(f=m)}if(m)var l=h.resolveDTLFormat(a[m]).main;return l};e.prototype.getLabel=function(){var d=this,c=this.chart.renderer,g=this.chart.styledMode,a=this.options,h="tooltip"+(x(a.className)?" "+a.className:""),e=a.style&&a.style.pointerEvents||(!this.followPointer&&a.stickOnContact?"auto":"none"),f,y=function(){d.inContact=!0},l=function(){var a=d.chart.hoverSeries;d.inContact=!1;if(a&&a.onMouseOut)a.onMouseOut()};if(!this.label){if(this.outside){var k=this.chart.options.chart.style;this.container=
+f=b.doc.createElement("div");f.className="highcharts-tooltip-container";B(f,{position:"absolute",top:"1px",pointerEvents:e,zIndex:Math.max(this.options.style&&this.options.style.zIndex||0,(k&&k.zIndex||0)+3)});b.doc.body.appendChild(f);this.renderer=c=new b.Renderer(f,0,0,k,void 0,void 0,c.styledMode)}this.split?this.label=c.g(h):(this.label=c.label("",0,0,a.shape||"callout",null,null,a.useHTML,null,h).attr({padding:a.padding,r:a.borderRadius}),g||this.label.attr({fill:a.backgroundColor,"stroke-width":a.borderWidth}).css(a.style).css({pointerEvents:e}).shadow(a.shadow));
+g&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index));if(d.outside&&!d.split){var n=this.label,q=n.xSetter,u=n.ySetter;n.xSetter=function(a){q.call(n,d.distance);f.style.left=a+"px"};n.ySetter=function(a){u.call(n,d.distance);f.style.top=a+"px"}}this.label.on("mouseenter",y).on("mouseleave",l).attr({zIndex:8}).add()}return this.label};e.prototype.getPosition=function(d,c,b){var a=this.chart,h=this.distance,g={},e=a.inverted&&b.h||0,f,m=this.outside,l=m?G.documentElement.clientWidth-
+2*h:a.chartWidth,k=m?Math.max(G.body.scrollHeight,G.documentElement.scrollHeight,G.body.offsetHeight,G.documentElement.offsetHeight,G.documentElement.clientHeight):a.chartHeight,n=a.pointer.getChartPosition(),q=function(g){var e="x"===g;return[g,e?l:k,e?d:c].concat(m?[e?d*n.scaleX:c*n.scaleY,e?n.left-h+(b.plotX+a.plotLeft)*n.scaleX:n.top-h+(b.plotY+a.plotTop)*n.scaleY,0,e?l:k]:[e?d:c,e?b.plotX+a.plotLeft:b.plotY+a.plotTop,e?a.plotLeft:a.plotTop,e?a.plotLeft+a.plotWidth:a.plotTop+a.plotHeight])},u=
+q("y"),t=q("x"),p=!this.followPointer&&N(b.ttBelow,!a.inverted===!!b.negative),v=function(a,c,d,b,r,f,A){var y=m?"y"===a?h*n.scaleY:h*n.scaleX:h,l=(d-b)/2,F=b<r-h,k=r+h+b<c,K=r-y-d+l;r=r+y-l;if(p&&k)g[a]=r;else if(!p&&F)g[a]=K;else if(F)g[a]=Math.min(A-b,0>K-e?K:K-e);else if(k)g[a]=Math.max(f,r+e+d>c?r:r+e);else return!1},w=function(a,c,d,b,e){var r;e<h||e>c-h?r=!1:g[a]=e<d/2?1:e>c-b/2?c-b-2:e-d/2;return r},E=function(a){var c=u;u=t;t=c;f=a},F=function(){!1!==v.apply(0,u)?!1!==w.apply(0,t)||f||(E(!0),
+F()):f?g.x=g.y=0:(E(!0),F())};(a.inverted||1<this.len)&&E();F();return g};e.prototype.getXDateFormat=function(d,c,b){c=c.dateTimeLabelFormats;var a=b&&b.closestPointRange;return(a?this.getDateFormat(a,d.x,b.options.startOfWeek,c):c.day)||c.year};e.prototype.hide=function(d){var c=this;z.clearTimeout(this.hideTimer);d=N(d,this.options.hideDelay,500);this.isHidden||(this.hideTimer=n(function(){c.getLabel().fadeOut(d?void 0:d);c.isHidden=!0},d))};e.prototype.init=function(d,c){this.chart=d;this.options=
+c;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=c.split&&!d.inverted&&!d.polar;this.shared=c.shared||this.split;this.outside=N(c.outside,!(!d.scrollablePixelsX&&!d.scrollablePixelsY))};e.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)};e.prototype.move=function(d,c,b,a){var h=this,g=h.now,e=!1!==h.options.animation&&!h.isHidden&&(1<Math.abs(d-g.x)||1<Math.abs(c-g.y)),f=h.followPointer||1<h.len;v(g,{x:e?(2*g.x+d)/
+3:d,y:e?(g.y+c)/2:c,anchorX:f?void 0:e?(2*g.anchorX+b)/3:b,anchorY:f?void 0:e?(g.anchorY+a)/2:a});h.getLabel().attr(g);h.drawTracker();e&&(z.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){h&&h.move(d,c,b,a)},32))};e.prototype.refresh=function(b,c){var g=this.chart,a=this.options,h=u(b),e=h[0],m={},y=[],l=a.formatter||this.defaultFormatter;m=this.shared;var k=g.styledMode;if(a.enabled){z.clearTimeout(this.hideTimer);this.followPointer=!this.split&&e.series.tooltipOptions.followPointer;
+var n=this.getAnchor(b,c);var q=n[0];var v=n[1];!m||!d(b)&&b.series&&b.series.noSharedTooltip?m=e.getLabelConfig():(g.pointer.applyInactiveState(h),h.forEach(function(a){a.setState("hover");y.push(a.getLabelConfig())}),m={x:e.category,y:e.y},m.points=y);this.len=y.length;b=l.call(m,this);l=e.series;this.distance=N(l.tooltipOptions.distance,16);if(!1===b)this.hide();else{if(this.split)this.renderSplit(b,h);else if(h=q,m=v,c&&g.pointer.isDirectTouch&&(h=c.chartX-g.plotLeft,m=c.chartY-g.plotTop),g.polar||
+!1===l.options.clip||l.shouldShowTooltip(h,m))c=this.getLabel(),a.style.width&&!k||c.css({width:this.chart.spacingBox.width+"px"}),c.attr({text:b&&b.join?b.join(""):b}),c.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+N(e.colorIndex,l.colorIndex)),k||c.attr({stroke:a.borderColor||e.color||l.color||I.neutralColor60}),this.updatePosition({plotX:q,plotY:v,negative:e.negative,ttBelow:e.ttBelow,h:n[2]||0});else{this.hide();return}this.isHidden&&this.label&&this.label.attr({opacity:1}).show();
+this.isHidden=!1}f(this,"refresh")}};e.prototype.renderSplit=function(d,c){function g(c,d,b,g,h){void 0===h&&(h=!0);b?(d=X?0:ba,c=C(c-g/2,S.left,S.right-g-(a.outside?U:0))):(d-=B,c=h?c-g-J:c+J,c=C(c,h?c:S.left,S.right));return{x:c,y:d}}var a=this,h=a.chart,e=a.chart,f=e.chartWidth,m=e.chartHeight,l=e.plotHeight,n=e.plotLeft,q=e.plotTop,u=e.pointer,w=e.scrollablePixelsY;w=void 0===w?0:w;var E=e.scrollablePixelsX,t=e.scrollingContainer;t=void 0===t?{scrollLeft:0,scrollTop:0}:t;var p=t.scrollLeft;t=
+t.scrollTop;var x=e.styledMode,J=a.distance,D=a.options,F=a.options.positioner,S=a.outside&&"number"!==typeof E?G.documentElement.getBoundingClientRect():{left:p,right:p+f,top:t,bottom:t+m},K=a.getLabel(),T=this.renderer||h.renderer,X=!(!h.xAxis[0]||!h.xAxis[0].opposite);h=u.getChartPosition();var U=h.left;h=h.top;var B=q+t,z=0,ba=l-w;k(d)&&(d=[!1,d]);d=d.slice(0,c.length+1).reduce(function(d,b,h){if(!1!==b&&""!==b){h=c[h-1]||{isHeader:!0,plotX:c[0].plotX,plotY:l,series:{}};var e=h.isHeader,r=e?a:
+h.series;b=b.toString();var f=r.tt,m=h.isHeader;var A=h.series;var y="highcharts-color-"+N(h.colorIndex,A.colorIndex,"none");f||(f={padding:D.padding,r:D.borderRadius},x||(f.fill=D.backgroundColor,f["stroke-width"]=D.borderWidth),f=T.label("",0,0,D[m?"headerShape":"shape"]||"callout",void 0,void 0,D.useHTML).addClass((m?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+y).attr(f).add(K));f.isActive=!0;f.attr({text:b});x||f.css(D.style).shadow(D.shadow).attr({stroke:D.borderColor||h.color||
+A.color||I.neutralColor80});r=r.tt=f;m=r.getBBox();b=m.width+r.strokeWidth();e&&(z=m.height,ba+=z,X&&(B-=z));A=h.plotX;A=void 0===A?0:A;y=h.plotY;y=void 0===y?0:y;f=h.series;if(h.isHeader){A=n+A;var k=q+l/2}else{var p=f.xAxis,t=f.yAxis;A=p.pos+C(A,-J,p.len+J);f.shouldShowTooltip(0,t.pos-q+y,{ignoreX:!0})&&(k=t.pos+y)}A=C(A,S.left-J,S.right+J);"number"===typeof k?(m=m.height+1,y=F?F.call(a,b,m,h):g(A,k,e,b),d.push({align:F?0:void 0,anchorX:A,anchorY:k,boxWidth:b,point:h,rank:N(y.rank,e?1:0),size:m,
+target:y.y,tt:r,x:y.x})):r.isActive=!1}return d},[]);!F&&d.some(function(c){var d=(a.outside?U:0)+c.anchorX;return d<S.left&&d+c.boxWidth<S.right?!0:d<U-S.left+c.boxWidth&&S.right-d>d})&&(d=d.map(function(a){var c=g(a.anchorX,a.anchorY,a.point.isHeader,a.boxWidth,!1);return v(a,{target:c.y,x:c.x})}));a.cleanSplit();b.distribute(d,ba);var H=U,ca=U;d.forEach(function(c){var d=c.x,b=c.boxWidth;c=c.isHeader;c||(a.outside&&U+d<H&&(H=U+d),!c&&a.outside&&H+b>ca&&(ca=U+d))});d.forEach(function(c){var d=c.x,
+b=c.anchorX,h=c.pos,g=c.point.isHeader;h={visibility:"undefined"===typeof h?"hidden":"inherit",x:d,y:h+B,anchorX:b,anchorY:c.anchorY};if(a.outside&&d<b){var e=U-H;0<e&&(g||(h.x=d+e,h.anchorX=b+e),g&&(h.x=(ca-H)/2,h.anchorX=b+e))}c.tt.attr(h)});d=a.container;w=a.renderer;a.outside&&d&&w&&(e=K.getBBox(),w.setSize(e.width+e.x,e.height+e.y,!1),d.style.left=H+"px",d.style.top=h+"px")};e.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();
+else{var d=this.chart,c=this.label,b=d.hoverPoint;if(c&&b){var a={x:0,y:0,width:0,height:0};b=this.getAnchor(b);var h=c.getBBox();b[0]+=d.plotLeft-c.translateX;b[1]+=d.plotTop-c.translateY;a.x=Math.min(0,b[0]);a.y=Math.min(0,b[1]);a.width=0>b[0]?Math.max(Math.abs(b[0]),h.width-b[0]):Math.max(Math.abs(b[0]),h.width);a.height=0>b[1]?Math.max(Math.abs(b[1]),h.height-Math.abs(b[1])):Math.max(Math.abs(b[1]),h.height);this.tracker?this.tracker.attr(a):(this.tracker=c.renderer.rect(a).addClass("highcharts-tracker").add(c),
+d.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}};e.prototype.styledModeFormat=function(d){return d.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')};e.prototype.tooltipFooterHeaderFormatter=function(d,c){var b=c?"footer":"header",a=d.series,h=a.tooltipOptions,e=h.xDateFormat,m=a.xAxis,l=m&&"datetime"===m.options.type&&q(d.key),k=h[b+"Format"];c={isFooter:c,labelConfig:d};f(this,"headerFormatter",
+c,function(c){l&&!e&&(e=this.getXDateFormat(d,h,m));l&&e&&(d.point&&d.point.tooltipDateKeys||["key"]).forEach(function(a){k=k.replace("{point."+a+"}","{point."+a+":"+e+"}")});a.chart.styledMode&&(k=this.styledModeFormat(k));c.text=D(k,{point:d,series:a},this.chart)});return c.text};e.prototype.update=function(d){this.destroy();l(!0,this.chart.options.tooltip.userOptions,d);this.init(this.chart,l(!0,this.options,d))};e.prototype.updatePosition=function(d){var c=this.chart,b=c.pointer,a=this.getLabel(),
+h=d.plotX+c.plotLeft;c=d.plotY+c.plotTop;b=b.getChartPosition();d=(this.options.positioner||this.getPosition).call(this,a.width,a.height,d);if(this.outside){var e=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(a.width+e,a.height+e,!1);if(1!==b.scaleX||1!==b.scaleY)B(this.container,{transform:"scale("+b.scaleX+", "+b.scaleY+")"}),h*=b.scaleX,c*=b.scaleY;h+=b.left-d.x;c+=b.top-d.y}this.move(Math.round(d.x),Math.round(d.y||0),h,c)};return e}();b.Tooltip=e;return b.Tooltip});O(e,
+"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Tooltip.js"],e["Core/Utilities.js"]],function(e,b,I,z,H){var D=e.parse,C=b.charts,B=b.noop,x=H.addEvent,w=H.attr,v=H.css,f=H.defined,d=H.extend,q=H.find,k=H.fireEvent,l=H.isNumber,N=H.isObject,u=H.objectEach,n=H.offset,J=H.pick,E=H.splat;"";e=function(){function e(c,d){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.eventsToUnbind=[];this.chart=c;this.hasDragged=!1;this.options=
+d;this.init(c,d)}e.prototype.applyInactiveState=function(c){var d=[],a;(c||[]).forEach(function(c){a=c.series;d.push(a);a.linkedParent&&d.push(a.linkedParent);a.linkedSeries&&(d=d.concat(a.linkedSeries));a.navigatorSeries&&d.push(a.navigatorSeries)});this.chart.series.forEach(function(a){-1===d.indexOf(a)?a.setState("inactive",!0):a.options.inactiveOtherPoints&&a.setAllPointsToState("inactive")})};e.prototype.destroy=function(){var c=this;this.eventsToUnbind.forEach(function(c){return c()});this.eventsToUnbind=
+[];b.chartCount||(b.unbindDocumentMouseUp&&(b.unbindDocumentMouseUp=b.unbindDocumentMouseUp()),b.unbindDocumentTouchEnd&&(b.unbindDocumentTouchEnd=b.unbindDocumentTouchEnd()));clearInterval(c.tooltipTimeout);u(c,function(d,a){c[a]=void 0})};e.prototype.drag=function(c){var d=this.chart,a=d.options.chart,b=c.chartX,e=c.chartY,f=this.zoomHor,l=this.zoomVert,m=d.plotLeft,k=d.plotTop,n=d.plotWidth,q=d.plotHeight,u=this.selectionMarker,v=this.mouseDownX||0,t=this.mouseDownY||0,p=N(a.panning)?a.panning&&
+a.panning.enabled:a.panning,w=a.panKey&&c[a.panKey+"Key"];if(!u||!u.touch)if(b<m?b=m:b>m+n&&(b=m+n),e<k?e=k:e>k+q&&(e=k+q),this.hasDragged=Math.sqrt(Math.pow(v-b,2)+Math.pow(t-e,2)),10<this.hasDragged){var E=d.isInsidePlot(v-m,t-k,{visiblePlotOnly:!0});d.hasCartesianSeries&&(this.zoomX||this.zoomY)&&E&&!w&&!u&&(this.selectionMarker=u=d.renderer.rect(m,k,f?1:n,l?1:q,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),d.styledMode||u.attr({fill:a.selectionMarkerFill||D(I.highlightColor80).setOpacity(.25).get()}));
+u&&f&&(b-=v,u.attr({width:Math.abs(b),x:(0<b?0:b)+v}));u&&l&&(b=e-t,u.attr({height:Math.abs(b),y:(0<b?0:b)+t}));E&&!u&&p&&d.pan(c,a.panning)}};e.prototype.dragStart=function(c){var d=this.chart;d.mouseIsDown=c.type;d.cancelClick=!1;d.mouseDownX=this.mouseDownX=c.chartX;d.mouseDownY=this.mouseDownY=c.chartY};e.prototype.drop=function(c){var b=this,a=this.chart,h=this.hasPinched;if(this.selectionMarker){var e={originalEvent:c,xAxis:[],yAxis:[]},A=this.selectionMarker,m=A.attr?A.attr("x"):A.x,n=A.attr?
+A.attr("y"):A.y,q=A.attr?A.attr("width"):A.width,u=A.attr?A.attr("height"):A.height,w;if(this.hasDragged||h)a.axes.forEach(function(a){if(a.zoomEnabled&&f(a.min)&&(h||b[{xAxis:"zoomX",yAxis:"zoomY"}[a.coll]])&&l(m)&&l(n)){var d=a.horiz,g="touchend"===c.type?a.minPixelPadding:0,r=a.toValue((d?m:n)+g);d=a.toValue((d?m+q:n+u)-g);e[a.coll].push({axis:a,min:Math.min(r,d),max:Math.max(r,d)});w=!0}}),w&&k(a,"selection",e,function(c){a.zoom(d(c,h?{animation:!1}:null))});l(a.index)&&(this.selectionMarker=
+this.selectionMarker.destroy());h&&this.scaleGroups()}a&&l(a.index)&&(v(a.container,{cursor:a._cursor}),a.cancelClick=10<this.hasDragged,a.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])};e.prototype.findNearestKDPoint=function(c,d,a){var b=this.chart,g=b.hoverPoint;b=b.tooltip;if(g&&b&&b.isStickyOnContact())return g;var e;c.forEach(function(c){var b=!(c.noSharedTooltip&&d)&&0>c.options.findNearestPointBy.indexOf("y");c=c.searchPoint(a,b);if((b=N(c,!0)&&c.series)&&!(b=!N(e,!0))){b=
+e.distX-c.distX;var h=e.dist-c.dist,g=(c.series.group&&c.series.group.zIndex)-(e.series.group&&e.series.group.zIndex);b=0<(0!==b&&d?b:0!==h?h:0!==g?g:e.series.index>c.series.index?-1:1)}b&&(e=c)});return e};e.prototype.getChartCoordinatesFromPoint=function(c,d){var a=c.series,b=a.xAxis;a=a.yAxis;var g=c.shapeArgs;if(b&&a){var e=J(c.clientX,c.plotX),f=c.plotY||0;c.isNode&&g&&l(g.x)&&l(g.y)&&(e=g.x,f=g.y);return d?{chartX:a.len+a.pos-f,chartY:b.len+b.pos-e}:{chartX:e+b.pos,chartY:f+a.pos}}if(g&&g.x&&
+g.y)return{chartX:g.x,chartY:g.y}};e.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var c=this.chart.container,d=n(c);this.chartPosition={left:d.left,top:d.top,scaleX:1,scaleY:1};var a=c.offsetWidth;c=c.offsetHeight;2<a&&2<c&&(this.chartPosition.scaleX=d.width/a,this.chartPosition.scaleY=d.height/c);return this.chartPosition};e.prototype.getCoordinates=function(c){var d={xAxis:[],yAxis:[]};this.chart.axes.forEach(function(a){d[a.isXAxis?"xAxis":"yAxis"].push({axis:a,
+value:a.toValue(c[a.horiz?"chartX":"chartY"])})});return d};e.prototype.getHoverData=function(c,d,a,b,e,f){var h,g=[];b=!(!b||!c);var r=d&&!d.stickyTracking,l={chartX:f?f.chartX:void 0,chartY:f?f.chartY:void 0,shared:e};k(this,"beforeGetHoverData",l);r=r?[d]:a.filter(function(a){return l.filter?l.filter(a):a.visible&&!(!e&&a.directTouch)&&J(a.options.enableMouseTracking,!0)&&a.stickyTracking});d=(h=b||!f?c:this.findNearestKDPoint(r,e,f))&&h.series;h&&(e&&!d.noSharedTooltip?(r=a.filter(function(a){return l.filter?
+l.filter(a):a.visible&&!(!e&&a.directTouch)&&J(a.options.enableMouseTracking,!0)&&!a.noSharedTooltip}),r.forEach(function(a){var c=q(a.points,function(a){return a.x===h.x&&!a.isNull});N(c)&&(a.chart.isBoosting&&(c=a.getPoint(c)),g.push(c))})):g.push(h));l={hoverPoint:h};k(this,"afterGetHoverData",l);return{hoverPoint:l.hoverPoint,hoverSeries:d,hoverPoints:g}};e.prototype.getPointFromEvent=function(c){c=c.target;for(var d;c&&!d;)d=c.point,c=c.parentNode;return d};e.prototype.onTrackerMouseOut=function(c){c=
+c.relatedTarget||c.toElement;var d=this.chart.hoverSeries;this.isDirectTouch=!1;if(!(!d||!c||d.stickyTracking||this.inClass(c,"highcharts-tooltip")||this.inClass(c,"highcharts-series-"+d.index)&&this.inClass(c,"highcharts-tracker")))d.onMouseOut()};e.prototype.inClass=function(c,d){for(var a;c;){if(a=w(c,"class")){if(-1!==a.indexOf(d))return!0;if(-1!==a.indexOf("highcharts-container"))return!1}c=c.parentNode}};e.prototype.init=function(c,d){this.options=d;this.chart=c;this.runChartClick=!(!d.chart.events||
+!d.chart.events.click);this.pinchDown=[];this.lastValidTouch={};z&&(c.tooltip=new z(c,d.tooltip),this.followTouchMove=J(d.tooltip.followTouchMove,!0));this.setDOMEvents()};e.prototype.normalize=function(c,b){var a=c.touches,h=a?a.length?a.item(0):J(a.changedTouches,c.changedTouches)[0]:c;b||(b=this.getChartPosition());a=h.pageX-b.left;h=h.pageY-b.top;a/=b.scaleX;h/=b.scaleY;return d(c,{chartX:Math.round(a),chartY:Math.round(h)})};e.prototype.onContainerClick=function(c){var b=this.chart,a=b.hoverPoint;
+c=this.normalize(c);var h=b.plotLeft,e=b.plotTop;b.cancelClick||(a&&this.inClass(c.target,"highcharts-tracker")?(k(a.series,"click",d(c,{point:a})),b.hoverPoint&&a.firePointEvent("click",c)):(d(c,this.getCoordinates(c)),b.isInsidePlot(c.chartX-h,c.chartY-e,{visiblePlotOnly:!0})&&k(b,"click",c)))};e.prototype.onContainerMouseDown=function(c){var d=1===((c.buttons||c.button)&1);c=this.normalize(c);if(b.isFirefox&&0!==c.button)this.onContainerMouseMove(c);if("undefined"===typeof c.button||d)this.zoomOption(c),
+d&&c.preventDefault&&c.preventDefault(),this.dragStart(c)};e.prototype.onContainerMouseLeave=function(c){var d=C[J(b.hoverChartIndex,-1)],a=this.chart.tooltip;c=this.normalize(c);d&&(c.relatedTarget||c.toElement)&&(d.pointer.reset(),d.pointer.chartPosition=void 0);a&&!a.isHidden&&this.reset()};e.prototype.onContainerMouseEnter=function(c){delete this.chartPosition};e.prototype.onContainerMouseMove=function(c){var d=this.chart;c=this.normalize(c);this.setHoverChartIndex();c.preventDefault||(c.returnValue=
+!1);("mousedown"===d.mouseIsDown||this.touchSelect(c))&&this.drag(c);d.openMenu||!this.inClass(c.target,"highcharts-tracker")&&!d.isInsidePlot(c.chartX-d.plotLeft,c.chartY-d.plotTop,{visiblePlotOnly:!0})||this.runPointActions(c)};e.prototype.onDocumentTouchEnd=function(c){C[b.hoverChartIndex]&&C[b.hoverChartIndex].pointer.drop(c)};e.prototype.onContainerTouchMove=function(c){if(this.touchSelect(c))this.onContainerMouseMove(c);else this.touch(c)};e.prototype.onContainerTouchStart=function(c){if(this.touchSelect(c))this.onContainerMouseDown(c);
+else this.zoomOption(c),this.touch(c,!0)};e.prototype.onDocumentMouseMove=function(c){var d=this.chart,a=this.chartPosition;c=this.normalize(c,a);var b=d.tooltip;!a||b&&b.isStickyOnContact()||d.isInsidePlot(c.chartX-d.plotLeft,c.chartY-d.plotTop,{visiblePlotOnly:!0})||this.inClass(c.target,"highcharts-tracker")||this.reset()};e.prototype.onDocumentMouseUp=function(c){var d=C[J(b.hoverChartIndex,-1)];d&&d.pointer.drop(c)};e.prototype.pinch=function(c){var b=this,a=b.chart,h=b.pinchDown,e=c.touches||
+[],f=e.length,l=b.lastValidTouch,m=b.hasZoom,k=b.selectionMarker,n={},q=1===f&&(b.inClass(c.target,"highcharts-tracker")&&a.runTrackerClick||b.runChartClick),u={};1<f&&(b.initiated=!0);m&&b.initiated&&!q&&!1!==c.cancelable&&c.preventDefault();[].map.call(e,function(a){return b.normalize(a)});"touchstart"===c.type?([].forEach.call(e,function(a,c){h[c]={chartX:a.chartX,chartY:a.chartY}}),l.x=[h[0].chartX,h[1]&&h[1].chartX],l.y=[h[0].chartY,h[1]&&h[1].chartY],a.axes.forEach(function(c){if(c.zoomEnabled){var d=
+a.bounds[c.horiz?"h":"v"],b=c.minPixelPadding,h=c.toPixels(Math.min(J(c.options.min,c.dataMin),c.dataMin)),e=c.toPixels(Math.max(J(c.options.max,c.dataMax),c.dataMax)),g=Math.max(h,e);d.min=Math.min(c.pos,Math.min(h,e)-b);d.max=Math.max(c.pos+c.len,g+b)}}),b.res=!0):b.followTouchMove&&1===f?this.runPointActions(b.normalize(c)):h.length&&(k||(b.selectionMarker=k=d({destroy:B,touch:!0},a.plotBox)),b.pinchTranslate(h,e,n,k,u,l),b.hasPinched=m,b.scaleGroups(n,u),b.res&&(b.res=!1,this.reset(!1,0)))};e.prototype.pinchTranslate=
+function(c,d,a,b,e,f){this.zoomHor&&this.pinchTranslateDirection(!0,c,d,a,b,e,f);this.zoomVert&&this.pinchTranslateDirection(!1,c,d,a,b,e,f)};e.prototype.pinchTranslateDirection=function(c,d,a,b,e,f,l,m){var h=this.chart,g=c?"x":"y",r=c?"X":"Y",k="chart"+r,n=c?"width":"height",A=h["plot"+(c?"Left":"Top")],y,q,u=m||1,L=h.inverted,F=h.bounds[c?"h":"v"],v=1===d.length,K=d[0][k],w=a[0][k],E=!v&&d[1][k],x=!v&&a[1][k];a=function(){"number"===typeof x&&20<Math.abs(K-E)&&(u=m||Math.abs(w-x)/Math.abs(K-E));
+q=(A-w)/u+K;y=h["plot"+(c?"Width":"Height")]/u};a();d=q;if(d<F.min){d=F.min;var J=!0}else d+y>F.max&&(d=F.max-y,J=!0);J?(w-=.8*(w-l[g][0]),"number"===typeof x&&(x-=.8*(x-l[g][1])),a()):l[g]=[w,x];L||(f[g]=q-A,f[n]=y);f=L?1/u:u;e[n]=y;e[g]=d;b[L?c?"scaleY":"scaleX":"scale"+r]=u;b["translate"+r]=f*A+(w-f*K)};e.prototype.reset=function(c,d){var a=this.chart,b=a.hoverSeries,e=a.hoverPoint,g=a.hoverPoints,f=a.tooltip,l=f&&f.shared?g:e;c&&l&&E(l).forEach(function(a){a.series.isCartesian&&"undefined"===
+typeof a.plotX&&(c=!1)});if(c)f&&l&&E(l).length&&(f.refresh(l),f.shared&&g?g.forEach(function(a){a.setState(a.state,!0);a.series.isCartesian&&(a.series.xAxis.crosshair&&a.series.xAxis.drawCrosshair(null,a),a.series.yAxis.crosshair&&a.series.yAxis.drawCrosshair(null,a))}):e&&(e.setState(e.state,!0),a.axes.forEach(function(a){a.crosshair&&e.series[a.coll]===a&&a.drawCrosshair(null,e)})));else{if(e)e.onMouseOut();g&&g.forEach(function(a){a.setState()});if(b)b.onMouseOut();f&&f.hide(d);this.unDocMouseMove&&
+(this.unDocMouseMove=this.unDocMouseMove());a.axes.forEach(function(a){a.hideCrosshair()});this.hoverX=a.hoverPoints=a.hoverPoint=null}};e.prototype.runPointActions=function(c,d){var a=this.chart,h=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,e=h?h.shared:!1,g=d||a.hoverPoint,f=g&&g.series||a.hoverSeries;f=this.getHoverData(g,f,a.series,(!c||"touchmove"!==c.type)&&(!!d||f&&f.directTouch&&this.isDirectTouch),e,c);g=f.hoverPoint;var l=f.hoverPoints;d=(f=f.hoverSeries)&&f.tooltipOptions.followPointer&&
+!f.tooltipOptions.split;e=e&&f&&!f.noSharedTooltip;if(g&&(g!==a.hoverPoint||h&&h.isHidden)){(a.hoverPoints||[]).forEach(function(a){-1===l.indexOf(a)&&a.setState()});if(a.hoverSeries!==f)f.onMouseOver();this.applyInactiveState(l);(l||[]).forEach(function(a){a.setState("hover")});a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut");if(!g.series)return;a.hoverPoints=l;a.hoverPoint=g;g.firePointEvent("mouseOver");h&&h.refresh(e?l:g,c)}else d&&h&&!h.isHidden&&(g=h.getAnchor([{}],c),a.isInsidePlot(g[0],
+g[1],{visiblePlotOnly:!0})&&h.updatePosition({plotX:g[0],plotY:g[1]}));this.unDocMouseMove||(this.unDocMouseMove=x(a.container.ownerDocument,"mousemove",function(a){var c=C[b.hoverChartIndex];if(c)c.pointer.onDocumentMouseMove(a)}),this.eventsToUnbind.push(this.unDocMouseMove));a.axes.forEach(function(d){var b=J((d.crosshair||{}).snap,!0),h;b&&((h=a.hoverPoint)&&h.series[d.coll]===d||(h=q(l,function(a){return a.series[d.coll]===d})));h||!b?d.drawCrosshair(c,h):d.hideCrosshair()})};e.prototype.scaleGroups=
+function(c,d){var a=this.chart,b;a.series.forEach(function(h){b=c||h.getPlotBox();h.xAxis&&h.xAxis.zoomEnabled&&h.group&&(h.group.attr(b),h.markerGroup&&(h.markerGroup.attr(b),h.markerGroup.clip(d?a.clipRect:null)),h.dataLabelsGroup&&h.dataLabelsGroup.attr(b))});a.clipRect.attr(d||a.clipBox)};e.prototype.setDOMEvents=function(){var c=this,d=this.chart.container,a=d.ownerDocument;d.onmousedown=this.onContainerMouseDown.bind(this);d.onmousemove=this.onContainerMouseMove.bind(this);d.onclick=this.onContainerClick.bind(this);
+this.eventsToUnbind.push(x(d,"mouseenter",this.onContainerMouseEnter.bind(this)));this.eventsToUnbind.push(x(d,"mouseleave",this.onContainerMouseLeave.bind(this)));b.unbindDocumentMouseUp||(b.unbindDocumentMouseUp=x(a,"mouseup",this.onDocumentMouseUp.bind(this)));for(var h=this.chart.renderTo.parentElement;h&&"BODY"!==h.tagName;)this.eventsToUnbind.push(x(h,"scroll",function(){delete c.chartPosition})),h=h.parentElement;b.hasTouch&&(this.eventsToUnbind.push(x(d,"touchstart",this.onContainerTouchStart.bind(this),
+{passive:!1})),this.eventsToUnbind.push(x(d,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),b.unbindDocumentTouchEnd||(b.unbindDocumentTouchEnd=x(a,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};e.prototype.setHoverChartIndex=function(){var c=this.chart,d=b.charts[J(b.hoverChartIndex,-1)];if(d&&d!==c)d.pointer.onContainerMouseLeave({relatedTarget:!0});d&&d.mouseIsDown||(b.hoverChartIndex=c.index)};e.prototype.touch=function(c,d){var a=this.chart,b;this.setHoverChartIndex();
+if(1===c.touches.length)if(c=this.normalize(c),(b=a.isInsidePlot(c.chartX-a.plotLeft,c.chartY-a.plotTop,{visiblePlotOnly:!0}))&&!a.openMenu){d&&this.runPointActions(c);if("touchmove"===c.type){d=this.pinchDown;var e=d[0]?4<=Math.sqrt(Math.pow(d[0].chartX-c.chartX,2)+Math.pow(d[0].chartY-c.chartY,2)):!1}J(e,!0)&&this.pinch(c)}else d&&this.reset();else 2===c.touches.length&&this.pinch(c)};e.prototype.touchSelect=function(c){return!(!this.chart.options.chart.zoomBySingleTouch||!c.touches||1!==c.touches.length)};
+e.prototype.zoomOption=function(c){var d=this.chart,a=d.options.chart,b=a.zoomType||"";d=d.inverted;/touch/.test(c.type)&&(b=J(a.pinchType,b));this.zoomX=c=/x/.test(b);this.zoomY=b=/y/.test(b);this.zoomHor=c&&!d||b&&d;this.zoomVert=b&&!d||c&&d;this.hasZoom=c||b};return e}();return b.Pointer=e});O(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(e,b,I){function D(){var d=[];d.item=function(d){return this[d]};f(q,function(b){d.push({pageX:b.pageX,pageY:b.pageY,
+target:b.target})});return d}function H(d,b,f,k){"touch"!==d.pointerType&&d.pointerType!==d.MSPOINTER_TYPE_TOUCH||!C[e.hoverChartIndex]||(k(d),k=C[e.hoverChartIndex].pointer,k[b]({type:f,target:d.currentTarget,preventDefault:x,touches:D()}))}var G=this&&this.__extends||function(){var d=function(b,e){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var e in b)b.hasOwnProperty(e)&&(d[e]=b[e])};return d(b,e)};return function(b,e){function f(){this.constructor=
+b}d(b,e);b.prototype=null===e?Object.create(e):(f.prototype=e.prototype,new f)}}(),C=e.charts,B=e.doc,x=e.noop,w=I.addEvent,v=I.css,f=I.objectEach,d=I.removeEvent,q={},k=!!e.win.PointerEvent;return function(b){function e(){return null!==b&&b.apply(this,arguments)||this}G(e,b);e.prototype.batchMSEvents=function(d){d(this.chart.container,k?"pointerdown":"MSPointerDown",this.onContainerPointerDown);d(this.chart.container,k?"pointermove":"MSPointerMove",this.onContainerPointerMove);d(B,k?"pointerup":
+"MSPointerUp",this.onDocumentPointerUp)};e.prototype.destroy=function(){this.batchMSEvents(d);b.prototype.destroy.call(this)};e.prototype.init=function(d,e){b.prototype.init.call(this,d,e);this.hasZoom&&v(d.container,{"-ms-touch-action":"none","touch-action":"none"})};e.prototype.onContainerPointerDown=function(d){H(d,"onContainerTouchStart","touchstart",function(d){q[d.pointerId]={pageX:d.pageX,pageY:d.pageY,target:d.currentTarget}})};e.prototype.onContainerPointerMove=function(d){H(d,"onContainerTouchMove",
+"touchmove",function(d){q[d.pointerId]={pageX:d.pageX,pageY:d.pageY};q[d.pointerId].target||(q[d.pointerId].target=d.currentTarget)})};e.prototype.onDocumentPointerUp=function(d){H(d,"onDocumentTouchEnd","touchend",function(d){delete q[d.pointerId]})};e.prototype.setDOMEvents=function(){b.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(w)};return e}(b)});O(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],
+e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Options.js"],e["Core/Utilities.js"]],function(e,b,I,z,H,G){var D=b.animObject,B=I.format,x=H.defaultOptions,w=G.addEvent,v=G.defined,f=G.erase,d=G.extend,q=G.fireEvent,k=G.getNestedProperty,l=G.isArray,N=G.isFunction,u=G.isNumber,n=G.isObject,J=G.merge,E=G.objectEach,m=G.pick,c=G.syncTimeout,g=G.removeEvent,a=G.uniqueKey;"";b=function(){function b(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;
+this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=this.series=void 0;this.visible=!0;this.x=void 0}b.prototype.animateBeforeDestroy=function(){var a=this,c={x:a.startXPos,opacity:0},b,e=a.getGraphicalProps();e.singular.forEach(function(d){b="dataLabel"===d;a[d]=a[d].animate(b?{x:a[d].startXPos,y:a[d].startYPos,opacity:0}:c)});e.plural.forEach(function(c){a[c].forEach(function(c){c.element&&c.animate(d({x:a.startXPos},c.startYPos?{x:c.startXPos,y:c.startYPos}:{}))})})};b.prototype.applyOptions=
+function(a,c){var e=this.series,h=e.options.pointValKey||e.pointValKey;a=b.prototype.optionsToObject.call(this,a);d(this,a);this.options=this.options?d(this.options,a):a;a.group&&delete this.group;a.dataLabels&&delete this.dataLabels;h&&(this.y=b.prototype.getNestedProperty.call(this,h));this.formatPrefix=(this.isNull=m(this.isValid&&!this.isValid(),null===this.x||!u(this.y)))?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof c&&e.xAxis&&e.xAxis.hasNames&&(this.x=
+e.xAxis.nameToX(this));"undefined"===typeof this.x&&e&&(this.x="undefined"===typeof c?e.autoIncrement(this):c);return this};b.prototype.destroy=function(){function a(){if(d.graphic||d.dataLabel||d.dataLabels)g(d),d.destroyElements();for(m in d)d[m]=null}var d=this,b=d.series,e=b.chart;b=b.options.dataSorting;var h=e.hoverPoints,l=D(d.series.chart.renderer.globalAnimation),m;d.legendItem&&e.legend.destroyItem(d);h&&(d.setState(),f(h,d),h.length||(e.hoverPoints=null));if(d===e.hoverPoint)d.onMouseOut();
+b&&b.enabled?(this.animateBeforeDestroy(),c(a,l.duration)):a();e.pointCount--};b.prototype.destroyElements=function(a){var c=this;a=c.getGraphicalProps(a);a.singular.forEach(function(a){c[a]=c[a].destroy()});a.plural.forEach(function(a){c[a].forEach(function(a){a.element&&a.destroy()});delete c[a]})};b.prototype.firePointEvent=function(a,c,d){var b=this,e=this.series.options;(e.point.events[a]||b.options&&b.options.events&&b.options.events[a])&&b.importEvents();"click"===a&&e.allowPointSelect&&(d=
+function(a){b.select&&b.select(null,a.ctrlKey||a.metaKey||a.shiftKey)});q(b,a,c,d)};b.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};
+b.prototype.getGraphicalProps=function(a){var c=this,d=[],b,e={singular:[],plural:[]};a=a||{graphic:1,dataLabel:1};a.graphic&&d.push("graphic","upperGraphic","shadowGroup");a.dataLabel&&d.push("dataLabel","dataLabelUpper","connector");for(b=d.length;b--;){var h=d[b];c[h]&&e.singular.push(h)}["dataLabel","connector"].forEach(function(d){var b=d+"s";a[d]&&c[b]&&e.plural.push(b)});return e};b.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,
+key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}};b.prototype.getNestedProperty=function(a){if(a)return 0===a.indexOf("custom.")?k(a,this.options):this[a]};b.prototype.getZone=function(){var a=this.series,c=a.zones;a=a.zoneAxis||"y";var d=0,b;for(b=c[d];this[a]>=b.value;)b=c[++d];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=b&&b.color&&!this.options.color?b.color:this.nonZonedColor;return b};b.prototype.hasNewShapeType=
+function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};b.prototype.init=function(c,d,b){this.series=c;this.applyOptions(d,b);this.id=v(this.id)?this.id:a();this.resolveColor();c.chart.pointCount++;q(this,"afterInit");return this};b.prototype.optionsToObject=function(a){var c={},d=this.series,e=d.options.keys,h=e||d.pointArrayMap||["y"],g=h.length,f=0,r=0;if(u(a)||null===a)c[h[0]]=a;else if(l(a))for(!e&&a.length>g&&(d=typeof a[0],"string"===d?c.name=
+a[0]:"number"===d&&(c.x=a[0]),f++);r<g;)e&&"undefined"===typeof a[f]||(0<h[r].indexOf(".")?b.prototype.setNestedProperty(c,a[f],h[r]):c[h[r]]=a[f]),f++,r++;else"object"===typeof a&&(c=a,a.dataLabels&&(d._hasPointLabels=!0),a.marker&&(d._hasPointMarkers=!0));return c};b.prototype.resolveColor=function(){var a=this.series;var c=a.chart.options.chart.colorCount;var d=a.chart.styledMode;delete this.nonZonedColor;if(a.options.colorByPoint){if(!d){c=a.options.colors||a.chart.options.colors;var b=c[a.colorCounter];
+c=c.length}d=a.colorCounter;a.colorCounter++;a.colorCounter===c&&(a.colorCounter=0)}else d||(b=a.color),d=a.colorIndex;this.colorIndex=m(this.options.colorIndex,d);this.color=m(this.options.color,b)};b.prototype.setNestedProperty=function(a,c,d){d.split(".").reduce(function(a,d,b,e){a[d]=e.length-1===b?c:n(a[d],!0)?a[d]:{};return a[d]},a);return a};b.prototype.tooltipFormatter=function(a){var c=this.series,d=c.tooltipOptions,b=m(d.valueDecimals,""),e=d.valuePrefix||"",h=d.valueSuffix||"";c.chart.styledMode&&
+(a=c.chart.tooltip.styledModeFormat(a));(c.pointArrayMap||["y"]).forEach(function(c){c="{point."+c;if(e||h)a=a.replace(RegExp(c+"}","g"),e+c+"}"+h);a=a.replace(RegExp(c+"}","g"),c+":,."+b+"f}")});return B(a,{point:this,series:this.series},c.chart)};b.prototype.update=function(a,c,d,b){function e(){h.applyOptions(a);var b=f&&h.hasDummyGraphic;b=null===h.y?!b:b;f&&b&&(h.graphic=f.destroy(),delete h.hasDummyGraphic);n(a,!0)&&(f&&f.element&&a&&a.marker&&"undefined"!==typeof a.marker.symbol&&(h.graphic=
+f.destroy()),a&&a.dataLabels&&h.dataLabel&&(h.dataLabel=h.dataLabel.destroy()),h.connector&&(h.connector=h.connector.destroy()));r=h.index;g.updateParallelArrays(h,r);k.data[r]=n(k.data[r],!0)||n(a,!0)?h.options:m(a,k.data[r]);g.isDirty=g.isDirtyData=!0;!g.fixedBox&&g.hasCartesianSeries&&(l.isDirtyBox=!0);"point"===k.legendType&&(l.isDirtyLegend=!0);c&&l.redraw(d)}var h=this,g=h.series,f=h.graphic,r,l=g.chart,k=g.options;c=m(c,!0);!1===b?e():h.firePointEvent("update",{options:a},e)};b.prototype.remove=
+function(a,c){this.series.removePoint(this.series.data.indexOf(this),a,c)};b.prototype.select=function(a,c){var d=this,b=d.series,e=b.chart;this.selectedStaging=a=m(a,!d.selected);d.firePointEvent(a?"select":"unselect",{accumulate:c},function(){d.selected=d.options.selected=a;b.options.data[b.data.indexOf(d)]=d.options;d.setState(a&&"select");c||e.getSelectedPoints().forEach(function(a){var c=a.series;a.selected&&a!==d&&(a.selected=a.options.selected=!1,c.options.data[c.data.indexOf(a)]=a.options,
+a.setState(e.hoverPoints&&c.options.inactiveOtherPoints?"inactive":""),a.firePointEvent("unselect"))})});delete this.selectedStaging};b.prototype.onMouseOver=function(a){var c=this.series.chart,d=c.pointer;a=a?d.normalize(a):d.getChartCoordinatesFromPoint(this,c.inverted);d.runPointActions(a,this)};b.prototype.onMouseOut=function(){var a=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(a.hoverPoints||[]).forEach(function(a){a.setState()});a.hoverPoints=a.hoverPoint=
+null};b.prototype.importEvents=function(){if(!this.hasImportedEvents){var a=this,c=J(a.series.options.point,a.options).events;a.events=c;E(c,function(c,d){N(c)&&w(a,d,c)});this.hasImportedEvents=!0}};b.prototype.setState=function(a,c){var b=this.series,h=this.state,g=b.options.states[a||"normal"]||{},f=x.plotOptions[b.type].marker&&b.options.marker,r=f&&!1===f.enabled,l=f&&f.states&&f.states[a||"normal"]||{},k=!1===l.enabled,n=b.stateMarkerGraphic,p=this.marker||{},A=b.chart,v=b.halo,w,F=f&&b.markerAttribs;
+a=a||"";if(!(a===this.state&&!c||this.selected&&"select"!==a||!1===g.enabled||a&&(k||r&&!1===l.enabled)||a&&p.states&&p.states[a]&&!1===p.states[a].enabled)){this.state=a;F&&(w=b.markerAttribs(this,a));if(this.graphic&&!this.hasDummyGraphic){h&&this.graphic.removeClass("highcharts-point-"+h);a&&this.graphic.addClass("highcharts-point-"+a);if(!A.styledMode){var S=b.pointAttribs(this,a);var K=m(A.options.chart.animation,g.animation);b.options.inactiveOtherPoints&&u(S.opacity)&&((this.dataLabels||[]).forEach(function(a){a&&
+a.animate({opacity:S.opacity},K)}),this.connector&&this.connector.animate({opacity:S.opacity},K));this.graphic.animate(S,K)}w&&this.graphic.animate(w,m(A.options.chart.animation,l.animation,f.animation));n&&n.hide()}else{if(a&&l){h=p.symbol||b.symbol;n&&n.currentSymbol!==h&&(n=n.destroy());if(w)if(n)n[c?"animate":"attr"]({x:w.x,y:w.y});else h&&(b.stateMarkerGraphic=n=A.renderer.symbol(h,w.x,w.y,w.width,w.height).add(b.markerGroup),n.currentSymbol=h);!A.styledMode&&n&&n.attr(b.pointAttribs(this,a))}n&&
+(n[a&&this.isInside?"show":"hide"](),n.element.point=this)}g=g.halo;w=(n=this.graphic||n)&&n.visibility||"inherit";g&&g.size&&n&&"hidden"!==w&&!this.isCluster?(v||(b.halo=v=A.renderer.path().add(n.parentGroup)),v.show()[c?"animate":"attr"]({d:this.haloPath(g.size)}),v.attr({"class":"highcharts-halo highcharts-color-"+m(this.colorIndex,b.colorIndex)+(this.className?" "+this.className:""),visibility:w,zIndex:-1}),v.point=this,A.styledMode||v.attr(d({fill:this.color||b.color,"fill-opacity":g.opacity},
+e.filterUserAttributes(g.attributes||{})))):v&&v.point&&v.point.haloPath&&v.animate({d:v.point.haloPath(0)},null,v.hide);q(this,"afterSetState",{state:a})}};b.prototype.haloPath=function(a){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-a,this.plotY-a,2*a,2*a)};return b}();return z.Point=b});O(e,"Core/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,b,I,z,H){var D=
+e.animObject,C=e.setAnimation,B=b.format;e=I.isFirefox;var x=I.marginNames;b=I.win;var w=H.addEvent,v=H.createElement,f=H.css,d=H.defined,q=H.discardElement,k=H.find,l=H.fireEvent,N=H.isNumber,u=H.merge,n=H.pick,J=H.relativeLength,E=H.stableSort,m=H.syncTimeout;H=H.wrap;var c=function(){function c(a,c){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=
+this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options={};this.padding=0;this.pages=[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=a;this.init(a,c)}c.prototype.init=function(a,c){this.chart=a;this.setOptions(c);c.enabled&&(this.render(),w(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=w(this.chart,
+"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};c.prototype.setOptions=function(a){var c=n(a.padding,8);this.options=a;this.chart.styledMode||(this.itemStyle=a.itemStyle,this.itemHiddenStyle=u(this.itemStyle,a.itemHiddenStyle));this.itemMarginTop=a.itemMarginTop||0;this.itemMarginBottom=a.itemMarginBottom||0;this.padding=c;this.initialItemY=c-5;this.symbolWidth=n(a.symbolWidth,16);this.pages=[];this.proximate="proximate"===
+a.layout&&!this.chart.inverted;this.baseline=void 0};c.prototype.update=function(a,c){var d=this.chart;this.setOptions(u(!0,this.options,a));this.destroy();d.isDirtyLegend=d.isDirtyBox=!0;n(c,!0)&&d.redraw();l(this,"afterUpdate")};c.prototype.colorizeItem=function(a,c){a.legendGroup[c?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var d=this.options,b=a.legendItem,e=a.legendLine,h=a.legendSymbol,g=this.itemHiddenStyle.color;d=c?d.itemStyle.color:g;var f=c?a.color||
+g:g,m=a.options&&a.options.marker,k={fill:f};b&&b.css({fill:d,color:d});e&&e.attr({stroke:f});h&&(m&&h.isMarker&&(k=a.pointAttribs(),c||(k.stroke=k.fill=g)),h.attr(k))}l(this,"afterColorizeItem",{item:a,visible:c})};c.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};c.prototype.positionItem=function(a){var c=this,b=this.options,e=b.symbolPadding,g=!b.rtl,f=a._legendItemPos;b=f[0];f=f[1];var k=a.checkbox,m=a.legendGroup;
+m&&m.element&&(e={translateX:g?b:this.legendWidth-b-2*e-4,translateY:f},g=function(){l(c,"afterPositionItem",{item:a})},d(m.translateY)?m.animate(e,void 0,g):(m.attr(e),g()));k&&(k.x=b,k.y=f)};c.prototype.destroyItem=function(a){var c=a.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(c){a[c]&&(a[c]=a[c].destroy())});c&&q(a.checkbox)};c.prototype.destroy=function(){function a(a){this[a]&&(this[a]=this[a].destroy())}this.getAllItems().forEach(function(c){["legendItem",
+"legendGroup"].forEach(a,c)});"clipRect up down pager nav box title group".split(" ").forEach(a,this);this.display=null};c.prototype.positionCheckboxes=function(){var a=this.group&&this.group.alignAttr,c=this.clipHeight||this.legendHeight,d=this.titleHeight;if(a){var b=a.translateY;this.allItems.forEach(function(e){var h=e.checkbox;if(h){var g=b+d+h.y+(this.scrollOffset||0)+3;f(h,{left:a.translateX+e.checkboxOffset+h.x-20+"px",top:g+"px",display:this.proximate||g>b-6&&g<b+c-6?"":"none"})}},this)}};
+c.prototype.renderTitle=function(){var a=this.options,c=this.padding,d=a.title,b=0;d.text&&(this.title||(this.title=this.chart.renderer.label(d.text,c-3,c-4,null,null,null,a.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(d.style),this.title.add(this.group)),d.width||this.title.css({width:this.maxLegendWidth+"px"}),a=this.title.getBBox(),b=a.height,this.offsetWidth=a.width,this.contentGroup.attr({translateY:b}));this.titleHeight=b};c.prototype.setText=function(a){var c=
+this.options;a.legendItem.attr({text:c.labelFormat?B(c.labelFormat,a,this.chart):c.labelFormatter.call(a)})};c.prototype.renderItem=function(a){var c=this.chart,d=c.renderer,b=this.options,e=this.symbolWidth,g=b.symbolPadding||0,f=this.itemStyle,l=this.itemHiddenStyle,k="horizontal"===b.layout?n(b.itemDistance,20):0,m=!b.rtl,q=a.legendItem,t=!a.series,p=!t&&a.series.drawLegendSymbol?a.series:a,v=p.options,w=this.createCheckboxForItem&&v&&v.showCheckbox;v=e+g+k+(w?20:0);var E=b.useHTML,F=a.options.className;
+q||(a.legendGroup=d.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+a.colorIndex+(F?" "+F:"")+(t?" highcharts-series-"+a.index:"")).attr({zIndex:1}).add(this.scrollGroup),a.legendItem=q=d.text("",m?e+g:-g,this.baseline||0,E),c.styledMode||q.css(u(a.visible?f:l)),q.attr({align:m?"left":"right",zIndex:2}).add(a.legendGroup),this.baseline||(this.fontMetrics=d.fontMetrics(c.styledMode?12:f.fontSize,q),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,q.attr("y",this.baseline),
+this.symbolHeight=b.symbolHeight||this.fontMetrics.f,b.squareSymbol&&(this.symbolWidth=n(b.symbolWidth,Math.max(this.symbolHeight,16)),v=this.symbolWidth+g+k+(w?20:0),m&&q.attr("x",this.symbolWidth+g))),p.drawLegendSymbol(this,a),this.setItemEvents&&this.setItemEvents(a,q,E));w&&!a.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(a);this.colorizeItem(a,a.visible);!c.styledMode&&f.width||q.css({width:(b.itemWidth||this.widthOption||c.spacingBox.width)-v+"px"});this.setText(a);c=q.getBBox();
+a.itemWidth=a.checkboxOffset=b.itemWidth||a.legendItemWidth||c.width+v;this.maxItemWidth=Math.max(this.maxItemWidth,a.itemWidth);this.totalItemWidth+=a.itemWidth;this.itemHeight=a.itemHeight=Math.round(a.legendItemHeight||c.height||this.symbolHeight)};c.prototype.layoutItem=function(a){var c=this.options,d=this.padding,b="horizontal"===c.layout,e=a.itemHeight,g=this.itemMarginBottom,f=this.itemMarginTop,l=b?n(c.itemDistance,20):0,m=this.maxLegendWidth;c=c.alignColumns&&this.totalItemWidth>m?this.maxItemWidth:
+a.itemWidth;b&&this.itemX-d+c>m&&(this.itemX=d,this.lastLineHeight&&(this.itemY+=f+this.lastLineHeight+g),this.lastLineHeight=0);this.lastItemY=f+this.itemY+g;this.lastLineHeight=Math.max(e,this.lastLineHeight);a._legendItemPos=[this.itemX,this.itemY];b?this.itemX+=c:(this.itemY+=f+e+g,this.lastLineHeight=e);this.offsetWidth=this.widthOption||Math.max((b?this.itemX-d-(a.checkbox?0:l):c)+d,this.offsetWidth)};c.prototype.getAllItems=function(){var a=[];this.chart.series.forEach(function(c){var b=c&&
+c.options;c&&n(b.showInLegend,d(b.linkedTo)?!1:void 0,!0)&&(a=a.concat(c.legendItems||("point"===b.legendType?c.data:c)))});l(this,"afterGetAllItems",{allItems:a});return a};c.prototype.getAlignment=function(){var a=this.options;return this.proximate?a.align.charAt(0)+"tv":a.floating?"":a.align.charAt(0)+a.verticalAlign.charAt(0)+a.layout.charAt(0)};c.prototype.adjustMargins=function(a,c){var b=this.chart,e=this.options,h=this.getAlignment();h&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(g,
+f){g.test(h)&&!d(a[f])&&(b[x[f]]=Math.max(b[x[f]],b.legend[(f+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][f]*e[f%2?"x":"y"]+n(e.margin,12)+c[f]+(b.titleOffset[f]||0)))})};c.prototype.proximatePositions=function(){var a=this.chart,c=[],d="left"===this.options.align;this.allItems.forEach(function(b){var e;var h=d;if(b.yAxis){b.xAxis.options.reversed&&(h=!h);b.points&&(e=k(h?b.points:b.points.slice(0).reverse(),function(a){return N(a.plotY)}));h=this.itemMarginTop+b.legendItem.getBBox().height+this.itemMarginBottom;
+var g=b.yAxis.top-a.plotTop;b.visible?(e=e?e.plotY:b.yAxis.height,e+=g-.3*h):e=g+b.yAxis.height;c.push({target:e,size:h,item:b})}},this);I.distribute(c,a.plotHeight);c.forEach(function(c){c.item._legendItemPos[1]=a.plotTop-a.spacing[0]+c.pos})};c.prototype.render=function(){var a=this.chart,c=a.renderer,d=this.group,b=this.box,e=this.options,g=this.padding;this.itemX=g;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=J(e.width,a.spacingBox.width-g);var f=a.spacingBox.width-
+2*g-e.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(f/=2);this.maxLegendWidth=this.widthOption||f;d||(this.group=d=c.g("legend").attr({zIndex:7}).add(),this.contentGroup=c.g().attr({zIndex:1}).add(d),this.scrollGroup=c.g().add(this.contentGroup));this.renderTitle();var m=this.getAllItems();E(m,function(a,c){return(a.options&&a.options.legendIndex||0)-(c.options&&c.options.legendIndex||0)});e.reversed&&m.reverse();this.allItems=m;this.display=f=!!m.length;this.itemHeight=this.totalItemWidth=
+this.maxItemWidth=this.lastLineHeight=0;m.forEach(this.renderItem,this);m.forEach(this.layoutItem,this);m=(this.widthOption||this.offsetWidth)+g;var k=this.lastItemY+this.lastLineHeight+this.titleHeight;k=this.handleOverflow(k);k+=g;b||(this.box=b=c.rect().addClass("highcharts-legend-box").attr({r:e.borderRadius}).add(d),b.isNew=!0);a.styledMode||b.attr({stroke:e.borderColor,"stroke-width":e.borderWidth||0,fill:e.backgroundColor||"none"}).shadow(e.shadow);0<m&&0<k&&(b[b.isNew?"attr":"animate"](b.crisp.call({},
+{x:0,y:0,width:m,height:k},b.strokeWidth())),b.isNew=!1);b[f?"show":"hide"]();a.styledMode&&"none"===d.getStyle("display")&&(m=k=0);this.legendWidth=m;this.legendHeight=k;f&&this.align();this.proximate||this.positionItems();l(this,"afterRender")};c.prototype.align=function(a){void 0===a&&(a=this.chart.spacingBox);var c=this.chart,d=this.options,b=a.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<c.titleOffset[0]?b+=c.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<c.titleOffset[2]&&(b-=c.titleOffset[2]);
+b!==a.y&&(a=u(a,{y:b}));this.group.align(u(d,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":d.verticalAlign}),!0,a)};c.prototype.handleOverflow=function(a){var c=this,d=this.chart,b=d.renderer,e=this.options,g=e.y,f=this.padding;g=d.spacingBox.height+("top"===e.verticalAlign?-g:g)-f;var m=e.maxHeight,k,l=this.clipRect,q=e.navigation,t=n(q.animation,!0),p=q.arrowSize||12,u=this.nav,v=this.pages,w,F=this.allItems,S=function(a){"number"===typeof a?l.attr({height:a}):
+l&&(c.clipRect=l.destroy(),c.contentGroup.clip());c.contentGroup.div&&(c.contentGroup.div.style.clip=a?"rect("+f+"px,9999px,"+(f+a)+"px,0)":"auto")},K=function(a){c[a]=b.circle(0,0,1.3*p).translate(p/2,p/2).add(u);d.styledMode||c[a].attr("fill","rgba(0,0,0,0.0001)");return c[a]};"horizontal"!==e.layout||"middle"===e.verticalAlign||e.floating||(g/=2);m&&(g=Math.min(g,m));v.length=0;a&&0<g&&a>g&&!1!==q.enabled?(this.clipHeight=k=Math.max(g-20-this.titleHeight-f,0),this.currentPage=n(this.currentPage,
+1),this.fullHeight=a,F.forEach(function(a,c){var d=a._legendItemPos[1],b=Math.round(a.legendItem.getBBox().height),e=v.length;if(!e||d-v[e-1]>k&&(w||d)!==v[e-1])v.push(w||d),e++;a.pageIx=e-1;w&&(F[c-1].pageIx=e-1);c===F.length-1&&d+b-v[e-1]>k&&d!==w&&(v.push(d),a.pageIx=e);d!==w&&(w=d)}),l||(l=c.clipRect=b.clipRect(0,f,9999,0),c.contentGroup.clip(l)),S(k),u||(this.nav=u=b.g().attr({zIndex:1}).add(this.group),this.up=b.symbol("triangle",0,0,p,p).add(u),K("upTracker").on("click",function(){c.scroll(-1,
+t)}),this.pager=b.text("",15,10).addClass("highcharts-legend-navigation"),d.styledMode||this.pager.css(q.style),this.pager.add(u),this.down=b.symbol("triangle-down",0,0,p,p).add(u),K("downTracker").on("click",function(){c.scroll(1,t)})),c.scroll(0),a=g):u&&(S(),this.nav=u.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a};c.prototype.scroll=function(a,c){var d=this,b=this.chart,e=this.pages,h=e.length,g=this.currentPage+a;a=this.clipHeight;var f=this.options.navigation,k=
+this.pager,q=this.padding;g>h&&(g=h);0<g&&("undefined"!==typeof c&&C(c,b),this.nav.attr({translateX:q,translateY:a+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(a){a.attr({"class":1===g?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),k.attr({text:g+"/"+h}),[this.down,this.downTracker].forEach(function(a){a.attr({x:18+this.pager.getBBox().width,"class":g===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),
+b.styledMode||(this.up.attr({fill:1===g?f.inactiveColor:f.activeColor}),this.upTracker.css({cursor:1===g?"default":"pointer"}),this.down.attr({fill:g===h?f.inactiveColor:f.activeColor}),this.downTracker.css({cursor:g===h?"default":"pointer"})),this.scrollOffset=-e[g-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=g,this.positionCheckboxes(),c=D(n(c,b.renderer.globalAnimation,!0)),m(function(){l(d,"afterScroll",{currentPage:g})},c.duration))};c.prototype.setItemEvents=
+function(a,c,d){var b=this,e=b.chart.renderer.boxWrapper,h=a instanceof z,g="highcharts-legend-"+(h?"point":"series")+"-active",f=b.chart.styledMode;(d?[c,a.legendSymbol]:[a.legendGroup]).forEach(function(d){if(d)d.on("mouseover",function(){a.visible&&b.allItems.forEach(function(c){a!==c&&c.setState("inactive",!h)});a.setState("hover");a.visible&&e.addClass(g);f||c.css(b.options.itemHoverStyle)}).on("mouseout",function(){b.chart.styledMode||c.css(u(a.visible?b.itemStyle:b.itemHiddenStyle));b.allItems.forEach(function(c){a!==
+c&&c.setState("",!h)});e.removeClass(g);a.setState()}).on("click",function(c){var d=function(){a.setVisible&&a.setVisible();b.allItems.forEach(function(c){a!==c&&c.setState(a.visible?"inactive":"",!h)})};e.removeClass(g);c={browserEvent:c};a.firePointEvent?a.firePointEvent("legendItemClick",c,d):l(a,"legendItemClick",c,d)})})};c.prototype.createCheckboxForItem=function(a){a.checkbox=v("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:a.selected,defaultChecked:a.selected},this.options.itemCheckboxStyle,
+this.chart.container);w(a.checkbox,"click",function(c){l(a.series||a,"checkboxClick",{checked:c.target.checked,item:a},function(){a.select()})})};return c}();(/Trident\/7\.0/.test(b.navigator&&b.navigator.userAgent)||e)&&H(c.prototype,"positionItem",function(c,a){var d=this,b=function(){a._legendItemPos&&c.call(d,a)};b();d.bubbleLegend||setTimeout(b)});I.Legend=c;return I.Legend});O(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Options.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],
+function(e,b,I,z){var D=b.defaultOptions,G=z.error,C=z.extendClass,B=z.merge,x;(function(b){function v(e,d){var f=D.plotOptions||{},k=d.defaultOptions;d.prototype.pointClass||(d.prototype.pointClass=I);d.prototype.type=e;k&&(f[e]=k);b.seriesTypes[e]=d}b.seriesTypes=e.seriesTypes;b.getSeries=function(e,d){void 0===d&&(d={});var f=e.options.chart;f=d.type||f.type||f.defaultSeriesType||"";var k=b.seriesTypes[f];b||G(17,!0,e,{missingModuleFor:f});f=new k;"function"===typeof f.init&&f.init(e,d);return f};
+b.registerSeriesType=v;b.seriesType=function(e,d,q,k,l){var f=D.plotOptions||{};d=d||"";f[e]=B(f[d],q);v(e,C(b.seriesTypes[d]||function(){},k));b.seriesTypes[e].prototype.type=e;l&&(b.seriesTypes[e].prototype.pointClass=C(I,l));return b.seriesTypes[e]}})(x||(x={}));e.seriesType=x.seriesType;return x});O(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Legend.js"],e["Core/MSPointer.js"],e["Core/Options.js"],
+e["Core/Color/Palette.js"],e["Core/Pointer.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"]],function(e,b,I,z,H,G,C,B,x,w,v,f,d){var q=e.animate,k=e.animObject,l=e.setAnimation,D=I.numberFormat,u=z.charts,n=z.doc,J=z.win,E=C.defaultOptions,m=C.defaultTime,c=w.seriesTypes,g=f.addEvent,a=f.attr,h=f.cleanRecursively,r=f.createElement,A=f.css,y=f.defined,L=f.discardElement,P=f.erase,R=f.error,V=f.extend,Q=f.find,M=f.fireEvent,t=f.getStyle,
+p=f.isArray,O=f.isFunction,Z=f.isNumber,ea=f.isObject,F=f.isString,S=f.merge,K=f.objectEach,T=f.pick,X=f.pInt,U=f.relativeLength,fa=f.removeEvent,Y=f.splat,ba=f.syncTimeout,ha=f.uniqueKey,ca=z.marginNames,aa=function(){function e(a,c,d){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=
+this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0;this.sharedClips={};this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0;this.getArgs(a,c,d)}e.prototype.getArgs=function(a,c,d){F(a)||a.nodeName?(this.renderTo=a,this.init(c,d)):this.init(a,c)};e.prototype.init=function(a,c){var d=a.plotOptions||{};M(this,"init",{args:arguments},function(){var b=S(E,a),e=b.chart;K(b.plotOptions,function(a,
+c){ea(a)&&(a.tooltip=d[c]&&S(d[c].tooltip)||void 0)});b.tooltip.userOptions=a.chart&&a.chart.forExport&&a.tooltip.userOptions||a.tooltip;this.userOptions=a;var h=e.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=c;this.isResizing=0;this.options=b;this.axes=[];this.series=[];this.time=a.time&&Object.keys(a.time).length?new v(a.time):z.time;this.numberFormatter=e.numberFormatter||D;this.styledMode=e.styledMode;this.hasCartesianSeries=e.showAxes;var f=
+this;f.index=u.length;u.push(f);z.chartCount++;h&&K(h,function(a,c){O(a)&&g(f,c,a)});f.xAxis=[];f.yAxis=[];f.pointCount=f.colorCounter=f.symbolCounter=0;M(f,"afterInit");f.firstRender()})};e.prototype.initSeries=function(a){var d=this.options.chart;d=a.type||d.type||d.defaultSeriesType;var b=c[d];b||R(17,!0,this,{missingModuleFor:d});d=new b;"function"===typeof d.init&&d.init(this,a);return d};e.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(a){a.points||a.data||
+!a.enabledDataSorting||a.setData(a.options.data,!1)})};e.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(a,c){return a.linkedSeries.length||c.linkedSeries.length?c.linkedSeries.length-a.linkedSeries.length:0})};e.prototype.orderSeries=function(a){var c=this.series;for(a=a||0;a<c.length;a++)c[a]&&(c[a].index=a,c[a].name=c[a].getName())};e.prototype.isInsidePlot=function(a,c,d){void 0===d&&(d={});var b=this.inverted,e=this.plotBox,h=this.plotLeft,g=this.plotTop,
+f=this.scrollablePlotBox,m=this.scrollingContainer;m=void 0===m?{scrollLeft:0,scrollTop:0}:m;var k=m.scrollLeft;m=m.scrollTop;var l=d.series;e=d.visiblePlotOnly&&f||e;f=d.inverted?c:a;c=d.inverted?a:c;a={x:f,y:c,isInsidePlot:!0};if(!d.ignoreX){var F=l&&(b?l.yAxis:l.xAxis)||{pos:h,len:Infinity};f=d.paneCoordinates?F.pos+f:h+f;f>=Math.max(k+h,F.pos)&&f<=Math.min(k+h+e.width,F.pos+F.len)||(a.isInsidePlot=!1)}!d.ignoreY&&a.isInsidePlot&&(b=l&&(b?l.xAxis:l.yAxis)||{pos:g,len:Infinity},d=d.paneCoordinates?
+b.pos+c:g+c,d>=Math.max(m+g,b.pos)&&d<=Math.min(m+g+e.height,b.pos+b.len)||(a.isInsidePlot=!1));M(this,"afterIsInsidePlot",a);return a.isInsidePlot};e.prototype.redraw=function(a){M(this,"beforeRedraw");var c=this.hasCartesianSeries?this.axes:this.colorAxis||[],d=this.series,b=this.pointer,e=this.legend,h=this.userOptions.legend,g=this.isDirtyLegend,f=this.isDirtyBox,m=this.renderer,k=m.isHidden(),F=[];this.setResponsive&&this.setResponsive(!1);l(this.hasRendered?a:!1,this);k&&this.temporaryDisplay();
+this.layOutTitles();for(a=d.length;a--;){var n=d[a];if(n.options.stacking||n.options.centerInCategory){var r=!0;if(n.isDirty){var K=!0;break}}}if(K)for(a=d.length;a--;)n=d[a],n.options.stacking&&(n.isDirty=!0);d.forEach(function(a){a.isDirty&&("point"===a.options.legendType?("function"===typeof a.updateTotals&&a.updateTotals(),g=!0):h&&(h.labelFormatter||h.labelFormat)&&(g=!0));a.isDirtyData&&M(a,"updatedData")});g&&e&&e.options.enabled&&(e.render(),this.isDirtyLegend=!1);r&&this.getStacks();c.forEach(function(a){a.updateNames();
+a.setScale()});this.getMargins();c.forEach(function(a){a.isDirty&&(f=!0)});c.forEach(function(a){var c=a.min+","+a.max;a.extKey!==c&&(a.extKey=c,F.push(function(){M(a,"afterSetExtremes",V(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(f||r)&&a.redraw()});f&&this.drawChartBox();M(this,"predraw");d.forEach(function(a){(f||a.isDirty)&&a.visible&&a.redraw();a.isDirtyData=!1});b&&b.reset(!0);m.draw();M(this,"redraw");M(this,"render");k&&this.temporaryDisplay(!0);F.forEach(function(a){a.call()})};
+e.prototype.get=function(a){function c(c){return c.id===a||c.options&&c.options.id===a}var d=this.series,b;var e=Q(this.axes,c)||Q(this.series,c);for(b=0;!e&&b<d.length;b++)e=Q(d[b].points||[],c);return e};e.prototype.getAxes=function(){var a=this,c=this.options,d=c.xAxis=Y(c.xAxis||{});c=c.yAxis=Y(c.yAxis||{});M(this,"getAxes");d.forEach(function(a,c){a.index=c;a.isX=!0});c.forEach(function(a,c){a.index=c});d.concat(c).forEach(function(c){new b(a,c)});M(this,"afterGetAxes")};e.prototype.getSelectedPoints=
+function(){var a=[];this.series.forEach(function(c){a=a.concat(c.getPointsCollection().filter(function(a){return T(a.selectedStaging,a.selected)}))});return a};e.prototype.getSelectedSeries=function(){return this.series.filter(function(a){return a.selected})};e.prototype.setTitle=function(a,c,d){this.applyDescription("title",a);this.applyDescription("subtitle",c);this.applyDescription("caption",void 0);this.layOutTitles(d)};e.prototype.applyDescription=function(a,c){var d=this,b="title"===a?{color:B.neutralColor80,
+fontSize:this.options.isStock?"16px":"18px"}:{color:B.neutralColor60};b=this.options[a]=S(!this.styledMode&&{style:b},this.options[a],c);var e=this[a];e&&c&&(this[a]=e=e.destroy());b&&!e&&(e=this.renderer.text(b.text,0,0,b.useHTML).attr({align:b.align,"class":"highcharts-"+a,zIndex:b.zIndex||4}).add(),e.update=function(c){d[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[a]](c)},this.styledMode||e.css(b.style),this[a]=e)};e.prototype.layOutTitles=function(a){var c=[0,0,0],d=this.renderer,
+b=this.spacingBox;["title","subtitle","caption"].forEach(function(a){var e=this[a],h=this.options[a],g=h.verticalAlign||"top";a="title"===a?-3:"top"===g?c[0]+2:0;if(e){if(!this.styledMode)var f=h.style.fontSize;f=d.fontMetrics(f,e).b;e.css({width:(h.width||b.width+(h.widthAdjust||0))+"px"});var m=Math.round(e.getBBox(h.useHTML).height);e.align(V({y:"bottom"===g?f:a+f,height:m},h),!1,"spacingBox");h.floating||("top"===g?c[0]=Math.ceil(c[0]+m):"bottom"===g&&(c[2]=Math.ceil(c[2]+m)))}},this);c[0]&&"top"===
+(this.options.title.verticalAlign||"top")&&(c[0]+=this.options.title.margin);c[2]&&"bottom"===this.options.caption.verticalAlign&&(c[2]+=this.options.caption.margin);var e=!this.titleOffset||this.titleOffset.join(",")!==c.join(",");this.titleOffset=c;M(this,"afterLayOutTitles");!this.isDirtyBox&&e&&(this.isDirtyBox=this.isDirtyLegend=e,this.hasRendered&&T(a,!0)&&this.isDirtyBox&&this.redraw())};e.prototype.getChartSize=function(){var a=this.options.chart,c=a.width;a=a.height;var d=this.renderTo;y(c)||
+(this.containerWidth=t(d,"width"));y(a)||(this.containerHeight=t(d,"height"));this.chartWidth=Math.max(0,c||this.containerWidth||600);this.chartHeight=Math.max(0,U(a,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))};e.prototype.temporaryDisplay=function(a){var c=this.renderTo;if(a)for(;c&&c.style;)c.hcOrigStyle&&(A(c,c.hcOrigStyle),delete c.hcOrigStyle),c.hcOrigDetached&&(n.body.removeChild(c),c.hcOrigDetached=!1),c=c.parentNode;else for(;c&&c.style;){n.body.contains(c)||c.parentNode||
+(c.hcOrigDetached=!0,n.body.appendChild(c));if("none"===t(c,"display",!1)||c.hcOricDetached)c.hcOrigStyle={display:c.style.display,height:c.style.height,overflow:c.style.overflow},a={display:"block",overflow:"hidden"},c!==this.renderTo&&(a.height=0),A(c,a),c.offsetWidth||c.style.setProperty("display","block","important");c=c.parentNode;if(c===n.body)break}};e.prototype.setClassName=function(a){this.container.className="highcharts-container "+(a||"")};e.prototype.getContainer=function(){var c=this.options,
+d=c.chart;var b=this.renderTo;var e=ha(),h,g;b||(this.renderTo=b=d.renderTo);F(b)&&(this.renderTo=b=n.getElementById(b));b||R(13,!0,this);var f=X(a(b,"data-highcharts-chart"));Z(f)&&u[f]&&u[f].hasRendered&&u[f].destroy();a(b,"data-highcharts-chart",this.index);b.innerHTML="";d.skipClone||b.offsetWidth||this.temporaryDisplay();this.getChartSize();f=this.chartWidth;var m=this.chartHeight;A(b,{overflow:"hidden"});this.styledMode||(h=V({position:"relative",overflow:"hidden",width:f+"px",height:m+"px",
+textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},d.style||{}));this.container=b=r("div",{id:e},h,b);this._cursor=b.style.cursor;this.renderer=new (z[d.renderer]||z.Renderer)(b,f,m,null,d.forExport,c.exporting&&c.exporting.allowHTML,this.styledMode);l(void 0,this);this.setClassName(d.className);if(this.styledMode)for(g in c.defs)this.renderer.definition(c.defs[g]);else this.renderer.setStyle(d.style);
+this.renderer.chartIndex=this.index;M(this,"afterGetContainer")};e.prototype.getMargins=function(a){var c=this.spacing,d=this.margin,b=this.titleOffset;this.resetMargins();b[0]&&!y(d[0])&&(this.plotTop=Math.max(this.plotTop,b[0]+c[0]));b[2]&&!y(d[2])&&(this.marginBottom=Math.max(this.marginBottom,b[2]+c[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(d,c);M(this,"getMargins");a||this.getAxisMargins()};e.prototype.getAxisMargins=function(){var a=this,c=a.axisOffset=[0,0,0,0],d=a.colorAxis,
+b=a.margin,e=function(a){a.forEach(function(a){a.visible&&a.getOffset()})};a.hasCartesianSeries?e(a.axes):d&&d.length&&e(d);ca.forEach(function(d,e){y(b[e])||(a[d]+=c[e])});a.setChartSize()};e.prototype.reflow=function(a){var c=this,d=c.options.chart,b=c.renderTo,e=y(d.width)&&y(d.height),h=d.width||t(b,"width");d=d.height||t(b,"height");b=a?a.target:J;delete c.pointer.chartPosition;if(!e&&!c.isPrinting&&h&&d&&(b===J||b===n)){if(h!==c.containerWidth||d!==c.containerHeight)f.clearTimeout(c.reflowTimeout),
+c.reflowTimeout=ba(function(){c.container&&c.setSize(void 0,void 0,!1)},a?100:0);c.containerWidth=h;c.containerHeight=d}};e.prototype.setReflow=function(a){var c=this;!1===a||this.unbindReflow?!1===a&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=g(J,"resize",function(a){c.options&&c.reflow(a)}),g(this,"destroy",this.unbindReflow))};e.prototype.setSize=function(a,c,d){var b=this,e=b.renderer;b.isResizing+=1;l(d,b);d=e.globalAnimation;b.oldChartHeight=b.chartHeight;
+b.oldChartWidth=b.chartWidth;"undefined"!==typeof a&&(b.options.chart.width=a);"undefined"!==typeof c&&(b.options.chart.height=c);b.getChartSize();b.styledMode||(d?q:A)(b.container,{width:b.chartWidth+"px",height:b.chartHeight+"px"},d);b.setChartSize(!0);e.setSize(b.chartWidth,b.chartHeight,d);b.axes.forEach(function(a){a.isDirty=!0;a.setScale()});b.isDirtyLegend=!0;b.isDirtyBox=!0;b.layOutTitles();b.getMargins();b.redraw(d);b.oldChartHeight=null;M(b,"resize");ba(function(){b&&M(b,"endResize",null,
+function(){--b.isResizing})},k(d).duration)};e.prototype.setChartSize=function(a){var c=this.inverted,d=this.renderer,b=this.chartWidth,e=this.chartHeight,h=this.options.chart,g=this.spacing,f=this.clipOffset,m,l,k,F;this.plotLeft=m=Math.round(this.plotLeft);this.plotTop=l=Math.round(this.plotTop);this.plotWidth=k=Math.max(0,Math.round(b-m-this.marginRight));this.plotHeight=F=Math.max(0,Math.round(e-l-this.marginBottom));this.plotSizeX=c?F:k;this.plotSizeY=c?k:F;this.plotBorderWidth=h.plotBorderWidth||
+0;this.spacingBox=d.spacingBox={x:g[3],y:g[0],width:b-g[3]-g[1],height:e-g[0]-g[2]};this.plotBox=d.plotBox={x:m,y:l,width:k,height:F};e=2*Math.floor(this.plotBorderWidth/2);c=Math.ceil(Math.max(e,f[3])/2);b=Math.ceil(Math.max(e,f[0])/2);this.clipBox={x:c,y:b,width:Math.floor(this.plotSizeX-Math.max(e,f[1])/2-c),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(e,f[2])/2-b))};a||(this.axes.forEach(function(a){a.setAxisSize();a.setAxisTranslation()}),d.alignElements());M(this,"afterSetChartSize",
+{skipAxes:a})};e.prototype.resetMargins=function(){M(this,"resetMargins");var a=this,c=a.options.chart;["margin","spacing"].forEach(function(d){var b=c[d],e=ea(b)?b:[b,b,b,b];["Top","Right","Bottom","Left"].forEach(function(b,h){a[d][h]=T(c[d+b],e[h])})});ca.forEach(function(c,d){a[c]=T(a.margin[d],a.spacing[d])});a.axisOffset=[0,0,0,0];a.clipOffset=[0,0,0,0]};e.prototype.drawChartBox=function(){var a=this.options.chart,c=this.renderer,d=this.chartWidth,b=this.chartHeight,e=this.chartBackground,h=
+this.plotBackground,g=this.plotBorder,f=this.styledMode,m=this.plotBGImage,k=a.backgroundColor,l=a.plotBackgroundColor,F=a.plotBackgroundImage,n,r=this.plotLeft,K=this.plotTop,q=this.plotWidth,p=this.plotHeight,u=this.plotBox,v=this.clipRect,t=this.clipBox,w="animate";e||(this.chartBackground=e=c.rect().addClass("highcharts-background").add(),w="attr");if(f)var y=n=e.strokeWidth();else{y=a.borderWidth||0;n=y+(a.shadow?8:0);k={fill:k||"none"};if(y||e["stroke-width"])k.stroke=a.borderColor,k["stroke-width"]=
+y;e.attr(k).shadow(a.shadow)}e[w]({x:n/2,y:n/2,width:d-n-y%2,height:b-n-y%2,r:a.borderRadius});w="animate";h||(w="attr",this.plotBackground=h=c.rect().addClass("highcharts-plot-background").add());h[w](u);f||(h.attr({fill:l||"none"}).shadow(a.plotShadow),F&&(m?(F!==m.attr("href")&&m.attr("href",F),m.animate(u)):this.plotBGImage=c.image(F,r,K,q,p).add()));v?v.animate({width:t.width,height:t.height}):this.clipRect=c.clipRect(t);w="animate";g||(w="attr",this.plotBorder=g=c.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());
+f||g.attr({stroke:a.plotBorderColor,"stroke-width":a.plotBorderWidth||0,fill:"none"});g[w](g.crisp({x:r,y:K,width:q,height:p},-g.strokeWidth()));this.isDirtyBox=!1;M(this,"afterDrawChartBox")};e.prototype.propFromSeries=function(){var a=this,d=a.options.chart,b,e=a.options.series,h,g;["inverted","angular","polar"].forEach(function(f){b=c[d.type||d.defaultSeriesType];g=d[f]||b&&b.prototype[f];for(h=e&&e.length;!g&&h--;)(b=c[e[h].type])&&b.prototype[f]&&(g=!0);a[f]=g})};e.prototype.linkSeries=function(){var a=
+this,c=a.series;c.forEach(function(a){a.linkedSeries.length=0});c.forEach(function(c){var d=c.options.linkedTo;F(d)&&(d=":previous"===d?a.series[c.index-1]:a.get(d))&&d.linkedParent!==c&&(d.linkedSeries.push(c),c.linkedParent=d,d.enabledDataSorting&&c.setDataSortingOptions(),c.visible=T(c.options.visible,d.options.visible,c.visible))});M(this,"afterLinkSeries")};e.prototype.renderSeries=function(){this.series.forEach(function(a){a.translate();a.render()})};e.prototype.renderLabels=function(){var a=
+this,c=a.options.labels;c.items&&c.items.forEach(function(d){var b=V(c.style,d.style),e=X(b.left)+a.plotLeft,h=X(b.top)+a.plotTop+12;delete b.left;delete b.top;a.renderer.text(d.html,e,h).attr({zIndex:2}).css(b).add()})};e.prototype.render=function(){var a=this.axes,c=this.colorAxis,d=this.renderer,b=this.options,e=0,h=function(a){a.forEach(function(a){a.visible&&a.render()})};this.setTitle();this.legend=new H(this,b.legend);this.getStacks&&this.getStacks();this.getMargins(!0);this.setChartSize();
+b=this.plotWidth;a.some(function(a){if(a.horiz&&a.visible&&a.options.labels.enabled&&a.series.length)return e=21,!0});var g=this.plotHeight=Math.max(this.plotHeight-e,0);a.forEach(function(a){a.setScale()});this.getAxisMargins();var f=1.1<b/this.plotWidth;var m=1.05<g/this.plotHeight;if(f||m)a.forEach(function(a){(a.horiz&&f||!a.horiz&&m)&&a.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries?h(a):c&&c.length&&h(c);this.seriesGroup||(this.seriesGroup=d.g("series-group").attr({zIndex:3}).add());
+this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0};e.prototype.addCredits=function(a){var c=this,d=S(!0,this.options.credits,a);d.enabled&&!this.credits&&(this.credits=this.renderer.text(d.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){d.href&&(J.location.href=d.href)}).attr({align:d.position.align,zIndex:8}),c.styledMode||this.credits.css(d.style),this.credits.add().align(d.position),this.credits.update=
+function(a){c.credits=c.credits.destroy();c.addCredits(a)})};e.prototype.destroy=function(){var a=this,c=a.axes,d=a.series,b=a.container,e,h=b&&b.parentNode;M(a,"destroy");a.renderer.forExport?P(u,a):u[a.index]=void 0;z.chartCount--;a.renderTo.removeAttribute("data-highcharts-chart");fa(a);for(e=c.length;e--;)c[e]=c[e].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(e=d.length;e--;)d[e]=d[e].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(c){var d=
+a[c];d&&d.destroy&&(a[c]=d.destroy())});b&&(b.innerHTML="",fa(b),h&&L(b));K(a,function(c,d){delete a[d]})};e.prototype.firstRender=function(){var a=this,c=a.options;if(!a.isReadyToRender||a.isReadyToRender()){a.getContainer();a.resetMargins();a.setChartSize();a.propFromSeries();a.getAxes();(p(c.series)?c.series:[]).forEach(function(c){a.initSeries(c)});a.linkSeries();a.setSeriesData();M(a,"beforeRender");x&&(a.pointer=z.hasTouch||!J.PointerEvent&&!J.MSPointerEvent?new x(a,c):new G(a,c));a.render();
+a.pointer.getChartPosition();if(!a.renderer.imgCount&&!a.hasLoaded)a.onload();a.temporaryDisplay(!0)}};e.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(a){a&&"undefined"!==typeof this.index&&a.apply(this,[this])},this);M(this,"load");M(this,"render");y(this.index)&&this.setReflow(this.options.chart.reflow);this.hasLoaded=!0};e.prototype.addSeries=function(a,c,d){var b,e=this;a&&(c=T(c,!0),M(e,"addSeries",{options:a},function(){b=e.initSeries(a);e.isDirtyLegend=
+!0;e.linkSeries();b.enabledDataSorting&&b.setData(a.data,!1);M(e,"afterAddSeries",{series:b});c&&e.redraw(d)}));return b};e.prototype.addAxis=function(a,c,d,b){return this.createAxis(c?"xAxis":"yAxis",{axis:a,redraw:d,animation:b})};e.prototype.addColorAxis=function(a,c,d){return this.createAxis("colorAxis",{axis:a,redraw:c,animation:d})};e.prototype.createAxis=function(a,c){var d="colorAxis"===a,e=c.redraw,h=c.animation;a=S(c.axis,{index:this[a].length,isX:"xAxis"===a});a=d?new z.ColorAxis(this,
+a):new b(this,a);d&&(this.isDirtyLegend=!0,this.axes.forEach(function(a){a.series=[]}),this.series.forEach(function(a){a.bindAxes();a.isDirtyData=!0}));T(e,!0)&&this.redraw(h);return a};e.prototype.showLoading=function(a){var c=this,b=c.options,e=c.loadingDiv,h=c.loadingSpan,f=b.loading,m=function(){e&&A(e,{left:c.plotLeft+"px",top:c.plotTop+"px",width:c.plotWidth+"px",height:c.plotHeight+"px"})};e||(c.loadingDiv=e=r("div",{className:"highcharts-loading highcharts-loading-hidden"},null,c.container));
+h||(c.loadingSpan=h=r("span",{className:"highcharts-loading-inner"},null,e),g(c,"redraw",m));e.className="highcharts-loading";d.setElementHTML(h,T(a,b.lang.loading,""));c.styledMode||(A(e,V(f.style,{zIndex:10})),A(h,f.labelStyle),c.loadingShown||(A(e,{opacity:0,display:""}),q(e,{opacity:f.style.opacity||.5},{duration:f.showDuration||0})));c.loadingShown=!0;m()};e.prototype.hideLoading=function(){var a=this.options,c=this.loadingDiv;c&&(c.className="highcharts-loading highcharts-loading-hidden",this.styledMode||
+q(c,{opacity:0},{duration:a.loading.hideDuration||100,complete:function(){A(c,{display:"none"})}}));this.loadingShown=!1};e.prototype.update=function(a,c,d,b){var e=this,g={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},f,k,l,n=a.isResponsiveOptions,r=[];M(e,"update",{options:a});n||e.setResponsive(!1,!0);a=h(a,e.options);e.userOptions=S(e.userOptions,a);if(f=a.chart){S(!0,e.options.chart,f);"className"in f&&e.setClassName(f.className);"reflow"in f&&e.setReflow(f.reflow);
+if("inverted"in f||"polar"in f||"type"in f){e.propFromSeries();var q=!0}"alignTicks"in f&&(q=!0);K(f,function(a,c){-1!==e.propsRequireUpdateSeries.indexOf("chart."+c)&&(k=!0);-1!==e.propsRequireDirtyBox.indexOf(c)&&(e.isDirtyBox=!0);-1!==e.propsRequireReflow.indexOf(c)&&(n?e.isDirtyBox=!0:l=!0)});!e.styledMode&&"style"in f&&e.renderer.setStyle(f.style)}!e.styledMode&&a.colors&&(this.options.colors=a.colors);a.time&&(this.time===m&&(this.time=new v(a.time)),S(!0,e.options.time,a.time));K(a,function(c,
+d){if(e[d]&&"function"===typeof e[d].update)e[d].update(c,!1);else if("function"===typeof e[g[d]])e[g[d]](c);else"colors"!==d&&-1===e.collectionsWithUpdate.indexOf(d)&&S(!0,e.options[d],a[d]);"chart"!==d&&-1!==e.propsRequireUpdateSeries.indexOf(d)&&(k=!0)});this.collectionsWithUpdate.forEach(function(c){if(a[c]){var b=[];e[c].forEach(function(a,c){a.options.isInternal||b.push(T(a.options.index,c))});Y(a[c]).forEach(function(a,h){var g=y(a.id),f;g&&(f=e.get(a.id));!f&&e[c]&&(f=e[c][b?b[h]:h])&&g&&
+y(f.options.id)&&(f=void 0);f&&f.coll===c&&(f.update(a,!1),d&&(f.touched=!0));!f&&d&&e.collectionsWithInit[c]&&(e.collectionsWithInit[c][0].apply(e,[a].concat(e.collectionsWithInit[c][1]||[]).concat([!1])).touched=!0)});d&&e[c].forEach(function(a){a.touched||a.options.isInternal?delete a.touched:r.push(a)})}});r.forEach(function(a){a.chart&&a.remove(!1)});q&&e.axes.forEach(function(a){a.update({},!1)});k&&e.getSeriesOrderByLinks().forEach(function(a){a.chart&&a.update({},!1)},this);q=f&&f.width;f=
+f&&f.height;F(f)&&(f=U(f,q||e.chartWidth));l||Z(q)&&q!==e.chartWidth||Z(f)&&f!==e.chartHeight?e.setSize(q,f,b):T(c,!0)&&e.redraw(b);M(e,"afterUpdate",{options:a,redraw:c,animation:b})};e.prototype.setSubtitle=function(a,c){this.applyDescription("subtitle",a);this.layOutTitles(c)};e.prototype.setCaption=function(a,c){this.applyDescription("caption",a);this.layOutTitles(c)};e.prototype.showResetZoom=function(){function a(){c.zoomOut()}var c=this,d=E.lang,b=c.options.chart.resetZoomButton,e=b.theme,
+h=e.states,g="chart"===b.relativeTo||"spacingBox"===b.relativeTo?null:"scrollablePlotBox";M(this,"beforeShowResetZoom",null,function(){c.resetZoomButton=c.renderer.button(d.resetZoom,null,null,a,e,h&&h.hover).attr({align:b.position.align,title:d.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(b.position,!1,g)});M(this,"afterShowResetZoom")};e.prototype.zoomOut=function(){M(this,"selection",{resetSelection:!0},this.zoom)};e.prototype.zoom=function(a){var c=this,d,b=c.pointer,e=!1,h=
+c.inverted?b.mouseDownX:b.mouseDownY;!a||a.resetSelection?(c.axes.forEach(function(a){d=a.zoom()}),b.initiated=!1):a.xAxis.concat(a.yAxis).forEach(function(a){var g=a.axis,f=c.inverted?g.left:g.top,m=c.inverted?f+g.width:f+g.height,k=g.isXAxis,l=!1;if(!k&&h>=f&&h<=m||k||!y(h))l=!0;b[k?"zoomX":"zoomY"]&&l&&(d=g.zoom(a.min,a.max),g.displayBtn&&(e=!0))});var g=c.resetZoomButton;e&&!g?c.showResetZoom():!e&&ea(g)&&(c.resetZoomButton=g.destroy());d&&c.redraw(T(c.options.chart.animation,a&&a.animation,100>
+c.pointCount))};e.prototype.pan=function(a,c){var d=this,b=d.hoverPoints,e=d.options.chart,h=d.options.mapNavigation&&d.options.mapNavigation.enabled,g;c="object"===typeof c?c:{enabled:c,type:"x"};e&&e.panning&&(e.panning=c);var f=c.type;M(this,"pan",{originalEvent:a},function(){b&&b.forEach(function(a){a.setState()});var c=[1];"xy"===f?c=[1,0]:"y"===f&&(c=[0]);c.forEach(function(c){var b=d[c?"xAxis":"yAxis"][0],e=b.horiz,m=a[e?"chartX":"chartY"];e=e?"mouseDownX":"mouseDownY";var k=d[e],l=(b.pointRange||
+0)/2,F=b.reversed&&!d.inverted||!b.reversed&&d.inverted?-1:1,n=b.getExtremes(),r=b.toValue(k-m,!0)+l*F;F=b.toValue(k+b.len-m,!0)-l*F;var K=F<r;k=K?F:r;r=K?r:F;F=b.hasVerticalPanning();var q=b.panningState;!F||c||q&&!q.isDirty||b.series.forEach(function(a){var c=a.getProcessedData(!0);c=a.getExtremes(c.yData,!0);q||(q={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});Z(c.dataMin)&&Z(c.dataMax)&&(q.startMin=Math.min(T(a.options.threshold,Infinity),c.dataMin,q.startMin),q.startMax=Math.max(T(a.options.threshold,
+-Infinity),c.dataMax,q.startMax))});c=Math.min(T(q&&q.startMin,n.dataMin),l?n.min:b.toValue(b.toPixels(n.min)-b.minPixelPadding));l=Math.max(T(q&&q.startMax,n.dataMax),l?n.max:b.toValue(b.toPixels(n.max)+b.minPixelPadding));b.panningState=q;b.isOrdinal||(F=c-k,0<F&&(r+=F,k=c),F=r-l,0<F&&(r=l,k-=F),b.series.length&&k!==n.min&&r!==n.max&&k>=c&&r<=l&&(b.setExtremes(k,r,!1,!1,{trigger:"pan"}),d.resetZoomButton||h||k===c||r===l||!f.match("y")||(d.showResetZoom(),b.displayBtn=!1),g=!0),d[e]=m)});g&&d.redraw(!1);
+A(d.container,{cursor:"move"})})};return e}();V(aa.prototype,{callbacks:[],collectionsWithInit:{xAxis:[aa.prototype.addAxis,[!0]],yAxis:[aa.prototype.addAxis,[!1]],series:[aa.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),
+propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});z.chart=function(a,c,d){return new aa(a,c,d)};z.Chart=aa;"";return aa});O(e,"Mixins/LegendSymbol.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,b){var D=b.merge,z=b.pick;return e.LegendSymbolMixin={drawRectangle:function(b,e){var D=b.symbolHeight,B=b.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(B?(b.symbolWidth-D)/2:0,b.baseline-D+1,B?
+D:b.symbolWidth,D,z(b.options.symbolRadius,D/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(b){var e=this.options,C=e.marker,B=b.symbolWidth,x=b.symbolHeight,w=x/2,v=this.chart.renderer,f=this.legendGroup;b=b.baseline-Math.round(.3*b.fontMetrics.b);var d={};this.chart.styledMode||(d={"stroke-width":e.lineWidth||0},e.dashStyle&&(d.dashstyle=e.dashStyle));this.legendLine=v.path([["M",0,b],["L",B,b]]).addClass("highcharts-graph").attr(d).add(f);C&&!1!==
+C.enabled&&B&&(e=Math.min(z(C.radius,w),w),0===this.symbol.indexOf("url")&&(C=D(C,{width:x,height:x}),e=0),this.legendSymbol=C=v.symbol(this.symbol,B/2-e,b-e,2*e,2*e,C).addClass("highcharts-point").add(f),C.isMarker=!0)}}});O(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Options.js"],e["Core/Color/Palette.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],
+function(e,b,I,z,H,G,C,B,x){var w=e.animObject,v=e.setAnimation,f=b.hasTouch,d=b.svg,q=b.win,k=z.defaultOptions,l=C.seriesTypes,D=x.addEvent,u=x.arrayMax,n=x.arrayMin,J=x.clamp,E=x.cleanRecursively,m=x.correctFloat,c=x.defined,g=x.erase,a=x.error,h=x.extend,r=x.find,A=x.fireEvent,y=x.getNestedProperty,L=x.isArray,P=x.isFunction,R=x.isNumber,V=x.isString,Q=x.merge,M=x.objectEach,t=x.pick,p=x.removeEvent,O=x.splat,Z=x.syncTimeout;e=function(){function b(){this.zones=this.yAxis=this.xAxis=this.userOptions=
+this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}b.prototype.init=function(a,c){A(this,"init",{options:c});var d=this,b=a.series,e;this.eventOptions=this.eventOptions||{};this.eventsToUnbind=[];d.chart=a;d.options=d.setOptions(c);var g=d.options;d.linkedSeries=[];d.bindAxes();h(d,{name:g.name,state:"",visible:!1!==g.visible,selected:!0===g.selected});c=g.events;
+M(c,function(a,c){P(a)&&d.eventOptions[c]!==a&&(P(d.eventOptions[c])&&p(d,c,d.eventOptions[c]),d.eventOptions[c]=a,D(d,c,a))});if(c&&c.click||g.point&&g.point.events&&g.point.events.click||g.allowPointSelect)a.runTrackerClick=!0;d.getColor();d.getSymbol();d.parallelArrays.forEach(function(a){d[a+"Data"]||(d[a+"Data"]=[])});d.isCartesian&&(a.hasCartesianSeries=!0);b.length&&(e=b[b.length-1]);d._i=t(e&&e._i,-1)+1;d.opacity=d.options.opacity;a.orderSeries(this.insert(b));g.dataSorting&&g.dataSorting.enabled?
+d.setDataSortingOptions():d.points||d.data||d.setData(g.data,!1);A(this,"afterInit")};b.prototype.is=function(a){return l[a]&&this instanceof l[a]};b.prototype.insert=function(a){var c=this.options.index,d;if(R(c)){for(d=a.length;d--;)if(c>=t(a[d].options.index,a[d]._i)){a.splice(d+1,0,this);break}-1===d&&a.unshift(this);d+=1}else a.push(this);return t(d,a.length-1)};b.prototype.bindAxes=function(){var c=this,d=c.options,b=c.chart,e;A(this,"bindAxes",null,function(){(c.axisTypes||[]).forEach(function(h){var g=
+0;b[h].forEach(function(a){e=a.options;if(d[h]===g&&!e.isInternal||"undefined"!==typeof d[h]&&d[h]===e.id||"undefined"===typeof d[h]&&0===e.index)c.insert(a.series),c[h]=a,a.isDirty=!0;e.isInternal||g++});c[h]||c.optionalAxis===h||a(18,!0,b)})});A(this,"afterBindAxes")};b.prototype.updateParallelArrays=function(a,c){var d=a.series,b=arguments,e=R(c)?function(b){var e="y"===b&&d.toYData?d.toYData(a):a[b];d[b+"Data"][c]=e}:function(a){Array.prototype[c].apply(d[a+"Data"],Array.prototype.slice.call(b,
+2))};d.parallelArrays.forEach(e)};b.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length};b.prototype.autoIncrement=function(){var a=this.options,c=this.xIncrement,d,b=a.pointIntervalUnit,e=this.chart.time;c=t(c,a.pointStart,0);this.pointInterval=d=t(this.pointInterval,a.pointInterval,1);b&&(a=new e.Date(c),"day"===b?e.set("Date",a,e.get("Date",a)+d):"month"===b?e.set("Month",a,e.get("Month",
+a)+d):"year"===b&&e.set("FullYear",a,e.get("FullYear",a)+d),d=a.getTime()-c);this.xIncrement=c+d;return c};b.prototype.setDataSortingOptions=function(){var a=this.options;h(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});c(a.pointRange)||(a.pointRange=1)};b.prototype.setOptions=function(a){var d=this.chart,b=d.options,e=b.plotOptions,h=d.userOptions||{};a=Q(a);d=d.styledMode;var g={plotOptions:e,userOptions:a};A(this,"setOptions",g);var f=g.plotOptions[this.type],m=h.plotOptions||
+{};this.userOptions=g.userOptions;h=Q(f,e.series,h.plotOptions&&h.plotOptions[this.type],a);this.tooltipOptions=Q(k.tooltip,k.plotOptions.series&&k.plotOptions.series.tooltip,k.plotOptions[this.type].tooltip,b.tooltip.userOptions,e.series&&e.series.tooltip,e[this.type].tooltip,a.tooltip);this.stickyTracking=t(a.stickyTracking,m[this.type]&&m[this.type].stickyTracking,m.series&&m.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:h.stickyTracking);null===f.marker&&delete h.marker;
+this.zoneAxis=h.zoneAxis;b=this.zones=(h.zones||[]).slice();!h.negativeColor&&!h.negativeFillColor||h.zones||(e={value:h[this.zoneAxis+"Threshold"]||h.threshold||0,className:"highcharts-negative"},d||(e.color=h.negativeColor,e.fillColor=h.negativeFillColor),b.push(e));b.length&&c(b[b.length-1].value)&&b.push(d?{}:{color:this.color,fillColor:this.fillColor});A(this,"afterSetOptions",{options:h});return h};b.prototype.getName=function(){return t(this.options.name,"Series "+(this.index+1))};b.prototype.getCyclic=
+function(a,d,b){var e=this.chart,h=this.userOptions,g=a+"Index",f=a+"Counter",m=b?b.length:t(e.options.chart[a+"Count"],e[a+"Count"]);if(!d){var k=t(h[g],h["_"+g]);c(k)||(e.series.length||(e[f]=0),h["_"+g]=k=e[f]%m,e[f]+=1);b&&(d=b[k])}"undefined"!==typeof k&&(this[g]=k);this[a]=d};b.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color=H.neutralColor20:this.getCyclic("color",this.options.color||k.plotOptions[this.type].color,this.chart.options.colors)};
+b.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]};b.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};b.prototype.findPointIndex=function(a,c){var d=a.id,b=a.x,e=this.points,h,g=this.options.dataSorting;if(d)var f=this.chart.get(d);else if(this.linkedParent||this.enabledDataSorting){var m=g&&g.matchByName?"name":"index";f=r(e,function(c){return!c.touched&&c[m]===a[m]});if(!f)return}if(f){var k=
+f&&f.index;"undefined"!==typeof k&&(h=!0)}"undefined"===typeof k&&R(b)&&(k=this.xData.indexOf(b,c));-1!==k&&"undefined"!==typeof k&&this.cropped&&(k=k>=this.cropStart?k-this.cropStart:k);!h&&e[k]&&e[k].touched&&(k=void 0);return k};b.prototype.updateData=function(a,d){var b=this.options,e=b.dataSorting,h=this.points,g=[],f,k,m,l=this.requireSorting,n=a.length===h.length,r=!0;this.xIncrement=null;a.forEach(function(a,d){var k=c(a)&&this.pointClass.prototype.optionsToObject.call({series:this},a)||{};
+var r=k.x;if(k.id||R(r)){if(r=this.findPointIndex(k,m),-1===r||"undefined"===typeof r?g.push(a):h[r]&&a!==b.data[r]?(h[r].update(a,!1,null,!1),h[r].touched=!0,l&&(m=r+1)):h[r]&&(h[r].touched=!0),!n||d!==r||e&&e.enabled||this.hasDerivedData)f=!0}else g.push(a)},this);if(f)for(a=h.length;a--;)(k=h[a])&&!k.touched&&k.remove&&k.remove(!1,d);else!n||e&&e.enabled?r=!1:(a.forEach(function(a,c){h[c].update&&a!==h[c].y&&h[c].update(a,!1,null,!1)}),g.length=0);h.forEach(function(a){a&&(a.touched=!1)});if(!r)return!1;
+g.forEach(function(a){this.addPoint(a,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=u(this.xData),this.autoIncrement());return!0};b.prototype.setData=function(c,d,b,e){var h=this,g=h.points,f=g&&g.length||0,k,m=h.options,l=h.chart,r=m.dataSorting,n=null,q=h.xAxis;n=m.turboThreshold;var F=this.xData,p=this.yData,u=(k=h.pointArrayMap)&&k.length,v=m.keys,K=0,w=1,y;c=c||[];k=c.length;d=t(d,!0);r&&r.enabled&&(c=this.sortData(c));!1!==e&&k&&f&&!h.cropped&&
+!h.hasGroupedData&&h.visible&&!h.isSeriesBoosting&&(y=this.updateData(c,b));if(!y){h.xIncrement=null;h.colorCounter=0;this.parallelArrays.forEach(function(a){h[a+"Data"].length=0});if(n&&k>n)if(n=h.getFirstValidPoint(c),R(n))for(b=0;b<k;b++)F[b]=this.autoIncrement(),p[b]=c[b];else if(L(n))if(u)for(b=0;b<k;b++)e=c[b],F[b]=e[0],p[b]=e.slice(1,u+1);else for(v&&(K=v.indexOf("x"),w=v.indexOf("y"),K=0<=K?K:0,w=0<=w?w:1),b=0;b<k;b++)e=c[b],F[b]=e[K],p[b]=e[w];else a(12,!1,l);else for(b=0;b<k;b++)"undefined"!==
+typeof c[b]&&(e={series:h},h.pointClass.prototype.applyOptions.apply(e,[c[b]]),h.updateParallelArrays(e,b));p&&V(p[0])&&a(14,!0,l);h.data=[];h.options.data=h.userOptions.data=c;for(b=f;b--;)g[b]&&g[b].destroy&&g[b].destroy();q&&(q.minRange=q.userMinRange);h.isDirty=l.isDirtyBox=!0;h.isDirtyData=!!g;b=!1}"point"===m.legendType&&(this.processData(),this.generatePoints());d&&l.redraw(b)};b.prototype.sortData=function(a){var d=this,b=d.options.dataSorting.sortKey||"y",e=function(a,d){return c(d)&&a.pointClass.prototype.optionsToObject.call({series:a},
+d)||{}};a.forEach(function(c,b){a[b]=e(d,c);a[b].index=b},this);a.concat().sort(function(a,c){a=y(b,a);c=y(b,c);return c<a?-1:c>a?1:0}).forEach(function(a,c){a.x=c},this);d.linkedSeries&&d.linkedSeries.forEach(function(c){var d=c.options,b=d.data;d.dataSorting&&d.dataSorting.enabled||!b||(b.forEach(function(d,h){b[h]=e(c,d);a[h]&&(b[h].x=a[h].x,b[h].index=h)}),c.setData(b,!1))});return a};b.prototype.getProcessedData=function(c){var d=this.xData,b=this.yData,e=d.length;var h=0;var g=this.xAxis,f=
+this.options;var k=f.cropThreshold;var m=c||this.getExtremesFromAll||f.getExtremesFromAll,l=this.isCartesian;c=g&&g.val2lin;f=!(!g||!g.logarithmic);var n=this.requireSorting;if(g){g=g.getExtremes();var r=g.min;var q=g.max}if(l&&this.sorted&&!m&&(!k||e>k||this.forceCrop))if(d[e-1]<r||d[0]>q)d=[],b=[];else if(this.yData&&(d[0]<r||d[e-1]>q)){h=this.cropData(this.xData,this.yData,r,q);d=h.xData;b=h.yData;h=h.start;var F=!0}for(k=d.length||1;--k;)if(e=f?c(d[k])-c(d[k-1]):d[k]-d[k-1],0<e&&("undefined"===
+typeof p||e<p))var p=e;else 0>e&&n&&(a(15,!1,this.chart),n=!1);return{xData:d,yData:b,cropped:F,cropStart:h,closestPointRange:p}};b.prototype.processData=function(a){var c=this.xAxis;if(this.isCartesian&&!this.isDirty&&!c.isDirty&&!this.yAxis.isDirty&&!a)return!1;a=this.getProcessedData();this.cropped=a.cropped;this.cropStart=a.cropStart;this.processedXData=a.xData;this.processedYData=a.yData;this.closestPointRange=this.basePointRange=a.closestPointRange};b.prototype.cropData=function(a,c,d,b,e){var h=
+a.length,g=0,f=h,k;e=t(e,this.cropShoulder);for(k=0;k<h;k++)if(a[k]>=d){g=Math.max(0,k-e);break}for(d=k;d<h;d++)if(a[d]>b){f=d+e;break}return{xData:a.slice(g,f),yData:c.slice(g,f),start:g,end:f}};b.prototype.generatePoints=function(){var a=this.options,c=a.data,d=this.data,b,e=this.processedXData,g=this.processedYData,f=this.pointClass,k=e.length,m=this.cropStart||0,l=this.hasGroupedData,n=a.keys,r=[],q;a=a.dataGrouping&&a.dataGrouping.groupAll?m:0;d||l||(d=[],d.length=c.length,d=this.data=d);n&&
+l&&(this.options.keys=!1);for(q=0;q<k;q++){var p=m+q;if(l){var u=(new f).init(this,[e[q]].concat(O(g[q])));u.dataGroup=this.groupMap[a+q];u.dataGroup.options&&(u.options=u.dataGroup.options,h(u,u.dataGroup.options),delete u.dataLabels)}else(u=d[p])||"undefined"===typeof c[p]||(d[p]=u=(new f).init(this,c[p],e[q]));u&&(u.index=l?a+q:p,r[q]=u)}this.options.keys=n;if(d&&(k!==(b=d.length)||l))for(q=0;q<b;q++)q!==m||l||(q+=k),d[q]&&(d[q].destroyElements(),d[q].plotX=void 0);this.data=d;this.points=r;A(this,
+"afterGeneratePoints")};b.prototype.getXExtremes=function(a){return{min:n(a),max:u(a)}};b.prototype.getExtremes=function(a,c){var d=this.xAxis,b=this.yAxis,e=this.processedXData||this.xData,h=[],g=0,f=0;var k=0;var m=this.requireSorting?this.cropShoulder:0,l=b?b.positiveValuesOnly:!1,r;a=a||this.stackedYData||this.processedYData||[];b=a.length;d&&(k=d.getExtremes(),f=k.min,k=k.max);for(r=0;r<b;r++){var q=e[r];var p=a[r];var F=(R(p)||L(p))&&(p.length||0<p||!l);q=c||this.getExtremesFromAll||this.options.getExtremesFromAll||
+this.cropped||!d||(e[r+m]||q)>=f&&(e[r-m]||q)<=k;if(F&&q)if(F=p.length)for(;F--;)R(p[F])&&(h[g++]=p[F]);else h[g++]=p}a={dataMin:n(h),dataMax:u(h)};A(this,"afterGetExtremes",{dataExtremes:a});return a};b.prototype.applyExtremes=function(){var a=this.getExtremes();this.dataMin=a.dataMin;this.dataMax=a.dataMax;return a};b.prototype.getFirstValidPoint=function(a){for(var c=null,d=a.length,b=0;null===c&&b<d;)c=a[b],b++;return c};b.prototype.translate=function(){this.processedXData||this.processData();
+this.generatePoints();var a=this.options,d=a.stacking,b=this.xAxis,e=b.categories,h=this.enabledDataSorting,g=this.yAxis,f=this.points,k=f.length,l=!!this.modifyValue,r,n=this.pointPlacementToXValue(),q=!!n,p=a.threshold,u=a.startFromThreshold?p:0,v,w=this.zoneAxis||"y",y=Number.MAX_VALUE;for(r=0;r<k;r++){var E=f[r],x=E.x,D=E.y,B=E.low,P=d&&g.stacking&&g.stacking.stacks[(this.negStacks&&D<(u?0:p)?"-":"")+this.stackKey],N=void 0,C=void 0;if(g.positiveValuesOnly&&!g.validatePositiveValue(D)||b.positiveValuesOnly&&
+!b.validatePositiveValue(x))E.isNull=!0;E.plotX=v=m(J(b.translate(x,0,0,0,1,n,"flags"===this.type),-1E5,1E5));if(d&&this.visible&&P&&P[x]){var z=this.getStackIndicator(z,x,this.index);E.isNull||(N=P[x],C=N.points[z.key])}L(C)&&(B=C[0],D=C[1],B===u&&z.key===P[x].base&&(B=t(R(p)&&p,g.min)),g.positiveValuesOnly&&0>=B&&(B=null),E.total=E.stackTotal=N.total,E.percentage=N.total&&E.y/N.total*100,E.stackY=D,this.irregularWidths||N.setOffset(this.pointXOffset||0,this.barW||0));E.yBottom=c(B)?J(g.translate(B,
+0,1,0,1),-1E5,1E5):null;l&&(D=this.modifyValue(D,E));E.plotY=void 0;R(D)&&(D=g.translate(D,!1,!0,!1,!0),"undefined"!==typeof D&&(E.plotY=J(D,-1E5,1E5)));E.isInside=this.isPointInside(E);E.clientX=q?m(b.translate(x,0,0,0,1,n)):v;E.negative=E[w]<(a[w+"Threshold"]||p||0);E.category=e&&"undefined"!==typeof e[E.x]?e[E.x]:E.x;if(!E.isNull&&!1!==E.visible){"undefined"!==typeof M&&(y=Math.min(y,Math.abs(v-M)));var M=v}E.zone=this.zones.length&&E.getZone();!E.graphic&&this.group&&h&&(E.isNew=!0)}this.closestPointRangePx=
+y;A(this,"afterTranslate")};b.prototype.getValidPoints=function(a,c,d){var b=this.chart;return(a||this.points||[]).filter(function(a){return c&&!b.isInsidePlot(a.plotX,a.plotY,{inverted:b.inverted})?!1:!1!==a.visible&&(d||!a.isNull)})};b.prototype.getClipBox=function(a,c){var d=this.options,b=this.chart,e=b.inverted,h=this.xAxis,g=h&&this.yAxis,f=b.options.chart.scrollablePlotArea||{};a&&!1===d.clip&&g?a=e?{y:-b.chartWidth+g.len+g.pos,height:b.chartWidth,width:b.chartHeight,x:-b.chartHeight+h.len+
+h.pos}:{y:-g.pos,height:b.chartHeight,width:b.chartWidth,x:-h.pos}:(a=this.clipBox||b.clipBox,c&&(a.width=b.plotSizeX,a.x=(b.scrollablePixelsX||0)*(f.scrollPositionX||0)));return c?{width:a.width,x:a.x}:a};b.prototype.getSharedClipKey=function(a){if(this.sharedClipKey)return this.sharedClipKey;var c=[a&&a.duration,a&&a.easing,a&&a.defer,this.getClipBox(a).height,this.options.xAxis,this.options.yAxis].join();if(!1!==this.options.clip||a)this.sharedClipKey=c;return c};b.prototype.setClip=function(a){var c=
+this.chart,d=this.options,b=c.renderer,e=c.inverted,h=this.clipBox,g=this.getClipBox(a),f=this.getSharedClipKey(a),k=c.sharedClips[f],m=c.sharedClips[f+"m"];a&&(g.width=0,e&&(g.x=c.plotHeight+(!1!==d.clip?0:c.plotTop)));k?c.hasLoaded||k.attr(g):(a&&(c.sharedClips[f+"m"]=m=b.clipRect(e?(c.plotSizeX||0)+99:-99,e?-c.plotLeft:-c.plotTop,99,e?c.chartWidth:c.chartHeight)),c.sharedClips[f]=k=b.clipRect(g),k.count={length:0});a&&!k.count[this.index]&&(k.count[this.index]=!0,k.count.length+=1);if(!1!==d.clip||
+a)this.group.clip(a||h?k:c.clipRect),this.markerGroup.clip(m);a||(k.count[this.index]&&(delete k.count[this.index],--k.count.length),0===k.count.length&&(h||(c.sharedClips[f]=k.destroy()),m&&(c.sharedClips[f+"m"]=m.destroy())))};b.prototype.animate=function(a){var c=this.chart,d=w(this.options.animation),b=this.sharedClipKey;if(a)this.setClip(d);else if(b){a=c.sharedClips[b];b=c.sharedClips[b+"m"];var e=this.getClipBox(d,!0);a&&a.animate(e,d);b&&b.animate({width:e.width+99,x:e.x-(c.inverted?0:99)},
+d)}};b.prototype.afterAnimate=function(){this.setClip();A(this,"afterAnimate");this.finishedAnimating=!0};b.prototype.drawPoints=function(){var a=this.points,c=this.chart,d,b,e=this.options.marker,h=this[this.specialGroup]||this.markerGroup,g=this.xAxis,f=t(e.enabled,!g||g.isRadial?!0:null,this.closestPointRangePx>=e.enabledThreshold*e.radius);if(!1!==e.enabled||this._hasPointMarkers)for(d=0;d<a.length;d++){var k=a[d];var m=(b=k.graphic)?"animate":"attr";var l=k.marker||{};var r=!!k.marker;if((f&&
+"undefined"===typeof l.enabled||l.enabled)&&!k.isNull&&!1!==k.visible){var n=t(l.symbol,this.symbol);var q=this.markerAttribs(k,k.selected&&"select");this.enabledDataSorting&&(k.startXPos=g.reversed?-(q.width||0):g.width);var p=!1!==k.isInside;b?b[p?"show":"hide"](p).animate(q):p&&(0<(q.width||0)||k.hasImage)&&(k.graphic=b=c.renderer.symbol(n,q.x,q.y,q.width,q.height,r?l:e).add(h),this.enabledDataSorting&&c.hasRendered&&(b.attr({x:k.startXPos}),m="animate"));b&&"animate"===m&&b[p?"show":"hide"](p).animate(q);
+if(b&&!c.styledMode)b[m](this.pointAttribs(k,k.selected&&"select"));b&&b.addClass(k.getClassName(),!0)}else b&&(k.graphic=b.destroy())}};b.prototype.markerAttribs=function(a,c){var d=this.options,b=d.marker,e=a.marker||{},h=e.symbol||b.symbol,g=t(e.radius,b.radius);c&&(b=b.states[c],c=e.states&&e.states[c],g=t(c&&c.radius,b&&b.radius,g+(b&&b.radiusPlus||0)));a.hasImage=h&&0===h.indexOf("url");a.hasImage&&(g=0);a={x:d.crisp?Math.floor(a.plotX-g):a.plotX-g,y:a.plotY-g};g&&(a.width=a.height=2*g);return a};
+b.prototype.pointAttribs=function(a,c){var d=this.options.marker,b=a&&a.options,e=b&&b.marker||{},h=this.color,g=b&&b.color,f=a&&a.color;b=t(e.lineWidth,d.lineWidth);var k=a&&a.zone&&a.zone.color;a=1;h=g||k||f||h;g=e.fillColor||d.fillColor||h;h=e.lineColor||d.lineColor||h;c=c||"normal";d=d.states[c];c=e.states&&e.states[c]||{};b=t(c.lineWidth,d.lineWidth,b+t(c.lineWidthPlus,d.lineWidthPlus,0));g=c.fillColor||d.fillColor||g;h=c.lineColor||d.lineColor||h;a=t(c.opacity,d.opacity,a);return{stroke:h,"stroke-width":b,
+fill:g,opacity:a}};b.prototype.destroy=function(a){var c=this,d=c.chart,b=/AppleWebKit\/533/.test(q.navigator.userAgent),e,h,f=c.data||[],k,m;A(c,"destroy");this.removeEvents(a);(c.axisTypes||[]).forEach(function(a){(m=c[a])&&m.series&&(g(m.series,c),m.isDirty=m.forceRedraw=!0)});c.legendItem&&c.chart.legend.destroyItem(c);for(h=f.length;h--;)(k=f[h])&&k.destroy&&k.destroy();c.clips&&c.clips.forEach(function(a){return a.destroy()});x.clearTimeout(c.animationTimeout);M(c,function(a,c){a instanceof
+B&&!a.survive&&(e=b&&"group"===c?"hide":"destroy",a[e]())});d.hoverSeries===c&&(d.hoverSeries=void 0);g(d.series,c);d.orderSeries();M(c,function(d,b){a&&"hcEvents"===b||delete c[b]})};b.prototype.applyZones=function(){var a=this,c=this.chart,d=c.renderer,b=this.zones,e,h,g=this.clips||[],f,k=this.graph,m=this.area,l=Math.max(c.chartWidth,c.chartHeight),r=this[(this.zoneAxis||"y")+"Axis"],n=c.inverted,q,p,u,v=!1,w,y;if(b.length&&(k||m)&&r&&"undefined"!==typeof r.min){var E=r.reversed;var A=r.horiz;
+k&&!this.showLine&&k.hide();m&&m.hide();var x=r.getExtremes();b.forEach(function(b,F){e=E?A?c.plotWidth:0:A?0:r.toPixels(x.min)||0;e=J(t(h,e),0,l);h=J(Math.round(r.toPixels(t(b.value,x.max),!0)||0),0,l);v&&(e=h=r.toPixels(x.max));q=Math.abs(e-h);p=Math.min(e,h);u=Math.max(e,h);r.isXAxis?(f={x:n?u:p,y:0,width:q,height:l},A||(f.x=c.plotHeight-f.x)):(f={x:0,y:n?u:p,width:l,height:q},A&&(f.y=c.plotWidth-f.y));n&&d.isVML&&(f=r.isXAxis?{x:0,y:E?p:u,height:f.width,width:c.chartWidth}:{x:f.y-c.plotLeft-c.spacingBox.x,
+y:0,width:f.height,height:c.chartHeight});g[F]?g[F].animate(f):g[F]=d.clipRect(f);w=a["zone-area-"+F];y=a["zone-graph-"+F];k&&y&&y.clip(g[F]);m&&w&&w.clip(g[F]);v=b.value>x.max;a.resetZones&&0===h&&(h=void 0)});this.clips=g}else a.visible&&(k&&k.show(!0),m&&m.show(!0))};b.prototype.invertGroups=function(a){function c(){["group","markerGroup"].forEach(function(c){d[c]&&(b.renderer.isVML&&d[c].attr({width:d.yAxis.len,height:d.xAxis.len}),d[c].width=d.yAxis.len,d[c].height=d.xAxis.len,d[c].invert(d.isRadialSeries?
+!1:a))})}var d=this,b=d.chart;d.xAxis&&(d.eventsToUnbind.push(D(b,"resize",c)),c(),d.invertGroups=c)};b.prototype.plotGroup=function(a,d,b,e,h){var g=this[a],f=!g;b={visibility:b,zIndex:e||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(b.opacity=this.opacity);f&&(this[a]=g=this.chart.renderer.g().add(h));g.addClass("highcharts-"+d+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(c(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":
+"")+(this.options.className||"")+(g.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0);g.attr(b)[f?"attr":"animate"](this.getPlotBox());return g};b.prototype.getPlotBox=function(){var a=this.chart,c=this.xAxis,d=this.yAxis;a.inverted&&(c=d,d=this.xAxis);return{translateX:c?c.left:a.plotLeft,translateY:d?d.top:a.plotTop,scaleX:1,scaleY:1}};b.prototype.removeEvents=function(a){a||p(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind.length=
+0)};b.prototype.render=function(){var a=this,c=a.chart,d=a.options,b=w(d.animation),e=!a.finishedAnimating&&c.renderer.isSVG&&b.duration,h=a.visible?"inherit":"hidden",g=d.zIndex,f=a.hasRendered,k=c.seriesGroup,m=c.inverted;A(this,"render");var l=a.plotGroup("group","series",h,g,k);a.markerGroup=a.plotGroup("markerGroup","markers",h,g,k);e&&a.animate&&a.animate(!0);l.inverted=t(a.invertible,a.isCartesian)?m:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.visible&&a.drawPoints();a.drawDataLabels&&
+a.drawDataLabels();a.redrawPoints&&a.redrawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(m);!1===d.clip||a.sharedClipKey||f||l.clip(c.clipRect);e&&a.animate&&a.animate();f||(e&&b.defer&&(e+=b.defer),a.animationTimeout=Z(function(){a.afterAnimate()},e||0));a.isDirty=!1;a.hasRendered=!0;A(a,"afterRender")};b.prototype.redraw=function(){var a=this.chart,c=this.isDirty||this.isDirtyData,d=this.group,b=this.xAxis,e=this.yAxis;d&&(a.inverted&&d.attr({width:a.plotWidth,
+height:a.plotHeight}),d.animate({translateX:t(b&&b.left,a.plotLeft),translateY:t(e&&e.top,a.plotTop)}));this.translate();this.render();c&&delete this.kdTree};b.prototype.searchPoint=function(a,c){var d=this.xAxis,b=this.yAxis,e=this.chart.inverted;return this.searchKDTree({clientX:e?d.len-a.chartY+d.pos:a.chartX-d.pos,plotY:e?b.len-a.chartX+b.pos:a.chartY-b.pos},c,a)};b.prototype.buildKDTree=function(a){function c(a,b,e){var h;if(h=a&&a.length){var g=d.kdAxisArray[b%e];a.sort(function(a,c){return a[g]-
+c[g]});h=Math.floor(h/2);return{point:a[h],left:c(a.slice(0,h),b+1,e),right:c(a.slice(h+1),b+1,e)}}}this.buildingKdTree=!0;var d=this,b=-1<d.options.findNearestPointBy.indexOf("y")?2:1;delete d.kdTree;Z(function(){d.kdTree=c(d.getValidPoints(null,!d.directTouch),b,b);d.buildingKdTree=!1},d.options.kdNow||a&&"touchstart"===a.type?0:1)};b.prototype.searchKDTree=function(a,d,b){function e(a,d,b,m){var l=d.point,r=h.kdAxisArray[b%m],n=l;var q=c(a[g])&&c(l[g])?Math.pow(a[g]-l[g],2):null;var p=c(a[f])&&
+c(l[f])?Math.pow(a[f]-l[f],2):null;p=(q||0)+(p||0);l.dist=c(p)?Math.sqrt(p):Number.MAX_VALUE;l.distX=c(q)?Math.sqrt(q):Number.MAX_VALUE;r=a[r]-l[r];p=0>r?"left":"right";q=0>r?"right":"left";d[p]&&(p=e(a,d[p],b+1,m),n=p[k]<n[k]?p:l);d[q]&&Math.sqrt(r*r)<n[k]&&(a=e(a,d[q],b+1,m),n=a[k]<n[k]?a:n);return n}var h=this,g=this.kdAxisArray[0],f=this.kdAxisArray[1],k=d?"distX":"dist";d=-1<h.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(b);if(this.kdTree)return e(a,
+this.kdTree,d,d)};b.prototype.pointPlacementToXValue=function(){var a=this.options,c=a.pointRange,d=this.xAxis;a=a.pointPlacement;"between"===a&&(a=d.reversed?-.5:.5);return R(a)?a*(c||d.pointRange):0};b.prototype.isPointInside=function(a){return"undefined"!==typeof a.plotY&&"undefined"!==typeof a.plotX&&0<=a.plotY&&a.plotY<=this.yAxis.len&&0<=a.plotX&&a.plotX<=this.xAxis.len};b.prototype.drawTracker=function(){var a=this,c=a.options,b=c.trackByArea,e=[].concat(b?a.areaPath:a.graphPath),h=a.chart,
+g=h.pointer,k=h.renderer,m=h.options.tooltip.snap,l=a.tracker,r=function(c){if(h.hoverSeries!==a)a.onMouseOver()},n="rgba(192,192,192,"+(d?.0001:.002)+")";l?l.attr({d:e}):a.graph&&(a.tracker=k.path(e).attr({visibility:a.visible?"visible":"hidden",zIndex:2}).addClass(b?"highcharts-tracker-area":"highcharts-tracker-line").add(a.group),h.styledMode||a.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:n,fill:b?n:"none","stroke-width":a.graph.strokeWidth()+(b?0:2*m)}),[a.tracker,
+a.markerGroup,a.dataLabelsGroup].forEach(function(a){if(a&&(a.addClass("highcharts-tracker").on("mouseover",r).on("mouseout",function(a){g.onTrackerMouseOut(a)}),c.cursor&&!h.styledMode&&a.css({cursor:c.cursor}),f))a.on("touchstart",r)}));A(this,"afterDrawTracker")};b.prototype.addPoint=function(a,c,d,b,e){var h=this.options,g=this.data,f=this.chart,k=this.xAxis;k=k&&k.hasNames&&k.names;var m=h.data,l=this.xData,r;c=t(c,!0);var n={series:this};this.pointClass.prototype.applyOptions.apply(n,[a]);var q=
+n.x;var p=l.length;if(this.requireSorting&&q<l[p-1])for(r=!0;p&&l[p-1]>q;)p--;this.updateParallelArrays(n,"splice",p,0,0);this.updateParallelArrays(n,p);k&&n.name&&(k[q]=n.name);m.splice(p,0,a);r&&(this.data.splice(p,0,null),this.processData());"point"===h.legendType&&this.generatePoints();d&&(g[0]&&g[0].remove?g[0].remove(!1):(g.shift(),this.updateParallelArrays(n,"shift"),m.shift()));!1!==e&&A(this,"addPoint",{point:n});this.isDirtyData=this.isDirty=!0;c&&f.redraw(b)};b.prototype.removePoint=function(a,
+c,d){var b=this,e=b.data,h=e[a],g=b.points,f=b.chart,k=function(){g&&g.length===e.length&&g.splice(a,1);e.splice(a,1);b.options.data.splice(a,1);b.updateParallelArrays(h||{series:b},"splice",a,1);h&&h.destroy();b.isDirty=!0;b.isDirtyData=!0;c&&f.redraw()};v(d,f);c=t(c,!0);h?h.firePointEvent("remove",null,k):k()};b.prototype.remove=function(a,c,d,b){function e(){h.destroy(b);g.isDirtyLegend=g.isDirtyBox=!0;g.linkSeries();t(a,!0)&&g.redraw(c)}var h=this,g=h.chart;!1!==d?A(h,"remove",null,e):e()};b.prototype.update=
+function(c,d){c=E(c,this.userOptions);A(this,"update",{options:c});var b=this,e=b.chart,g=b.userOptions,f=b.initialType||b.type,k=e.options.plotOptions,m=c.type||g.type||e.options.chart.type,r=!(this.hasDerivedData||m&&m!==this.type||"undefined"!==typeof c.pointStart||"undefined"!==typeof c.pointInterval||b.hasOptionChanged("dataGrouping")||b.hasOptionChanged("pointStart")||b.hasOptionChanged("pointInterval")||b.hasOptionChanged("pointIntervalUnit")||b.hasOptionChanged("keys")),n=l[f].prototype,q,
+p=["eventOptions","navigatorSeries","baseSeries"],u=b.finishedAnimating&&{animation:!1},v={};m=m||f;r&&(p.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==c.visible&&p.push("area","graph"),b.parallelArrays.forEach(function(a){p.push(a+"Data")}),c.data&&(c.dataSorting&&h(b.options.dataSorting,c.dataSorting),this.setData(c.data,!1)));c=Q(g,u,{index:"undefined"===
+typeof g.index?b.index:g.index,pointStart:t(k&&k.series&&k.series.pointStart,g.pointStart,b.xData[0])},!r&&{data:b.options.data},c);r&&c.data&&(c.data=b.options.data);p=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(p);p.forEach(function(a){p[a]=b[a];delete b[a]});g=!1;if(l[m]){if(g=m!==b.type,b.remove(!1,!1,!1,!0),g)if(Object.setPrototypeOf)Object.setPrototypeOf(b,l[m].prototype);else{k=Object.hasOwnProperty.call(b,"hcEvents")&&b.hcEvents;for(q in n)b[q]=void 0;h(b,l[m].prototype);
+k?b.hcEvents=k:delete b.hcEvents}}else a(17,!0,e,{missingModuleFor:m});p.forEach(function(a){b[a]=p[a]});b.init(e,c);if(r&&this.points){var w=b.options;!1===w.visible?(v.graphic=1,v.dataLabel=1):b._hasPointLabels||(c=w.marker,m=w.dataLabels,c&&(!1===c.enabled||"symbol"in c)&&(v.graphic=1),m&&!1===m.enabled&&(v.dataLabel=1));this.points.forEach(function(a){a&&a.series&&(a.resolveColor(),Object.keys(v).length&&a.destroyElements(v),!1===w.showInLegend&&a.legendItem&&e.legend.destroyItem(a))},this)}b.initialType=
+f;e.linkSeries();g&&b.linkedSeries.length&&(b.isDirtyData=!0);A(this,"afterUpdate");t(d,!0)&&e.redraw(r?void 0:!1)};b.prototype.setName=function(a){this.name=this.options.name=this.userOptions.name=a;this.chart.isDirtyLegend=!0};b.prototype.hasOptionChanged=function(a){var c=this.options[a],d=this.chart.options.plotOptions,b=this.userOptions[a];return b?c!==b:c!==t(d&&d[this.type]&&d[this.type][a],d&&d.series&&d.series[a],c)};b.prototype.onMouseOver=function(){var a=this.chart,c=a.hoverSeries;a.pointer.setHoverChartIndex();
+if(c&&c!==this)c.onMouseOut();this.options.events.mouseOver&&A(this,"mouseOver");this.setState("hover");a.hoverSeries=this};b.prototype.onMouseOut=function(){var a=this.options,c=this.chart,d=c.tooltip,b=c.hoverPoint;c.hoverSeries=null;if(b)b.onMouseOut();this&&a.events.mouseOut&&A(this,"mouseOut");!d||this.stickyTracking||d.shared&&!this.noSharedTooltip||d.hide();c.series.forEach(function(a){a.setState("",!0)})};b.prototype.setState=function(a,c){var d=this,b=d.options,e=d.graph,h=b.inactiveOtherPoints,
+g=b.states,f=b.lineWidth,k=b.opacity,m=t(g[a||"normal"]&&g[a||"normal"].animation,d.chart.options.chart.animation);b=0;a=a||"";if(d.state!==a&&([d.group,d.markerGroup,d.dataLabelsGroup].forEach(function(c){c&&(d.state&&c.removeClass("highcharts-series-"+d.state),a&&c.addClass("highcharts-series-"+a))}),d.state=a,!d.chart.styledMode)){if(g[a]&&!1===g[a].enabled)return;a&&(f=g[a].lineWidth||f+(g[a].lineWidthPlus||0),k=t(g[a].opacity,k));if(e&&!e.dashstyle)for(g={"stroke-width":f},e.animate(g,m);d["zone-graph-"+
+b];)d["zone-graph-"+b].animate(g,m),b+=1;h||[d.group,d.markerGroup,d.dataLabelsGroup,d.labelBySeries].forEach(function(a){a&&a.animate({opacity:k},m)})}c&&h&&d.points&&d.setAllPointsToState(a||void 0)};b.prototype.setAllPointsToState=function(a){this.points.forEach(function(c){c.setState&&c.setState(a)})};b.prototype.setVisible=function(a,c){var d=this,b=d.chart,e=d.legendItem,h=b.options.chart.ignoreHiddenSeries,g=d.visible;var f=(d.visible=a=d.options.visible=d.userOptions.visible="undefined"===
+typeof a?!g:a)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(a){if(d[a])d[a][f]()});if(b.hoverSeries===d||(b.hoverPoint&&b.hoverPoint.series)===d)d.onMouseOut();e&&b.legend.colorizeItem(d,a);d.isDirty=!0;d.options.stacking&&b.series.forEach(function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});d.linkedSeries.forEach(function(c){c.setVisible(a,!1)});h&&(b.isDirtyBox=!0);A(d,f);!1!==c&&b.redraw()};b.prototype.show=function(){this.setVisible(!0)};b.prototype.hide=
+function(){this.setVisible(!1)};b.prototype.select=function(a){this.selected=a=this.options.selected="undefined"===typeof a?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);A(this,a?"select":"unselect")};b.prototype.shouldShowTooltip=function(a,c,d){void 0===d&&(d={});d.series=this;d.visiblePlotOnly=!0;return this.chart.isInsidePlot(a,c,d)};b.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:H.backgroundColor,
+lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:H.neutralColor20,lineColor:H.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var a=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":a(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},
+cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"};return b}();h(e.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:I.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],
+parallelArrays:["x","y"],pointClass:G,requireSorting:!0,sorted:!0});C.series=e;"";"";return e});O(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Series/Series.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,b,I,z,H,G){var D=e.stop,B=G.addEvent,x=G.createElement,w=G.merge,v=G.pick;"";B(I,"afterSetChartSize",function(b){var d=this.options.chart.scrollablePlotArea,e=d&&d.minWidth;d=d&&d.minHeight;if(!this.renderer.forExport){if(e){if(this.scrollablePixelsX=
+e=Math.max(0,e-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=w(this.plotBox);this.plotBox.width=this.plotWidth+=e;this.inverted?this.clipBox.height+=e:this.clipBox.width+=e;var f={1:{name:"right",value:e}}}}else d&&(this.scrollablePixelsY=e=Math.max(0,d-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=w(this.plotBox),this.plotBox.height=this.plotHeight+=e,this.inverted?this.clipBox.width+=e:this.clipBox.height+=e,f={2:{name:"bottom",value:e}});
+f&&!b.skipAxes&&this.axes.forEach(function(d){f[d.side]?d.getPlotLinePath=function(){var b=f[d.side].name,e=this[b];this[b]=e-f[d.side].value;var k=H.Axis.prototype.getPlotLinePath.apply(this,arguments);this[b]=e;return k}:(d.setAxisSize(),d.setAxisTranslation())})}});B(I,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});I.prototype.setUpScrolling=function(){var b=this,d={WebkitOverflowScrolling:"touch",
+overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(d.overflowX="auto");this.scrollablePixelsY&&(d.overflowY="auto");this.scrollingParent=x("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=x("div",{className:"highcharts-scrolling"},d,this.scrollingParent);B(this.scrollingContainer,"scroll",function(){b.pointer&&delete b.pointer.chartPosition});this.innerContainer=x("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);
+this.innerContainer.appendChild(this.container);this.setUpScrolling=null};I.prototype.moveFixedElements=function(){var b=this.container,d=this.fixedRenderer,e=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),k;this.scrollablePixelsX&&
+!this.inverted?k=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?k=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?k=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(k=".highcharts-yaxis");k&&e.push(k+":not(.highcharts-radial-axis)",k+"-labels:not(.highcharts-radial-axis-labels)");e.forEach(function(e){[].forEach.call(b.querySelectorAll(e),function(b){(b.namespaceURI===d.SVG_NS?d.box:d.box.parentNode).appendChild(b);b.style.pointerEvents="auto"})})};I.prototype.applyFixed=
+function(){var b=!this.fixedDiv;var d=this.options.chart;var e=d.scrollablePlotArea;b?(this.fixedDiv=x("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(d.style&&d.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=d=new H.Renderer(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),
+this.scrollableMask=d.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":v(e.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),B(this,"afterShowResetZoom",this.moveFixedElements),B(this,"afterDrilldown",this.moveFixedElements),B(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);if(this.scrollableDirty||b)this.scrollableDirty=!1,this.moveFixedElements();d=this.chartWidth+(this.scrollablePixelsX||
+0);var k=this.chartHeight+(this.scrollablePixelsY||0);D(this.container);this.container.style.width=d+"px";this.container.style.height=k+"px";this.renderer.boxWrapper.attr({width:d,height:k,viewBox:[0,0,d,k].join(" ")});this.chartBackground.attr({width:d,height:k});this.scrollingContainer.style.height=this.chartHeight+"px";b&&(e.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*e.scrollPositionX),e.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*
+e.scrollPositionY));k=this.axisOffset;b=this.plotTop-k[0]-1;e=this.plotLeft-k[3]-1;d=this.plotTop+this.plotHeight+k[2]+1;k=this.plotLeft+this.plotWidth+k[1]+1;var l=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),w=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);b=this.scrollablePixelsX?[["M",0,b],["L",this.plotLeft-1,b],["L",this.plotLeft-1,d],["L",0,d],["Z"],["M",l,b],["L",this.chartWidth,b],["L",this.chartWidth,d],["L",l,d],["Z"]]:this.scrollablePixelsY?[["M",e,0],["L",e,this.plotTop-
+1],["L",k,this.plotTop-1],["L",k,0],["Z"],["M",e,w],["L",e,this.chartHeight],["L",k,this.chartHeight],["L",k,w],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:b})};B(b,"afterInit",function(){this.chart.scrollableDirty=!0});B(z,"show",function(){this.chart.scrollableDirty=!0})});O(e,"Core/Axis/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Utilities.js"]],function(e,b){var D=e.getDeferredAnimation,z=b.addEvent,H=b.destroyObjectProperties,G=
+b.fireEvent,C=b.isNumber,B=b.objectEach,x=function(){function b(b){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=b}b.prototype.buildStacks=function(){var b=this.axis,e=b.series,d=b.options.reversedStacks,q=e.length,k;if(!b.isXAxis){this.usePercentage=!1;for(k=q;k--;){var l=e[d?k:q-k-1];l.setStackedPoints();l.setGroupedPoints()}for(k=0;k<q;k++)e[k].modifyStacks();G(b,"afterBuildStacks")}};b.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var b=this.stacks=
+this.oldStacks;B(b,function(b){B(b,function(d){d.cumulative=d.total})})}};b.prototype.resetStacks=function(){var b=this,e=this.stacks;this.axis.isXAxis||B(e,function(d){B(d,function(e,f){C(e.touched)&&e.touched<b.stacksTouched?(e.destroy(),delete d[f]):(e.total=null,e.cumulative=null)})})};b.prototype.renderStackTotals=function(){var b=this.axis,e=b.chart,d=e.renderer,q=this.stacks;b=D(e,b.options.stackLabels&&b.options.stackLabels.animation||!1);var k=this.stackTotalGroup=this.stackTotalGroup||d.g("stack-labels").attr({visibility:"visible",
+zIndex:6,opacity:0}).add();k.translate(e.plotLeft,e.plotTop);B(q,function(d){B(d,function(d){d.render(k)})});k.animate({opacity:1},b)};return b}();return function(){function b(){}b.compose=function(e){z(e,"init",b.onInit);z(e,"destroy",b.onDestroy)};b.onDestroy=function(){var b=this.stacking;if(b){var e=b.stacks;B(e,function(d,b){H(d);e[b]=null});b&&b.stackTotalGroup&&b.stackTotalGroup.destroy()}};b.onInit=function(){this.stacking||(this.stacking=new x(this))};return b}()});O(e,"Extensions/Stacking.js",
+[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Axis/StackingAxis.js"],e["Core/Utilities.js"]],function(e,b,I,z,H,G,C){var D=I.format,x=C.correctFloat,w=C.defined,v=C.destroyObjectProperties,f=C.isArray,d=C.isNumber,q=C.objectEach,k=C.pick;"";var l=function(){function b(d,b,e,f,k){var c=d.chart.inverted;this.axis=d;this.isNegative=e;this.options=b=b||{};this.x=f;this.total=null;this.points={};this.hasValidPoints=
+!1;this.stack=k;this.rightCliff=this.leftCliff=0;this.alignOptions={align:b.align||(c?e?"left":"right":"center"),verticalAlign:b.verticalAlign||(c?"middle":e?"bottom":"top"),y:b.y,x:b.x};this.textAlign=b.textAlign||(c?e?"right":"left":"center")}b.prototype.destroy=function(){v(this,this.axis)};b.prototype.render=function(d){var b=this.axis.chart,e=this.options,f=e.format;f=f?D(f,this,b):e.formatter.call(this);this.label?this.label.attr({text:f,visibility:"hidden"}):(this.label=b.renderer.label(f,
+null,null,e.shape,null,null,e.useHTML,!1,"stack-labels"),f={r:e.borderRadius||0,text:f,rotation:e.rotation,padding:k(e.padding,5),visibility:"hidden"},b.styledMode||(f.fill=e.backgroundColor,f.stroke=e.borderColor,f["stroke-width"]=e.borderWidth,this.label.css(e.style)),this.label.attr(f),this.label.added||this.label.add(d));this.label.labelrank=b.plotSizeY};b.prototype.setOffset=function(b,e,f,l,m){var c=this.axis,g=c.chart;l=c.translate(c.stacking.usePercentage?100:l?l:this.total,0,0,0,1);f=c.translate(f?
+f:0);f=w(l)&&Math.abs(l-f);b=k(m,g.xAxis[0].translate(this.x))+b;c=w(l)&&this.getStackBox(g,this,b,l,e,f,c);e=this.label;f=this.isNegative;b="justify"===k(this.options.overflow,"justify");var a=this.textAlign;e&&c&&(m=e.getBBox(),l=e.padding,a="left"===a?g.inverted?-l:l:"right"===a?m.width:g.inverted&&"center"===a?m.width/2:g.inverted?f?m.width+l:-l:m.width/2,f=g.inverted?m.height/2:f?-l:m.height,this.alignOptions.x=k(this.options.x,0),this.alignOptions.y=k(this.options.y,0),c.x-=a,c.y-=f,e.align(this.alignOptions,
+null,c),g.isInsidePlot(e.alignAttr.x+a-this.alignOptions.x,e.alignAttr.y+f-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,b=!1),b&&H.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,m,c),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),k(!b&&this.options.crop,!0)&&((g=d(e.x)&&d(e.y)&&g.isInsidePlot(e.x-l+e.width,e.y)&&g.isInsidePlot(e.x+l,e.y))||e.hide()))};b.prototype.getStackBox=function(d,b,e,f,k,c,g){var a=b.axis.reversed,h=d.inverted,m=g.height+g.pos-(h?d.plotLeft:d.plotTop);
+b=b.isNegative&&!a||!b.isNegative&&a;return{x:h?b?f-g.right:f-c+g.pos-d.plotLeft:e+d.xAxis[0].transB-d.plotLeft,y:h?g.height-e-k:b?m-f-c:m-f,width:h?c:k,height:h?k:c}};return b}();b.prototype.getStacks=function(){var d=this,b=d.inverted;d.yAxis.forEach(function(d){d.stacking&&d.stacking.stacks&&d.hasVisibleSeries&&(d.stacking.oldStacks=d.stacking.stacks)});d.series.forEach(function(e){var f=e.xAxis&&e.xAxis.options||{};!e.options.stacking||!0!==e.visible&&!1!==d.options.chart.ignoreHiddenSeries||
+(e.stackKey=[e.type,k(e.options.stack,""),b?f.top:f.left,b?f.height:f.width].join())})};G.compose(e);H.prototype.setGroupedPoints=function(){var d=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?H.prototype.setStackedPoints.call(this,"group"):d&&q(d.stacks,function(b,e){"group"===e.slice(-5)&&(q(b,function(d){return d.destroy()}),delete d.stacks[e])})};H.prototype.setStackedPoints=function(d){var b=
+d||this.options.stacking;if(b&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var e=this.processedXData,q=this.processedYData,v=[],m=q.length,c=this.options,g=c.threshold,a=k(c.startFromThreshold&&g,0);c=c.stack;d=d?this.type+","+b:this.stackKey;var h="-"+d,r=this.negStacks,A=this.yAxis,y=A.stacking.stacks,D=A.stacking.oldStacks,B,C;A.stacking.stacksTouched+=1;for(C=0;C<m;C++){var z=e[C];var Q=q[C];var M=this.getStackIndicator(M,z,this.index);var t=M.key;var p=(B=r&&Q<(a?0:
+g))?h:d;y[p]||(y[p]={});y[p][z]||(D[p]&&D[p][z]?(y[p][z]=D[p][z],y[p][z].total=null):y[p][z]=new l(A,A.options.stackLabels,B,z,c));p=y[p][z];null!==Q?(p.points[t]=p.points[this.index]=[k(p.cumulative,a)],w(p.cumulative)||(p.base=t),p.touched=A.stacking.stacksTouched,0<M.index&&!1===this.singleStacks&&(p.points[t][0]=p.points[this.index+","+z+",0"][0])):p.points[t]=p.points[this.index]=null;"percent"===b?(B=B?d:h,r&&y[B]&&y[B][z]?(B=y[B][z],p.total=B.total=Math.max(B.total,p.total)+Math.abs(Q)||0):
+p.total=x(p.total+(Math.abs(Q)||0))):"group"===b?(f(Q)&&(Q=Q[0]),null!==Q&&(p.total=(p.total||0)+1)):p.total=x(p.total+(Q||0));p.cumulative="group"===b?(p.total||1)-1:k(p.cumulative,a)+(Q||0);null!==Q&&(p.points[t].push(p.cumulative),v[C]=p.cumulative,p.hasValidPoints=!0)}"percent"===b&&(A.stacking.usePercentage=!0);"group"!==b&&(this.stackedYData=v);A.stacking.oldStacks={}}};H.prototype.modifyStacks=function(){var d=this,b=d.stackKey,e=d.yAxis.stacking.stacks,f=d.processedXData,k,m=d.options.stacking;
+d[m+"Stacker"]&&[b,"-"+b].forEach(function(c){for(var b=f.length,a,h;b--;)if(a=f[b],k=d.getStackIndicator(k,a,d.index,c),h=(a=e[c]&&e[c][a])&&a.points[k.key])d[m+"Stacker"](h,a,b)})};H.prototype.percentStacker=function(d,b,e){b=b.total?100/b.total:0;d[0]=x(d[0]*b);d[1]=x(d[1]*b);this.stackedYData[e]=d[1]};H.prototype.getStackIndicator=function(d,b,e,f){!w(d)||d.x!==b||f&&d.key!==f?d={x:b,index:0,key:f}:d.index++;d.key=[e,b,d.index].join();return d};z.StackItem=l;return z.StackItem});O(e,"Series/Line/LineSeries.js",
+[e["Core/Color/Palette.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,b,I,z){var D=this&&this.__extends||function(){var b=function(e,w){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var d in e)e.hasOwnProperty(d)&&(b[d]=e[d])};return b(e,w)};return function(e,w){function v(){this.constructor=e}b(e,w);e.prototype=null===w?Object.create(w):(v.prototype=w.prototype,new v)}}(),G=z.defined,
+C=z.merge;z=function(B){function x(){var b=null!==B&&B.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}D(x,B);x.prototype.drawGraph=function(){var b=this,v=this.options,f=(this.gappedPath||this.getGraphPath).call(this),d=this.chart.styledMode,q=[["graph","highcharts-graph"]];d||q[0].push(v.lineColor||this.color||e.neutralColor20,v.dashStyle);q=b.getZonesGraphs(q);q.forEach(function(e,l){var k=e[0],q=b[k],n=q?"animate":"attr";q?(q.endX=b.preventGraphAnimation?null:
+f.xMap,q.animate({d:f})):f.length&&(b[k]=q=b.chart.renderer.path(f).addClass(e[1]).attr({zIndex:1}).add(b.group));q&&!d&&(k={stroke:e[2],"stroke-width":v.lineWidth,fill:b.fillGraph&&b.color||"none"},e[3]?k.dashstyle=e[3]:"square"!==v.linecap&&(k["stroke-linecap"]=k["stroke-linejoin"]="round"),q[n](k).shadow(2>l&&v.shadow));q&&(q.startX=f.xMap,q.isArea=f.isArea)})};x.prototype.getGraphPath=function(b,e,f){var d=this,q=d.options,k=q.step,l,v=[],u=[],n;b=b||d.points;(l=b.reversed)&&b.reverse();(k={right:1,
+center:2}[k]||k&&3)&&l&&(k=4-k);b=this.getValidPoints(b,!1,!(q.connectNulls&&!e&&!f));b.forEach(function(l,w){var m=l.plotX,c=l.plotY,g=b[w-1];(l.leftCliff||g&&g.rightCliff)&&!f&&(n=!0);l.isNull&&!G(e)&&0<w?n=!q.connectNulls:l.isNull&&!e?n=!0:(0===w||n?w=[["M",l.plotX,l.plotY]]:d.getPointSpline?w=[d.getPointSpline(b,l,w)]:k?(w=1===k?[["L",g.plotX,c]]:2===k?[["L",(g.plotX+m)/2,g.plotY],["L",(g.plotX+m)/2,c]]:[["L",m,g.plotY]],w.push(["L",m,c])):w=[["L",m,c]],u.push(l.x),k&&(u.push(l.x),2===k&&u.push(l.x)),
+v.push.apply(v,w),n=!1)});v.xMap=u;return d.graphPath=v};x.prototype.getZonesGraphs=function(b){this.zones.forEach(function(e,f){f=["zone-graph-"+f,"highcharts-graph highcharts-zone-graph-"+f+" "+(e.className||"")];this.chart.styledMode||f.push(e.color||this.color,e.dashStyle||this.options.dashStyle);b.push(f)},this);return b};x.defaultOptions=C(b.defaultOptions,{});return x}(b);I.registerSeriesType("line",z);"";return z});O(e,"Series/Area/AreaSeries.js",[e["Core/Color/Color.js"],e["Mixins/LegendSymbol.js"],
+e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,b,I,z){var D=this&&this.__extends||function(){var b=function(e,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var e in d)d.hasOwnProperty(e)&&(b[e]=d[e])};return b(e,d)};return function(e,d){function f(){this.constructor=e}b(e,d);e.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}(),G=e.parse,C=I.seriesTypes.line;e=z.extend;var B=z.merge,x=z.objectEach,
+w=z.pick;z=function(b){function e(){var d=null!==b&&b.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;return d}D(e,b);e.prototype.drawGraph=function(){this.areaPath=[];b.prototype.drawGraph.apply(this);var d=this,e=this.areaPath,f=this.options,l=[["area","highcharts-area",this.color,f.fillColor]];this.zones.forEach(function(b,e){l.push(["zone-area-"+e,"highcharts-area highcharts-zone-area-"+e+" "+b.className,b.color||d.color,b.fillColor||f.fillColor])});l.forEach(function(b){var k=
+b[0],l=d[k],q=l?"animate":"attr",v={};l?(l.endX=d.preventGraphAnimation?null:e.xMap,l.animate({d:e})):(v.zIndex=0,l=d[k]=d.chart.renderer.path(e).addClass(b[1]).add(d.group),l.isArea=!0);d.chart.styledMode||(v.fill=w(b[3],G(b[2]).setOpacity(w(f.fillOpacity,.75)).get()));l[q](v);l.startX=e.xMap;l.shiftUnit=f.step?2:1})};e.prototype.getGraphPath=function(b){var d=C.prototype.getGraphPath,e=this.options,f=e.stacking,v=this.yAxis,u,n=[],x=[],E=this.index,m=v.stacking.stacks[this.stackKey],c=e.threshold,
+g=Math.round(v.getThreshold(e.threshold));e=w(e.connectNulls,"percent"===f);var a=function(a,d,e){var h=b[a];a=f&&m[h.x].points[E];var k=h[e+"Null"]||0;e=h[e+"Cliff"]||0;h=!0;if(e||k){var l=(k?a[0]:a[1])+e;var q=a[0]+e;h=!!k}else!f&&b[d]&&b[d].isNull&&(l=q=c);"undefined"!==typeof l&&(x.push({plotX:r,plotY:null===l?g:v.getThreshold(l),isNull:h,isCliff:!0}),n.push({plotX:r,plotY:null===q?g:v.getThreshold(q),doCurve:!1}))};b=b||this.points;f&&(b=this.getStackPoints(b));for(u=0;u<b.length;u++){f||(b[u].leftCliff=
+b[u].rightCliff=b[u].leftNull=b[u].rightNull=void 0);var h=b[u].isNull;var r=w(b[u].rectPlotX,b[u].plotX);var A=f?w(b[u].yBottom,g):g;if(!h||e)e||a(u,u-1,"left"),h&&!f&&e||(x.push(b[u]),n.push({x:u,plotX:r,plotY:A})),e||a(u,u+1,"right")}u=d.call(this,x,!0,!0);n.reversed=!0;h=d.call(this,n,!0,!0);(A=h[0])&&"M"===A[0]&&(h[0]=["L",A[1],A[2]]);h=u.concat(h);h.length&&h.push(["Z"]);d=d.call(this,x,!1,e);h.xMap=u.xMap;this.areaPath=h;return d};e.prototype.getStackPoints=function(b){var d=this,e=[],f=[],
+v=this.xAxis,u=this.yAxis,n=u.stacking.stacks[this.stackKey],D={},E=u.series,m=E.length,c=u.options.reversedStacks?1:-1,g=E.indexOf(d);b=b||this.points;if(this.options.stacking){for(var a=0;a<b.length;a++)b[a].leftNull=b[a].rightNull=void 0,D[b[a].x]=b[a];x(n,function(a,c){null!==a.total&&f.push(c)});f.sort(function(a,c){return a-c});var h=E.map(function(a){return a.visible});f.forEach(function(a,b){var k=0,l,r;if(D[a]&&!D[a].isNull)e.push(D[a]),[-1,1].forEach(function(e){var k=1===e?"rightNull":
+"leftNull",q=0,t=n[f[b+e]];if(t)for(var p=g;0<=p&&p<m;){var v=E[p].index;l=t.points[v];l||(v===d.index?D[a][k]=!0:h[p]&&(r=n[a].points[v])&&(q-=r[1]-r[0]));p+=c}D[a][1===e?"rightCliff":"leftCliff"]=q});else{for(var q=g;0<=q&&q<m;){if(l=n[a].points[E[q].index]){k=l[1];break}q+=c}k=w(k,0);k=u.translate(k,0,1,0,1);e.push({isNull:!0,plotX:v.translate(a,0,0,0,1),x:a,plotY:k,yBottom:k})}})}return e};e.defaultOptions=B(C.defaultOptions,{threshold:0});return e}(C);e(z.prototype,{singleStacks:!1,drawLegendSymbol:b.drawRectangle});
+I.registerSeriesType("area",z);"";return z});O(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,b){var D=this&&this.__extends||function(){var b=function(e,x){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var f in e)e.hasOwnProperty(f)&&(b[f]=e[f])};return b(e,x)};return function(e,x){function w(){this.constructor=e}b(e,x);e.prototype=null===x?Object.create(x):(w.prototype=x.prototype,
+new w)}}(),z=e.seriesTypes.line,H=b.merge,G=b.pick;b=function(b){function e(){var e=null!==b&&b.apply(this,arguments)||this;e.data=void 0;e.options=void 0;e.points=void 0;return e}D(e,b);e.prototype.getPointSpline=function(b,e,v){var f=e.plotX||0,d=e.plotY||0,q=b[v-1];v=b[v+1];if(q&&!q.isNull&&!1!==q.doCurve&&!e.isCliff&&v&&!v.isNull&&!1!==v.doCurve&&!e.isCliff){b=q.plotY||0;var k=v.plotX||0;v=v.plotY||0;var l=0;var w=(1.5*f+(q.plotX||0))/2.5;var u=(1.5*d+b)/2.5;k=(1.5*f+k)/2.5;var n=(1.5*d+v)/2.5;
+k!==w&&(l=(n-u)*(k-f)/(k-w)+d-n);u+=l;n+=l;u>b&&u>d?(u=Math.max(b,d),n=2*d-u):u<b&&u<d&&(u=Math.min(b,d),n=2*d-u);n>v&&n>d?(n=Math.max(v,d),u=2*d-n):n<v&&n<d&&(n=Math.min(v,d),u=2*d-n);e.rightContX=k;e.rightContY=n}e=["C",G(q.rightContX,q.plotX,0),G(q.rightContY,q.plotY,0),G(w,f,0),G(u,d,0),f,d];q.rightContX=q.rightContY=void 0;return e};e.defaultOptions=H(z.defaultOptions);return e}(z);e.registerSeriesType("spline",b);"";return b});O(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Area/AreaSeries.js"],
+e["Series/Spline/SplineSeries.js"],e["Mixins/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,b,I,z,H){var D=this&&this.__extends||function(){var b=function(e,f){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var d in e)e.hasOwnProperty(d)&&(b[d]=e[d])};return b(e,f)};return function(e,f){function d(){this.constructor=e}b(e,f);e.prototype=null===f?Object.create(f):(d.prototype=f.prototype,new d)}}(),C=
+e.prototype,B=H.extend,x=H.merge;H=function(w){function v(){var b=null!==w&&w.apply(this,arguments)||this;b.data=void 0;b.points=void 0;b.options=void 0;return b}D(v,w);v.defaultOptions=x(b.defaultOptions,e.defaultOptions);return v}(b);B(H.prototype,{getGraphPath:C.getGraphPath,getStackPoints:C.getStackPoints,drawGraph:C.drawGraph,drawLegendSymbol:I.drawRectangle});z.registerSeriesType("areaspline",H);"";return H});O(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],
+e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Color/Palette.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,b,I,z,H,G,C,B){var x=this&&this.__extends||function(){var c=function(b,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return c(b,a)};return function(b,a){function d(){this.constructor=b}c(b,a);b.prototype=null===a?Object.create(a):
+(d.prototype=a.prototype,new d)}}(),w=e.animObject,v=b.parse,f=I.hasTouch;e=I.noop;var d=B.clamp,q=B.css,k=B.defined,l=B.extend,D=B.fireEvent,u=B.isArray,n=B.isNumber,J=B.merge,E=B.pick,m=B.objectEach;B=function(c){function b(){var a=null!==c&&c.apply(this,arguments)||this;a.borderWidth=void 0;a.data=void 0;a.group=void 0;a.options=void 0;a.points=void 0;return a}x(b,c);b.prototype.animate=function(a){var c=this,b=this.yAxis,e=c.options,g=this.chart.inverted,f={},k=g?"translateX":"translateY";if(a)f.scaleY=
+.001,a=d(b.toPixels(e.threshold),b.pos,b.pos+b.len),g?f.translateX=a-b.len:f.translateY=a,c.clipBox&&c.setClip(),c.group.attr(f);else{var m=Number(c.group.attr(k));c.group.animate({scaleY:1},l(w(c.options.animation),{step:function(a,d){c.group&&(f[k]=m+d.pos*(b.pos-m),c.group.attr(f))}}))}};b.prototype.init=function(a,b){c.prototype.init.apply(this,arguments);var d=this;a=d.chart;a.hasRendered&&a.series.forEach(function(a){a.type===d.type&&(a.isDirty=!0)})};b.prototype.getColumnMetrics=function(){var a=
+this,c=a.options,b=a.xAxis,d=a.yAxis,e=b.options.reversedStacks;e=b.reversed&&!e||!b.reversed&&e;var g,f={},k=0;!1===c.grouping?k=1:a.chart.series.forEach(function(c){var b=c.yAxis,e=c.options;if(c.type===a.type&&(c.visible||!a.chart.options.chart.ignoreHiddenSeries)&&d.len===b.len&&d.pos===b.pos){if(e.stacking&&"group"!==e.stacking){g=c.stackKey;"undefined"===typeof f[g]&&(f[g]=k++);var h=f[g]}else!1!==e.grouping&&(h=k++);c.columnIndex=h}});var m=Math.min(Math.abs(b.transA)*(b.ordinal&&b.ordinal.slope||
+c.pointRange||b.closestPointRange||b.tickInterval||1),b.len),l=m*c.groupPadding,n=(m-2*l)/(k||1);c=Math.min(c.maxPointWidth||b.len,E(c.pointWidth,n*(1-2*c.pointPadding)));a.columnMetrics={width:c,offset:(n-c)/2+(l+((a.columnIndex||0)+(e?1:0))*n-m/2)*(e?-1:1),paddedWidth:n,columnCount:k};return a.columnMetrics};b.prototype.crispCol=function(a,c,b,d){var e=this.chart,h=this.borderWidth,g=-(h%2?.5:0);h=h%2?.5:1;e.inverted&&e.renderer.isVML&&(h+=1);this.options.crisp&&(b=Math.round(a+b)+g,a=Math.round(a)+
+g,b-=a);d=Math.round(c+d)+h;g=.5>=Math.abs(c)&&.5<d;c=Math.round(c)+h;d-=c;g&&d&&(--c,d+=1);return{x:a,y:c,width:b,height:d}};b.prototype.adjustForMissingColumns=function(a,c,b,d){var e=this,h=this.options.stacking;if(!b.isNull&&1<d.columnCount){var g=0,f=0;m(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(a){if("number"===typeof b.x&&(a=a[b.x.toString()])){var c=a.points[e.index],d=a.total;h?(c&&(g=f),a.hasValidPoints&&f++):u(c)&&(g=c[1],f=d||0)}});a=(b.plotX||0)+((f-1)*d.paddedWidth+c)/
+2-c-g*d.paddedWidth}return a};b.prototype.translate=function(){var a=this,c=a.chart,b=a.options,e=a.dense=2>a.closestPointRange*a.xAxis.transA;e=a.borderWidth=E(b.borderWidth,e?0:1);var g=a.xAxis,f=a.yAxis,m=b.threshold,l=a.translatedThreshold=f.getThreshold(m),q=E(b.minPointLength,5),v=a.getColumnMetrics(),u=v.width,t=a.barW=Math.max(u,1+2*e),p=a.pointXOffset=v.offset,w=a.dataMin,x=a.dataMax;c.inverted&&(l-=.5);b.pointPadding&&(t=Math.ceil(t));G.prototype.translate.apply(a);a.points.forEach(function(e){var h=
+E(e.yBottom,l),r=999+Math.abs(h),y=u,A=e.plotX||0;r=d(e.plotY,-r,f.len+r);A+=p;var D=t,B=Math.min(r,h),z=Math.max(r,h)-B;if(q&&Math.abs(z)<q){z=q;var C=!f.reversed&&!e.negative||f.reversed&&e.negative;n(m)&&n(x)&&e.y===m&&x<=m&&(f.min||0)<m&&(w!==x||(f.max||0)<=m)&&(C=!C);B=Math.abs(B-l)>q?h-q:l-(C?q:0)}k(e.options.pointWidth)&&(y=D=Math.ceil(e.options.pointWidth),A-=Math.round((y-u)/2));b.centerInCategory&&(A=a.adjustForMissingColumns(A,y,e,v));e.barX=A;e.pointWidth=y;e.tooltipPos=c.inverted?[d(f.len+
+f.pos-c.plotLeft-r,f.pos-c.plotLeft,f.len+f.pos-c.plotLeft),g.len+g.pos-c.plotTop-A-D/2,z]:[g.left-c.plotLeft+A+D/2,d(r+f.pos-c.plotTop,f.pos-c.plotTop,f.len+f.pos-c.plotTop),z];e.shapeType=a.pointClass.prototype.shapeType||"rect";e.shapeArgs=a.crispCol.apply(a,e.isNull?[A,l,D,0]:[A,B,D,z])})};b.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};b.prototype.pointAttribs=function(a,c){var b=this.options,d=this.pointAttrToOptions||{};var e=d.stroke||
+"borderColor";var h=d["stroke-width"]||"borderWidth",g=a&&a.color||this.color,f=a&&a[e]||b[e]||g,k=a&&a[h]||b[h]||this[h]||0;d=a&&a.options.dashStyle||b.dashStyle;var m=E(a&&a.opacity,b.opacity,1);if(a&&this.zones.length){var l=a.getZone();g=a.options.color||l&&(l.color||a.nonZonedColor)||this.color;l&&(f=l.borderColor||f,d=l.dashStyle||d,k=l.borderWidth||k)}c&&a&&(a=J(b.states[c],a.options.states&&a.options.states[c]||{}),c=a.brightness,g=a.color||"undefined"!==typeof c&&v(g).brighten(a.brightness).get()||
+g,f=a[e]||f,k=a[h]||k,d=a.dashStyle||d,m=E(a.opacity,m));e={fill:g,stroke:f,"stroke-width":k,opacity:m};d&&(e.dashstyle=d);return e};b.prototype.drawPoints=function(){var a=this,c=this.chart,b=a.options,d=c.renderer,e=b.animationLimit||250,g;a.points.forEach(function(h){var f=h.graphic,k=!!f,m=f&&c.pointCount<e?"animate":"attr";if(n(h.plotY)&&null!==h.y){g=h.shapeArgs;f&&h.hasNewShapeType()&&(f=f.destroy());a.enabledDataSorting&&(h.startXPos=a.xAxis.reversed?-(g?g.width||0:0):a.xAxis.width);f||(h.graphic=
+f=d[h.shapeType](g).add(h.group||a.group))&&a.enabledDataSorting&&c.hasRendered&&c.pointCount<e&&(f.attr({x:h.startXPos}),k=!0,m="animate");if(f&&k)f[m](J(g));if(b.borderRadius)f[m]({r:b.borderRadius});c.styledMode||f[m](a.pointAttribs(h,h.selected&&"select")).shadow(!1!==h.allowShadow&&b.shadow,null,b.stacking&&!b.borderRadius);f&&(f.addClass(h.getClassName(),!0),f.attr({visibility:h.visible?"inherit":"hidden"}))}else f&&(h.graphic=f.destroy())})};b.prototype.drawTracker=function(){var a=this,c=
+a.chart,b=c.pointer,d=function(a){var c=b.getPointFromEvent(a);"undefined"!==typeof c&&(b.isDirectTouch=!0,c.onMouseOver(a))},e;a.points.forEach(function(a){e=u(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[];a.graphic&&(a.graphic.element.point=a);e.forEach(function(c){c.div?c.div.point=a:c.element.point=a})});a._hasTracking||(a.trackerGroups.forEach(function(e){if(a[e]){a[e].addClass("highcharts-tracker").on("mouseover",d).on("mouseout",function(a){b.onTrackerMouseOut(a)});if(f)a[e].on("touchstart",
+d);!c.styledMode&&a.options.cursor&&a[e].css(q).css({cursor:a.options.cursor})}}),a._hasTracking=!0);D(this,"afterDrawTracker")};b.prototype.remove=function(){var a=this,c=a.chart;c.hasRendered&&c.series.forEach(function(c){c.type===a.type&&(c.isDirty=!0)});G.prototype.remove.apply(a,arguments)};b.defaultOptions=J(G.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},
+select:{color:H.neutralColor20,borderColor:H.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:H.backgroundColor});return b}(G);l(B.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:z.drawRectangle,getSymbol:e,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]});C.registerSeriesType("column",B);"";"";return B});O(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],
+e["Core/Utilities.js"]],function(e,b,I){var D=this&&this.__extends||function(){var b=function(e,x){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var f in e)e.hasOwnProperty(f)&&(b[f]=e[f])};return b(e,x)};return function(e,x){function w(){this.constructor=e}b(e,x);e.prototype=null===x?Object.create(x):(w.prototype=x.prototype,new w)}}(),H=I.extend,G=I.merge;I=function(b){function B(){var e=null!==b&&b.apply(this,arguments)||this;e.data=void 0;
+e.options=void 0;e.points=void 0;return e}D(B,b);B.defaultOptions=G(e.defaultOptions,{});return B}(e);H(I.prototype,{inverted:!0});b.registerSeriesType("bar",I);"";return I});O(e,"Series/Scatter/ScatterSeries.js",[e["Series/Column/ColumnSeries.js"],e["Series/Line/LineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,b,I,z){var D=this&&this.__extends||function(){var b=function(e,v){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||
+function(b,d){for(var e in d)d.hasOwnProperty(e)&&(b[e]=d[e])};return b(e,v)};return function(e,v){function f(){this.constructor=e}b(e,v);e.prototype=null===v?Object.create(v):(f.prototype=v.prototype,new f)}}(),G=z.addEvent,C=z.extend,B=z.merge;z=function(e){function w(){var b=null!==e&&e.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}D(w,e);w.prototype.applyJitter=function(){var b=this,e=this.options.jitter,d=this.points.length;e&&this.points.forEach(function(f,
+k){["x","y"].forEach(function(l,q){var v="plot"+l.toUpperCase();if(e[l]&&!f.isNull){var n=b[l+"Axis"];var w=e[l]*n.transA;if(n&&!n.isLog){var E=Math.max(0,f[v]-w);n=Math.min(n.len,f[v]+w);q=1E4*Math.sin(k+q*d);f[v]=E+(n-E)*(q-Math.floor(q));"x"===l&&(f.clientX=f.plotX)}}})})};w.prototype.drawGraph=function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&e.prototype.drawGraph.call(this)};w.defaultOptions=B(b.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",
+jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}});return w}(b);C(z.prototype,{drawTracker:e.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});G(z,"afterTranslate",function(){this.applyJitter()});I.registerSeriesType("scatter",
+z);"";return z});O(e,"Mixins/CenteredSeries.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(e,b,I){var D=I.isNumber,H=I.pick,G=I.relativeLength,C=e.deg2rad;return e.CenteredSeriesMixin={getCenter:function(){var e=this.options,D=this.chart,w=2*(e.slicedOffset||0),v=D.plotWidth-2*w,f=D.plotHeight-2*w,d=e.center,q=Math.min(v,f),k=e.size,l=e.innerSize||0;"string"===typeof k&&(k=parseFloat(k));"string"===typeof l&&(l=parseFloat(l));e=[H(d[0],"50%"),H(d[1],"50%"),H(k&&
+0>k?void 0:e.size,"100%"),H(l&&0>l?void 0:e.innerSize||0,"0%")];!D.angular||this instanceof b||(e[3]=0);for(d=0;4>d;++d)k=e[d],D=2>d||2===d&&/%$/.test(k),e[d]=G(k,[v,f,q,e[2]][d])+(D?w:0);e[3]>e[2]&&(e[3]=e[2]);return e},getStartAndEndRadians:function(b,e){b=D(b)?b:0;e=D(e)&&e>b&&360>e-b?e:b+360;return{start:C*(b+-90),end:C*(e+-90)}}}});O(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,b,I){var D=this&&this.__extends||
+function(){var b=function(e,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var e in d)d.hasOwnProperty(e)&&(b[e]=d[e])};return b(e,d)};return function(e,d){function f(){this.constructor=e}b(e,d);e.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}(),H=e.setAnimation,G=I.addEvent,C=I.defined;e=I.extend;var B=I.isNumber,x=I.pick,w=I.relativeLength;I=function(e){function f(){var b=null!==e&&e.apply(this,arguments)||this;
+b.labelDistance=void 0;b.options=void 0;b.series=void 0;return b}D(f,e);f.prototype.getConnectorPath=function(){var b=this.labelPosition,e=this.series.options.dataLabels,f=e.connectorShape,l=this.connectorShapes;l[f]&&(f=l[f]);return f.call(this,{x:b.final.x,y:b.final.y,alignment:b.alignment},b.connectorPosition,e)};f.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};f.prototype.haloPath=function(b){var d=this.shapeArgs;return this.sliced||!this.visible?
+[]:this.series.chart.renderer.symbols.arc(d.x,d.y,d.r+b,d.r+b,{innerR:d.r-1,start:d.start,end:d.end})};f.prototype.init=function(){b.prototype.init.apply(this,arguments);var d=this;d.name=x(d.name,"Slice");var e=function(b){d.slice("select"===b.type)};G(d,"select",e);G(d,"unselect",e);return d};f.prototype.isValid=function(){return B(this.y)&&0<=this.y};f.prototype.setVisible=function(b,e){var d=this,f=d.series,q=f.chart,v=f.options.ignoreHiddenPoint;e=x(e,v);b!==d.visible&&(d.visible=d.options.visible=
+b="undefined"===typeof b?!d.visible:b,f.options.data[f.data.indexOf(d)]=d.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(e){if(d[e])d[e][b?"show":"hide"](b)}),d.legendItem&&q.legend.colorizeItem(d,b),b||"hover"!==d.state||d.setState(""),v&&(f.isDirty=!0),e&&q.redraw())};f.prototype.slice=function(b,e,f){var d=this.series;H(f,d.chart);x(e,!0);this.sliced=this.options.sliced=C(b)?b:!this.sliced;d.options.data[d.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());
+this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return f}(b);e(I.prototype,{connectorShapes:{fixedOffset:function(b,e,d){var f=e.breakAt;e=e.touchingSliceAt;return[["M",b.x,b.y],d.softConnector?["C",b.x+("left"===b.alignment?-5:5),b.y,2*f.x-e.x,2*f.y-e.y,f.x,f.y]:["L",f.x,f.y],["L",e.x,e.y]]},straight:function(b,e){e=e.touchingSliceAt;return[["M",b.x,b.y],["L",e.x,e.y]]},crookedLine:function(b,e,d){e=e.touchingSliceAt;var f=this.series,k=f.center[0],l=f.chart.plotWidth,v=f.chart.plotLeft;
+f=b.alignment;var u=this.shapeArgs.r;d=w(d.crookDistance,1);l="left"===f?k+u+(l+v-k-u)*(1-d):v+(k-u)*d;d=["L",l,b.y];k=!0;if("left"===f?l>b.x||l<e.x:l<b.x||l>e.x)k=!1;b=[["M",b.x,b.y]];k&&b.push(d);b.push(["L",e.x,e.y]);return b}}});return I});O(e,"Series/Pie/PieSeries.js",[e["Mixins/CenteredSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Color/Palette.js"],e["Series/Pie/PiePoint.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],
+e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(e,b,I,z,H,G,C,B,x,w){var v=this&&this.__extends||function(){var b=function(d,e){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var d in c)c.hasOwnProperty(d)&&(b[d]=c[d])};return b(d,e)};return function(d,e){function f(){this.constructor=d}b(d,e);d.prototype=null===e?Object.create(e):(f.prototype=e.prototype,new f)}}(),f=e.getStartAndEndRadians;I=I.noop;var d=w.clamp,q=
+w.extend,k=w.fireEvent,l=w.merge,D=w.pick,u=w.relativeLength;w=function(b){function e(){var d=null!==b&&b.apply(this,arguments)||this;d.center=void 0;d.data=void 0;d.maxLabelDistance=void 0;d.options=void 0;d.points=void 0;return d}v(e,b);e.prototype.animate=function(b){var d=this,c=d.points,e=d.startAngleRad;b||c.forEach(function(a){var c=a.graphic,b=a.shapeArgs;c&&b&&(c.attr({r:D(a.startR,d.center&&d.center[3]/2),start:e,end:e}),c.animate({r:b.r,start:b.start,end:b.end},d.options.animation))})};
+e.prototype.drawEmpty=function(){var b=this.startAngleRad,d=this.endAngleRad,c=this.options;if(0===this.total&&this.center){var e=this.center[0];var a=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(e,a,this.center[1]/2,0,b,d).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:x.prototype.symbols.arc(e,a,this.center[2]/2,0,{start:b,end:d,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":c.borderWidth,fill:c.fillColor||"none",stroke:c.color||
+H.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())};e.prototype.drawPoints=function(){var b=this.chart.renderer;this.points.forEach(function(d){d.graphic&&d.hasNewShapeType()&&(d.graphic=d.graphic.destroy());d.graphic||(d.graphic=b[d.shapeType](d.shapeArgs).add(d.series.group),d.delayedRendering=!0)})};e.prototype.generatePoints=function(){b.prototype.generatePoints.call(this);this.updateTotals()};e.prototype.getX=function(b,e,c){var g=this.center,a=this.radii?this.radii[c.index]||
+0:g[2]/2;b=Math.asin(d((b-g[1])/(a+c.labelDistance),-1,1));return g[0]+(e?-1:1)*Math.cos(b)*(a+c.labelDistance)+(0<c.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)};e.prototype.hasData=function(){return!!this.processedXData.length};e.prototype.redrawPoints=function(){var b=this,d=b.chart,c=d.renderer,e,a,h,f,k=b.options.shadow;this.drawEmpty();!k||b.shadowGroup||d.styledMode||(b.shadowGroup=c.g("shadow").attr({zIndex:-1}).add(b.group));b.points.forEach(function(g){var m={};a=g.graphic;
+if(!g.isNull&&a){var r=void 0;f=g.shapeArgs;e=g.getTranslate();d.styledMode||(r=g.shadowGroup,k&&!r&&(r=g.shadowGroup=c.g("shadow").add(b.shadowGroup)),r&&r.attr(e),h=b.pointAttribs(g,g.selected&&"select"));g.delayedRendering?(a.setRadialReference(b.center).attr(f).attr(e),d.styledMode||a.attr(h).attr({"stroke-linejoin":"round"}).shadow(k,r),g.delayedRendering=!1):(a.setRadialReference(b.center),d.styledMode||l(!0,m,h),l(!0,m,f,e),a.animate(m));a.attr({visibility:g.visible?"inherit":"hidden"});a.addClass(g.getClassName(),
+!0)}else a&&(g.graphic=a.destroy())})};e.prototype.sortByAngle=function(b,d){b.sort(function(c,b){return"undefined"!==typeof c.angle&&(b.angle-c.angle)*d})};e.prototype.translate=function(b){this.generatePoints();var d=0,c=this.options,e=c.slicedOffset,a=e+(c.borderWidth||0),h=f(c.startAngle,c.endAngle),l=this.startAngleRad=h.start;h=(this.endAngleRad=h.end)-l;var n=this.points,q=c.dataLabels.distance;c=c.ignoreHiddenPoint;var v,w=n.length;b||(this.center=b=this.getCenter());for(v=0;v<w;v++){var x=
+n[v];var E=l+d*h;!x.isValid()||c&&!x.visible||(d+=x.percentage/100);var z=l+d*h;var B={x:b[0],y:b[1],r:b[2]/2,innerR:b[3]/2,start:Math.round(1E3*E)/1E3,end:Math.round(1E3*z)/1E3};x.shapeType="arc";x.shapeArgs=B;x.labelDistance=D(x.options.dataLabels&&x.options.dataLabels.distance,q);x.labelDistance=u(x.labelDistance,B.r);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,x.labelDistance);z=(z+E)/2;z>1.5*Math.PI?z-=2*Math.PI:z<-Math.PI/2&&(z+=2*Math.PI);x.slicedTranslation={translateX:Math.round(Math.cos(z)*
+e),translateY:Math.round(Math.sin(z)*e)};B=Math.cos(z)*b[2]/2;var t=Math.sin(z)*b[2]/2;x.tooltipPos=[b[0]+.7*B,b[1]+.7*t];x.half=z<-Math.PI/2||z>Math.PI/2?1:0;x.angle=z;E=Math.min(a,x.labelDistance/5);x.labelPosition={natural:{x:b[0]+B+Math.cos(z)*x.labelDistance,y:b[1]+t+Math.sin(z)*x.labelDistance},"final":{},alignment:0>x.labelDistance?"center":x.half?"right":"left",connectorPosition:{breakAt:{x:b[0]+B+Math.cos(z)*E,y:b[1]+t+Math.sin(z)*E},touchingSliceAt:{x:b[0]+B,y:b[1]+t}}}}k(this,"afterTranslate")};
+e.prototype.updateTotals=function(){var b,d=0,c=this.points,e=c.length,a=this.options.ignoreHiddenPoint;for(b=0;b<e;b++){var h=c[b];!h.isValid()||a&&!h.visible||(d+=h.y)}this.total=d;for(b=0;b<e;b++)h=c[b],h.percentage=0<d&&(h.visible||!a)?h.y/d*100:0,h.total=d};e.defaultOptions=l(C.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?
+void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:H.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}});return e}(C);q(w.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:z.drawRectangle,drawTracker:b.prototype.drawTracker,getCenter:e.getCenter,getSymbol:I,isCartesian:!1,
+noSharedTooltip:!0,pointAttribs:b.prototype.pointAttribs,pointClass:G,requireSorting:!1,searchPoint:I,trackerGroups:["group","dataLabelsGroup"]});B.registerSeriesType("pie",w);"";return w});O(e,"Core/Series/DataLabels.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Color/Palette.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,b,I,z,H,G,C){var D=e.getDeferredAnimation,x=b.format;e=I.noop;
+G=G.seriesTypes;var w=C.arrayMax,v=C.clamp,f=C.defined,d=C.extend,q=C.fireEvent,k=C.isArray,l=C.merge,N=C.objectEach,u=C.pick,n=C.relativeLength,J=C.splat,E=C.stableSort;"";I.distribute=function(b,c,d){function a(a,c){return a.target-c.target}var e,g=!0,f=b,k=[];var l=0;var m=f.reducedLen||c;for(e=b.length;e--;)l+=b[e].size;if(l>m){E(b,function(a,c){return(c.rank||0)-(a.rank||0)});for(l=e=0;l<=m;)l+=b[e].size,e++;k=b.splice(e-1,b.length)}E(b,a);for(b=b.map(function(a){return{size:a.size,targets:[a.target],
+align:u(a.align,.5)}});g;){for(e=b.length;e--;)g=b[e],l=(Math.min.apply(0,g.targets)+Math.max.apply(0,g.targets))/2,g.pos=v(l-g.size*g.align,0,c-g.size);e=b.length;for(g=!1;e--;)0<e&&b[e-1].pos+b[e-1].size>b[e].pos&&(b[e-1].size+=b[e].size,b[e-1].targets=b[e-1].targets.concat(b[e].targets),b[e-1].align=.5,b[e-1].pos+b[e-1].size>c&&(b[e-1].pos=c-b[e-1].size),b.splice(e,1),g=!0)}f.push.apply(f,k);e=0;b.some(function(a){var b=0;if(a.targets.some(function(){f[e].pos=a.pos+b;if("undefined"!==typeof d&&
+Math.abs(f[e].pos-f[e].target)>d)return f.slice(0,e+1).forEach(function(a){delete a.pos}),f.reducedLen=(f.reducedLen||c)-.1*c,f.reducedLen>.1*c&&I.distribute(f,c,d),!0;b+=f[e].size;e++}))return!0});E(f,a)};H.prototype.drawDataLabels=function(){function b(a,c){var b=c.filter;return b?(c=b.operator,a=a[b.property],b=b.value,">"===c&&a>b||"<"===c&&a<b||">="===c&&a>=b||"<="===c&&a<=b||"=="===c&&a==b||"==="===c&&a===b?!0:!1):!0}function c(a,c){var b=[],d;if(k(a)&&!k(c))b=a.map(function(a){return l(a,c)});
+else if(k(c)&&!k(a))b=c.map(function(c){return l(a,c)});else if(k(a)||k(c))for(d=Math.max(a.length,c.length);d--;)b[d]=l(a[d],c[d]);else b=l(a,c);return b}var d=this,a=d.chart,e=d.options,r=e.dataLabels,n=d.points,v,w=d.hasRendered||0,E=r.animation;E=r.defer?D(a,E,d):{defer:0,duration:0};var B=a.renderer;r=c(c(a.options.plotOptions&&a.options.plotOptions.series&&a.options.plotOptions.series.dataLabels,a.options.plotOptions&&a.options.plotOptions[d.type]&&a.options.plotOptions[d.type].dataLabels),
+r);q(this,"drawDataLabels");if(k(r)||r.enabled||d._hasPointLabels){var C=d.plotGroup("dataLabelsGroup","data-labels",w?"inherit":"hidden",r.zIndex||6);C.attr({opacity:+w});!w&&(w=d.dataLabelsGroup)&&(d.visible&&C.show(!0),w[e.animation?"animate":"attr"]({opacity:1},E));n.forEach(function(g){v=J(c(r,g.dlOptions||g.options&&g.options.dataLabels));v.forEach(function(c,h){var k=c.enabled&&(!g.isNull||g.dataLabelOnNull)&&b(g,c),l=g.dataLabels?g.dataLabels[h]:g.dataLabel,m=g.connectors?g.connectors[h]:
+g.connector,r=u(c.distance,g.labelDistance),n=!l;if(k){var q=g.getLabelConfig();var t=u(c[g.formatPrefix+"Format"],c.format);q=f(t)?x(t,q,a):(c[g.formatPrefix+"Formatter"]||c.formatter).call(q,c);t=c.style;var v=c.rotation;a.styledMode||(t.color=u(c.color,t.color,d.color,z.neutralColor100),"contrast"===t.color?(g.contrastColor=B.getContrast(g.color||d.color),t.color=!f(r)&&c.inside||0>r||e.stacking?g.contrastColor:z.neutralColor100):delete g.contrastColor,e.cursor&&(t.cursor=e.cursor));var w={r:c.borderRadius||
+0,rotation:v,padding:c.padding,zIndex:1};a.styledMode||(w.fill=c.backgroundColor,w.stroke=c.borderColor,w["stroke-width"]=c.borderWidth);N(w,function(a,c){"undefined"===typeof a&&delete w[c]})}!l||k&&f(q)?k&&f(q)&&(l?w.text=q:(g.dataLabels=g.dataLabels||[],l=g.dataLabels[h]=v?B.text(q,0,-9999,c.useHTML).addClass("highcharts-data-label"):B.label(q,0,-9999,c.shape,null,null,c.useHTML,null,"data-label"),h||(g.dataLabel=l),l.addClass(" highcharts-data-label-color-"+g.colorIndex+" "+(c.className||"")+
+(c.useHTML?" highcharts-tracker":""))),l.options=c,l.attr(w),a.styledMode||l.css(t).shadow(c.shadow),l.added||l.add(C),c.textPath&&!c.useHTML&&(l.setTextPath(g.getDataLabelPath&&g.getDataLabelPath(l)||g.graphic,c.textPath),g.dataLabelPath&&!c.textPath.enabled&&(g.dataLabelPath=g.dataLabelPath.destroy())),d.alignDataLabel(g,l,c,null,n)):(g.dataLabel=g.dataLabel&&g.dataLabel.destroy(),g.dataLabels&&(1===g.dataLabels.length?delete g.dataLabels:delete g.dataLabels[h]),h||delete g.dataLabel,m&&(g.connector=
+g.connector.destroy(),g.connectors&&(1===g.connectors.length?delete g.connectors:delete g.connectors[h])))})})}q(this,"afterDrawDataLabels")};H.prototype.alignDataLabel=function(b,c,e,a,f){var g=this,h=this.chart,k=this.isCartesian&&h.inverted,l=this.enabledDataSorting,m=u(b.dlBox&&b.dlBox.centerX,b.plotX,-9999),n=u(b.plotY,-9999),q=c.getBBox(),v=e.rotation,w=e.align,t=h.isInsidePlot(m,Math.round(n),{inverted:k,paneCoordinates:!0,series:g}),p="justify"===u(e.overflow,l?"none":"justify"),D=this.visible&&
+!1!==b.visible&&(b.series.forceDL||l&&!p||t||u(e.inside,!!this.options.stacking)&&a&&h.isInsidePlot(m,k?a.x+1:a.y+a.height-1,{inverted:k,paneCoordinates:!0,series:g}));var x=function(a){l&&g.xAxis&&!p&&g.setDataLabelStartPos(b,c,f,t,a)};if(D){var z=h.renderer.fontMetrics(h.styledMode?void 0:e.style.fontSize,c).b;a=d({x:k?this.yAxis.len-n:m,y:Math.round(k?this.xAxis.len-m:n),width:0,height:0},a);d(e,{width:q.width,height:q.height});v?(p=!1,m=h.renderer.rotCorr(z,v),m={x:a.x+(e.x||0)+a.width/2+m.x,
+y:a.y+(e.y||0)+{top:0,middle:.5,bottom:1}[e.verticalAlign]*a.height},x(m),c[f?"attr":"animate"](m).attr({align:w}),x=(v+720)%360,x=180<x&&360>x,"left"===w?m.y-=x?q.height:0:"center"===w?(m.x-=q.width/2,m.y-=q.height/2):"right"===w&&(m.x-=q.width,m.y-=x?0:q.height),c.placed=!0,c.alignAttr=m):(x(a),c.align(e,void 0,a),m=c.alignAttr);p&&0<=a.height?this.justifyDataLabel(c,e,m,q,a,f):u(e.crop,!0)&&(D=h.isInsidePlot(m.x,m.y,{paneCoordinates:!0,series:g})&&h.isInsidePlot(m.x+q.width,m.y+q.height,{paneCoordinates:!0,
+series:g}));if(e.shape&&!v)c[f?"attr":"animate"]({anchorX:k?h.plotWidth-b.plotY:b.plotX,anchorY:k?h.plotHeight-b.plotX:b.plotY})}f&&l&&(c.placed=!1);D||l&&!p||(c.hide(!0),c.placed=!1)};H.prototype.setDataLabelStartPos=function(b,c,d,a,e){var g=this.chart,f=g.inverted,h=this.xAxis,k=h.reversed,l=f?c.height/2:c.width/2;b=(b=b.pointWidth)?b/2:0;h=f?e.x:k?-l-b:h.width-l+b;e=f?k?this.yAxis.height-l+b:-l-b:e.y;c.startXPos=h;c.startYPos=e;a?"hidden"===c.visibility&&(c.show(),c.attr({opacity:0}).animate({opacity:1})):
+c.attr({opacity:1}).animate({opacity:0},void 0,c.hide);g.hasRendered&&(d&&c.attr({x:c.startXPos,y:c.startYPos}),c.placed=!0)};H.prototype.justifyDataLabel=function(b,c,d,a,e,f){var g=this.chart,h=c.align,k=c.verticalAlign,l=b.box?0:b.padding||0,m=c.x;m=void 0===m?0:m;var n=c.y;var r=void 0===n?0:n;n=(d.x||0)+l;if(0>n){"right"===h&&0<=m?(c.align="left",c.inside=!0):m-=n;var q=!0}n=(d.x||0)+a.width-l;n>g.plotWidth&&("left"===h&&0>=m?(c.align="right",c.inside=!0):m+=g.plotWidth-n,q=!0);n=d.y+l;0>n&&
+("bottom"===k&&0<=r?(c.verticalAlign="top",c.inside=!0):r-=n,q=!0);n=(d.y||0)+a.height-l;n>g.plotHeight&&("top"===k&&0>=r?(c.verticalAlign="bottom",c.inside=!0):r+=g.plotHeight-n,q=!0);q&&(c.x=m,c.y=r,b.placed=!f,b.align(c,void 0,e));return q};G.pie&&(G.pie.prototype.dataLabelPositioners={radialDistributionY:function(b){return b.top+b.distributeBox.pos},radialDistributionX:function(b,c,d,a){return b.getX(d<c.top+2||d>c.bottom-2?a:d,c.half,c)},justify:function(b,c,d){return d[0]+(b.half?-1:1)*(c+b.labelDistance)},
+alignToPlotEdges:function(b,c,d,a){b=b.getBBox().width;return c?b+a:d-b-a},alignToConnectors:function(b,c,d,a){var e=0,g;b.forEach(function(a){g=a.dataLabel.getBBox().width;g>e&&(e=g)});return c?e+a:d-e-a}},G.pie.prototype.drawDataLabels=function(){var b=this,c=b.data,d,a=b.chart,e=b.options.dataLabels||{},k=e.connectorPadding,n,q=a.plotWidth,v=a.plotHeight,x=a.plotLeft,D=Math.round(a.chartWidth/3),E,B=b.center,C=B[2]/2,t=B[1],p,G,J,N,F=[[],[]],O,K,T,X,U=[0,0,0,0],W=b.dataLabelPositioners,Y;b.visible&&
+(e.enabled||b._hasPointLabels)&&(c.forEach(function(a){a.dataLabel&&a.visible&&a.dataLabel.shortened&&(a.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),a.dataLabel.shortened=!1)}),H.prototype.drawDataLabels.apply(b),c.forEach(function(a){a.dataLabel&&(a.visible?(F[a.half].push(a),a.dataLabel._pos=null,!f(e.style.width)&&!f(a.options.dataLabels&&a.options.dataLabels.style&&a.options.dataLabels.style.width)&&a.dataLabel.getBBox().width>D&&(a.dataLabel.css({width:Math.round(.7*
+D)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),a.dataLabels&&1===a.dataLabels.length&&delete a.dataLabels))}),F.forEach(function(c,g){var h=c.length,l=[],m;if(h){b.sortByAngle(c,g-.5);if(0<b.maxLabelDistance){var n=Math.max(0,t-C-b.maxLabelDistance);var r=Math.min(t+C+b.maxLabelDistance,a.plotHeight);c.forEach(function(b){0<b.labelDistance&&b.dataLabel&&(b.top=Math.max(0,t-C-b.labelDistance),b.bottom=Math.min(t+C+b.labelDistance,a.plotHeight),m=b.dataLabel.getBBox().height||
+21,b.distributeBox={target:b.labelPosition.natural.y-b.top+m/2,size:m,rank:b.y},l.push(b.distributeBox))});n=r+m-n;I.distribute(l,n,n/5)}for(X=0;X<h;X++){d=c[X];J=d.labelPosition;p=d.dataLabel;T=!1===d.visible?"hidden":"inherit";K=n=J.natural.y;l&&f(d.distributeBox)&&("undefined"===typeof d.distributeBox.pos?T="hidden":(N=d.distributeBox.size,K=W.radialDistributionY(d)));delete d.positionIndex;if(e.justify)O=W.justify(d,C,B);else switch(e.alignTo){case "connectors":O=W.alignToConnectors(c,g,q,x);
+break;case "plotEdges":O=W.alignToPlotEdges(p,g,q,x);break;default:O=W.radialDistributionX(b,d,K,n)}p._attr={visibility:T,align:J.alignment};Y=d.options.dataLabels||{};p._pos={x:O+u(Y.x,e.x)+({left:k,right:-k}[J.alignment]||0),y:K+u(Y.y,e.y)-10};J.final.x=O;J.final.y=K;u(e.crop,!0)&&(G=p.getBBox().width,n=null,O-G<k&&1===g?(n=Math.round(G-O+k),U[3]=Math.max(n,U[3])):O+G>q-k&&0===g&&(n=Math.round(O+G-q+k),U[1]=Math.max(n,U[1])),0>K-N/2?U[0]=Math.max(Math.round(-K+N/2),U[0]):K+N/2>v&&(U[2]=Math.max(Math.round(K+
+N/2-v),U[2])),p.sideOverflow=n)}}}),0===w(U)||this.verifyDataLabelOverflow(U))&&(this.placeDataLabels(),this.points.forEach(function(c){Y=l(e,c.options.dataLabels);if(n=u(Y.connectorWidth,1)){var d;E=c.connector;if((p=c.dataLabel)&&p._pos&&c.visible&&0<c.labelDistance){T=p._attr.visibility;if(d=!E)c.connector=E=a.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+c.colorIndex+(c.className?" "+c.className:"")).add(b.dataLabelsGroup),a.styledMode||E.attr({"stroke-width":n,
+stroke:Y.connectorColor||c.color||z.neutralColor60});E[d?"attr":"animate"]({d:c.getConnectorPath()});E.attr("visibility",T)}else E&&(c.connector=E.destroy())}}))},G.pie.prototype.placeDataLabels=function(){this.points.forEach(function(b){var c=b.dataLabel,d;c&&b.visible&&((d=c._pos)?(c.sideOverflow&&(c._attr.width=Math.max(c.getBBox().width-c.sideOverflow,0),c.css({width:c._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),c.shortened=!0),c.attr(c._attr),
+c[c.moved?"animate":"attr"](d),c.moved=!0):c&&c.attr({y:-9999}));delete b.distributeBox},this)},G.pie.prototype.alignDataLabel=e,G.pie.prototype.verifyDataLabelOverflow=function(b){var c=this.center,d=this.options,a=d.center,e=d.minSize||80,f=null!==d.size;if(!f){if(null!==a[0])var k=Math.max(c[2]-Math.max(b[1],b[3]),e);else k=Math.max(c[2]-b[1]-b[3],e),c[0]+=(b[3]-b[1])/2;null!==a[1]?k=v(k,e,c[2]-Math.max(b[0],b[2])):(k=v(k,e,c[2]-b[0]-b[2]),c[1]+=(b[0]-b[2])/2);k<c[2]?(c[2]=k,c[3]=Math.min(n(d.innerSize||
+0,k),k),this.translate(c),this.drawDataLabels&&this.drawDataLabels()):f=!0}return f});G.column&&(G.column.prototype.alignDataLabel=function(b,c,d,a,e){var f=this.chart.inverted,g=b.series,h=b.dlBox||b.shapeArgs,k=u(b.below,b.plotY>u(this.translatedThreshold,g.yAxis.len)),m=u(d.inside,!!this.options.stacking);h&&(a=l(h),0>a.y&&(a.height+=a.y,a.y=0),h=a.y+a.height-g.yAxis.len,0<h&&h<a.height&&(a.height-=h),f&&(a={x:g.yAxis.len-a.y-a.height,y:g.xAxis.len-a.x-a.width,width:a.height,height:a.width}),m||
+(f?(a.x+=k?0:a.width,a.width=0):(a.y+=k?a.height:0,a.height=0)));d.align=u(d.align,!f||m?"center":k?"right":"left");d.verticalAlign=u(d.verticalAlign,f||m?"middle":k?"top":"bottom");H.prototype.alignDataLabel.call(this,b,c,d,a,e);d.inside&&b.contrastColor&&c.css({color:b.contrastColor})})});O(e,"Extensions/OverlappingDataLabels.js",[e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],function(e,b){function D(b,e){var f=!1;if(b){var d=b.newOpacity;b.oldOpacity!==d&&(b.alignAttr&&b.placed?(b[d?"removeClass":
+"addClass"]("highcharts-data-label-hidden"),f=!0,b.alignAttr.opacity=d,b[b.isOld?"animate":"attr"](b.alignAttr,null,function(){e.styledMode||b.css({pointerEvents:d?"auto":"none"});b.visibility=d?"inherit":"hidden"}),H(e,"afterHideOverlappingLabel")):b.attr({opacity:d}));b.isOld=!0}return f}var z=b.addEvent,H=b.fireEvent,G=b.isArray,C=b.isNumber,B=b.objectEach,x=b.pick;z(e,"render",function(){var b=this,e=[];(this.labelCollectors||[]).forEach(function(b){e=e.concat(b())});(this.yAxis||[]).forEach(function(b){b.stacking&&
+b.options.stackLabels&&!b.options.stackLabels.allowOverlap&&B(b.stacking.stacks,function(b){B(b,function(b){e.push(b.label)})})});(this.series||[]).forEach(function(f){var d=f.options.dataLabels;f.visible&&(!1!==d.enabled||f._hasPointLabels)&&(d=function(d){return d.forEach(function(d){d.visible&&(G(d.dataLabels)?d.dataLabels:d.dataLabel?[d.dataLabel]:[]).forEach(function(f){var k=f.options;f.labelrank=x(k.labelrank,d.labelrank,d.shapeArgs&&d.shapeArgs.height);k.allowOverlap?(f.oldOpacity=f.opacity,
+f.newOpacity=1,D(f,b)):e.push(f)})})},d(f.nodes||[]),d(f.points))});this.hideOverlappingLabels(e)});e.prototype.hideOverlappingLabels=function(b){var e=this,f=b.length,d=e.renderer,q,k,l,w=!1;var u=function(b){var e,c=b.box?0:b.padding||0,f=e=0,a;if(b&&(!b.alignAttr||b.placed)){var h=b.alignAttr||{x:b.attr("x"),y:b.attr("y")};var k=b.parentGroup;b.width||(e=b.getBBox(),b.width=e.width,b.height=e.height,e=d.fontMetrics(null,b.element).h);var l=b.width-2*c;(a={left:"0",center:"0.5",right:"1"}[b.alignValue])?
+f=+a*l:C(b.x)&&Math.round(b.x)!==b.translateX&&(f=b.x-b.translateX);return{x:h.x+(k.translateX||0)+c-(f||0),y:h.y+(k.translateY||0)+c-e,width:b.width-2*c,height:b.height-2*c}}};for(k=0;k<f;k++)if(q=b[k])q.oldOpacity=q.opacity,q.newOpacity=1,q.absoluteBox=u(q);b.sort(function(b,d){return(d.labelrank||0)-(b.labelrank||0)});for(k=0;k<f;k++){var n=(u=b[k])&&u.absoluteBox;for(q=k+1;q<f;++q){var x=(l=b[q])&&l.absoluteBox;!n||!x||u===l||0===u.newOpacity||0===l.newOpacity||x.x>=n.x+n.width||x.x+x.width<=
+n.x||x.y>=n.y+n.height||x.y+x.height<=n.y||((u.labelrank<l.labelrank?u:l).newOpacity=0)}}b.forEach(function(b){D(b,e)&&(w=!0)});w&&H(e,"afterHideAllOverlappingLabels")}});O(e,"Core/Responsive.js",[e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],function(e,b){var D=b.find,z=b.isArray,H=b.isObject,G=b.merge,C=b.objectEach,B=b.pick,x=b.splat,w=b.uniqueKey;e.prototype.setResponsive=function(b,e){var d=this.options.responsive,f=[],k=this.currentResponsive;!e&&d&&d.rules&&d.rules.forEach(function(b){"undefined"===
+typeof b._id&&(b._id=w());this.matchResponsiveRule(b,f)},this);e=G.apply(0,f.map(function(b){return D(d.rules,function(d){return d._id===b}).chartOptions}));e.isResponsiveOptions=!0;f=f.toString()||void 0;f!==(k&&k.ruleIds)&&(k&&this.update(k.undoOptions,b,!0),f?(k=this.currentOptions(e),k.isResponsiveOptions=!0,this.currentResponsive={ruleIds:f,mergedOptions:e,undoOptions:k},this.update(e,b,!0)):this.currentResponsive=void 0)};e.prototype.matchResponsiveRule=function(b,e){var d=b.condition;(d.callback||
+function(){return this.chartWidth<=B(d.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=B(d.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=B(d.minWidth,0)&&this.chartHeight>=B(d.minHeight,0)}).call(this)&&e.push(b._id)};e.prototype.currentOptions=function(b){function e(b,f,q,u){var k;C(b,function(b,l){if(!u&&-1<d.collectionsWithUpdate.indexOf(l)&&f[l])for(b=x(b),q[l]=[],k=0;k<Math.max(b.length,f[l].length);k++)f[l][k]&&(void 0===b[k]?q[l][k]=f[l][k]:(q[l][k]={},e(b[k],f[l][k],q[l][k],u+1)));else H(b)?
+(q[l]=z(b)?[]:{},e(b,f[l]||{},q[l],u+1)):q[l]="undefined"===typeof f[l]?null:f[l]})}var d=this,q={};e(b,this.options,q,0);return q}});O(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Options.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Series/Series.js"]],function(e,b,I,z,H,G,C,B,x){e.animate=H.animate;e.animObject=H.animObject;e.getDeferredAnimation=
+H.getDeferredAnimation;e.setAnimation=H.setAnimation;e.stop=H.stop;e.timers=z.timers;e.AST=G;e.Fx=z;e.Series=x;e.SVGElement=B;e.dateFormat=C.dateFormat;e.format=C.format;e.numberFormat=C.numberFormat;e.defaultOptions=I.defaultOptions;e.getOptions=I.getOptions;e.time=I.defaultTime;e.setOptions=I.setOptions;e.addEvent=b.addEvent;e.arrayMax=b.arrayMax;e.arrayMin=b.arrayMin;e.attr=b.attr;e.clearTimeout=b.clearTimeout;e.correctFloat=b.correctFloat;e.createElement=b.createElement;e.css=b.css;e.defined=
+b.defined;e.destroyObjectProperties=b.destroyObjectProperties;e.discardElement=b.discardElement;e.erase=b.erase;e.error=b.error;e.extend=b.extend;e.extendClass=b.extendClass;e.find=b.find;e.fireEvent=b.fireEvent;e.getMagnitude=b.getMagnitude;e.getStyle=b.getStyle;e.inArray=b.inArray;e.isArray=b.isArray;e.isClass=b.isClass;e.isDOMElement=b.isDOMElement;e.isFunction=b.isFunction;e.isNumber=b.isNumber;e.isObject=b.isObject;e.isString=b.isString;e.keys=b.keys;e.merge=b.merge;e.normalizeTickInterval=b.normalizeTickInterval;
+e.objectEach=b.objectEach;e.offset=b.offset;e.pad=b.pad;e.pick=b.pick;e.pInt=b.pInt;e.relativeLength=b.relativeLength;e.removeEvent=b.removeEvent;e.splat=b.splat;e.stableSort=b.stableSort;e.syncTimeout=b.syncTimeout;e.timeUnits=b.timeUnits;e.uniqueKey=b.uniqueKey;e.useSerialIds=b.useSerialIds;e.wrap=b.wrap;return e});e["masters/highcharts.src.js"]._modules=e;return e["masters/highcharts.src.js"]});
 //# sourceMappingURL=highcharts.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/highcharts.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 372 - 149
node_modules/highcharts/highcharts.src.d.ts


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 329 - 956
node_modules/highcharts/highcharts.src.js


+ 691 - 682
node_modules/highcharts/highmaps.js

@@ -1,689 +1,698 @@
 /*
- Highmaps JS v9.0.1 (2021-02-15)
+ Highmaps JS v9.1.0 (2021-05-03)
 
  (c) 2011-2021 Torstein Honsi
 
  License: www.highcharts.com/license
 */
-(function(V,J){"object"===typeof module&&module.exports?(J["default"]=J,module.exports=V.document?J(V):J):"function"===typeof define&&define.amd?define("highcharts/highmaps",function(){return J(V)}):(V.Highcharts&&V.Highcharts.error(16,!0),V.Highcharts=J(V))})("undefined"!==typeof window?window:this,function(V){function J(w,l,b,y){w.hasOwnProperty(l)||(w[l]=y.apply(null,b))}var b={};J(b,"Core/Globals.js",[],function(){var w="undefined"!==typeof V?V:"undefined"!==typeof window?window:{},l=w.document,
-b=w.navigator&&w.navigator.userAgent||"",y=l&&l.createElementNS&&!!l.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,z=/(edge|msie|trident)/i.test(b)&&!w.opera,C=-1!==b.indexOf("Firefox"),v=-1!==b.indexOf("Chrome"),t=C&&4>parseInt(b.split("Firefox/")[1],10),q=function(){};return{product:"Highcharts",version:"9.0.1",deg2rad:2*Math.PI/360,doc:l,hasBidiBug:t,hasTouch:!!w.TouchEvent,isMS:z,isWebKit:-1!==b.indexOf("AppleWebKit"),isFirefox:C,isChrome:v,isSafari:!v&&-1!==b.indexOf("Safari"),
-isTouchDevice:/(Mobile|Android|Windows Phone)/.test(b),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},supportsPassiveEvents:function(){var h=!1;if(!z){var c=Object.defineProperty({},"passive",{get:function(){h=!0}});w.addEventListener&&w.removeEventListener&&(w.addEventListener("testPassive",q,c),w.removeEventListener("testPassive",q,c))}return h}(),symbolSizes:{},svg:y,win:w,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:q,charts:[],dateFormats:{}}});J(b,"Core/Utilities.js",
-[b["Core/Globals.js"]],function(w){function l(d,g,M,m){var F=g?"Highcharts error":"Highcharts warning";32===d&&(d=F+": Deprecated member");var W=c(d),O=W?F+" #"+d+": www.highcharts.com/errors/"+d+"/":d.toString();F=function(){if(g)throw Error(O);a.console&&-1===l.messages.indexOf(O)&&console.warn(O)};if("undefined"!==typeof m){var f="";W&&(O+="?");n(m,function(d,a){f+="\n - "+a+": "+d;W&&(O+=encodeURI(a)+"="+encodeURI(d))});O+=f}M?e(M,"displayError",{code:d,message:O,params:m},F):F();l.messages.push(O)}
-function b(){var d,a=arguments,M={},e=function(a,d){"object"!==typeof a&&(a={});n(d,function(F,D){"__proto__"!==D&&"constructor"!==D&&(!t(F,!0)||h(F)||q(F)?a[D]=d[D]:a[D]=e(a[D]||{},F))});return a};!0===a[0]&&(M=a[1],a=Array.prototype.slice.call(a,2));var F=a.length;for(d=0;d<F;d++)M=e(M,a[d]);return M}function y(a,d){var e={};n(a,function(M,F){if(t(a[F],!0)&&!a.nodeType&&d[F])M=y(a[F],d[F]),Object.keys(M).length&&(e[F]=M);else if(t(a[F])||a[F]!==d[F])e[F]=a[F]});return e}function z(a,d){return parseInt(a,
-d||10)}function C(a){return"string"===typeof a}function v(a){a=Object.prototype.toString.call(a);return"[object Array]"===a||"[object Array Iterator]"===a}function t(a,d){return!!a&&"object"===typeof a&&(!d||!v(a))}function q(a){return t(a)&&"number"===typeof a.nodeType}function h(a){var d=a&&a.constructor;return!(!t(a,!0)||q(a)||!d||!d.name||"Object"===d.name)}function c(a){return"number"===typeof a&&!isNaN(a)&&Infinity>a&&-Infinity<a}function p(a){return"undefined"!==typeof a&&null!==a}function k(a,
-d,e){var M;C(d)?p(e)?a.setAttribute(d,e):a&&a.getAttribute&&((M=a.getAttribute(d))||"class"!==d||(M=a.getAttribute(d+"Name"))):n(d,function(d,e){a.setAttribute(e,d)});return M}function G(a,d){var e;a||(a={});for(e in d)a[e]=d[e];return a}function f(){for(var a=arguments,d=a.length,e=0;e<d;e++){var g=a[e];if("undefined"!==typeof g&&null!==g)return g}}function H(a,d){w.isMS&&!w.svg&&d&&"undefined"!==typeof d.opacity&&(d.filter="alpha(opacity="+100*d.opacity+")");G(a.style,d)}function x(a,e,M,g,F){a=
-d.createElement(a);e&&G(a,e);F&&H(a,{padding:"0",border:"none",margin:"0"});M&&H(a,M);g&&g.appendChild(a);return a}function K(a,d){return parseFloat(a.toPrecision(d||14))}function L(a,d,e,g){a=+a||0;d=+d;var F=w.defaultOptions.lang,M=(a.toString().split(".")[1]||"").split("e")[0].length,m=a.toString().split("e"),n=d;if(-1===d)d=Math.min(M,20);else if(!c(d))d=2;else if(d&&m[1]&&0>m[1]){var D=d+ +m[1];0<=D?(m[0]=(+m[0]).toExponential(D).split("e")[0],d=D):(m[0]=m[0].split(".")[0]||0,a=20>d?(m[0]*Math.pow(10,
-m[1])).toFixed(d):0,m[1]=0)}var O=(Math.abs(m[1]?m[0]:a)+Math.pow(10,-Math.max(d,M)-1)).toFixed(d);M=String(z(O));D=3<M.length?M.length%3:0;e=f(e,F.decimalPoint);g=f(g,F.thousandsSep);a=(0>a?"-":"")+(D?M.substr(0,D)+g:"");a=0>+m[1]&&!n?"0":a+M.substr(D).replace(/(\d{3})(?=\d)/g,"$1"+g);d&&(a+=e+O.slice(-d));m[1]&&0!==+a&&(a+="e"+m[1]);return a}function r(a,d){if(!a)return d;var e=a.split(".").reverse();if(1===e.length)return d[a];for(a=e.pop();"undefined"!==typeof a&&"undefined"!==typeof d&&null!==
-d;)d=d[a],a=e.pop();return d}function n(a,d,e){for(var M in a)Object.hasOwnProperty.call(a,M)&&d.call(e||a[M],a[M],M,a)}function u(a,d,e){function M(d,F){var e=a.removeEventListener||w.removeEventListenerPolyfill;e&&e.call(a,d,F,!1)}function F(F){var e;if(a.nodeName){if(d){var g={};g[d]=!0}else g=F;n(g,function(a,d){if(F[d])for(e=F[d].length;e--;)M(d,F[d][e].fn)})}}var g="function"===typeof a&&a.prototype||a;if(Object.hasOwnProperty.call(g,"hcEvents")){var m=g.hcEvents;d?(g=m[d]||[],e?(m[d]=g.filter(function(a){return e!==
-a.fn}),M(d,e)):(F(m),m[d]=[])):(F(m),delete g.hcEvents)}}function e(a,e,M,g){M=M||{};if(d.createEvent&&(a.dispatchEvent||a.fireEvent)){var F=d.createEvent("Events");F.initEvent(e,!0,!0);G(F,M);a.dispatchEvent?a.dispatchEvent(F):a.fireEvent(e,F)}else if(a.hcEvents){M.target||G(M,{preventDefault:function(){M.defaultPrevented=!0},target:a,type:e});F=[];for(var m=a,n=!1;m.hcEvents;)Object.hasOwnProperty.call(m,"hcEvents")&&m.hcEvents[e]&&(F.length&&(n=!0),F.unshift.apply(F,m.hcEvents[e])),m=Object.getPrototypeOf(m);
-n&&F.sort(function(a,d){return a.order-d.order});F.forEach(function(d){!1===d.fn.call(a,M)&&M.preventDefault()})}g&&!M.defaultPrevented&&g.call(a,M)}var g=w.charts,d=w.doc,a=w.win;"";(l||(l={})).messages=[];var m;Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};var E=Array.prototype.find?function(a,d){return a.find(d)}:function(a,d){var e,g=a.length;for(e=0;e<g;e++)if(d(a[e],e))return a[e]};n({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(a,d){w[d]=
-function(e){var g;l(32,!1,void 0,(g={},g["Highcharts."+d]="use Array."+a,g));return Array.prototype[a].apply(e,[].slice.call(arguments,1))}});var I,A=function(){var a=Math.random().toString(36).substring(2,9)+"-",d=0;return function(){return"highcharts-"+(I?"":a)+d++}}(),N=w.getOptions=function(){return w.defaultOptions},R=w.setOptions=function(a){w.defaultOptions=b(!0,w.defaultOptions,a);(a.time||a.global)&&w.time.update(b(w.defaultOptions.global,w.defaultOptions.time,a.global,a.time));return w.defaultOptions};
-a.jQuery&&(a.jQuery.fn.highcharts=function(){var a=[].slice.call(arguments);if(this[0])return a[0]?(new (w[C(a[0])?a.shift():"Chart"])(this[0],a[0],a[1]),this):g[k(this[0],"data-highcharts-chart")]});return{addEvent:function(a,d,e,g){void 0===g&&(g={});var F="function"===typeof a&&a.prototype||a;Object.hasOwnProperty.call(F,"hcEvents")||(F.hcEvents={});F=F.hcEvents;w.Point&&a instanceof w.Point&&a.series&&a.series.chart&&(a.series.chart.runTrackerClick=!0);var m=a.addEventListener||w.addEventListenerPolyfill;
-m&&m.call(a,d,e,w.supportsPassiveEvents?{passive:void 0===g.passive?-1!==d.indexOf("touch"):g.passive,capture:!1}:!1);F[d]||(F[d]=[]);F[d].push({fn:e,order:"number"===typeof g.order?g.order:Infinity});F[d].sort(function(a,d){return a.order-d.order});return function(){u(a,d,e)}},arrayMax:function(a){for(var d=a.length,e=a[0];d--;)a[d]>e&&(e=a[d]);return e},arrayMin:function(a){for(var d=a.length,e=a[0];d--;)a[d]<e&&(e=a[d]);return e},attr:k,clamp:function(a,d,e){return a>d?a<e?a:e:d},cleanRecursively:y,
-clearTimeout:function(a){p(a)&&clearTimeout(a)},correctFloat:K,createElement:x,css:H,defined:p,destroyObjectProperties:function(a,d){n(a,function(e,g){e&&e!==d&&e.destroy&&e.destroy();delete a[g]})},discardElement:function(a){m||(m=x("div"));a&&m.appendChild(a);m.innerHTML=""},erase:function(a,d){for(var e=a.length;e--;)if(a[e]===d){a.splice(e,1);break}},error:l,extend:G,extendClass:function(a,d){var e=function(){};e.prototype=new a;G(e.prototype,d);return e},find:E,fireEvent:e,format:function(a,
-d,e){var g="{",F=!1,m=[],M=/f$/,n=/\.([0-9])/,D=w.defaultOptions.lang,f=e&&e.time||w.time;for(e=e&&e.numberFormatter||L;a;){var u=a.indexOf(g);if(-1===u)break;var E=a.slice(0,u);if(F){E=E.split(":");g=r(E.shift()||"",d);if(E.length&&"number"===typeof g)if(E=E.join(":"),M.test(E)){var k=parseInt((E.match(n)||["","-1"])[1],10);null!==g&&(g=e(g,k,D.decimalPoint,-1<E.indexOf(",")?D.thousandsSep:""))}else g=f.dateFormat(E,g);m.push(g)}else m.push(E);a=a.slice(u+1);g=(F=!F)?"}":"{"}m.push(a);return m.join("")},
-getMagnitude:function(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))},getNestedProperty:r,getOptions:N,getStyle:function(d,e,g){if("width"===e)return e=Math.min(d.offsetWidth,d.scrollWidth),g=d.getBoundingClientRect&&d.getBoundingClientRect().width,g<e&&g>=e-1&&(e=Math.floor(g)),Math.max(0,e-w.getStyle(d,"padding-left")-w.getStyle(d,"padding-right"));if("height"===e)return Math.max(0,Math.min(d.offsetHeight,d.scrollHeight)-w.getStyle(d,"padding-top")-w.getStyle(d,"padding-bottom"));a.getComputedStyle||
-l(27,!0);if(d=a.getComputedStyle(d,void 0))d=d.getPropertyValue(e),f(g,"opacity"!==e)&&(d=z(d));return d},inArray:function(a,d,e){l(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"});return d.indexOf(a,e)},isArray:v,isClass:h,isDOMElement:q,isFunction:function(a){return"function"===typeof a},isNumber:c,isObject:t,isString:C,keys:function(a){l(32,!1,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(a)},merge:b,normalizeTickInterval:function(a,d,e,g,F){var m=a;e=f(e,1);var n=a/
-e;d||(d=F?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===g&&(1===e?d=d.filter(function(a){return 0===a%1}):.1>=e&&(d=[1/e])));for(g=0;g<d.length&&!(m=d[g],F&&m*e>=a||!F&&n<=(d[g]+(d[g+1]||d[g]))/2);g++);return m=K(m*e,-Math.round(Math.log(.001)/Math.LN10))},numberFormat:L,objectEach:n,offset:function(e){var g=d.documentElement;e=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:e.top+(a.pageYOffset||g.scrollTop)-(g.clientTop||0),left:e.left+(a.pageXOffset||
-g.scrollLeft)-(g.clientLeft||0),width:e.width,height:e.height}},pad:function(a,d,e){return Array((d||2)+1-String(a).replace("-","").length).join(e||"0")+a},pick:f,pInt:z,relativeLength:function(a,d,e){return/%$/.test(a)?d*parseFloat(a)/100+(e||0):parseFloat(a)},removeEvent:u,setOptions:R,splat:function(a){return v(a)?a:[a]},stableSort:function(a,d){var e=a.length,g,F;for(F=0;F<e;F++)a[F].safeI=F;a.sort(function(a,e){g=d(a,e);return 0===g?a.safeI-e.safeI:g});for(F=0;F<e;F++)delete a[F].safeI},syncTimeout:function(a,
-d,e){if(0<d)return setTimeout(a,d,e);a.call(0,e);return-1},timeUnits:{millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5},uniqueKey:A,useSerialIds:function(a){return I=f(a,I)},wrap:function(a,d,e){var g=a[d];a[d]=function(){var a=Array.prototype.slice.call(arguments),d=arguments,m=this;m.proceed=function(){g.apply(m,arguments.length?arguments:d)};a.unshift(g);a=e.apply(this,a);m.proceed=null;return a}}}});J(b,"Core/Renderer/HTML/AST.js",[b["Core/Globals.js"],
-b["Core/Utilities.js"]],function(w,l){var b=w.SVG_NS,y=l.attr,z=l.createElement,C=l.discardElement,v=l.error,t=l.isString,q=l.objectEach,h=l.splat;"";var c=!1;try{c=!!(new DOMParser).parseFromString("","text/html")}catch(p){}return function(){function p(k){this.nodes="string"===typeof k?this.parseMarkup(k):k}p.filterUserAttributes=function(k){q(k,function(c,f){var h=!0;-1===p.allowedAttributes.indexOf(f)&&(h=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(f)&&(h=t(c)&&p.allowedReferences.some(function(f){return 0===
-c.indexOf(f)}));h||(v("Highcharts warning: Invalid attribute '"+f+"' in config"),delete k[f])});return k};p.setElementHTML=function(k,c){k.innerHTML="";c&&(new p(c)).addToDOM(k)};p.prototype.addToDOM=function(k){function c(f,k){var x;h(f).forEach(function(f){var h=f.tagName,r=f.textContent?w.doc.createTextNode(f.textContent):void 0;if(h)if("#text"===h)var n=r;else if(-1!==p.allowedTags.indexOf(h)){h=w.doc.createElementNS("svg"===h?b:k.namespaceURI||b,h);var u=f.attributes||{};q(f,function(e,g){"tagName"!==
-g&&"attributes"!==g&&"children"!==g&&"textContent"!==g&&(u[g]=e)});y(h,p.filterUserAttributes(u));r&&h.appendChild(r);c(f.children||[],h);n=h}else v("Highcharts warning: Invalid tagName '"+h+"' in config");n&&k.appendChild(n);x=n});return x}return c(this.nodes,k)};p.prototype.parseMarkup=function(k){var h=[];if(c)k=(new DOMParser).parseFromString(k,"text/html");else{var f=z("div");f.innerHTML=k;k={body:f}}var H=function(f,k){var c=f.nodeName.toLowerCase(),h={tagName:c};if("#text"===c){c=f.textContent||
-"";if(/^[\s]*$/.test(c))return;h.textContent=c}if(c=f.attributes){var n={};[].forEach.call(c,function(e){n[e.name]=e.value});h.attributes=n}if(f.childNodes.length){var u=[];[].forEach.call(f.childNodes,function(e){H(e,u)});u.length&&(h.children=u)}k.push(h)};[].forEach.call(k.body.childNodes,function(f){return H(f,h)});f&&C(f);return h};p.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr ul #text".split(" ");
-p.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 xy y y1 y2 zIndex".split(" ");
-p.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");return p}()});J(b,"Core/Color/Color.js",[b["Core/Globals.js"],b["Core/Utilities.js"]],function(w,l){var b=l.isNumber,y=l.merge,z=l.pInt;"";l=function(){function l(v){this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[z(t[1]),z(t[2]),z(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[z(t[1]),
-z(t[2]),z(t[3]),1]}}];this.rgba=[];if(w.Color!==l)return new w.Color(v);if(!(this instanceof l))return new l(v);this.init(v)}l.parse=function(v){return new l(v)};l.prototype.init=function(v){var t,q;if((this.input=v=l.names[v&&v.toLowerCase?v.toLowerCase():""]||v)&&v.stops)this.stops=v.stops.map(function(c){return new l(c[1])});else{if(v&&v.charAt&&"#"===v.charAt()){var h=v.length;v=parseInt(v.substr(1),16);7===h?t=[(v&16711680)>>16,(v&65280)>>8,v&255,1]:4===h&&(t=[(v&3840)>>4|(v&3840)>>8,(v&240)>>
-4|v&240,(v&15)<<4|v&15,1])}if(!t)for(q=this.parsers.length;q--&&!t;){var c=this.parsers[q];(h=c.regex.exec(v))&&(t=c.parse(h))}}this.rgba=t||[]};l.prototype.get=function(v){var t=this.input,q=this.rgba;if("undefined"!==typeof this.stops){var h=y(t);h.stops=[].concat(h.stops);this.stops.forEach(function(c,p){h.stops[p]=[h.stops[p][0],c.get(v)]})}else h=q&&b(q[0])?"rgb"===v||!v&&1===q[3]?"rgb("+q[0]+","+q[1]+","+q[2]+")":"a"===v?q[3]:"rgba("+q.join(",")+")":t;return h};l.prototype.brighten=function(v){var t,
-q=this.rgba;if(this.stops)this.stops.forEach(function(h){h.brighten(v)});else if(b(v)&&0!==v)for(t=0;3>t;t++)q[t]+=z(255*v),0>q[t]&&(q[t]=0),255<q[t]&&(q[t]=255);return this};l.prototype.setOpacity=function(v){this.rgba[3]=v;return this};l.prototype.tweenTo=function(v,t){var q=this.rgba,h=v.rgba;h.length&&q&&q.length?(v=1!==h[3]||1!==q[3],t=(v?"rgba(":"rgb(")+Math.round(h[0]+(q[0]-h[0])*(1-t))+","+Math.round(h[1]+(q[1]-h[1])*(1-t))+","+Math.round(h[2]+(q[2]-h[2])*(1-t))+(v?","+(h[3]+(q[3]-h[3])*(1-
-t)):"")+")"):t=v.input||"none";return t};l.names={white:"#ffffff",black:"#000000"};return l}();w.Color=l;w.color=l.parse;return l});J(b,"Core/Color/Palette.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",neutralColor80:"#333333",neutralColor60:"#666666",neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",
-highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",indicatorPositiveLine:"#06b535",indicatorNegativeLine:"#f21313"}});J(b,"Core/Animation/Fx.js",[b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,l){var w=b.win,y=l.isNumber,z=l.objectEach;l=function(){function l(l,t,q){this.pos=NaN;this.options=t;this.elem=l;this.prop=q}l.prototype.dSetter=function(){var l=this.paths,t=l&&l[0];l=l&&l[1];var q=[],h=this.now||
-0;if(1!==h&&t&&l)if(t.length===l.length&&1>h)for(var c=0;c<l.length;c++){for(var p=t[c],k=l[c],G=[],f=0;f<k.length;f++){var H=p[f],x=k[f];y(H)&&y(x)&&("A"!==k[0]||4!==f&&5!==f)?G[f]=H+h*(x-H):G[f]=x}q.push(G)}else q=l;else q=this.toD||[];this.elem.attr("d",q,void 0,!0)};l.prototype.update=function(){var l=this.elem,t=this.prop,q=this.now,h=this.options.step;if(this[t+"Setter"])this[t+"Setter"]();else l.attr?l.element&&l.attr(t,q,null,!0):l.style[t]=q+this.unit;h&&h.call(l,q,this)};l.prototype.run=
-function(v,t,q){var h=this,c=h.options,p=function(f){return p.stopped?!1:h.step(f)},k=w.requestAnimationFrame||function(f){setTimeout(f,13)},G=function(){for(var f=0;f<l.timers.length;f++)l.timers[f]()||l.timers.splice(f--,1);l.timers.length&&k(G)};v!==t||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=v,this.end=t,this.unit=q,this.now=this.start,this.pos=0,p.elem=this.elem,p.prop=this.prop,p()&&1===l.timers.push(p)&&k(G)):(delete c.curAnim[this.prop],c.complete&&0===Object.keys(c.curAnim).length&&
-c.complete.call(this.elem))};l.prototype.step=function(l){var t=+new Date,q=this.options,h=this.elem,c=q.complete,p=q.duration,k=q.curAnim;if(h.attr&&!h.element)l=!1;else if(l||t>=p+this.startTime){this.now=this.end;this.pos=1;this.update();var G=k[this.prop]=!0;z(k,function(f){!0!==f&&(G=!1)});G&&c&&c.call(h);l=!1}else this.pos=q.easing((t-this.startTime)/p),this.now=this.start+(this.end-this.start)*this.pos,this.update(),l=!0;return l};l.prototype.initPath=function(l,t,q){function h(f,k){for(;f.length<
-K;){var n=f[0],u=k[K-f.length];u&&"M"===n[0]&&(f[0]="C"===u[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]);f.unshift(n);G&&f.push(f[f.length-1])}}function c(k,c){for(;k.length<K;)if(c=k[k.length/f-1].slice(),"C"===c[0]&&(c[1]=c[5],c[2]=c[6]),G){var n=k[k.length/f].slice();k.splice(k.length/2,0,c,n)}else k.push(c)}var p=l.startX,k=l.endX;t=t&&t.slice();q=q.slice();var G=l.isArea,f=G?2:1;if(!t)return[q,q];if(p&&k){for(l=0;l<p.length;l++)if(p[l]===k[0]){var H=l;break}else if(p[0]===k[k.length-
-p.length+l]){H=l;var x=!0;break}else if(p[p.length-1]===k[k.length-p.length+l]){H=p.length-l;break}"undefined"===typeof H&&(t=[])}if(t.length&&y(H)){var K=q.length+H*f;x?(h(t,q),c(q,t)):(h(q,t),c(t,q))}return[t,q]};l.prototype.fillSetter=function(){l.prototype.strokeSetter.apply(this,arguments)};l.prototype.strokeSetter=function(){this.elem.attr(this.prop,b.color(this.start).tweenTo(b.color(this.end),this.pos),null,!0)};l.timers=[];return l}();b.Fx=l;b.timers=l.timers;return l});J(b,"Core/Animation/AnimationUtilities.js",
-[b["Core/Animation/Fx.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,l,B){var w=B.defined,z=B.getStyle,C=B.isArray,v=B.isNumber,t=B.isObject,q=B.merge,h=B.objectEach,c=B.pick;B=l.setAnimation=function(f,k){k.renderer.globalAnimation=c(f,k.options.chart.animation,!0)};var p=l.animObject=function(f){return t(f)?q({duration:500,defer:0},f):{duration:f?500:0,defer:0}},k=l.getDeferredAnimation=function(f,k,c){var h=p(k),x=0,r=0;(c?[c]:f.series).forEach(function(n){n=p(n.options.animation);
-x=k&&w(k.defer)?h.defer:Math.max(x,n.duration+n.defer);r=Math.min(h.duration,n.duration)});f.renderer.forExport&&(x=0);return{defer:Math.max(0,x-r),duration:Math.min(x,r)}},G=l.stop=function(f,k){for(var c=b.timers.length;c--;)b.timers[c].elem!==f||k&&k!==b.timers[c].prop||(b.timers[c].stopped=!0)};return{animate:function(f,k,c){var x,p="",r,n;if(!t(c)){var u=arguments;c={duration:u[2],easing:u[3],complete:u[4]}}v(c.duration)||(c.duration=400);c.easing="function"===typeof c.easing?c.easing:Math[c.easing]||
-Math.easeInOutSine;c.curAnim=q(k);h(k,function(e,g){G(f,g);n=new b(f,c,g);r=null;"d"===g&&C(k.d)?(n.paths=n.initPath(f,f.pathArray,k.d),n.toD=k.d,x=0,r=1):f.attr?x=f.attr(g):(x=parseFloat(z(f,g))||0,"opacity"!==g&&(p="px"));r||(r=e);r&&r.match&&r.match("px")&&(r=r.replace(/px/g,""));n.run(x,r,p)})},animObject:p,getDeferredAnimation:k,setAnimation:B,stop:G}});J(b,"Core/Renderer/SVG/SVGElement.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Renderer/HTML/AST.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],
-b["Core/Color/Palette.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C){var v=b.animate,t=b.animObject,q=b.stop,h=y.deg2rad,c=y.doc,p=y.hasTouch,k=y.noop,G=y.svg,f=y.SVG_NS,H=y.win,x=C.attr,K=C.createElement,L=C.css,r=C.defined,n=C.erase,u=C.extend,e=C.fireEvent,g=C.isArray,d=C.isFunction,a=C.isNumber,m=C.isString,E=C.merge,I=C.objectEach,A=C.pick,N=C.pInt,R=C.syncTimeout,w=C.uniqueKey;"";b=function(){function b(){this.height=this.element=void 0;this.opacity=1;this.renderer=void 0;this.SVG_NS=f;
-this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ");this.width=void 0}b.prototype._defaultGetter=function(a){a=A(this[a+"Value"],this[a],this.element?this.element.getAttribute(a):null,0);/^[\-0-9\.]+$/.test(a)&&(a=parseFloat(a));return a};b.prototype._defaultSetter=function(a,d,e){e.setAttribute(d,a)};b.prototype.add=function(a){var d=this.renderer,e=this.element;a&&(this.parentGroup=a);this.parentInverted=a&&a.inverted;"undefined"!==typeof this.textStr&&
-"text"===this.element.nodeName&&d.buildText(this);this.added=!0;if(!a||a.handleZ||this.zIndex)var g=this.zIndexSetter();g||(a?a.element:d.box).appendChild(e);if(this.onAdd)this.onAdd();return this};b.prototype.addClass=function(a,d){var e=d?"":this.attr("class")||"";a=(a||"").split(/ /g).reduce(function(a,d){-1===e.indexOf(d)&&a.push(d);return a},e?[e]:[]).join(" ");a!==e&&this.attr("class",a);return this};b.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=
-!1)};b.prototype.align=function(a,d,e){var F,g={};var f=this.renderer;var D=f.alignedObjects;var k,M;if(a){if(this.alignOptions=a,this.alignByTranslate=d,!e||m(e))this.alignTo=F=e||"renderer",n(D,this),D.push(this),e=void 0}else a=this.alignOptions,d=this.alignByTranslate,F=this.alignTo;e=A(e,f[F],f);F=a.align;f=a.verticalAlign;D=(e.x||0)+(a.x||0);var E=(e.y||0)+(a.y||0);"right"===F?k=1:"center"===F&&(k=2);k&&(D+=(e.width-(a.width||0))/k);g[d?"translateX":"x"]=Math.round(D);"bottom"===f?M=1:"middle"===
-f&&(M=2);M&&(E+=(e.height-(a.height||0))/M);g[d?"translateY":"y"]=Math.round(E);this[this.placed?"animate":"attr"](g);this.placed=!0;this.alignAttr=g;return this};b.prototype.alignSetter=function(a){var d={left:"start",center:"middle",right:"end"};d[a]&&(this.alignValue=a,this.element.setAttribute("text-anchor",d[a]))};b.prototype.animate=function(a,d,e){var F=this,g=t(A(d,this.renderer.globalAnimation,!0));d=g.defer;A(c.hidden,c.msHidden,c.webkitHidden,!1)&&(g.duration=0);0!==g.duration?(e&&(g.complete=
-e),R(function(){F.element&&v(F,a,g)},d)):(this.attr(a,void 0,e),I(a,function(a,d){g.step&&g.step.call(this,a,{prop:d,pos:1,elem:this})},this));return this};b.prototype.applyTextOutline=function(a){var d=this.element;-1!==a.indexOf("contrast")&&(a=a.replace(/contrast/g,this.renderer.getContrast(d.style.fill)));var e=a.split(" ");a=e[e.length-1];if((e=e[0])&&"none"!==e&&y.svg){this.fakeTS=!0;this.ySetter=this.xSetter;e=e.replace(/(^[\d\.]+)(.*?)$/g,function(a,d,e){return 2*Number(d)+e});this.removeTextOutline();
-var g=c.createElementNS(f,"tspan");x(g,{"class":"highcharts-text-outline",fill:a,stroke:a,"stroke-width":e,"stroke-linejoin":"round"});[].forEach.call(d.childNodes,function(a){var d=a.cloneNode(!0);d.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(a){return d.removeAttribute(a)});g.appendChild(d)});a=c.createElementNS(f,"tspan");a.textContent="\u200b";x(a,{x:d.getAttribute("x"),y:d.getAttribute("y")});g.appendChild(a);d.insertBefore(g,d.firstChild)}};b.prototype.attr=function(a,
-d,e,g){var F=this.element,m,D=this,n,f,k=this.symbolCustomAttribs;if("string"===typeof a&&"undefined"!==typeof d){var E=a;a={};a[E]=d}"string"===typeof a?D=(this[a+"Getter"]||this._defaultGetter).call(this,a,F):(I(a,function(d,e){n=!1;g||q(this,e);this.symbolName&&-1!==k.indexOf(e)&&(m||(this.symbolAttr(a),m=!0),n=!0);!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0);n||(f=this[e+"Setter"]||this._defaultSetter,f.call(this,d,e,F),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&
-this.updateShadows(e,d,f))},this),this.afterSetters());e&&e.call(this);return D};b.prototype.clip=function(a){return this.attr("clip-path",a?"url("+this.renderer.url+"#"+a.id+")":"none")};b.prototype.crisp=function(a,d){d=d||a.strokeWidth||0;var e=Math.round(d)%2/2;a.x=Math.floor(a.x||this.x||0)+e;a.y=Math.floor(a.y||this.y||0)+e;a.width=Math.floor((a.width||this.width||0)-2*e);a.height=Math.floor((a.height||this.height||0)-2*e);r(a.strokeWidth)&&(a.strokeWidth=d);return a};b.prototype.complexColor=
-function(a,d,F){var m=this.renderer,n,f,D,k,u,c,M,O,h,A,x=[],p;e(this.renderer,"complexColor",{args:arguments},function(){a.radialGradient?f="radialGradient":a.linearGradient&&(f="linearGradient");if(f){D=a[f];u=m.gradients;c=a.stops;h=F.radialReference;g(D)&&(a[f]=D={x1:D[0],y1:D[1],x2:D[2],y2:D[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===f&&h&&!r(D.gradientUnits)&&(k=D,D=E(D,m.getRadialAttr(h,k),{gradientUnits:"userSpaceOnUse"}));I(D,function(a,d){"id"!==d&&x.push(d,a)});I(c,function(a){x.push(a)});
-x=x.join(",");if(u[x])A=u[x].attr("id");else{D.id=A=w();var e=u[x]=m.createElement(f).attr(D).add(m.defs);e.radAttr=k;e.stops=[];c.forEach(function(a){0===a[1].indexOf("rgba")?(n=B.parse(a[1]),M=n.get("rgb"),O=n.get("a")):(M=a[1],O=1);a=m.createElement("stop").attr({offset:a[0],"stop-color":M,"stop-opacity":O}).add(e);e.stops.push(a)})}p="url("+m.url+"#"+A+")";F.setAttribute(d,p);F.gradient=x;a.toString=function(){return p}}})};b.prototype.css=function(a){var d=this.styles,e={},g=this.element,m="",
-n=!d,D=["textOutline","textOverflow","width"];a&&a.color&&(a.fill=a.color);d&&I(a,function(a,F){d&&d[F]!==a&&(e[F]=a,n=!0)});if(n){d&&(a=u(d,e));if(a)if(null===a.width||"auto"===a.width)delete this.textWidth;else if("text"===g.nodeName.toLowerCase()&&a.width)var f=this.textWidth=N(a.width);this.styles=a;f&&!G&&this.renderer.forExport&&delete a.width;if(g.namespaceURI===this.SVG_NS){var k=function(a,d){return"-"+d.toLowerCase()};I(a,function(a,d){-1===D.indexOf(d)&&(m+=d.replace(/([A-Z])/g,k)+":"+
-a+";")});m&&x(g,"style",m)}else L(g,a);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),a&&a.textOutline&&this.applyTextOutline(a.textOutline))}return this};b.prototype.dashstyleSetter=function(a){var d=this["stroke-width"];"inherit"===d&&(d=1);if(a=a&&a.toLowerCase()){var e=a.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,
-"").split(",");for(a=e.length;a--;)e[a]=""+N(e[a])*A(d,NaN);a=e.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",a)}};b.prototype.destroy=function(){var a=this,d=a.element||{},e=a.renderer,g=e.isSVG&&"SPAN"===d.nodeName&&a.parentGroup||void 0,m=d.ownerSVGElement;d.onclick=d.onmouseout=d.onmouseover=d.onmousemove=d.point=null;q(a);if(a.clipPath&&m){var f=a.clipPath;[].forEach.call(m.querySelectorAll("[clip-path],[CLIP-PATH]"),function(a){-1<a.getAttribute("clip-path").indexOf(f.element.id)&&
-a.removeAttribute("clip-path")});a.clipPath=f.destroy()}if(a.stops){for(m=0;m<a.stops.length;m++)a.stops[m].destroy();a.stops.length=0;a.stops=void 0}a.safeRemoveChild(d);for(e.styledMode||a.destroyShadows();g&&g.div&&0===g.div.childNodes.length;)d=g.parentGroup,a.safeRemoveChild(g.div),delete g.div,g=d;a.alignTo&&n(e.alignedObjects,a);I(a,function(d,e){a[e]&&a[e].parentGroup===a&&a[e].destroy&&a[e].destroy();delete a[e]})};b.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(a){this.safeRemoveChild(a)},
-this);this.shadows=void 0};b.prototype.destroyTextPath=function(a,d){var e=a.getElementsByTagName("text")[0];if(e){if(e.removeAttribute("dx"),e.removeAttribute("dy"),d.element.setAttribute("id",""),this.textPathWrapper&&e.getElementsByTagName("textPath").length){for(a=this.textPathWrapper.element.childNodes;a.length;)e.appendChild(a[0]);e.removeChild(this.textPathWrapper.element)}}else if(a.getAttribute("dx")||a.getAttribute("dy"))a.removeAttribute("dx"),a.removeAttribute("dy");this.textPathWrapper&&
-(this.textPathWrapper=this.textPathWrapper.destroy())};b.prototype.dSetter=function(a,d,e){g(a)&&("string"===typeof a[0]&&(a=this.renderer.pathToSegments(a)),this.pathArray=a,a=a.reduce(function(a,d,e){return d&&d.join?(e?a+" ":"")+d.join(" "):(d||"").toString()},""));/(NaN| {2}|^$)/.test(a)&&(a="M 0 0");this[d]!==a&&(e.setAttribute(d,a),this[d]=a)};b.prototype.fadeOut=function(a){var d=this;d.animate({opacity:0},{duration:A(a,150),complete:function(){d.attr({y:-9999}).hide()}})};b.prototype.fillSetter=
-function(a,d,e){"string"===typeof a?e.setAttribute(d,a):a&&this.complexColor(a,d,e)};b.prototype.getBBox=function(a,e){var g,m=this.renderer,n=this.element,f=this.styles,D=this.textStr,k=m.cache,E=m.cacheKeys,c=n.namespaceURI===this.SVG_NS;e=A(e,this.rotation,0);var O=m.styledMode?n&&b.prototype.getStyle.call(n,"font-size"):f&&f.fontSize;if(r(D)){var I=D.toString();-1===I.indexOf("<")&&(I=I.replace(/[0-9]/g,"0"));I+=["",e,O,this.textWidth,f&&f.textOverflow,f&&f.fontWeight].join()}I&&!a&&(g=k[I]);
-if(!g){if(c||m.forExport){try{var x=this.fakeTS&&function(a){var d=n.querySelector(".highcharts-text-outline");d&&L(d,{display:a})};d(x)&&x("none");g=n.getBBox?u({},n.getBBox()):{width:n.offsetWidth,height:n.offsetHeight};d(x)&&x("")}catch(ca){""}if(!g||0>g.width)g={width:0,height:0}}else g=this.htmlGetBBox();m.isSVG&&(a=g.width,m=g.height,c&&(g.height=m={"11px,17":14,"13px,20":16}[f&&f.fontSize+","+Math.round(m)]||m),e&&(f=e*h,g.width=Math.abs(m*Math.sin(f))+Math.abs(a*Math.cos(f)),g.height=Math.abs(m*
-Math.cos(f))+Math.abs(a*Math.sin(f))));if(I&&0<g.height){for(;250<E.length;)delete k[E.shift()];k[I]||E.push(I);k[I]=g}}return g};b.prototype.getStyle=function(a){return H.getComputedStyle(this.element||this,"").getPropertyValue(a)};b.prototype.hasClass=function(a){return-1!==(""+this.attr("class")).split(" ").indexOf(a)};b.prototype.hide=function(a){a?this.attr({y:-9999}):this.attr({visibility:"hidden"});return this};b.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};b.prototype.init=
-function(a,d){this.element="span"===d?K(d):c.createElementNS(this.SVG_NS,d);this.renderer=a;e(this,"afterInit")};b.prototype.invert=function(a){this.inverted=a;this.updateTransform();return this};b.prototype.on=function(a,d){var e,g,m=this.element,n;p&&"click"===a?(m.ontouchstart=function(a){e=a.touches[0].clientX;g=a.touches[0].clientY},m.ontouchend=function(a){e&&4<=Math.sqrt(Math.pow(e-a.changedTouches[0].clientX,2)+Math.pow(g-a.changedTouches[0].clientY,2))||d.call(m,a);n=!0;!1!==a.cancelable&&
-a.preventDefault()},m.onclick=function(a){n||d.call(m,a)}):m["on"+a]=d;return this};b.prototype.opacitySetter=function(a,d,e){this.opacity=a=Number(Number(a).toFixed(3));e.setAttribute(d,a)};b.prototype.removeClass=function(a){return this.attr("class",(""+this.attr("class")).replace(m(a)?new RegExp("(^| )"+a+"( |$)"):a," ").replace(/ +/g," ").trim())};b.prototype.removeTextOutline=function(){var a=this.element.querySelector("tspan.highcharts-text-outline");a&&this.safeRemoveChild(a)};b.prototype.safeRemoveChild=
-function(a){var d=a.parentNode;d&&d.removeChild(a)};b.prototype.setRadialReference=function(a){var d=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=a;d&&d.radAttr&&d.animate(this.renderer.getRadialAttr(a,d.radAttr));return this};b.prototype.setTextPath=function(d,e){var g=this.element,m=this.text?this.text.element:g,n={textAnchor:"text-anchor"},f=!1,D=this.textPathWrapper,u=!D;e=E(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},
-e);var c=l.filterUserAttributes(e.attributes);if(d&&e&&e.enabled){D&&null===D.element.parentNode?(u=!0,D=D.destroy()):D&&this.removeTextOutline.call(D.parentGroup);this.options&&this.options.padding&&(c.dx=-this.options.padding);D||(this.textPathWrapper=D=this.renderer.createElement("textPath"),f=!0);var h=D.element;(e=d.element.getAttribute("id"))||d.element.setAttribute("id",e=w());if(u)for(m.setAttribute("y",0),a(c.dx)&&m.setAttribute("x",-c.dx),d=[].slice.call(m.childNodes),u=0;u<d.length;u++){var A=
-d[u];A.nodeType!==Node.TEXT_NODE&&"tspan"!==A.nodeName||h.appendChild(A)}f&&D&&D.add({element:m});h.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+e);r(c.dy)&&(h.parentNode.setAttribute("dy",c.dy),delete c.dy);r(c.dx)&&(h.parentNode.setAttribute("dx",c.dx),delete c.dx);I(c,function(a,d){h.setAttribute(n[d]||d,a)});g.removeAttribute("transform");this.removeTextOutline.call(D);this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0});this.applyTextOutline=
-this.updateTransform=k}else D&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(g,d),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this};b.prototype.shadow=function(a,d,e){var g=[],m=this.element,F=!1,D=this.oldShadowOptions;var n={color:z.neutralColor100,offsetX:1,offsetY:1,opacity:.15,width:3};var f;!0===a?f=n:"object"===typeof a&&(f=u(n,a));f&&(f&&D&&I(f,function(a,d){a!==D[d]&&(F=!0)}),F&&
-this.destroyShadows(),this.oldShadowOptions=f);if(!f)this.destroyShadows();else if(!this.shadows){var k=f.opacity/f.width;var E=this.parentInverted?"translate(-1,-1)":"translate("+f.offsetX+", "+f.offsetY+")";for(n=1;n<=f.width;n++){var c=m.cloneNode(!1);var h=2*f.width+1-2*n;x(c,{stroke:a.color||z.neutralColor100,"stroke-opacity":k*n,"stroke-width":h,transform:E,fill:"none"});c.setAttribute("class",(c.getAttribute("class")||"")+" highcharts-shadow");e&&(x(c,"height",Math.max(x(c,"height")-h,0)),
-c.cutHeight=h);d?d.element.appendChild(c):m.parentNode&&m.parentNode.insertBefore(c,m);g.push(c)}this.shadows=g}return this};b.prototype.show=function(a){return this.attr({visibility:a?"inherit":"visible"})};b.prototype.strokeSetter=function(a,d,e){this[d]=a;this.stroke&&this["stroke-width"]?(b.prototype.fillSetter.call(this,this.stroke,"stroke",e),e.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===d&&0===a&&this.hasStroke?(e.removeAttribute("stroke"),this.hasStroke=
-!1):this.renderer.styledMode&&this["stroke-width"]&&(e.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)};b.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var a=this.getStyle("stroke-width"),d=0;if(a.indexOf("px")===a.length-2)d=N(a);else if(""!==a){var e=c.createElementNS(f,"rect");x(e,{width:a,"stroke-width":0});this.element.parentNode.appendChild(e);d=e.getBBox().width;e.parentNode.removeChild(e)}return d};b.prototype.symbolAttr=
-function(a){var d=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(e){d[e]=A(a[e],d[e])});d.attr({d:d.renderer.symbols[d.symbolName](d.x,d.y,d.width,d.height,d)})};b.prototype.textSetter=function(a){a!==this.textStr&&(delete this.textPxLength,this.textStr=a,this.added&&this.renderer.buildText(this))};b.prototype.titleSetter=function(a){var d=this.element,e=d.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");d.insertBefore?d.insertBefore(e,
-d.firstChild):d.appendChild(e);e.textContent=String(A(a,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")};b.prototype.toFront=function(){var a=this.element;a.parentNode.appendChild(a);return this};b.prototype.translate=function(a,d){return this.attr({translateX:a,translateY:d})};b.prototype.updateShadows=function(a,d,e){var g=this.shadows;if(g)for(var m=g.length;m--;)e.call(g[m],"height"===a?Math.max(d-(g[m].cutHeight||0),0):"d"===a?this.d:d,a,g[m])};b.prototype.updateTransform=
-function(){var a=this.translateX||0,d=this.translateY||0,e=this.scaleX,g=this.scaleY,m=this.inverted,n=this.rotation,D=this.matrix,f=this.element;m&&(a+=this.width,d+=this.height);a=["translate("+a+","+d+")"];r(D)&&a.push("matrix("+D.join(",")+")");m?a.push("rotate(90) scale(-1,1)"):n&&a.push("rotate("+n+" "+A(this.rotationOriginX,f.getAttribute("x"),0)+" "+A(this.rotationOriginY,f.getAttribute("y")||0)+")");(r(e)||r(g))&&a.push("scale("+A(e,1)+" "+A(g,1)+")");a.length&&f.setAttribute("transform",
-a.join(" "))};b.prototype.visibilitySetter=function(a,d,e){"inherit"===a?e.removeAttribute(d):this[d]!==a&&e.setAttribute(d,a);this[d]=a};b.prototype.xGetter=function(a){"circle"===this.element.nodeName&&("x"===a?a="cx":"y"===a&&(a="cy"));return this._defaultGetter(a)};b.prototype.zIndexSetter=function(a,d){var e=this.renderer,g=this.parentGroup,m=(g||e).element||e.box,n=this.element,D=!1;e=m===e.box;var f=this.added;var k;r(a)?(n.setAttribute("data-z-index",a),a=+a,this[d]===a&&(f=!1)):r(this[d])&&
-n.removeAttribute("data-z-index");this[d]=a;if(f){(a=this.zIndex)&&g&&(g.handleZ=!0);d=m.childNodes;for(k=d.length-1;0<=k&&!D;k--){g=d[k];f=g.getAttribute("data-z-index");var E=!r(f);if(g!==n)if(0>a&&E&&!e&&!k)m.insertBefore(n,d[k]),D=!0;else if(N(f)<=a||E&&(!r(a)||0<=a))m.insertBefore(n,d[k+1]||null),D=!0}D||(m.insertBefore(n,d[e?3:0]||null),D=!0)}return D};return b}();b.prototype["stroke-widthSetter"]=b.prototype.strokeSetter;b.prototype.yGetter=b.prototype.xGetter;b.prototype.matrixSetter=b.prototype.rotationOriginXSetter=
-b.prototype.rotationOriginYSetter=b.prototype.rotationSetter=b.prototype.scaleXSetter=b.prototype.scaleYSetter=b.prototype.translateXSetter=b.prototype.translateYSetter=b.prototype.verticalAlignSetter=function(a,d){this[d]=a;this.doTransform=!0};y.SVGElement=b;return y.SVGElement});J(b,"Core/Renderer/SVG/SVGLabel.js",[b["Core/Renderer/SVG/SVGElement.js"],b["Core/Utilities.js"]],function(b,l){function w(c,h){v(c)?c!==this[h]&&(this[h]=c,this.updateTextPadding()):this[h]=void 0}var y=this&&this.__extends||
-function(){var c=function(h,k){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,f){k.__proto__=f}||function(k,f){for(var c in f)f.hasOwnProperty(c)&&(k[c]=f[c])};return c(h,k)};return function(h,k){function p(){this.constructor=h}c(h,k);h.prototype=null===k?Object.create(k):(p.prototype=k.prototype,new p)}}(),z=l.defined,C=l.extend,v=l.isNumber,t=l.merge,q=l.pick,h=l.removeEvent;return function(c){function p(k,h,f,H,x,K,q,r,n,u){var e=c.call(this)||this;e.paddingSetter=w;e.paddingLeftSetter=
-w;e.paddingRightSetter=w;e.init(k,"g");e.textStr=h;e.x=f;e.y=H;e.anchorX=K;e.anchorY=q;e.baseline=n;e.className=u;"button"!==u&&e.addClass("highcharts-label");u&&e.addClass("highcharts-"+u);e.text=k.text("",0,0,r).attr({zIndex:1});if("string"===typeof x){var g=/^url\((.*?)\)$/.test(x);if(e.renderer.symbols[x]||g)e.symbolKey=x}e.bBox=p.emptyBBox;e.padding=3;e.baselineOffset=0;e.needsBox=k.styledMode||g;e.deferredAttr={};e.alignFactor=0;return e}y(p,c);p.prototype.alignSetter=function(k){k={left:0,
-center:.5,right:1}[k];k!==this.alignFactor&&(this.alignFactor=k,this.bBox&&v(this.xSetting)&&this.attr({x:this.xSetting}))};p.prototype.anchorXSetter=function(k,c){this.anchorX=k;this.boxAttr(c,Math.round(k)-this.getCrispAdjust()-this.xSetting)};p.prototype.anchorYSetter=function(k,c){this.anchorY=k;this.boxAttr(c,k-this.ySetting)};p.prototype.boxAttr=function(k,c){this.box?this.box.attr(k,c):this.deferredAttr[k]=c};p.prototype.css=function(k){if(k){var c={};k=t(k);p.textProps.forEach(function(f){"undefined"!==
-typeof k[f]&&(c[f]=k[f],delete k[f])});this.text.css(c);var f="width"in c;"fontSize"in c||"fontWeight"in c?this.updateTextPadding():f&&this.updateBoxSize()}return b.prototype.css.call(this,k)};p.prototype.destroy=function(){h(this.element,"mouseenter");h(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());b.prototype.destroy.call(this)};p.prototype.fillSetter=function(k,c){k&&(this.needsBox=!0);this.fill=k;this.boxAttr(c,k)};p.prototype.getBBox=function(){var k=
-this.bBox,c=this.padding,f=q(this.paddingLeft,c);return{width:this.width,height:this.height,x:k.x-f,y:k.y-c}};p.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};p.prototype.heightSetter=function(k){this.heightSetting=k};p.prototype.on=function(k,c){var f=this,h=f.text,x=h&&"SPAN"===h.element.tagName?h:void 0;if(x){var p=function(h){("mouseenter"===k||"mouseleave"===k)&&h.relatedTarget instanceof
-Element&&(f.element.compareDocumentPosition(h.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY||x.element.compareDocumentPosition(h.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||c.call(f.element,h)};x.on(k,p)}b.prototype.on.call(f,k,p||c);return f};p.prototype.onAdd=function(){var k=this.textStr;this.text.add(this);this.attr({text:z(k)?k:"",x:this.x,y:this.y});this.box&&z(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};p.prototype.rSetter=function(k,c){this.boxAttr(c,
-k)};p.prototype.shadow=function(k){k&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(k));return this};p.prototype.strokeSetter=function(k,c){this.stroke=k;this.boxAttr(c,k)};p.prototype["stroke-widthSetter"]=function(k,c){k&&(this.needsBox=!0);this["stroke-width"]=k;this.boxAttr(c,k)};p.prototype["text-alignSetter"]=function(k){this.textAlign=k};p.prototype.textSetter=function(k){"undefined"!==typeof k&&this.text.attr({text:k});this.updateTextPadding()};p.prototype.updateBoxSize=
-function(){var k=this.text.element.style,c={},f=this.padding,h=this.bBox=v(this.widthSetting)&&v(this.heightSetting)&&!this.textAlign||!z(this.text.textStr)?p.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||h.height||0)+2*f;this.baselineOffset=f+Math.min(this.renderer.fontMetrics(k&&k.fontSize,this.text).b,h.height||Infinity);this.needsBox&&(this.box||(k=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),k.addClass(("button"===
-this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),k.add(this)),k=this.getCrispAdjust(),c.x=k,c.y=(this.baseline?-this.baselineOffset:0)+k,c.width=Math.round(this.width),c.height=Math.round(this.height),this.box.attr(C(c,this.deferredAttr)),this.deferredAttr={})};p.prototype.updateTextPadding=function(){var c=this.text;this.updateBoxSize();var h=this.baseline?0:this.baselineOffset,f=q(this.paddingLeft,this.padding);z(this.widthSetting)&&this.bBox&&
-("center"===this.textAlign||"right"===this.textAlign)&&(f+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(f!==c.x||h!==c.y)c.attr("x",f),c.hasBoxWidthChanged&&(this.bBox=c.getBBox(!0)),"undefined"!==typeof h&&c.attr("y",h);c.x=f;c.y=h};p.prototype.widthSetter=function(c){this.widthSetting=v(c)?c:void 0};p.prototype.getPaddedWidth=function(){var c=this.padding,h=q(this.paddingLeft,c);c=q(this.paddingRight,c);return(this.widthSetting||this.bBox.width||0)+h+c};p.prototype.xSetter=
-function(c){this.x=c;this.alignFactor&&(c-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(c);this.attr("translateX",this.xSetting)};p.prototype.ySetter=function(c){this.ySetting=this.y=Math.round(c);this.attr("translateY",this.ySetting)};p.emptyBBox={width:0,height:0,x:0,y:0};p.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return p}(b)});J(b,"Core/Renderer/SVG/TextBuilder.js",
-[b["Core/Globals.js"],b["Core/Utilities.js"],b["Core/Renderer/HTML/AST.js"]],function(b,l,B){var w=b.doc,z=b.SVG_NS,C=l.attr,v=l.isString,t=l.objectEach,q=l.pick;return function(){function h(c){var h=c.styles;this.renderer=c.renderer;this.svgElement=c;this.width=c.textWidth;this.textLineHeight=h&&h.lineHeight;this.textOutline=h&&h.textOutline;this.ellipsis=!(!h||"ellipsis"!==h.textOverflow);this.noWrap=!(!h||"nowrap"!==h.whiteSpace);this.fontSize=h&&h.fontSize}h.prototype.buildSVG=function(){var c=
-this.svgElement,h=c.element,k=c.renderer,b=q(c.textStr,"").toString(),f=-1!==b.indexOf("<"),H=h.childNodes,x=H.length;k=this.width&&!c.added&&k.box;var K=/<br.*?>/g;var l=[b,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(l!==c.textCache){c.textCache=l;for(delete c.actualWidth;x--;)h.removeChild(H[x]);f||this.ellipsis||this.width||-1!==b.indexOf(" ")&&(!this.noWrap||K.test(b))?""!==b&&(k&&k.appendChild(h),b=new B(b),this.modifyTree(b.nodes),b.addToDOM(c.element),
-this.modifyDOM(),this.ellipsis&&-1!==(h.textContent||"").indexOf("\u2026")&&c.attr("title",this.unescapeEntities(c.textStr||"",["&lt;","&gt;"])),k&&k.removeChild(h)):h.appendChild(w.createTextNode(this.unescapeEntities(b)));v(this.textOutline)&&c.applyTextOutline&&c.applyTextOutline(this.textOutline)}};h.prototype.modifyDOM=function(){var c=this,h=this.svgElement,k=C(h.element,"x");[].forEach.call(h.element.querySelectorAll("tspan.highcharts-br"),function(f){f.nextSibling&&f.previousSibling&&C(f,
-{dy:c.getLineHeight(f.nextSibling),x:k})});var b=this.width||0;if(b){var f=function(f,p){var x=f.textContent||"",r=x.replace(/([^\^])-/g,"$1- ").split(" "),n=!c.noWrap&&(1<r.length||1<h.element.childNodes.length),u=c.getLineHeight(p),e=0,g=h.actualWidth;if(c.ellipsis)x&&c.truncate(f,x,void 0,0,Math.max(0,b-parseInt(c.fontSize||12,10)),function(d,a){return d.substring(0,a)+"\u2026"});else if(n){x=[];for(n=[];p.firstChild&&p.firstChild!==f;)n.push(p.firstChild),p.removeChild(p.firstChild);for(;r.length;)r.length&&
-!c.noWrap&&0<e&&(x.push(f.textContent||""),f.textContent=r.join(" ").replace(/- /g,"-")),c.truncate(f,void 0,r,0===e?g||0:0,b,function(d,a){return r.slice(0,a).join(" ").replace(/- /g,"-")}),g=h.actualWidth,e++;n.forEach(function(d){p.insertBefore(d,f)});x.forEach(function(d){p.insertBefore(w.createTextNode(d),f);d=w.createElementNS(z,"tspan");d.textContent="\u200b";C(d,{dy:u,x:k});p.insertBefore(d,f)})}},H=function(c){[].slice.call(c.childNodes).forEach(function(k){k.nodeType===Node.TEXT_NODE?f(k,
-c):(-1!==k.className.baseVal.indexOf("highcharts-br")&&(h.actualWidth=0),H(k))})};H(h.element)}};h.prototype.getLineHeight=function(c){var h;c=c.nodeType===Node.TEXT_NODE?c.parentElement:c;this.renderer.styledMode||(h=c&&/(px|em)$/.test(c.style.fontSize)?c.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(h,c||this.svgElement.element).h};h.prototype.modifyTree=function(c){var h=this,k=function(p,
-f){var H=p.tagName,x=h.renderer.styledMode,b=p.attributes||{};if("b"===H||"strong"===H)x?b["class"]="highcharts-strong":b.style="font-weight:bold;"+(b.style||"");else if("i"===H||"em"===H)x?b["class"]="highcharts-emphasized":b.style="font-style:italic;"+(b.style||"");v(b.style)&&(b.style=b.style.replace(/(;| |^)color([ :])/,"$1fill$2"));"br"===H&&(b["class"]="highcharts-br",p.textContent="\u200b",(f=c[f+1])&&f.textContent&&(f.textContent=f.textContent.replace(/^ +/gm,"")));"#text"!==H&&"a"!==H&&(p.tagName=
-"tspan");p.attributes=b;p.children&&p.children.filter(function(f){return"#text"!==f.tagName}).forEach(k)};for(c.forEach(k);c[0]&&"tspan"===c[0].tagName&&!c[0].children;)c.splice(0,1)};h.prototype.truncate=function(c,h,k,b,f,H){var x=this.svgElement,p=x.renderer,q=x.rotation,r=[],n=k?1:0,u=(h||k||"").length,e=u,g,d=function(a,d){d=d||a;var e=c.parentNode;if(e&&"undefined"===typeof r[d])if(e.getSubStringLength)try{r[d]=b+e.getSubStringLength(0,k?d+1:d)}catch(A){""}else p.getSpanWidth&&(c.textContent=
-H(h||k,a),r[d]=b+p.getSpanWidth(x,c));return r[d]};x.rotation=0;var a=d(c.textContent.length);if(b+a>f){for(;n<=u;)e=Math.ceil((n+u)/2),k&&(g=H(k,e)),a=d(e,g&&g.length-1),n===u?n=u+1:a>f?u=e-1:n=e;0===u?c.textContent="":h&&u===h.length-1||(c.textContent=g||H(h||k,e))}k&&k.splice(0,e);x.actualWidth=a;x.rotation=q};h.prototype.unescapeEntities=function(c,h){t(this.renderer.escapes,function(k,p){h&&-1!==h.indexOf(k)||(c=c.toString().replace(new RegExp(k,"g"),p))});return c};return h}()});J(b,"Core/Renderer/SVG/SVGRenderer.js",
-[b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Renderer/SVG/SVGElement.js"],b["Core/Renderer/SVG/SVGLabel.js"],b["Core/Renderer/HTML/AST.js"],b["Core/Renderer/SVG/TextBuilder.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C,v,t){var q=t.addEvent,h=t.attr,c=t.createElement,p=t.css,k=t.defined,G=t.destroyObjectProperties,f=t.extend,H=t.isArray,x=t.isNumber,K=t.isObject,L=t.isString,r=t.merge,n=t.pick,u=t.pInt,e=t.uniqueKey,g=l.charts,d=l.deg2rad,a=l.doc,m=l.isFirefox,
-E=l.isMS,I=l.isWebKit;t=l.noop;var A=l.SVG_NS,N=l.symbolSizes,R=l.win,w,T=function(){function A(a,d,e,g,m,f,n){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(a,d,e,g,m,f,n)}A.prototype.init=function(d,e,g,f,n,D,c){var F=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"});c||F.css(this.getStyle(f));f=F.element;
-d.appendChild(f);h(d,"dir","ltr");-1===d.innerHTML.indexOf("xmlns")&&h(f,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=f;this.boxWrapper=F;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(a.createTextNode("Created with Highcharts 9.0.1"));this.defs=this.createElement("defs").add();this.allowHTML=D;this.forExport=n;this.styledMode=c;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(e,g,!1);var k;m&&d.getBoundingClientRect&&
-(e=function(){p(d,{left:0,top:0});k=d.getBoundingClientRect();p(d,{left:Math.ceil(k.left)-k.left+"px",top:Math.ceil(k.top)-k.top+"px"})},e(),this.unSubPixelFix=q(R,"resize",e))};A.prototype.definition=function(a){return(new C([a])).addToDOM(this.defs.element)};A.prototype.getReferenceURL=function(){if((m||I)&&a.getElementsByTagName("base").length){if(!k(w)){var d=e();d=(new C([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:d},children:[{tagName:"rect",
-attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+d+")",fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(a.body);p(d,{position:"fixed",top:0,left:0,zIndex:9E5});var g=a.elementFromPoint(6,6);w="hitme"===(g&&g.id);a.body.removeChild(d)}if(w)return R.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};A.prototype.getStyle=function(a){return this.style=f({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',
-fontSize:"12px"},a)};A.prototype.setStyle=function(a){this.boxWrapper.css(this.getStyle(a))};A.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};A.prototype.destroy=function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();G(this.gradients||{});this.gradients=null;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};A.prototype.createElement=function(a){var d=new this.Element;d.init(this,a);return d};A.prototype.getRadialAttr=
-function(a,d){return{cx:a[0]-a[2]/2+d.cx*a[2],cy:a[1]-a[2]/2+d.cy*a[2],r:d.r*a[2]}};A.prototype.buildText=function(a){(new v(a)).buildSVG()};A.prototype.getContrast=function(a){a=b.parse(a).rgba;a[0]*=1;a[1]*=1.2;a[2]*=.5;return 459<a[0]+a[1]+a[2]?"#000000":"#FFFFFF"};A.prototype.button=function(a,d,e,g,m,n,c,k,u,h){var F=this.label(a,d,e,u,void 0,void 0,h,void 0,"button"),D=0,W=this.styledMode,A=m?r(m):{};a=A&&A.style||{};A=C.filterUserAttributes(A);F.attr(r({padding:8,r:2},A));if(!W){A=r({fill:B.neutralColor3,
-stroke:B.neutralColor20,"stroke-width":1,style:{color:B.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:a},A);var P=A.style;delete A.style;n=r(A,{fill:B.neutralColor10},C.filterUserAttributes(n||{}));var I=n.style;delete n.style;c=r(A,{fill:B.highlightColor10,style:{color:B.neutralColor100,fontWeight:"bold"}},C.filterUserAttributes(c||{}));var x=c.style;delete c.style;k=r(A,{style:{color:B.neutralColor20}},C.filterUserAttributes(k||{}));var S=k.style;delete k.style}q(F.element,E?"mouseover":
-"mouseenter",function(){3!==D&&F.setState(1)});q(F.element,E?"mouseout":"mouseleave",function(){3!==D&&F.setState(D)});F.setState=function(a){1!==a&&(F.state=D=a);F.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][a||0]);W||F.attr([A,n,c,k][a||0]).css([P,I,x,S][a||0])};W||F.attr(A).css(f({cursor:"default"},P));return F.on("click",function(a){3!==D&&g.call(F,a)})};A.prototype.crispLine=function(a,d,e){void 0===e&&
-(e="round");var g=a[0],m=a[1];g[1]===m[1]&&(g[1]=m[1]=Math[e](g[1])-d%2/2);g[2]===m[2]&&(g[2]=m[2]=Math[e](g[2])+d%2/2);return a};A.prototype.path=function(a){var d=this.styledMode?{}:{fill:"none"};H(a)?d.d=a:K(a)&&f(d,a);return this.createElement("path").attr(d)};A.prototype.circle=function(a,d,e){a=K(a)?a:"undefined"===typeof a?{}:{x:a,y:d,r:e};d=this.createElement("circle");d.xSetter=d.ySetter=function(a,d,e){e.setAttribute("c"+d,a)};return d.attr(a)};A.prototype.arc=function(a,d,e,g,m,f){K(a)?
-(g=a,d=g.y,e=g.r,a=g.x):g={innerR:g,start:m,end:f};a=this.symbol("arc",a,d,e,e,g);a.r=e;return a};A.prototype.rect=function(a,d,e,g,m,f){m=K(a)?a.r:m;var n=this.createElement("rect");a=K(a)?a:"undefined"===typeof a?{}:{x:a,y:d,width:Math.max(e,0),height:Math.max(g,0)};this.styledMode||("undefined"!==typeof f&&(a.strokeWidth=f,a=n.crisp(a)),a.fill="none");m&&(a.r=m);n.rSetter=function(a,d,e){n.r=a;h(e,{rx:a,ry:a})};n.rGetter=function(){return n.r};return n.attr(a)};A.prototype.setSize=function(a,d,
-e){var g=this.alignedObjects,m=g.length;this.width=a;this.height=d;for(this.boxWrapper.animate({width:a,height:d},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:n(e,!0)?void 0:0});m--;)g[m].align()};A.prototype.g=function(a){var d=this.createElement("g");return a?d.attr({"class":"highcharts-"+a}):d};A.prototype.image=function(a,d,e,g,m,n){var D={preserveAspectRatio:"none"},F=function(a,d){a.setAttributeNS?a.setAttributeNS("http://www.w3.org/1999/xlink",
-"href",d):a.setAttribute("hc-svg-href",d)},c=function(d){F(k.element,a);n.call(k,d)};1<arguments.length&&f(D,{x:d,y:e,width:g,height:m});var k=this.createElement("image").attr(D);n?(F(k.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),D=new R.Image,q(D,"load",c),D.src=a,D.complete&&c({})):F(k.element,a);return k};A.prototype.symbol=function(d,e,m,u,E,D){var F=this,h=/^url\((.*?)\)$/,A=h.test(d),W=!A&&(this.symbols[d]?d:"circle"),I=W&&this.symbols[W],x;if(I){"number"===
-typeof e&&(x=I.call(this.symbols,Math.round(e||0),Math.round(m||0),u||0,E||0,D));var r=this.path(x);F.styledMode||r.attr("fill","none");f(r,{symbolName:W,x:e,y:m,width:u,height:E});D&&f(r,D)}else if(A){var b=d.match(h)[1];r=this.image(b);r.imgwidth=n(N[b]&&N[b].width,D&&D.width);r.imgheight=n(N[b]&&N[b].height,D&&D.height);var H=function(){r.attr({width:r.width,height:r.height})};["width","height"].forEach(function(a){r[a+"Setter"]=function(a,d){var e={},g=this["img"+d],m="width"===d?"translateX":
-"translateY";this[d]=a;k(g)&&(D&&"within"===D.backgroundSize&&this.width&&this.height&&(g=Math.round(g*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(d,g),this.alignByTranslate||(e[m]=((this[d]||0)-g)/2,this.attr(e)))}});k(e)&&r.attr({x:e,y:m});r.isImg=!0;k(r.imgwidth)&&k(r.imgheight)?H():(r.attr({width:0,height:0}),c("img",{onload:function(){var d=g[F.chartIndex];0===this.width&&(p(this,{position:"absolute",top:"-999em"}),a.body.appendChild(this));
-N[b]={width:this.width,height:this.height};r.imgwidth=this.width;r.imgheight=this.height;r.element&&H();this.parentNode&&this.parentNode.removeChild(this);F.imgCount--;if(!F.imgCount&&d&&!d.hasLoaded)d.onload()},src:b}),this.imgCount++)}return r};A.prototype.clipRect=function(a,d,g,m){var n=e()+"-",f=this.createElement("clipPath").attr({id:n}).add(this.defs);a=this.rect(a,d,g,m,0).add(f);a.id=n;a.clipPath=f;a.count=0;return a};A.prototype.text=function(a,d,e,g){var m={};if(g&&(this.allowHTML||!this.forExport))return this.html(a,
-d,e);m.x=Math.round(d||0);e&&(m.y=Math.round(e));k(a)&&(m.text=a);a=this.createElement("text").attr(m);g||(a.xSetter=function(a,d,e){var g=e.getElementsByTagName("tspan"),m=e.getAttribute(d),n;for(n=0;n<g.length;n++){var f=g[n];f.getAttribute(d)===m&&f.setAttribute(d,a)}e.setAttribute(d,a)});return a};A.prototype.fontMetrics=function(a,d){a=!this.styledMode&&/px/.test(a)||!R.getComputedStyle?a||d&&d.style&&d.style.fontSize||this.style&&this.style.fontSize:d&&y.prototype.getStyle.call(d,"font-size");
-a=/px/.test(a)?u(a):12;d=24>a?a+3:Math.round(1.2*a);return{h:d,b:Math.round(.8*d),f:a}};A.prototype.rotCorr=function(a,e,g){var m=a;e&&g&&(m=Math.max(m*Math.cos(e*d),4));return{x:-a/3*Math.sin(e*d),y:m}};A.prototype.pathToSegments=function(a){for(var d=[],e=[],g={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},m=0;m<a.length;m++)L(e[0])&&x(a[m])&&e.length===g[e[0].toUpperCase()]&&a.splice(m,0,e[0].replace("M","L").replace("m","l")),"string"===typeof a[m]&&(e.length&&d.push(e.slice(0)),e.length=0),e.push(a[m]);
-d.push(e.slice(0));return d};A.prototype.label=function(a,d,e,g,m,n,f,c,k){return new z(this,a,d,e,g,m,n,f,c,k)};return A}();T.prototype.Element=y;T.prototype.SVG_NS=A;T.prototype.draw=t;T.prototype.escapes={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};T.prototype.symbols={circle:function(a,d,e,g){return this.arc(a+e/2,d+g/2,e/2,g/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},square:function(a,d,e,g){return[["M",a,d],["L",a+e,d],["L",a+e,d+g],["L",a,d+g],["Z"]]},triangle:function(a,
-d,e,g){return[["M",a+e/2,d],["L",a+e,d+g],["L",a,d+g],["Z"]]},"triangle-down":function(a,d,e,g){return[["M",a,d],["L",a+e,d],["L",a+e/2,d+g],["Z"]]},diamond:function(a,d,e,g){return[["M",a+e/2,d],["L",a+e,d+g/2],["L",a+e/2,d+g],["L",a,d+g/2],["Z"]]},arc:function(a,d,e,g,m){var f=[];if(m){var D=m.start||0,c=m.end||0,F=m.r||e;e=m.r||g||e;var u=.001>Math.abs(c-D-2*Math.PI);c-=.001;g=m.innerR;u=n(m.open,u);var E=Math.cos(D),h=Math.sin(D),A=Math.cos(c),I=Math.sin(c);D=n(m.longArc,.001>c-D-Math.PI?0:1);
-f.push(["M",a+F*E,d+e*h],["A",F,e,0,D,n(m.clockwise,1),a+F*A,d+e*I]);k(g)&&f.push(u?["M",a+g*A,d+g*I]:["L",a+g*A,d+g*I],["A",g,g,0,D,k(m.clockwise)?1-m.clockwise:0,a+g*E,d+g*h]);u||f.push(["Z"])}return f},callout:function(a,d,e,g,m){var f=Math.min(m&&m.r||0,e,g),n=f+6,c=m&&m.anchorX;m=m&&m.anchorY||0;var k=[["M",a+f,d],["L",a+e-f,d],["C",a+e,d,a+e,d,a+e,d+f],["L",a+e,d+g-f],["C",a+e,d+g,a+e,d+g,a+e-f,d+g],["L",a+f,d+g],["C",a,d+g,a,d+g,a,d+g-f],["L",a,d+f],["C",a,d,a,d,a+f,d]];if(!x(c))return k;a+
-c>=e?m>d+n&&m<d+g-n?k.splice(3,1,["L",a+e,m-6],["L",a+e+6,m],["L",a+e,m+6],["L",a+e,d+g-f]):k.splice(3,1,["L",a+e,g/2],["L",c,m],["L",a+e,g/2],["L",a+e,d+g-f]):0>=a+c?m>d+n&&m<d+g-n?k.splice(7,1,["L",a,m+6],["L",a-6,m],["L",a,m-6],["L",a,d+f]):k.splice(7,1,["L",a,g/2],["L",c,m],["L",a,g/2],["L",a,d+f]):m&&m>g&&c>a+n&&c<a+e-n?k.splice(5,1,["L",c+6,d+g],["L",c,d+g+6],["L",c-6,d+g],["L",a+f,d+g]):m&&0>m&&c>a+n&&c<a+e-n&&k.splice(1,1,["L",c-6,d],["L",c,d-6],["L",c+6,d],["L",e-f,d]);return k}};l.SVGRenderer=
-T;l.Renderer=l.SVGRenderer;return l.Renderer});J(b,"Core/Renderer/HTML/HTMLElement.js",[b["Core/Globals.js"],b["Core/Renderer/SVG/SVGElement.js"],b["Core/Utilities.js"]],function(b,l,B){var w=B.css,z=B.defined,C=B.extend,v=B.pick,t=B.pInt,q=b.isFirefox;C(l.prototype,{htmlCss:function(h){var c="SPAN"===this.element.tagName&&h&&"width"in h,b=v(c&&h.width,void 0);if(c){delete h.width;this.textWidth=b;var k=!0}h&&"ellipsis"===h.textOverflow&&(h.whiteSpace="nowrap",h.overflow="hidden");this.styles=C(this.styles,
-h);w(this.element,h);k&&this.htmlUpdateTransform();return this},htmlGetBBox:function(){var h=this.element;return{x:h.offsetLeft,y:h.offsetTop,width:h.offsetWidth,height:h.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var h=this.renderer,c=this.element,b=this.translateX||0,k=this.translateY||0,q=this.x||0,f=this.y||0,H=this.textAlign||"left",x={left:0,center:.5,right:1}[H],l=this.styles,L=l&&l.whiteSpace;w(c,{marginLeft:b,marginTop:k});!h.styledMode&&this.shadows&&this.shadows.forEach(function(e){w(e,
-{marginLeft:b+1,marginTop:k+1})});this.inverted&&[].forEach.call(c.childNodes,function(e){h.invertChild(e,c)});if("SPAN"===c.tagName){l=this.rotation;var r=this.textWidth&&t(this.textWidth),n=[l,H,c.innerHTML,this.textWidth,this.textAlign].join(),u;(u=r!==this.oldTextWidth)&&!(u=r>this.oldTextWidth)&&((u=this.textPxLength)||(w(c,{width:"",whiteSpace:L||"nowrap"}),u=c.offsetWidth),u=u>r);u&&(/[ \-]/.test(c.textContent||c.innerText)||"ellipsis"===c.style.textOverflow)?(w(c,{width:r+"px",display:"block",
-whiteSpace:L||"normal"}),this.oldTextWidth=r,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1;n!==this.cTT&&(L=h.fontMetrics(c.style.fontSize,c).b,!z(l)||l===(this.oldRotation||0)&&H===this.oldAlign||this.setSpanRotation(l,x,L),this.getSpanCorrection(!z(l)&&this.textPxLength||c.offsetWidth,L,x,l,H));w(c,{left:q+(this.xCorr||0)+"px",top:f+(this.yCorr||0)+"px"});this.cTT=n;this.oldRotation=l;this.oldAlign=H}}else this.alignOnAdd=!0},setSpanRotation:function(h,c,b){var k={},p=this.renderer.getTransformKey();
-k[p]=k.transform="rotate("+h+"deg)";k[p+(q?"Origin":"-origin")]=k.transformOrigin=100*c+"% "+b+"px";w(this.element,k)},getSpanCorrection:function(h,c,b){this.xCorr=-h*b;this.yCorr=-c}});return l});J(b,"Core/Renderer/HTML/HTMLRenderer.js",[b["Core/Globals.js"],b["Core/Renderer/HTML/AST.js"],b["Core/Renderer/SVG/SVGElement.js"],b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,l,B,y,z){var w=b.isFirefox,v=b.isMS,t=b.isWebKit,q=b.win,h=z.attr,c=z.createElement,p=z.extend,k=z.pick;
-p(y.prototype,{getTransformKey:function(){return v&&!/Edge/.test(q.navigator.userAgent)?"-ms-transform":t?"-webkit-transform":w?"MozTransform":q.opera?"-o-transform":""},html:function(b,f,H){var x=this.createElement("span"),q=x.element,L=x.renderer,r=L.isSVG,n=function(f,e){["opacity","visibility"].forEach(function(g){f[g+"Setter"]=function(d,a,m){var n=f.div?f.div.style:e;B.prototype[g+"Setter"].call(this,d,a,m);n&&(n[a]=d)}});f.addedSetters=!0};x.textSetter=function(f){f!==this.textStr&&(delete this.bBox,
-delete this.oldTextWidth,l.setElementHTML(this.element,k(f,"")),this.textStr=f,x.doTransform=!0)};r&&n(x,x.element.style);x.xSetter=x.ySetter=x.alignSetter=x.rotationSetter=function(f,e){"align"===e?x.alignValue=x.textAlign=f:x[e]=f;x.doTransform=!0};x.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};x.attr({text:b,x:Math.round(f),y:Math.round(H)}).css({position:"absolute"});L.styledMode||x.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});
-q.style.whiteSpace="nowrap";x.css=x.htmlCss;r&&(x.add=function(f){var e=L.box.parentNode,g=[];if(this.parentGroup=f){var d=f.div;if(!d){for(;f;)g.push(f),f=f.parentGroup;g.reverse().forEach(function(a){function m(d,e){a[e]=d;"translateX"===e?u.left=d+"px":u.top=d+"px";a.doTransform=!0}var f=h(a.element,"class"),k=a.styles||{};d=a.div=a.div||c("div",f?{className:f}:void 0,{position:"absolute",left:(a.translateX||0)+"px",top:(a.translateY||0)+"px",display:a.display,opacity:a.opacity,cursor:k.cursor,
-pointerEvents:k.pointerEvents},d||e);var u=d.style;p(a,{classSetter:function(a){return function(d){this.element.setAttribute("class",d);a.className=d}}(d),on:function(){g[0].div&&x.on.apply({element:g[0].div},arguments);return a},translateXSetter:m,translateYSetter:m});a.addedSetters||n(a)})}}else d=e;d.appendChild(q);x.added=!0;x.alignOnAdd&&x.htmlUpdateTransform();return x});return x}});return y});J(b,"Core/Time.js",[b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,l){var w=b.win,y=l.defined,
-z=l.error,C=l.extend,v=l.isObject,t=l.merge,q=l.objectEach,h=l.pad,c=l.pick,p=l.splat,k=l.timeUnits;"";l=function(){function l(f){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=w.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(f)}l.prototype.get=function(f,c){if(this.variableTimezone||this.timezoneOffset){var k=c.getTime(),h=k-this.getTimezoneOffset(c);c.setTime(h);f=c["getUTC"+f]();c.setTime(k);return f}return this.useUTC?c["getUTC"+f]():c["get"+f]()};l.prototype.set=
-function(f,c,k){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===f||"Seconds"===f||"Minutes"===f&&0===this.getTimezoneOffset(c)%36E5)return c["setUTC"+f](k);var h=this.getTimezoneOffset(c);h=c.getTime()-h;c.setTime(h);c["setUTC"+f](k);f=this.getTimezoneOffset(c);h=c.getTime()+f;return c.setTime(h)}return this.useUTC?c["setUTC"+f](k):c["set"+f](k)};l.prototype.update=function(f){var k=c(f&&f.useUTC,!0);this.options=f=t(!0,this.options||{},f);this.Date=f.Date||w.Date||Date;this.timezoneOffset=
-(this.useUTC=k)&&f.timezoneOffset;this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=k&&!(!f.getTimezoneOffset&&!f.timezone)};l.prototype.makeTime=function(f,k,h,p,q,r){if(this.useUTC){var n=this.Date.UTC.apply(0,arguments);var u=this.getTimezoneOffset(n);n+=u;var e=this.getTimezoneOffset(n);u!==e?n+=e-u:u-36E5!==this.getTimezoneOffset(n-36E5)||b.isSafari||(n-=36E5)}else n=(new this.Date(f,k,c(h,1),c(p,0),c(q,0),c(r,0))).getTime();return n};l.prototype.timezoneOffsetFunction=
-function(){var f=this,c=this.options,k=c.moment||w.moment;if(!this.useUTC)return function(f){return 6E4*(new Date(f.toString())).getTimezoneOffset()};if(c.timezone){if(k)return function(f){return 6E4*-k.tz(f,c.timezone).utcOffset()};z(25)}return this.useUTC&&c.getTimezoneOffset?function(f){return 6E4*c.getTimezoneOffset(f.valueOf())}:function(){return 6E4*(f.timezoneOffset||0)}};l.prototype.dateFormat=function(f,k,x){var p;if(!y(k)||isNaN(k))return(null===(p=b.defaultOptions.lang)||void 0===p?void 0:
-p.invalidDate)||"";f=c(f,"%Y-%m-%d %H:%M:%S");var l=this;p=new this.Date(k);var r=this.get("Hours",p),n=this.get("Day",p),u=this.get("Date",p),e=this.get("Month",p),g=this.get("FullYear",p),d=b.defaultOptions.lang,a=null===d||void 0===d?void 0:d.weekdays,m=null===d||void 0===d?void 0:d.shortWeekdays;p=C({a:m?m[n]:a[n].substr(0,3),A:a[n],d:h(u),e:h(u,2," "),w:n,b:d.shortMonths[e],B:d.months[e],m:h(e+1),o:e+1,y:g.toString().substr(2,2),Y:g,H:h(r),k:r,I:h(r%12||12),l:r%12||12,M:h(this.get("Minutes",
-p)),p:12>r?"AM":"PM",P:12>r?"am":"pm",S:h(p.getSeconds()),L:h(Math.floor(k%1E3),3)},b.dateFormats);q(p,function(a,d){for(;-1!==f.indexOf("%"+d);)f=f.replace("%"+d,"function"===typeof a?a.call(l,k):a)});return x?f.substr(0,1).toUpperCase()+f.substr(1):f};l.prototype.resolveDTLFormat=function(f){return v(f,!0)?f:(f=p(f),{main:f[0],from:f[1],to:f[2]})};l.prototype.getTimeTicks=function(f,h,b,p){var x=this,r=[],n={};var u=new x.Date(h);var e=f.unitRange,g=f.count||1,d;p=c(p,1);if(y(h)){x.set("Milliseconds",
-u,e>=k.second?0:g*Math.floor(x.get("Milliseconds",u)/g));e>=k.second&&x.set("Seconds",u,e>=k.minute?0:g*Math.floor(x.get("Seconds",u)/g));e>=k.minute&&x.set("Minutes",u,e>=k.hour?0:g*Math.floor(x.get("Minutes",u)/g));e>=k.hour&&x.set("Hours",u,e>=k.day?0:g*Math.floor(x.get("Hours",u)/g));e>=k.day&&x.set("Date",u,e>=k.month?1:Math.max(1,g*Math.floor(x.get("Date",u)/g)));if(e>=k.month){x.set("Month",u,e>=k.year?0:g*Math.floor(x.get("Month",u)/g));var a=x.get("FullYear",u)}e>=k.year&&x.set("FullYear",
-u,a-a%g);e===k.week&&(a=x.get("Day",u),x.set("Date",u,x.get("Date",u)-a+p+(a<p?-7:0)));a=x.get("FullYear",u);p=x.get("Month",u);var m=x.get("Date",u),E=x.get("Hours",u);h=u.getTime();!x.variableTimezone&&x.useUTC||!y(b)||(d=b-h>4*k.month||x.getTimezoneOffset(h)!==x.getTimezoneOffset(b));h=u.getTime();for(u=1;h<b;)r.push(h),h=e===k.year?x.makeTime(a+u*g,0):e===k.month?x.makeTime(a,p+u*g):!d||e!==k.day&&e!==k.week?d&&e===k.hour&&1<g?x.makeTime(a,p,m,E+u*g):h+e*g:x.makeTime(a,p,m+u*g*(e===k.day?1:7)),
-u++;r.push(h);e<=k.hour&&1E4>r.length&&r.forEach(function(a){0===a%18E5&&"000000000"===x.dateFormat("%H%M%S%L",a)&&(n[a]="day")})}r.info=C(f,{higherRanks:n,totalRange:e*g});return r};return l}();b.Time=l;return b.Time});J(b,"Core/Options.js",[b["Core/Globals.js"],b["Core/Color/Color.js"],b["Core/Color/Palette.js"],b["Core/Time.js"],b["Core/Utilities.js"]],function(b,l,B,y,z){var w=b.isTouchDevice,v=b.svg;l=l.parse;z=z.merge;"";b.defaultOptions={colors:B.colors,symbols:["circle","diamond","square",
-"triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,
-timezoneOffset:0,useUTC:!0},chart:{styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:B.highlightColor80,backgroundColor:B.backgroundColor,plotBorderColor:B.neutralColor20},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",
-align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:B.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:B.neutralColor40,borderRadius:0,navigation:{activeColor:B.highlightColor100,inactiveColor:B.neutralColor20},itemStyle:{color:B.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:B.neutralColor100},itemHiddenStyle:{color:B.neutralColor20},
-shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:B.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:v,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",
-day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:w?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:l(B.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:B.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",
-position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:B.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};b.defaultOptions.chart.styledMode=!1;"";b.time=new y(z(b.defaultOptions.global,b.defaultOptions.time));b.dateFormat=function(l,q,h){return b.time.dateFormat(l,q,h)};return{dateFormat:b.dateFormat,defaultOptions:b.defaultOptions,time:b.time}});J(b,"Core/Axis/Tick.js",[b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,l){var w=b.deg2rad,y=l.clamp,z=
-l.correctFloat,C=l.defined,v=l.destroyObjectProperties,t=l.extend,q=l.fireEvent,h=l.isNumber,c=l.merge,p=l.objectEach,k=l.pick;"";l=function(){function b(f,c,k,h,b){this.isNewLabel=this.isNew=!0;this.axis=f;this.pos=c;this.type=k||"";this.parameters=b||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;q(this,"init");k||h||this.addLabel()}b.prototype.addLabel=function(){var f=this,c=f.axis,h=c.options,b=c.chart,p=c.categories,r=c.logarithmic,n=c.names,u=f.pos,
-e=k(f.options&&f.options.labels,h.labels),g=c.tickPositions,d=u===g[0],a=u===g[g.length-1];n=this.parameters.category||(p?k(p[u],n[u],u):u);var m=f.label;p=(!e.step||1===e.step)&&1===c.tickInterval;g=g.info;var E,I;if(c.dateTime&&g){var A=b.time.resolveDTLFormat(h.dateTimeLabelFormats[!h.grid&&g.higherRanks[u]||g.unitName]);var l=A.main}f.isFirst=d;f.isLast=a;f.formatCtx={axis:c,chart:b,isFirst:d,isLast:a,dateTimeLabelFormat:l,tickPositionInfo:g,value:r?z(r.lin2log(n)):n,pos:u};h=c.labelFormatter.call(f.formatCtx,
-this.formatCtx);if(I=A&&A.list)f.shortenLabel=function(){for(E=0;E<I.length;E++)if(m.attr({text:c.labelFormatter.call(t(f.formatCtx,{dateTimeLabelFormat:I[E]}))}),m.getBBox().width<c.getSlotWidth(f)-2*k(e.padding,5))return;m.attr({text:""})};p&&c._addedPlotLB&&f.moveLabel(h,e);C(m)||f.movedLabel?m&&m.textStr!==h&&!p&&(!m.textWidth||e.style&&e.style.width||m.styles.width||m.css({width:null}),m.attr({text:h}),m.textPxLength=m.getBBox().width):(f.label=m=f.createLabel({x:0,y:0},h,e),f.rotation=0)};b.prototype.createLabel=
-function(f,k,h){var b=this.axis,x=b.chart;if(f=C(k)&&h.enabled?x.renderer.text(k,f.x,f.y,h.useHTML).add(b.labelGroup):null)x.styledMode||f.css(c(h.style)),f.textPxLength=f.getBBox().width;return f};b.prototype.destroy=function(){v(this,this.axis)};b.prototype.getPosition=function(f,c,k,h){var b=this.axis,r=b.chart,n=h&&r.oldChartHeight||r.chartHeight;f={x:f?z(b.translate(c+k,null,null,h)+b.transB):b.left+b.offset+(b.opposite?(h&&r.oldChartWidth||r.chartWidth)-b.right-b.left:0),y:f?n-b.bottom+b.offset-
-(b.opposite?b.height:0):z(n-b.translate(c+k,null,null,h)-b.transB)};f.y=y(f.y,-1E5,1E5);q(this,"afterGetPosition",{pos:f});return f};b.prototype.getLabelPosition=function(f,c,k,h,b,r,n,u){var e=this.axis,g=e.transA,d=e.isLinked&&e.linkedParent?e.linkedParent.reversed:e.reversed,a=e.staggerLines,m=e.tickRotCorr||{x:0,y:0},E=b.y,I=h||e.reserveSpaceDefault?0:-e.labelOffset*("center"===e.labelAlign?.5:1),A={};C(E)||(E=0===e.side?k.rotation?-8:-k.getBBox().height:2===e.side?m.y+8:Math.cos(k.rotation*w)*
-(m.y-k.getBBox(!1,0).height/2));f=f+b.x+I+m.x-(r&&h?r*g*(d?-1:1):0);c=c+E-(r&&!h?r*g*(d?1:-1):0);a&&(k=n/(u||1)%a,e.opposite&&(k=a-k-1),c+=e.labelOffset/a*k);A.x=f;A.y=Math.round(c);q(this,"afterGetLabelPosition",{pos:A,tickmarkOffset:r,index:n});return A};b.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};b.prototype.getMarkPath=function(f,c,k,h,b,r){return r.crispLine([["M",f,c],["L",f+(b?0:-k),c+(b?k:0)]],h)};b.prototype.handleOverflow=
-function(f){var c=this.axis,h=c.options.labels,b=f.x,p=c.chart.chartWidth,r=c.chart.spacing,n=k(c.labelLeft,Math.min(c.pos,r[3]));r=k(c.labelRight,Math.max(c.isRadial?0:c.pos+c.len,p-r[1]));var u=this.label,e=this.rotation,g={left:0,center:.5,right:1}[c.labelAlign||u.attr("align")],d=u.getBBox().width,a=c.getSlotWidth(this),m=a,E=1,I,A={};if(e||"justify"!==k(h.overflow,"justify"))0>e&&b-g*d<n?I=Math.round(b/Math.cos(e*w)-n):0<e&&b+g*d>r&&(I=Math.round((p-b)/Math.cos(e*w)));else if(p=b+(1-g)*d,b-g*
-d<n?m=f.x+m*(1-g)-n:p>r&&(m=r-f.x+m*g,E=-1),m=Math.min(a,m),m<a&&"center"===c.labelAlign&&(f.x+=E*(a-m-g*(a-Math.min(d,m)))),d>m||c.autoRotation&&(u.styles||{}).width)I=m;I&&(this.shortenLabel?this.shortenLabel():(A.width=Math.floor(I)+"px",(h.style||{}).textOverflow||(A.textOverflow="ellipsis"),u.css(A)))};b.prototype.moveLabel=function(f,c){var k=this,h=k.label,b=!1,r=k.axis,n=r.reversed;h&&h.textStr===f?(k.movedLabel=h,b=!0,delete k.label):p(r.ticks,function(e){b||e.isNew||e===k||!e.label||e.label.textStr!==
-f||(k.movedLabel=e.label,b=!0,e.labelPos=k.movedLabel.xy,delete e.label)});if(!b&&(k.labelPos||h)){var u=k.labelPos||h.xy;h=r.horiz?n?0:r.width+r.left:u.x;r=r.horiz?u.y:n?r.width+r.left:0;k.movedLabel=k.createLabel({x:h,y:r},f,c);k.movedLabel&&k.movedLabel.attr({opacity:0})}};b.prototype.render=function(f,c,h){var b=this.axis,p=b.horiz,r=this.pos,n=k(this.tickmarkOffset,b.tickmarkOffset);r=this.getPosition(p,r,n,c);n=r.x;var u=r.y;b=p&&n===b.pos+b.len||!p&&u===b.pos?-1:1;h=k(h,1);this.isActive=!0;
-this.renderGridLine(c,h,b);this.renderMark(r,h,b);this.renderLabel(r,c,h,f);this.isNew=!1;q(this,"afterRender")};b.prototype.renderGridLine=function(f,c,h){var b=this.axis,p=b.options,r=this.gridLine,n={},u=this.pos,e=this.type,g=k(this.tickmarkOffset,b.tickmarkOffset),d=b.chart.renderer,a=e?e+"Grid":"grid",m=p[a+"LineWidth"],E=p[a+"LineColor"];p=p[a+"LineDashStyle"];r||(b.chart.styledMode||(n.stroke=E,n["stroke-width"]=m,p&&(n.dashstyle=p)),e||(n.zIndex=1),f&&(c=0),this.gridLine=r=d.path().attr(n).addClass("highcharts-"+
-(e?e+"-":"")+"grid-line").add(b.gridGroup));if(r&&(h=b.getPlotLinePath({value:u+g,lineWidth:r.strokeWidth()*h,force:"pass",old:f})))r[f||this.isNew?"attr":"animate"]({d:h,opacity:c})};b.prototype.renderMark=function(f,c,h){var b=this.axis,p=b.options,r=b.chart.renderer,n=this.type,u=n?n+"Tick":"tick",e=b.tickSize(u),g=this.mark,d=!g,a=f.x;f=f.y;var m=k(p[u+"Width"],!n&&b.isXAxis?1:0);p=p[u+"Color"];e&&(b.opposite&&(e[0]=-e[0]),d&&(this.mark=g=r.path().addClass("highcharts-"+(n?n+"-":"")+"tick").add(b.axisGroup),
-b.chart.styledMode||g.attr({stroke:p,"stroke-width":m})),g[d?"attr":"animate"]({d:this.getMarkPath(a,f,e[0],g.strokeWidth()*h,b.horiz,r),opacity:c}))};b.prototype.renderLabel=function(f,c,b,p){var x=this.axis,r=x.horiz,n=x.options,u=this.label,e=n.labels,g=e.step;x=k(this.tickmarkOffset,x.tickmarkOffset);var d=!0,a=f.x;f=f.y;u&&h(a)&&(u.xy=f=this.getLabelPosition(a,f,u,r,e,x,p,g),this.isFirst&&!this.isLast&&!k(n.showFirstLabel,1)||this.isLast&&!this.isFirst&&!k(n.showLastLabel,1)?d=!1:!r||e.step||
-e.rotation||c||0===b||this.handleOverflow(f),g&&p%g&&(d=!1),d&&h(f.y)?(f.opacity=b,u[this.isNewLabel?"attr":"animate"](f),this.isNewLabel=!1):(u.attr("y",-9999),this.isNewLabel=!0))};b.prototype.replaceMovedLabel=function(){var f=this.label,c=this.axis,k=c.reversed;if(f&&!this.isNew){var h=c.horiz?k?c.left:c.width+c.left:f.xy.x;k=c.horiz?f.xy.y:k?c.width+c.top:c.top;f.animate({x:h,y:k,opacity:0},void 0,f.destroy);delete this.label}c.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return b}();
-b.Tick=l;return b.Tick});J(b,"Core/Axis/Axis.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Options.js"],b["Core/Axis/Tick.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C,v){var t=b.animObject,q=z.defaultOptions,h=v.addEvent,c=v.arrayMax,p=v.arrayMin,k=v.clamp,G=v.correctFloat,f=v.defined,H=v.destroyObjectProperties,x=v.erase,w=v.error,L=v.extend,r=v.fireEvent,n=v.format,u=v.getMagnitude,e=v.isArray,g=v.isFunction,
-d=v.isNumber,a=v.isString,m=v.merge,E=v.normalizeTickInterval,I=v.objectEach,A=v.pick,N=v.relativeLength,R=v.removeEvent,Q=v.splat,T=v.syncTimeout;"";var M=B.deg2rad;b=function(){function b(a,d){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=
-this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0;this.init(a,d)}b.prototype.init=function(a,d){var e=d.isX,m=this;m.chart=
-a;m.horiz=a.inverted&&!m.isZAxis?!e:e;m.isXAxis=e;m.coll=m.coll||(e?"xAxis":"yAxis");r(this,"init",{userOptions:d});m.opposite=A(d.opposite,m.opposite);m.side=A(d.side,m.side,m.horiz?m.opposite?0:2:m.opposite?1:3);m.setOptions(d);var c=this.options,n=c.type;m.labelFormatter=c.labels.formatter||m.defaultLabelFormatter;m.userOptions=d;m.minPixelPadding=0;m.reversed=A(c.reversed,m.reversed);m.visible=!1!==c.visible;m.zoomEnabled=!1!==c.zoomEnabled;m.hasNames="category"===n||!0===c.categories;m.categories=
-c.categories||m.hasNames;m.names||(m.names=[],m.names.keys={});m.plotLinesAndBandsGroups={};m.positiveValuesOnly=!!m.logarithmic;m.isLinked=f(c.linkedTo);m.ticks={};m.labelEdge=[];m.minorTicks={};m.plotLinesAndBands=[];m.alternateBands={};m.len=0;m.minRange=m.userMinRange=c.minRange||c.maxZoom;m.range=c.range;m.offset=c.offset||0;m.max=null;m.min=null;m.crosshair=A(c.crosshair,Q(a.options.tooltip.crosshairs)[e?0:1],!1);d=m.options.events;-1===a.axes.indexOf(m)&&(e?a.axes.splice(a.xAxis.length,0,m):
-a.axes.push(m),a[m.coll].push(m));m.series=m.series||[];a.inverted&&!m.isZAxis&&e&&"undefined"===typeof m.reversed&&(m.reversed=!0);m.labelRotation=m.options.labels.rotation;I(d,function(a,d){g(a)&&h(m,d,a)});r(this,"afterInit")};b.prototype.setOptions=function(a){this.options=m(b.defaultOptions,"yAxis"===this.coll&&b.defaultYAxisOptions,[b.defaultTopAxisOptions,b.defaultRightAxisOptions,b.defaultBottomAxisOptions,b.defaultLeftAxisOptions][this.side],m(q[this.coll],a));r(this,"afterSetOptions",{userOptions:a})};
-b.prototype.defaultLabelFormatter=function(){var a=this.axis,e=d(this.value)?this.value:NaN,g=a.chart.time,m=a.categories,c=this.dateTimeLabelFormat,f=q.lang,k=f.numericSymbols;f=f.numericSymbolMagnitude||1E3;var h=k&&k.length,b=a.options.labels.format;a=a.logarithmic?Math.abs(e):a.tickInterval;var u=this.chart,E=u.numberFormatter;if(b)var A=n(b,this,u);else if(m)A=""+this.value;else if(c)A=g.dateFormat(c,e);else if(h&&1E3<=a)for(;h--&&"undefined"===typeof A;)g=Math.pow(f,h+1),a>=g&&0===10*e%g&&null!==
-k[h]&&0!==e&&(A=E(e/g,-1)+k[h]);"undefined"===typeof A&&(A=1E4<=Math.abs(e)?E(e,-1):E(e,-1,void 0,""));return A};b.prototype.getSeriesExtremes=function(){var a=this,e=a.chart,g;r(this,"getSeriesExtremes",null,function(){a.hasVisibleSeries=!1;a.dataMin=a.dataMax=a.threshold=null;a.softThreshold=!a.isXAxis;a.stacking&&a.stacking.buildStacks();a.series.forEach(function(m){if(m.visible||!e.options.chart.ignoreHiddenSeries){var c=m.options,n=c.threshold;a.hasVisibleSeries=!0;a.positiveValuesOnly&&0>=n&&
-(n=null);if(a.isXAxis){if(c=m.xData,c.length){c=a.logarithmic?c.filter(a.validatePositiveValue):c;g=m.getXExtremes(c);var k=g.min;var h=g.max;d(k)||k instanceof Date||(c=c.filter(d),g=m.getXExtremes(c),k=g.min,h=g.max);c.length&&(a.dataMin=Math.min(A(a.dataMin,k),k),a.dataMax=Math.max(A(a.dataMax,h),h))}}else if(m=m.applyExtremes(),d(m.dataMin)&&(k=m.dataMin,a.dataMin=Math.min(A(a.dataMin,k),k)),d(m.dataMax)&&(h=m.dataMax,a.dataMax=Math.max(A(a.dataMax,h),h)),f(n)&&(a.threshold=n),!c.softThreshold||
-a.positiveValuesOnly)a.softThreshold=!1}})});r(this,"afterGetSeriesExtremes")};b.prototype.translate=function(a,e,g,m,c,f){var n=this.linkedParent||this,k=1,h=0,b=m&&n.old?n.old.transA:n.transA;m=m&&n.old?n.old.min:n.min;var D=n.minPixelPadding;c=(n.isOrdinal||n.brokenAxis&&n.brokenAxis.hasBreaks||n.logarithmic&&c)&&n.lin2val;b||(b=n.transA);g&&(k*=-1,h=n.len);n.reversed&&(k*=-1,h-=k*(n.sector||n.len));e?(a=(a*k+h-D)/b+m,c&&(a=n.lin2val(a))):(c&&(a=n.val2lin(a)),a=d(m)?k*(a-m)*b+h+k*D+(d(f)?b*f:0):
-void 0);return a};b.prototype.toPixels=function(a,d){return this.translate(a,!1,!this.horiz,null,!0)+(d?0:this.pos)};b.prototype.toValue=function(a,d){return this.translate(a-(d?0:this.pos),!0,!this.horiz,null,!0)};b.prototype.getPlotLinePath=function(a){function e(a,d,e){if("pass"!==E&&a<d||a>e)E?a=k(a,d,e):N=!0;return a}var g=this,m=g.chart,c=g.left,f=g.top,n=a.old,h=a.value,b=a.translatedValue,u=a.lineWidth,E=a.force,F,p,I,x,l=n&&m.oldChartHeight||m.chartHeight,q=n&&m.oldChartWidth||m.chartWidth,
-N,t=g.transB;a={value:h,lineWidth:u,old:n,force:E,acrossPanes:a.acrossPanes,translatedValue:b};r(this,"getPlotLinePath",a,function(a){b=A(b,g.translate(h,null,null,n));b=k(b,-1E5,1E5);F=I=Math.round(b+t);p=x=Math.round(l-b-t);d(b)?g.horiz?(p=f,x=l-g.bottom,F=I=e(F,c,c+g.width)):(F=c,I=q-g.right,p=x=e(p,f,f+g.height)):(N=!0,E=!1);a.path=N&&!E?null:m.renderer.crispLine([["M",F,p],["L",I,x]],u||1)});return a.path};b.prototype.getLinearTickPositions=function(a,d,e){var g=G(Math.floor(d/a)*a);e=G(Math.ceil(e/
-a)*a);var m=[],c;G(g+a)===g&&(c=20);if(this.single)return[d];for(d=g;d<=e;){m.push(d);d=G(d+a,c);if(d===f)break;var f=d}return m};b.prototype.getMinorTickInterval=function(){var a=this.options;return!0===a.minorTicks?A(a.minorTickInterval,"auto"):!1===a.minorTicks?null:a.minorTickInterval};b.prototype.getMinorTickPositions=function(){var a=this.options,d=this.tickPositions,e=this.minorTickInterval,g=[],m=this.pointRangePadding||0,c=this.min-m;m=this.max+m;var f=m-c;if(f&&f/e<this.len/3){var n=this.logarithmic;
-if(n)this.paddedTicks.forEach(function(a,d,m){d&&g.push.apply(g,n.getLogTickPositions(e,m[d-1],m[d],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())g=g.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(e),c,m,a.startOfWeek));else for(a=c+(d[0]-c)%e;a<=m&&a!==g[0];a+=e)g.push(a)}0!==g.length&&this.trimTicks(g);return g};b.prototype.adjustForMinRange=function(){var a=this.options,d=this.min,e=this.max,g=this.logarithmic,m=0,n,k,h,b;this.isXAxis&&"undefined"===typeof this.minRange&&
-!g&&(f(a.min)||f(a.max)?this.minRange=null:(this.series.forEach(function(a){h=a.xData;b=a.xIncrement?1:h.length-1;if(1<h.length)for(n=b;0<n;n--)if(k=h[n]-h[n-1],!m||k<m)m=k}),this.minRange=Math.min(5*m,this.dataMax-this.dataMin)));if(e-d<this.minRange){var E=this.dataMax-this.dataMin>=this.minRange;var u=this.minRange;var I=(u-e+d)/2;I=[d-I,A(a.min,d-I)];E&&(I[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);d=c(I);e=[d+u,A(a.max,d+u)];E&&(e[2]=g?g.log2lin(this.dataMax):this.dataMax);
-e=p(e);e-d<u&&(I[0]=e-u,I[1]=A(a.min,e-u),d=c(I))}this.min=d;this.max=e};b.prototype.getClosest=function(){var a;this.categories?a=1:this.series.forEach(function(d){var e=d.closestPointRange,g=d.visible||!d.chart.options.chart.ignoreHiddenSeries;!d.noSharedTooltip&&f(e)&&g&&(a=f(a)?Math.min(a,e):e)});return a};b.prototype.nameToX=function(a){var d=e(this.categories),g=d?this.categories:this.names,m=a.options.x;a.series.requireSorting=!1;f(m)||(m=!1===this.options.uniqueNames?a.series.autoIncrement():
-d?g.indexOf(a.name):A(g.keys[a.name],-1));if(-1===m){if(!d)var c=g.length}else c=m;"undefined"!==typeof c&&(this.names[c]=a.name,this.names.keys[a.name]=c);return c};b.prototype.updateNames=function(){var a=this,d=this.names;0<d.length&&(Object.keys(d.keys).forEach(function(a){delete d.keys[a]}),d.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(d){d.xIncrement=null;if(!d.points||d.isDirtyData)a.max=Math.max(a.max,d.xData.length-1),d.processData(),d.generatePoints();d.data.forEach(function(e,
-g){if(e&&e.options&&"undefined"!==typeof e.name){var m=a.nameToX(e);"undefined"!==typeof m&&m!==e.x&&(e.x=m,d.xData[g]=m)}})}))};b.prototype.setAxisTranslation=function(){var d=this,e=d.max-d.min,g=d.axisPointRange||0,m=0,c=0,f=d.linkedParent,n=!!d.categories,k=d.transA,h=d.isXAxis;if(h||n||g){var b=d.getClosest();f?(m=f.minPointOffset,c=f.pointRangePadding):d.series.forEach(function(e){var f=n?1:h?A(e.options.pointRange,b,0):d.axisPointRange||0,k=e.options.pointPlacement;g=Math.max(g,f);if(!d.single||
-n)e=e.is("xrange")?!h:h,m=Math.max(m,e&&a(k)?0:f/2),c=Math.max(c,e&&"on"===k?0:f)});f=d.ordinal&&d.ordinal.slope&&b?d.ordinal.slope/b:1;d.minPointOffset=m*=f;d.pointRangePadding=c*=f;d.pointRange=Math.min(g,d.single&&n?1:e);h&&(d.closestPointRange=b)}d.translationSlope=d.transA=k=d.staticScale||d.len/(e+c||1);d.transB=d.horiz?d.left:d.bottom;d.minPixelPadding=k*m;r(this,"afterSetAxisTranslation")};b.prototype.minFromRange=function(){return this.max-this.range};b.prototype.setTickInterval=function(a){var e=
-this,g=e.chart,m=e.logarithmic,c=e.options,n=e.isXAxis,k=e.isLinked,h=c.maxPadding,b=c.minPadding,p=c.tickInterval,I=c.tickPixelInterval,F=e.categories,x=d(e.threshold)?e.threshold:null,l=e.softThreshold;e.dateTime||F||k||this.getTickAmount();var q=A(e.userMin,c.min);var N=A(e.userMax,c.max);if(k){e.linkedParent=g[e.coll][c.linkedTo];var t=e.linkedParent.getExtremes();e.min=A(t.min,t.dataMin);e.max=A(t.max,t.dataMax);c.type!==e.linkedParent.options.type&&w(11,1,g)}else{if(l&&f(x))if(e.dataMin>=x)t=
-x,b=0;else if(e.dataMax<=x){var R=x;h=0}e.min=A(q,t,e.dataMin);e.max=A(N,R,e.dataMax)}m&&(e.positiveValuesOnly&&!a&&0>=Math.min(e.min,A(e.dataMin,e.min))&&w(10,1,g),e.min=G(m.log2lin(e.min),16),e.max=G(m.log2lin(e.max),16));e.range&&f(e.max)&&(e.userMin=e.min=q=Math.max(e.dataMin,e.minFromRange()),e.userMax=N=e.max,e.range=null);r(e,"foundExtremes");e.beforePadding&&e.beforePadding();e.adjustForMinRange();!(F||e.axisPointRange||e.stacking&&e.stacking.usePercentage||k)&&f(e.min)&&f(e.max)&&(g=e.max-
-e.min)&&(!f(q)&&b&&(e.min-=g*b),!f(N)&&h&&(e.max+=g*h));d(e.userMin)||(d(c.softMin)&&c.softMin<e.min&&(e.min=q=c.softMin),d(c.floor)&&(e.min=Math.max(e.min,c.floor)));d(e.userMax)||(d(c.softMax)&&c.softMax>e.max&&(e.max=N=c.softMax),d(c.ceiling)&&(e.max=Math.min(e.max,c.ceiling)));l&&f(e.dataMin)&&(x=x||0,!f(q)&&e.min<x&&e.dataMin>=x?e.min=e.options.minRange?Math.min(x,e.max-e.minRange):x:!f(N)&&e.max>x&&e.dataMax<=x&&(e.max=e.options.minRange?Math.max(x,e.min+e.minRange):x));d(e.min)&&d(e.max)&&
-!this.chart.polar&&e.min>e.max&&(f(e.options.min)?e.max=e.min:f(e.options.max)&&(e.min=e.max));e.tickInterval=e.min===e.max||"undefined"===typeof e.min||"undefined"===typeof e.max?1:k&&!p&&I===e.linkedParent.options.tickPixelInterval?p=e.linkedParent.tickInterval:A(p,this.tickAmount?(e.max-e.min)/Math.max(this.tickAmount-1,1):void 0,F?1:(e.max-e.min)*I/Math.max(e.len,I));n&&!a&&e.series.forEach(function(a){var d,g;a.processData(e.min!==(null===(d=e.old)||void 0===d?void 0:d.min)||e.max!==(null===
-(g=e.old)||void 0===g?void 0:g.max))});e.setAxisTranslation();r(this,"initialAxisTranslation");e.pointRange&&!p&&(e.tickInterval=Math.max(e.pointRange,e.tickInterval));a=A(c.minTickInterval,e.dateTime&&!e.series.some(function(a){return a.noSharedTooltip})?e.closestPointRange:0);!p&&e.tickInterval<a&&(e.tickInterval=a);e.dateTime||e.logarithmic||p||(e.tickInterval=E(e.tickInterval,void 0,u(e.tickInterval),A(c.allowDecimals,.5>e.tickInterval||void 0!==this.tickAmount),!!this.tickAmount));this.tickAmount||
-(e.tickInterval=e.unsquish());this.setTickPositions()};b.prototype.setTickPositions=function(){var a=this.options,d=a.tickPositions;var e=this.getMinorTickInterval();var g=a.tickPositioner,m=this.hasVerticalPanning(),c="colorAxis"===this.coll,n=(c||!m)&&a.startOnTick;m=(c||!m)&&a.endOnTick;this.tickmarkOffset=this.categories&&"between"===a.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===e&&this.tickInterval?this.tickInterval/5:e;this.single=this.min===this.max&&f(this.min)&&
-!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==a.allowDecimals);this.tickPositions=e=d&&d.slice();!e&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?e=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,a.units),this.min,this.max,a.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):
-this.getLinearTickPositions(this.tickInterval,this.min,this.max):(e=[this.min,this.max],w(19,!1,this.chart)),e.length>this.len&&(e=[e[0],e.pop()],e[0]===e[1]&&(e.length=1)),this.tickPositions=e,g&&(g=g.apply(this,[this.min,this.max])))&&(this.tickPositions=e=g);this.paddedTicks=e.slice(0);this.trimTicks(e,n,m);this.isLinked||(this.single&&2>e.length&&!this.categories&&!this.series.some(function(a){return a.is("heatmap")&&"between"===a.options.pointPlacement})&&(this.min-=.5,this.max+=.5),d||g||this.adjustTickAmount());
-r(this,"afterSetTickPositions")};b.prototype.trimTicks=function(a,d,e){var g=a[0],m=a[a.length-1],c=!this.isOrdinal&&this.minPointOffset||0;r(this,"trimTicks");if(!this.isLinked){if(d&&-Infinity!==g)this.min=g;else for(;this.min-c>a[0];)a.shift();if(e)this.max=m;else for(;this.max+c<a[a.length-1];)a.pop();0===a.length&&f(g)&&!this.options.tickPositions&&a.push((m+g)/2)}};b.prototype.alignToOthers=function(){var a={},d,e=this.options;!1===this.chart.options.chart.alignTicks||!1===e.alignTicks||!1===
-e.startOnTick||!1===e.endOnTick||this.logarithmic||this.chart[this.coll].forEach(function(e){var g=e.options;g=[e.horiz?g.left:g.top,g.width,g.height,g.pane].join();e.series.length&&(a[g]?d=!0:a[g]=1)});return d};b.prototype.getTickAmount=function(){var a=this.options,d=a.tickAmount,e=a.tickPixelInterval;!f(a.tickInterval)&&!d&&this.len<e&&!this.isRadial&&!this.logarithmic&&a.startOnTick&&a.endOnTick&&(d=2);!d&&this.alignToOthers()&&(d=Math.ceil(this.len/e)+1);4>d&&(this.finalTickAmt=d,d=5);this.tickAmount=
-d};b.prototype.adjustTickAmount=function(){var a=this.options,e=this.tickInterval,g=this.tickPositions,m=this.tickAmount,c=this.finalTickAmt,n=g&&g.length,k=A(this.threshold,this.softThreshold?0:null);if(this.hasData()&&d(this.min)&&d(this.max)){if(n<m){for(;g.length<m;)g.length%2||this.min===k?g.push(G(g[g.length-1]+e)):g.unshift(G(g[0]-e));this.transA*=(n-1)/(m-1);this.min=a.startOnTick?g[0]:Math.min(this.min,g[0]);this.max=a.endOnTick?g[g.length-1]:Math.max(this.max,g[g.length-1])}else n>m&&(this.tickInterval*=
-2,this.setTickPositions());if(f(c)){for(e=a=g.length;e--;)(3===c&&1===e%2||2>=c&&0<e&&e<a-1)&&g.splice(e,1);this.finalTickAmt=void 0}}};b.prototype.setScale=function(){var a,d,e,g,m,c,f=!1,n=!1;this.series.forEach(function(a){var d;f=f||a.isDirtyData||a.isDirty;n=n||(null===(d=a.xAxis)||void 0===d?void 0:d.isDirty)||!1});this.setAxisSize();(c=this.len!==(null===(a=this.old)||void 0===a?void 0:a.len))||f||n||this.isLinked||this.forceRedraw||this.userMin!==(null===(d=this.old)||void 0===d?void 0:d.userMin)||
-this.userMax!==(null===(e=this.old)||void 0===e?void 0:e.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=c||this.min!==(null===(g=this.old)||void 0===g?void 0:g.min)||this.max!==(null===(m=this.old)||void 0===m?void 0:m.max))):this.stacking&&this.stacking.cleanStacks();f&&this.panningState&&(this.panningState.isDirty=!0);r(this,"afterSetScale")};b.prototype.setExtremes=function(a,
-d,e,g,m){var c=this,f=c.chart;e=A(e,!0);c.series.forEach(function(a){delete a.kdTree});m=L(m,{min:a,max:d});r(c,"setExtremes",m,function(){c.userMin=a;c.userMax=d;c.eventArgs=m;e&&f.redraw(g)})};b.prototype.zoom=function(a,d){var e=this,g=this.dataMin,m=this.dataMax,c=this.options,n=Math.min(g,A(c.min,g)),k=Math.max(m,A(c.max,m));a={newMin:a,newMax:d};r(this,"zoom",a,function(a){var d=a.newMin,c=a.newMax;if(d!==e.min||c!==e.max)e.allowZoomOutside||(f(g)&&(d<n&&(d=n),d>k&&(d=k)),f(m)&&(c<n&&(c=n),
-c>k&&(c=k))),e.displayBtn="undefined"!==typeof d||"undefined"!==typeof c,e.setExtremes(d,c,!1,void 0,{trigger:"zoom"});a.zoomed=!0});return a.zoomed};b.prototype.setAxisSize=function(){var a=this.chart,d=this.options,e=d.offsets||[0,0,0,0],g=this.horiz,m=this.width=Math.round(N(A(d.width,a.plotWidth-e[3]+e[1]),a.plotWidth)),c=this.height=Math.round(N(A(d.height,a.plotHeight-e[0]+e[2]),a.plotHeight)),f=this.top=Math.round(N(A(d.top,a.plotTop+e[0]),a.plotHeight,a.plotTop));d=this.left=Math.round(N(A(d.left,
-a.plotLeft+e[3]),a.plotWidth,a.plotLeft));this.bottom=a.chartHeight-c-f;this.right=a.chartWidth-m-d;this.len=Math.max(g?m:c,0);this.pos=g?d:f};b.prototype.getExtremes=function(){var a=this.logarithmic;return{min:a?G(a.lin2log(this.min)):this.min,max:a?G(a.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};b.prototype.getThreshold=function(a){var d=this.logarithmic,e=d?d.lin2log(this.min):this.min;d=d?d.lin2log(this.max):this.max;null===
-a||-Infinity===a?a=e:Infinity===a?a=d:e>a?a=e:d<a&&(a=d);return this.translate(a,0,1,0,1)};b.prototype.autoLabelAlign=function(a){var d=(A(a,0)-90*this.side+720)%360;a={align:"center"};r(this,"autoLabelAlign",a,function(a){15<d&&165>d?a.align="right":195<d&&345>d&&(a.align="left")});return a.align};b.prototype.tickSize=function(a){var d=this.options,e=d["tick"===a?"tickLength":"minorTickLength"],g=A(d["tick"===a?"tickWidth":"minorTickWidth"],"tick"===a&&this.isXAxis&&!this.categories?1:0);if(g&&e){"inside"===
-d[a+"Position"]&&(e=-e);var m=[e,g]}a={tickSize:m};r(this,"afterTickSize",a);return a.tickSize};b.prototype.labelMetrics=function(){var a=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[a]&&this.ticks[a].label)};b.prototype.unsquish=function(){var a=this.options.labels,d=this.horiz,e=this.tickInterval,g=e,m=this.len/(((this.categories?1:0)+this.max-this.min)/e),c,n=a.rotation,k=this.labelMetrics(),
-h,b=Number.MAX_VALUE,u,E=Math.max(this.max-this.min,0),p=function(a){var d=a/(m||1);d=1<d?Math.ceil(d):1;d*e>E&&Infinity!==a&&Infinity!==m&&E&&(d=Math.ceil(E/e));return G(d*e)};d?(u=!a.staggerLines&&!a.step&&(f(n)?[n]:m<A(a.autoRotationLimit,80)&&a.autoRotation))&&u.forEach(function(a){if(a===n||a&&-90<=a&&90>=a){h=p(Math.abs(k.h/Math.sin(M*a)));var d=h+Math.abs(a/360);d<b&&(b=d,c=a,g=h)}}):a.step||(g=p(k.h));this.autoRotation=u;this.labelRotation=A(c,n);return g};b.prototype.getSlotWidth=function(a){var e,
-g=this.chart,m=this.horiz,c=this.options.labels,f=Math.max(this.tickPositions.length-(this.categories?0:1),1),n=g.margin[3];if(a&&d(a.slotWidth))return a.slotWidth;if(m&&c&&2>(c.step||0))return c.rotation?0:(this.staggerLines||1)*this.len/f;if(!m){a=null===(e=null===c||void 0===c?void 0:c.style)||void 0===e?void 0:e.width;if(void 0!==a)return parseInt(a,10);if(n)return n-g.spacing[3]}return.33*g.chartWidth};b.prototype.renderUnsquish=function(){var d=this.chart,e=d.renderer,g=this.tickPositions,m=
-this.ticks,c=this.options.labels,f=c&&c.style||{},n=this.horiz,k=this.getSlotWidth(),h=Math.max(1,Math.round(k-2*(c.padding||5))),b={},u=this.labelMetrics(),E=c.style&&c.style.textOverflow,A=0;a(c.rotation)||(b.rotation=c.rotation||0);g.forEach(function(a){a=m[a];a.movedLabel&&a.replaceMovedLabel();a&&a.label&&a.label.textPxLength>A&&(A=a.label.textPxLength)});this.maxLabelLength=A;if(this.autoRotation)A>h&&A>u.h?b.rotation=this.labelRotation:this.labelRotation=0;else if(k){var p=h;if(!E){var I="clip";
-for(h=g.length;!n&&h--;){var r=g[h];if(r=m[r].label)r.styles&&"ellipsis"===r.styles.textOverflow?r.css({textOverflow:"clip"}):r.textPxLength>k&&r.css({width:k+"px"}),r.getBBox().height>this.len/g.length-(u.h-u.f)&&(r.specificTextOverflow="ellipsis")}}}b.rotation&&(p=A>.5*d.chartHeight?.33*d.chartHeight:A,E||(I="ellipsis"));if(this.labelAlign=c.align||this.autoLabelAlign(this.labelRotation))b.align=this.labelAlign;g.forEach(function(a){var d=(a=m[a])&&a.label,e=f.width,g={};d&&(d.attr(b),a.shortenLabel?
-a.shortenLabel():p&&!e&&"nowrap"!==f.whiteSpace&&(p<d.textPxLength||"SPAN"===d.element.tagName)?(g.width=p+"px",E||(g.textOverflow=d.specificTextOverflow||I),d.css(g)):d.styles&&d.styles.width&&!g.width&&!e&&d.css({width:null}),delete d.specificTextOverflow,a.rotation=b.rotation)},this);this.tickRotCorr=e.rotCorr(u.b,this.labelRotation||0,0!==this.side)};b.prototype.hasData=function(){return this.series.some(function(a){return a.hasData()})||this.options.showEmpty&&f(this.min)&&f(this.max)};b.prototype.addTitle=
-function(a){var d=this.chart.renderer,e=this.horiz,g=this.opposite,c=this.options.title,f,n=this.chart.styledMode;this.axisTitle||((f=c.textAlign)||(f=(e?{low:"left",middle:"center",high:"right"}:{low:g?"right":"left",middle:"center",high:g?"left":"right"})[c.align]),this.axisTitle=d.text(c.text,0,0,c.useHTML).attr({zIndex:7,rotation:c.rotation||0,align:f}).addClass("highcharts-axis-title"),n||this.axisTitle.css(m(c.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);n||c.style.width||
-this.isRadial||this.axisTitle.css({width:this.len+"px"});this.axisTitle[a?"show":"hide"](a)};b.prototype.generateTick=function(a){var d=this.ticks;d[a]?d[a].addLabel():d[a]=new C(this,a)};b.prototype.getOffset=function(){var a=this,d=this,e=d.chart,g=e.renderer,m=d.options,c=d.tickPositions,n=d.ticks,k=d.horiz,h=d.side,b=e.inverted&&!d.isZAxis?[1,0,3,2][h]:h,u,E=0,p=0,x=m.title,l=m.labels,q=0,N=e.axisOffset;e=e.clipOffset;var t=[-1,1,1,-1][h],R=m.className,H=d.axisParent;var v=d.hasData();d.showAxis=
-u=v||A(m.showEmpty,!0);d.staggerLines=d.horiz&&l.staggerLines;if(!d.axisGroup){var G=function(d,e,m){return g.g(d).attr({zIndex:m}).addClass("highcharts-"+a.coll.toLowerCase()+e+" "+(a.isRadial?"highcharts-radial-axis"+e+" ":"")+(R||"")).add(H)};d.gridGroup=G("grid","-grid",m.gridZIndex||1);d.axisGroup=G("axis","",m.zIndex||2);d.labelGroup=G("axis-labels","-labels",l.zIndex||7)}v||d.isLinked?(c.forEach(function(a,e){d.generateTick(a,e)}),d.renderUnsquish(),d.reserveSpaceDefault=0===h||2===h||{1:"left",
-3:"right"}[h]===d.labelAlign,A(l.reserveSpace,"center"===d.labelAlign?!0:null,d.reserveSpaceDefault)&&c.forEach(function(a){q=Math.max(n[a].getLabelSize(),q)}),d.staggerLines&&(q*=d.staggerLines),d.labelOffset=q*(d.opposite?-1:1)):I(n,function(a,d){a.destroy();delete n[d]});if(x&&x.text&&!1!==x.enabled&&(d.addTitle(u),u&&!1!==x.reserveSpace)){d.titleOffset=E=d.axisTitle.getBBox()[k?"height":"width"];var w=x.offset;p=f(w)?0:A(x.margin,k?5:10)}d.renderLine();d.offset=t*A(m.offset,N[h]?N[h]+(m.margin||
-0):0);d.tickRotCorr=d.tickRotCorr||{x:0,y:0};x=0===h?-d.labelMetrics().h:2===h?d.tickRotCorr.y:0;p=Math.abs(q)+p;q&&(p=p-x+t*(k?A(l.y,d.tickRotCorr.y+8*t):l.x));d.axisTitleMargin=A(w,p);d.getMaxLabelDimensions&&(d.maxLabelDimensions=d.getMaxLabelDimensions(n,c));k=this.tickSize("tick");N[h]=Math.max(N[h],d.axisTitleMargin+E+t*d.offset,p,c&&c.length&&k?k[0]+t*d.offset:0);m=m.offset?0:2*Math.floor(d.axisLine.strokeWidth()/2);e[b]=Math.max(e[b],m);r(this,"afterGetOffset")};b.prototype.getLinePath=function(a){var d=
-this.chart,e=this.opposite,g=this.offset,m=this.horiz,c=this.left+(e?this.width:0)+g;g=d.chartHeight-this.bottom-(e?this.height:0)+g;e&&(a*=-1);return d.renderer.crispLine([["M",m?this.left:c,m?g:this.top],["L",m?d.chartWidth-this.right:c,m?g:d.chartHeight-this.bottom]],a)};b.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,
-zIndex:7}))};b.prototype.getTitlePosition=function(){var a=this.horiz,d=this.left,e=this.top,g=this.len,m=this.options.title,c=a?d:e,f=this.opposite,n=this.offset,k=m.x||0,h=m.y||0,b=this.axisTitle,u=this.chart.renderer.fontMetrics(m.style&&m.style.fontSize,b);b=Math.max(b.getBBox(null,0).height-u.h-1,0);g={low:c+(a?0:g),middle:c+g/2,high:c+(a?g:0)}[m.align];d=(a?e+this.height:d)+(a?1:-1)*(f?-1:1)*this.axisTitleMargin+[-b,b,u.f,-b][this.side];a={x:a?g+k:d+(f?this.width:0)+n+k,y:a?d+h-(f?this.height:
-0)+n:g+h};r(this,"afterGetTitlePosition",{titlePosition:a});return a};b.prototype.renderMinorTick=function(a){var d=this.chart.hasRendered&&this.old,e=this.minorTicks;e[a]||(e[a]=new C(this,a,"minor"));d&&e[a].isNew&&e[a].render(null,!0);e[a].render(null,!1,1)};b.prototype.renderTick=function(a,d){var e,g=this.ticks,m=this.chart.hasRendered&&this.old;if(!this.isLinked||a>=this.min&&a<=this.max||(null===(e=this.grid)||void 0===e?0:e.isColumn))g[a]||(g[a]=new C(this,a)),m&&g[a].isNew&&g[a].render(d,
-!0,-1),g[a].render(d)};b.prototype.render=function(){var a=this,e=a.chart,g=a.logarithmic,m=a.options,c=a.isLinked,f=a.tickPositions,n=a.axisTitle,k=a.ticks,h=a.minorTicks,b=a.alternateBands,u=m.stackLabels,E=m.alternateGridColor,A=a.tickmarkOffset,p=a.axisLine,x=a.showAxis,q=t(e.renderer.globalAnimation),l,N;a.labelEdge.length=0;a.overlap=!1;[k,h,b].forEach(function(a){I(a,function(a){a.isActive=!1})});if(a.hasData()||c)a.minorTickInterval&&!a.categories&&a.getMinorTickPositions().forEach(function(d){a.renderMinorTick(d)}),
-f.length&&(f.forEach(function(d,e){a.renderTick(d,e)}),A&&(0===a.min||a.single)&&(k[-1]||(k[-1]=new C(a,-1,null,!0)),k[-1].render(-1))),E&&f.forEach(function(d,m){N="undefined"!==typeof f[m+1]?f[m+1]+A:a.max-A;0===m%2&&d<a.max&&N<=a.max+(e.polar?-A:A)&&(b[d]||(b[d]=new B.PlotLineOrBand(a)),l=d+A,b[d].options={from:g?g.lin2log(l):l,to:g?g.lin2log(N):N,color:E,className:"highcharts-alternate-grid"},b[d].render(),b[d].isActive=!0)}),a._addedPlotLB||(a._addedPlotLB=!0,(m.plotLines||[]).concat(m.plotBands||
-[]).forEach(function(d){a.addPlotBandOrLine(d)}));[k,h,b].forEach(function(a){var d,g=[],m=q.duration;I(a,function(a,d){a.isActive||(a.render(d,!1,0),a.isActive=!1,g.push(d))});T(function(){for(d=g.length;d--;)a[g[d]]&&!a[g[d]].isActive&&(a[g[d]].destroy(),delete a[g[d]])},a!==b&&e.hasRendered&&m?m:0)});p&&(p[p.isPlaced?"animate":"attr"]({d:this.getLinePath(p.strokeWidth())}),p.isPlaced=!0,p[x?"show":"hide"](x));n&&x&&(m=a.getTitlePosition(),d(m.y)?(n[n.isNew?"attr":"animate"](m),n.isNew=!1):(n.attr("y",
--9999),n.isNew=!0));u&&u.enabled&&a.stacking&&a.stacking.renderStackTotals();a.old={len:a.len,max:a.max,min:a.min,transA:a.transA,userMax:a.userMax,userMin:a.userMin};a.isDirty=!1;r(this,"afterRender")};b.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(a){a.render()}));this.series.forEach(function(a){a.isDirty=!0})};b.prototype.getKeepProps=function(){return this.keepProps||b.keepProps};b.prototype.destroy=function(a){var d=this,e=d.plotLinesAndBands,
-g;r(this,"destroy",{keepEvents:a});a||R(d);[d.ticks,d.minorTicks,d.alternateBands].forEach(function(a){H(a)});if(e)for(a=e.length;a--;)e[a].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(a){d[a]&&(d[a]=d[a].destroy())});for(g in d.plotLinesAndBandsGroups)d.plotLinesAndBandsGroups[g]=d.plotLinesAndBandsGroups[g].destroy();I(d,function(a,e){-1===d.getKeepProps().indexOf(e)&&delete d[e]})};b.prototype.drawCrosshair=function(a,d){var e=this.crosshair,
-g=A(e.snap,!0),m,c=this.cross,n=this.chart;r(this,"drawCrosshair",{e:a,point:d});a||(a=this.cross&&this.cross.e);if(this.crosshair&&!1!==(f(d)||!g)){g?f(d)&&(m=A("colorAxis"!==this.coll?d.crosshairPos:null,this.isXAxis?d.plotX:this.len-d.plotY)):m=a&&(this.horiz?a.chartX-this.pos:this.len-a.chartY+this.pos);if(f(m)){var k={value:d&&(this.isXAxis?d.x:A(d.stackY,d.y)),translatedValue:m};n.polar&&L(k,{isCrosshair:!0,chartX:a&&a.chartX,chartY:a&&a.chartY,point:d});k=this.getPlotLinePath(k)||null}if(!f(k)){this.hideCrosshair();
-return}g=this.categories&&!this.isRadial;c||(this.cross=c=n.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(g?"category ":"thin ")+e.className).attr({zIndex:A(e.zIndex,2)}).add(),n.styledMode||(c.attr({stroke:e.color||(g?l.parse(y.highlightColor20).setOpacity(.25).get():y.neutralColor20),"stroke-width":A(e.width,1)}).css({"pointer-events":"none"}),e.dashStyle&&c.attr({dashstyle:e.dashStyle})));c.show().attr({d:k});g&&!e.width&&c.attr({"stroke-width":this.transA});this.cross.e=
-a}else this.hideCrosshair();r(this,"afterDrawCrosshair",{e:a,point:d})};b.prototype.hideCrosshair=function(){this.cross&&this.cross.hide();r(this,"afterHideCrosshair")};b.prototype.hasVerticalPanning=function(){var a,d=null===(a=this.chart.options.chart)||void 0===a?void 0:a.panning;return!!(d&&d.enabled&&/y/.test(d.type))};b.prototype.validatePositiveValue=function(a){return d(a)&&0<a};b.prototype.update=function(a,d){var e=this.chart,g=a&&a.events||{};a=m(this.userOptions,a);e.options[this.coll].indexOf&&
-(e.options[this.coll][e.options[this.coll].indexOf(this.userOptions)]=a);I(e.options[this.coll].events,function(a,d){"undefined"===typeof g[d]&&(g[d]=void 0)});this.destroy(!0);this.init(e,L(a,{events:g}));e.isDirtyBox=!0;A(d,!0)&&e.redraw()};b.prototype.remove=function(a){for(var d=this.chart,g=this.coll,m=this.series,c=m.length;c--;)m[c]&&m[c].remove(!1);x(d.axes,this);x(d[g],this);e(d.options[g])?d.options[g].splice(this.options.index,1):delete d.options[g];d[g].forEach(function(a,d){a.options.index=
-a.userOptions.index=d});this.destroy();d.isDirtyBox=!0;A(a,!0)&&d.redraw()};b.prototype.setTitle=function(a,d){this.update({title:a},d)};b.prototype.setCategories=function(a,d){this.update({categories:a},d)};b.defaultOptions={dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,labels:{enabled:!0,indentation:10,
-x:0,style:{color:y.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",minPadding:.01,showEmpty:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",style:{color:y.neutralColor60}},type:"linear",minorGridLineColor:y.neutralColor5,minorGridLineWidth:1,minorTickColor:y.neutralColor40,lineColor:y.highlightColor20,lineWidth:1,gridLineColor:y.neutralColor10,
-tickColor:y.highlightColor20};b.defaultYAxisOptions={endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var a=this.axis.chart.numberFormatter;return a(this.total,-1)},style:{color:y.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};b.defaultLeftAxisOptions=
-{labels:{x:-15},title:{rotation:270}};b.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};b.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};b.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};b.keepProps="extKey hcEvents names series userMax userMin".split(" ");return b}();B.Axis=b;return B.Axis});J(b,"Core/Axis/DateTimeAxis.js",[b["Core/Axis/Axis.js"],b["Core/Utilities.js"]],function(b,l){var w=l.addEvent,y=l.getMagnitude,
-z=l.normalizeTickInterval,C=l.timeUnits,v=function(){function b(b){this.axis=b}b.prototype.normalizeTimeTickInterval=function(b,h){var c=h||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];h=c[c.length-1];var p=C[h[0]],k=h[1],l;for(l=0;l<c.length&&!(h=c[l],p=C[h[0]],k=h[1],c[l+1]&&b<=(p*k[k.length-1]+C[c[l+1][0]])/2);l++);p===C.year&&b<5*p&&(k=[1,2,5]);
-b=z(b/p,k,"year"===h[0]?Math.max(y(b/p),1):1);return{unitRange:p,count:b,unitName:h[0]}};return b}();l=function(){function b(){}b.compose=function(b){b.keepProps.push("dateTime");b.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)};w(b,"init",function(b){"datetime"!==b.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new v(this))})};b.AdditionsClass=v;return b}();l.compose(b);return l});J(b,"Core/Axis/LogarithmicAxis.js",[b["Core/Axis/Axis.js"],
-b["Core/Utilities.js"]],function(b,l){var w=l.addEvent,y=l.getMagnitude,z=l.normalizeTickInterval,C=l.pick,v=function(){function b(b){this.axis=b}b.prototype.getLogTickPositions=function(b,h,c,p){var k=this.axis,l=k.len,f=k.options,q=[];p||(this.minorAutoInterval=void 0);if(.5<=b)b=Math.round(b),q=k.getLinearTickPositions(b,h,c);else if(.08<=b){f=Math.floor(h);var x,t;for(l=.3<b?[1,2,4]:.15<b?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];f<c+1&&!t;f++){var v=l.length;for(x=0;x<v&&!t;x++){var r=this.log2lin(this.lin2log(f)*
-l[x]);r>h&&(!p||n<=c)&&"undefined"!==typeof n&&q.push(n);n>c&&(t=!0);var n=r}}}else h=this.lin2log(h),c=this.lin2log(c),b=p?k.getMinorTickInterval():f.tickInterval,b=C("auto"===b?null:b,this.minorAutoInterval,f.tickPixelInterval/(p?5:1)*(c-h)/((p?l/k.tickPositions.length:l)||1)),b=z(b,void 0,y(b)),q=k.getLinearTickPositions(b,h,c).map(this.log2lin),p||(this.minorAutoInterval=b/5);p||(k.tickInterval=b);return q};b.prototype.lin2log=function(b){return Math.pow(10,b)};b.prototype.log2lin=function(b){return Math.log(b)/
-Math.LN10};return b}();l=function(){function b(){}b.compose=function(b){b.keepProps.push("logarithmic");w(b,"init",function(b){var c=this.logarithmic;"logarithmic"!==b.userOptions.type?this.logarithmic=void 0:c||(this.logarithmic=new v(this))});w(b,"afterInit",function(){var b=this.logarithmic;b&&(this.lin2val=function(c){return b.lin2log(c)},this.val2lin=function(c){return b.log2lin(c)})})};return b}();l.compose(b);return l});J(b,"Core/Axis/PlotLineOrBand.js",[b["Core/Axis/Axis.js"],b["Core/Globals.js"],
-b["Core/Color/Palette.js"],b["Core/Utilities.js"]],function(b,l,B,y){var w=y.arrayMax,C=y.arrayMin,v=y.defined,t=y.destroyObjectProperties,q=y.erase,h=y.extend,c=y.fireEvent,p=y.merge,k=y.objectEach,G=y.pick;y=function(){function f(c,f){this.axis=c;f&&(this.options=f,this.id=f.id)}f.prototype.render=function(){c(this,"render");var f=this,b=f.axis,h=b.horiz,l=b.logarithmic,r=f.options,n=r.label,u=f.label,e=r.to,g=r.from,d=r.value,a=v(g)&&v(e),m=v(d),E=f.svgElem,I=!E,A=[],N=r.color,q=G(r.zIndex,0),
-t=r.events;A={"class":"highcharts-plot-"+(a?"band ":"line ")+(r.className||"")};var w={},M=b.chart.renderer,z=a?"bands":"lines";l&&(g=l.log2lin(g),e=l.log2lin(e),d=l.log2lin(d));b.chart.styledMode||(m?(A.stroke=N||B.neutralColor40,A["stroke-width"]=G(r.width,1),r.dashStyle&&(A.dashstyle=r.dashStyle)):a&&(A.fill=N||B.highlightColor10,r.borderWidth&&(A.stroke=r.borderColor,A["stroke-width"]=r.borderWidth)));w.zIndex=q;z+="-"+q;(l=b.plotLinesAndBandsGroups[z])||(b.plotLinesAndBandsGroups[z]=l=M.g("plot-"+
-z).attr(w).add());I&&(f.svgElem=E=M.path().attr(A).add(l));if(m)A=b.getPlotLinePath({value:d,lineWidth:E.strokeWidth(),acrossPanes:r.acrossPanes});else if(a)A=b.getPlotBandPath(g,e,r);else return;!f.eventsAdded&&t&&(k(t,function(a,d){E.on(d,function(a){t[d].apply(f,[a])})}),f.eventsAdded=!0);(I||!E.d)&&A&&A.length?E.attr({d:A}):E&&(A?(E.show(!0),E.animate({d:A})):E.d&&(E.hide(),u&&(f.label=u=u.destroy())));n&&(v(n.text)||v(n.formatter))&&A&&A.length&&0<b.width&&0<b.height&&!A.isFlat?(n=p({align:h&&
-a&&"center",x:h?!a&&4:10,verticalAlign:!h&&a&&"middle",y:h?a?16:10:a?6:-4,rotation:h&&!a&&90},n),this.renderLabel(n,A,a,q)):u&&u.hide();return f};f.prototype.renderLabel=function(c,f,b,k){var h=this.label,n=this.axis.chart.renderer;h||(h={align:c.textAlign||c.align,rotation:c.rotation,"class":"highcharts-plot-"+(b?"band":"line")+"-label "+(c.className||"")},h.zIndex=k,k=this.getLabelText(c),this.label=h=n.text(k,0,0,c.useHTML).attr(h).add(),this.axis.chart.styledMode||h.css(c.style));n=f.xBounds||
-[f[0][1],f[1][1],b?f[2][1]:f[0][1]];f=f.yBounds||[f[0][2],f[1][2],b?f[2][2]:f[0][2]];b=C(n);k=C(f);h.align(c,!1,{x:b,y:k,width:w(n)-b,height:w(f)-k});h.show(!0)};f.prototype.getLabelText=function(c){return v(c.formatter)?c.formatter.call(this):c.text};f.prototype.destroy=function(){q(this.axis.plotLinesAndBands,this);delete this.axis;t(this)};return f}();h(b.prototype,{getPlotBandPath:function(c,b,k){void 0===k&&(k=this.options);var f=this.getPlotLinePath({value:b,force:!0,acrossPanes:k.acrossPanes});
-k=this.getPlotLinePath({value:c,force:!0,acrossPanes:k.acrossPanes});var h=[],p=this.horiz,n=1;c=c<this.min&&b<this.min||c>this.max&&b>this.max;if(k&&f){if(c){var u=k.toString()===f.toString();n=0}for(c=0;c<k.length;c+=2){b=k[c];var e=k[c+1],g=f[c],d=f[c+1];"M"!==b[0]&&"L"!==b[0]||"M"!==e[0]&&"L"!==e[0]||"M"!==g[0]&&"L"!==g[0]||"M"!==d[0]&&"L"!==d[0]||(p&&g[1]===b[1]?(g[1]+=n,d[1]+=n):p||g[2]!==b[2]||(g[2]+=n,d[2]+=n),h.push(["M",b[1],b[2]],["L",e[1],e[2]],["L",d[1],d[2]],["L",g[1],g[2]],["Z"]));
-h.isFlat=u}}return h},addPlotBand:function(c){return this.addPlotBandOrLine(c,"plotBands")},addPlotLine:function(c){return this.addPlotBandOrLine(c,"plotLines")},addPlotBandOrLine:function(c,b){var f=this,k=new l.PlotLineOrBand(this,c),h=this.userOptions;this.visible&&(k=k.render());if(k){this._addedPlotLB||(this._addedPlotLB=!0,(h.plotLines||[]).concat(h.plotBands||[]).forEach(function(c){f.addPlotBandOrLine(c)}));if(b){var p=h[b]||[];p.push(c);h[b]=p}this.plotLinesAndBands.push(k)}return k},removePlotBandOrLine:function(c){for(var f=
-this.plotLinesAndBands,b=this.options,k=this.userOptions,h=f.length;h--;)f[h].id===c&&f[h].destroy();[b.plotLines||[],k.plotLines||[],b.plotBands||[],k.plotBands||[]].forEach(function(f){for(h=f.length;h--;)(f[h]||{}).id===c&&q(f,f[h])})},removePlotBand:function(c){this.removePlotBandOrLine(c)},removePlotLine:function(c){this.removePlotBandOrLine(c)}});l.PlotLineOrBand=y;return l.PlotLineOrBand});J(b,"Core/Tooltip.js",[b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Utilities.js"]],function(b,
-l,B){var w=b.doc,z=B.clamp,C=B.css,v=B.defined,t=B.discardElement,q=B.extend,h=B.fireEvent,c=B.format,p=B.isNumber,k=B.isString,G=B.merge,f=B.pick,H=B.splat,x=B.syncTimeout,K=B.timeUnits;"";var L=function(){function r(c,f){this.container=void 0;this.crosshairs=[];this.distance=0;this.isHidden=!0;this.isSticky=!1;this.now={};this.options={};this.outside=!1;this.chart=c;this.init(c,f)}r.prototype.applyFilter=function(){var c=this.chart;c.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+
-c.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{"in":"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{"in":"SourceGraphic"}}]}]});c.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+c.index+"{filter:url(#drop-shadow-"+c.index+")}"})};r.prototype.bodyFormatter=
-function(c){return c.map(function(c){var e=c.series.tooltipOptions;return(e[(c.point.formatPrefix||"point")+"Formatter"]||c.point.tooltipFormatter).call(c.point,e[(c.point.formatPrefix||"point")+"Format"]||"")})};r.prototype.cleanSplit=function(c){this.chart.series.forEach(function(f){var e=f&&f.tt;e&&(!e.isActive||c?f.tt=e.destroy():e.isActive=!1)})};r.prototype.defaultFormatter=function(c){var f=this.points||H(this);var e=[c.tooltipFooterHeaderFormatter(f[0])];e=e.concat(c.bodyFormatter(f));e.push(c.tooltipFooterHeaderFormatter(f[0],
-!0));return e};r.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),t(this.container));B.clearTimeout(this.hideTimer);B.clearTimeout(this.tooltipTimeout)};r.prototype.getAnchor=function(c,f){var e=this.chart;var g=e.pointer;var d=e.inverted,a=e.plotTop,m=e.plotLeft,b=0,n=0,k,h;c=H(c);this.followPointer&&f?("undefined"===typeof f.chartX&&(f=g.normalize(f)),
-g=[f.chartX-m,f.chartY-a]):c[0].tooltipPos?g=c[0].tooltipPos:(c.forEach(function(g){k=g.series.yAxis;h=g.series.xAxis;b+=g.plotX||0;n+=g.plotLow?(g.plotLow+(g.plotHigh||0))/2:g.plotY||0;h&&k&&(d?(b+=a+e.plotHeight-h.len-h.pos,n+=m+e.plotWidth-k.len-k.pos):(b+=h.pos-m,n+=k.pos-a))}),b/=c.length,n/=c.length,g=[d?e.plotWidth-n:b,d?e.plotHeight-b:n],this.shared&&1<c.length&&f&&(d?g[0]=f.chartX-m:g[1]=f.chartY-a));return g.map(Math.round)};r.prototype.getDateFormat=function(c,f,e,g){var d=this.chart.time,
-a=d.dateFormat("%m-%d %H:%M:%S.%L",f),m={millisecond:15,second:12,minute:9,hour:6,day:3},b="millisecond";for(n in K){if(c===K.week&&+d.dateFormat("%w",f)===e&&"00:00:00.000"===a.substr(6)){var n="week";break}if(K[n]>c){n=b;break}if(m[n]&&a.substr(m[n])!=="01-01 00:00:00.000".substr(m[n]))break;"week"!==n&&(b=n)}if(n)var k=d.resolveDTLFormat(g[n]).main;return k};r.prototype.getLabel=function(){var c,f,e,g=this,d=this.chart.renderer,a=this.chart.styledMode,m=this.options,k="tooltip"+(v(m.className)?
-" "+m.className:""),h=(null===(c=m.style)||void 0===c?void 0:c.pointerEvents)||(!this.followPointer&&m.stickOnContact?"auto":"none"),A;c=function(){g.inContact=!0};var p=function(){var a=g.chart.hoverSeries;g.inContact=!1;if(a&&a.onMouseOut)a.onMouseOut()};if(!this.label){if(this.outside){var r=null===(f=this.chart.options.chart)||void 0===f?void 0:f.style;this.container=A=b.doc.createElement("div");A.className="highcharts-tooltip-container";C(A,{position:"absolute",top:"1px",pointerEvents:h,zIndex:Math.max((null===
-(e=this.options.style)||void 0===e?void 0:e.zIndex)||0,((null===r||void 0===r?void 0:r.zIndex)||0)+3)});b.doc.body.appendChild(A);this.renderer=d=new b.Renderer(A,0,0,r,void 0,void 0,d.styledMode)}this.split?this.label=d.g(k):(this.label=d.label("",0,0,m.shape||"callout",null,null,m.useHTML,null,k).attr({padding:m.padding,r:m.borderRadius}),a||this.label.attr({fill:m.backgroundColor,"stroke-width":m.borderWidth}).css(m.style).css({pointerEvents:h}).shadow(m.shadow));a&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+
-this.chart.index));if(g.outside&&!g.split){var l=this.label,x=l.xSetter,q=l.ySetter;l.xSetter=function(a){x.call(l,g.distance);A.style.left=a+"px"};l.ySetter=function(a){q.call(l,g.distance);A.style.top=a+"px"}}this.label.on("mouseenter",c).on("mouseleave",p).attr({zIndex:8}).add()}return this.label};r.prototype.getPosition=function(c,b,e){var g=this.chart,d=this.distance,a={},m=g.inverted&&e.h||0,k,n=this.outside,h=n?w.documentElement.clientWidth-2*d:g.chartWidth,u=n?Math.max(w.body.scrollHeight,
-w.documentElement.scrollHeight,w.body.offsetHeight,w.documentElement.offsetHeight,w.documentElement.clientHeight):g.chartHeight,p=g.pointer.getChartPosition(),r=function(a){var m="x"===a;return[a,m?h:u,m?c:b].concat(n?[m?c*p.scaleX:b*p.scaleY,m?p.left-d+(e.plotX+g.plotLeft)*p.scaleX:p.top-d+(e.plotY+g.plotTop)*p.scaleY,0,m?h:u]:[m?c:b,m?e.plotX+g.plotLeft:e.plotY+g.plotTop,m?g.plotLeft:g.plotTop,m?g.plotLeft+g.plotWidth:g.plotTop+g.plotHeight])},l=r("y"),x=r("x"),q=!this.followPointer&&f(e.ttBelow,
-!g.inverted===!!e.negative),t=function(e,g,c,f,b,k,h){var E=n?"y"===e?d*p.scaleY:d*p.scaleX:d,u=(c-f)/2,A=f<b-d,D=b+d+f<g,r=b-E-c+u;b=b+E-u;if(q&&D)a[e]=b;else if(!q&&A)a[e]=r;else if(A)a[e]=Math.min(h-f,0>r-m?r:r-m);else if(D)a[e]=Math.max(k,b+m+c>g?b:b+m);else return!1},v=function(e,g,m,c,f){var b;f<d||f>g-d?b=!1:a[e]=f<m/2?1:f>g-c/2?g-c-2:f-m/2;return b},G=function(a){var d=l;l=x;x=d;k=a},H=function(){!1!==t.apply(0,l)?!1!==v.apply(0,x)||k||(G(!0),H()):k?a.x=a.y=0:(G(!0),H())};(g.inverted||1<this.len)&&
-G();H();return a};r.prototype.getXDateFormat=function(c,f,e){f=f.dateTimeLabelFormats;var g=e&&e.closestPointRange;return(g?this.getDateFormat(g,c.x,e.options.startOfWeek,f):f.day)||f.year};r.prototype.hide=function(c){var b=this;B.clearTimeout(this.hideTimer);c=f(c,this.options.hideDelay,500);this.isHidden||(this.hideTimer=x(function(){b.getLabel().fadeOut(c?void 0:c);b.isHidden=!0},c))};r.prototype.init=function(c,b){this.chart=c;this.options=b;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=
-!0;this.split=b.split&&!c.inverted&&!c.polar;this.shared=b.shared||this.split;this.outside=f(b.outside,!(!c.scrollablePixelsX&&!c.scrollablePixelsY))};r.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)};r.prototype.move=function(c,f,e,g){var d=this,a=d.now,m=!1!==d.options.animation&&!d.isHidden&&(1<Math.abs(c-a.x)||1<Math.abs(f-a.y)),b=d.followPointer||1<d.len;q(a,{x:m?(2*a.x+c)/3:c,y:m?(a.y+f)/2:f,anchorX:b?void 0:m?(2*a.anchorX+e)/
-3:e,anchorY:b?void 0:m?(a.anchorY+g)/2:g});d.getLabel().attr(a);d.drawTracker();m&&(B.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){d&&d.move(c,f,e,g)},32))};r.prototype.refresh=function(c,b){var e=this.chart,g=this.options,d=c,a={},m=[],k=g.formatter||this.defaultFormatter;a=this.shared;var n=e.styledMode;if(g.enabled){B.clearTimeout(this.hideTimer);this.followPointer=H(d)[0].series.tooltipOptions.followPointer;var u=this.getAnchor(d,b);b=u[0];var p=u[1];!a||d.series&&
-d.series.noSharedTooltip?a=d.getLabelConfig():(e.pointer.applyInactiveState(d),d.forEach(function(a){a.setState("hover");m.push(a.getLabelConfig())}),a={x:d[0].category,y:d[0].y},a.points=m,d=d[0]);this.len=m.length;e=k.call(a,this);k=d.series;this.distance=f(k.tooltipOptions.distance,16);!1===e?this.hide():(this.split?this.renderSplit(e,H(c)):(c=this.getLabel(),g.style.width&&!n||c.css({width:this.chart.spacingBox.width+"px"}),c.attr({text:e&&e.join?e.join(""):e}),c.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+
-f(d.colorIndex,k.colorIndex)),n||c.attr({stroke:g.borderColor||d.color||k.color||l.neutralColor60}),this.updatePosition({plotX:b,plotY:p,negative:d.negative,ttBelow:d.ttBelow,h:u[2]||0})),this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1);h(this,"refresh")}};r.prototype.renderSplit=function(c,h){function e(a,d,e,g,c){void 0===c&&(c=!0);e?(d=S?0:U,a=z(a-g/2,C.left,C.right-g)):(d-=P,a=c?a-g-w:a+w,a=z(a,c?a:C.left,C.right));return{x:a,y:d}}var g=this,d=g.chart,a=g.chart,
-m=a.plotHeight,n=a.plotLeft,u=a.plotTop,A=a.pointer,p=a.renderer,r=a.scrollablePixelsY,x=void 0===r?0:r;r=a.scrollingContainer;r=void 0===r?{scrollLeft:0,scrollTop:0}:r;var t=r.scrollLeft,v=r.scrollTop,G=a.styledMode,w=g.distance,H=g.options,L=g.options.positioner,C={left:t,right:t+a.chartWidth,top:v,bottom:v+a.chartHeight},D=g.getLabel(),S=!(!d.xAxis[0]||!d.xAxis[0].opposite),P=u+v,K=0,U=m-x;k(c)&&(c=[!1,c]);c=c.slice(0,h.length+1).reduce(function(a,d,c){if(!1!==d&&""!==d){c=h[c-1]||{isHeader:!0,
-plotX:h[0].plotX,plotY:m,series:{}};var b=c.isHeader,k=b?g:c.series,E=k.tt,A=c.isHeader;var r=c.series;var I="highcharts-color-"+f(c.colorIndex,r.colorIndex,"none");E||(E={padding:H.padding,r:H.borderRadius},G||(E.fill=H.backgroundColor,E["stroke-width"]=H.borderWidth),E=p.label("",0,0,H[A?"headerShape":"shape"]||"callout",void 0,void 0,H.useHTML).addClass((A?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+I).attr(E).add(D));E.isActive=!0;E.attr({text:d});G||E.css(H.style).shadow(H.shadow).attr({stroke:H.borderColor||
-c.color||r.color||l.neutralColor80});d=k.tt=E;A=d.getBBox();k=A.width+d.strokeWidth();b&&(K=A.height,U+=K,S&&(P-=K));r=c.plotX;r=void 0===r?0:r;I=c.plotY;I=void 0===I?0:I;var q=c.series;if(c.isHeader){r=n+r;var N=u+m/2}else E=q.xAxis,q=q.yAxis,r=E.pos+z(r,-w,E.len+w),q.pos+I>=v+u&&q.pos+I<=v+u+m-x&&(N=q.pos+I);r=z(r,C.left-w,C.right+w);"number"===typeof N?(A=A.height+1,I=L?L.call(g,k,A,c):e(r,N,b,k),a.push({align:L?0:void 0,anchorX:r,anchorY:N,boxWidth:k,point:c,rank:f(I.rank,b?1:0),size:A,target:I.y,
-tt:d,x:I.x})):d.isActive=!1}return a},[]);!L&&c.some(function(a){return a.x<C.left})&&(c=c.map(function(a){var d=e(a.anchorX,a.anchorY,a.point.isHeader,a.boxWidth,!1);return q(a,{target:d.y,x:d.x})}));g.cleanSplit();b.distribute(c,U);c.forEach(function(a){var d=a.pos;a.tt.attr({visibility:"undefined"===typeof d?"hidden":"inherit",x:a.x,y:d+P,anchorX:a.anchorX,anchorY:a.anchorY})});c=g.container;d=g.renderer;g.outside&&c&&d&&(a=D.getBBox(),d.setSize(a.width+a.x,a.height+a.y,!1),A=A.getChartPosition(),
-c.style.left=A.left+"px",c.style.top=A.top+"px")};r.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var c=this.chart,f=this.label,e=c.hoverPoint;if(f&&e){var g={x:0,y:0,width:0,height:0};e=this.getAnchor(e);var d=f.getBBox();e[0]+=c.plotLeft-f.translateX;e[1]+=c.plotTop-f.translateY;g.x=Math.min(0,e[0]);g.y=Math.min(0,e[1]);g.width=0>e[0]?Math.max(Math.abs(e[0]),d.width-e[0]):Math.max(Math.abs(e[0]),d.width);g.height=0>
-e[1]?Math.max(Math.abs(e[1]),d.height-Math.abs(e[1])):Math.max(Math.abs(e[1]),d.height);this.tracker?this.tracker.attr(g):(this.tracker=f.renderer.rect(g).addClass("highcharts-tracker").add(f),c.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}};r.prototype.styledModeFormat=function(c){return c.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')};r.prototype.tooltipFooterHeaderFormatter=
-function(f,b){var e=b?"footer":"header",g=f.series,d=g.tooltipOptions,a=d.xDateFormat,m=g.xAxis,k=m&&"datetime"===m.options.type&&p(f.key),n=d[e+"Format"];b={isFooter:b,labelConfig:f};h(this,"headerFormatter",b,function(e){k&&!a&&(a=this.getXDateFormat(f,d,m));k&&a&&(f.point&&f.point.tooltipDateKeys||["key"]).forEach(function(d){n=n.replace("{point."+d+"}","{point."+d+":"+a+"}")});g.chart.styledMode&&(n=this.styledModeFormat(n));e.text=c(n,{point:f,series:g},this.chart)});return b.text};r.prototype.update=
-function(c){this.destroy();G(!0,this.chart.options.tooltip.userOptions,c);this.init(this.chart,G(!0,this.options,c))};r.prototype.updatePosition=function(c){var f=this.chart,e=f.pointer,g=this.getLabel(),d=c.plotX+f.plotLeft;f=c.plotY+f.plotTop;e=e.getChartPosition();c=(this.options.positioner||this.getPosition).call(this,g.width,g.height,c);if(this.outside){var a=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(g.width+a,g.height+a,!1);if(1!==e.scaleX||1!==e.scaleY)C(this.container,
-{transform:"scale("+e.scaleX+", "+e.scaleY+")"}),d*=e.scaleX,f*=e.scaleY;d+=e.left-c.x;f+=e.top-c.y}this.move(Math.round(c.x),Math.round(c.y||0),d,f)};return r}();b.Tooltip=L;return b.Tooltip});J(b,"Core/Pointer.js",[b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Tooltip.js"],b["Core/Utilities.js"]],function(b,l,B,y,z){var w=b.parse,v=l.charts,t=l.noop,q=z.addEvent,h=z.attr,c=z.css,p=z.defined,k=z.extend,G=z.find,f=z.fireEvent,H=z.isNumber,x=z.isObject,K=z.objectEach,
-L=z.offset,r=z.pick,n=z.splat;"";b=function(){function b(e,g){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.chart=e;this.hasDragged=!1;this.options=g;this.unbindContainerMouseLeave=function(){};this.unbindContainerMouseEnter=function(){};this.init(e,g)}b.prototype.applyInactiveState=function(e){var g=[],d;(e||[]).forEach(function(a){d=a.series;g.push(d);d.linkedParent&&g.push(d.linkedParent);d.linkedSeries&&(g=g.concat(d.linkedSeries));d.navigatorSeries&&g.push(d.navigatorSeries)});
-this.chart.series.forEach(function(a){-1===g.indexOf(a)?a.setState("inactive",!0):a.options.inactiveOtherPoints&&a.setAllPointsToState("inactive")})};b.prototype.destroy=function(){var e=this;"undefined"!==typeof e.unDocMouseMove&&e.unDocMouseMove();this.unbindContainerMouseLeave();l.chartCount||(l.unbindDocumentMouseUp&&(l.unbindDocumentMouseUp=l.unbindDocumentMouseUp()),l.unbindDocumentTouchEnd&&(l.unbindDocumentTouchEnd=l.unbindDocumentTouchEnd()));clearInterval(e.tooltipTimeout);K(e,function(g,
-d){e[d]=void 0})};b.prototype.drag=function(e){var g=this.chart,d=g.options.chart,a=e.chartX,c=e.chartY,f=this.zoomHor,b=this.zoomVert,k=g.plotLeft,h=g.plotTop,n=g.plotWidth,p=g.plotHeight,u=this.selectionMarker,r=this.mouseDownX||0,l=this.mouseDownY||0,q=x(d.panning)?d.panning&&d.panning.enabled:d.panning,t=d.panKey&&e[d.panKey+"Key"];if(!u||!u.touch)if(a<k?a=k:a>k+n&&(a=k+n),c<h?c=h:c>h+p&&(c=h+p),this.hasDragged=Math.sqrt(Math.pow(r-a,2)+Math.pow(l-c,2)),10<this.hasDragged){var v=g.isInsidePlot(r-
-k,l-h);g.hasCartesianSeries&&(this.zoomX||this.zoomY)&&v&&!t&&!u&&(this.selectionMarker=u=g.renderer.rect(k,h,f?1:n,b?1:p,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),g.styledMode||u.attr({fill:d.selectionMarkerFill||w(B.highlightColor80).setOpacity(.25).get()}));u&&f&&(a-=r,u.attr({width:Math.abs(a),x:(0<a?0:a)+r}));u&&b&&(a=c-l,u.attr({height:Math.abs(a),y:(0<a?0:a)+l}));v&&!u&&q&&g.pan(e,d.panning)}};b.prototype.dragStart=function(e){var g=this.chart;g.mouseIsDown=e.type;g.cancelClick=
-!1;g.mouseDownX=this.mouseDownX=e.chartX;g.mouseDownY=this.mouseDownY=e.chartY};b.prototype.drop=function(e){var g=this,d=this.chart,a=this.hasPinched;if(this.selectionMarker){var m={originalEvent:e,xAxis:[],yAxis:[]},b=this.selectionMarker,h=b.attr?b.attr("x"):b.x,n=b.attr?b.attr("y"):b.y,u=b.attr?b.attr("width"):b.width,r=b.attr?b.attr("height"):b.height,l;if(this.hasDragged||a)d.axes.forEach(function(d){if(d.zoomEnabled&&p(d.min)&&(a||g[{xAxis:"zoomX",yAxis:"zoomY"}[d.coll]])&&H(h)&&H(n)){var c=
-d.horiz,f="touchend"===e.type?d.minPixelPadding:0,b=d.toValue((c?h:n)+f);c=d.toValue((c?h+u:n+r)-f);m[d.coll].push({axis:d,min:Math.min(b,c),max:Math.max(b,c)});l=!0}}),l&&f(d,"selection",m,function(e){d.zoom(k(e,a?{animation:!1}:null))});H(d.index)&&(this.selectionMarker=this.selectionMarker.destroy());a&&this.scaleGroups()}d&&H(d.index)&&(c(d.container,{cursor:d._cursor}),d.cancelClick=10<this.hasDragged,d.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])};b.prototype.findNearestKDPoint=
-function(e,g,d){var a=this.chart,c=a.hoverPoint;a=a.tooltip;if(c&&a&&a.isStickyOnContact())return c;var f;e.forEach(function(a){var e=!(a.noSharedTooltip&&g)&&0>a.options.findNearestPointBy.indexOf("y");a=a.searchPoint(d,e);if((e=x(a,!0)&&a.series)&&!(e=!x(f,!0))){e=f.distX-a.distX;var c=f.dist-a.dist,m=(a.series.group&&a.series.group.zIndex)-(f.series.group&&f.series.group.zIndex);e=0<(0!==e&&g?e:0!==c?c:0!==m?m:f.series.index>a.series.index?-1:1)}e&&(f=a)});return f};b.prototype.getChartCoordinatesFromPoint=
-function(e,c){var d=e.series,a=d.xAxis;d=d.yAxis;var g=r(e.clientX,e.plotX),f=e.shapeArgs;if(a&&d)return c?{chartX:a.len+a.pos-g,chartY:d.len+d.pos-e.plotY}:{chartX:g+a.pos,chartY:e.plotY+d.pos};if(f&&f.x&&f.y)return{chartX:f.x,chartY:f.y}};b.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var e=this.chart.container,c=L(e);this.chartPosition={left:c.left,top:c.top,scaleX:1,scaleY:1};var d=e.offsetWidth;e=e.offsetHeight;2<d&&2<e&&(this.chartPosition.scaleX=c.width/
-d,this.chartPosition.scaleY=c.height/e);return this.chartPosition};b.prototype.getCoordinates=function(e){var c={xAxis:[],yAxis:[]};this.chart.axes.forEach(function(d){c[d.isXAxis?"xAxis":"yAxis"].push({axis:d,value:d.toValue(e[d.horiz?"chartX":"chartY"])})});return c};b.prototype.getHoverData=function(e,c,d,a,m,b){var g,k=[];a=!(!a||!e);var h=c&&!c.stickyTracking,n={chartX:b?b.chartX:void 0,chartY:b?b.chartY:void 0,shared:m};f(this,"beforeGetHoverData",n);h=h?[c]:d.filter(function(a){return n.filter?
-n.filter(a):a.visible&&!(!m&&a.directTouch)&&r(a.options.enableMouseTracking,!0)&&a.stickyTracking});c=(g=a||!b?e:this.findNearestKDPoint(h,m,b))&&g.series;g&&(m&&!c.noSharedTooltip?(h=d.filter(function(a){return n.filter?n.filter(a):a.visible&&!(!m&&a.directTouch)&&r(a.options.enableMouseTracking,!0)&&!a.noSharedTooltip}),h.forEach(function(a){var d=G(a.points,function(a){return a.x===g.x&&!a.isNull});x(d)&&(a.chart.isBoosting&&(d=a.getPoint(d)),k.push(d))})):k.push(g));n={hoverPoint:g};f(this,"afterGetHoverData",
-n);return{hoverPoint:n.hoverPoint,hoverSeries:c,hoverPoints:k}};b.prototype.getPointFromEvent=function(e){e=e.target;for(var c;e&&!c;)c=e.point,e=e.parentNode;return c};b.prototype.onTrackerMouseOut=function(e){e=e.relatedTarget||e.toElement;var c=this.chart.hoverSeries;this.isDirectTouch=!1;if(!(!c||!e||c.stickyTracking||this.inClass(e,"highcharts-tooltip")||this.inClass(e,"highcharts-series-"+c.index)&&this.inClass(e,"highcharts-tracker")))c.onMouseOut()};b.prototype.inClass=function(e,c){for(var d;e;){if(d=
-h(e,"class")){if(-1!==d.indexOf(c))return!0;if(-1!==d.indexOf("highcharts-container"))return!1}e=e.parentNode}};b.prototype.init=function(e,c){this.options=c;this.chart=e;this.runChartClick=c.chart.events&&!!c.chart.events.click;this.pinchDown=[];this.lastValidTouch={};y&&(e.tooltip=new y(e,c.tooltip),this.followTouchMove=r(c.tooltip.followTouchMove,!0));this.setDOMEvents()};b.prototype.normalize=function(e,c){var d=e.touches,a=d?d.length?d.item(0):r(d.changedTouches,e.changedTouches)[0]:e;c||(c=
-this.getChartPosition());d=a.pageX-c.left;a=a.pageY-c.top;d/=c.scaleX;a/=c.scaleY;return k(e,{chartX:Math.round(d),chartY:Math.round(a)})};b.prototype.onContainerClick=function(e){var c=this.chart,d=c.hoverPoint;e=this.normalize(e);var a=c.plotLeft,m=c.plotTop;c.cancelClick||(d&&this.inClass(e.target,"highcharts-tracker")?(f(d.series,"click",k(e,{point:d})),c.hoverPoint&&d.firePointEvent("click",e)):(k(e,this.getCoordinates(e)),c.isInsidePlot(e.chartX-a,e.chartY-m)&&f(c,"click",e)))};b.prototype.onContainerMouseDown=
-function(e){var c=1===((e.buttons||e.button)&1);e=this.normalize(e);if(l.isFirefox&&0!==e.button)this.onContainerMouseMove(e);if("undefined"===typeof e.button||c)this.zoomOption(e),c&&e.preventDefault&&e.preventDefault(),this.dragStart(e)};b.prototype.onContainerMouseLeave=function(e){var c=v[r(l.hoverChartIndex,-1)],d=this.chart.tooltip;e=this.normalize(e);c&&(e.relatedTarget||e.toElement)&&(c.pointer.reset(),c.pointer.chartPosition=void 0);d&&!d.isHidden&&this.reset()};b.prototype.onContainerMouseEnter=
-function(e){delete this.chartPosition};b.prototype.onContainerMouseMove=function(e){var c=this.chart;e=this.normalize(e);this.setHoverChartIndex();e.preventDefault||(e.returnValue=!1);("mousedown"===c.mouseIsDown||this.touchSelect(e))&&this.drag(e);c.openMenu||!this.inClass(e.target,"highcharts-tracker")&&!c.isInsidePlot(e.chartX-c.plotLeft,e.chartY-c.plotTop)||this.runPointActions(e)};b.prototype.onDocumentTouchEnd=function(e){v[l.hoverChartIndex]&&v[l.hoverChartIndex].pointer.drop(e)};b.prototype.onContainerTouchMove=
-function(e){if(this.touchSelect(e))this.onContainerMouseMove(e);else this.touch(e)};b.prototype.onContainerTouchStart=function(e){if(this.touchSelect(e))this.onContainerMouseDown(e);else this.zoomOption(e),this.touch(e,!0)};b.prototype.onDocumentMouseMove=function(e){var c=this.chart,d=this.chartPosition;e=this.normalize(e,d);var a=c.tooltip;!d||a&&a.isStickyOnContact()||c.isInsidePlot(e.chartX-c.plotLeft,e.chartY-c.plotTop)||this.inClass(e.target,"highcharts-tracker")||this.reset()};b.prototype.onDocumentMouseUp=
-function(e){var c=v[r(l.hoverChartIndex,-1)];c&&c.pointer.drop(e)};b.prototype.pinch=function(e){var c=this,d=c.chart,a=c.pinchDown,m=e.touches||[],f=m.length,b=c.lastValidTouch,h=c.hasZoom,n=c.selectionMarker,p={},u=1===f&&(c.inClass(e.target,"highcharts-tracker")&&d.runTrackerClick||c.runChartClick),l={};1<f&&(c.initiated=!0);h&&c.initiated&&!u&&!1!==e.cancelable&&e.preventDefault();[].map.call(m,function(a){return c.normalize(a)});"touchstart"===e.type?([].forEach.call(m,function(d,e){a[e]={chartX:d.chartX,
-chartY:d.chartY}}),b.x=[a[0].chartX,a[1]&&a[1].chartX],b.y=[a[0].chartY,a[1]&&a[1].chartY],d.axes.forEach(function(a){if(a.zoomEnabled){var e=d.bounds[a.horiz?"h":"v"],c=a.minPixelPadding,m=a.toPixels(Math.min(r(a.options.min,a.dataMin),a.dataMin)),g=a.toPixels(Math.max(r(a.options.max,a.dataMax),a.dataMax)),f=Math.max(m,g);e.min=Math.min(a.pos,Math.min(m,g)-c);e.max=Math.max(a.pos+a.len,f+c)}}),c.res=!0):c.followTouchMove&&1===f?this.runPointActions(c.normalize(e)):a.length&&(n||(c.selectionMarker=
-n=k({destroy:t,touch:!0},d.plotBox)),c.pinchTranslate(a,m,p,n,l,b),c.hasPinched=h,c.scaleGroups(p,l),c.res&&(c.res=!1,this.reset(!1,0)))};b.prototype.pinchTranslate=function(e,c,d,a,m,f){this.zoomHor&&this.pinchTranslateDirection(!0,e,c,d,a,m,f);this.zoomVert&&this.pinchTranslateDirection(!1,e,c,d,a,m,f)};b.prototype.pinchTranslateDirection=function(e,c,d,a,m,f,b,k){var g=this.chart,h=e?"x":"y",n=e?"X":"Y",E="chart"+n,p=e?"width":"height",u=g["plot"+(e?"Left":"Top")],A,r,l=k||1,I=g.inverted,D=g.bounds[e?
-"h":"v"],x=1===c.length,q=c[0][E],t=d[0][E],v=!x&&c[1][E],G=!x&&d[1][E];d=function(){"number"===typeof G&&20<Math.abs(q-v)&&(l=k||Math.abs(t-G)/Math.abs(q-v));r=(u-t)/l+q;A=g["plot"+(e?"Width":"Height")]/l};d();c=r;if(c<D.min){c=D.min;var w=!0}else c+A>D.max&&(c=D.max-A,w=!0);w?(t-=.8*(t-b[h][0]),"number"===typeof G&&(G-=.8*(G-b[h][1])),d()):b[h]=[t,G];I||(f[h]=r-u,f[p]=A);f=I?1/l:l;m[p]=A;m[h]=c;a[I?e?"scaleY":"scaleX":"scale"+n]=l;a["translate"+n]=f*u+(t-f*q)};b.prototype.reset=function(e,c){var d=
-this.chart,a=d.hoverSeries,m=d.hoverPoint,g=d.hoverPoints,f=d.tooltip,b=f&&f.shared?g:m;e&&b&&n(b).forEach(function(a){a.series.isCartesian&&"undefined"===typeof a.plotX&&(e=!1)});if(e)f&&b&&n(b).length&&(f.refresh(b),f.shared&&g?g.forEach(function(a){a.setState(a.state,!0);a.series.isCartesian&&(a.series.xAxis.crosshair&&a.series.xAxis.drawCrosshair(null,a),a.series.yAxis.crosshair&&a.series.yAxis.drawCrosshair(null,a))}):m&&(m.setState(m.state,!0),d.axes.forEach(function(a){a.crosshair&&m.series[a.coll]===
-a&&a.drawCrosshair(null,m)})));else{if(m)m.onMouseOut();g&&g.forEach(function(a){a.setState()});if(a)a.onMouseOut();f&&f.hide(c);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());d.axes.forEach(function(a){a.hideCrosshair()});this.hoverX=d.hoverPoints=d.hoverPoint=null}};b.prototype.runPointActions=function(e,c){var d=this.chart,a=d.tooltip&&d.tooltip.options.enabled?d.tooltip:void 0,m=a?a.shared:!1,g=c||d.hoverPoint,f=g&&g.series||d.hoverSeries;f=this.getHoverData(g,f,d.series,(!e||
-"touchmove"!==e.type)&&(!!c||f&&f.directTouch&&this.isDirectTouch),m,e);g=f.hoverPoint;var b=f.hoverPoints;c=(f=f.hoverSeries)&&f.tooltipOptions.followPointer;m=m&&f&&!f.noSharedTooltip;if(g&&(g!==d.hoverPoint||a&&a.isHidden)){(d.hoverPoints||[]).forEach(function(a){-1===b.indexOf(a)&&a.setState()});if(d.hoverSeries!==f)f.onMouseOver();this.applyInactiveState(b);(b||[]).forEach(function(a){a.setState("hover")});d.hoverPoint&&d.hoverPoint.firePointEvent("mouseOut");if(!g.series)return;d.hoverPoints=
-b;d.hoverPoint=g;g.firePointEvent("mouseOver");a&&a.refresh(m?b:g,e)}else c&&a&&!a.isHidden&&(g=a.getAnchor([{}],e),a.updatePosition({plotX:g[0],plotY:g[1]}));this.unDocMouseMove||(this.unDocMouseMove=q(d.container.ownerDocument,"mousemove",function(a){var d=v[l.hoverChartIndex];if(d)d.pointer.onDocumentMouseMove(a)}));d.axes.forEach(function(a){var c=r((a.crosshair||{}).snap,!0),m;c&&((m=d.hoverPoint)&&m.series[a.coll]===a||(m=G(b,function(d){return d.series[a.coll]===a})));m||!c?a.drawCrosshair(e,
-m):a.hideCrosshair()})};b.prototype.scaleGroups=function(e,c){var d=this.chart,a;d.series.forEach(function(m){a=e||m.getPlotBox();m.xAxis&&m.xAxis.zoomEnabled&&m.group&&(m.group.attr(a),m.markerGroup&&(m.markerGroup.attr(a),m.markerGroup.clip(c?d.clipRect:null)),m.dataLabelsGroup&&m.dataLabelsGroup.attr(a))});d.clipRect.attr(c||d.clipBox)};b.prototype.setDOMEvents=function(){var e=this,c=this.chart.container,d=c.ownerDocument;c.onmousedown=this.onContainerMouseDown.bind(this);c.onmousemove=this.onContainerMouseMove.bind(this);
-c.onclick=this.onContainerClick.bind(this);this.unbindContainerMouseEnter=q(c,"mouseenter",this.onContainerMouseEnter.bind(this));this.unbindContainerMouseLeave=q(c,"mouseleave",this.onContainerMouseLeave.bind(this));l.unbindDocumentMouseUp||(l.unbindDocumentMouseUp=q(d,"mouseup",this.onDocumentMouseUp.bind(this)));for(var a=this.chart.renderTo.parentElement;a&&"BODY"!==a.tagName;)q(a,"scroll",function(){delete e.chartPosition}),a=a.parentElement;l.hasTouch&&(q(c,"touchstart",this.onContainerTouchStart.bind(this),
-{passive:!1}),q(c,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1}),l.unbindDocumentTouchEnd||(l.unbindDocumentTouchEnd=q(d,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};b.prototype.setHoverChartIndex=function(){var e=this.chart,c=l.charts[r(l.hoverChartIndex,-1)];if(c&&c!==e)c.pointer.onContainerMouseLeave({relatedTarget:!0});c&&c.mouseIsDown||(l.hoverChartIndex=e.index)};b.prototype.touch=function(e,c){var d=this.chart,a;this.setHoverChartIndex();if(1===e.touches.length)if(e=
-this.normalize(e),(a=d.isInsidePlot(e.chartX-d.plotLeft,e.chartY-d.plotTop))&&!d.openMenu){c&&this.runPointActions(e);if("touchmove"===e.type){c=this.pinchDown;var m=c[0]?4<=Math.sqrt(Math.pow(c[0].chartX-e.chartX,2)+Math.pow(c[0].chartY-e.chartY,2)):!1}r(m,!0)&&this.pinch(e)}else c&&this.reset();else 2===e.touches.length&&this.pinch(e)};b.prototype.touchSelect=function(e){return!(!this.chart.options.chart.zoomBySingleTouch||!e.touches||1!==e.touches.length)};b.prototype.zoomOption=function(e){var c=
-this.chart,d=c.options.chart,a=d.zoomType||"";c=c.inverted;/touch/.test(e.type)&&(a=r(d.pinchType,a));this.zoomX=e=/x/.test(a);this.zoomY=a=/y/.test(a);this.zoomHor=e&&!c||a&&c;this.zoomVert=a&&!c||e&&c;this.hasZoom=e||a};return b}();return l.Pointer=b});J(b,"Core/MSPointer.js",[b["Core/Globals.js"],b["Core/Pointer.js"],b["Core/Utilities.js"]],function(b,l,B){function w(){var c=[];c.item=function(c){return this[c]};p(G,function(f){c.push({pageX:f.pageX,pageY:f.pageY,target:f.target})});return c}function z(c,
-f,k,h){"touch"!==c.pointerType&&c.pointerType!==c.MSPOINTER_TYPE_TOUCH||!v[b.hoverChartIndex]||(h(c),h=v[b.hoverChartIndex].pointer,h[f]({type:k,target:c.currentTarget,preventDefault:q,touches:w()}))}var C=this&&this.__extends||function(){var c=function(f,b){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var b in f)f.hasOwnProperty(b)&&(c[b]=f[b])};return c(f,b)};return function(f,b){function k(){this.constructor=f}c(f,b);f.prototype=null===
-b?Object.create(b):(k.prototype=b.prototype,new k)}}(),v=b.charts,t=b.doc,q=b.noop,h=B.addEvent,c=B.css,p=B.objectEach,k=B.removeEvent,G={},f=!!b.win.PointerEvent;return function(b){function p(){return null!==b&&b.apply(this,arguments)||this}C(p,b);p.prototype.batchMSEvents=function(c){c(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown);c(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove);c(t,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};
-p.prototype.destroy=function(){this.batchMSEvents(k);b.prototype.destroy.call(this)};p.prototype.init=function(f,k){b.prototype.init.call(this,f,k);this.hasZoom&&c(f.container,{"-ms-touch-action":"none","touch-action":"none"})};p.prototype.onContainerPointerDown=function(c){z(c,"onContainerTouchStart","touchstart",function(c){G[c.pointerId]={pageX:c.pageX,pageY:c.pageY,target:c.currentTarget}})};p.prototype.onContainerPointerMove=function(c){z(c,"onContainerTouchMove","touchmove",function(c){G[c.pointerId]=
-{pageX:c.pageX,pageY:c.pageY};G[c.pointerId].target||(G[c.pointerId].target=c.currentTarget)})};p.prototype.onDocumentPointerUp=function(c){z(c,"onDocumentTouchEnd","touchend",function(c){delete G[c.pointerId]})};p.prototype.setDOMEvents=function(){b.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(h)};return p}(l)});J(b,"Core/Series/Point.js",[b["Core/Renderer/HTML/AST.js"],b["Core/Animation/AnimationUtilities.js"],b["Core/Globals.js"],b["Core/Options.js"],
-b["Core/Utilities.js"]],function(b,l,B,y,z){var w=l.animObject,v=y.defaultOptions,t=z.addEvent,q=z.defined,h=z.erase,c=z.extend,p=z.fireEvent,k=z.format,G=z.getNestedProperty,f=z.isArray,H=z.isFunction,x=z.isNumber,K=z.isObject,L=z.merge,r=z.objectEach,n=z.pick,u=z.syncTimeout,e=z.removeEvent,g=z.uniqueKey;"";l=function(){function d(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=
-this.series=void 0;this.visible=!0;this.x=void 0}d.prototype.animateBeforeDestroy=function(){var a=this,d={x:a.startXPos,opacity:0},e,g=a.getGraphicalProps();g.singular.forEach(function(c){e="dataLabel"===c;a[c]=a[c].animate(e?{x:a[c].startXPos,y:a[c].startYPos,opacity:0}:d)});g.plural.forEach(function(d){a[d].forEach(function(d){d.element&&d.animate(c({x:a.startXPos},d.startYPos?{x:d.startXPos,y:d.startYPos}:{}))})})};d.prototype.applyOptions=function(a,e){var m=this.series,g=m.options.pointValKey||
-m.pointValKey;a=d.prototype.optionsToObject.call(this,a);c(this,a);this.options=this.options?c(this.options,a):a;a.group&&delete this.group;a.dataLabels&&delete this.dataLabels;g&&(this.y=d.prototype.getNestedProperty.call(this,g));this.formatPrefix=(this.isNull=n(this.isValid&&!this.isValid(),null===this.x||!x(this.y)))?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof e&&m.xAxis&&m.xAxis.hasNames&&(this.x=m.xAxis.nameToX(this));"undefined"===typeof this.x&&
-m&&(this.x="undefined"===typeof e?m.autoIncrement(this):e);return this};d.prototype.destroy=function(){function a(){if(d.graphic||d.dataLabel||d.dataLabels)e(d),d.destroyElements();for(k in d)d[k]=null}var d=this,c=d.series,g=c.chart;c=c.options.dataSorting;var f=g.hoverPoints,b=w(d.series.chart.renderer.globalAnimation),k;d.legendItem&&g.legend.destroyItem(d);f&&(d.setState(),h(f,d),f.length||(g.hoverPoints=null));if(d===g.hoverPoint)d.onMouseOut();c&&c.enabled?(this.animateBeforeDestroy(),u(a,b.duration)):
-a();g.pointCount--};d.prototype.destroyElements=function(a){var d=this;a=d.getGraphicalProps(a);a.singular.forEach(function(a){d[a]=d[a].destroy()});a.plural.forEach(function(a){d[a].forEach(function(a){a.element&&a.destroy()});delete d[a]})};d.prototype.firePointEvent=function(a,d,e){var c=this,m=this.series.options;(m.point.events[a]||c.options&&c.options.events&&c.options.events[a])&&c.importEvents();"click"===a&&m.allowPointSelect&&(e=function(a){c.select&&c.select(null,a.ctrlKey||a.metaKey||
-a.shiftKey)});p(c,a,d,e)};d.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};d.prototype.getGraphicalProps=function(a){var d=this,e=
-[],c,g={singular:[],plural:[]};a=a||{graphic:1,dataLabel:1};a.graphic&&e.push("graphic","upperGraphic","shadowGroup");a.dataLabel&&e.push("dataLabel","dataLabelUpper","connector");for(c=e.length;c--;){var f=e[c];d[f]&&g.singular.push(f)}["dataLabel","connector"].forEach(function(e){var c=e+"s";a[e]&&d[c]&&g.plural.push(c)});return g};d.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,
-percentage:this.percentage,total:this.total||this.stackTotal}};d.prototype.getNestedProperty=function(a){if(a)return 0===a.indexOf("custom.")?G(a,this.options):this[a]};d.prototype.getZone=function(){var a=this.series,d=a.zones;a=a.zoneAxis||"y";var e=0,c;for(c=d[e];this[a]>=c.value;)c=d[++e];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=c&&c.color&&!this.options.color?c.color:this.nonZonedColor;return c};d.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||
-this.graphic.element.nodeName))!==this.shapeType};d.prototype.init=function(a,d,e){this.series=a;this.applyOptions(d,e);this.id=q(this.id)?this.id:g();this.resolveColor();a.chart.pointCount++;p(this,"afterInit");return this};d.prototype.optionsToObject=function(a){var e={},c=this.series,g=c.options.keys,b=g||c.pointArrayMap||["y"],k=b.length,h=0,n=0;if(x(a)||null===a)e[b[0]]=a;else if(f(a))for(!g&&a.length>k&&(c=typeof a[0],"string"===c?e.name=a[0]:"number"===c&&(e.x=a[0]),h++);n<k;)g&&"undefined"===
-typeof a[h]||(0<b[n].indexOf(".")?d.prototype.setNestedProperty(e,a[h],b[n]):e[b[n]]=a[h]),h++,n++;else"object"===typeof a&&(e=a,a.dataLabels&&(c._hasPointLabels=!0),a.marker&&(c._hasPointMarkers=!0));return e};d.prototype.resolveColor=function(){var a=this.series;var d=a.chart.options.chart.colorCount;var e=a.chart.styledMode;delete this.nonZonedColor;e||this.options.color||(this.color=a.color);a.options.colorByPoint?(e||(d=a.options.colors||a.chart.options.colors,this.color=this.color||d[a.colorCounter],
-d=d.length),e=a.colorCounter,a.colorCounter++,a.colorCounter===d&&(a.colorCounter=0)):e=a.colorIndex;this.colorIndex=n(this.options.colorIndex,e)};d.prototype.setNestedProperty=function(a,d,e){e.split(".").reduce(function(a,e,c,g){a[e]=g.length-1===c?d:K(a[e],!0)?a[e]:{};return a[e]},a);return a};d.prototype.tooltipFormatter=function(a){var d=this.series,e=d.tooltipOptions,c=n(e.valueDecimals,""),g=e.valuePrefix||"",f=e.valueSuffix||"";d.chart.styledMode&&(a=d.chart.tooltip.styledModeFormat(a));(d.pointArrayMap||
-["y"]).forEach(function(d){d="{point."+d;if(g||f)a=a.replace(RegExp(d+"}","g"),g+d+"}"+f);a=a.replace(RegExp(d+"}","g"),d+":,."+c+"f}")});return k(a,{point:this,series:this.series},d.chart)};d.prototype.update=function(a,d,e,c){function g(){m.applyOptions(a);var c=b&&m.hasDummyGraphic;c=null===m.y?!c:c;b&&c&&(m.graphic=b.destroy(),delete m.hasDummyGraphic);K(a,!0)&&(b&&b.element&&a&&a.marker&&"undefined"!==typeof a.marker.symbol&&(m.graphic=b.destroy()),a&&a.dataLabels&&m.dataLabel&&(m.dataLabel=
-m.dataLabel.destroy()),m.connector&&(m.connector=m.connector.destroy()));k=m.index;f.updateParallelArrays(m,k);p.data[k]=K(p.data[k],!0)||K(a,!0)?m.options:n(a,p.data[k]);f.isDirty=f.isDirtyData=!0;!f.fixedBox&&f.hasCartesianSeries&&(h.isDirtyBox=!0);"point"===p.legendType&&(h.isDirtyLegend=!0);d&&h.redraw(e)}var m=this,f=m.series,b=m.graphic,k,h=f.chart,p=f.options;d=n(d,!0);!1===c?g():m.firePointEvent("update",{options:a},g)};d.prototype.remove=function(a,d){this.series.removePoint(this.series.data.indexOf(this),
-a,d)};d.prototype.select=function(a,d){var e=this,c=e.series,g=c.chart;this.selectedStaging=a=n(a,!e.selected);e.firePointEvent(a?"select":"unselect",{accumulate:d},function(){e.selected=e.options.selected=a;c.options.data[c.data.indexOf(e)]=e.options;e.setState(a&&"select");d||g.getSelectedPoints().forEach(function(a){var d=a.series;a.selected&&a!==e&&(a.selected=a.options.selected=!1,d.options.data[d.data.indexOf(a)]=a.options,a.setState(g.hoverPoints&&d.options.inactiveOtherPoints?"inactive":""),
-a.firePointEvent("unselect"))})});delete this.selectedStaging};d.prototype.onMouseOver=function(a){var d=this.series.chart,e=d.pointer;a=a?e.normalize(a):e.getChartCoordinatesFromPoint(this,d.inverted);e.runPointActions(a,this)};d.prototype.onMouseOut=function(){var a=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(a.hoverPoints||[]).forEach(function(a){a.setState()});a.hoverPoints=a.hoverPoint=null};d.prototype.importEvents=function(){if(!this.hasImportedEvents){var a=
-this,d=L(a.series.options.point,a.options).events;a.events=d;r(d,function(d,e){H(d)&&t(a,e,d)});this.hasImportedEvents=!0}};d.prototype.setState=function(a,d){var e=this.series,g=this.state,m=e.options.states[a||"normal"]||{},f=v.plotOptions[e.type].marker&&e.options.marker,k=f&&!1===f.enabled,h=f&&f.states&&f.states[a||"normal"]||{},u=!1===h.enabled,r=e.stateMarkerGraphic,l=this.marker||{},q=e.chart,x=e.halo,t,G=f&&e.markerAttribs;a=a||"";if(!(a===this.state&&!d||this.selected&&"select"!==a||!1===
-m.enabled||a&&(u||k&&!1===h.enabled)||a&&l.states&&l.states[a]&&!1===l.states[a].enabled)){this.state=a;G&&(t=e.markerAttribs(this,a));if(this.graphic){g&&this.graphic.removeClass("highcharts-point-"+g);a&&this.graphic.addClass("highcharts-point-"+a);if(!q.styledMode){var D=e.pointAttribs(this,a);var w=n(q.options.chart.animation,m.animation);e.options.inactiveOtherPoints&&D.opacity&&((this.dataLabels||[]).forEach(function(a){a&&a.animate({opacity:D.opacity},w)}),this.connector&&this.connector.animate({opacity:D.opacity},
-w));this.graphic.animate(D,w)}t&&this.graphic.animate(t,n(q.options.chart.animation,h.animation,f.animation));r&&r.hide()}else{if(a&&h){g=l.symbol||e.symbol;r&&r.currentSymbol!==g&&(r=r.destroy());if(t)if(r)r[d?"animate":"attr"]({x:t.x,y:t.y});else g&&(e.stateMarkerGraphic=r=q.renderer.symbol(g,t.x,t.y,t.width,t.height).add(e.markerGroup),r.currentSymbol=g);!q.styledMode&&r&&r.attr(e.pointAttribs(this,a))}r&&(r[a&&this.isInside?"show":"hide"](),r.element.point=this)}a=m.halo;m=(r=this.graphic||r)&&
-r.visibility||"inherit";a&&a.size&&r&&"hidden"!==m&&!this.isCluster?(x||(e.halo=x=q.renderer.path().add(r.parentGroup)),x.show()[d?"animate":"attr"]({d:this.haloPath(a.size)}),x.attr({"class":"highcharts-halo highcharts-color-"+n(this.colorIndex,e.colorIndex)+(this.className?" "+this.className:""),visibility:m,zIndex:-1}),x.point=this,q.styledMode||x.attr(c({fill:this.color||e.color,"fill-opacity":a.opacity},b.filterUserAttributes(a.attributes||{})))):x&&x.point&&x.point.haloPath&&x.animate({d:x.point.haloPath(0)},
-null,x.hide);p(this,"afterSetState")}};d.prototype.haloPath=function(a){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-a,this.plotY-a,2*a,2*a)};return d}();return B.Point=l});J(b,"Core/Legend.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Globals.js"],b["Core/Series/Point.js"],b["Core/Utilities.js"]],function(b,l,B,y){var w=b.animObject,C=b.setAnimation;b=l.isFirefox;var v=l.marginNames,t=l.win,q=y.addEvent,h=y.createElement,c=y.css,p=y.defined,k=y.discardElement,
-G=y.find,f=y.fireEvent,H=y.format,x=y.isNumber,K=y.merge,L=y.pick,r=y.relativeLength,n=y.stableSort,u=y.syncTimeout;y=y.wrap;var e=function(){function e(d,a){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options={};this.padding=0;this.pages=
-[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=d;this.init(d,a)}e.prototype.init=function(d,a){this.chart=d;this.setOptions(a);a.enabled&&(this.render(),q(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=q(this.chart,"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};e.prototype.setOptions=
-function(d){var a=L(d.padding,8);this.options=d;this.chart.styledMode||(this.itemStyle=d.itemStyle,this.itemHiddenStyle=K(this.itemStyle,d.itemHiddenStyle));this.itemMarginTop=d.itemMarginTop||0;this.itemMarginBottom=d.itemMarginBottom||0;this.padding=a;this.initialItemY=a-5;this.symbolWidth=L(d.symbolWidth,16);this.pages=[];this.proximate="proximate"===d.layout&&!this.chart.inverted;this.baseline=void 0};e.prototype.update=function(d,a){var e=this.chart;this.setOptions(K(!0,this.options,d));this.destroy();
-e.isDirtyLegend=e.isDirtyBox=!0;L(a,!0)&&e.redraw();f(this,"afterUpdate")};e.prototype.colorizeItem=function(d,a){d.legendGroup[a?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var e=this.options,c=d.legendItem,g=d.legendLine,b=d.legendSymbol,k=this.itemHiddenStyle.color;e=a?e.itemStyle.color:k;var h=a?d.color||k:k,n=d.options&&d.options.marker,p={fill:h};c&&c.css({fill:e,color:e});g&&g.attr({stroke:h});b&&(n&&b.isMarker&&(p=d.pointAttribs(),a||(p.stroke=p.fill=
-k)),b.attr(p))}f(this,"afterColorizeItem",{item:d,visible:a})};e.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};e.prototype.positionItem=function(d){var a=this,e=this.options,c=e.symbolPadding,g=!e.rtl,b=d._legendItemPos;e=b[0];b=b[1];var k=d.checkbox,h=d.legendGroup;h&&h.element&&(c={translateX:g?e:this.legendWidth-e-2*c-4,translateY:b},g=function(){f(a,"afterPositionItem",{item:d})},p(h.translateY)?h.animate(c,void 0,
-g):(h.attr(c),g()));k&&(k.x=e,k.y=b)};e.prototype.destroyItem=function(d){var a=d.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(a){d[a]&&(d[a]=d[a].destroy())});a&&k(d.checkbox)};e.prototype.destroy=function(){function d(a){this[a]&&(this[a]=this[a].destroy())}this.getAllItems().forEach(function(a){["legendItem","legendGroup"].forEach(d,a)});"clipRect up down pager nav box title group".split(" ").forEach(d,this);this.display=null};e.prototype.positionCheckboxes=
-function(){var d=this.group&&this.group.alignAttr,a=this.clipHeight||this.legendHeight,e=this.titleHeight;if(d){var g=d.translateY;this.allItems.forEach(function(f){var m=f.checkbox;if(m){var b=g+e+m.y+(this.scrollOffset||0)+3;c(m,{left:d.translateX+f.checkboxOffset+m.x-20+"px",top:b+"px",display:this.proximate||b>g-6&&b<g+a-6?"":"none"})}},this)}};e.prototype.renderTitle=function(){var d=this.options,a=this.padding,e=d.title,c=0;e.text&&(this.title||(this.title=this.chart.renderer.label(e.text,a-
-3,a-4,null,null,null,d.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(e.style),this.title.add(this.group)),e.width||this.title.css({width:this.maxLegendWidth+"px"}),d=this.title.getBBox(),c=d.height,this.offsetWidth=d.width,this.contentGroup.attr({translateY:c}));this.titleHeight=c};e.prototype.setText=function(d){var a=this.options;d.legendItem.attr({text:a.labelFormat?H(a.labelFormat,d,this.chart):a.labelFormatter.call(d)})};e.prototype.renderItem=function(d){var a=
-this.chart,e=a.renderer,c=this.options,g=this.symbolWidth,f=c.symbolPadding,b=this.itemStyle,k=this.itemHiddenStyle,h="horizontal"===c.layout?L(c.itemDistance,20):0,n=!c.rtl,p=d.legendItem,u=!d.series,r=!u&&d.series.drawLegendSymbol?d.series:d,l=r.options;l=this.createCheckboxForItem&&l&&l.showCheckbox;h=g+f+h+(l?20:0);var q=c.useHTML,x=d.options.className;p||(d.legendGroup=e.g("legend-item").addClass("highcharts-"+r.type+"-series highcharts-color-"+d.colorIndex+(x?" "+x:"")+(u?" highcharts-series-"+
-d.index:"")).attr({zIndex:1}).add(this.scrollGroup),d.legendItem=p=e.text("",n?g+f:-f,this.baseline||0,q),a.styledMode||p.css(K(d.visible?b:k)),p.attr({align:n?"left":"right",zIndex:2}).add(d.legendGroup),this.baseline||(this.fontMetrics=e.fontMetrics(a.styledMode?12:b.fontSize,p),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,p.attr("y",this.baseline)),this.symbolHeight=c.symbolHeight||this.fontMetrics.f,r.drawLegendSymbol(this,d),this.setItemEvents&&this.setItemEvents(d,p,q));l&&!d.checkbox&&
-this.createCheckboxForItem&&this.createCheckboxForItem(d);this.colorizeItem(d,d.visible);!a.styledMode&&b.width||p.css({width:(c.itemWidth||this.widthOption||a.spacingBox.width)-h+"px"});this.setText(d);a=p.getBBox();d.itemWidth=d.checkboxOffset=c.itemWidth||d.legendItemWidth||a.width+h;this.maxItemWidth=Math.max(this.maxItemWidth,d.itemWidth);this.totalItemWidth+=d.itemWidth;this.itemHeight=d.itemHeight=Math.round(d.legendItemHeight||a.height||this.symbolHeight)};e.prototype.layoutItem=function(d){var a=
-this.options,e=this.padding,c="horizontal"===a.layout,g=d.itemHeight,f=this.itemMarginBottom,b=this.itemMarginTop,k=c?L(a.itemDistance,20):0,h=this.maxLegendWidth;a=a.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:d.itemWidth;c&&this.itemX-e+a>h&&(this.itemX=e,this.lastLineHeight&&(this.itemY+=b+this.lastLineHeight+f),this.lastLineHeight=0);this.lastItemY=b+this.itemY+f;this.lastLineHeight=Math.max(g,this.lastLineHeight);d._legendItemPos=[this.itemX,this.itemY];c?this.itemX+=a:(this.itemY+=
-b+g+f,this.lastLineHeight=g);this.offsetWidth=this.widthOption||Math.max((c?this.itemX-e-(d.checkbox?0:k):a)+e,this.offsetWidth)};e.prototype.getAllItems=function(){var d=[];this.chart.series.forEach(function(a){var e=a&&a.options;a&&L(e.showInLegend,p(e.linkedTo)?!1:void 0,!0)&&(d=d.concat(a.legendItems||("point"===e.legendType?a.data:a)))});f(this,"afterGetAllItems",{allItems:d});return d};e.prototype.getAlignment=function(){var d=this.options;return this.proximate?d.align.charAt(0)+"tv":d.floating?
-"":d.align.charAt(0)+d.verticalAlign.charAt(0)+d.layout.charAt(0)};e.prototype.adjustMargins=function(d,a){var e=this.chart,c=this.options,g=this.getAlignment();g&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(f,b){f.test(g)&&!p(d[b])&&(e[v[b]]=Math.max(e[v[b]],e.legend[(b+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][b]*c[b%2?"x":"y"]+L(c.margin,12)+a[b]+(e.titleOffset[b]||0)))})};e.prototype.proximatePositions=function(){var d=this.chart,a=[],e="left"===this.options.align;
-this.allItems.forEach(function(c){var g;var f=e;if(c.yAxis){c.xAxis.options.reversed&&(f=!f);c.points&&(g=G(f?c.points:c.points.slice(0).reverse(),function(a){return x(a.plotY)}));f=this.itemMarginTop+c.legendItem.getBBox().height+this.itemMarginBottom;var b=c.yAxis.top-d.plotTop;c.visible?(g=g?g.plotY:c.yAxis.height,g+=b-.3*f):g=b+c.yAxis.height;a.push({target:g,size:f,item:c})}},this);l.distribute(a,d.plotHeight);a.forEach(function(a){a.item._legendItemPos[1]=d.plotTop-d.spacing[0]+a.pos})};e.prototype.render=
-function(){var d=this.chart,a=d.renderer,e=this.group,c=this.box,g=this.options,b=this.padding;this.itemX=b;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=r(g.width,d.spacingBox.width-b);var k=d.spacingBox.width-2*b-g.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(k/=2);this.maxLegendWidth=this.widthOption||k;e||(this.group=e=a.g("legend").attr({zIndex:7}).add(),this.contentGroup=a.g().attr({zIndex:1}).add(e),this.scrollGroup=a.g().add(this.contentGroup));
-this.renderTitle();var h=this.getAllItems();n(h,function(a,d){return(a.options&&a.options.legendIndex||0)-(d.options&&d.options.legendIndex||0)});g.reversed&&h.reverse();this.allItems=h;this.display=k=!!h.length;this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;h.forEach(this.renderItem,this);h.forEach(this.layoutItem,this);h=(this.widthOption||this.offsetWidth)+b;var p=this.lastItemY+this.lastLineHeight+this.titleHeight;p=this.handleOverflow(p);p+=b;c||(this.box=c=a.rect().addClass("highcharts-legend-box").attr({r:g.borderRadius}).add(e),
-c.isNew=!0);d.styledMode||c.attr({stroke:g.borderColor,"stroke-width":g.borderWidth||0,fill:g.backgroundColor||"none"}).shadow(g.shadow);0<h&&0<p&&(c[c.isNew?"attr":"animate"](c.crisp.call({},{x:0,y:0,width:h,height:p},c.strokeWidth())),c.isNew=!1);c[k?"show":"hide"]();d.styledMode&&"none"===e.getStyle("display")&&(h=p=0);this.legendWidth=h;this.legendHeight=p;k&&this.align();this.proximate||this.positionItems();f(this,"afterRender")};e.prototype.align=function(d){void 0===d&&(d=this.chart.spacingBox);
-var a=this.chart,e=this.options,c=d.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<a.titleOffset[0]?c+=a.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<a.titleOffset[2]&&(c-=a.titleOffset[2]);c!==d.y&&(d=K(d,{y:c}));this.group.align(K(e,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":e.verticalAlign}),!0,d)};e.prototype.handleOverflow=function(d){var a=this,e=this.chart,c=e.renderer,g=this.options,f=g.y,b=this.padding;f=e.spacingBox.height+("top"===g.verticalAlign?
--f:f)-b;var k=g.maxHeight,h,n=this.clipRect,p=g.navigation,u=L(p.animation,!0),r=p.arrowSize||12,l=this.nav,q=this.pages,x,D=this.allItems,t=function(d){"number"===typeof d?n.attr({height:d}):n&&(a.clipRect=n.destroy(),a.contentGroup.clip());a.contentGroup.div&&(a.contentGroup.div.style.clip=d?"rect("+b+"px,9999px,"+(b+d)+"px,0)":"auto")},P=function(d){a[d]=c.circle(0,0,1.3*r).translate(r/2,r/2).add(l);e.styledMode||a[d].attr("fill","rgba(0,0,0,0.0001)");return a[d]};"horizontal"!==g.layout||"middle"===
-g.verticalAlign||g.floating||(f/=2);k&&(f=Math.min(f,k));q.length=0;d>f&&!1!==p.enabled?(this.clipHeight=h=Math.max(f-20-this.titleHeight-b,0),this.currentPage=L(this.currentPage,1),this.fullHeight=d,D.forEach(function(a,d){var e=a._legendItemPos[1],c=Math.round(a.legendItem.getBBox().height),g=q.length;if(!g||e-q[g-1]>h&&(x||e)!==q[g-1])q.push(x||e),g++;a.pageIx=g-1;x&&(D[d-1].pageIx=g-1);d===D.length-1&&e+c-q[g-1]>h&&e!==x&&(q.push(e),a.pageIx=g);e!==x&&(x=e)}),n||(n=a.clipRect=c.clipRect(0,b,9999,
-0),a.contentGroup.clip(n)),t(h),l||(this.nav=l=c.g().attr({zIndex:1}).add(this.group),this.up=c.symbol("triangle",0,0,r,r).add(l),P("upTracker").on("click",function(){a.scroll(-1,u)}),this.pager=c.text("",15,10).addClass("highcharts-legend-navigation"),e.styledMode||this.pager.css(p.style),this.pager.add(l),this.down=c.symbol("triangle-down",0,0,r,r).add(l),P("downTracker").on("click",function(){a.scroll(1,u)})),a.scroll(0),d=f):l&&(t(),this.nav=l.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=
-0);return d};e.prototype.scroll=function(d,a){var e=this,c=this.chart,g=this.pages,b=g.length,k=this.currentPage+d;d=this.clipHeight;var h=this.options.navigation,n=this.pager,p=this.padding;k>b&&(k=b);0<k&&("undefined"!==typeof a&&C(a,c),this.nav.attr({translateX:p,translateY:d+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(a){a.attr({"class":1===k?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),n.attr({text:k+"/"+b}),[this.down,
-this.downTracker].forEach(function(a){a.attr({x:18+this.pager.getBBox().width,"class":k===b?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),c.styledMode||(this.up.attr({fill:1===k?h.inactiveColor:h.activeColor}),this.upTracker.css({cursor:1===k?"default":"pointer"}),this.down.attr({fill:k===b?h.inactiveColor:h.activeColor}),this.downTracker.css({cursor:k===b?"default":"pointer"})),this.scrollOffset=-g[k-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),
-this.currentPage=k,this.positionCheckboxes(),a=w(L(a,c.renderer.globalAnimation,!0)),u(function(){f(e,"afterScroll",{currentPage:k})},a.duration))};e.prototype.setItemEvents=function(d,a,e){var c=this,g=c.chart.renderer.boxWrapper,b=d instanceof B,m="highcharts-legend-"+(b?"point":"series")+"-active",k=c.chart.styledMode;(e?[a,d.legendSymbol]:[d.legendGroup]).forEach(function(e){if(e)e.on("mouseover",function(){d.visible&&c.allItems.forEach(function(a){d!==a&&a.setState("inactive",!b)});d.setState("hover");
-d.visible&&g.addClass(m);k||a.css(c.options.itemHoverStyle)}).on("mouseout",function(){c.chart.styledMode||a.css(K(d.visible?c.itemStyle:c.itemHiddenStyle));c.allItems.forEach(function(a){d!==a&&a.setState("",!b)});g.removeClass(m);d.setState()}).on("click",function(a){var e=function(){d.setVisible&&d.setVisible();c.allItems.forEach(function(a){d!==a&&a.setState(d.visible?"inactive":"",!b)})};g.removeClass(m);a={browserEvent:a};d.firePointEvent?d.firePointEvent("legendItemClick",a,e):f(d,"legendItemClick",
-a,e)})})};e.prototype.createCheckboxForItem=function(d){d.checkbox=h("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:d.selected,defaultChecked:d.selected},this.options.itemCheckboxStyle,this.chart.container);q(d.checkbox,"click",function(a){f(d.series||d,"checkboxClick",{checked:a.target.checked,item:d},function(){d.select()})})};return e}();(/Trident\/7\.0/.test(t.navigator&&t.navigator.userAgent)||b)&&y(e.prototype,"positionItem",function(e,d){var a=this,c=function(){d._legendItemPos&&
-e.call(a,d)};c();a.bubbleLegend||setTimeout(c)});l.Legend=e;return l.Legend});J(b,"Core/Series/SeriesRegistry.js",[b["Core/Globals.js"],b["Core/Options.js"],b["Core/Series/Point.js"],b["Core/Utilities.js"]],function(b,l,B,y){var w=l.defaultOptions,C=y.error,v=y.extendClass,t=y.merge,q;(function(b){function c(c,k){var h=w.plotOptions||{},f=k.defaultOptions;k.prototype.pointClass||(k.prototype.pointClass=B);k.prototype.type=c;f&&(h[c]=f);b.seriesTypes[c]=k}b.seriesTypes={};b.getSeries=function(c,k){void 0===
-k&&(k={});var h=c.options.chart;h=k.type||h.type||h.defaultSeriesType||"";var f=b.seriesTypes[h];b||C(17,!0,c,{missingModuleFor:h});h=new f;"function"===typeof h.init&&h.init(c,k);return h};b.registerSeriesType=c;b.seriesType=function(h,k,l,f,q){var p=w.plotOptions||{};k=k||"";p[h]=t(p[k],l);c(h,v(b.seriesTypes[k]||function(){},f));b.seriesTypes[h].prototype.type=h;q&&(b.seriesTypes[h].prototype.pointClass=v(B,q));return b.seriesTypes[h]}})(q||(q={}));b.seriesType=q.seriesType;b.seriesTypes=q.seriesTypes;
-return q});J(b,"Core/Chart/Chart.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Axis/Axis.js"],b["Core/Globals.js"],b["Core/Legend.js"],b["Core/MSPointer.js"],b["Core/Options.js"],b["Core/Color/Palette.js"],b["Core/Pointer.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Time.js"],b["Core/Utilities.js"],b["Core/Renderer/HTML/AST.js"]],function(b,l,B,y,z,C,v,t,q,h,c,p){var k=b.animate,G=b.animObject,f=b.setAnimation,w=B.charts,x=B.doc,K=B.win,L=C.defaultOptions,r=C.time,n=q.seriesTypes,u=c.addEvent,
-e=c.attr,g=c.cleanRecursively,d=c.createElement,a=c.css,m=c.defined,E=c.discardElement,I=c.erase,A=c.error,N=c.extend,R=c.find,Q=c.fireEvent,T=c.getStyle,M=c.isArray,O=c.isFunction,F=c.isNumber,J=c.isObject,aa=c.isString,Y=c.merge,D=c.numberFormat,S=c.objectEach,P=c.pick,Z=c.pInt,U=c.relativeLength,da=c.removeEvent,X=c.splat,ca=c.syncTimeout,fa=c.uniqueKey,ea=B.marginNames,ba=function(){function b(a,d,e){this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=
-this.spacing=this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0;this.getArgs(a,d,e)}b.prototype.getArgs=function(a,d,e){aa(a)||a.nodeName?(this.renderTo=a,this.init(d,e)):this.init(a,
-d)};b.prototype.init=function(a,d){var e,c=a.series,b=a.plotOptions||{};Q(this,"init",{args:arguments},function(){a.series=null;e=Y(L,a);var g=e.chart||{};S(e.plotOptions,function(a,d){J(a)&&(a.tooltip=b[d]&&Y(b[d].tooltip)||void 0)});e.tooltip.userOptions=a.chart&&a.chart.forExport&&a.tooltip.userOptions||a.tooltip;e.series=a.series=c;this.userOptions=a;var f=g.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=d;this.isResizing=0;this.options=e;this.axes=
-[];this.series=[];this.time=a.time&&Object.keys(a.time).length?new h(a.time):B.time;this.numberFormatter=g.numberFormatter||D;this.styledMode=g.styledMode;this.hasCartesianSeries=g.showAxes;var m=this;m.index=w.length;w.push(m);B.chartCount++;f&&S(f,function(a,d){O(a)&&u(m,d,a)});m.xAxis=[];m.yAxis=[];m.pointCount=m.colorCounter=m.symbolCounter=0;Q(m,"afterInit");m.firstRender()})};b.prototype.initSeries=function(a){var d=this.options.chart;d=a.type||d.type||d.defaultSeriesType;var e=n[d];e||A(17,
-!0,this,{missingModuleFor:d});d=new e;"function"===typeof d.init&&d.init(this,a);return d};b.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(a){a.points||a.data||!a.enabledDataSorting||a.setData(a.options.data,!1)})};b.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(a,d){return a.linkedSeries.length||d.linkedSeries.length?d.linkedSeries.length-a.linkedSeries.length:0})};b.prototype.orderSeries=function(a){var d=this.series;for(a=
-a||0;a<d.length;a++)d[a]&&(d[a].index=a,d[a].name=d[a].getName())};b.prototype.isInsidePlot=function(a,d,e){var c=e?d:a;a=e?a:d;c={x:c,y:a,isInsidePlot:0<=c&&c<=this.plotWidth&&0<=a&&a<=this.plotHeight};Q(this,"afterIsInsidePlot",c);return c.isInsidePlot};b.prototype.redraw=function(a){Q(this,"beforeRedraw");var d=this.hasCartesianSeries?this.axes:this.colorAxis||[],e=this.series,c=this.pointer,b=this.legend,g=this.userOptions.legend,m=this.isDirtyLegend,k=this.isDirtyBox,h=this.renderer,n=h.isHidden(),
-p=[];this.setResponsive&&this.setResponsive(!1);f(this.hasRendered?a:!1,this);n&&this.temporaryDisplay();this.layOutTitles();for(a=e.length;a--;){var u=e[a];if(u.options.stacking||u.options.centerInCategory){var r=!0;if(u.isDirty){var l=!0;break}}}if(l)for(a=e.length;a--;)u=e[a],u.options.stacking&&(u.isDirty=!0);e.forEach(function(a){a.isDirty&&("point"===a.options.legendType?("function"===typeof a.updateTotals&&a.updateTotals(),m=!0):g&&(g.labelFormatter||g.labelFormat)&&(m=!0));a.isDirtyData&&
-Q(a,"updatedData")});m&&b&&b.options.enabled&&(b.render(),this.isDirtyLegend=!1);r&&this.getStacks();d.forEach(function(a){a.updateNames();a.setScale()});this.getMargins();d.forEach(function(a){a.isDirty&&(k=!0)});d.forEach(function(a){var d=a.min+","+a.max;a.extKey!==d&&(a.extKey=d,p.push(function(){Q(a,"afterSetExtremes",N(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(k||r)&&a.redraw()});k&&this.drawChartBox();Q(this,"predraw");e.forEach(function(a){(k||a.isDirty)&&a.visible&&a.redraw();
-a.isDirtyData=!1});c&&c.reset(!0);h.draw();Q(this,"redraw");Q(this,"render");n&&this.temporaryDisplay(!0);p.forEach(function(a){a.call()})};b.prototype.get=function(a){function d(d){return d.id===a||d.options&&d.options.id===a}var e=this.series,c;var b=R(this.axes,d)||R(this.series,d);for(c=0;!b&&c<e.length;c++)b=R(e[c].points||[],d);return b};b.prototype.getAxes=function(){var a=this,d=this.options,e=d.xAxis=X(d.xAxis||{});d=d.yAxis=X(d.yAxis||{});Q(this,"getAxes");e.forEach(function(a,d){a.index=
-d;a.isX=!0});d.forEach(function(a,d){a.index=d});e.concat(d).forEach(function(d){new l(a,d)});Q(this,"afterGetAxes")};b.prototype.getSelectedPoints=function(){var a=[];this.series.forEach(function(d){a=a.concat(d.getPointsCollection().filter(function(a){return P(a.selectedStaging,a.selected)}))});return a};b.prototype.getSelectedSeries=function(){return this.series.filter(function(a){return a.selected})};b.prototype.setTitle=function(a,d,e){this.applyDescription("title",a);this.applyDescription("subtitle",
-d);this.applyDescription("caption",void 0);this.layOutTitles(e)};b.prototype.applyDescription=function(a,d){var e=this,c="title"===a?{color:v.neutralColor80,fontSize:this.options.isStock?"16px":"18px"}:{color:v.neutralColor60};c=this.options[a]=Y(!this.styledMode&&{style:c},this.options[a],d);var b=this[a];b&&d&&(this[a]=b=b.destroy());c&&!b&&(b=this.renderer.text(c.text,0,0,c.useHTML).attr({align:c.align,"class":"highcharts-"+a,zIndex:c.zIndex||4}).add(),b.update=function(d){e[{title:"setTitle",
-subtitle:"setSubtitle",caption:"setCaption"}[a]](d)},this.styledMode||b.css(c.style),this[a]=b)};b.prototype.layOutTitles=function(a){var d=[0,0,0],e=this.renderer,c=this.spacingBox;["title","subtitle","caption"].forEach(function(a){var b=this[a],g=this.options[a],f=g.verticalAlign||"top";a="title"===a?-3:"top"===f?d[0]+2:0;if(b){if(!this.styledMode)var m=g.style.fontSize;m=e.fontMetrics(m,b).b;b.css({width:(g.width||c.width+(g.widthAdjust||0))+"px"});var k=Math.round(b.getBBox(g.useHTML).height);
-b.align(N({y:"bottom"===f?m:a+m,height:k},g),!1,"spacingBox");g.floating||("top"===f?d[0]=Math.ceil(d[0]+k):"bottom"===f&&(d[2]=Math.ceil(d[2]+k)))}},this);d[0]&&"top"===(this.options.title.verticalAlign||"top")&&(d[0]+=this.options.title.margin);d[2]&&"bottom"===this.options.caption.verticalAlign&&(d[2]+=this.options.caption.margin);var b=!this.titleOffset||this.titleOffset.join(",")!==d.join(",");this.titleOffset=d;Q(this,"afterLayOutTitles");!this.isDirtyBox&&b&&(this.isDirtyBox=this.isDirtyLegend=
-b,this.hasRendered&&P(a,!0)&&this.isDirtyBox&&this.redraw())};b.prototype.getChartSize=function(){var a=this.options.chart,d=a.width;a=a.height;var e=this.renderTo;m(d)||(this.containerWidth=T(e,"width"));m(a)||(this.containerHeight=T(e,"height"));this.chartWidth=Math.max(0,d||this.containerWidth||600);this.chartHeight=Math.max(0,U(a,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))};b.prototype.temporaryDisplay=function(d){var e=this.renderTo;if(d)for(;e&&e.style;)e.hcOrigStyle&&
-(a(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(x.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style;){x.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,x.body.appendChild(e));if("none"===T(e,"display",!1)||e.hcOricDetached)e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},d={display:"block",overflow:"hidden"},e!==this.renderTo&&(d.height=0),a(e,d),e.offsetWidth||e.style.setProperty("display","block","important");e=
-e.parentNode;if(e===x.body)break}};b.prototype.setClassName=function(a){this.container.className="highcharts-container "+(a||"")};b.prototype.getContainer=function(){var c=this.options,b=c.chart;var g=this.renderTo;var m=fa(),k,h;g||(this.renderTo=g=b.renderTo);aa(g)&&(this.renderTo=g=x.getElementById(g));g||A(13,!0,this);var n=Z(e(g,"data-highcharts-chart"));F(n)&&w[n]&&w[n].hasRendered&&w[n].destroy();e(g,"data-highcharts-chart",this.index);g.innerHTML="";b.skipClone||g.offsetWidth||this.temporaryDisplay();
-this.getChartSize();n=this.chartWidth;var p=this.chartHeight;a(g,{overflow:"hidden"});this.styledMode||(k=N({position:"relative",overflow:"hidden",width:n+"px",height:p+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none"},b.style));this.container=g=d("div",{id:m},k,g);this._cursor=g.style.cursor;this.renderer=new (B[b.renderer]||B.Renderer)(g,n,p,null,b.forExport,c.exporting&&c.exporting.allowHTML,this.styledMode);f(void 0,this);this.setClassName(b.className);
-if(this.styledMode)for(h in c.defs)this.renderer.definition(c.defs[h]);else this.renderer.setStyle(b.style);this.renderer.chartIndex=this.index;Q(this,"afterGetContainer")};b.prototype.getMargins=function(a){var d=this.spacing,e=this.margin,c=this.titleOffset;this.resetMargins();c[0]&&!m(e[0])&&(this.plotTop=Math.max(this.plotTop,c[0]+d[0]));c[2]&&!m(e[2])&&(this.marginBottom=Math.max(this.marginBottom,c[2]+d[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(e,d);Q(this,"getMargins");
-a||this.getAxisMargins()};b.prototype.getAxisMargins=function(){var a=this,d=a.axisOffset=[0,0,0,0],e=a.colorAxis,c=a.margin,b=function(a){a.forEach(function(a){a.visible&&a.getOffset()})};a.hasCartesianSeries?b(a.axes):e&&e.length&&b(e);ea.forEach(function(e,b){m(c[b])||(a[e]+=d[b])});a.setChartSize()};b.prototype.reflow=function(a){var d=this,e=d.options.chart,b=d.renderTo,g=m(e.width)&&m(e.height),f=e.width||T(b,"width");e=e.height||T(b,"height");b=a?a.target:K;delete d.pointer.chartPosition;if(!g&&
-!d.isPrinting&&f&&e&&(b===K||b===x)){if(f!==d.containerWidth||e!==d.containerHeight)c.clearTimeout(d.reflowTimeout),d.reflowTimeout=ca(function(){d.container&&d.setSize(void 0,void 0,!1)},a?100:0);d.containerWidth=f;d.containerHeight=e}};b.prototype.setReflow=function(a){var d=this;!1===a||this.unbindReflow?!1===a&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=u(K,"resize",function(a){d.options&&d.reflow(a)}),u(this,"destroy",this.unbindReflow))};b.prototype.setSize=
-function(d,e,c){var b=this,g=b.renderer;b.isResizing+=1;f(c,b);c=g.globalAnimation;b.oldChartHeight=b.chartHeight;b.oldChartWidth=b.chartWidth;"undefined"!==typeof d&&(b.options.chart.width=d);"undefined"!==typeof e&&(b.options.chart.height=e);b.getChartSize();b.styledMode||(c?k:a)(b.container,{width:b.chartWidth+"px",height:b.chartHeight+"px"},c);b.setChartSize(!0);g.setSize(b.chartWidth,b.chartHeight,c);b.axes.forEach(function(a){a.isDirty=!0;a.setScale()});b.isDirtyLegend=!0;b.isDirtyBox=!0;b.layOutTitles();
-b.getMargins();b.redraw(c);b.oldChartHeight=null;Q(b,"resize");ca(function(){b&&Q(b,"endResize",null,function(){--b.isResizing})},G(c).duration)};b.prototype.setChartSize=function(a){var d=this.inverted,e=this.renderer,c=this.chartWidth,b=this.chartHeight,g=this.options.chart,f=this.spacing,m=this.clipOffset,k,h,n,p;this.plotLeft=k=Math.round(this.plotLeft);this.plotTop=h=Math.round(this.plotTop);this.plotWidth=n=Math.max(0,Math.round(c-k-this.marginRight));this.plotHeight=p=Math.max(0,Math.round(b-
-h-this.marginBottom));this.plotSizeX=d?p:n;this.plotSizeY=d?n:p;this.plotBorderWidth=g.plotBorderWidth||0;this.spacingBox=e.spacingBox={x:f[3],y:f[0],width:c-f[3]-f[1],height:b-f[0]-f[2]};this.plotBox=e.plotBox={x:k,y:h,width:n,height:p};c=2*Math.floor(this.plotBorderWidth/2);d=Math.ceil(Math.max(c,m[3])/2);e=Math.ceil(Math.max(c,m[0])/2);this.clipBox={x:d,y:e,width:Math.floor(this.plotSizeX-Math.max(c,m[1])/2-d),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(c,m[2])/2-e))};a||this.axes.forEach(function(a){a.setAxisSize();
-a.setAxisTranslation()});Q(this,"afterSetChartSize",{skipAxes:a})};b.prototype.resetMargins=function(){Q(this,"resetMargins");var a=this,d=a.options.chart;["margin","spacing"].forEach(function(e){var c=d[e],b=J(c)?c:[c,c,c,c];["Top","Right","Bottom","Left"].forEach(function(c,g){a[e][g]=P(d[e+c],b[g])})});ea.forEach(function(d,e){a[d]=P(a.margin[e],a.spacing[e])});a.axisOffset=[0,0,0,0];a.clipOffset=[0,0,0,0]};b.prototype.drawChartBox=function(){var a=this.options.chart,d=this.renderer,e=this.chartWidth,
-c=this.chartHeight,b=this.chartBackground,g=this.plotBackground,f=this.plotBorder,m=this.styledMode,k=this.plotBGImage,h=a.backgroundColor,n=a.plotBackgroundColor,p=a.plotBackgroundImage,u,r=this.plotLeft,l=this.plotTop,D=this.plotWidth,q=this.plotHeight,x=this.plotBox,A=this.clipRect,t=this.clipBox,E="animate";b||(this.chartBackground=b=d.rect().addClass("highcharts-background").add(),E="attr");if(m)var P=u=b.strokeWidth();else{P=a.borderWidth||0;u=P+(a.shadow?8:0);h={fill:h||"none"};if(P||b["stroke-width"])h.stroke=
-a.borderColor,h["stroke-width"]=P;b.attr(h).shadow(a.shadow)}b[E]({x:u/2,y:u/2,width:e-u-P%2,height:c-u-P%2,r:a.borderRadius});E="animate";g||(E="attr",this.plotBackground=g=d.rect().addClass("highcharts-plot-background").add());g[E](x);m||(g.attr({fill:n||"none"}).shadow(a.plotShadow),p&&(k?(p!==k.attr("href")&&k.attr("href",p),k.animate(x)):this.plotBGImage=d.image(p,r,l,D,q).add()));A?A.animate({width:t.width,height:t.height}):this.clipRect=d.clipRect(t);E="animate";f||(E="attr",this.plotBorder=
-f=d.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());m||f.attr({stroke:a.plotBorderColor,"stroke-width":a.plotBorderWidth||0,fill:"none"});f[E](f.crisp({x:r,y:l,width:D,height:q},-f.strokeWidth()));this.isDirtyBox=!1;Q(this,"afterDrawChartBox")};b.prototype.propFromSeries=function(){var a=this,d=a.options.chart,e,c=a.options.series,b,g;["inverted","angular","polar"].forEach(function(f){e=n[d.type||d.defaultSeriesType];g=d[f]||e&&e.prototype[f];for(b=c&&c.length;!g&&b--;)(e=n[c[b].type])&&
-e.prototype[f]&&(g=!0);a[f]=g})};b.prototype.linkSeries=function(){var a=this,d=a.series;d.forEach(function(a){a.linkedSeries.length=0});d.forEach(function(d){var e=d.options.linkedTo;aa(e)&&(e=":previous"===e?a.series[d.index-1]:a.get(e))&&e.linkedParent!==d&&(e.linkedSeries.push(d),d.linkedParent=e,e.enabledDataSorting&&d.setDataSortingOptions(),d.visible=P(d.options.visible,e.options.visible,d.visible))});Q(this,"afterLinkSeries")};b.prototype.renderSeries=function(){this.series.forEach(function(a){a.translate();
-a.render()})};b.prototype.renderLabels=function(){var a=this,d=a.options.labels;d.items&&d.items.forEach(function(e){var c=N(d.style,e.style),b=Z(c.left)+a.plotLeft,g=Z(c.top)+a.plotTop+12;delete c.left;delete c.top;a.renderer.text(e.html,b,g).attr({zIndex:2}).css(c).add()})};b.prototype.render=function(){var a=this.axes,d=this.colorAxis,e=this.renderer,c=this.options,b=0,g=function(a){a.forEach(function(a){a.visible&&a.render()})};this.setTitle();this.legend=new y(this,c.legend);this.getStacks&&
-this.getStacks();this.getMargins(!0);this.setChartSize();c=this.plotWidth;a.some(function(a){if(a.horiz&&a.visible&&a.options.labels.enabled&&a.series.length)return b=21,!0});var f=this.plotHeight=Math.max(this.plotHeight-b,0);a.forEach(function(a){a.setScale()});this.getAxisMargins();var m=1.1<c/this.plotWidth;var k=1.05<f/this.plotHeight;if(m||k)a.forEach(function(a){(a.horiz&&m||!a.horiz&&k)&&a.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries?g(a):d&&d.length&&
-g(d);this.seriesGroup||(this.seriesGroup=e.g("series-group").attr({zIndex:3}).add());this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0};b.prototype.addCredits=function(a){var d=this,e=Y(!0,this.options.credits,a);e.enabled&&!this.credits&&(this.credits=this.renderer.text(e.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){e.href&&(K.location.href=e.href)}).attr({align:e.position.align,zIndex:8}),
-d.styledMode||this.credits.css(e.style),this.credits.add().align(e.position),this.credits.update=function(a){d.credits=d.credits.destroy();d.addCredits(a)})};b.prototype.destroy=function(){var a=this,d=a.axes,e=a.series,c=a.container,b,g=c&&c.parentNode;Q(a,"destroy");a.renderer.forExport?I(w,a):w[a.index]=void 0;B.chartCount--;a.renderTo.removeAttribute("data-highcharts-chart");da(a);for(b=d.length;b--;)d[b]=d[b].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(b=e.length;b--;)e[b]=
-e[b].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(d){var e=a[d];e&&e.destroy&&(a[d]=e.destroy())});c&&(c.innerHTML="",da(c),g&&E(c));S(a,function(d,e){delete a[e]})};b.prototype.firstRender=function(){var a=this,d=a.options;if(!a.isReadyToRender||a.isReadyToRender()){a.getContainer();a.resetMargins();a.setChartSize();a.propFromSeries();a.getAxes();
-(M(d.series)?d.series:[]).forEach(function(d){a.initSeries(d)});a.linkSeries();a.setSeriesData();Q(a,"beforeRender");t&&(a.pointer=B.hasTouch||!K.PointerEvent&&!K.MSPointerEvent?new t(a,d):new z(a,d));a.render();a.pointer.getChartPosition();if(!a.renderer.imgCount&&!a.hasLoaded)a.onload();a.temporaryDisplay(!0)}};b.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(a){a&&"undefined"!==typeof this.index&&a.apply(this,[this])},this);Q(this,"load");Q(this,"render");m(this.index)&&
-this.setReflow(this.options.chart.reflow);this.hasLoaded=!0};b.prototype.addSeries=function(a,d,e){var c,b=this;a&&(d=P(d,!0),Q(b,"addSeries",{options:a},function(){c=b.initSeries(a);b.isDirtyLegend=!0;b.linkSeries();c.enabledDataSorting&&c.setData(a.data,!1);Q(b,"afterAddSeries",{series:c});d&&b.redraw(e)}));return c};b.prototype.addAxis=function(a,d,e,c){return this.createAxis(d?"xAxis":"yAxis",{axis:a,redraw:e,animation:c})};b.prototype.addColorAxis=function(a,d,e){return this.createAxis("colorAxis",
-{axis:a,redraw:d,animation:e})};b.prototype.createAxis=function(a,d){var e=this.options,c="colorAxis"===a,b=d.redraw,g=d.animation;d=Y(d.axis,{index:this[a].length,isX:"xAxis"===a});var f=c?new B.ColorAxis(this,d):new l(this,d);e[a]=X(e[a]||{});e[a].push(d);c&&(this.isDirtyLegend=!0,this.axes.forEach(function(a){a.series=[]}),this.series.forEach(function(a){a.bindAxes();a.isDirtyData=!0}));P(b,!0)&&this.redraw(g);return f};b.prototype.showLoading=function(e){var c=this,b=c.options,g=c.loadingDiv,
-f=c.loadingSpan,m=b.loading,h=function(){g&&a(g,{left:c.plotLeft+"px",top:c.plotTop+"px",width:c.plotWidth+"px",height:c.plotHeight+"px"})};g||(c.loadingDiv=g=d("div",{className:"highcharts-loading highcharts-loading-hidden"},null,c.container));f||(c.loadingSpan=f=d("span",{className:"highcharts-loading-inner"},null,g),u(c,"redraw",h));g.className="highcharts-loading";p.setElementHTML(f,P(e,b.lang.loading,""));c.styledMode||(a(g,N(m.style,{zIndex:10})),a(f,m.labelStyle),c.loadingShown||(a(g,{opacity:0,
-display:""}),k(g,{opacity:m.style.opacity||.5},{duration:m.showDuration||0})));c.loadingShown=!0;h()};b.prototype.hideLoading=function(){var d=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||k(e,{opacity:0},{duration:d.loading.hideDuration||100,complete:function(){a(e,{display:"none"})}}));this.loadingShown=!1};b.prototype.update=function(a,d,e,c){var b=this,f={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},
-k,n,p,u=a.isResponsiveOptions,l=[];Q(b,"update",{options:a});u||b.setResponsive(!1,!0);a=g(a,b.options);b.userOptions=Y(b.userOptions,a);if(k=a.chart){Y(!0,b.options.chart,k);"className"in k&&b.setClassName(k.className);"reflow"in k&&b.setReflow(k.reflow);if("inverted"in k||"polar"in k||"type"in k){b.propFromSeries();var D=!0}"alignTicks"in k&&(D=!0);S(k,function(a,d){-1!==b.propsRequireUpdateSeries.indexOf("chart."+d)&&(n=!0);-1!==b.propsRequireDirtyBox.indexOf(d)&&(b.isDirtyBox=!0);-1!==b.propsRequireReflow.indexOf(d)&&
-(u?b.isDirtyBox=!0:p=!0)});!b.styledMode&&"style"in k&&b.renderer.setStyle(k.style)}!b.styledMode&&a.colors&&(this.options.colors=a.colors);a.time&&(this.time===r&&(this.time=new h(a.time)),Y(!0,b.options.time,a.time));S(a,function(d,e){if(b[e]&&"function"===typeof b[e].update)b[e].update(d,!1);else if("function"===typeof b[f[e]])b[f[e]](d);else"color"!==e&&-1===b.collectionsWithUpdate.indexOf(e)&&Y(!0,b.options[e],a[e]);"chart"!==e&&-1!==b.propsRequireUpdateSeries.indexOf(e)&&(n=!0)});this.collectionsWithUpdate.forEach(function(d){if(a[d]){if("series"===
-d){var c=[];b[d].forEach(function(a,d){a.options.isInternal||c.push(P(a.options.index,d))})}X(a[d]).forEach(function(a,g){var f=m(a.id),k;f&&(k=b.get(a.id));!k&&b[d]&&(k=b[d][c?c[g]:g])&&f&&m(k.options.id)&&(k=void 0);k&&k.coll===d&&(k.update(a,!1),e&&(k.touched=!0));!k&&e&&b.collectionsWithInit[d]&&(b.collectionsWithInit[d][0].apply(b,[a].concat(b.collectionsWithInit[d][1]||[]).concat([!1])).touched=!0)});e&&b[d].forEach(function(a){a.touched||a.options.isInternal?delete a.touched:l.push(a)})}});
-l.forEach(function(a){a.chart&&a.remove(!1)});D&&b.axes.forEach(function(a){a.update({},!1)});n&&b.getSeriesOrderByLinks().forEach(function(a){a.chart&&a.update({},!1)},this);D=k&&k.width;k=k&&k.height;aa(k)&&(k=U(k,D||b.chartWidth));p||F(D)&&D!==b.chartWidth||F(k)&&k!==b.chartHeight?b.setSize(D,k,c):P(d,!0)&&b.redraw(c);Q(b,"afterUpdate",{options:a,redraw:d,animation:c})};b.prototype.setSubtitle=function(a,d){this.applyDescription("subtitle",a);this.layOutTitles(d)};b.prototype.setCaption=function(a,
-d){this.applyDescription("caption",a);this.layOutTitles(d)};b.prototype.showResetZoom=function(){function a(){d.zoomOut()}var d=this,e=L.lang,c=d.options.chart.resetZoomButton,b=c.theme,g=b.states,f="chart"===c.relativeTo||"spaceBox"===c.relativeTo?null:this.scrollablePlotBox||"plotBox";Q(this,"beforeShowResetZoom",null,function(){d.resetZoomButton=d.renderer.button(e.resetZoom,null,null,a,b,g&&g.hover).attr({align:c.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(c.position,
-!1,f)});Q(this,"afterShowResetZoom")};b.prototype.zoomOut=function(){Q(this,"selection",{resetSelection:!0},this.zoom)};b.prototype.zoom=function(a){var d=this,e,c=d.pointer,b=!1,g=d.inverted?c.mouseDownX:c.mouseDownY;!a||a.resetSelection?(d.axes.forEach(function(a){e=a.zoom()}),c.initiated=!1):a.xAxis.concat(a.yAxis).forEach(function(a){var f=a.axis,k=d.inverted?f.left:f.top,h=d.inverted?k+f.width:k+f.height,n=f.isXAxis,p=!1;if(!n&&g>=k&&g<=h||n||!m(g))p=!0;c[n?"zoomX":"zoomY"]&&p&&(e=f.zoom(a.min,
-a.max),f.displayBtn&&(b=!0))});var f=d.resetZoomButton;b&&!f?d.showResetZoom():!b&&J(f)&&(d.resetZoomButton=f.destroy());e&&d.redraw(P(d.options.chart.animation,a&&a.animation,100>d.pointCount))};b.prototype.pan=function(d,e){var c=this,b=c.hoverPoints,g=c.options.chart,f=c.options.mapNavigation&&c.options.mapNavigation.enabled,m;e="object"===typeof e?e:{enabled:e,type:"x"};g&&g.panning&&(g.panning=e);var k=e.type;Q(this,"pan",{originalEvent:d},function(){b&&b.forEach(function(a){a.setState()});var e=
-[1];"xy"===k?e=[1,0]:"y"===k&&(e=[0]);e.forEach(function(a){var e=c[a?"xAxis":"yAxis"][0],b=e.horiz,g=d[b?"chartX":"chartY"];b=b?"mouseDownX":"mouseDownY";var h=c[b],n=(e.pointRange||0)/2,p=e.reversed&&!c.inverted||!e.reversed&&c.inverted?-1:1,u=e.getExtremes(),r=e.toValue(h-g,!0)+n*p;p=e.toValue(h+e.len-g,!0)-n*p;var l=p<r;h=l?p:r;r=l?r:p;p=e.hasVerticalPanning();var D=e.panningState;!p||a||D&&!D.isDirty||e.series.forEach(function(a){var d=a.getProcessedData(!0);d=a.getExtremes(d.yData,!0);D||(D=
-{startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});F(d.dataMin)&&F(d.dataMax)&&(D.startMin=Math.min(P(a.options.threshold,Infinity),d.dataMin,D.startMin),D.startMax=Math.max(P(a.options.threshold,-Infinity),d.dataMax,D.startMax))});a=Math.min(P(null===D||void 0===D?void 0:D.startMin,u.dataMin),n?u.min:e.toValue(e.toPixels(u.min)-e.minPixelPadding));n=Math.max(P(null===D||void 0===D?void 0:D.startMax,u.dataMax),n?u.max:e.toValue(e.toPixels(u.max)+e.minPixelPadding));e.panningState=D;e.isOrdinal||
-(p=a-h,0<p&&(r+=p,h=a),p=r-n,0<p&&(r=n,h-=p),e.series.length&&h!==u.min&&r!==u.max&&h>=a&&r<=n&&(e.setExtremes(h,r,!1,!1,{trigger:"pan"}),c.resetZoomButton||f||h===a||r===n||!k.match("y")||(c.showResetZoom(),e.displayBtn=!1),m=!0),c[b]=g)});m&&c.redraw(!1);a(c.container,{cursor:"move"})})};return b}();N(ba.prototype,{callbacks:[],collectionsWithInit:{xAxis:[ba.prototype.addAxis,[!0]],yAxis:[ba.prototype.addAxis,[!1]],series:[ba.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis",
-"series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});B.chart=function(a,d,e){return new ba(a,
-d,e)};B.Chart=ba;"";return ba});J(b,"Mixins/LegendSymbol.js",[b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,l){var w=l.merge,y=l.pick;return b.LegendSymbolMixin={drawRectangle:function(b,l){var v=b.symbolHeight,t=b.options.squareSymbol;l.legendSymbol=this.chart.renderer.rect(t?(b.symbolWidth-v)/2:0,b.baseline-v+1,t?v:b.symbolWidth,v,y(b.options.symbolRadius,v/2)).addClass("highcharts-point").attr({zIndex:3}).add(l.legendGroup)},drawLineMarker:function(b){var l=this.options,v=l.marker,t=
-b.symbolWidth,q=b.symbolHeight,h=q/2,c=this.chart.renderer,p=this.legendGroup;b=b.baseline-Math.round(.3*b.fontMetrics.b);var k={};this.chart.styledMode||(k={"stroke-width":l.lineWidth||0},l.dashStyle&&(k.dashstyle=l.dashStyle));this.legendLine=c.path([["M",0,b],["L",t,b]]).addClass("highcharts-graph").attr(k).add(p);v&&!1!==v.enabled&&t&&(l=Math.min(y(v.radius,h),h),0===this.symbol.indexOf("url")&&(v=w(v,{width:q,height:q}),l=0),this.legendSymbol=v=c.symbol(this.symbol,t/2-l,b-l,2*l,2*l,v).addClass("highcharts-point").add(p),
-v.isMarker=!0)}}});J(b,"Core/Series/Series.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Globals.js"],b["Mixins/LegendSymbol.js"],b["Core/Options.js"],b["Core/Color/Palette.js"],b["Core/Series/Point.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Renderer/SVG/SVGElement.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C,v,t,q){var h=b.animObject,c=b.setAnimation,p=l.hasTouch,k=l.svg,G=l.win,f=y.defaultOptions,w=v.seriesTypes,x=q.addEvent,K=q.arrayMax,L=q.arrayMin,r=q.clamp,n=q.cleanRecursively,
-u=q.correctFloat,e=q.defined,g=q.erase,d=q.error,a=q.extend,m=q.find,E=q.fireEvent,I=q.getNestedProperty,A=q.isArray,N=q.isFunction,R=q.isNumber,Q=q.isString,T=q.merge,M=q.objectEach,O=q.pick,F=q.removeEvent,J=q.splat,aa=q.syncTimeout;b=function(){function b(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}b.prototype.init=
-function(d,e){E(this,"init",{options:e});var c=this,b=d.series,g;this.eventOptions=this.eventOptions||{};this.eventsToUnbind=[];c.chart=d;c.options=e=c.setOptions(e);c.linkedSeries=[];c.bindAxes();a(c,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected});var f=e.events;M(f,function(a,d){N(a)&&c.eventOptions[d]!==a&&(N(c.eventOptions[d])&&F(c,d,c.eventOptions[d]),c.eventOptions[d]=a,x(c,d,a))});if(f&&f.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)d.runTrackerClick=
-!0;c.getColor();c.getSymbol();c.parallelArrays.forEach(function(a){c[a+"Data"]||(c[a+"Data"]=[])});c.isCartesian&&(d.hasCartesianSeries=!0);b.length&&(g=b[b.length-1]);c._i=O(g&&g._i,-1)+1;c.opacity=c.options.opacity;d.orderSeries(this.insert(b));e.dataSorting&&e.dataSorting.enabled?c.setDataSortingOptions():c.points||c.data||c.setData(e.data,!1);E(this,"afterInit")};b.prototype.is=function(a){return w[a]&&this instanceof w[a]};b.prototype.insert=function(a){var d=this.options.index,e;if(R(d)){for(e=
-a.length;e--;)if(d>=O(a[e].options.index,a[e]._i)){a.splice(e+1,0,this);break}-1===e&&a.unshift(this);e+=1}else a.push(this);return O(e,a.length-1)};b.prototype.bindAxes=function(){var a=this,e=a.options,c=a.chart,b;E(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(g){c[g].forEach(function(d){b=d.options;if(e[g]===b.index||"undefined"!==typeof e[g]&&e[g]===b.id||"undefined"===typeof e[g]&&0===b.index)a.insert(d.series),a[g]=d,d.isDirty=!0});a[g]||a.optionalAxis===g||d(18,!0,c)})});
-E(this,"afterBindAxes")};b.prototype.updateParallelArrays=function(a,d){var e=a.series,c=arguments,b=R(d)?function(c){var b="y"===c&&e.toYData?e.toYData(a):a[c];e[c+"Data"][d]=b}:function(a){Array.prototype[d].apply(e[a+"Data"],Array.prototype.slice.call(c,2))};e.parallelArrays.forEach(b)};b.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length};b.prototype.autoIncrement=function(){var a=
-this.options,d=this.xIncrement,e,c=a.pointIntervalUnit,b=this.chart.time;d=O(d,a.pointStart,0);this.pointInterval=e=O(this.pointInterval,a.pointInterval,1);c&&(a=new b.Date(d),"day"===c?b.set("Date",a,b.get("Date",a)+e):"month"===c?b.set("Month",a,b.get("Month",a)+e):"year"===c&&b.set("FullYear",a,b.get("FullYear",a)+e),e=a.getTime()-d);this.xIncrement=d+e;return d};b.prototype.setDataSortingOptions=function(){var d=this.options;a(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});
-e(d.pointRange)||(d.pointRange=1)};b.prototype.setOptions=function(a){var d=this.chart,c=d.options,b=c.plotOptions,g=d.userOptions||{};a=T(a);d=d.styledMode;var m={plotOptions:b,userOptions:a};E(this,"setOptions",m);var k=m.plotOptions[this.type],h=g.plotOptions||{};this.userOptions=m.userOptions;g=T(k,b.series,g.plotOptions&&g.plotOptions[this.type],a);this.tooltipOptions=T(f.tooltip,f.plotOptions.series&&f.plotOptions.series.tooltip,f.plotOptions[this.type].tooltip,c.tooltip.userOptions,b.series&&
-b.series.tooltip,b[this.type].tooltip,a.tooltip);this.stickyTracking=O(a.stickyTracking,h[this.type]&&h[this.type].stickyTracking,h.series&&h.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:g.stickyTracking);null===k.marker&&delete g.marker;this.zoneAxis=g.zoneAxis;c=this.zones=(g.zones||[]).slice();!g.negativeColor&&!g.negativeFillColor||g.zones||(b={value:g[this.zoneAxis+"Threshold"]||g.threshold||0,className:"highcharts-negative"},d||(b.color=g.negativeColor,b.fillColor=
-g.negativeFillColor),c.push(b));c.length&&e(c[c.length-1].value)&&c.push(d?{}:{color:this.color,fillColor:this.fillColor});E(this,"afterSetOptions",{options:g});return g};b.prototype.getName=function(){return O(this.options.name,"Series "+(this.index+1))};b.prototype.getCyclic=function(a,d,c){var b=this.chart,g=this.userOptions,f=a+"Index",m=a+"Counter",k=c?c.length:O(b.options.chart[a+"Count"],b[a+"Count"]);if(!d){var h=O(g[f],g["_"+f]);e(h)||(b.series.length||(b[m]=0),g["_"+f]=h=b[m]%k,b[m]+=1);
-c&&(d=c[h])}"undefined"!==typeof h&&(this[f]=h);this[a]=d};b.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||f.plotOptions[this.type].color,this.chart.options.colors)};b.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]};b.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};b.prototype.findPointIndex=
-function(a,d){var e=a.id,c=a.x,b=this.points,g,f=this.options.dataSorting;if(e)var k=this.chart.get(e);else if(this.linkedParent||this.enabledDataSorting){var h=f&&f.matchByName?"name":"index";k=m(b,function(d){return!d.touched&&d[h]===a[h]});if(!k)return}if(k){var n=k&&k.index;"undefined"!==typeof n&&(g=!0)}"undefined"===typeof n&&R(c)&&(n=this.xData.indexOf(c,d));-1!==n&&"undefined"!==typeof n&&this.cropped&&(n=n>=this.cropStart?n-this.cropStart:n);!g&&b[n]&&b[n].touched&&(n=void 0);return n};b.prototype.updateData=
-function(a,d){var c=this.options,b=c.dataSorting,g=this.points,f=[],m,k,h,n=this.requireSorting,p=a.length===g.length,u=!0;this.xIncrement=null;a.forEach(function(a,d){var k=e(a)&&this.pointClass.prototype.optionsToObject.call({series:this},a)||{};var u=k.x;if(k.id||R(u)){if(u=this.findPointIndex(k,h),-1===u||"undefined"===typeof u?f.push(a):g[u]&&a!==c.data[u]?(g[u].update(a,!1,null,!1),g[u].touched=!0,n&&(h=u+1)):g[u]&&(g[u].touched=!0),!p||d!==u||b&&b.enabled||this.hasDerivedData)m=!0}else f.push(a)},
-this);if(m)for(a=g.length;a--;)(k=g[a])&&!k.touched&&k.remove&&k.remove(!1,d);else!p||b&&b.enabled?u=!1:(a.forEach(function(a,d){g[d].update&&a!==g[d].y&&g[d].update(a,!1,null,!1)}),f.length=0);g.forEach(function(a){a&&(a.touched=!1)});if(!u)return!1;f.forEach(function(a){this.addPoint(a,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=K(this.xData),this.autoIncrement());return!0};b.prototype.setData=function(a,e,c,b){var g=this,f=g.points,m=f&&f.length||
-0,k,h=g.options,n=g.chart,p=h.dataSorting,u=null,r=g.xAxis;u=h.turboThreshold;var l=this.xData,q=this.yData,D=(k=g.pointArrayMap)&&k.length,x=h.keys,t=0,E=1,v;a=a||[];k=a.length;e=O(e,!0);p&&p.enabled&&(a=this.sortData(a));!1!==b&&k&&m&&!g.cropped&&!g.hasGroupedData&&g.visible&&!g.isSeriesBoosting&&(v=this.updateData(a,c));if(!v){g.xIncrement=null;g.colorCounter=0;this.parallelArrays.forEach(function(a){g[a+"Data"].length=0});if(u&&k>u)if(u=g.getFirstValidPoint(a),R(u))for(c=0;c<k;c++)l[c]=this.autoIncrement(),
-q[c]=a[c];else if(A(u))if(D)for(c=0;c<k;c++)b=a[c],l[c]=b[0],q[c]=b.slice(1,D+1);else for(x&&(t=x.indexOf("x"),E=x.indexOf("y"),t=0<=t?t:0,E=0<=E?E:1),c=0;c<k;c++)b=a[c],l[c]=b[t],q[c]=b[E];else d(12,!1,n);else for(c=0;c<k;c++)"undefined"!==typeof a[c]&&(b={series:g},g.pointClass.prototype.applyOptions.apply(b,[a[c]]),g.updateParallelArrays(b,c));q&&Q(q[0])&&d(14,!0,n);g.data=[];g.options.data=g.userOptions.data=a;for(c=m;c--;)f[c]&&f[c].destroy&&f[c].destroy();r&&(r.minRange=r.userMinRange);g.isDirty=
-n.isDirtyBox=!0;g.isDirtyData=!!f;c=!1}"point"===h.legendType&&(this.processData(),this.generatePoints());e&&n.redraw(c)};b.prototype.sortData=function(a){var d=this,c=d.options.dataSorting.sortKey||"y",b=function(a,d){return e(d)&&a.pointClass.prototype.optionsToObject.call({series:a},d)||{}};a.forEach(function(e,c){a[c]=b(d,e);a[c].index=c},this);a.concat().sort(function(a,d){a=I(c,a);d=I(c,d);return d<a?-1:d>a?1:0}).forEach(function(a,d){a.x=d},this);d.linkedSeries&&d.linkedSeries.forEach(function(d){var e=
-d.options,c=e.data;e.dataSorting&&e.dataSorting.enabled||!c||(c.forEach(function(e,g){c[g]=b(d,e);a[g]&&(c[g].x=a[g].x,c[g].index=g)}),d.setData(c,!1))});return a};b.prototype.getProcessedData=function(a){var e=this.xData,c=this.yData,b=e.length;var g=0;var f=this.xAxis,m=this.options;var k=m.cropThreshold;var h=a||this.getExtremesFromAll||m.getExtremesFromAll,n=this.isCartesian;a=f&&f.val2lin;m=!(!f||!f.logarithmic);var p=this.requireSorting;if(f){f=f.getExtremes();var u=f.min;var r=f.max}if(n&&
-this.sorted&&!h&&(!k||b>k||this.forceCrop))if(e[b-1]<u||e[0]>r)e=[],c=[];else if(this.yData&&(e[0]<u||e[b-1]>r)){g=this.cropData(this.xData,this.yData,u,r);e=g.xData;c=g.yData;g=g.start;var l=!0}for(k=e.length||1;--k;)if(b=m?a(e[k])-a(e[k-1]):e[k]-e[k-1],0<b&&("undefined"===typeof q||b<q))var q=b;else 0>b&&p&&(d(15,!1,this.chart),p=!1);return{xData:e,yData:c,cropped:l,cropStart:g,closestPointRange:q}};b.prototype.processData=function(a){var d=this.xAxis;if(this.isCartesian&&!this.isDirty&&!d.isDirty&&
-!this.yAxis.isDirty&&!a)return!1;a=this.getProcessedData();this.cropped=a.cropped;this.cropStart=a.cropStart;this.processedXData=a.xData;this.processedYData=a.yData;this.closestPointRange=this.basePointRange=a.closestPointRange};b.prototype.cropData=function(a,d,e,c,b){var g=a.length,f=0,m=g,k;b=O(b,this.cropShoulder);for(k=0;k<g;k++)if(a[k]>=e){f=Math.max(0,k-b);break}for(e=k;e<g;e++)if(a[e]>c){m=e+b;break}return{xData:a.slice(f,m),yData:d.slice(f,m),start:f,end:m}};b.prototype.generatePoints=function(){var d=
-this.options,e=d.data,c=this.data,b,g=this.processedXData,f=this.processedYData,m=this.pointClass,k=g.length,h=this.cropStart||0,n=this.hasGroupedData;d=d.keys;var p=[],u;c||n||(c=[],c.length=e.length,c=this.data=c);d&&n&&(this.options.keys=!1);for(u=0;u<k;u++){var r=h+u;if(n){var l=(new m).init(this,[g[u]].concat(J(f[u])));l.dataGroup=this.groupMap[u];l.dataGroup.options&&(l.options=l.dataGroup.options,a(l,l.dataGroup.options),delete l.dataLabels)}else(l=c[r])||"undefined"===typeof e[r]||(c[r]=l=
-(new m).init(this,e[r],g[u]));l&&(l.index=r,p[u]=l)}this.options.keys=d;if(c&&(k!==(b=c.length)||n))for(u=0;u<b;u++)u!==h||n||(u+=k),c[u]&&(c[u].destroyElements(),c[u].plotX=void 0);this.data=c;this.points=p;E(this,"afterGeneratePoints")};b.prototype.getXExtremes=function(a){return{min:L(a),max:K(a)}};b.prototype.getExtremes=function(a,d){var e=this.xAxis,c=this.yAxis,b=this.processedXData||this.xData,g=[],f=0,m=0;var k=0;var h=this.requireSorting?this.cropShoulder:0,n=c?c.positiveValuesOnly:!1,p;
-a=a||this.stackedYData||this.processedYData||[];c=a.length;e&&(k=e.getExtremes(),m=k.min,k=k.max);for(p=0;p<c;p++){var u=b[p];var r=a[p];var l=(R(r)||A(r))&&(r.length||0<r||!n);u=d||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!e||(b[p+h]||u)>=m&&(b[p-h]||u)<=k;if(l&&u)if(l=r.length)for(;l--;)R(r[l])&&(g[f++]=r[l]);else g[f++]=r}a={dataMin:L(g),dataMax:K(g)};E(this,"afterGetExtremes",{dataExtremes:a});return a};b.prototype.applyExtremes=function(){var a=this.getExtremes();
-this.dataMin=a.dataMin;this.dataMax=a.dataMax;return a};b.prototype.getFirstValidPoint=function(a){for(var d=null,e=a.length,c=0;null===d&&c<e;)d=a[c],c++;return d};b.prototype.translate=function(){this.processedXData||this.processData();this.generatePoints();var a=this.options,d=a.stacking,c=this.xAxis,b=c.categories,g=this.enabledDataSorting,f=this.yAxis,m=this.points,k=m.length,h=!!this.modifyValue,n,p=this.pointPlacementToXValue(),l=!!p,q=a.threshold,x=a.startFromThreshold?q:0,t,v=this.zoneAxis||
-"y",I=Number.MAX_VALUE;for(n=0;n<k;n++){var G=m[n],w=G.x,H=G.y,z=G.low,C=d&&f.stacking&&f.stacking.stacks[(this.negStacks&&H<(x?0:q)?"-":"")+this.stackKey];if(f.positiveValuesOnly&&!f.validatePositiveValue(H)||c.positiveValuesOnly&&!c.validatePositiveValue(w))G.isNull=!0;G.plotX=t=u(r(c.translate(w,0,0,0,1,p,"flags"===this.type),-1E5,1E5));if(d&&this.visible&&C&&C[w]){var L=this.getStackIndicator(L,w,this.index);if(!G.isNull){var N=C[w];var K=N.points[L.key]}}A(K)&&(z=K[0],H=K[1],z===x&&L.key===C[w].base&&
-(z=O(R(q)&&q,f.min)),f.positiveValuesOnly&&0>=z&&(z=null),G.total=G.stackTotal=N.total,G.percentage=N.total&&G.y/N.total*100,G.stackY=H,this.irregularWidths||N.setOffset(this.pointXOffset||0,this.barW||0));G.yBottom=e(z)?r(f.translate(z,0,1,0,1),-1E5,1E5):null;h&&(H=this.modifyValue(H,G));G.plotY=void 0;R(H)&&(H=f.translate(H,!1,!0,!1,!0),"undefined"!==typeof H&&(G.plotY=r(H,-1E5,1E5)));G.isInside=this.isPointInside(G);G.clientX=l?u(c.translate(w,0,0,0,1,p)):t;G.negative=G[v]<(a[v+"Threshold"]||q||
-0);G.category=b&&"undefined"!==typeof b[G.x]?b[G.x]:G.x;if(!G.isNull&&!1!==G.visible){"undefined"!==typeof F&&(I=Math.min(I,Math.abs(t-F)));var F=t}G.zone=this.zones.length&&G.getZone();!G.graphic&&this.group&&g&&(G.isNew=!0)}this.closestPointRangePx=I;E(this,"afterTranslate")};b.prototype.getValidPoints=function(a,d,e){var c=this.chart;return(a||this.points||[]).filter(function(a){return d&&!c.isInsidePlot(a.plotX,a.plotY,c.inverted)?!1:!1!==a.visible&&(e||!a.isNull)})};b.prototype.getClipBox=function(a,
-d){var e=this.options,c=this.chart,b=c.inverted,g=this.xAxis,f=g&&this.yAxis,m=c.options.chart.scrollablePlotArea||{};a&&!1===e.clip&&f?a=b?{y:-c.chartWidth+f.len+f.pos,height:c.chartWidth,width:c.chartHeight,x:-c.chartHeight+g.len+g.pos}:{y:-f.pos,height:c.chartHeight,width:c.chartWidth,x:-g.pos}:(a=this.clipBox||c.clipBox,d&&(a.width=c.plotSizeX,a.x=(c.scrollablePixelsX||0)*(m.scrollPositionX||0)));return d?{width:a.width,x:a.x}:a};b.prototype.setClip=function(a){var d=this.chart,e=this.options,
-c=d.renderer,b=d.inverted,g=this.clipBox,f=this.getClipBox(a),m=this.sharedClipKey||["_sharedClip",a&&a.duration,a&&a.easing,a&&a.defer,f.height,e.xAxis,e.yAxis].join(),k=d[m],h=d[m+"m"];a&&(f.width=0,b&&(f.x=d.plotHeight+(!1!==e.clip?0:d.plotTop)));k?d.hasLoaded||k.attr(f):(a&&(d[m+"m"]=h=c.clipRect(b?d.plotSizeX+99:-99,b?-d.plotLeft:-d.plotTop,99,b?d.chartWidth:d.chartHeight)),d[m]=k=c.clipRect(f),k.count={length:0});a&&!k.count[this.index]&&(k.count[this.index]=!0,k.count.length+=1);if(!1!==e.clip||
-a)this.group.clip(a||g?k:d.clipRect),this.markerGroup.clip(h),this.sharedClipKey=m;a||(k.count[this.index]&&(delete k.count[this.index],--k.count.length),0===k.count.length&&m&&d[m]&&(g||(d[m]=d[m].destroy()),d[m+"m"]&&(d[m+"m"]=d[m+"m"].destroy())))};b.prototype.animate=function(a){var d=this.chart,e=h(this.options.animation);if(a)this.setClip(e);else{var c=this.sharedClipKey;a=d[c];var b=this.getClipBox(e,!0);a&&a.animate(b,e);d[c+"m"]&&d[c+"m"].animate({width:b.width+99,x:b.x-(d.inverted?0:99)},
-e)}};b.prototype.afterAnimate=function(){this.setClip();E(this,"afterAnimate");this.finishedAnimating=!0};b.prototype.drawPoints=function(){var a=this.points,d=this.chart,e,c,b=this.options.marker,g=this[this.specialGroup]||this.markerGroup,f=this.xAxis,m=O(b.enabled,!f||f.isRadial?!0:null,this.closestPointRangePx>=b.enabledThreshold*b.radius);if(!1!==b.enabled||this._hasPointMarkers)for(e=0;e<a.length;e++){var k=a[e];var h=(c=k.graphic)?"animate":"attr";var n=k.marker||{};var p=!!k.marker;if((m&&
-"undefined"===typeof n.enabled||n.enabled)&&!k.isNull&&!1!==k.visible){var u=O(n.symbol,this.symbol);var r=this.markerAttribs(k,k.selected&&"select");this.enabledDataSorting&&(k.startXPos=f.reversed?-r.width:f.width);var l=!1!==k.isInside;c?c[l?"show":"hide"](l).animate(r):l&&(0<r.width||k.hasImage)&&(k.graphic=c=d.renderer.symbol(u,r.x,r.y,r.width,r.height,p?n:b).add(g),this.enabledDataSorting&&d.hasRendered&&(c.attr({x:k.startXPos}),h="animate"));c&&"animate"===h&&c[l?"show":"hide"](l).animate(r);
-if(c&&!d.styledMode)c[h](this.pointAttribs(k,k.selected&&"select"));c&&c.addClass(k.getClassName(),!0)}else c&&(k.graphic=c.destroy())}};b.prototype.markerAttribs=function(a,d){var e=this.options,c=e.marker,b=a.marker||{},g=b.symbol||c.symbol,f=O(b.radius,c.radius);d&&(c=c.states[d],d=b.states&&b.states[d],f=O(d&&d.radius,c&&c.radius,f+(c&&c.radiusPlus||0)));a.hasImage=g&&0===g.indexOf("url");a.hasImage&&(f=0);a={x:e.crisp?Math.floor(a.plotX)-f:a.plotX-f,y:a.plotY-f};f&&(a.width=a.height=2*f);return a};
-b.prototype.pointAttribs=function(a,d){var e=this.options.marker,c=a&&a.options,b=c&&c.marker||{},g=this.color,f=c&&c.color,m=a&&a.color;c=O(b.lineWidth,e.lineWidth);var k=a&&a.zone&&a.zone.color;a=1;g=f||k||m||g;f=b.fillColor||e.fillColor||g;g=b.lineColor||e.lineColor||g;d=d||"normal";e=e.states[d];d=b.states&&b.states[d]||{};c=O(d.lineWidth,e.lineWidth,c+O(d.lineWidthPlus,e.lineWidthPlus,0));f=d.fillColor||e.fillColor||f;g=d.lineColor||e.lineColor||g;a=O(d.opacity,e.opacity,a);return{stroke:g,"stroke-width":c,
-fill:f,opacity:a}};b.prototype.destroy=function(a){var d=this,e=d.chart,c=/AppleWebKit\/533/.test(G.navigator.userAgent),b,f,m=d.data||[],k,h;E(d,"destroy");this.removeEvents(a);(d.axisTypes||[]).forEach(function(a){(h=d[a])&&h.series&&(g(h.series,d),h.isDirty=h.forceRedraw=!0)});d.legendItem&&d.chart.legend.destroyItem(d);for(f=m.length;f--;)(k=m[f])&&k.destroy&&k.destroy();d.points=null;q.clearTimeout(d.animationTimeout);M(d,function(a,d){a instanceof t&&!a.survive&&(b=c&&"group"===d?"hide":"destroy",
-a[b]())});e.hoverSeries===d&&(e.hoverSeries=null);g(e.series,d);e.orderSeries();M(d,function(e,c){a&&"hcEvents"===c||delete d[c]})};b.prototype.applyZones=function(){var a=this,d=this.chart,e=d.renderer,c=this.zones,b,g,f=this.clips||[],m,k=this.graph,h=this.area,n=Math.max(d.chartWidth,d.chartHeight),p=this[(this.zoneAxis||"y")+"Axis"],u=d.inverted,l,q,x,A=!1,t,E;if(c.length&&(k||h)&&p&&"undefined"!==typeof p.min){var v=p.reversed;var G=p.horiz;k&&!this.showLine&&k.hide();h&&h.hide();var I=p.getExtremes();
-c.forEach(function(c,D){b=v?G?d.plotWidth:0:G?0:p.toPixels(I.min)||0;b=r(O(g,b),0,n);g=r(Math.round(p.toPixels(O(c.value,I.max),!0)||0),0,n);A&&(b=g=p.toPixels(I.max));l=Math.abs(b-g);q=Math.min(b,g);x=Math.max(b,g);p.isXAxis?(m={x:u?x:q,y:0,width:l,height:n},G||(m.x=d.plotHeight-m.x)):(m={x:0,y:u?x:q,width:n,height:l},G&&(m.y=d.plotWidth-m.y));u&&e.isVML&&(m=p.isXAxis?{x:0,y:v?q:x,height:m.width,width:d.chartWidth}:{x:m.y-d.plotLeft-d.spacingBox.x,y:0,width:m.height,height:d.chartHeight});f[D]?f[D].animate(m):
-f[D]=e.clipRect(m);t=a["zone-area-"+D];E=a["zone-graph-"+D];k&&E&&E.clip(f[D]);h&&t&&t.clip(f[D]);A=c.value>I.max;a.resetZones&&0===g&&(g=void 0)});this.clips=f}else a.visible&&(k&&k.show(!0),h&&h.show(!0))};b.prototype.invertGroups=function(a){function d(){["group","markerGroup"].forEach(function(d){e[d]&&(c.renderer.isVML&&e[d].attr({width:e.yAxis.len,height:e.xAxis.len}),e[d].width=e.yAxis.len,e[d].height=e.xAxis.len,e[d].invert(e.isRadialSeries?!1:a))})}var e=this,c=e.chart;e.xAxis&&(e.eventsToUnbind.push(x(c,
-"resize",d)),d(),e.invertGroups=d)};b.prototype.plotGroup=function(a,d,c,b,g){var f=this[a],m=!f;c={visibility:c,zIndex:b||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(c.opacity=this.opacity);m&&(this[a]=f=this.chart.renderer.g().add(g));f.addClass("highcharts-"+d+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(e(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(f.hasClass("highcharts-tracker")?
-" highcharts-tracker":""),!0);f.attr(c)[m?"attr":"animate"](this.getPlotBox());return f};b.prototype.getPlotBox=function(){var a=this.chart,d=this.xAxis,e=this.yAxis;a.inverted&&(d=e,e=this.xAxis);return{translateX:d?d.left:a.plotLeft,translateY:e?e.top:a.plotTop,scaleX:1,scaleY:1}};b.prototype.removeEvents=function(a){a||F(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind.length=0)};b.prototype.render=function(){var a=this,d=a.chart,e=a.options,
-c=h(e.animation),b=!a.finishedAnimating&&d.renderer.isSVG&&c.duration,g=a.visible?"inherit":"hidden",f=e.zIndex,m=a.hasRendered,k=d.seriesGroup,n=d.inverted;E(this,"render");var p=a.plotGroup("group","series",g,f,k);a.markerGroup=a.plotGroup("markerGroup","markers",g,f,k);b&&a.animate&&a.animate(!0);p.inverted=O(a.invertible,a.isCartesian)?n:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.visible&&a.drawPoints();a.drawDataLabels&&a.drawDataLabels();a.redrawPoints&&a.redrawPoints();a.drawTracker&&
-!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(n);!1===e.clip||a.sharedClipKey||m||p.clip(d.clipRect);b&&a.animate&&a.animate();m||(b&&c.defer&&(b+=c.defer),a.animationTimeout=aa(function(){a.afterAnimate()},b||0));a.isDirty=!1;a.hasRendered=!0;E(a,"afterRender")};b.prototype.redraw=function(){var a=this.chart,d=this.isDirty||this.isDirtyData,e=this.group,c=this.xAxis,b=this.yAxis;e&&(a.inverted&&e.attr({width:a.plotWidth,height:a.plotHeight}),e.animate({translateX:O(c&&c.left,
-a.plotLeft),translateY:O(b&&b.top,a.plotTop)}));this.translate();this.render();d&&delete this.kdTree};b.prototype.searchPoint=function(a,d){var e=this.xAxis,c=this.yAxis,b=this.chart.inverted;return this.searchKDTree({clientX:b?e.len-a.chartY+e.pos:a.chartX-e.pos,plotY:b?c.len-a.chartX+c.pos:a.chartY-c.pos},d,a)};b.prototype.buildKDTree=function(a){function d(a,c,b){var g;if(g=a&&a.length){var f=e.kdAxisArray[c%b];a.sort(function(a,d){return a[f]-d[f]});g=Math.floor(g/2);return{point:a[g],left:d(a.slice(0,
-g),c+1,b),right:d(a.slice(g+1),c+1,b)}}}this.buildingKdTree=!0;var e=this,c=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree;aa(function(){e.kdTree=d(e.getValidPoints(null,!e.directTouch),c,c);e.buildingKdTree=!1},e.options.kdNow||a&&"touchstart"===a.type?0:1)};b.prototype.searchKDTree=function(a,d,c){function b(a,d,c,h){var n=d.point,p=g.kdAxisArray[c%h],u=n;var r=e(a[f])&&e(n[f])?Math.pow(a[f]-n[f],2):null;var l=e(a[m])&&e(n[m])?Math.pow(a[m]-n[m],2):null;l=(r||0)+(l||0);n.dist=
-e(l)?Math.sqrt(l):Number.MAX_VALUE;n.distX=e(r)?Math.sqrt(r):Number.MAX_VALUE;p=a[p]-n[p];l=0>p?"left":"right";r=0>p?"right":"left";d[l]&&(l=b(a,d[l],c+1,h),u=l[k]<u[k]?l:n);d[r]&&Math.sqrt(p*p)<u[k]&&(a=b(a,d[r],c+1,h),u=a[k]<u[k]?a:u);return u}var g=this,f=this.kdAxisArray[0],m=this.kdAxisArray[1],k=d?"distX":"dist";d=-1<g.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(c);if(this.kdTree)return b(a,this.kdTree,d,d)};b.prototype.pointPlacementToXValue=
-function(){var a=this.options,d=a.pointRange,e=this.xAxis;a=a.pointPlacement;"between"===a&&(a=e.reversed?-.5:.5);return R(a)?a*(d||e.pointRange):0};b.prototype.isPointInside=function(a){return"undefined"!==typeof a.plotY&&"undefined"!==typeof a.plotX&&0<=a.plotY&&a.plotY<=this.yAxis.len&&0<=a.plotX&&a.plotX<=this.xAxis.len};b.prototype.drawTracker=function(){var a=this,d=a.options,e=d.trackByArea,c=[].concat(e?a.areaPath:a.graphPath),b=a.chart,g=b.pointer,f=b.renderer,m=b.options.tooltip.snap,h=
-a.tracker,n=function(d){if(b.hoverSeries!==a)a.onMouseOver()},u="rgba(192,192,192,"+(k?.0001:.002)+")";h?h.attr({d:c}):a.graph&&(a.tracker=f.path(c).attr({visibility:a.visible?"visible":"hidden",zIndex:2}).addClass(e?"highcharts-tracker-area":"highcharts-tracker-line").add(a.group),b.styledMode||a.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:u,fill:e?u:"none","stroke-width":a.graph.strokeWidth()+(e?0:2*m)}),[a.tracker,a.markerGroup].forEach(function(a){a.addClass("highcharts-tracker").on("mouseover",
-n).on("mouseout",function(a){g.onTrackerMouseOut(a)});d.cursor&&!b.styledMode&&a.css({cursor:d.cursor});if(p)a.on("touchstart",n)}));E(this,"afterDrawTracker")};b.prototype.addPoint=function(a,d,e,c,b){var g=this.options,f=this.data,m=this.chart,k=this.xAxis;k=k&&k.hasNames&&k.names;var h=g.data,n=this.xData,p;d=O(d,!0);var u={series:this};this.pointClass.prototype.applyOptions.apply(u,[a]);var r=u.x;var l=n.length;if(this.requireSorting&&r<n[l-1])for(p=!0;l&&n[l-1]>r;)l--;this.updateParallelArrays(u,
-"splice",l,0,0);this.updateParallelArrays(u,l);k&&u.name&&(k[r]=u.name);h.splice(l,0,a);p&&(this.data.splice(l,0,null),this.processData());"point"===g.legendType&&this.generatePoints();e&&(f[0]&&f[0].remove?f[0].remove(!1):(f.shift(),this.updateParallelArrays(u,"shift"),h.shift()));!1!==b&&E(this,"addPoint",{point:u});this.isDirtyData=this.isDirty=!0;d&&m.redraw(c)};b.prototype.removePoint=function(a,d,e){var b=this,g=b.data,f=g[a],m=b.points,k=b.chart,h=function(){m&&m.length===g.length&&m.splice(a,
-1);g.splice(a,1);b.options.data.splice(a,1);b.updateParallelArrays(f||{series:b},"splice",a,1);f&&f.destroy();b.isDirty=!0;b.isDirtyData=!0;d&&k.redraw()};c(e,k);d=O(d,!0);f?f.firePointEvent("remove",null,h):h()};b.prototype.remove=function(a,d,e,c){function b(){g.destroy(c);f.isDirtyLegend=f.isDirtyBox=!0;f.linkSeries();O(a,!0)&&f.redraw(d)}var g=this,f=g.chart;!1!==e?E(g,"remove",null,b):b()};b.prototype.update=function(e,c){e=n(e,this.userOptions);E(this,"update",{options:e});var b=this,g=b.chart,
-f=b.userOptions,m=b.initialType||b.type,k=g.options.plotOptions,h=e.type||f.type||g.options.chart.type,p=!(this.hasDerivedData||h&&h!==this.type||"undefined"!==typeof e.pointStart||"undefined"!==typeof e.pointInterval||b.hasOptionChanged("dataGrouping")||b.hasOptionChanged("pointStart")||b.hasOptionChanged("pointInterval")||b.hasOptionChanged("pointIntervalUnit")||b.hasOptionChanged("keys")),u=w[m].prototype,r,l=["eventOptions","navigatorSeries","baseSeries"],q=b.finishedAnimating&&{animation:!1},
-x={};p&&(l.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==e.visible&&l.push("area","graph"),b.parallelArrays.forEach(function(a){l.push(a+"Data")}),e.data&&(e.dataSorting&&a(b.options.dataSorting,e.dataSorting),this.setData(e.data,!1)));e=T(f,q,{index:"undefined"===typeof f.index?b.index:f.index,pointStart:O(k&&k.series&&k.series.pointStart,f.pointStart,
-b.xData[0])},!p&&{data:b.options.data},e);p&&e.data&&(e.data=b.options.data);l=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(l);l.forEach(function(a){l[a]=b[a];delete b[a]});if(w[h||m]){if(f=h!==b.type,b.remove(!1,!1,!1,!0),f)if(Object.setPrototypeOf)Object.setPrototypeOf(b,w[h||m].prototype);else{f=Object.hasOwnProperty.call(b,"hcEvents")&&b.hcEvents;for(r in u)b[r]=void 0;a(b,w[h||m].prototype);f?b.hcEvents=f:delete b.hcEvents}}else d(17,!0,g,{missingModuleFor:h||m});l.forEach(function(a){b[a]=
-l[a]});b.init(g,e);if(p&&this.points){var A=b.options;!1===A.visible?(x.graphic=1,x.dataLabel=1):b._hasPointLabels||(e=A.marker,h=A.dataLabels,e&&(!1===e.enabled||"symbol"in e)&&(x.graphic=1),h&&!1===h.enabled&&(x.dataLabel=1));this.points.forEach(function(a){a&&a.series&&(a.resolveColor(),Object.keys(x).length&&a.destroyElements(x),!1===A.showInLegend&&a.legendItem&&g.legend.destroyItem(a))},this)}b.initialType=m;g.linkSeries();E(this,"afterUpdate");O(c,!0)&&g.redraw(p?void 0:!1)};b.prototype.setName=
-function(a){this.name=this.options.name=this.userOptions.name=a;this.chart.isDirtyLegend=!0};b.prototype.hasOptionChanged=function(a){var d=this.options[a],e=this.chart.options.plotOptions,c=this.userOptions[a];return c?d!==c:d!==O(e&&e[this.type]&&e[this.type][a],e&&e.series&&e.series[a],d)};b.prototype.onMouseOver=function(){var a=this.chart,d=a.hoverSeries;a.pointer.setHoverChartIndex();if(d&&d!==this)d.onMouseOut();this.options.events.mouseOver&&E(this,"mouseOver");this.setState("hover");a.hoverSeries=
-this};b.prototype.onMouseOut=function(){var a=this.options,d=this.chart,e=d.tooltip,c=d.hoverPoint;d.hoverSeries=null;if(c)c.onMouseOut();this&&a.events.mouseOut&&E(this,"mouseOut");!e||this.stickyTracking||e.shared&&!this.noSharedTooltip||e.hide();d.series.forEach(function(a){a.setState("",!0)})};b.prototype.setState=function(a,d){var e=this,c=e.options,b=e.graph,g=c.inactiveOtherPoints,f=c.states,m=c.lineWidth,k=c.opacity,h=O(f[a||"normal"]&&f[a||"normal"].animation,e.chart.options.chart.animation);
-c=0;a=a||"";if(e.state!==a&&([e.group,e.markerGroup,e.dataLabelsGroup].forEach(function(d){d&&(e.state&&d.removeClass("highcharts-series-"+e.state),a&&d.addClass("highcharts-series-"+a))}),e.state=a,!e.chart.styledMode)){if(f[a]&&!1===f[a].enabled)return;a&&(m=f[a].lineWidth||m+(f[a].lineWidthPlus||0),k=O(f[a].opacity,k));if(b&&!b.dashstyle)for(f={"stroke-width":m},b.animate(f,h);e["zone-graph-"+c];)e["zone-graph-"+c].animate(f,h),c+=1;g||[e.group,e.markerGroup,e.dataLabelsGroup,e.labelBySeries].forEach(function(a){a&&
-a.animate({opacity:k},h)})}d&&g&&e.points&&e.setAllPointsToState(a||void 0)};b.prototype.setAllPointsToState=function(a){this.points.forEach(function(d){d.setState&&d.setState(a)})};b.prototype.setVisible=function(a,d){var e=this,c=e.chart,b=e.legendItem,g=c.options.chart.ignoreHiddenSeries,f=e.visible;var m=(e.visible=a=e.options.visible=e.userOptions.visible="undefined"===typeof a?!f:a)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(a){if(e[a])e[a][m]()});
-if(c.hoverSeries===e||(c.hoverPoint&&c.hoverPoint.series)===e)e.onMouseOut();b&&c.legend.colorizeItem(e,a);e.isDirty=!0;e.options.stacking&&c.series.forEach(function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});e.linkedSeries.forEach(function(d){d.setVisible(a,!1)});g&&(c.isDirtyBox=!0);E(e,m);!1!==d&&c.redraw()};b.prototype.show=function(){this.setVisible(!0)};b.prototype.hide=function(){this.setVisible(!1)};b.prototype.select=function(a){this.selected=a=this.options.selected="undefined"===
-typeof a?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);E(this,a?"select":"unselect")};b.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:z.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:z.neutralColor20,lineColor:z.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},
-align:"center",defer:!0,formatter:function(){var a=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":a(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},
-stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"};return b}();a(b.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:B.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:C,requireSorting:!0,sorted:!0});v.series=b;"";"";return b});J(b,"Extensions/ScrollablePlotArea.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Axis/Axis.js"],b["Core/Chart/Chart.js"],b["Core/Series/Series.js"],
-b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C){var v=b.stop,t=C.addEvent,q=C.createElement,h=C.merge,c=C.pick;"";t(B,"afterSetChartSize",function(c){var b=this.options.chart.scrollablePlotArea,p=b&&b.minWidth;b=b&&b.minHeight;if(!this.renderer.forExport){if(p){if(this.scrollablePixelsX=p=Math.max(0,p-this.chartWidth)){this.scrollablePlotBox=h(this.plotBox);this.plotWidth+=p;this.inverted?(this.clipBox.height+=p,this.plotBox.height+=p):(this.clipBox.width+=p,this.plotBox.width+=
-p);var f={1:{name:"right",value:p}}}}else b&&(this.scrollablePixelsY=p=Math.max(0,b-this.chartHeight))&&(this.scrollablePlotBox=h(this.plotBox),this.plotHeight+=p,this.inverted?(this.clipBox.width+=p,this.plotBox.width+=p):(this.clipBox.height+=p,this.plotBox.height+=p),f={2:{name:"bottom",value:p}});f&&!c.skipAxes&&this.axes.forEach(function(c){f[c.side]?c.getPlotLinePath=function(){var b=f[c.side].name,k=this[b];this[b]=k-f[c.side].value;var h=z.Axis.prototype.getPlotLinePath.apply(this,arguments);
-this[b]=k;return h}:(c.setAxisSize(),c.setAxisTranslation())})}});t(B,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});B.prototype.setUpScrolling=function(){var c=this,b={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(b.overflowX="auto");this.scrollablePixelsY&&(b.overflowY="auto");this.scrollingParent=q("div",{className:"highcharts-scrolling-parent"},
-{position:"relative"},this.renderTo);this.scrollingContainer=q("div",{className:"highcharts-scrolling"},b,this.scrollingParent);t(this.scrollingContainer,"scroll",function(){c.pointer&&delete c.pointer.chartPosition});this.innerContainer=q("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};B.prototype.moveFixedElements=function(){var c=this.container,b=this.fixedRenderer,h=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),
-f;this.scrollablePixelsX&&!this.inverted?f=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?f=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?f=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(f=".highcharts-yaxis");f&&h.push(f+":not(.highcharts-radial-axis)",f+"-labels:not(.highcharts-radial-axis-labels)");h.forEach(function(f){[].forEach.call(c.querySelectorAll(f),function(c){(c.namespaceURI===b.SVG_NS?b.box:b.box.parentNode).appendChild(c);c.style.pointerEvents="auto"})})};
-B.prototype.applyFixed=function(){var b=this,k,h,f,w=!this.fixedDiv,x=this.options.chart,C=x.scrollablePlotArea;w?(this.fixedDiv=q("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:((null===(k=x.style)||void 0===k?void 0:k.zIndex)||0)+2,top:0},null,!0),null===(h=this.scrollingContainer)||void 0===h?void 0:h.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=k=new z.Renderer(this.fixedDiv,
-this.chartWidth,this.chartHeight,null===(f=this.options.chart)||void 0===f?void 0:f.style),this.scrollableMask=k.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":c(C.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),t(this,"afterShowResetZoom",this.moveFixedElements),t(this,"afterLayOutTitles",this.moveFixedElements),t(l,"afterInit",function(){b.scrollableDirty=!0}),t(y,"show",function(){b.scrollableDirty=!0})):this.fixedRenderer.setSize(this.chartWidth,
-this.chartHeight);if(this.scrollableDirty||w)this.scrollableDirty=!1,this.moveFixedElements();f=this.chartWidth+(this.scrollablePixelsX||0);k=this.chartHeight+(this.scrollablePixelsY||0);v(this.container);this.container.style.width=f+"px";this.container.style.height=k+"px";this.renderer.boxWrapper.attr({width:f,height:k,viewBox:[0,0,f,k].join(" ")});this.chartBackground.attr({width:f,height:k});this.scrollingContainer.style.height=this.chartHeight+"px";w&&(C.scrollPositionX&&(this.scrollingContainer.scrollLeft=
-this.scrollablePixelsX*C.scrollPositionX),C.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*C.scrollPositionY));k=this.axisOffset;w=this.plotTop-k[0]-1;C=this.plotLeft-k[3]-1;f=this.plotTop+this.plotHeight+k[2]+1;k=this.plotLeft+this.plotWidth+k[1]+1;h=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0);x=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);w=this.scrollablePixelsX?[["M",0,w],["L",this.plotLeft-1,w],["L",this.plotLeft-1,f],["L",0,f],["Z"],["M",
-h,w],["L",this.chartWidth,w],["L",this.chartWidth,f],["L",h,f],["Z"]]:this.scrollablePixelsY?[["M",C,0],["L",C,this.plotTop-1],["L",k,this.plotTop-1],["L",k,0],["Z"],["M",C,x],["L",C,this.chartHeight],["L",k,this.chartHeight],["L",k,x],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:w})}});J(b,"Core/Axis/StackingAxis.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Utilities.js"]],function(b,l){var w=b.getDeferredAnimation,y=l.addEvent,z=l.destroyObjectProperties,
-C=l.fireEvent,v=l.objectEach,t=l.pick,q=function(){function b(c){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=c}b.prototype.buildStacks=function(){var c=this.axis,b=c.series,k=t(c.options.reversedStacks,!0),h=b.length,f;if(!c.isXAxis){this.usePercentage=!1;for(f=h;f--;){var l=b[k?f:h-f-1];l.setStackedPoints();l.setGroupedPoints()}for(f=0;f<h;f++)b[f].modifyStacks();C(c,"afterBuildStacks")}};b.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var c=this.stacks=
-this.oldStacks;v(c,function(c){v(c,function(c){c.cumulative=c.total})})}};b.prototype.resetStacks=function(){var c=this,b=c.stacks;c.axis.isXAxis||v(b,function(b){v(b,function(k,f){k.touched<c.stacksTouched?(k.destroy(),delete b[f]):(k.total=null,k.cumulative=null)})})};b.prototype.renderStackTotals=function(){var c=this.axis,b=c.chart,k=b.renderer,h=this.stacks;c=w(b,c.options.stackLabels.animation);var f=this.stackTotalGroup=this.stackTotalGroup||k.g("stack-labels").attr({visibility:"visible",zIndex:6,
-opacity:0}).add();f.translate(b.plotLeft,b.plotTop);v(h,function(c){v(c,function(c){c.render(f)})});f.animate({opacity:1},c)};return b}();return function(){function b(){}b.compose=function(c){y(c,"init",b.onInit);y(c,"destroy",b.onDestroy)};b.onDestroy=function(){var c=this.stacking;if(c){var b=c.stacks;v(b,function(c,h){z(c);b[h]=null});c&&c.stackTotalGroup&&c.stackTotalGroup.destroy()}};b.onInit=function(){this.stacking||(this.stacking=new q(this))};return b}()});J(b,"Extensions/Stacking.js",[b["Core/Axis/Axis.js"],
-b["Core/Chart/Chart.js"],b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Axis/StackingAxis.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C){var v=C.correctFloat,t=C.defined,q=C.destroyObjectProperties,h=C.format,c=C.isArray,p=C.isNumber,k=C.pick;"";var w=function(){function c(c,b,f,k,h){var n=c.chart.inverted;this.axis=c;this.isNegative=f;this.options=b=b||{};this.x=k;this.total=null;this.points={};this.hasValidPoints=!1;this.stack=h;this.rightCliff=this.leftCliff=0;this.alignOptions={align:b.align||
-(n?f?"left":"right":"center"),verticalAlign:b.verticalAlign||(n?"middle":f?"bottom":"top"),y:b.y,x:b.x};this.textAlign=b.textAlign||(n?f?"right":"left":"center")}c.prototype.destroy=function(){q(this,this.axis)};c.prototype.render=function(c){var b=this.axis.chart,f=this.options,p=f.format;p=p?h(p,this,b):f.formatter.call(this);this.label?this.label.attr({text:p,visibility:"hidden"}):(this.label=b.renderer.label(p,null,null,f.shape,null,null,f.useHTML,!1,"stack-labels"),p={r:f.borderRadius||0,text:p,
-rotation:f.rotation,padding:k(f.padding,5),visibility:"hidden"},b.styledMode||(p.fill=f.backgroundColor,p.stroke=f.borderColor,p["stroke-width"]=f.borderWidth,this.label.css(f.style)),this.label.attr(p),this.label.added||this.label.add(c));this.label.labelrank=b.plotSizeY};c.prototype.setOffset=function(c,b,f,h,r){var n=this.axis,u=n.chart;h=n.translate(n.stacking.usePercentage?100:h?h:this.total,0,0,0,1);f=n.translate(f?f:0);f=t(h)&&Math.abs(h-f);c=k(r,u.xAxis[0].translate(this.x))+c;n=t(h)&&this.getStackBox(u,
-this,c,h,b,f,n);b=this.label;f=this.isNegative;c="justify"===k(this.options.overflow,"justify");var e=this.textAlign;b&&n&&(r=b.getBBox(),h=b.padding,e="left"===e?u.inverted?-h:h:"right"===e?r.width:u.inverted&&"center"===e?r.width/2:u.inverted?f?r.width+h:-h:r.width/2,f=u.inverted?r.height/2:f?-h:r.height,this.alignOptions.x=k(this.options.x,0),this.alignOptions.y=k(this.options.y,0),n.x-=e,n.y-=f,b.align(this.alignOptions,null,n),u.isInsidePlot(b.alignAttr.x+e-this.alignOptions.x,b.alignAttr.y+
-f-this.alignOptions.y)?b.show():(b.alignAttr.y=-9999,c=!1),c&&y.prototype.justifyDataLabel.call(this.axis,b,this.alignOptions,b.alignAttr,r,n),b.attr({x:b.alignAttr.x,y:b.alignAttr.y}),k(!c&&this.options.crop,!0)&&((u=p(b.x)&&p(b.y)&&u.isInsidePlot(b.x-h+b.width,b.y)&&u.isInsidePlot(b.x+h,b.y))||b.hide()))};c.prototype.getStackBox=function(c,b,f,k,h,n,p){var e=b.axis.reversed,g=c.inverted,d=p.height+p.pos-(g?c.plotLeft:c.plotTop);b=b.isNegative&&!e||!b.isNegative&&e;return{x:g?b?k-p.right:k-n+p.pos-
-c.plotLeft:f+c.xAxis[0].transB-c.plotLeft,y:g?p.height-f-h:b?d-k-n:d-k,width:g?n:h,height:g?h:n}};return c}();l.prototype.getStacks=function(){var c=this,b=c.inverted;c.yAxis.forEach(function(c){c.stacking&&c.stacking.stacks&&c.hasVisibleSeries&&(c.stacking.oldStacks=c.stacking.stacks)});c.series.forEach(function(f){var h=f.xAxis&&f.xAxis.options||{};!f.options.stacking||!0!==f.visible&&!1!==c.options.chart.ignoreHiddenSeries||(f.stackKey=[f.type,k(f.options.stack,""),b?h.top:h.left,b?h.height:h.width].join())})};
-z.compose(b);y.prototype.setGroupedPoints=function(){this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length&&y.prototype.setStackedPoints.call(this,"group")};y.prototype.setStackedPoints=function(b){var f=b||this.options.stacking;if(f&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var h=this.processedXData,p=this.processedYData,l=[],r=p.length,n=this.options,u=n.threshold,e=k(n.startFromThreshold&&u,0);
-n=n.stack;b=b?this.type+","+f:this.stackKey;var g="-"+b,d=this.negStacks,a=this.yAxis,m=a.stacking.stacks,q=a.stacking.oldStacks,I,A;a.stacking.stacksTouched+=1;for(A=0;A<r;A++){var G=h[A];var z=p[A];var C=this.getStackIndicator(C,G,this.index);var B=C.key;var y=(I=d&&z<(e?0:u))?g:b;m[y]||(m[y]={});m[y][G]||(q[y]&&q[y][G]?(m[y][G]=q[y][G],m[y][G].total=null):m[y][G]=new w(a,a.options.stackLabels,I,G,n));y=m[y][G];null!==z?(y.points[B]=y.points[this.index]=[k(y.cumulative,e)],t(y.cumulative)||(y.base=
-B),y.touched=a.stacking.stacksTouched,0<C.index&&!1===this.singleStacks&&(y.points[B][0]=y.points[this.index+","+G+",0"][0])):y.points[B]=y.points[this.index]=null;"percent"===f?(I=I?b:g,d&&m[I]&&m[I][G]?(I=m[I][G],y.total=I.total=Math.max(I.total,y.total)+Math.abs(z)||0):y.total=v(y.total+(Math.abs(z)||0))):"group"===f?(c(z)&&(z=z[0]),null!==z&&(y.total=(y.total||0)+1)):y.total=v(y.total+(z||0));y.cumulative="group"===f?(y.total||1)-1:k(y.cumulative,e)+(z||0);null!==z&&(y.points[B].push(y.cumulative),
-l[A]=y.cumulative,y.hasValidPoints=!0)}"percent"===f&&(a.stacking.usePercentage=!0);"group"!==f&&(this.stackedYData=l);a.stacking.oldStacks={}}};y.prototype.modifyStacks=function(){var c=this,b=c.stackKey,k=c.yAxis.stacking.stacks,h=c.processedXData,p,l=c.options.stacking;c[l+"Stacker"]&&[b,"-"+b].forEach(function(b){for(var f=h.length,e,g;f--;)if(e=h[f],p=c.getStackIndicator(p,e,c.index,b),g=(e=k[b]&&k[b][e])&&e.points[p.key])c[l+"Stacker"](g,e,f)})};y.prototype.percentStacker=function(c,b,k){b=
-b.total?100/b.total:0;c[0]=v(c[0]*b);c[1]=v(c[1]*b);this.stackedYData[k]=c[1]};y.prototype.getStackIndicator=function(c,b,k,h){!t(c)||c.x!==b||h&&c.key!==h?c={x:b,index:0,key:h}:c.index++;c.key=[k,b,c.index].join();return c};B.StackItem=w;return B.StackItem});J(b,"Series/Line/LineSeries.js",[b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B,y){var w=this&&this.__extends||function(){var b=function(l,h){b=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(c,b){c.__proto__=b}||function(c,b){for(var k in b)b.hasOwnProperty(k)&&(c[k]=b[k])};return b(l,h)};return function(l,h){function c(){this.constructor=l}b(l,h);l.prototype=null===h?Object.create(h):(c.prototype=h.prototype,new c)}}(),C=y.defined,v=y.merge;y=function(t){function q(){var b=null!==t&&t.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}w(q,t);q.prototype.drawGraph=function(){var h=this,c=this.options,p=(this.gappedPath||
-this.getGraphPath).call(this),k=this.chart.styledMode,l=[["graph","highcharts-graph"]];k||l[0].push(c.lineColor||this.color||b.neutralColor20,c.dashStyle);l=h.getZonesGraphs(l);l.forEach(function(b,l){var f=b[0],q=h[f],t=q?"animate":"attr";q?(q.endX=h.preventGraphAnimation?null:p.xMap,q.animate({d:p})):p.length&&(h[f]=q=h.chart.renderer.path(p).addClass(b[1]).attr({zIndex:1}).add(h.group));q&&!k&&(f={stroke:b[2],"stroke-width":c.lineWidth,fill:h.fillGraph&&h.color||"none"},b[3]?f.dashstyle=b[3]:"square"!==
-c.linecap&&(f["stroke-linecap"]=f["stroke-linejoin"]="round"),q[t](f).shadow(2>l&&c.shadow));q&&(q.startX=p.xMap,q.isArea=p.isArea)})};q.prototype.getGraphPath=function(b,c,p){var k=this,h=k.options,f=h.step,l,q=[],t=[],v;b=b||k.points;(l=b.reversed)&&b.reverse();(f={right:1,center:2}[f]||f&&3)&&l&&(f=4-f);b=this.getValidPoints(b,!1,!(h.connectNulls&&!c&&!p));b.forEach(function(l,n){var u=l.plotX,e=l.plotY,g=b[n-1];(l.leftCliff||g&&g.rightCliff)&&!p&&(v=!0);l.isNull&&!C(c)&&0<n?v=!h.connectNulls:
-l.isNull&&!c?v=!0:(0===n||v?n=[["M",l.plotX,l.plotY]]:k.getPointSpline?n=[k.getPointSpline(b,l,n)]:f?(n=1===f?[["L",g.plotX,e]]:2===f?[["L",(g.plotX+u)/2,g.plotY],["L",(g.plotX+u)/2,e]]:[["L",u,g.plotY]],n.push(["L",u,e])):n=[["L",u,e]],t.push(l.x),f&&(t.push(l.x),2===f&&t.push(l.x)),q.push.apply(q,n),v=!1)});q.xMap=t;return k.graphPath=q};q.prototype.getZonesGraphs=function(b){this.zones.forEach(function(c,h){h=["zone-graph-"+h,"highcharts-graph highcharts-zone-graph-"+h+" "+(c.className||"")];this.chart.styledMode||
-h.push(c.color||this.color,c.dashStyle||this.options.dashStyle);b.push(h)},this);return b};q.defaultOptions=v(l.defaultOptions,{});return q}(l);B.registerSeriesType("line",y);"";return y});J(b,"Series/Area/AreaSeries.js",[b["Core/Color/Color.js"],b["Mixins/LegendSymbol.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B,y){var w=this&&this.__extends||function(){var c=function(b,k){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,b){c.__proto__=b}||function(c,
-b){for(var f in b)b.hasOwnProperty(f)&&(c[f]=b[f])};return c(b,k)};return function(b,k){function h(){this.constructor=b}c(b,k);b.prototype=null===k?Object.create(k):(h.prototype=k.prototype,new h)}}(),C=b.parse,v=B.seriesTypes.line;b=y.extend;var t=y.merge,q=y.objectEach,h=y.pick;y=function(c){function b(){var b=null!==c&&c.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}w(b,c);b.prototype.drawGraph=function(){this.areaPath=[];c.prototype.drawGraph.apply(this);
-var b=this,p=this.areaPath,f=this.options,l=[["area","highcharts-area",this.color,f.fillColor]];this.zones.forEach(function(c,k){l.push(["zone-area-"+k,"highcharts-area highcharts-zone-area-"+k+" "+c.className,c.color||b.color,c.fillColor||f.fillColor])});l.forEach(function(c){var k=c[0],l=b[k],r=l?"animate":"attr",n={};l?(l.endX=b.preventGraphAnimation?null:p.xMap,l.animate({d:p})):(n.zIndex=0,l=b[k]=b.chart.renderer.path(p).addClass(c[1]).add(b.group),l.isArea=!0);b.chart.styledMode||(n.fill=h(c[3],
-C(c[2]).setOpacity(h(f.fillOpacity,.75)).get()));l[r](n);l.startX=p.xMap;l.shiftUnit=f.step?2:1})};b.prototype.getGraphPath=function(c){var b=v.prototype.getGraphPath,f=this.options,k=f.stacking,p=this.yAxis,l,q=[],r=[],n=this.index,u=p.stacking.stacks[this.stackKey],e=f.threshold,g=Math.round(p.getThreshold(f.threshold));f=h(f.connectNulls,"percent"===k);var d=function(a,d,b){var f=c[a];a=k&&u[f.x].points[n];var h=f[b+"Null"]||0;b=f[b+"Cliff"]||0;f=!0;if(b||h){var l=(h?a[0]:a[1])+b;var A=a[0]+b;
-f=!!h}else!k&&c[d]&&c[d].isNull&&(l=A=e);"undefined"!==typeof l&&(r.push({plotX:m,plotY:null===l?g:p.getThreshold(l),isNull:f,isCliff:!0}),q.push({plotX:m,plotY:null===A?g:p.getThreshold(A),doCurve:!1}))};c=c||this.points;k&&(c=this.getStackPoints(c));for(l=0;l<c.length;l++){k||(c[l].leftCliff=c[l].rightCliff=c[l].leftNull=c[l].rightNull=void 0);var a=c[l].isNull;var m=h(c[l].rectPlotX,c[l].plotX);var t=k?h(c[l].yBottom,g):g;if(!a||f)f||d(l,l-1,"left"),a&&!k&&f||(r.push(c[l]),q.push({x:l,plotX:m,
-plotY:t})),f||d(l,l+1,"right")}l=b.call(this,r,!0,!0);q.reversed=!0;a=b.call(this,q,!0,!0);(t=a[0])&&"M"===t[0]&&(a[0]=["L",t[1],t[2]]);a=l.concat(a);b=b.call(this,r,!1,f);a.xMap=l.xMap;this.areaPath=a;return b};b.prototype.getStackPoints=function(c){var b=[],f=[],k=this.xAxis,p=this.yAxis,l=p.stacking.stacks[this.stackKey],t={},r=this.index,n=p.series,u=n.length,e=h(p.options.reversedStacks,!0)?1:-1,g;c=c||this.points;if(this.options.stacking){for(g=0;g<c.length;g++)c[g].leftNull=c[g].rightNull=
-void 0,t[c[g].x]=c[g];q(l,function(a,d){null!==a.total&&f.push(d)});f.sort(function(a,d){return a-d});var d=n.map(function(a){return a.visible});f.forEach(function(a,c){var m=0,h,n;if(t[a]&&!t[a].isNull)b.push(t[a]),[-1,1].forEach(function(b){var m=1===b?"rightNull":"leftNull",k=0,p=l[f[c+b]];if(p)for(g=r;0<=g&&g<u;)h=p.points[g],h||(g===r?t[a][m]=!0:d[g]&&(n=l[a].points[g])&&(k-=n[1]-n[0])),g+=e;t[a][1===b?"rightCliff":"leftCliff"]=k});else{for(g=r;0<=g&&g<u;){if(h=l[a].points[g]){m=h[1];break}g+=
-e}m=p.translate(m,0,1,0,1);b.push({isNull:!0,plotX:k.translate(a,0,0,0,1),x:a,plotY:m,yBottom:m})}})}return b};b.defaultOptions=t(v.defaultOptions,{threshold:0});return b}(v);b(y.prototype,{singleStacks:!1,drawLegendSymbol:l.drawRectangle});B.registerSeriesType("area",y);"";return y});J(b,"Series/Spline/SplineSeries.js",[b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l){var w=this&&this.__extends||function(){var b=function(l,q){b=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(b,c){b.__proto__=c}||function(b,c){for(var h in c)c.hasOwnProperty(h)&&(b[h]=c[h])};return b(l,q)};return function(l,q){function h(){this.constructor=l}b(l,q);l.prototype=null===q?Object.create(q):(h.prototype=q.prototype,new h)}}(),y=b.seriesTypes.line,z=l.merge,C=l.pick;l=function(b){function l(){var l=null!==b&&b.apply(this,arguments)||this;l.data=void 0;l.options=void 0;l.points=void 0;return l}w(l,b);l.prototype.getPointSpline=function(b,h,c){var l=h.plotX||0,k=h.plotY||0,q=b[c-
-1];c=b[c+1];if(q&&!q.isNull&&!1!==q.doCurve&&!h.isCliff&&c&&!c.isNull&&!1!==c.doCurve&&!h.isCliff){b=q.plotY||0;var f=c.plotX||0;c=c.plotY||0;var t=0;var x=(1.5*l+(q.plotX||0))/2.5;var v=(1.5*k+b)/2.5;f=(1.5*l+f)/2.5;var w=(1.5*k+c)/2.5;f!==x&&(t=(w-v)*(f-l)/(f-x)+k-w);v+=t;w+=t;v>b&&v>k?(v=Math.max(b,k),w=2*k-v):v<b&&v<k&&(v=Math.min(b,k),w=2*k-v);w>c&&w>k?(w=Math.max(c,k),v=2*k-w):w<c&&w<k&&(w=Math.min(c,k),v=2*k-w);h.rightContX=f;h.rightContY=w}h=["C",C(q.rightContX,q.plotX,0),C(q.rightContY,q.plotY,
-0),C(x,l,0),C(v,k,0),l,k];q.rightContX=q.rightContY=void 0;return h};l.defaultOptions=z(y.defaultOptions);return l}(y);b.registerSeriesType("spline",l);"";return l});J(b,"Series/AreaSpline/AreaSplineSeries.js",[b["Series/Area/AreaSeries.js"],b["Series/Spline/SplineSeries.js"],b["Mixins/LegendSymbol.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B,y,z){var w=this&&this.__extends||function(){var b=function(c,h){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,
-b){c.__proto__=b}||function(c,b){for(var f in b)b.hasOwnProperty(f)&&(c[f]=b[f])};return b(c,h)};return function(c,h){function k(){this.constructor=c}b(c,h);c.prototype=null===h?Object.create(h):(k.prototype=h.prototype,new k)}}(),v=b.prototype,t=z.extend,q=z.merge;z=function(h){function c(){var c=null!==h&&h.apply(this,arguments)||this;c.data=void 0;c.points=void 0;c.options=void 0;return c}w(c,h);c.defaultOptions=q(l.defaultOptions,b.defaultOptions);return c}(l);t(z.prototype,{getGraphPath:v.getGraphPath,
-getStackPoints:v.getStackPoints,drawGraph:v.drawGraph,drawLegendSymbol:B.drawRectangle});y.registerSeriesType("areaspline",z);"";return z});J(b,"Series/Column/ColumnSeries.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Mixins/LegendSymbol.js"],b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C,v,t){var q=this&&this.__extends||function(){var e=function(c,d){e=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var e in d)d.hasOwnProperty(e)&&(a[e]=d[e])};return e(c,d)};return function(c,d){function a(){this.constructor=c}e(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),h=b.animObject,c=l.parse,p=B.hasTouch;b=B.noop;var k=t.clamp,w=t.css,f=t.defined,H=t.extend,x=t.fireEvent,K=t.isArray,L=t.isNumber,r=t.merge,n=t.pick,u=t.objectEach;t=function(e){function b(){var d=null!==e&&e.apply(this,arguments)||
-this;d.borderWidth=void 0;d.data=void 0;d.group=void 0;d.options=void 0;d.points=void 0;return d}q(b,e);b.prototype.animate=function(d){var a=this,e=this.yAxis,c=a.options,b=this.chart.inverted,g={},f=b?"translateX":"translateY";if(d)g.scaleY=.001,d=k(e.toPixels(c.threshold),e.pos,e.pos+e.len),b?g.translateX=d-e.len:g.translateY=d,a.clipBox&&a.setClip(),a.group.attr(g);else{var n=a.group.attr(f);a.group.animate({scaleY:1},H(h(a.options.animation),{step:function(d,c){a.group&&(g[f]=n+c.pos*(e.pos-
-n),a.group.attr(g))}}))}};b.prototype.init=function(d,a){e.prototype.init.apply(this,arguments);var c=this;d=c.chart;d.hasRendered&&d.series.forEach(function(a){a.type===c.type&&(a.isDirty=!0)})};b.prototype.getColumnMetrics=function(){var d=this,a=d.options,e=d.xAxis,c=d.yAxis,b=e.options.reversedStacks;b=e.reversed&&!b||!e.reversed&&b;var g,f={},k=0;!1===a.grouping?k=1:d.chart.series.forEach(function(a){var e=a.yAxis,b=a.options;if(a.type===d.type&&(a.visible||!d.chart.options.chart.ignoreHiddenSeries)&&
-c.len===e.len&&c.pos===e.pos){if(b.stacking&&"group"!==b.stacking){g=a.stackKey;"undefined"===typeof f[g]&&(f[g]=k++);var m=f[g]}else!1!==b.grouping&&(m=k++);a.columnIndex=m}});var h=Math.min(Math.abs(e.transA)*(e.ordinal&&e.ordinal.slope||a.pointRange||e.closestPointRange||e.tickInterval||1),e.len),l=h*a.groupPadding,p=(h-2*l)/(k||1);a=Math.min(a.maxPointWidth||e.len,n(a.pointWidth,p*(1-2*a.pointPadding)));d.columnMetrics={width:a,offset:(p-a)/2+(l+((d.columnIndex||0)+(b?1:0))*p-h/2)*(b?-1:1),paddedWidth:p,
-columnCount:k};return d.columnMetrics};b.prototype.crispCol=function(d,a,e,c){var b=this.chart,g=this.borderWidth,f=-(g%2?.5:0);g=g%2?.5:1;b.inverted&&b.renderer.isVML&&(g+=1);this.options.crisp&&(e=Math.round(d+e)+f,d=Math.round(d)+f,e-=d);c=Math.round(a+c)+g;f=.5>=Math.abs(a)&&.5<c;a=Math.round(a)+g;c-=a;f&&c&&(--a,c+=1);return{x:d,y:a,width:e,height:c}};b.prototype.adjustForMissingColumns=function(d,a,e,c){var b=this,g=this.options.stacking;if(!e.isNull&&1<c.columnCount){var f=0,m=0;u(this.yAxis.stacking&&
-this.yAxis.stacking.stacks,function(a){if("number"===typeof e.x&&(a=a[e.x.toString()])){var d=a.points[b.index],c=a.total;g?(d&&(f=m),a.hasValidPoints&&m++):K(d)&&(f=d[1],m=c||0)}});d=(e.plotX||0)+((m-1)*c.paddedWidth+a)/2-a-f*c.paddedWidth}return d};b.prototype.translate=function(){var d=this,a=d.chart,e=d.options,c=d.dense=2>d.closestPointRange*d.xAxis.transA;c=d.borderWidth=n(e.borderWidth,c?0:1);var b=d.xAxis,g=d.yAxis,h=e.threshold,l=d.translatedThreshold=g.getThreshold(h),p=n(e.minPointLength,
-5),u=d.getColumnMetrics(),r=u.width,q=d.barW=Math.max(r,1+2*c),t=d.pointXOffset=u.offset,v=d.dataMin,x=d.dataMax;a.inverted&&(l-=.5);e.pointPadding&&(q=Math.ceil(q));C.prototype.translate.apply(d);d.points.forEach(function(c){var m=n(c.yBottom,l),A=999+Math.abs(m),E=r,w=c.plotX||0;A=k(c.plotY,-A,g.len+A);var I=w+t,z=q,G=Math.min(A,m),C=Math.max(A,m)-G;if(p&&Math.abs(C)<p){C=p;var y=!g.reversed&&!c.negative||g.reversed&&c.negative;L(h)&&L(x)&&c.y===h&&x<=h&&(g.min||0)<h&&(v!==x||(g.max||0)<=h)&&(y=
-!y);G=Math.abs(G-l)>p?m-p:l-(y?p:0)}f(c.options.pointWidth)&&(E=z=Math.ceil(c.options.pointWidth),I-=Math.round((E-r)/2));e.centerInCategory&&(I=d.adjustForMissingColumns(I,E,c,u));c.barX=I;c.pointWidth=E;c.tooltipPos=a.inverted?[k(g.len+g.pos-a.plotLeft-A,g.pos-a.plotLeft,g.len+g.pos-a.plotLeft),b.len+b.pos-a.plotTop-(w||0)-t-z/2,C]:[b.left-a.plotLeft+I+z/2,k(A+g.pos-a.plotTop,g.pos-a.plotTop,g.len+g.pos-a.plotTop),C];c.shapeType=d.pointClass.prototype.shapeType||"rect";c.shapeArgs=d.crispCol.apply(d,
-c.isNull?[I,l,z,0]:[I,G,z,C])})};b.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};b.prototype.pointAttribs=function(d,a){var e=this.options,b=this.pointAttrToOptions||{};var g=b.stroke||"borderColor";var f=b["stroke-width"]||"borderWidth",k=d&&d.color||this.color,h=d&&d[g]||e[g]||this.color||k,l=d&&d[f]||e[f]||this[f]||0;b=d&&d.options.dashStyle||e.dashStyle;var p=n(d&&d.opacity,e.opacity,1);if(d&&this.zones.length){var u=d.getZone();k=d.options.color||
-u&&(u.color||d.nonZonedColor)||this.color;u&&(h=u.borderColor||h,b=u.dashStyle||b,l=u.borderWidth||l)}a&&d&&(d=r(e.states[a],d.options.states&&d.options.states[a]||{}),a=d.brightness,k=d.color||"undefined"!==typeof a&&c(k).brighten(d.brightness).get()||k,h=d[g]||h,l=d[f]||l,b=d.dashStyle||b,p=n(d.opacity,p));g={fill:k,stroke:h,"stroke-width":l,opacity:p};b&&(g.dashstyle=b);return g};b.prototype.drawPoints=function(){var d=this,a=this.chart,e=d.options,c=a.renderer,b=e.animationLimit||250,g;d.points.forEach(function(f){var k=
-f.graphic,m=!!k,h=k&&a.pointCount<b?"animate":"attr";if(L(f.plotY)&&null!==f.y){g=f.shapeArgs;k&&f.hasNewShapeType()&&(k=k.destroy());d.enabledDataSorting&&(f.startXPos=d.xAxis.reversed?-(g?g.width:0):d.xAxis.width);k||(f.graphic=k=c[f.shapeType](g).add(f.group||d.group))&&d.enabledDataSorting&&a.hasRendered&&a.pointCount<b&&(k.attr({x:f.startXPos}),m=!0,h="animate");if(k&&m)k[h](r(g));if(e.borderRadius)k[h]({r:e.borderRadius});a.styledMode||k[h](d.pointAttribs(f,f.selected&&"select")).shadow(!1!==
-f.allowShadow&&e.shadow,null,e.stacking&&!e.borderRadius);k&&(k.addClass(f.getClassName(),!0),k.attr({visibility:f.visible?"inherit":"hidden"}))}else k&&(f.graphic=k.destroy())})};b.prototype.drawTracker=function(){var d=this,a=d.chart,e=a.pointer,c=function(a){var d=e.getPointFromEvent(a);"undefined"!==typeof d&&(e.isDirectTouch=!0,d.onMouseOver(a))},b;d.points.forEach(function(a){b=K(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[];a.graphic&&(a.graphic.element.point=a);b.forEach(function(d){d.div?
-d.div.point=a:d.element.point=a})});d._hasTracking||(d.trackerGroups.forEach(function(b){if(d[b]){d[b].addClass("highcharts-tracker").on("mouseover",c).on("mouseout",function(a){e.onTrackerMouseOut(a)});if(p)d[b].on("touchstart",c);!a.styledMode&&d.options.cursor&&d[b].css(w).css({cursor:d.options.cursor})}}),d._hasTracking=!0);x(this,"afterDrawTracker")};b.prototype.remove=function(){var d=this,a=d.chart;a.hasRendered&&a.series.forEach(function(a){a.type===d.type&&(a.isDirty=!0)});C.prototype.remove.apply(d,
-arguments)};b.defaultOptions=r(C.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:z.neutralColor20,borderColor:z.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:z.backgroundColor});return b}(C);H(t.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:y.drawRectangle,
-getSymbol:b,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]});v.registerSeriesType("column",t);"";"";return t});J(b,"Series/Bar/BarSeries.js",[b["Series/Column/ColumnSeries.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B){var w=this&&this.__extends||function(){var b=function(l,q){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var h in c)c.hasOwnProperty(h)&&(b[h]=c[h])};return b(l,q)};return function(l,
-q){function h(){this.constructor=l}b(l,q);l.prototype=null===q?Object.create(q):(h.prototype=q.prototype,new h)}}(),z=B.extend,C=B.merge;B=function(l){function t(){var b=null!==l&&l.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}w(t,l);t.defaultOptions=C(b.defaultOptions,{});return t}(b);z(B.prototype,{inverted:!0});l.registerSeriesType("bar",B);"";return B});J(b,"Series/Scatter/ScatterSeries.js",[b["Series/Column/ColumnSeries.js"],b["Series/Line/LineSeries.js"],
-b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B,y){var w=this&&this.__extends||function(){var b=function(h,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,b){c.__proto__=b}||function(c,b){for(var k in b)b.hasOwnProperty(k)&&(c[k]=b[k])};return b(h,c)};return function(h,c){function l(){this.constructor=h}b(h,c);h.prototype=null===c?Object.create(c):(l.prototype=c.prototype,new l)}}(),C=y.addEvent,v=y.extend,t=y.merge;y=function(b){function h(){var c=
-null!==b&&b.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}w(h,b);h.prototype.applyJitter=function(){var c=this,b=this.options.jitter,k=this.points.length;b&&this.points.forEach(function(h,f){["x","y"].forEach(function(l,p){var q="plot"+l.toUpperCase();if(b[l]&&!h.isNull){var t=c[l+"Axis"];var r=b[l]*t.transA;if(t&&!t.isLog){var n=Math.max(0,h[q]-r);t=Math.min(t.len,h[q]+r);p=1E4*Math.sin(f+p*k);h[q]=n+(t-n)*(p-Math.floor(p));"x"===l&&(h.clientX=h.plotX)}}})})};
-h.prototype.drawGraph=function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&b.prototype.drawGraph.call(this)};h.defaultOptions=t(l.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}});return h}(l);v(y.prototype,{drawTracker:b.prototype.drawTracker,
-sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});C(y,"afterTranslate",function(){this.applyJitter()});B.registerSeriesType("scatter",y);"";return y});J(b,"Mixins/CenteredSeries.js",[b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Utilities.js"]],function(b,l,B){var w=B.isNumber,z=B.pick,C=B.relativeLength,v=b.deg2rad;return b.CenteredSeriesMixin={getCenter:function(){var b=this.options,q=this.chart,h=2*(b.slicedOffset||
-0),c=q.plotWidth-2*h,p=q.plotHeight-2*h,k=b.center,v=Math.min(c,p),f=b.size,w=b.innerSize||0;"string"===typeof f&&(f=parseFloat(f));"string"===typeof w&&(w=parseFloat(w));b=[z(k[0],"50%"),z(k[1],"50%"),z(f&&0>f?void 0:b.size,"100%"),z(w&&0>w?void 0:b.innerSize||0,"0%")];!q.angular||this instanceof l||(b[3]=0);for(k=0;4>k;++k)f=b[k],q=2>k||2===k&&/%$/.test(f),b[k]=C(f,[c,p,v,b[2]][k])+(q?h:0);b[3]>b[2]&&(b[3]=b[2]);return b},getStartAndEndRadians:function(b,l){b=w(b)?b:0;l=w(l)&&l>b&&360>l-b?l:b+360;
-return{start:v*(b+-90),end:v*(l+-90)}}}});J(b,"Series/Pie/PiePoint.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Series/Point.js"],b["Core/Utilities.js"]],function(b,l,B){var w=this&&this.__extends||function(){var c=function(b,k){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,b){c.__proto__=b}||function(c,b){for(var f in b)b.hasOwnProperty(f)&&(c[f]=b[f])};return c(b,k)};return function(b,k){function h(){this.constructor=b}c(b,k);b.prototype=null===k?Object.create(k):
-(h.prototype=k.prototype,new h)}}(),z=b.setAnimation,C=B.addEvent,v=B.defined;b=B.extend;var t=B.isNumber,q=B.pick,h=B.relativeLength;B=function(c){function b(){var b=null!==c&&c.apply(this,arguments)||this;b.labelDistance=void 0;b.options=void 0;b.series=void 0;return b}w(b,c);b.prototype.getConnectorPath=function(){var c=this.labelPosition,b=this.series.options.dataLabels,f=b.connectorShape,h=this.connectorShapes;h[f]&&(f=h[f]);return f.call(this,{x:c.final.x,y:c.final.y,alignment:c.alignment},
-c.connectorPosition,b)};b.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};b.prototype.haloPath=function(c){var b=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(b.x,b.y,b.r+c,b.r+c,{innerR:b.r-1,start:b.start,end:b.end})};b.prototype.init=function(){l.prototype.init.apply(this,arguments);var c=this;c.name=q(c.name,"Slice");var b=function(b){c.slice("select"===b.type)};C(c,"select",b);C(c,"unselect",
-b);return c};b.prototype.isValid=function(){return t(this.y)&&0<=this.y};b.prototype.setVisible=function(c,b){var f=this,k=f.series,h=k.chart,l=k.options.ignoreHiddenPoint;b=q(b,l);c!==f.visible&&(f.visible=f.options.visible=c="undefined"===typeof c?!f.visible:c,k.options.data[k.data.indexOf(f)]=f.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(b){if(f[b])f[b][c?"show":"hide"](c)}),f.legendItem&&h.legend.colorizeItem(f,c),c||"hover"!==f.state||f.setState(""),l&&(k.isDirty=
-!0),b&&h.redraw())};b.prototype.slice=function(c,b,f){var k=this.series;z(f,k.chart);q(b,!0);this.sliced=this.options.sliced=v(c)?c:!this.sliced;k.options.data[k.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return b}(l);b(B.prototype,{connectorShapes:{fixedOffset:function(c,b,k){var h=b.breakAt;b=b.touchingSliceAt;return[["M",c.x,c.y],k.softConnector?["C",c.x+("left"===c.alignment?-5:5),c.y,
-2*h.x-b.x,2*h.y-b.y,h.x,h.y]:["L",h.x,h.y],["L",b.x,b.y]]},straight:function(c,b){b=b.touchingSliceAt;return[["M",c.x,c.y],["L",b.x,b.y]]},crookedLine:function(c,b,k){b=b.touchingSliceAt;var l=this.series,f=l.center[0],p=l.chart.plotWidth,q=l.chart.plotLeft;l=c.alignment;var t=this.shapeArgs.r;k=h(k.crookDistance,1);p="left"===l?f+t+(p+q-f-t)*(1-k):q+(f-t)*k;k=["L",p,c.y];f=!0;if("left"===l?p>c.x||p<b.x:p<c.x||p>b.x)f=!1;c=[["M",c.x,c.y]];f&&c.push(k);c.push(["L",b.x,b.y]);return c}}});return B});
-J(b,"Series/Pie/PieSeries.js",[b["Mixins/CenteredSeries.js"],b["Series/Column/ColumnSeries.js"],b["Core/Globals.js"],b["Mixins/LegendSymbol.js"],b["Core/Color/Palette.js"],b["Series/Pie/PiePoint.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C,v,t,q,h){var c=this&&this.__extends||function(){var c=function(b,f){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,e){c.__proto__=e}||function(c,
-e){for(var b in e)e.hasOwnProperty(b)&&(c[b]=e[b])};return c(b,f)};return function(b,f){function k(){this.constructor=b}c(b,f);b.prototype=null===f?Object.create(f):(k.prototype=f.prototype,new k)}}(),p=b.getStartAndEndRadians;B=B.noop;var k=h.clamp,w=h.extend,f=h.fireEvent,H=h.merge,x=h.pick,K=h.relativeLength;h=function(b){function h(){var c=null!==b&&b.apply(this,arguments)||this;c.center=void 0;c.data=void 0;c.maxLabelDistance=void 0;c.options=void 0;c.points=void 0;return c}c(h,b);h.prototype.animate=
-function(c){var b=this,e=b.points,g=b.startAngleRad;c||e.forEach(function(d){var a=d.graphic,e=d.shapeArgs;a&&e&&(a.attr({r:x(d.startR,b.center&&b.center[3]/2),start:g,end:g}),a.animate({r:e.r,start:e.start,end:e.end},b.options.animation))})};h.prototype.drawEmpty=function(){var c=this.startAngleRad,b=this.endAngleRad,e=this.options;if(0===this.total&&this.center){var g=this.center[0];var d=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(g,d,this.center[1]/2,0,c,b).addClass("highcharts-empty-series").add(this.group));
-this.graph.attr({d:q.prototype.symbols.arc(g,d,this.center[2]/2,0,{start:c,end:b,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":e.borderWidth,fill:e.fillColor||"none",stroke:e.color||z.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())};h.prototype.drawPoints=function(){var c=this.chart.renderer;this.points.forEach(function(b){b.graphic&&b.hasNewShapeType()&&(b.graphic=b.graphic.destroy());b.graphic||(b.graphic=c[b.shapeType](b.shapeArgs).add(b.series.group),
-b.delayedRendering=!0)})};h.prototype.generatePoints=function(){b.prototype.generatePoints.call(this);this.updateTotals()};h.prototype.getX=function(c,b,e){var g=this.center,d=this.radii?this.radii[e.index]||0:g[2]/2;c=Math.asin(k((c-g[1])/(d+e.labelDistance),-1,1));return g[0]+(b?-1:1)*Math.cos(c)*(d+e.labelDistance)+(0<e.labelDistance?(b?-1:1)*this.options.dataLabels.padding:0)};h.prototype.hasData=function(){return!!this.processedXData.length};h.prototype.redrawPoints=function(){var c=this,b=c.chart,
-e=b.renderer,g,d,a,f,k=c.options.shadow;this.drawEmpty();!k||c.shadowGroup||b.styledMode||(c.shadowGroup=e.g("shadow").attr({zIndex:-1}).add(c.group));c.points.forEach(function(h){var m={};d=h.graphic;if(!h.isNull&&d){f=h.shapeArgs;g=h.getTranslate();if(!b.styledMode){var n=h.shadowGroup;k&&!n&&(n=h.shadowGroup=e.g("shadow").add(c.shadowGroup));n&&n.attr(g);a=c.pointAttribs(h,h.selected&&"select")}h.delayedRendering?(d.setRadialReference(c.center).attr(f).attr(g),b.styledMode||d.attr(a).attr({"stroke-linejoin":"round"}).shadow(k,
-n),h.delayedRendering=!1):(d.setRadialReference(c.center),b.styledMode||H(!0,m,a),H(!0,m,f,g),d.animate(m));d.attr({visibility:h.visible?"inherit":"hidden"});d.addClass(h.getClassName(),!0)}else d&&(h.graphic=d.destroy())})};h.prototype.sortByAngle=function(c,b){c.sort(function(e,c){return"undefined"!==typeof e.angle&&(c.angle-e.angle)*b})};h.prototype.translate=function(c){this.generatePoints();var b=0,e=this.options,g=e.slicedOffset,d=g+(e.borderWidth||0),a=p(e.startAngle,e.endAngle),k=this.startAngleRad=
-a.start;a=(this.endAngleRad=a.end)-k;var h=this.points,n=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,r=h.length;c||(this.center=c=this.getCenter());for(l=0;l<r;l++){var q=h[l];var t=k+b*a;!q.isValid()||e&&!q.visible||(b+=q.percentage/100);var v=k+b*a;q.shapeType="arc";q.shapeArgs={x:c[0],y:c[1],r:c[2]/2,innerR:c[3]/2,start:Math.round(1E3*t)/1E3,end:Math.round(1E3*v)/1E3};q.labelDistance=x(q.options.dataLabels&&q.options.dataLabels.distance,n);q.labelDistance=K(q.labelDistance,q.shapeArgs.r);
-this.maxLabelDistance=Math.max(this.maxLabelDistance||0,q.labelDistance);v=(v+t)/2;v>1.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI);q.slicedTranslation={translateX:Math.round(Math.cos(v)*g),translateY:Math.round(Math.sin(v)*g)};var w=Math.cos(v)*c[2]/2;var z=Math.sin(v)*c[2]/2;q.tooltipPos=[c[0]+.7*w,c[1]+.7*z];q.half=v<-Math.PI/2||v>Math.PI/2?1:0;q.angle=v;t=Math.min(d,q.labelDistance/5);q.labelPosition={natural:{x:c[0]+w+Math.cos(v)*q.labelDistance,y:c[1]+z+Math.sin(v)*q.labelDistance},"final":{},
-alignment:0>q.labelDistance?"center":q.half?"right":"left",connectorPosition:{breakAt:{x:c[0]+w+Math.cos(v)*t,y:c[1]+z+Math.sin(v)*t},touchingSliceAt:{x:c[0]+w,y:c[1]+z}}}}f(this,"afterTranslate")};h.prototype.updateTotals=function(){var c,b=0,e=this.points,g=e.length,d=this.options.ignoreHiddenPoint;for(c=0;c<g;c++){var a=e[c];!a.isValid()||d&&!a.visible||(b+=a.y)}this.total=b;for(c=0;c<g;c++)a=e[c],a.percentage=0<b&&(a.visible||!d)?a.y/b*100:0,a.total=b};h.defaultOptions=H(v.defaultOptions,{center:[null,
-null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:z.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}});
-return h}(v);w(h.prototype,{axisTypes:[],directTouch:!0,drawGraph:null,drawLegendSymbol:y.drawRectangle,drawTracker:l.prototype.drawTracker,getCenter:b.getCenter,getSymbol:B,isCartesian:!1,noSharedTooltip:!0,pointAttribs:l.prototype.pointAttribs,pointClass:C,requireSorting:!1,searchPoint:B,trackerGroups:["group","dataLabelsGroup"]});t.registerSeriesType("pie",h);"";return h});J(b,"Core/Series/DataLabels.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],
-b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C){var v=b.getDeferredAnimation;b=l.noop;z=z.seriesTypes;var t=C.arrayMax,q=C.clamp,h=C.defined,c=C.extend,p=C.fireEvent,k=C.format,w=C.isArray,f=C.merge,H=C.objectEach,x=C.pick,K=C.relativeLength,L=C.splat,r=C.stableSort;"";l.distribute=function(c,b,e){function g(a,d){return a.target-d.target}var d,a=!0,f=c,k=[];var h=0;var n=f.reducedLen||b;for(d=c.length;d--;)h+=c[d].size;if(h>n){r(c,function(a,
-d){return(d.rank||0)-(a.rank||0)});for(h=d=0;h<=n;)h+=c[d].size,d++;k=c.splice(d-1,c.length)}r(c,g);for(c=c.map(function(a){return{size:a.size,targets:[a.target],align:x(a.align,.5)}});a;){for(d=c.length;d--;)a=c[d],h=(Math.min.apply(0,a.targets)+Math.max.apply(0,a.targets))/2,a.pos=q(h-a.size*a.align,0,b-a.size);d=c.length;for(a=!1;d--;)0<d&&c[d-1].pos+c[d-1].size>c[d].pos&&(c[d-1].size+=c[d].size,c[d-1].targets=c[d-1].targets.concat(c[d].targets),c[d-1].align=.5,c[d-1].pos+c[d-1].size>b&&(c[d-1].pos=
-b-c[d-1].size),c.splice(d,1),a=!0)}f.push.apply(f,k);d=0;c.some(function(a){var c=0;if(a.targets.some(function(){f[d].pos=a.pos+c;if("undefined"!==typeof e&&Math.abs(f[d].pos-f[d].target)>e)return f.slice(0,d+1).forEach(function(a){delete a.pos}),f.reducedLen=(f.reducedLen||b)-.1*b,f.reducedLen>.1*b&&l.distribute(f,b,e),!0;c+=f[d].size;d++}))return!0});r(f,g)};y.prototype.drawDataLabels=function(){function c(a,d){var c=d.filter;return c?(d=c.operator,a=a[c.property],c=c.value,">"===d&&a>c||"<"===
-d&&a<c||">="===d&&a>=c||"<="===d&&a<=c||"=="===d&&a==c||"==="===d&&a===c?!0:!1):!0}function b(a,d){var c=[],e;if(w(a)&&!w(d))c=a.map(function(a){return f(a,d)});else if(w(d)&&!w(a))c=d.map(function(d){return f(a,d)});else if(w(a)||w(d))for(e=Math.max(a.length,d.length);e--;)c[e]=f(a[e],d[e]);else c=f(a,d);return c}var e=this,g=e.chart,d=e.options,a=d.dataLabels,m=e.points,l,r=e.hasRendered||0,q=a.animation;q=a.defer?v(g,q,e):{defer:0,duration:0};var t=g.renderer;a=b(b(g.options.plotOptions&&g.options.plotOptions.series&&
-g.options.plotOptions.series.dataLabels,g.options.plotOptions&&g.options.plotOptions[e.type]&&g.options.plotOptions[e.type].dataLabels),a);p(this,"drawDataLabels");if(w(a)||a.enabled||e._hasPointLabels){var z=e.plotGroup("dataLabelsGroup","data-labels",r?"inherit":"hidden",a.zIndex||6);z.attr({opacity:+r});!r&&(r=e.dataLabelsGroup)&&(e.visible&&z.show(!0),r[d.animation?"animate":"attr"]({opacity:1},q));m.forEach(function(f){l=L(b(a,f.dlOptions||f.options&&f.options.dataLabels));l.forEach(function(a,
-b){var m=a.enabled&&(!f.isNull||f.dataLabelOnNull)&&c(f,a),n=f.dataLabels?f.dataLabels[b]:f.dataLabel,l=f.connectors?f.connectors[b]:f.connector,p=x(a.distance,f.labelDistance),u=!n;if(m){var r=f.getLabelConfig();var q=x(a[f.formatPrefix+"Format"],a.format);r=h(q)?k(q,r,g):(a[f.formatPrefix+"Formatter"]||a.formatter).call(r,a);q=a.style;var v=a.rotation;g.styledMode||(q.color=x(a.color,q.color,e.color,B.neutralColor100),"contrast"===q.color?(f.contrastColor=t.getContrast(f.color||e.color),q.color=
-!h(p)&&a.inside||0>p||d.stacking?f.contrastColor:B.neutralColor100):delete f.contrastColor,d.cursor&&(q.cursor=d.cursor));var A={r:a.borderRadius||0,rotation:v,padding:a.padding,zIndex:1};g.styledMode||(A.fill=a.backgroundColor,A.stroke=a.borderColor,A["stroke-width"]=a.borderWidth);H(A,function(a,d){"undefined"===typeof a&&delete A[d]})}!n||m&&h(r)?m&&h(r)&&(n?A.text=r:(f.dataLabels=f.dataLabels||[],n=f.dataLabels[b]=v?t.text(r,0,-9999,a.useHTML).addClass("highcharts-data-label"):t.label(r,0,-9999,
-a.shape,null,null,a.useHTML,null,"data-label"),b||(f.dataLabel=n),n.addClass(" highcharts-data-label-color-"+f.colorIndex+" "+(a.className||"")+(a.useHTML?" highcharts-tracker":""))),n.options=a,n.attr(A),g.styledMode||n.css(q).shadow(a.shadow),n.added||n.add(z),a.textPath&&!a.useHTML&&(n.setTextPath(f.getDataLabelPath&&f.getDataLabelPath(n)||f.graphic,a.textPath),f.dataLabelPath&&!a.textPath.enabled&&(f.dataLabelPath=f.dataLabelPath.destroy())),e.alignDataLabel(f,n,a,null,u)):(f.dataLabel=f.dataLabel&&
-f.dataLabel.destroy(),f.dataLabels&&(1===f.dataLabels.length?delete f.dataLabels:delete f.dataLabels[b]),b||delete f.dataLabel,l&&(f.connector=f.connector.destroy(),f.connectors&&(1===f.connectors.length?delete f.connectors:delete f.connectors[b])))})})}p(this,"afterDrawDataLabels")};y.prototype.alignDataLabel=function(b,f,e,g,d){var a=this,k=this.chart,h=this.isCartesian&&k.inverted,n=this.enabledDataSorting,l=x(b.dlBox&&b.dlBox.centerX,b.plotX,-9999),p=x(b.plotY,-9999),r=f.getBBox(),u=e.rotation,
-q=e.align,t=k.isInsidePlot(l,Math.round(p),h),v="justify"===x(e.overflow,n?"none":"justify"),w=this.visible&&!1!==b.visible&&(b.series.forceDL||n&&!v||t||e.inside&&g&&k.isInsidePlot(l,h?g.x+1:g.y+g.height-1,h));var z=function(c){n&&a.xAxis&&!v&&a.setDataLabelStartPos(b,f,d,t,c)};if(w){var C=k.renderer.fontMetrics(k.styledMode?void 0:e.style.fontSize,f).b;g=c({x:h?this.yAxis.len-p:l,y:Math.round(h?this.xAxis.len-l:p),width:0,height:0},g);c(e,{width:r.width,height:r.height});u?(v=!1,l=k.renderer.rotCorr(C,
-u),l={x:g.x+(e.x||0)+g.width/2+l.x,y:g.y+(e.y||0)+{top:0,middle:.5,bottom:1}[e.verticalAlign]*g.height},z(l),f[d?"attr":"animate"](l).attr({align:q}),z=(u+720)%360,z=180<z&&360>z,"left"===q?l.y-=z?r.height:0:"center"===q?(l.x-=r.width/2,l.y-=r.height/2):"right"===q&&(l.x-=r.width,l.y-=z?0:r.height),f.placed=!0,f.alignAttr=l):(z(g),f.align(e,null,g),l=f.alignAttr);v&&0<=g.height?this.justifyDataLabel(f,e,l,r,g,d):x(e.crop,!0)&&(w=k.isInsidePlot(l.x,l.y)&&k.isInsidePlot(l.x+r.width,l.y+r.height));if(e.shape&&
-!u)f[d?"attr":"animate"]({anchorX:h?k.plotWidth-b.plotY:b.plotX,anchorY:h?k.plotHeight-b.plotX:b.plotY})}d&&n&&(f.placed=!1);w||n&&!v||(f.hide(!0),f.placed=!1)};y.prototype.setDataLabelStartPos=function(c,b,e,f,d){var a=this.chart,g=a.inverted,k=this.xAxis,h=k.reversed,n=g?b.height/2:b.width/2;c=(c=c.pointWidth)?c/2:0;k=g?d.x:h?-n-c:k.width-n+c;d=g?h?this.yAxis.height-n+c:-n-c:d.y;b.startXPos=k;b.startYPos=d;f?"hidden"===b.visibility&&(b.show(),b.attr({opacity:0}).animate({opacity:1})):b.attr({opacity:1}).animate({opacity:0},
-void 0,b.hide);a.hasRendered&&(e&&b.attr({x:b.startXPos,y:b.startYPos}),b.placed=!0)};y.prototype.justifyDataLabel=function(c,b,e,f,d,a){var g=this.chart,k=b.align,h=b.verticalAlign,n=c.box?0:c.padding||0,l=b.x;l=void 0===l?0:l;var p=b.y;var r=void 0===p?0:p;p=e.x+n;if(0>p){"right"===k&&0<=l?(b.align="left",b.inside=!0):l-=p;var u=!0}p=e.x+f.width-n;p>g.plotWidth&&("left"===k&&0>=l?(b.align="right",b.inside=!0):l+=g.plotWidth-p,u=!0);p=e.y+n;0>p&&("bottom"===h&&0<=r?(b.verticalAlign="top",b.inside=
-!0):r-=p,u=!0);p=e.y+f.height-n;p>g.plotHeight&&("top"===h&&0>=r?(b.verticalAlign="bottom",b.inside=!0):r+=g.plotHeight-p,u=!0);u&&(b.x=l,b.y=r,c.placed=!a,c.align(b,void 0,d));return u};z.pie&&(z.pie.prototype.dataLabelPositioners={radialDistributionY:function(c){return c.top+c.distributeBox.pos},radialDistributionX:function(c,b,e,f){return c.getX(e<b.top+2||e>b.bottom-2?f:e,b.half,b)},justify:function(c,b,e){return e[0]+(c.half?-1:1)*(b+c.labelDistance)},alignToPlotEdges:function(c,b,e,f){c=c.getBBox().width;
-return b?c+f:e-c-f},alignToConnectors:function(c,b,e,f){var d=0,a;c.forEach(function(c){a=c.dataLabel.getBBox().width;a>d&&(d=a)});return b?d+f:e-d-f}},z.pie.prototype.drawDataLabels=function(){var c=this,b=c.data,e,g=c.chart,d=c.options.dataLabels||{},a=d.connectorPadding,k,p=g.plotWidth,r=g.plotHeight,q=g.plotLeft,v=Math.round(g.chartWidth/3),w,z=c.center,C=z[2]/2,G=z[1],H,F,L,K,J=[[],[]],D,S,P,Z,U=[0,0,0,0],V=c.dataLabelPositioners,X;c.visible&&(d.enabled||c._hasPointLabels)&&(b.forEach(function(a){a.dataLabel&&
-a.visible&&a.dataLabel.shortened&&(a.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),a.dataLabel.shortened=!1)}),y.prototype.drawDataLabels.apply(c),b.forEach(function(a){a.dataLabel&&(a.visible?(J[a.half].push(a),a.dataLabel._pos=null,!h(d.style.width)&&!h(a.options.dataLabels&&a.options.dataLabels.style&&a.options.dataLabels.style.width)&&a.dataLabel.getBBox().width>v&&(a.dataLabel.css({width:Math.round(.7*v)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),
-a.dataLabels&&1===a.dataLabels.length&&delete a.dataLabels))}),J.forEach(function(b,f){var k=b.length,m=[],n;if(k){c.sortByAngle(b,f-.5);if(0<c.maxLabelDistance){var u=Math.max(0,G-C-c.maxLabelDistance);var t=Math.min(G+C+c.maxLabelDistance,g.plotHeight);b.forEach(function(a){0<a.labelDistance&&a.dataLabel&&(a.top=Math.max(0,G-C-a.labelDistance),a.bottom=Math.min(G+C+a.labelDistance,g.plotHeight),n=a.dataLabel.getBBox().height||21,a.distributeBox={target:a.labelPosition.natural.y-a.top+n/2,size:n,
-rank:a.y},m.push(a.distributeBox))});u=t+n-u;l.distribute(m,u,u/5)}for(Z=0;Z<k;Z++){e=b[Z];L=e.labelPosition;H=e.dataLabel;P=!1===e.visible?"hidden":"inherit";S=u=L.natural.y;m&&h(e.distributeBox)&&("undefined"===typeof e.distributeBox.pos?P="hidden":(K=e.distributeBox.size,S=V.radialDistributionY(e)));delete e.positionIndex;if(d.justify)D=V.justify(e,C,z);else switch(d.alignTo){case "connectors":D=V.alignToConnectors(b,f,p,q);break;case "plotEdges":D=V.alignToPlotEdges(H,f,p,q);break;default:D=V.radialDistributionX(c,
-e,S,u)}H._attr={visibility:P,align:L.alignment};X=e.options.dataLabels||{};H._pos={x:D+x(X.x,d.x)+({left:a,right:-a}[L.alignment]||0),y:S+x(X.y,d.y)-10};L.final.x=D;L.final.y=S;x(d.crop,!0)&&(F=H.getBBox().width,u=null,D-F<a&&1===f?(u=Math.round(F-D+a),U[3]=Math.max(u,U[3])):D+F>p-a&&0===f&&(u=Math.round(D+F-p+a),U[1]=Math.max(u,U[1])),0>S-K/2?U[0]=Math.max(Math.round(-S+K/2),U[0]):S+K/2>r&&(U[2]=Math.max(Math.round(S+K/2-r),U[2])),H.sideOverflow=u)}}}),0===t(U)||this.verifyDataLabelOverflow(U))&&
-(this.placeDataLabels(),this.points.forEach(function(a){X=f(d,a.options.dataLabels);if(k=x(X.connectorWidth,1)){var b;w=a.connector;if((H=a.dataLabel)&&H._pos&&a.visible&&0<a.labelDistance){P=H._attr.visibility;if(b=!w)a.connector=w=g.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+a.colorIndex+(a.className?" "+a.className:"")).add(c.dataLabelsGroup),g.styledMode||w.attr({"stroke-width":k,stroke:X.connectorColor||a.color||B.neutralColor60});w[b?"attr":"animate"]({d:a.getConnectorPath()});
-w.attr("visibility",P)}else w&&(a.connector=w.destroy())}}))},z.pie.prototype.placeDataLabels=function(){this.points.forEach(function(c){var b=c.dataLabel,e;b&&c.visible&&((e=b._pos)?(b.sideOverflow&&(b._attr.width=Math.max(b.getBBox().width-b.sideOverflow,0),b.css({width:b._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),b.shortened=!0),b.attr(b._attr),b[b.moved?"animate":"attr"](e),b.moved=!0):b&&b.attr({y:-9999}));delete c.distributeBox},this)},z.pie.prototype.alignDataLabel=
-b,z.pie.prototype.verifyDataLabelOverflow=function(c){var b=this.center,e=this.options,f=e.center,d=e.minSize||80,a=null!==e.size;if(!a){if(null!==f[0])var k=Math.max(b[2]-Math.max(c[1],c[3]),d);else k=Math.max(b[2]-c[1]-c[3],d),b[0]+=(c[3]-c[1])/2;null!==f[1]?k=q(k,d,b[2]-Math.max(c[0],c[2])):(k=q(k,d,b[2]-c[0]-c[2]),b[1]+=(c[0]-c[2])/2);k<b[2]?(b[2]=k,b[3]=Math.min(K(e.innerSize||0,k),k),this.translate(b),this.drawDataLabels&&this.drawDataLabels()):a=!0}return a});z.column&&(z.column.prototype.alignDataLabel=
-function(c,b,e,g,d){var a=this.chart.inverted,k=c.series,h=c.dlBox||c.shapeArgs,l=x(c.below,c.plotY>x(this.translatedThreshold,k.yAxis.len)),n=x(e.inside,!!this.options.stacking);h&&(g=f(h),0>g.y&&(g.height+=g.y,g.y=0),h=g.y+g.height-k.yAxis.len,0<h&&h<g.height&&(g.height-=h),a&&(g={x:k.yAxis.len-g.y-g.height,y:k.xAxis.len-g.x-g.width,width:g.height,height:g.width}),n||(a?(g.x+=l?0:g.width,g.width=0):(g.y+=l?g.height:0,g.height=0)));e.align=x(e.align,!a||n?"center":l?"right":"left");e.verticalAlign=
-x(e.verticalAlign,a||n?"middle":l?"top":"bottom");y.prototype.alignDataLabel.call(this,c,b,e,g,d);e.inside&&c.contrastColor&&b.css({color:c.contrastColor})})});J(b,"Extensions/OverlappingDataLabels.js",[b["Core/Chart/Chart.js"],b["Core/Utilities.js"]],function(b,l){var w=l.addEvent,y=l.fireEvent,z=l.isArray,C=l.isNumber,v=l.objectEach,t=l.pick;w(b,"render",function(){var b=[];(this.labelCollectors||[]).forEach(function(h){b=b.concat(h())});(this.yAxis||[]).forEach(function(h){h.stacking&&h.options.stackLabels&&
-!h.options.stackLabels.allowOverlap&&v(h.stacking.stacks,function(c){v(c,function(c){b.push(c.label)})})});(this.series||[]).forEach(function(h){var c=h.options.dataLabels;h.visible&&(!1!==c.enabled||h._hasPointLabels)&&(c=function(c){return c.forEach(function(c){c.visible&&(z(c.dataLabels)?c.dataLabels:c.dataLabel?[c.dataLabel]:[]).forEach(function(k){var f=k.options;k.labelrank=t(f.labelrank,c.labelrank,c.shapeArgs&&c.shapeArgs.height);f.allowOverlap||b.push(k)})})},c(h.nodes||[]),c(h.points))});
-this.hideOverlappingLabels(b)});b.prototype.hideOverlappingLabels=function(b){var h=this,c=b.length,l=h.renderer,k,q,f,t=!1;var v=function(c){var b,f=c.box?0:c.padding||0,e=b=0,g;if(c&&(!c.alignAttr||c.placed)){var d=c.alignAttr||{x:c.attr("x"),y:c.attr("y")};var a=c.parentGroup;c.width||(b=c.getBBox(),c.width=b.width,c.height=b.height,b=l.fontMetrics(null,c.element).h);var k=c.width-2*f;(g={left:"0",center:"0.5",right:"1"}[c.alignValue])?e=+g*k:C(c.x)&&Math.round(c.x)!==c.translateX&&(e=c.x-c.translateX);
-return{x:d.x+(a.translateX||0)+f-(e||0),y:d.y+(a.translateY||0)+f-b,width:c.width-2*f,height:c.height-2*f}}};for(q=0;q<c;q++)if(k=b[q])k.oldOpacity=k.opacity,k.newOpacity=1,k.absoluteBox=v(k);b.sort(function(c,b){return(b.labelrank||0)-(c.labelrank||0)});for(q=0;q<c;q++){var w=(v=b[q])&&v.absoluteBox;for(k=q+1;k<c;++k){var z=(f=b[k])&&f.absoluteBox;!w||!z||v===f||0===v.newOpacity||0===f.newOpacity||z.x>=w.x+w.width||z.x+z.width<=w.x||z.y>=w.y+w.height||z.y+z.height<=w.y||((v.labelrank<f.labelrank?
-v:f).newOpacity=0)}}b.forEach(function(c){if(c){var b=c.newOpacity;c.oldOpacity!==b&&(c.alignAttr&&c.placed?(c[b?"removeClass":"addClass"]("highcharts-data-label-hidden"),t=!0,c.alignAttr.opacity=b,c[c.isOld?"animate":"attr"](c.alignAttr,null,function(){h.styledMode||c.css({pointerEvents:b?"auto":"none"});c.visibility=b?"inherit":"hidden"}),y(h,"afterHideOverlappingLabel")):c.attr({opacity:b}));c.isOld=!0}});t&&y(h,"afterHideAllOverlappingLabels")}});J(b,"Core/Responsive.js",[b["Core/Chart/Chart.js"],
-b["Core/Utilities.js"]],function(b,l){var w=l.find,y=l.isArray,z=l.isObject,C=l.merge,v=l.objectEach,t=l.pick,q=l.splat,h=l.uniqueKey;b.prototype.setResponsive=function(c,b){var k=this.options.responsive,l=[],f=this.currentResponsive;!b&&k&&k.rules&&k.rules.forEach(function(c){"undefined"===typeof c._id&&(c._id=h());this.matchResponsiveRule(c,l)},this);b=C.apply(0,l.map(function(c){return w(k.rules,function(b){return b._id===c}).chartOptions}));b.isResponsiveOptions=!0;l=l.toString()||void 0;l!==
-(f&&f.ruleIds)&&(f&&this.update(f.undoOptions,c,!0),l?(f=this.currentOptions(b),f.isResponsiveOptions=!0,this.currentResponsive={ruleIds:l,mergedOptions:b,undoOptions:f},this.update(b,c,!0)):this.currentResponsive=void 0)};b.prototype.matchResponsiveRule=function(c,b){var k=c.condition;(k.callback||function(){return this.chartWidth<=t(k.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=t(k.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=t(k.minWidth,0)&&this.chartHeight>=t(k.minHeight,0)}).call(this)&&
-b.push(c._id)};b.prototype.currentOptions=function(c){function b(c,h,l,p){var f;v(c,function(c,n){if(!p&&-1<k.collectionsWithUpdate.indexOf(n)&&h[n])for(c=q(c),l[n]=[],f=0;f<Math.max(c.length,h[n].length);f++)h[n][f]&&(void 0===c[f]?l[n][f]=h[n][f]:(l[n][f]={},b(c[f],h[n][f],l[n][f],p+1)));else z(c)?(l[n]=y(c)?[]:{},b(c,h[n]||{},l[n],p+1)):l[n]="undefined"===typeof h[n]?null:h[n]})}var k=this,h={};b(c,this.options,h,0);return h}});J(b,"masters/highcharts.src.js",[b["Core/Globals.js"],b["Core/Utilities.js"],
-b["Core/Renderer/HTML/AST.js"],b["Core/Series/Series.js"]],function(b,l,B,y){b.addEvent=l.addEvent;b.arrayMax=l.arrayMax;b.arrayMin=l.arrayMin;b.attr=l.attr;b.clearTimeout=l.clearTimeout;b.correctFloat=l.correctFloat;b.createElement=l.createElement;b.css=l.css;b.defined=l.defined;b.destroyObjectProperties=l.destroyObjectProperties;b.discardElement=l.discardElement;b.erase=l.erase;b.error=l.error;b.extend=l.extend;b.extendClass=l.extendClass;b.find=l.find;b.fireEvent=l.fireEvent;b.format=l.format;
-b.getMagnitude=l.getMagnitude;b.getStyle=l.getStyle;b.inArray=l.inArray;b.isArray=l.isArray;b.isClass=l.isClass;b.isDOMElement=l.isDOMElement;b.isFunction=l.isFunction;b.isNumber=l.isNumber;b.isObject=l.isObject;b.isString=l.isString;b.keys=l.keys;b.merge=l.merge;b.normalizeTickInterval=l.normalizeTickInterval;b.numberFormat=l.numberFormat;b.objectEach=l.objectEach;b.offset=l.offset;b.pad=l.pad;b.pick=l.pick;b.pInt=l.pInt;b.relativeLength=l.relativeLength;b.removeEvent=l.removeEvent;b.splat=l.splat;
-b.stableSort=l.stableSort;b.syncTimeout=l.syncTimeout;b.timeUnits=l.timeUnits;b.uniqueKey=l.uniqueKey;b.useSerialIds=l.useSerialIds;b.wrap=l.wrap;b.AST=B;b.Series=y;return b});J(b,"Core/Axis/MapAxis.js",[b["Core/Axis/Axis.js"],b["Core/Utilities.js"]],function(b,l){var w=l.addEvent,y=l.pick,z=function(){return function(b){this.axis=b}}();l=function(){function b(){}b.compose=function(b){b.keepProps.push("mapAxis");w(b,"init",function(){this.mapAxis||(this.mapAxis=new z(this))});w(b,"getSeriesExtremes",
-function(){if(this.mapAxis){var b=[];this.isXAxis&&(this.series.forEach(function(l,h){l.useMapGeometry&&(b[h]=l.xData,l.xData=[])}),this.mapAxis.seriesXData=b)}});w(b,"afterGetSeriesExtremes",function(){if(this.mapAxis){var b=this.mapAxis.seriesXData||[],l;if(this.isXAxis){var h=y(this.dataMin,Number.MAX_VALUE);var c=y(this.dataMax,-Number.MAX_VALUE);this.series.forEach(function(p,k){p.useMapGeometry&&(h=Math.min(h,y(p.minX,h)),c=Math.max(c,y(p.maxX,c)),p.xData=b[k],l=!0)});l&&(this.dataMin=h,this.dataMax=
-c);this.mapAxis.seriesXData=void 0}}});w(b,"afterSetAxisTranslation",function(){if(this.mapAxis){var b=this.chart,l=b.plotWidth/b.plotHeight;b=b.xAxis[0];var h;"yAxis"===this.coll&&"undefined"!==typeof b.transA&&this.series.forEach(function(c){c.preserveAspectRatio&&(h=!0)});if(h&&(this.transA=b.transA=Math.min(this.transA,b.transA),l/=(b.max-b.min)/(this.max-this.min),l=1>l?this:b,b=(l.max-l.min)*l.transA,l.mapAxis.pixelPadding=l.len-b,l.minPixelPadding=l.mapAxis.pixelPadding/2,b=l.mapAxis.fixTo)){b=
-b[1]-l.toValue(b[0],!0);b*=l.transA;if(Math.abs(b)>l.minPixelPadding||l.min===l.dataMin&&l.max===l.dataMax)b=0;l.minPixelPadding-=b}}});w(b,"render",function(){this.mapAxis&&(this.mapAxis.fixTo=void 0)})};return b}();l.compose(b);return l});J(b,"Mixins/ColorSeries.js",[],function(){return{colorPointMixin:{setVisible:function(b){var l=this,w=b?"show":"hide";l.visible=l.options.visible=!!b;["graphic","dataLabel"].forEach(function(b){if(l[b])l[b][w]()});this.series.buildKDTree()}},colorSeriesMixin:{optionalAxis:"colorAxis",
-colorAxis:0,translateColors:function(){var b=this,l=this.options.nullColor,B=this.colorAxis,y=this.colorKey;(this.data.length?this.data:this.points).forEach(function(w){var z=w.getNestedProperty(y);(z=w.options.color||(w.isNull||null===w.value?l:B&&"undefined"!==typeof z?B.toColor(z,w):w.color||b.color))&&w.color!==z&&(w.color=z,"point"===b.options.legendType&&w.legendItem&&b.chart.legend.colorizeItem(w,w.visible))})}}}});J(b,"Core/Axis/ColorAxis.js",[b["Core/Axis/Axis.js"],b["Core/Chart/Chart.js"],
-b["Core/Color/Color.js"],b["Mixins/ColorSeries.js"],b["Core/Animation/Fx.js"],b["Core/Globals.js"],b["Core/Legend.js"],b["Mixins/LegendSymbol.js"],b["Core/Color/Palette.js"],b["Core/Series/Point.js"],b["Core/Series/Series.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C,v,t,q,h,c,p){var k=this&&this.__extends||function(){var b=function(d,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return b(d,
-a)};return function(d,a){function c(){this.constructor=d}b(d,a);d.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),w=B.parse;B=y.colorPointMixin;y=y.colorSeriesMixin;var f=C.noop,H=p.addEvent,x=p.erase,K=p.extend,L=p.isNumber,r=p.merge,n=p.pick,u=p.splat;"";K(c.prototype,y);K(h.prototype,B);l.prototype.collectionsWithUpdate.push("colorAxis");l.prototype.collectionsWithInit.colorAxis=[l.prototype.addColorAxis];var e=function(b){function d(a,d){var c=b.call(this,a,d)||this;c.beforePadding=
-!1;c.chart=void 0;c.coll="colorAxis";c.dataClasses=void 0;c.legendItem=void 0;c.legendItems=void 0;c.name="";c.options=void 0;c.stops=void 0;c.visible=!0;c.init(a,d);return c}k(d,b);d.prototype.init=function(a,c){var e=a.options.legend||{},f=c.layout?"vertical"!==c.layout:"vertical"!==e.layout;e=r(d.defaultOptions,c,{showEmpty:!1,title:null,visible:e.enabled&&(c?!1!==c.visible:!0)});this.coll="colorAxis";this.side=c.side||f?2:1;this.reversed=c.reversed||!f;this.opposite=!f;a.options[this.coll]=e;
-b.prototype.init.call(this,a,e);c.dataClasses&&this.initDataClasses(c);this.initStops();this.horiz=f;this.zoomEnabled=!1};d.prototype.initDataClasses=function(a){var d=this.chart,c,b=0,e=d.options.chart.colorCount,f=this.options,g=a.dataClasses.length;this.dataClasses=c=[];this.legendItems=[];a.dataClasses.forEach(function(a,k){a=r(a);c.push(a);if(d.styledMode||!a.color)"category"===f.dataClassColor?(d.styledMode||(k=d.options.colors,e=k.length,a.color=k[b]),a.colorIndex=b,b++,b===e&&(b=0)):a.color=
-w(f.minColor).tweenTo(w(f.maxColor),2>g?.5:k/(g-1))})};d.prototype.hasData=function(){return!!(this.tickPositions||[]).length};d.prototype.setTickPositions=function(){if(!this.dataClasses)return b.prototype.setTickPositions.call(this)};d.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]];this.stops.forEach(function(a){a.color=w(a[1])})};d.prototype.setOptions=function(a){b.prototype.setOptions.call(this,a);this.options.crosshair=this.options.marker};
-d.prototype.setAxisSize=function(){var a=this.legendSymbol,b=this.chart,c=b.options.legend||{},e,f;a?(this.left=c=a.attr("x"),this.top=e=a.attr("y"),this.width=f=a.attr("width"),this.height=a=a.attr("height"),this.right=b.chartWidth-c-f,this.bottom=b.chartHeight-e-a,this.len=this.horiz?f:a,this.pos=this.horiz?c:e):this.len=(this.horiz?c.symbolWidth:c.symbolHeight)||d.defaultLegendLength};d.prototype.normalizedValue=function(a){this.logarithmic&&(a=this.logarithmic.log2lin(a));return 1-(this.max-a)/
-(this.max-this.min||1)};d.prototype.toColor=function(a,d){var b=this.dataClasses,c=this.stops,e;if(b)for(e=b.length;e--;){var f=b[e];var g=f.from;c=f.to;if(("undefined"===typeof g||a>=g)&&("undefined"===typeof c||a<=c)){var k=f.color;d&&(d.dataClass=e,d.colorIndex=f.colorIndex);break}}else{a=this.normalizedValue(a);for(e=c.length;e--&&!(a>c[e][0]););g=c[e]||c[e+1];c=c[e+1]||g;a=1-(c[0]-a)/(c[0]-g[0]||1);k=g.color.tweenTo(c.color,a)}return k};d.prototype.getOffset=function(){var a=this.legendGroup,
-c=this.chart.axisOffset[this.side];a&&(this.axisParent=a,b.prototype.getOffset.call(this),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=c)};d.prototype.setLegendColor=function(){var a=this.reversed,c=a?1:0;a=a?0:1;c=this.horiz?[c,0,a,0]:[0,a,0,c];this.legendColor={linearGradient:{x1:c[0],y1:c[1],x2:c[2],y2:c[3]},stops:this.stops}};d.prototype.drawLegendSymbol=function(a,c){var b=a.padding,e=a.options,f=this.horiz,g=n(e.symbolWidth,f?d.defaultLegendLength:
-12),k=n(e.symbolHeight,f?12:d.defaultLegendLength),h=n(e.labelPadding,f?16:30);e=n(e.itemDistance,10);this.setLegendColor();c.legendSymbol=this.chart.renderer.rect(0,a.baseline-11,g,k).attr({zIndex:1}).add(c.legendGroup);this.legendItemWidth=g+b+(f?e:h);this.legendItemHeight=k+b+(f?h:0)};d.prototype.setState=function(a){this.series.forEach(function(c){c.setState(a)})};d.prototype.setVisible=function(){};d.prototype.getSeriesExtremes=function(){var a=this.series,d=a.length,b;this.dataMin=Infinity;
-for(this.dataMax=-Infinity;d--;){var e=a[d];var f=e.colorKey=n(e.options.colorKey,e.colorKey,e.pointValKey,e.zoneAxis,"y");var g=e.pointArrayMap;var k=e[f+"Min"]&&e[f+"Max"];if(e[f+"Data"])var h=e[f+"Data"];else if(g){h=[];g=g.indexOf(f);var l=e.yData;if(0<=g&&l)for(b=0;b<l.length;b++)h.push(n(l[b][g],l[b]))}else h=e.yData;k?(e.minColorValue=e[f+"Min"],e.maxColorValue=e[f+"Max"]):(h=c.prototype.getExtremes.call(e,h),e.minColorValue=h.dataMin,e.maxColorValue=h.dataMax);"undefined"!==typeof e.minColorValue&&
-(this.dataMin=Math.min(this.dataMin,e.minColorValue),this.dataMax=Math.max(this.dataMax,e.maxColorValue));k||c.prototype.applyExtremes.call(e)}};d.prototype.drawCrosshair=function(a,c){var d=c&&c.plotX,e=c&&c.plotY,f=this.pos,g=this.len;if(c){var k=this.toPixels(c.getNestedProperty(c.series.colorKey));k<f?k=f-2:k>f+g&&(k=f+g+2);c.plotX=k;c.plotY=this.len-k;b.prototype.drawCrosshair.call(this,a,c);c.plotX=d;c.plotY=e;this.cross&&!this.cross.addedToColorAxis&&this.legendGroup&&(this.cross.addClass("highcharts-coloraxis-marker").add(this.legendGroup),
-this.cross.addedToColorAxis=!0,!this.chart.styledMode&&this.crosshair&&this.cross.attr({fill:this.crosshair.color}))}};d.prototype.getPlotLinePath=function(a){var c=this.left,d=a.translatedValue,e=this.top;return L(d)?this.horiz?[["M",d-4,e-6],["L",d+4,e-6],["L",d,e],["Z"]]:[["M",c,d],["L",c-6,d+6],["L",c-6,d-6],["Z"]]:b.prototype.getPlotLinePath.call(this,a)};d.prototype.update=function(a,c){var d=this.chart.legend;this.series.forEach(function(a){a.isDirtyData=!0});(a.dataClasses&&d.allItems||this.dataClasses)&&
-this.destroyItems();b.prototype.update.call(this,a,c);this.legendItem&&(this.setLegendColor(),d.colorizeItem(this,!0))};d.prototype.destroyItems=function(){var a=this.chart;this.legendItem?a.legend.destroyItem(this):this.legendItems&&this.legendItems.forEach(function(c){a.legend.destroyItem(c)});a.isDirtyLegend=!0};d.prototype.destroy=function(){this.chart.isDirtyLegend=!0;this.destroyItems();b.prototype.destroy.apply(this,[].slice.call(arguments))};d.prototype.remove=function(a){this.destroyItems();
-b.prototype.remove.call(this,a)};d.prototype.getDataClassLegendSymbols=function(){var a=this,c=a.chart,d=a.legendItems,b=c.options.legend,e=b.valueDecimals,g=b.valueSuffix||"",k;d.length||a.dataClasses.forEach(function(b,h){var m=!0,l=b.from,n=b.to,p=c.numberFormatter;k="";"undefined"===typeof l?k="< ":"undefined"===typeof n&&(k="> ");"undefined"!==typeof l&&(k+=p(l,e)+g);"undefined"!==typeof l&&"undefined"!==typeof n&&(k+=" - ");"undefined"!==typeof n&&(k+=p(n,e)+g);d.push(K({chart:c,name:k,options:{},
-drawLegendSymbol:t.drawRectangle,visible:!0,setState:f,isDataClass:!0,setVisible:function(){m=a.visible=!m;a.series.forEach(function(a){a.points.forEach(function(a){a.dataClass===h&&a.setVisible(m)})});c.legend.colorizeItem(this,m)}},b))});return d};d.defaultLegendLength=200;d.defaultOptions={lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:q.neutralColor40},labels:{overflow:"justify",rotation:0},
-minColor:q.highlightColor10,maxColor:q.highlightColor100,tickLength:5,showInLegend:!0};d.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"];return d}(b);Array.prototype.push.apply(b.keepProps,e.keepProps);C.ColorAxis=e;["fill","stroke"].forEach(function(c){z.prototype[c+"Setter"]=function(){this.elem.attr(c,w(this.start).tweenTo(w(this.end),this.pos),null,!0)}});H(l,"afterGetAxes",function(){var c=this,d=c.options;this.colorAxis=[];d.colorAxis&&(d.colorAxis=
-u(d.colorAxis),d.colorAxis.forEach(function(a,d){a.index=d;new e(c,a)}))});H(c,"bindAxes",function(){var c=this.axisTypes;c?-1===c.indexOf("colorAxis")&&c.push("colorAxis"):this.axisTypes=["colorAxis"]});H(v,"afterGetAllItems",function(c){var d=[],a,b;(this.chart.colorAxis||[]).forEach(function(b){(a=b.options)&&a.showInLegend&&(a.dataClasses&&a.visible?d=d.concat(b.getDataClassLegendSymbols()):a.visible&&d.push(b),b.series.forEach(function(d){if(!d.options.showInLegend||a.dataClasses)"point"===d.options.legendType?
-d.points.forEach(function(a){x(c.allItems,a)}):x(c.allItems,d)}))});for(b=d.length;b--;)c.allItems.unshift(d[b])});H(v,"afterColorizeItem",function(c){c.visible&&c.item.legendColor&&c.item.legendSymbol.attr({fill:c.item.legendColor})});H(v,"afterUpdate",function(){var c=this.chart.colorAxis;c&&c.forEach(function(c,a,b){c.update({},b)})});H(c,"afterTranslate",function(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()});return e});J(b,"Mixins/ColorMapSeries.js",
-[b["Core/Globals.js"],b["Core/Series/Point.js"],b["Core/Utilities.js"]],function(b,l,B){var w=B.defined;return{colorMapPointMixin:{dataLabelOnNull:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value},setState:function(b){l.prototype.setState.call(this,b);this.graphic&&this.graphic.attr({zIndex:"hover"===b?1:0})}},colorMapSeriesMixin:{pointArrayMap:["value"],axisTypes:["xAxis","yAxis","colorAxis"],trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:b.noop,
-parallelArrays:["x","y","value"],colorKey:"value",pointAttribs:b.seriesTypes.column.prototype.pointAttribs,colorAttribs:function(b){var l={};w(b.color)&&(l[this.colorProp||"fill"]=b.color);return l}}}});J(b,"Maps/MapNavigationOptionsDefault.js",[b["Core/Options.js"],b["Core/Utilities.js"]],function(b,l){l=l.extend;var w={buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{fontSize:"15px",fontWeight:"bold"},theme:{"stroke-width":1,"text-align":"center"}},
-buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1};l(b.defaultOptions.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"});return b.defaultOptions.mapNavigation=w});J(b,"Maps/MapNavigation.js",[b["Core/Chart/Chart.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,l,B){function w(c){c&&(c.preventDefault&&c.preventDefault(),c.stopPropagation&&c.stopPropagation(),c.cancelBubble=!0)}function z(c){this.init(c)}
-var C=l.doc,v=B.addEvent,t=B.extend,q=B.merge,h=B.objectEach,c=B.pick;z.prototype.init=function(c){this.chart=c;c.mapNavButtons=[]};z.prototype.update=function(b){var k=this.chart,l=k.options.mapNavigation,f,p,x,z,C,r=function(c){this.handler.call(k,c);w(c)},n=k.mapNavButtons;b&&(l=k.options.mapNavigation=q(k.options.mapNavigation,b));for(;n.length;)n.pop().destroy();c(l.enableButtons,l.enabled)&&!k.renderer.forExport&&h(l.buttons,function(c,b){f=q(l.buttonOptions,c);k.styledMode||(p=f.theme,p.style=
-q(f.theme.style,f.style),z=(x=p.states)&&x.hover,C=x&&x.select);c=k.renderer.button(f.text,0,0,r,p,z,C,0,"zoomIn"===b?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[b]).attr({width:f.width,height:f.height,title:k.options.lang[b],padding:f.padding,zIndex:5}).add();c.handler=f.onclick;v(c.element,"dblclick",w);n.push(c);var e=f,d=v(k,"load",function(){c.align(t(e,{width:c.width,height:2*c.height}),null,e.alignTo);d()})});this.updateEvents(l)};
-z.prototype.updateEvents=function(b){var k=this.chart;c(b.enableDoubleClickZoom,b.enabled)||b.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||v(k.container,"dblclick",function(c){k.pointer.onContainerDblClick(c)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick());c(b.enableMouseWheelZoom,b.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||v(k.container,"undefined"===typeof C.onmousewheel?"DOMMouseScroll":"mousewheel",function(c){k.pointer.onContainerMouseWheel(c);
-w(c);return!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())};t(b.prototype,{fitToBox:function(c,b){[["x","width"],["y","height"]].forEach(function(k){var f=k[0];k=k[1];c[f]+c[k]>b[f]+b[k]&&(c[k]>b[k]?(c[k]=b[k],c[f]=b[f]):c[f]=b[f]+b[k]-c[k]);c[k]>b[k]&&(c[k]=b[k]);c[f]<b[f]&&(c[f]=b[f])});return c},mapZoom:function(b,k,h,f,l){var p=this.xAxis[0],q=p.max-p.min,t=c(k,p.min+q/2),r=q*b;q=this.yAxis[0];var n=q.max-q.min,u=c(h,q.min+n/2);n*=b;t=this.fitToBox({x:t-r*(f?(f-p.pos)/
-p.len:.5),y:u-n*(l?(l-q.pos)/q.len:.5),width:r,height:n},{x:p.dataMin,y:q.dataMin,width:p.dataMax-p.dataMin,height:q.dataMax-q.dataMin});r=t.x<=p.dataMin&&t.width>=p.dataMax-p.dataMin&&t.y<=q.dataMin&&t.height>=q.dataMax-q.dataMin;f&&p.mapAxis&&(p.mapAxis.fixTo=[f-p.pos,k]);l&&q.mapAxis&&(q.mapAxis.fixTo=[l-q.pos,h]);"undefined"===typeof b||r?(p.setExtremes(void 0,void 0,!1),q.setExtremes(void 0,void 0,!1)):(p.setExtremes(t.x,t.x+t.width,!1),q.setExtremes(t.y,t.y+t.height,!1));this.redraw()}});v(b,
-"beforeRender",function(){this.mapNavigation=new z(this);this.mapNavigation.update()});l.MapNavigation=z});J(b,"Maps/MapPointer.js",[b["Core/Pointer.js"],b["Core/Utilities.js"]],function(b,l){var w=l.extend,y=l.pick;l=l.wrap;w(b.prototype,{onContainerDblClick:function(b){var l=this.chart;b=this.normalize(b);l.options.mapNavigation.enableDoubleClickZoomTo?l.pointer.inClass(b.target,"highcharts-tracker")&&l.hoverPoint&&l.hoverPoint.zoomTo():l.isInsidePlot(b.chartX-l.plotLeft,b.chartY-l.plotTop)&&l.mapZoom(.5,
-l.xAxis[0].toValue(b.chartX),l.yAxis[0].toValue(b.chartY),b.chartX,b.chartY)},onContainerMouseWheel:function(b){var l=this.chart;b=this.normalize(b);var v=b.detail||-(b.wheelDelta/120);l.isInsidePlot(b.chartX-l.plotLeft,b.chartY-l.plotTop)&&l.mapZoom(Math.pow(l.options.mapNavigation.mouseWheelSensitivity,v),l.xAxis[0].toValue(b.chartX),l.yAxis[0].toValue(b.chartY),b.chartX,b.chartY)}});l(b.prototype,"zoomOption",function(b){var l=this.chart.options.mapNavigation;y(l.enableTouchZoom,l.enabled)&&(this.chart.options.chart.pinchType=
-"xy");b.apply(this,[].slice.call(arguments,1))});l(b.prototype,"pinchTranslate",function(b,l,v,t,q,h,c){b.call(this,l,v,t,q,h,c);"map"===this.chart.options.chart.type&&this.hasZoom&&(b=t.scaleX>t.scaleY,this.pinchTranslateDirection(!b,l,v,t,q,h,c,b?t.scaleX:t.scaleY))})});J(b,"Maps/MapSymbols.js",[b["Core/Globals.js"],b["Core/Renderer/SVG/SVGRenderer.js"]],function(b,l){function w(b,l,v,t,q,h,c,p){return[["M",b+q,l],["L",b+v-h,l],["C",b+v-h/2,l,b+v,l+h/2,b+v,l+h],["L",b+v,l+t-c],["C",b+v,l+t-c/2,
-b+v-c/2,l+t,b+v-c,l+t],["L",b+p,l+t],["C",b+p/2,l+t,b,l+t-p/2,b,l+t-p],["L",b,l+q],["C",b,l+q/2,b+q/2,l,b+q,l],["Z"]]}var y=b.Renderer;l.prototype.symbols.topbutton=function(b,l,v,t,q){q=q&&q.r||0;return w(b-1,l-1,v,t,q,q,0,0)};l.prototype.symbols.bottombutton=function(b,l,v,t,q){q=q&&q.r||0;return w(b-1,l-1,v,t,0,0,q,q)};y!==l&&["topbutton","bottombutton"].forEach(function(b){y.prototype.symbols[b]=l.prototype.symbols[b]});return l.prototype.symbols});J(b,"Maps/Map.js",[b["Core/Chart/Chart.js"],
-b["Core/Globals.js"],b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,l,B,y){var w=y.getOptions,C=y.merge,v=y.pick,t;(function(l){l.maps={};l.mapChart=function(h,c,l){var k="string"===typeof h||h.nodeName,p=arguments[k?1:0],f=p,q={endOnTick:!1,visible:!1,minPadding:0,maxPadding:0,startOnTick:!1},t=w().credits;var z=p.series;p.series=null;p=C({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:v(t.mapText,' \u00a9 <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}</a>'),
-mapTextFull:v(t.mapTextFull,"{geojson.copyright}")},tooltip:{followTouchMove:!1},xAxis:q,yAxis:C(q,{reversed:!0})},p,{chart:{inverted:!1,alignTicks:!1}});p.series=f.series=z;return k?new b(h,p,l):new b(p,c)};l.splitPath=function(b){"string"===typeof b&&(b=b.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,""),b=b.split(/[ ,;]+/).map(function(b){return/[A-za-z]/.test(b)?b:parseFloat(b)}));return B.prototype.pathToSegments(b)}})(t||(t={}));l.Map=t.mapChart;l.mapChart=t.mapChart;l.maps=
-t.maps;return t});J(b,"Series/Map/MapPoint.js",[b["Mixins/ColorMapSeries.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B){var w=this&&this.__extends||function(){var b=function(l,t){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,h){b.__proto__=h}||function(b,h){for(var c in h)h.hasOwnProperty(c)&&(b[c]=h[c])};return b(l,t)};return function(l,t){function q(){this.constructor=l}b(l,t);l.prototype=null===t?Object.create(t):(q.prototype=t.prototype,new q)}}();
-b=b.colorMapPointMixin;var z=B.extend;l=function(b){function l(){var l=null!==b&&b.apply(this,arguments)||this;l.options=void 0;l.path=void 0;l.series=void 0;return l}w(l,b);l.prototype.applyOptions=function(l,q){var h=this.series;l=b.prototype.applyOptions.call(this,l,q);q=h.joinBy;h.mapData&&h.mapMap&&(q=b.prototype.getNestedProperty.call(l,q[1]),(q="undefined"!==typeof q&&h.mapMap[q])?(h.xyFromShape&&(l.x=q._midX,l.y=q._midY),z(l,q)):l.value=l.value||null);return l};l.prototype.onMouseOver=function(l){B.clearTimeout(this.colorInterval);
-if(null!==this.value||this.series.options.nullInteraction)b.prototype.onMouseOver.call(this,l);else this.series.onMouseOut(l)};l.prototype.zoomTo=function(){var b=this.series;b.xAxis.setExtremes(this._minX,this._maxX,!1);b.yAxis.setExtremes(this._minY,this._maxY,!1);b.chart.redraw()};return l}(l.seriesTypes.scatter.prototype.pointClass);z(l.prototype,{dataLabelOnNull:b.dataLabelOnNull,isValid:b.isValid,setState:b.setState});return l});J(b,"Series/Map/MapSeries.js",[b["Mixins/ColorMapSeries.js"],b["Core/Globals.js"],
-b["Mixins/LegendSymbol.js"],b["Maps/Map.js"],b["Series/Map/MapPoint.js"],b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C,v,t,q,h){var c=this&&this.__extends||function(){var b=function(a,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return b(a,c)};return function(a,c){function d(){this.constructor=
-a}b(a,c);a.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();b=b.colorMapSeriesMixin;var p=l.noop,k=y.maps,w=y.splitPath;y=t.seriesTypes;var f=y.column,H=y.scatter;y=h.extend;var x=h.fireEvent,K=h.getNestedProperty,L=h.isArray,r=h.isNumber,n=h.merge,u=h.objectEach,e=h.pick,g=h.splat;h=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.baseTrans=void 0;a.chart=void 0;a.data=void 0;a.group=void 0;a.joinBy=void 0;a.options=void 0;a.points=void 0;a.transformGroup=
-void 0;return a}c(a,b);a.prototype.animate=function(a){var b=this.options.animation,c=this.group,d=this.xAxis,e=this.yAxis,f=d.pos,g=e.pos;this.chart.renderer.isSVG&&(!0===b&&(b={duration:1E3}),a?c.attr({translateX:f+d.len/2,translateY:g+e.len/2,scaleX:.001,scaleY:.001}):c.animate({translateX:f,translateY:g,scaleX:1,scaleY:1},b))};a.prototype.animateDrilldown=function(a){var b=this.chart.plotBox,c=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],d=c.bBox,e=this.chart.options.drilldown.animation;
-a||(a=Math.min(d.width/b.width,d.height/b.height),c.shapeArgs={scaleX:a,scaleY:a,translateX:d.x,translateY:d.y},this.points.forEach(function(a){a.graphic&&a.graphic.attr(c.shapeArgs).animate({scaleX:1,scaleY:1,translateX:0,translateY:0},e)}))};a.prototype.animateDrillupFrom=function(a){f.prototype.animateDrillupFrom.call(this,a)};a.prototype.animateDrillupTo=function(a){f.prototype.animateDrillupTo.call(this,a)};a.prototype.doFullTranslate=function(){return this.isDirtyData||this.chart.isResizing||
-this.chart.renderer.isVML||!this.baseTrans};a.prototype.drawMapDataLabels=function(){v.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)};a.prototype.drawPoints=function(){var a=this,b=a.xAxis,c=a.yAxis,d=a.group,g=a.chart,k=g.renderer,h=this.baseTrans;a.transformGroup||(a.transformGroup=k.g().attr({scaleX:1,scaleY:1}).add(d),a.transformGroup.survive=!0);if(a.doFullTranslate())g.hasRendered&&!g.styledMode&&a.points.forEach(function(b){b.shapeArgs&&
-(b.shapeArgs.fill=a.pointAttribs(b,b.state).fill)}),a.group=a.transformGroup,f.prototype.drawPoints.apply(a),a.group=d,a.points.forEach(function(b){if(b.graphic){var c="";b.name&&(c+="highcharts-name-"+b.name.replace(/ /g,"-").toLowerCase());b.properties&&b.properties["hc-key"]&&(c+=" highcharts-key-"+b.properties["hc-key"].toLowerCase());c&&b.graphic.addClass(c);g.styledMode&&b.graphic.css(a.pointAttribs(b,b.selected&&"select"||void 0))}}),this.baseTrans={originX:b.min-b.minPixelPadding/b.transA,
-originY:c.min-c.minPixelPadding/c.transA+(c.reversed?0:c.len/c.transA),transAX:b.transA,transAY:c.transA},this.transformGroup.animate({translateX:0,translateY:0,scaleX:1,scaleY:1});else{var l=b.transA/h.transAX;var n=c.transA/h.transAY;var p=b.toPixels(h.originX,!0);var r=c.toPixels(h.originY,!0);.99<l&&1.01>l&&.99<n&&1.01>n&&(n=l=1,p=Math.round(p),r=Math.round(r));var u=this.transformGroup;if(g.renderer.globalAnimation){var q=u.attr("translateX");var t=u.attr("translateY");var v=u.attr("scaleX");
-var w=u.attr("scaleY");u.attr({animator:0}).animate({animator:1},{step:function(a,b){u.attr({translateX:q+(p-q)*b.pos,translateY:t+(r-t)*b.pos,scaleX:v+(l-v)*b.pos,scaleY:w+(n-w)*b.pos})}})}else u.attr({translateX:p,translateY:r,scaleX:l,scaleY:n})}g.styledMode||d.element.setAttribute("stroke-width",e(a.options[a.pointAttrToOptions&&a.pointAttrToOptions["stroke-width"]||"borderWidth"],1)/(l||1));this.drawMapDataLabels()};a.prototype.getBox=function(a){var b=Number.MAX_VALUE,c=-b,d=b,f=-b,g=b,k=b,
-h=this.xAxis,l=this.yAxis,m;(a||[]).forEach(function(a){if(a.path){"string"===typeof a.path?a.path=w(a.path):"M"===a.path[0]&&(a.path=q.prototype.pathToSegments(a.path));var h=a.path||[],l=-b,n=b,p=-b,r=b,u=a.properties;a._foundBox||(h.forEach(function(a){var b=a[a.length-2];a=a[a.length-1];"number"===typeof b&&"number"===typeof a&&(n=Math.min(n,b),l=Math.max(l,b),r=Math.min(r,a),p=Math.max(p,a))}),a._midX=n+(l-n)*e(a.middleX,u&&u["hc-middle-x"],.5),a._midY=r+(p-r)*e(a.middleY,u&&u["hc-middle-y"],
-.5),a._maxX=l,a._minX=n,a._maxY=p,a._minY=r,a.labelrank=e(a.labelrank,(l-n)*(p-r)),a._foundBox=!0);c=Math.max(c,a._maxX);d=Math.min(d,a._minX);f=Math.max(f,a._maxY);g=Math.min(g,a._minY);k=Math.min(a._maxX-a._minX,a._maxY-a._minY,k);m=!0}});m&&(this.minY=Math.min(g,e(this.minY,b)),this.maxY=Math.max(f,e(this.maxY,-b)),this.minX=Math.min(d,e(this.minX,b)),this.maxX=Math.max(c,e(this.maxX,-b)),h&&"undefined"===typeof h.options.minRange&&(h.minRange=Math.min(5*k,(this.maxX-this.minX)/5,h.minRange||b)),
-l&&"undefined"===typeof l.options.minRange&&(l.minRange=Math.min(5*k,(this.maxY-this.minY)/5,l.minRange||b)))};a.prototype.getExtremes=function(){var a=v.prototype.getExtremes.call(this,this.valueData),b=a.dataMin;a=a.dataMax;this.chart.hasRendered&&this.isDirtyData&&this.getBox(this.options.data);r(b)&&(this.valueMin=b);r(a)&&(this.valueMax=a);return{dataMin:this.minY,dataMax:this.maxY}};a.prototype.hasData=function(){return!!this.processedXData.length};a.prototype.pointAttribs=function(a,b){b=a.series.chart.styledMode?
-this.colorAttribs(a):f.prototype.pointAttribs.call(this,a,b);b["stroke-width"]=e(a.options[this.pointAttrToOptions&&this.pointAttrToOptions["stroke-width"]||"borderWidth"],"inherit");return b};a.prototype.render=function(){var a=this,b=v.prototype.render;a.chart.renderer.isVML&&3E3<a.data.length?setTimeout(function(){b.call(a)}):b.call(a)};a.prototype.setData=function(a,b,c,d){var e=this.options,f=this.chart.options.chart,g=f&&f.map,h=e.mapData,m=this.joinBy,p=e.keys||this.pointArrayMap,q=[],t={},
-w=this.chart.mapTransforms;!h&&g&&(h="string"===typeof g?k[g]:g);a&&a.forEach(function(b,c){var d=0;if(r(b))a[c]={value:b};else if(L(b)){a[c]={};!e.keys&&b.length>p.length&&"string"===typeof b[0]&&(a[c]["hc-key"]=b[0],++d);for(var f=0;f<p.length;++f,++d)p[f]&&"undefined"!==typeof b[d]&&(0<p[f].indexOf(".")?z.prototype.setNestedProperty(a[c],b[d],p[f]):a[c][p[f]]=b[d])}m&&"_i"===m[0]&&(a[c]._i=c)});this.getBox(a);(this.chart.mapTransforms=w=f&&f.mapTransforms||h&&h["hc-transform"]||w)&&u(w,function(a){a.rotation&&
-(a.cosAngle=Math.cos(a.rotation),a.sinAngle=Math.sin(a.rotation))});if(h){"FeatureCollection"===h.type&&(this.mapTitle=h.title,h=l.geojson(h,this.type,this));this.mapData=h;this.mapMap={};for(w=0;w<h.length;w++)f=h[w],g=f.properties,f._i=w,m[0]&&g&&g[m[0]]&&(f[m[0]]=g[m[0]]),t[f[m[0]]]=f;this.mapMap=t;if(a&&m[1]){var x=m[1];a.forEach(function(a){a=K(x,a);t[a]&&q.push(t[a])})}if(e.allAreas){this.getBox(h);a=a||[];if(m[1]){var A=m[1];a.forEach(function(a){q.push(K(A,a))})}q="|"+q.map(function(a){return a&&
-a[m[0]]}).join("|")+"|";h.forEach(function(b){m[0]&&-1!==q.indexOf("|"+b[m[0]]+"|")||(a.push(n(b,{value:null})),d=!1)})}else this.getBox(q)}v.prototype.setData.call(this,a,b,c,d)};a.prototype.setOptions=function(a){a=v.prototype.setOptions.call(this,a);var b=a.joinBy;null===b&&(b="_i");b=this.joinBy=g(b);b[1]||(b[1]=b[0]);return a};a.prototype.translate=function(){var a=this,b=a.xAxis,c=a.yAxis,d=a.doFullTranslate();a.generatePoints();a.data.forEach(function(e){r(e._midX)&&r(e._midY)&&(e.plotX=b.toPixels(e._midX,
-!0),e.plotY=c.toPixels(e._midY,!0));d&&(e.shapeType="path",e.shapeArgs={d:a.translatePath(e.path)})});x(a,"afterTranslate")};a.prototype.translatePath=function(a){var b=this.xAxis,c=this.yAxis,d=b.min,e=b.transA,f=b.minPixelPadding,g=c.min,k=c.transA,h=c.minPixelPadding,l=[];a&&a.forEach(function(a){"M"===a[0]?l.push(["M",(a[1]-(d||0))*e+f,(a[2]-(g||0))*k+h]):"L"===a[0]?l.push(["L",(a[1]-(d||0))*e+f,(a[2]-(g||0))*k+h]):"C"===a[0]?l.push(["C",(a[1]-(d||0))*e+f,(a[2]-(g||0))*k+h,(a[3]-(d||0))*e+f,(a[4]-
-(g||0))*k+h,(a[5]-(d||0))*e+f,(a[6]-(g||0))*k+h]):"Q"===a[0]?l.push(["Q",(a[1]-(d||0))*e+f,(a[2]-(g||0))*k+h,(a[3]-(d||0))*e+f,(a[4]-(g||0))*k+h]):"Z"===a[0]&&l.push(["Z"])});return l};a.defaultOptions=n(H.defaultOptions,{animation:!1,dataLabels:{crop:!1,formatter:function(){return this.point.value},inside:!0,overflow:!1,padding:0,verticalAlign:"middle"},marker:null,nullColor:C.neutralColor3,stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.value}<br/>"},turboThreshold:0,
-allAreas:!0,borderColor:C.neutralColor20,borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:C.neutralColor20},inactive:{opacity:1}}});return a}(H);y(h.prototype,{type:"map",axisTypes:b.axisTypes,colorAttribs:b.colorAttribs,colorKey:b.colorKey,directTouch:!0,drawDataLabels:p,drawGraph:p,drawLegendSymbol:B.drawRectangle,forceDL:!0,getExtremesFromAll:!0,getSymbol:b.getSymbol,parallelArrays:b.parallelArrays,pointArrayMap:b.pointArrayMap,pointClass:z,
-preserveAspectRatio:!0,searchPoint:p,trackerGroups:b.trackerGroups,useMapGeometry:!0});t.registerSeriesType("map",h);"";return h});J(b,"Series/MapLine/MapLineSeries.js",[b["Series/Map/MapSeries.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B){var w=this&&this.__extends||function(){var b=function(l,h){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,h){b.__proto__=h}||function(b,h){for(var c in h)h.hasOwnProperty(c)&&(b[c]=h[c])};return b(l,h)};return function(l,
-h){function c(){this.constructor=l}b(l,h);l.prototype=null===h?Object.create(h):(c.prototype=h.prototype,new c)}}(),z=l.series,C=B.extend,v=B.merge;B=function(l){function q(){var b=null!==l&&l.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}w(q,l);q.prototype.pointAttribs=function(h,c){h=b.prototype.pointAttribs.call(this,h,c);h.fill=this.options.fillColor;return h};q.defaultOptions=v(b.defaultOptions,{lineWidth:1,fillColor:"none"});return q}(b);C(B.prototype,{type:"mapline",
-colorProp:"stroke",drawLegendSymbol:z.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}});l.registerSeriesType("mapline",B);"";return B});J(b,"Series/MapPoint/MapPointPoint.js",[b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l){var w=this&&this.__extends||function(){var b=function(l,v){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,l){b.__proto__=l}||function(b,l){for(var h in l)l.hasOwnProperty(h)&&(b[h]=l[h])};return b(l,
-v)};return function(l,v){function t(){this.constructor=l}b(l,v);l.prototype=null===v?Object.create(v):(t.prototype=v.prototype,new t)}}(),y=l.merge;return function(b){function l(){var l=null!==b&&b.apply(this,arguments)||this;l.options=void 0;l.series=void 0;return l}w(l,b);l.prototype.applyOptions=function(l,t){l="undefined"!==typeof l.lat&&"undefined"!==typeof l.lon?y(l,this.series.chart.fromLatLonToPoint(l)):l;return b.prototype.applyOptions.call(this,l,t)};return l}(b.seriesTypes.scatter.prototype.pointClass)});
-J(b,"Series/MapPoint/MapPointSeries.js",[b["Series/MapPoint/MapPointPoint.js"],b["Core/Color/Palette.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B,y){var w=this&&this.__extends||function(){var b=function(h,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var k in c)c.hasOwnProperty(k)&&(b[k]=c[k])};return b(h,c)};return function(h,c){function l(){this.constructor=h}b(h,c);h.prototype=null===c?Object.create(c):
-(l.prototype=c.prototype,new l)}}(),C=B.seriesTypes.scatter,v=y.extend,t=y.merge;y=function(b){function h(){var c=null!==b&&b.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}w(h,b);h.prototype.drawDataLabels=function(){b.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)};h.defaultOptions=t(C.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:l.neutralColor100}}});
-return h}(C);v(y.prototype,{type:"mappoint",forceDL:!0,pointClass:b});B.registerSeriesType("mappoint",y);"";return y});J(b,"Series/Bubble/BubblePoint.js",[b["Core/Series/Point.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B){var w=this&&this.__extends||function(){var b=function(l,v){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,l){b.__proto__=l}||function(b,l){for(var h in l)l.hasOwnProperty(h)&&(b[h]=l[h])};return b(l,v)};return function(l,v){function t(){this.constructor=
-l}b(l,v);l.prototype=null===v?Object.create(v):(t.prototype=v.prototype,new t)}}();B=B.extend;l=function(l){function z(){var b=null!==l&&l.apply(this,arguments)||this;b.options=void 0;b.series=void 0;return b}w(z,l);z.prototype.haloPath=function(l){return b.prototype.haloPath.call(this,0===l?0:(this.marker?this.marker.radius||0:0)+l)};return z}(l.seriesTypes.scatter.prototype.pointClass);B(l.prototype,{ttBelow:!1});return l});J(b,"Series/Bubble/BubbleLegend.js",[b["Core/Chart/Chart.js"],b["Core/Color/Color.js"],
-b["Core/Globals.js"],b["Core/Legend.js"],b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C,v){var t=l.parse,q=B.noop;l=v.addEvent;var h=v.arrayMax,c=v.arrayMin,p=v.isNumber,k=v.merge,w=v.objectEach,f=v.pick,H=v.setOptions,x=v.stableSort,K=v.wrap;"";H({legend:{bubbleLegend:{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,
-allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:10,color:void 0},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}});H=function(){function b(b,c){this.options=this.symbols=this.visible=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=
-this.chart=void 0;this.setState=q;this.init(b,c)}b.prototype.init=function(b,c){this.options=b;this.visible=!0;this.chart=c.chart;this.legend=c};b.prototype.addToLegend=function(b){b.splice(this.options.legendIndex,0,this)};b.prototype.drawLegendSymbol=function(b){var c=this.chart,k=this.options,e=f(b.options.itemDistance,20),g=k.ranges;var d=k.connectorDistance;this.fontMetrics=c.renderer.fontMetrics(k.labels.style.fontSize.toString()+"px");g&&g.length&&p(g[0].value)?(x(g,function(a,b){return b.value-
-a.value}),this.ranges=g,this.setOptions(),this.render(),c=this.getMaxLabelSize(),g=this.ranges[0].radius,b=2*g,d=d-g+c.width,d=0<d?d:0,this.maxLabel=c,this.movementX="left"===k.labels.align?d:0,this.legendItemWidth=b+d+e,this.legendItemHeight=b+this.fontMetrics.h/2):b.options.bubbleLegend.autoRanges=!0};b.prototype.setOptions=function(){var b=this.ranges,c=this.options,h=this.chart.series[c.seriesIndex],e=this.legend.baseline,g={"z-index":c.zIndex,"stroke-width":c.borderWidth},d={"z-index":c.zIndex,
-"stroke-width":c.connectorWidth},a=this.getLabelStyles(),l=h.options.marker.fillOpacity,p=this.chart.styledMode;b.forEach(function(m,n){p||(g.stroke=f(m.borderColor,c.borderColor,h.color),g.fill=f(m.color,c.color,1!==l?t(h.color).setOpacity(l).get("rgba"):h.color),d.stroke=f(m.connectorColor,c.connectorColor,h.color));b[n].radius=this.getRangeRadius(m.value);b[n]=k(b[n],{center:b[0].radius-b[n].radius+e});p||k(!0,b[n],{bubbleStyle:k(!1,g),connectorStyle:k(!1,d),labelStyle:a})},this)};b.prototype.getLabelStyles=
-function(){var b=this.options,c={},h="left"===b.labels.align,e=this.legend.options.rtl;w(b.labels.style,function(b,d){"color"!==d&&"fontSize"!==d&&"z-index"!==d&&(c[d]=b)});return k(!1,c,{"font-size":b.labels.style.fontSize,fill:f(b.labels.style.color,z.neutralColor100),"z-index":b.zIndex,align:e||h?"right":"left"})};b.prototype.getRangeRadius=function(b){var c=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,c.ranges[c.ranges.length-1].value,c.ranges[0].value,c.minSize,
-c.maxSize,b)};b.prototype.render=function(){var b=this.chart.renderer,c=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});this.legendSymbol=b.g("bubble-legend");this.legendItem=b.g("bubble-legend-item");this.legendSymbol.translateX=0;this.legendSymbol.translateY=0;this.ranges.forEach(function(b){b.value>=c&&this.renderRange(b)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()};b.prototype.renderRange=
-function(b){var c=this.options,f=c.labels,e=this.chart.renderer,g=this.symbols,d=g.labels,a=b.center,k=Math.abs(b.radius),h=c.connectorDistance||0,l=f.align,p=f.style.fontSize;h=this.legend.options.rtl||"left"===l?-h:h;f=c.connectorWidth;var r=this.ranges[0].radius||0,q=a-k-c.borderWidth/2+f/2;p=p/2-(this.fontMetrics.h-p)/2;var t=e.styledMode;"center"===l&&(h=0,c.connectorDistance=0,b.labelStyle.align="center");l=q+c.labels.y;var v=r+h+c.labels.x;g.bubbleItems.push(e.circle(r,a+((q%1?1:.5)-(f%2?0:
-.5)),k).attr(t?{}:b.bubbleStyle).addClass((t?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-symbol "+(c.className||"")).add(this.legendSymbol));g.connectors.push(e.path(e.crispLine([["M",r,q],["L",r+h,q]],c.connectorWidth)).attr(t?{}:b.connectorStyle).addClass((t?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(c.connectorClassName||"")).add(this.legendSymbol));b=e.text(this.formatLabel(b),v,l+p).attr(t?{}:b.labelStyle).addClass("highcharts-bubble-legend-labels "+
-(c.labels.className||"")).add(this.legendSymbol);d.push(b);b.placed=!0;b.alignAttr={x:v,y:l+p}};b.prototype.getMaxLabelSize=function(){var b,c;this.symbols.labels.forEach(function(f){c=f.getBBox(!0);b=b?c.width>b.width?c:b:c});return b||{}};b.prototype.formatLabel=function(b){var c=this.options,f=c.labels.formatter;c=c.labels.format;var e=this.chart.numberFormatter;return c?v.format(c,b):f?f.call(b):e(b.value,1)};b.prototype.hideOverlappingLabels=function(){var b=this.chart,c=this.symbols;!this.options.labels.allowOverlap&&
-c&&(b.hideOverlappingLabels(c.labels),c.labels.forEach(function(b,e){b.newOpacity?b.newOpacity!==b.oldOpacity&&c.connectors[e].show():c.connectors[e].hide()}))};b.prototype.getRanges=function(){var b=this.legend.bubbleLegend,l=b.options.ranges,u,e=Number.MAX_VALUE,g=-Number.MAX_VALUE;b.chart.series.forEach(function(a){a.isBubble&&!a.ignoreSeries&&(u=a.zData.filter(p),u.length&&(e=f(a.options.zMin,Math.min(e,Math.max(c(u),!1===a.options.displayNegative?a.options.zThreshold:-Number.MAX_VALUE))),g=f(a.options.zMax,
-Math.max(g,h(u)))))});var d=e===g?[{value:g}]:[{value:e},{value:(e+g)/2},{value:g,autoRanges:!0}];l.length&&l[0].radius&&d.reverse();d.forEach(function(a,b){l&&l[b]&&(d[b]=k(!1,l[b],a))});return d};b.prototype.predictBubbleSizes=function(){var b=this.chart,c=this.fontMetrics,f=b.legend.options,e="horizontal"===f.layout,g=e?b.legend.lastLineHeight:0,d=b.plotSizeX,a=b.plotSizeY,h=b.series[this.options.seriesIndex];b=Math.ceil(h.minPxSize);var k=Math.ceil(h.maxPxSize);h=h.options.maxSize;var l=Math.min(a,
-d);if(f.floating||!/%$/.test(h))c=k;else if(h=parseFloat(h),c=(l+g-c.h/2)*h/100/(h/100+1),e&&a-c>=d||!e&&d-c>=a)c=k;return[b,Math.ceil(c)]};b.prototype.updateRanges=function(b,c){var f=this.legend.options.bubbleLegend;f.minSize=b;f.maxSize=c;f.ranges=this.getRanges()};b.prototype.correctSizes=function(){var b=this.legend,c=this.chart.series[this.options.seriesIndex];1<Math.abs(Math.ceil(c.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,c.maxPxSize),b.render())};return b}();
-l(y,"afterGetAllItems",function(b){var c=this.bubbleLegend,f=this.options,h=f.bubbleLegend,e=this.chart.getVisibleBubbleSeriesIndex();c&&c.ranges&&c.ranges.length&&(h.ranges.length&&(h.autoRanges=!!h.ranges[0].autoRanges),this.destroyItem(c));0<=e&&f.enabled&&h.enabled&&(h.seriesIndex=e,this.bubbleLegend=new B.BubbleLegend(h,this),this.bubbleLegend.addToLegend(b.allItems))});b.prototype.getVisibleBubbleSeriesIndex=function(){for(var b=this.series,c=0;c<b.length;){if(b[c]&&b[c].isBubble&&b[c].visible&&
-b[c].zData.length)return c;c++}return-1};y.prototype.getLinesHeights=function(){var b=this.allItems,c=[],f=b.length,h,e=0;for(h=0;h<f;h++)if(b[h].legendItemHeight&&(b[h].itemHeight=b[h].legendItemHeight),b[h]===b[f-1]||b[h+1]&&b[h]._legendItemPos[1]!==b[h+1]._legendItemPos[1]){c.push({height:0});var g=c[c.length-1];for(e;e<=h;e++)b[e].itemHeight>g.height&&(g.height=b[e].itemHeight);g.step=h}return c};y.prototype.retranslateItems=function(b){var c,f,h,e=this.options.rtl,g=0;this.allItems.forEach(function(d,
-a){c=d.legendGroup.translateX;f=d._legendItemPos[1];if((h=d.movementX)||e&&d.ranges)h=e?c-d.options.maxSize/2:c+h,d.legendGroup.attr({translateX:h});a>b[g].step&&g++;d.legendGroup.attr({translateY:Math.round(f+b[g].height/2)});d._legendItemPos[1]=f+b[g].height/2})};l(C,"legendItemClick",function(){var b=this.chart,c=this.visible,f=this.chart.legend;f&&f.bubbleLegend&&(this.visible=!c,this.ignoreSeries=c,b=0<=b.getVisibleBubbleSeriesIndex(),f.bubbleLegend.visible!==b&&(f.update({bubbleLegend:{enabled:b}}),
-f.bubbleLegend.visible=b),this.visible=c)});K(b.prototype,"drawChartBox",function(b,c,f){var h=this.legend,e=0<=this.getVisibleBubbleSeriesIndex();if(h&&h.options.enabled&&h.bubbleLegend&&h.options.bubbleLegend.autoRanges&&e){var g=h.bubbleLegend.options;e=h.bubbleLegend.predictBubbleSizes();h.bubbleLegend.updateRanges(e[0],e[1]);g.placed||(h.group.placed=!1,h.allItems.forEach(function(b){b.legendGroup.translateY=null}));h.render();this.getMargins();this.axes.forEach(function(b){b.visible&&b.render();
-g.placed||(b.setScale(),b.updateNames(),w(b.ticks,function(a){a.isNew=!0;a.isNewLabel=!0}))});g.placed=!0;this.getMargins();b.call(this,c,f);h.bubbleLegend.correctSizes();h.retranslateItems(h.getLinesHeights())}else b.call(this,c,f),h&&h.options.enabled&&h.bubbleLegend&&(h.render(),h.retranslateItems(h.getLinesHeights()))});B.BubbleLegend=H;return B.BubbleLegend});J(b,"Series/Bubble/BubbleSeries.js",[b["Core/Axis/Axis.js"],b["Series/Bubble/BubblePoint.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],
-b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C,v){var t=this&&this.__extends||function(){var b=function(c,f){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var d in c)c.hasOwnProperty(d)&&(b[d]=c[d])};return b(c,f)};return function(c,f){function e(){this.constructor=c}b(c,f);c.prototype=null===f?Object.create(f):(e.prototype=f.prototype,new e)}}(),q=B.parse;B=y.noop;var h=C.seriesTypes;
-y=h.column;var c=h.scatter,p=v.arrayMax,k=v.arrayMin,w=v.clamp,f=v.extend,H=v.isNumber,x=v.merge,K=v.pick,L=v.pInt;v=function(b){function h(){var c=null!==b&&b.apply(this,arguments)||this;c.data=void 0;c.maxPxSize=void 0;c.minPxSize=void 0;c.options=void 0;c.points=void 0;c.radii=void 0;c.yData=void 0;c.zData=void 0;return c}t(h,b);h.prototype.animate=function(b){!b&&this.points.length<this.options.animationLimit&&this.points.forEach(function(b){var c=b.graphic;c&&c.width&&(this.hasRendered||c.attr({x:b.plotX,
-y:b.plotY,width:1,height:1}),c.animate(this.markerAttribs(b),this.options.animation))},this)};h.prototype.getRadii=function(b,c,f){var d=this.zData,a=this.yData,e=f.minPxSize,g=f.maxPxSize,h=[];var k=0;for(f=d.length;k<f;k++){var l=d[k];h.push(this.getRadius(b,c,e,g,l,a[k]))}this.radii=h};h.prototype.getRadius=function(b,c,f,d,a,h){var e=this.options,g="width"!==e.sizeBy,k=e.zThreshold,l=c-b,m=.5;if(null===h||null===a)return null;if(H(a)){e.sizeByAbsoluteValue&&(a=Math.abs(a-k),l=Math.max(c-k,Math.abs(b-
-k)),b=0);if(a<b)return f/2-1;0<l&&(m=(a-b)/l)}g&&0<=m&&(m=Math.sqrt(m));return Math.ceil(f+m*(d-f))/2};h.prototype.hasData=function(){return!!this.processedXData.length};h.prototype.pointAttribs=function(b,c){var e=this.options.marker.fillOpacity;b=z.prototype.pointAttribs.call(this,b,c);1!==e&&(b.fill=q(b.fill).setOpacity(e).get("rgba"));return b};h.prototype.translate=function(){var c,e=this.data,g=this.radii;b.prototype.translate.call(this);for(c=e.length;c--;){var d=e[c];var a=g?g[c]:0;H(a)&&
-a>=this.minPxSize/2?(d.marker=f(d.marker,{radius:a,width:2*a,height:2*a}),d.dlBox={x:d.plotX-a,y:d.plotY-a,width:2*a,height:2*a}):d.shapeArgs=d.plotY=d.dlBox=void 0}};h.defaultOptions=x(c.defaultOptions,{dataLabels:{formatter:function(){return this.point.z},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},
-turboThreshold:0,zThreshold:0,zoneAxis:"z"});return h}(c);f(v.prototype,{alignDataLabel:y.prototype.alignDataLabel,applyZones:B,bubblePadding:!0,buildKDTree:B,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:l,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"});b.prototype.beforePadding=function(){var b=this,c=this.len,f=this.chart,e=0,g=c,d=this.isXAxis,a=d?"xData":"yData",h=this.min,l={},q=Math.min(f.plotWidth,f.plotHeight),t=Number.MAX_VALUE,
-v=-Number.MAX_VALUE,x=this.max-h,z=c/x,y=[];this.series.forEach(function(a){var c=a.options;!a.bubblePadding||!a.visible&&f.options.chart.ignoreHiddenSeries||(b.allowZoomOutside=!0,y.push(a),d&&(["minSize","maxSize"].forEach(function(a){var b=c[a],d=/%$/.test(b);b=L(b);l[a]=d?q*b/100:b}),a.minPxSize=l.minSize,a.maxPxSize=Math.max(l.maxSize,l.minSize),a=a.zData.filter(H),a.length&&(t=K(c.zMin,w(k(a),!1===c.displayNegative?c.zThreshold:-Number.MAX_VALUE,t)),v=K(c.zMax,Math.max(v,p(a))))))});y.forEach(function(c){var f=
-c[a],k=f.length;d&&c.getRadii(t,v,c);if(0<x)for(;k--;)if(H(f[k])&&b.dataMin<=f[k]&&f[k]<=b.max){var l=c.radii?c.radii[k]:0;e=Math.min((f[k]-h)*z-l,e);g=Math.max((f[k]-h)*z+l,g)}});y.length&&0<x&&!this.logarithmic&&(g-=c,z*=(c+Math.max(0,e)-Math.min(g,c))/c,[["min","userMin",e],["max","userMax",g]].forEach(function(a){"undefined"===typeof K(b.options[a[0]],b[a[1]])&&(b[a[0]]+=a[2]/z)}))};C.registerSeriesType("bubble",v);"";"";return v});J(b,"Series/MapBubble/MapBubblePoint.js",[b["Core/Series/SeriesRegistry.js"],
-b["Core/Utilities.js"]],function(b,l){var w=this&&this.__extends||function(){var b=function(l,q){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var h in c)c.hasOwnProperty(h)&&(b[h]=c[h])};return b(l,q)};return function(l,q){function h(){this.constructor=l}b(l,q);l.prototype=null===q?Object.create(q):(h.prototype=q.prototype,new h)}}(),y=b.seriesTypes,z=y.map;b=l.extend;var C=l.merge;l=function(b){function l(){return null!==b&&b.apply(this,
-arguments)||this}w(l,b);l.prototype.applyOptions=function(l,h){return l&&"undefined"!==typeof l.lat&&"undefined"!==typeof l.lon?b.prototype.applyOptions.call(this,C(l,this.series.chart.fromLatLonToPoint(l)),h):z.prototype.pointClass.prototype.applyOptions.call(this,l,h)};l.prototype.isValid=function(){return"number"===typeof this.z};return l}(y.bubble.prototype.pointClass);b(l.prototype,{ttBelow:!1});return l});J(b,"Series/MapBubble/MapBubbleSeries.js",[b["Series/Bubble/BubbleSeries.js"],b["Series/MapBubble/MapBubblePoint.js"],
-b["Series/Map/MapSeries.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B,y,z){var w=this&&this.__extends||function(){var b=function(h,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var h in c)c.hasOwnProperty(h)&&(b[h]=c[h])};return b(h,c)};return function(h,c){function l(){this.constructor=h}b(h,c);h.prototype=null===c?Object.create(c):(l.prototype=c.prototype,new l)}}(),v=z.extend,t=z.merge;z=function(l){function h(){var b=
-null!==l&&l.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}w(h,l);h.defaultOptions=t(b.defaultOptions,{animationLimit:500,tooltip:{pointFormat:"{point.name}: {point.z}"}});return h}(b);v(z.prototype,{type:"mapbubble",getBox:B.prototype.getBox,pointArrayMap:["z"],pointClass:l,setData:B.prototype.setData,setOptions:B.prototype.setOptions,xyFromShape:!0});y.registerSeriesType("mapbubble",z);"";return z});J(b,"Series/Heatmap/HeatmapPoint.js",[b["Mixins/ColorMapSeries.js"],
-b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,l,B){var w=this&&this.__extends||function(){var b=function(l,h){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,h){b.__proto__=h}||function(b,h){for(var c in h)h.hasOwnProperty(c)&&(b[c]=h[c])};return b(l,h)};return function(l,h){function c(){this.constructor=l}b(l,h);l.prototype=null===h?Object.create(h):(c.prototype=h.prototype,new c)}}();b=b.colorMapPointMixin;var z=B.clamp,C=B.extend,v=B.pick;l=function(b){function l(){var h=
-null!==b&&b.apply(this,arguments)||this;h.options=void 0;h.series=void 0;h.value=void 0;h.x=void 0;h.y=void 0;return h}w(l,b);l.prototype.applyOptions=function(h,c){h=b.prototype.applyOptions.call(this,h,c);h.formatPrefix=h.isNull||null===h.value?"null":"point";return h};l.prototype.getCellAttributes=function(){var b=this.series,c=b.options,l=(c.colsize||1)/2,k=(c.rowsize||1)/2,q=b.xAxis,f=b.yAxis,t=this.options.marker||b.options.marker;b=b.pointPlacementToXValue();var w=v(this.pointPadding,c.pointPadding,
-0),y={x1:z(Math.round(q.len-(q.translate(this.x-l,!1,!0,!1,!0,-b)||0)),-q.len,2*q.len),x2:z(Math.round(q.len-(q.translate(this.x+l,!1,!0,!1,!0,-b)||0)),-q.len,2*q.len),y1:z(Math.round(f.translate(this.y-k,!1,!0,!1,!0)||0),-f.len,2*f.len),y2:z(Math.round(f.translate(this.y+k,!1,!0,!1,!0)||0),-f.len,2*f.len)};[["width","x"],["height","y"]].forEach(function(b){var c=b[0];b=b[1];var f=b+"1",h=b+"2",e=Math.abs(y[f]-y[h]),g=t&&t.lineWidth||0,d=Math.abs(y[f]+y[h])/2;t[c]&&t[c]<e&&(y[f]=d-t[c]/2-g/2,y[h]=
-d+t[c]/2+g/2);w&&("y"===b&&(f=h,h=b+"1"),y[f]+=w,y[h]-=w)});return y};l.prototype.haloPath=function(b){if(!b)return[];var c=this.shapeArgs;return["M",c.x-b,c.y-b,"L",c.x-b,c.y+c.height+b,c.x+c.width+b,c.y+c.height+b,c.x+c.width+b,c.y-b,"Z"]};l.prototype.isValid=function(){return Infinity!==this.value&&-Infinity!==this.value};return l}(l.seriesTypes.scatter.prototype.pointClass);C(l.prototype,{dataLabelOnNull:b.dataLabelOnNull,setState:b.setState});return l});J(b,"Series/Heatmap/HeatmapSeries.js",
-[b["Mixins/ColorMapSeries.js"],b["Core/Globals.js"],b["Series/Heatmap/HeatmapPoint.js"],b["Mixins/LegendSymbol.js"],b["Core/Color/Palette.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,l,B,y,z,C,v,t){var q=this&&this.__extends||function(){var b=function(c,e){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var a in c)c.hasOwnProperty(a)&&(b[a]=c[a])};return b(c,e)};return function(c,
-e){function f(){this.constructor=c}b(c,e);c.prototype=null===e?Object.create(e):(f.prototype=e.prototype,new f)}}();b=b.colorMapSeriesMixin;var h=l.noop,c=C.series,p=C.seriesTypes,k=p.column,w=p.scatter,f=v.prototype.symbols,H=t.extend,x=t.fireEvent,K=t.isNumber,J=t.merge,r=t.pick;v=function(b){function h(){var c=null!==b&&b.apply(this,arguments)||this;c.colorAxis=void 0;c.data=void 0;c.options=void 0;c.points=void 0;c.valueMax=NaN;c.valueMin=NaN;return c}q(h,b);h.prototype.drawPoints=function(){var b=
-this;if((this.options.marker||{}).enabled||this._hasPointMarkers)c.prototype.drawPoints.call(this),this.points.forEach(function(c){c.graphic&&c.graphic[b.chart.styledMode?"css":"animate"](b.colorAttribs(c))})};h.prototype.getExtremes=function(){var b=c.prototype.getExtremes.call(this,this.valueData),f=b.dataMin;b=b.dataMax;K(f)&&(this.valueMin=f);K(b)&&(this.valueMax=b);return c.prototype.getExtremes.call(this)};h.prototype.getValidPoints=function(b,f){return c.prototype.getValidPoints.call(this,
-b,f,!0)};h.prototype.hasData=function(){return!!this.processedXData.length};h.prototype.init=function(){c.prototype.init.apply(this,arguments);var b=this.options;b.pointRange=r(b.pointRange,b.colsize||1);this.yAxis.axisPointRange=b.rowsize||1;H(f,{ellipse:f.circle,rect:f.square})};h.prototype.markerAttribs=function(b,c){var d=b.marker||{},a=this.options.marker||{},e=b.shapeArgs||{},f={};if(b.hasImage)return{x:b.plotX,y:b.plotY};if(c){var g=a.states[c]||{};var h=d.states&&d.states[c]||{};[["width",
-"x"],["height","y"]].forEach(function(a){f[a[0]]=(h[a[0]]||g[a[0]]||e[a[0]])+(h[a[0]+"Plus"]||g[a[0]+"Plus"]||0);f[a[1]]=e[a[1]]+(e[a[0]]-f[a[0]])/2})}return c?f:e};h.prototype.pointAttribs=function(b,f){var d=c.prototype.pointAttribs.call(this,b,f),a=this.options||{},e=this.chart.options.plotOptions||{},g=e.series||{},h=e.heatmap||{};e=a.borderColor||h.borderColor||g.borderColor;g=a.borderWidth||h.borderWidth||g.borderWidth||d["stroke-width"];d.stroke=b&&b.marker&&b.marker.lineColor||a.marker&&a.marker.lineColor||
-e||this.color;d["stroke-width"]=g;f&&(b=J(a.states[f],a.marker&&a.marker.states[f],b&&b.options.states&&b.options.states[f]||{}),f=b.brightness,d.fill=b.color||l.color(d.fill).brighten(f||0).get(),d.stroke=b.lineColor);return d};h.prototype.setClip=function(b){var e=this.chart;c.prototype.setClip.apply(this,arguments);(!1!==this.options.clip||b)&&this.markerGroup.clip((b||this.clipBox)&&this.sharedClipKey?e[this.sharedClipKey]:e.clipRect)};h.prototype.translate=function(){var b=this.options,c=b.marker&&
-b.marker.symbol||"",d=f[c]?c:"rect";b=this.options;var a=-1!==["circle","square"].indexOf(d);this.generatePoints();this.points.forEach(function(b){var e=b.getCellAttributes(),g={x:Math.min(e.x1,e.x2),y:Math.min(e.y1,e.y2),width:Math.max(Math.abs(e.x2-e.x1),0),height:Math.max(Math.abs(e.y2-e.y1),0)};var h=b.hasImage=0===(b.marker&&b.marker.symbol||c||"").indexOf("url");if(a){var k=Math.abs(g.width-g.height);g.x=Math.min(e.x1,e.x2)+(g.width<g.height?0:k/2);g.y=Math.min(e.y1,e.y2)+(g.width<g.height?
-k/2:0);g.width=g.height=Math.min(g.width,g.height)}k={plotX:(e.x1+e.x2)/2,plotY:(e.y1+e.y2)/2,clientX:(e.x1+e.x2)/2,shapeType:"path",shapeArgs:J(!0,g,{d:f[d](g.x,g.y,g.width,g.height)})};h&&(b.marker={width:g.width,height:g.height});H(b,k)});x(this,"afterTranslate")};h.defaultOptions=J(w.defaultOptions,{animation:!1,borderWidth:0,nullColor:z.neutralColor3,dataLabels:{formatter:function(){return this.point.value},inside:!0,verticalAlign:"middle",crop:!1,overflow:!1,padding:0},marker:{symbol:"rect",
-radius:0,lineColor:void 0,states:{hover:{lineWidthPlus:0},select:{}}},clip:!0,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}<br/>"},states:{hover:{halo:!1,brightness:.2}}});return h}(w);H(v.prototype,{alignDataLabel:k.prototype.alignDataLabel,axisTypes:b.axisTypes,colorAttribs:b.colorAttribs,colorKey:b.colorKey,directTouch:!0,drawLegendSymbol:y.drawRectangle,getBox:h,getExtremesFromAll:!0,getSymbol:c.prototype.getSymbol,hasPointSpecificOptions:!0,parallelArrays:b.parallelArrays,
-pointArrayMap:["y","value"],pointClass:B,trackerGroups:b.trackerGroups});C.registerSeriesType("heatmap",v);"";"";return v});J(b,"Extensions/GeoJSON.js",[b["Core/Chart/Chart.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,l,B){function w(b,c){var h,k=!1,l=b.x,f=b.y;b=0;for(h=c.length-1;b<c.length;h=b++){var q=c[b][1]>f;var t=c[h][1]>f;q!==t&&l<(c[h][0]-c[b][0])*(f-c[b][1])/(c[h][1]-c[b][1])+c[b][0]&&(k=!k)}return k}var z=l.win,C=B.error,v=B.extend,t=B.format,q=B.merge;B=B.wrap;"";b.prototype.transformFromLatLon=
-function(b,c){var h,k=(null===(h=this.userOptions.chart)||void 0===h?void 0:h.proj4)||z.proj4;if(!k)return C(21,!1,this),{x:0,y:null};b=k(c.crs,[b.lon,b.lat]);h=c.cosAngle||c.rotation&&Math.cos(c.rotation);k=c.sinAngle||c.rotation&&Math.sin(c.rotation);b=c.rotation?[b[0]*h+b[1]*k,-b[0]*k+b[1]*h]:b;return{x:((b[0]-(c.xoffset||0))*(c.scale||1)+(c.xpan||0))*(c.jsonres||1)+(c.jsonmarginX||0),y:(((c.yoffset||0)-b[1])*(c.scale||1)+(c.ypan||0))*(c.jsonres||1)-(c.jsonmarginY||0)}};b.prototype.transformToLatLon=
-function(b,c){if("undefined"===typeof z.proj4)C(21,!1,this);else{b={x:((b.x-(c.jsonmarginX||0))/(c.jsonres||1)-(c.xpan||0))/(c.scale||1)+(c.xoffset||0),y:((-b.y-(c.jsonmarginY||0))/(c.jsonres||1)+(c.ypan||0))/(c.scale||1)+(c.yoffset||0)};var h=c.cosAngle||c.rotation&&Math.cos(c.rotation),k=c.sinAngle||c.rotation&&Math.sin(c.rotation);c=z.proj4(c.crs,"WGS84",c.rotation?{x:b.x*h+b.y*-k,y:b.x*k+b.y*h}:b);return{lat:c.y,lon:c.x}}};b.prototype.fromPointToLatLon=function(b){var c=this.mapTransforms,h;if(c){for(h in c)if(Object.hasOwnProperty.call(c,
-h)&&c[h].hitZone&&w({x:b.x,y:-b.y},c[h].hitZone.coordinates[0]))return this.transformToLatLon(b,c[h]);return this.transformToLatLon(b,c["default"])}C(22,!1,this)};b.prototype.fromLatLonToPoint=function(b){var c=this.mapTransforms,h;if(!c)return C(22,!1,this),{x:0,y:null};for(h in c)if(Object.hasOwnProperty.call(c,h)&&c[h].hitZone){var k=this.transformFromLatLon(b,c[h]);if(w({x:k.x,y:-k.y},c[h].hitZone.coordinates[0]))return k}return this.transformFromLatLon(b,c["default"])};l.geojson=function(b,c,
-l){var h=[],p=[],f=function(b){b.forEach(function(b,c){0===c?p.push(["M",b[0],-b[1]]):p.push(["L",b[0],-b[1]])})};c=c||"map";b.features.forEach(function(b){var k=b.geometry,l=k.type;k=k.coordinates;b=b.properties;var q;p=[];"map"===c||"mapbubble"===c?("Polygon"===l?(k.forEach(f),p.push(["Z"])):"MultiPolygon"===l&&(k.forEach(function(b){b.forEach(f)}),p.push(["Z"])),p.length&&(q={path:p})):"mapline"===c?("LineString"===l?f(k):"MultiLineString"===l&&k.forEach(f),p.length&&(q={path:p})):"mappoint"===
-c&&"Point"===l&&(q={x:k[0],y:-k[1]});q&&h.push(v(q,{name:b.name||b.NAME,properties:b}))});l&&b.copyrightShort&&(l.chart.mapCredits=t(l.chart.options.credits.mapText,{geojson:b}),l.chart.mapCreditsFull=t(l.chart.options.credits.mapTextFull,{geojson:b}));return h};B(b.prototype,"addCredits",function(b,c){c=q(!0,this.options.credits,c);this.mapCredits&&(c.href=null);b.call(this,c);this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})})});J(b,"masters/modules/map.src.js",[],
-function(){});J(b,"masters/highmaps.src.js",[b["masters/highcharts.src.js"]],function(b){b.product="Highmaps";return b});b["masters/highmaps.src.js"]._modules=b;return b["masters/highmaps.src.js"]});
+(function(X,J){"object"===typeof module&&module.exports?(J["default"]=J,module.exports=X.document?J(X):J):"function"===typeof define&&define.amd?define("highcharts/highmaps",function(){return J(X)}):(X.Highcharts&&X.Highcharts.error(16,!0),X.Highcharts=J(X))})("undefined"!==typeof window?window:this,function(X){function J(b,f,D,y){b.hasOwnProperty(f)||(b[f]=y.apply(null,D))}var b={};J(b,"Core/Globals.js",[],function(){var b="undefined"!==typeof X?X:"undefined"!==typeof window?window:{},f;(function(f){f.SVG_NS=
+"http://www.w3.org/2000/svg";f.product="Highcharts";f.version="9.1.0";f.win=b;f.doc=f.win.document;f.svg=f.doc&&f.doc.createElementNS&&!!f.doc.createElementNS(f.SVG_NS,"svg").createSVGRect;f.userAgent=f.win.navigator&&f.win.navigator.userAgent||"";f.isChrome=-1!==f.userAgent.indexOf("Chrome");f.isFirefox=-1!==f.userAgent.indexOf("Firefox");f.isMS=/(edge|msie|trident)/i.test(f.userAgent)&&!f.win.opera;f.isSafari=!f.isChrome&&-1!==f.userAgent.indexOf("Safari");f.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(f.userAgent);
+f.isWebKit=-1!==f.userAgent.indexOf("AppleWebKit");f.deg2rad=2*Math.PI/360;f.hasBidiBug=f.isFirefox&&4>parseInt(f.userAgent.split("Firefox/")[1],10);f.hasTouch=!!f.win.TouchEvent;f.marginNames=["plotTop","marginRight","marginBottom","plotLeft"];f.noop=function(){};f.supportsPassiveEvents=function(){var b=!1;if(!f.isMS){var B=Object.defineProperty({},"passive",{get:function(){b=!0}});f.win.addEventListener&&f.win.removeEventListener&&(f.win.addEventListener("testPassive",f.noop,B),f.win.removeEventListener("testPassive",
+f.noop,B))}return b}();f.charts=[];f.dateFormats={};f.seriesTypes={};f.symbolSizes={}})(f||(f={}));return f});J(b,"Core/Utilities.js",[b["Core/Globals.js"]],function(b){function f(a,c,h,k){var E=c?"Highcharts error":"Highcharts warning";32===a&&(a=E+": Deprecated member");var m=l(a),v=m?E+" #"+a+": www.highcharts.com/errors/"+a+"/":a.toString();if("undefined"!==typeof k){var G="";m&&(v+="?");w(k,function(x,a){G+="\n - "+a+": "+x;m&&(v+=encodeURI(a)+"="+encodeURI(x))});v+=G}q(Highcharts,"displayError",
+{chart:h,code:a,message:v,params:k},function(){if(c)throw Error(v);n.console&&-1===f.messages.indexOf(v)&&console.warn(v)});f.messages.push(v)}function B(a,c){var h={};w(a,function(E,k){if(t(a[k],!0)&&!a.nodeType&&c[k])E=B(a[k],c[k]),Object.keys(E).length&&(h[k]=E);else if(t(a[k])||a[k]!==c[k])h[k]=a[k]});return h}function y(a,c){return parseInt(a,c||10)}function C(a){return"string"===typeof a}function A(a){a=Object.prototype.toString.call(a);return"[object Array]"===a||"[object Array Iterator]"===
+a}function t(a,c){return!!a&&"object"===typeof a&&(!c||!A(a))}function r(a){return t(a)&&"number"===typeof a.nodeType}function p(a){var c=a&&a.constructor;return!(!t(a,!0)||r(a)||!c||!c.name||"Object"===c.name)}function l(a){return"number"===typeof a&&!isNaN(a)&&Infinity>a&&-Infinity<a}function g(a){return"undefined"!==typeof a&&null!==a}function e(a,c,h){var k;C(c)?g(h)?a.setAttribute(c,h):a&&a.getAttribute&&((k=a.getAttribute(c))||"class"!==c||(k=a.getAttribute(c+"Name"))):w(c,function(c,h){a.setAttribute(h,
+c)});return k}function d(a,c){var h;a||(a={});for(h in c)a[h]=c[h];return a}function u(){for(var a=arguments,c=a.length,h=0;h<c;h++){var k=a[h];if("undefined"!==typeof k&&null!==k)return k}}function H(a,c){b.isMS&&!b.svg&&c&&"undefined"!==typeof c.opacity&&(c.filter="alpha(opacity="+100*c.opacity+")");d(a.style,c)}function I(a,h,k,n,m){a=c.createElement(a);h&&d(a,h);m&&H(a,{padding:"0",border:"none",margin:"0"});k&&H(a,k);n&&n.appendChild(a);return a}function K(a,c){return parseFloat(a.toPrecision(c||
+14))}function F(a,c,h){var k=b.getStyle||F;if("width"===c)return c=Math.min(a.offsetWidth,a.scrollWidth),h=a.getBoundingClientRect&&a.getBoundingClientRect().width,h<c&&h>=c-1&&(c=Math.floor(h)),Math.max(0,c-(k(a,"padding-left",!0)||0)-(k(a,"padding-right",!0)||0));if("height"===c)return Math.max(0,Math.min(a.offsetHeight,a.scrollHeight)-(k(a,"padding-top",!0)||0)-(k(a,"padding-bottom",!0)||0));n.getComputedStyle||f(27,!0);if(a=n.getComputedStyle(a,void 0)){var m=a.getPropertyValue(c);u(h,"opacity"!==
+c)&&(m=y(m))}return m}function w(a,c,h){for(var k in a)Object.hasOwnProperty.call(a,k)&&c.call(h||a[k],a[k],k,a)}function z(a,c,h){function k(c,x){var G=a.removeEventListener||b.removeEventListenerPolyfill;G&&G.call(a,c,x,!1)}function n(G){var x;if(a.nodeName){if(c){var h={};h[c]=!0}else h=G;w(h,function(a,c){if(G[c])for(x=G[c].length;x--;)k(c,G[c][x].fn)})}}var m="function"===typeof a&&a.prototype||a;if(Object.hasOwnProperty.call(m,"hcEvents")){var v=m.hcEvents;c?(m=v[c]||[],h?(v[c]=m.filter(function(a){return h!==
+a.fn}),k(c,h)):(n(v),v[c]=[])):(n(v),delete m.hcEvents)}}function q(a,h,k,n){k=k||{};if(c.createEvent&&(a.dispatchEvent||a.fireEvent&&a!==b)){var m=c.createEvent("Events");m.initEvent(h,!0,!0);k=d(m,k);a.dispatchEvent?a.dispatchEvent(k):a.fireEvent(h,k)}else if(a.hcEvents){k.target||d(k,{preventDefault:function(){k.defaultPrevented=!0},target:a,type:h});m=[];for(var v=a,E=!1;v.hcEvents;)Object.hasOwnProperty.call(v,"hcEvents")&&v.hcEvents[h]&&(m.length&&(E=!0),m.unshift.apply(m,v.hcEvents[h])),v=
+Object.getPrototypeOf(v);E&&m.sort(function(a,x){return a.order-x.order});m.forEach(function(c){!1===c.fn.call(a,k)&&k.preventDefault()})}n&&!k.defaultPrevented&&n.call(a,k)}var m=b.charts,c=b.doc,n=b.win;"";(f||(f={})).messages=[];var a;Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};var k=Array.prototype.find?function(a,c){return a.find(c)}:function(a,c){var h,k=a.length;for(h=0;h<k;h++)if(c(a[h],h))return a[h]};w({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},
+function(a,c){b[c]=function(h){var k;f(32,!1,void 0,(k={},k["Highcharts."+c]="use Array."+a,k));return Array.prototype[a].apply(h,[].slice.call(arguments,1))}});var h,v=function(){var a=Math.random().toString(36).substring(2,9)+"-",c=0;return function(){return"highcharts-"+(h?"":a)+c++}}();n.jQuery&&(n.jQuery.fn.highcharts=function(){var a=[].slice.call(arguments);if(this[0])return a[0]?(new (b[C(a[0])?a.shift():"Chart"])(this[0],a[0],a[1]),this):m[e(this[0],"data-highcharts-chart")]});return{addEvent:function(a,
+c,h,k){void 0===k&&(k={});var n="function"===typeof a&&a.prototype||a;Object.hasOwnProperty.call(n,"hcEvents")||(n.hcEvents={});n=n.hcEvents;b.Point&&a instanceof b.Point&&a.series&&a.series.chart&&(a.series.chart.runTrackerClick=!0);var m=a.addEventListener||b.addEventListenerPolyfill;m&&m.call(a,c,h,b.supportsPassiveEvents?{passive:void 0===k.passive?-1!==c.indexOf("touch"):k.passive,capture:!1}:!1);n[c]||(n[c]=[]);n[c].push({fn:h,order:"number"===typeof k.order?k.order:Infinity});n[c].sort(function(a,
+c){return a.order-c.order});return function(){z(a,c,h)}},arrayMax:function(a){for(var c=a.length,h=a[0];c--;)a[c]>h&&(h=a[c]);return h},arrayMin:function(a){for(var c=a.length,h=a[0];c--;)a[c]<h&&(h=a[c]);return h},attr:e,clamp:function(a,c,h){return a>c?a<h?a:h:c},cleanRecursively:B,clearTimeout:function(a){g(a)&&clearTimeout(a)},correctFloat:K,createElement:I,css:H,defined:g,destroyObjectProperties:function(a,c){w(a,function(h,k){h&&h!==c&&h.destroy&&h.destroy();delete a[k]})},discardElement:function(c){a||
+(a=I("div"));c&&a.appendChild(c);a.innerHTML=""},erase:function(a,c){for(var h=a.length;h--;)if(a[h]===c){a.splice(h,1);break}},error:f,extend:d,extendClass:function(a,c){var h=function(){};h.prototype=new a;d(h.prototype,c);return h},find:k,fireEvent:q,getMagnitude:function(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))},getNestedProperty:function(a,c){for(a=a.split(".");a.length&&g(c);){var h=a.shift();if("undefined"===typeof h||"__proto__"===h)return;c=c[h];if(!g(c)||"function"===typeof c||
+"number"===typeof c.nodeType||c===n)return}return c},getStyle:F,inArray:function(a,c,h){f(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"});return c.indexOf(a,h)},isArray:A,isClass:p,isDOMElement:r,isFunction:function(a){return"function"===typeof a},isNumber:l,isObject:t,isString:C,keys:function(a){f(32,!1,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(a)},merge:function(){var a,c=arguments,h={},k=function(a,c){"object"!==typeof a&&(a={});w(c,function(h,x){"__proto__"!==x&&
+"constructor"!==x&&(!t(h,!0)||p(h)||r(h)?a[x]=c[x]:a[x]=k(a[x]||{},h))});return a};!0===c[0]&&(h=c[1],c=Array.prototype.slice.call(c,2));var n=c.length;for(a=0;a<n;a++)h=k(h,c[a]);return h},normalizeTickInterval:function(a,c,h,k,n){var m=a;h=u(h,1);var v=a/h;c||(c=n?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===k&&(1===h?c=c.filter(function(a){return 0===a%1}):.1>=h&&(c=[1/h])));for(k=0;k<c.length&&!(m=c[k],n&&m*h>=a||!n&&v<=(c[k]+(c[k+1]||c[k]))/2);k++);return m=K(m*h,-Math.round(Math.log(.001)/
+Math.LN10))},objectEach:w,offset:function(a){var h=c.documentElement;a=a.parentElement||a.parentNode?a.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:a.top+(n.pageYOffset||h.scrollTop)-(h.clientTop||0),left:a.left+(n.pageXOffset||h.scrollLeft)-(h.clientLeft||0),width:a.width,height:a.height}},pad:function(a,c,h){return Array((c||2)+1-String(a).replace("-","").length).join(h||"0")+a},pick:u,pInt:y,relativeLength:function(a,c,h){return/%$/.test(a)?c*parseFloat(a)/100+(h||0):parseFloat(a)},
+removeEvent:z,splat:function(a){return A(a)?a:[a]},stableSort:function(a,c){var h=a.length,k,n;for(n=0;n<h;n++)a[n].safeI=n;a.sort(function(a,h){k=c(a,h);return 0===k?a.safeI-h.safeI:k});for(n=0;n<h;n++)delete a[n].safeI},syncTimeout:function(a,c,h){if(0<c)return setTimeout(a,c,h);a.call(0,h);return-1},timeUnits:{millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5},uniqueKey:v,useSerialIds:function(a){return h=u(a,h)},wrap:function(a,c,h){var k=a[c];a[c]=
+function(){var a=Array.prototype.slice.call(arguments),c=arguments,n=this;n.proceed=function(){k.apply(n,arguments.length?arguments:c)};a.unshift(k);a=h.apply(this,a);n.proceed=null;return a}}}});J(b,"Core/Color/Color.js",[b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,f){var B=f.isNumber,y=f.merge,C=f.pInt;"";f=function(){function f(t){this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(f){return[C(f[1]),C(f[2]),
+C(f[3]),parseFloat(f[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(f){return[C(f[1]),C(f[2]),C(f[3]),1]}}];this.rgba=[];if(b.Color!==f)return new b.Color(t);if(!(this instanceof f))return new f(t);this.init(t)}f.parse=function(t){return new f(t)};f.prototype.init=function(t){var r,p;if((this.input=t=f.names[t&&t.toLowerCase?t.toLowerCase():""]||t)&&t.stops)this.stops=t.stops.map(function(e){return new f(e[1])});else{if(t&&t.charAt&&"#"===t.charAt()){var l=
+t.length;t=parseInt(t.substr(1),16);7===l?r=[(t&16711680)>>16,(t&65280)>>8,t&255,1]:4===l&&(r=[(t&3840)>>4|(t&3840)>>8,(t&240)>>4|t&240,(t&15)<<4|t&15,1])}if(!r)for(p=this.parsers.length;p--&&!r;){var g=this.parsers[p];(l=g.regex.exec(t))&&(r=g.parse(l))}}this.rgba=r||[]};f.prototype.get=function(f){var r=this.input,p=this.rgba;if("undefined"!==typeof this.stops){var l=y(r);l.stops=[].concat(l.stops);this.stops.forEach(function(g,e){l.stops[e]=[l.stops[e][0],g.get(f)]})}else l=p&&B(p[0])?"rgb"===
+f||!f&&1===p[3]?"rgb("+p[0]+","+p[1]+","+p[2]+")":"a"===f?p[3]:"rgba("+p.join(",")+")":r;return l};f.prototype.brighten=function(f){var r,p=this.rgba;if(this.stops)this.stops.forEach(function(l){l.brighten(f)});else if(B(f)&&0!==f)for(r=0;3>r;r++)p[r]+=C(255*f),0>p[r]&&(p[r]=0),255<p[r]&&(p[r]=255);return this};f.prototype.setOpacity=function(f){this.rgba[3]=f;return this};f.prototype.tweenTo=function(f,r){var p=this.rgba,l=f.rgba;l.length&&p&&p.length?(f=1!==l[3]||1!==p[3],r=(f?"rgba(":"rgb(")+Math.round(l[0]+
+(p[0]-l[0])*(1-r))+","+Math.round(l[1]+(p[1]-l[1])*(1-r))+","+Math.round(l[2]+(p[2]-l[2])*(1-r))+(f?","+(l[3]+(p[3]-l[3])*(1-r)):"")+")"):r=f.input||"none";return r};f.names={white:"#ffffff",black:"#000000"};return f}();b.Color=f;b.color=f.parse;return f});J(b,"Core/Color/Palette.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",neutralColor80:"#333333",neutralColor60:"#666666",
+neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",positiveColor:"#06b535",negativeColor:"#f21313"}});J(b,"Core/Time.js",[b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,f){var B=b.win,y=f.defined,C=f.error,A=f.extend,t=f.isObject,r=f.merge,p=f.objectEach,l=f.pad,g=f.pick,e=f.splat,d=
+f.timeUnits;"";f=function(){function u(d){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=B.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(d)}u.prototype.get=function(d,e){if(this.variableTimezone||this.timezoneOffset){var g=e.getTime(),u=g-this.getTimezoneOffset(e);e.setTime(u);d=e["getUTC"+d]();e.setTime(g);return d}return this.useUTC?e["getUTC"+d]():e["get"+d]()};u.prototype.set=function(d,e,g){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===
+d||"Seconds"===d||"Minutes"===d&&0===this.getTimezoneOffset(e)%36E5)return e["setUTC"+d](g);var u=this.getTimezoneOffset(e);u=e.getTime()-u;e.setTime(u);e["setUTC"+d](g);d=this.getTimezoneOffset(e);u=e.getTime()+d;return e.setTime(u)}return this.useUTC?e["setUTC"+d](g):e["set"+d](g)};u.prototype.update=function(d){var e=g(d&&d.useUTC,!0);this.options=d=r(!0,this.options||{},d);this.Date=d.Date||B.Date||Date;this.timezoneOffset=(this.useUTC=e)&&d.timezoneOffset;this.getTimezoneOffset=this.timezoneOffsetFunction();
+this.variableTimezone=e&&!(!d.getTimezoneOffset&&!d.timezone)};u.prototype.makeTime=function(d,e,u,l,w,z){if(this.useUTC){var q=this.Date.UTC.apply(0,arguments);var m=this.getTimezoneOffset(q);q+=m;var c=this.getTimezoneOffset(q);m!==c?q+=c-m:m-36E5!==this.getTimezoneOffset(q-36E5)||b.isSafari||(q-=36E5)}else q=(new this.Date(d,e,g(u,1),g(l,0),g(w,0),g(z,0))).getTime();return q};u.prototype.timezoneOffsetFunction=function(){var d=this,e=this.options,g=e.moment||B.moment;if(!this.useUTC)return function(d){return 6E4*
+(new Date(d.toString())).getTimezoneOffset()};if(e.timezone){if(g)return function(d){return 6E4*-g.tz(d,e.timezone).utcOffset()};C(25)}return this.useUTC&&e.getTimezoneOffset?function(d){return 6E4*e.getTimezoneOffset(d.valueOf())}:function(){return 6E4*(d.timezoneOffset||0)}};u.prototype.dateFormat=function(d,e,u){if(!y(e)||isNaN(e))return b.defaultOptions.lang&&b.defaultOptions.lang.invalidDate||"";d=g(d,"%Y-%m-%d %H:%M:%S");var F=this,w=new this.Date(e),z=this.get("Hours",w),q=this.get("Day",w),
+m=this.get("Date",w),c=this.get("Month",w),n=this.get("FullYear",w),a=b.defaultOptions.lang,k=a&&a.weekdays,h=a&&a.shortWeekdays;w=A({a:h?h[q]:k[q].substr(0,3),A:k[q],d:l(m),e:l(m,2," "),w:q,b:a.shortMonths[c],B:a.months[c],m:l(c+1),o:c+1,y:n.toString().substr(2,2),Y:n,H:l(z),k:z,I:l(z%12||12),l:z%12||12,M:l(this.get("Minutes",w)),p:12>z?"AM":"PM",P:12>z?"am":"pm",S:l(w.getSeconds()),L:l(Math.floor(e%1E3),3)},b.dateFormats);p(w,function(a,c){for(;-1!==d.indexOf("%"+c);)d=d.replace("%"+c,"function"===
+typeof a?a.call(F,e):a)});return u?d.substr(0,1).toUpperCase()+d.substr(1):d};u.prototype.resolveDTLFormat=function(d){return t(d,!0)?d:(d=e(d),{main:d[0],from:d[1],to:d[2]})};u.prototype.getTimeTicks=function(e,u,l,F){var w=this,z=[],q={};var m=new w.Date(u);var c=e.unitRange,n=e.count||1,a;F=g(F,1);if(y(u)){w.set("Milliseconds",m,c>=d.second?0:n*Math.floor(w.get("Milliseconds",m)/n));c>=d.second&&w.set("Seconds",m,c>=d.minute?0:n*Math.floor(w.get("Seconds",m)/n));c>=d.minute&&w.set("Minutes",m,
+c>=d.hour?0:n*Math.floor(w.get("Minutes",m)/n));c>=d.hour&&w.set("Hours",m,c>=d.day?0:n*Math.floor(w.get("Hours",m)/n));c>=d.day&&w.set("Date",m,c>=d.month?1:Math.max(1,n*Math.floor(w.get("Date",m)/n)));if(c>=d.month){w.set("Month",m,c>=d.year?0:n*Math.floor(w.get("Month",m)/n));var k=w.get("FullYear",m)}c>=d.year&&w.set("FullYear",m,k-k%n);c===d.week&&(k=w.get("Day",m),w.set("Date",m,w.get("Date",m)-k+F+(k<F?-7:0)));k=w.get("FullYear",m);F=w.get("Month",m);var h=w.get("Date",m),v=w.get("Hours",m);
+u=m.getTime();!w.variableTimezone&&w.useUTC||!y(l)||(a=l-u>4*d.month||w.getTimezoneOffset(u)!==w.getTimezoneOffset(l));u=m.getTime();for(m=1;u<l;)z.push(u),u=c===d.year?w.makeTime(k+m*n,0):c===d.month?w.makeTime(k,F+m*n):!a||c!==d.day&&c!==d.week?a&&c===d.hour&&1<n?w.makeTime(k,F,h,v+m*n):u+c*n:w.makeTime(k,F,h+m*n*(c===d.day?1:7)),m++;z.push(u);c<=d.hour&&1E4>z.length&&z.forEach(function(a){0===a%18E5&&"000000000"===w.dateFormat("%H%M%S%L",a)&&(q[a]="day")})}z.info=A(e,{higherRanks:q,totalRange:c*
+n});return z};return u}();b.Time=f;return b.Time});J(b,"Core/Options.js",[b["Core/Globals.js"],b["Core/Color/Color.js"],b["Core/Color/Palette.js"],b["Core/Time.js"],b["Core/Utilities.js"]],function(b,f,D,y,C){var B=b.isTouchDevice,t=b.svg;f=f.parse;var r=C.merge;"";var p={colors:D.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
+weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",
+x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:D.highlightColor80,backgroundColor:D.backgroundColor,plotBorderColor:D.neutralColor20},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:D.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},
+borderColor:D.neutralColor40,borderRadius:0,navigation:{activeColor:D.highlightColor100,inactiveColor:D.neutralColor20},itemStyle:{color:D.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:D.neutralColor100},itemHiddenStyle:{color:D.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",
+position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:D.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:t,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:B?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',
+backgroundColor:f(D.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:D.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:D.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};p.chart.styledMode=!1;"";var l=new y(r(p.global,p.time));return{defaultOptions:p,defaultTime:l,getOptions:function(){return p},
+setOptions:function(g){r(!0,p,g);if(g.time||g.global)b.time?b.time.update(r(p.global,p.time,g.global,g.time)):b.time=l;return p}}});J(b,"Core/Animation/Fx.js",[b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,f,D){var B=b.parse,C=f.win,A=D.isNumber,t=D.objectEach;return function(){function f(p,l,g){this.pos=NaN;this.options=l;this.elem=p;this.prop=g}f.prototype.dSetter=function(){var p=this.paths,l=p&&p[0];p=p&&p[1];var g=this.now||0,e=[];if(1!==g&&l&&p)if(l.length===
+p.length&&1>g)for(var d=0;d<p.length;d++){for(var u=l[d],f=p[d],I=[],K=0;K<f.length;K++){var F=u[K],w=f[K];A(F)&&A(w)&&("A"!==f[0]||4!==K&&5!==K)?I[K]=F+g*(w-F):I[K]=w}e.push(I)}else e=p;else e=this.toD||[];this.elem.attr("d",e,void 0,!0)};f.prototype.update=function(){var p=this.elem,l=this.prop,g=this.now,e=this.options.step;if(this[l+"Setter"])this[l+"Setter"]();else p.attr?p.element&&p.attr(l,g,null,!0):p.style[l]=g+this.unit;e&&e.call(p,g,this)};f.prototype.run=function(p,l,g){var e=this,d=e.options,
+u=function(d){return u.stopped?!1:e.step(d)},H=C.requestAnimationFrame||function(d){setTimeout(d,13)},I=function(){for(var d=0;d<f.timers.length;d++)f.timers[d]()||f.timers.splice(d--,1);f.timers.length&&H(I)};p!==l||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=p,this.end=l,this.unit=g,this.now=this.start,this.pos=0,u.elem=this.elem,u.prop=this.prop,u()&&1===f.timers.push(u)&&H(I)):(delete d.curAnim[this.prop],d.complete&&0===Object.keys(d.curAnim).length&&d.complete.call(this.elem))};
+f.prototype.step=function(p){var l=+new Date,g=this.options,e=this.elem,d=g.complete,u=g.duration,f=g.curAnim;if(e.attr&&!e.element)p=!1;else if(p||l>=u+this.startTime){this.now=this.end;this.pos=1;this.update();var I=f[this.prop]=!0;t(f,function(d){!0!==d&&(I=!1)});I&&d&&d.call(e);p=!1}else this.pos=g.easing((l-this.startTime)/u),this.now=this.start+(this.end-this.start)*this.pos,this.update(),p=!0;return p};f.prototype.initPath=function(p,l,g){function e(d,m){for(;d.length<z;){var c=d[0],n=m[z-
+d.length];n&&"M"===c[0]&&(d[0]="C"===n[0]?["C",c[1],c[2],c[1],c[2],c[1],c[2]]:["L",c[1],c[2]]);d.unshift(c);I&&(c=d.pop(),d.push(d[d.length-1],c))}}function d(d,m){for(;d.length<z;)if(m=d[Math.floor(d.length/K)-1].slice(),"C"===m[0]&&(m[1]=m[5],m[2]=m[6]),I){var c=d[Math.floor(d.length/K)].slice();d.splice(d.length/2,0,m,c)}else d.push(m)}var u=p.startX,f=p.endX;g=g.slice();var I=p.isArea,K=I?2:1;l=l&&l.slice();if(!l)return[g,g];if(u&&f&&f.length){for(p=0;p<u.length;p++)if(u[p]===f[0]){var F=p;break}else if(u[0]===
+f[f.length-u.length+p]){F=p;var w=!0;break}else if(u[u.length-1]===f[f.length-u.length+p]){F=u.length-p;break}"undefined"===typeof F&&(l=[])}if(l.length&&A(F)){var z=g.length+F*K;w?(e(l,g),d(g,l)):(e(g,l),d(l,g))}return[l,g]};f.prototype.fillSetter=function(){f.prototype.strokeSetter.apply(this,arguments)};f.prototype.strokeSetter=function(){this.elem.attr(this.prop,B(this.start).tweenTo(B(this.end),this.pos),null,!0)};f.timers=[];return f}()});J(b,"Core/Animation/AnimationUtilities.js",[b["Core/Animation/Fx.js"],
+b["Core/Utilities.js"]],function(b,f){function B(d){return p(d)?l({duration:500,defer:0},d):{duration:d?500:0,defer:0}}function y(d,e){for(var g=b.timers.length;g--;)b.timers[g].elem!==d||e&&e!==b.timers[g].prop||(b.timers[g].stopped=!0)}var C=f.defined,A=f.getStyle,t=f.isArray,r=f.isNumber,p=f.isObject,l=f.merge,g=f.objectEach,e=f.pick;return{animate:function(d,e,f){var u,K="",F,w;if(!p(f)){var z=arguments;f={duration:z[2],easing:z[3],complete:z[4]}}r(f.duration)||(f.duration=400);f.easing="function"===
+typeof f.easing?f.easing:Math[f.easing]||Math.easeInOutSine;f.curAnim=l(e);g(e,function(q,m){y(d,m);w=new b(d,f,m);F=void 0;"d"===m&&t(e.d)?(w.paths=w.initPath(d,d.pathArray,e.d),w.toD=e.d,u=0,F=1):d.attr?u=d.attr(m):(u=parseFloat(A(d,m))||0,"opacity"!==m&&(K="px"));F||(F=q);"string"===typeof F&&F.match("px")&&(F=F.replace(/px/g,""));w.run(u,F,K)})},animObject:B,getDeferredAnimation:function(d,e,g){var u=B(e),l=0,f=0;(g?[g]:d.series).forEach(function(d){d=B(d.options.animation);l=e&&C(e.defer)?u.defer:
+Math.max(l,d.duration+d.defer);f=Math.min(u.duration,d.duration)});d.renderer.forExport&&(l=0);return{defer:Math.max(0,l-f),duration:Math.min(l,f)}},setAnimation:function(d,g){g.renderer.globalAnimation=e(d,g.options.chart.animation,!0)},stop:y}});J(b,"Core/Renderer/HTML/AST.js",[b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,f){var B=b.SVG_NS,y=f.attr,C=f.createElement,A=f.discardElement,t=f.error,r=f.isString,p=f.objectEach,l=f.splat;"";var g=!1;try{g=!!(new DOMParser).parseFromString("",
+"text/html")}catch(e){}return function(){function e(d){this.nodes="string"===typeof d?this.parseMarkup(d):d}e.filterUserAttributes=function(d){p(d,function(g,l){var u=!0;-1===e.allowedAttributes.indexOf(l)&&(u=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(l)&&(u=r(g)&&e.allowedReferences.some(function(d){return 0===g.indexOf(d)}));u||(t("Highcharts warning: Invalid attribute '"+l+"' in config"),delete d[l])});return d};e.setElementHTML=function(d,g){d.innerHTML="";g&&(new e(g)).addToDOM(d)};
+e.prototype.addToDOM=function(d){function g(d,u){var f;l(d).forEach(function(d){var w=d.tagName,l=d.textContent?b.doc.createTextNode(d.textContent):void 0;if(w)if("#text"===w)var q=l;else if(-1!==e.allowedTags.indexOf(w)){w=b.doc.createElementNS("svg"===w?B:u.namespaceURI||B,w);var m=d.attributes||{};p(d,function(c,n){"tagName"!==n&&"attributes"!==n&&"children"!==n&&"textContent"!==n&&(m[n]=c)});y(w,e.filterUserAttributes(m));l&&w.appendChild(l);g(d.children||[],w);q=w}else t("Highcharts warning: Invalid tagName '"+
+w+"' in config");q&&u.appendChild(q);f=q});return f}return g(this.nodes,d)};e.prototype.parseMarkup=function(d){var e=[];if(g)d=(new DOMParser).parseFromString(d,"text/html");else{var l=C("div");l.innerHTML=d;d={body:l}}var f=function(d,e){var g=d.nodeName.toLowerCase(),l={tagName:g};if("#text"===g){g=d.textContent||"";if(/^[\s]*$/.test(g))return;l.textContent=g}if(g=d.attributes){var q={};[].forEach.call(g,function(c){q[c.name]=c.value});l.attributes=q}if(d.childNodes.length){var m=[];[].forEach.call(d.childNodes,
+function(c){f(c,m)});m.length&&(l.children=m)}e.push(l)};[].forEach.call(d.body.childNodes,function(d){return f(d,e)});l&&A(l);return e};e.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" ");e.allowedAttributes=
+"aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 x2 y y1 y2 zIndex".split(" ");
+e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");return e}()});J(b,"Core/FormatUtilities.js",[b["Core/Options.js"],b["Core/Utilities.js"]],function(b,f){function B(l,g,e,d){l=+l||0;g=+g;var u=y.lang,f=(l.toString().split(".")[1]||"").split("e")[0].length,I=l.toString().split("e"),K=g;if(-1===g)g=Math.min(f,20);else if(!t(g))g=2;else if(g&&I[1]&&0>I[1]){var F=g+ +I[1];0<=F?(I[0]=(+I[0]).toExponential(F).split("e")[0],g=F):(I[0]=I[0].split(".")[0]||0,l=20>g?(I[0]*Math.pow(10,I[1])).toFixed(g):
+0,I[1]=0)}F=(Math.abs(I[1]?I[0]:l)+Math.pow(10,-Math.max(g,f)-1)).toFixed(g);f=String(p(F));var w=3<f.length?f.length%3:0;e=r(e,u.decimalPoint);d=r(d,u.thousandsSep);l=(0>l?"-":"")+(w?f.substr(0,w)+d:"");l=0>+I[1]&&!K?"0":l+f.substr(w).replace(/(\d{3})(?=\d)/g,"$1"+d);g&&(l+=e+F.slice(-g));I[1]&&0!==+l&&(l+="e"+I[1]);return l}var y=b.defaultOptions,C=b.defaultTime,A=f.getNestedProperty,t=f.isNumber,r=f.pick,p=f.pInt;return{dateFormat:function(l,g,e){return C.dateFormat(l,g,e)},format:function(l,g,
+e){var d="{",u=!1,f=/f$/,p=/\.([0-9])/,K=y.lang,F=e&&e.time||C;e=e&&e.numberFormatter||B;for(var w=[];l;){var z=l.indexOf(d);if(-1===z)break;var q=l.slice(0,z);if(u){q=q.split(":");d=A(q.shift()||"",g);if(q.length&&"number"===typeof d)if(q=q.join(":"),f.test(q)){var m=parseInt((q.match(p)||["","-1"])[1],10);null!==d&&(d=e(d,m,K.decimalPoint,-1<q.indexOf(",")?K.thousandsSep:""))}else d=F.dateFormat(q,d);w.push(d)}else w.push(q);l=l.slice(z+1);d=(u=!u)?"}":"{"}w.push(l);return w.join("")},numberFormat:B}});
+J(b,"Core/Renderer/SVG/SVGElement.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Renderer/HTML/AST.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A){var t=b.animate,r=b.animObject,p=b.stop,l=y.deg2rad,g=y.doc,e=y.noop,d=y.svg,u=y.SVG_NS,H=y.win,I=A.addEvent,K=A.attr,F=A.createElement,w=A.css,z=A.defined,q=A.erase,m=A.extend,c=A.fireEvent,n=A.isArray,a=A.isFunction,k=A.isNumber,h=A.isString,v=A.merge,E=A.objectEach,L=
+A.pick,M=A.pInt,S=A.syncTimeout,B=A.uniqueKey;b=function(){function b(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=u;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}b.prototype._defaultGetter=function(a){a=L(this[a+"Value"],this[a],this.element?this.element.getAttribute(a):null,0);/^[\-0-9\.]+$/.test(a)&&(a=parseFloat(a));return a};b.prototype._defaultSetter=function(a,c,x){x.setAttribute(c,a)};b.prototype.add=
+function(a){var c=this.renderer,x=this.element;a&&(this.parentGroup=a);this.parentInverted=a&&a.inverted;"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&c.buildText(this);this.added=!0;if(!a||a.handleZ||this.zIndex)var h=this.zIndexSetter();h||(a?a.element:c.box).appendChild(x);if(this.onAdd)this.onAdd();return this};b.prototype.addClass=function(a,c){var x=c?"":this.attr("class")||"";a=(a||"").split(/ /g).reduce(function(a,c){-1===x.indexOf(c)&&a.push(c);return a},x?[x]:[]).join(" ");
+a!==x&&this.attr("class",a);return this};b.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)};b.prototype.align=function(a,c,x){var G={},k=this.renderer,n=k.alignedObjects,d,m,v;if(a){if(this.alignOptions=a,this.alignByTranslate=c,!x||h(x))this.alignTo=d=x||"renderer",q(n,this),n.push(this),x=void 0}else a=this.alignOptions,c=this.alignByTranslate,d=this.alignTo;x=L(x,k[d],"scrollablePlotBox"===d?k.plotBox:void 0,k);d=a.align;var e=a.verticalAlign;k=
+(x.x||0)+(a.x||0);n=(x.y||0)+(a.y||0);"right"===d?m=1:"center"===d&&(m=2);m&&(k+=(x.width-(a.width||0))/m);G[c?"translateX":"x"]=Math.round(k);"bottom"===e?v=1:"middle"===e&&(v=2);v&&(n+=(x.height-(a.height||0))/v);G[c?"translateY":"y"]=Math.round(n);this[this.placed?"animate":"attr"](G);this.placed=!0;this.alignAttr=G;return this};b.prototype.alignSetter=function(a){var c={left:"start",center:"middle",right:"end"};c[a]&&(this.alignValue=a,this.element.setAttribute("text-anchor",c[a]))};b.prototype.animate=
+function(a,c,x){var h=this,k=r(L(c,this.renderer.globalAnimation,!0));c=k.defer;L(g.hidden,g.msHidden,g.webkitHidden,!1)&&(k.duration=0);0!==k.duration?(x&&(k.complete=x),S(function(){h.element&&t(h,a,k)},c)):(this.attr(a,void 0,x),E(a,function(a,c){k.step&&k.step.call(this,a,{prop:c,pos:1,elem:this})},this));return this};b.prototype.applyTextOutline=function(a){var c=this.element;-1!==a.indexOf("contrast")&&(a=a.replace(/contrast/g,this.renderer.getContrast(c.style.fill)));var x=a.split(" ");a=x[x.length-
+1];if((x=x[0])&&"none"!==x&&y.svg){this.fakeTS=!0;this.ySetter=this.xSetter;x=x.replace(/(^[\d\.]+)(.*?)$/g,function(a,c,x){return 2*Number(c)+x});this.removeTextOutline();var h=g.createElementNS(u,"tspan");K(h,{"class":"highcharts-text-outline",fill:a,stroke:a,"stroke-width":x,"stroke-linejoin":"round"});[].forEach.call(c.childNodes,function(a){var c=a.cloneNode(!0);c.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(a){return c.removeAttribute(a)});h.appendChild(c)});var k=
+g.createElementNS(u,"tspan");k.textContent="\u200b";["x","y"].forEach(function(a){var x=c.getAttribute(a);x&&k.setAttribute(a,x)});h.appendChild(k);c.insertBefore(h,c.firstChild)}};b.prototype.attr=function(a,c,x,h){var k=this.element,G=this.symbolCustomAttribs,n,d=this,m,v;if("string"===typeof a&&"undefined"!==typeof c){var e=a;a={};a[e]=c}"string"===typeof a?d=(this[a+"Getter"]||this._defaultGetter).call(this,a,k):(E(a,function(c,x){m=!1;h||p(this,x);this.symbolName&&-1!==G.indexOf(x)&&(n||(this.symbolAttr(a),
+n=!0),m=!0);!this.rotation||"x"!==x&&"y"!==x||(this.doTransform=!0);m||(v=this[x+"Setter"]||this._defaultSetter,v.call(this,c,x,k),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(x)&&this.updateShadows(x,c,v))},this),this.afterSetters());x&&x.call(this);return d};b.prototype.clip=function(a){return this.attr("clip-path",a?"url("+this.renderer.url+"#"+a.id+")":"none")};b.prototype.crisp=function(a,c){c=c||a.strokeWidth||0;var x=Math.round(c)%2/2;a.x=Math.floor(a.x||
+this.x||0)+x;a.y=Math.floor(a.y||this.y||0)+x;a.width=Math.floor((a.width||this.width||0)-2*x);a.height=Math.floor((a.height||this.height||0)-2*x);z(a.strokeWidth)&&(a.strokeWidth=c);return a};b.prototype.complexColor=function(a,h,x){var k=this.renderer,G,d,m,e,N,g,q,O,l,w,u=[],f;c(this.renderer,"complexColor",{args:arguments},function(){a.radialGradient?d="radialGradient":a.linearGradient&&(d="linearGradient");if(d){m=a[d];N=k.gradients;g=a.stops;l=x.radialReference;n(m)&&(a[d]=m={x1:m[0],y1:m[1],
+x2:m[2],y2:m[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===d&&l&&!z(m.gradientUnits)&&(e=m,m=v(m,k.getRadialAttr(l,e),{gradientUnits:"userSpaceOnUse"}));E(m,function(a,c){"id"!==c&&u.push(c,a)});E(g,function(a){u.push(a)});u=u.join(",");if(N[u])w=N[u].attr("id");else{m.id=w=B();var c=N[u]=k.createElement(d).attr(m).add(k.defs);c.radAttr=e;c.stops=[];g.forEach(function(a){0===a[1].indexOf("rgba")?(G=D.parse(a[1]),q=G.get("rgb"),O=G.get("a")):(q=a[1],O=1);a=k.createElement("stop").attr({offset:a[0],
+"stop-color":q,"stop-opacity":O}).add(c);c.stops.push(a)})}f="url("+k.url+"#"+w+")";x.setAttribute(h,f);x.gradient=u;a.toString=function(){return f}}})};b.prototype.css=function(a){var c=this.styles,x={},h=this.element,k=["textOutline","textOverflow","width"],n="",v=!c;a&&a.color&&(a.fill=a.color);c&&E(a,function(a,h){c&&c[h]!==a&&(x[h]=a,v=!0)});if(v){c&&(a=m(c,x));if(a)if(null===a.width||"auto"===a.width)delete this.textWidth;else if("text"===h.nodeName.toLowerCase()&&a.width)var e=this.textWidth=
+M(a.width);this.styles=a;e&&!d&&this.renderer.forExport&&delete a.width;if(h.namespaceURI===this.SVG_NS){var N=function(a,c){return"-"+c.toLowerCase()};E(a,function(a,c){-1===k.indexOf(c)&&(n+=c.replace(/([A-Z])/g,N)+":"+a+";")});n&&K(h,"style",n)}else w(h,a);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),a&&a.textOutline&&this.applyTextOutline(a.textOutline))}return this};b.prototype.dashstyleSetter=function(a){var c=this["stroke-width"];"inherit"===c&&(c=1);if(a=a&&a.toLowerCase()){var x=
+a.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(a=x.length;a--;)x[a]=""+M(x[a])*L(c,NaN);a=x.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",a)}};b.prototype.destroy=function(){var a=this,c=a.element||{},x=a.renderer,h=c.ownerSVGElement,k=x.isSVG&&"SPAN"===c.nodeName&&a.parentGroup||
+void 0;c.onclick=c.onmouseout=c.onmouseover=c.onmousemove=c.point=null;p(a);if(a.clipPath&&h){var n=a.clipPath;[].forEach.call(h.querySelectorAll("[clip-path],[CLIP-PATH]"),function(a){-1<a.getAttribute("clip-path").indexOf(n.element.id)&&a.removeAttribute("clip-path")});a.clipPath=n.destroy()}if(a.stops){for(h=0;h<a.stops.length;h++)a.stops[h].destroy();a.stops.length=0;a.stops=void 0}a.safeRemoveChild(c);for(x.styledMode||a.destroyShadows();k&&k.div&&0===k.div.childNodes.length;)c=k.parentGroup,
+a.safeRemoveChild(k.div),delete k.div,k=c;a.alignTo&&q(x.alignedObjects,a);E(a,function(c,x){a[x]&&a[x].parentGroup===a&&a[x].destroy&&a[x].destroy();delete a[x]})};b.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(a){this.safeRemoveChild(a)},this);this.shadows=void 0};b.prototype.destroyTextPath=function(a,c){var x=a.getElementsByTagName("text")[0];if(x){if(x.removeAttribute("dx"),x.removeAttribute("dy"),c.element.setAttribute("id",""),this.textPathWrapper&&x.getElementsByTagName("textPath").length){for(a=
+this.textPathWrapper.element.childNodes;a.length;)x.appendChild(a[0]);x.removeChild(this.textPathWrapper.element)}}else if(a.getAttribute("dx")||a.getAttribute("dy"))a.removeAttribute("dx"),a.removeAttribute("dy");this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())};b.prototype.dSetter=function(a,c,x){n(a)&&("string"===typeof a[0]&&(a=this.renderer.pathToSegments(a)),this.pathArray=a,a=a.reduce(function(a,c,x){return c&&c.join?(x?a+" ":"")+c.join(" "):(c||"").toString()},""));
+/(NaN| {2}|^$)/.test(a)&&(a="M 0 0");this[c]!==a&&(x.setAttribute(c,a),this[c]=a)};b.prototype.fadeOut=function(a){var c=this;c.animate({opacity:0},{duration:L(a,150),complete:function(){c.attr({y:-9999}).hide()}})};b.prototype.fillSetter=function(a,c,x){"string"===typeof a?x.setAttribute(c,a):a&&this.complexColor(a,c,x)};b.prototype.getBBox=function(c,h){var x=this.renderer,k=this.element,n=this.styles,d=this.textStr,G=x.cache,v=x.cacheKeys,e=k.namespaceURI===this.SVG_NS;h=L(h,this.rotation,0);var g=
+x.styledMode?k&&b.prototype.getStyle.call(k,"font-size"):n&&n.fontSize,q;if(z(d)){var E=d.toString();-1===E.indexOf("<")&&(E=E.replace(/[0-9]/g,"0"));E+=["",h,g,this.textWidth,n&&n.textOverflow,n&&n.fontWeight].join()}E&&!c&&(q=G[E]);if(!q){if(e||x.forExport){try{var u=this.fakeTS&&function(a){var c=k.querySelector(".highcharts-text-outline");c&&w(c,{display:a})};a(u)&&u("none");q=k.getBBox?m({},k.getBBox()):{width:k.offsetWidth,height:k.offsetHeight};a(u)&&u("")}catch(U){""}if(!q||0>q.width)q={width:0,
+height:0}}else q=this.htmlGetBBox();x.isSVG&&(c=q.width,x=q.height,e&&(q.height=x={"11px,17":14,"13px,20":16}[n&&n.fontSize+","+Math.round(x)]||x),h&&(n=h*l,q.width=Math.abs(x*Math.sin(n))+Math.abs(c*Math.cos(n)),q.height=Math.abs(x*Math.cos(n))+Math.abs(c*Math.sin(n))));if(E&&0<q.height){for(;250<v.length;)delete G[v.shift()];G[E]||v.push(E);G[E]=q}}return q};b.prototype.getStyle=function(a){return H.getComputedStyle(this.element||this,"").getPropertyValue(a)};b.prototype.hasClass=function(a){return-1!==
+(""+this.attr("class")).split(" ").indexOf(a)};b.prototype.hide=function(a){a?this.attr({y:-9999}):this.attr({visibility:"hidden"});return this};b.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};b.prototype.init=function(a,h){this.element="span"===h?F(h):g.createElementNS(this.SVG_NS,h);this.renderer=a;c(this,"afterInit")};b.prototype.invert=function(a){this.inverted=a;this.updateTransform();return this};b.prototype.on=function(a,c){var h=this.onEvents;if(h[a])h[a]();h[a]=I(this.element,
+a,c);return this};b.prototype.opacitySetter=function(a,c,h){this.opacity=a=Number(Number(a).toFixed(3));h.setAttribute(c,a)};b.prototype.removeClass=function(a){return this.attr("class",(""+this.attr("class")).replace(h(a)?new RegExp("(^| )"+a+"( |$)"):a," ").replace(/ +/g," ").trim())};b.prototype.removeTextOutline=function(){var a=this.element.querySelector("tspan.highcharts-text-outline");a&&this.safeRemoveChild(a)};b.prototype.safeRemoveChild=function(a){var c=a.parentNode;c&&c.removeChild(a)};
+b.prototype.setRadialReference=function(a){var c=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=a;c&&c.radAttr&&c.animate(this.renderer.getRadialAttr(a,c.radAttr));return this};b.prototype.setTextPath=function(a,c){var h=this.element,n=this.text?this.text.element:h,d={textAnchor:"text-anchor"},m=!1,G=this.textPathWrapper,q=!G;c=v(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},c);var N=f.filterUserAttributes(c.attributes);
+if(a&&c&&c.enabled){G&&null===G.element.parentNode?(q=!0,G=G.destroy()):G&&this.removeTextOutline.call(G.parentGroup);this.options&&this.options.padding&&(N.dx=-this.options.padding);G||(this.textPathWrapper=G=this.renderer.createElement("textPath"),m=!0);var g=G.element;(c=a.element.getAttribute("id"))||a.element.setAttribute("id",c=B());if(q)for(n.setAttribute("y",0),k(N.dx)&&n.setAttribute("x",-N.dx),a=[].slice.call(n.childNodes),q=0;q<a.length;q++){var l=a[q];l.nodeType!==Node.TEXT_NODE&&"tspan"!==
+l.nodeName||g.appendChild(l)}m&&G&&G.add({element:n});g.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+c);z(N.dy)&&(g.parentNode.setAttribute("dy",N.dy),delete N.dy);z(N.dx)&&(g.parentNode.setAttribute("dx",N.dx),delete N.dx);E(N,function(a,c){g.setAttribute(d[c]||c,a)});h.removeAttribute("transform");this.removeTextOutline.call(G);this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0});this.applyTextOutline=this.updateTransform=e}else G&&(delete this.updateTransform,
+delete this.applyTextOutline,this.destroyTextPath(h,a),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this};b.prototype.shadow=function(a,c,h){var x=[],k=this.element,n=this.oldShadowOptions,d={color:C.neutralColor100,offsetX:1,offsetY:1,opacity:.15,width:3},G=!1,v;!0===a?v=d:"object"===typeof a&&(v=m(d,a));v&&(v&&n&&E(v,function(a,c){a!==n[c]&&(G=!0)}),G&&this.destroyShadows(),this.oldShadowOptions=v);if(!v)this.destroyShadows();
+else if(!this.shadows){var e=v.opacity/v.width;var q=this.parentInverted?"translate(-1,-1)":"translate("+v.offsetX+", "+v.offsetY+")";for(d=1;d<=v.width;d++){var g=k.cloneNode(!1);var l=2*v.width+1-2*d;K(g,{stroke:a.color||C.neutralColor100,"stroke-opacity":e*d,"stroke-width":l,transform:q,fill:"none"});g.setAttribute("class",(g.getAttribute("class")||"")+" highcharts-shadow");h&&(K(g,"height",Math.max(K(g,"height")-l,0)),g.cutHeight=l);c?c.element.appendChild(g):k.parentNode&&k.parentNode.insertBefore(g,
+k);x.push(g)}this.shadows=x}return this};b.prototype.show=function(a){return this.attr({visibility:a?"inherit":"visible"})};b.prototype.strokeSetter=function(a,c,h){this[c]=a;this.stroke&&this["stroke-width"]?(b.prototype.fillSetter.call(this,this.stroke,"stroke",h),h.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===c&&0===a&&this.hasStroke?(h.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(h.setAttribute("stroke-width",
+this["stroke-width"]),this.hasStroke=!0)};b.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var a=this.getStyle("stroke-width"),c=0;if(a.indexOf("px")===a.length-2)c=M(a);else if(""!==a){var h=g.createElementNS(u,"rect");K(h,{width:a,"stroke-width":0});this.element.parentNode.appendChild(h);c=h.getBBox().width;h.parentNode.removeChild(h)}return c};b.prototype.symbolAttr=function(a){var c=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(h){c[h]=
+L(a[h],c[h])});c.attr({d:c.renderer.symbols[c.symbolName](c.x,c.y,c.width,c.height,c)})};b.prototype.textSetter=function(a){a!==this.textStr&&(delete this.textPxLength,this.textStr=a,this.added&&this.renderer.buildText(this))};b.prototype.titleSetter=function(a){var c=this.element,h=c.getElementsByTagName("title")[0]||g.createElementNS(this.SVG_NS,"title");c.insertBefore?c.insertBefore(h,c.firstChild):c.appendChild(h);h.textContent=String(L(a,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,
+">")};b.prototype.toFront=function(){var a=this.element;a.parentNode.appendChild(a);return this};b.prototype.translate=function(a,c){return this.attr({translateX:a,translateY:c})};b.prototype.updateShadows=function(a,c,h){var x=this.shadows;if(x)for(var k=x.length;k--;)h.call(x[k],"height"===a?Math.max(c-(x[k].cutHeight||0),0):"d"===a?this.d:c,a,x[k])};b.prototype.updateTransform=function(){var a=this.scaleX,c=this.scaleY,h=this.inverted,k=this.rotation,n=this.matrix,d=this.element,m=this.translateX||
+0,v=this.translateY||0;h&&(m+=this.width,v+=this.height);m=["translate("+m+","+v+")"];z(n)&&m.push("matrix("+n.join(",")+")");h?m.push("rotate(90) scale(-1,1)"):k&&m.push("rotate("+k+" "+L(this.rotationOriginX,d.getAttribute("x"),0)+" "+L(this.rotationOriginY,d.getAttribute("y")||0)+")");(z(a)||z(c))&&m.push("scale("+L(a,1)+" "+L(c,1)+")");m.length&&d.setAttribute("transform",m.join(" "))};b.prototype.visibilitySetter=function(a,c,h){"inherit"===a?h.removeAttribute(c):this[c]!==a&&h.setAttribute(c,
+a);this[c]=a};b.prototype.xGetter=function(a){"circle"===this.element.nodeName&&("x"===a?a="cx":"y"===a&&(a="cy"));return this._defaultGetter(a)};b.prototype.zIndexSetter=function(a,c){var h=this.renderer,k=this.parentGroup,n=(k||h).element||h.box,d=this.element;h=n===h.box;var m=!1;var v=this.added;var G;z(a)?(d.setAttribute("data-z-index",a),a=+a,this[c]===a&&(v=!1)):z(this[c])&&d.removeAttribute("data-z-index");this[c]=a;if(v){(a=this.zIndex)&&k&&(k.handleZ=!0);c=n.childNodes;for(G=c.length-1;0<=
+G&&!m;G--){k=c[G];v=k.getAttribute("data-z-index");var e=!z(v);if(k!==d)if(0>a&&e&&!h&&!G)n.insertBefore(d,c[G]),m=!0;else if(M(v)<=a||e&&(!z(a)||0<=a))n.insertBefore(d,c[G+1]||null),m=!0}m||(n.insertBefore(d,c[h?3:0]||null),m=!0)}return m};return b}();b.prototype["stroke-widthSetter"]=b.prototype.strokeSetter;b.prototype.yGetter=b.prototype.xGetter;b.prototype.matrixSetter=b.prototype.rotationOriginXSetter=b.prototype.rotationOriginYSetter=b.prototype.rotationSetter=b.prototype.scaleXSetter=b.prototype.scaleYSetter=
+b.prototype.translateXSetter=b.prototype.translateYSetter=b.prototype.verticalAlignSetter=function(a,c){this[c]=a;this.doTransform=!0};"";return b});J(b,"Core/Renderer/SVG/SVGLabel.js",[b["Core/Renderer/SVG/SVGElement.js"],b["Core/Utilities.js"]],function(b,f){function B(g,e){t(g)?g!==this[e]&&(this[e]=g,this.updateTextPadding()):this[e]=void 0}var y=this&&this.__extends||function(){var g=function(e,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,e){d.__proto__=e}||function(d,
+e){for(var g in e)e.hasOwnProperty(g)&&(d[g]=e[g])};return g(e,d)};return function(e,d){function l(){this.constructor=e}g(e,d);e.prototype=null===d?Object.create(d):(l.prototype=d.prototype,new l)}}(),C=f.defined,A=f.extend,t=f.isNumber,r=f.merge,p=f.pick,l=f.removeEvent;return function(g){function e(d,l,f,b,p,F,w,z,q,m){var c=g.call(this)||this;c.paddingSetter=B;c.paddingLeftSetter=B;c.paddingRightSetter=B;c.init(d,"g");c.textStr=l;c.x=f;c.y=b;c.anchorX=F;c.anchorY=w;c.baseline=q;c.className=m;"button"!==
+m&&c.addClass("highcharts-label");m&&c.addClass("highcharts-"+m);c.text=d.text("",0,0,z).attr({zIndex:1});if("string"===typeof p){var n=/^url\((.*?)\)$/.test(p);if(c.renderer.symbols[p]||n)c.symbolKey=p}c.bBox=e.emptyBBox;c.padding=3;c.baselineOffset=0;c.needsBox=d.styledMode||n;c.deferredAttr={};c.alignFactor=0;return c}y(e,g);e.prototype.alignSetter=function(d){d={left:0,center:.5,right:1}[d];d!==this.alignFactor&&(this.alignFactor=d,this.bBox&&t(this.xSetting)&&this.attr({x:this.xSetting}))};e.prototype.anchorXSetter=
+function(d,e){this.anchorX=d;this.boxAttr(e,Math.round(d)-this.getCrispAdjust()-this.xSetting)};e.prototype.anchorYSetter=function(d,e){this.anchorY=d;this.boxAttr(e,d-this.ySetting)};e.prototype.boxAttr=function(d,e){this.box?this.box.attr(d,e):this.deferredAttr[d]=e};e.prototype.css=function(d){if(d){var g={},l=void 0;d=r(d);e.textProps.forEach(function(e){"undefined"!==typeof d[e]&&(g[e]=d[e],delete d[e])});this.text.css(g);l="width"in g;"fontSize"in g||"fontWeight"in g?this.updateTextPadding():
+l&&this.updateBoxSize()}return b.prototype.css.call(this,d)};e.prototype.destroy=function(){l(this.element,"mouseenter");l(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());b.prototype.destroy.call(this)};e.prototype.fillSetter=function(d,e){d&&(this.needsBox=!0);this.fill=d;this.boxAttr(e,d)};e.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var d=this.padding,e=p(this.paddingLeft,d);return{width:this.width,
+height:this.height,x:this.bBox.x-e,y:this.bBox.y-d}};e.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};e.prototype.heightSetter=function(d){this.heightSetting=d};e.prototype.on=function(d,e){var g=this,l=g.text,f=l&&"SPAN"===l.element.tagName?l:void 0;if(f){var u=function(l){("mouseenter"===d||"mouseleave"===d)&&l.relatedTarget instanceof Element&&(g.element.compareDocumentPosition(l.relatedTarget)&
+Node.DOCUMENT_POSITION_CONTAINED_BY||f.element.compareDocumentPosition(l.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||e.call(g.element,l)};f.on(d,u)}b.prototype.on.call(g,d,u||e);return g};e.prototype.onAdd=function(){var d=this.textStr;this.text.add(this);this.attr({text:C(d)?d:"",x:this.x,y:this.y});this.box&&C(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};e.prototype.rSetter=function(d,e){this.boxAttr(e,d)};e.prototype.shadow=function(d){d&&!this.renderer.styledMode&&
+(this.updateBoxSize(),this.box&&this.box.shadow(d));return this};e.prototype.strokeSetter=function(d,e){this.stroke=d;this.boxAttr(e,d)};e.prototype["stroke-widthSetter"]=function(d,e){d&&(this.needsBox=!0);this["stroke-width"]=d;this.boxAttr(e,d)};e.prototype["text-alignSetter"]=function(d){this.textAlign=d};e.prototype.textSetter=function(d){"undefined"!==typeof d&&this.text.attr({text:d});this.updateTextPadding()};e.prototype.updateBoxSize=function(){var d=this.text.element.style,g={},l=this.padding,
+f=this.bBox=t(this.widthSetting)&&t(this.heightSetting)&&!this.textAlign||!C(this.text.textStr)?e.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||f.height||0)+2*l;this.baselineOffset=l+Math.min(this.renderer.fontMetrics(d&&d.fontSize,this.text).b,f.height||Infinity);this.needsBox&&(this.box||(d=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),d.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?
+" highcharts-"+this.className+"-box":"")),d.add(this)),d=this.getCrispAdjust(),g.x=d,g.y=(this.baseline?-this.baselineOffset:0)+d,g.width=Math.round(this.width),g.height=Math.round(this.height),this.box.attr(A(g,this.deferredAttr)),this.deferredAttr={})};e.prototype.updateTextPadding=function(){var d=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,g=p(this.paddingLeft,this.padding);C(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(g+=
+{center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(g!==d.x||e!==d.y)d.attr("x",g),d.hasBoxWidthChanged&&(this.bBox=d.getBBox(!0)),"undefined"!==typeof e&&d.attr("y",e);d.x=g;d.y=e};e.prototype.widthSetter=function(d){this.widthSetting=t(d)?d:void 0};e.prototype.getPaddedWidth=function(){var d=this.padding,e=p(this.paddingLeft,d);d=p(this.paddingRight,d);return(this.widthSetting||this.bBox.width||0)+e+d};e.prototype.xSetter=function(d){this.x=d;this.alignFactor&&(d-=this.alignFactor*
+this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(d);this.attr("translateX",this.xSetting)};e.prototype.ySetter=function(d){this.ySetting=this.y=Math.round(d);this.attr("translateY",this.ySetting)};e.emptyBBox={width:0,height:0,x:0,y:0};e.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return e}(b)});J(b,"Core/Renderer/SVG/TextBuilder.js",[b["Core/Globals.js"],b["Core/Utilities.js"],
+b["Core/Renderer/HTML/AST.js"]],function(b,f,D){var B=b.doc,C=b.SVG_NS,A=f.attr,t=f.isString,r=f.objectEach,p=f.pick;return function(){function l(g){var e=g.styles;this.renderer=g.renderer;this.svgElement=g;this.width=g.textWidth;this.textLineHeight=e&&e.lineHeight;this.textOutline=e&&e.textOutline;this.ellipsis=!(!e||"ellipsis"!==e.textOverflow);this.noWrap=!(!e||"nowrap"!==e.whiteSpace);this.fontSize=e&&e.fontSize}l.prototype.buildSVG=function(){var g=this.svgElement,e=g.element,d=g.renderer,l=
+p(g.textStr,"").toString(),f=-1!==l.indexOf("<"),b=e.childNodes,K=b.length;d=this.width&&!g.added&&d.box;var F=/<br.*?>/g;var w=[l,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(w!==g.textCache){g.textCache=w;for(delete g.actualWidth;K--;)e.removeChild(b[K]);f||this.ellipsis||this.width||-1!==l.indexOf(" ")&&(!this.noWrap||F.test(l))?""!==l&&(d&&d.appendChild(e),l=new D(l),this.modifyTree(l.nodes),l.addToDOM(g.element),this.modifyDOM(),this.ellipsis&&
+-1!==(e.textContent||"").indexOf("\u2026")&&g.attr("title",this.unescapeEntities(g.textStr||"",["&lt;","&gt;"])),d&&d.removeChild(e)):e.appendChild(B.createTextNode(this.unescapeEntities(l)));t(this.textOutline)&&g.applyTextOutline&&g.applyTextOutline(this.textOutline)}};l.prototype.modifyDOM=function(){var g=this,e=this.svgElement,d=A(e.element,"x");[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),function(e){e.nextSibling&&e.previousSibling&&A(e,{dy:g.getLineHeight(e.nextSibling),
+x:d})});var l=this.width||0;if(l){var f=function(f,b){var w=f.textContent||"",z=w.replace(/([^\^])-/g,"$1- ").split(" "),q=!g.noWrap&&(1<z.length||1<e.element.childNodes.length),m=g.getLineHeight(b),c=0,n=e.actualWidth;if(g.ellipsis)w&&g.truncate(f,w,void 0,0,Math.max(0,l-parseInt(g.fontSize||12,10)),function(a,c){return a.substring(0,c)+"\u2026"});else if(q){w=[];for(q=[];b.firstChild&&b.firstChild!==f;)q.push(b.firstChild),b.removeChild(b.firstChild);for(;z.length;)z.length&&!g.noWrap&&0<c&&(w.push(f.textContent||
+""),f.textContent=z.join(" ").replace(/- /g,"-")),g.truncate(f,void 0,z,0===c?n||0:0,l,function(a,c){return z.slice(0,c).join(" ").replace(/- /g,"-")}),n=e.actualWidth,c++;q.forEach(function(a){b.insertBefore(a,f)});w.forEach(function(a){b.insertBefore(B.createTextNode(a),f);a=B.createElementNS(C,"tspan");a.textContent="\u200b";A(a,{dy:m,x:d});b.insertBefore(a,f)})}},b=function(d){[].slice.call(d.childNodes).forEach(function(g){g.nodeType===Node.TEXT_NODE?f(g,d):(-1!==g.className.baseVal.indexOf("highcharts-br")&&
+(e.actualWidth=0),b(g))})};b(e.element)}};l.prototype.getLineHeight=function(g){var e;g=g.nodeType===Node.TEXT_NODE?g.parentElement:g;this.renderer.styledMode||(e=g&&/(px|em)$/.test(g.style.fontSize)?g.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,g||this.svgElement.element).h};l.prototype.modifyTree=function(g){var e=this,d=function(l,f){var b=l.tagName,p=e.renderer.styledMode,u=l.attributes||
+{};if("b"===b||"strong"===b)p?u["class"]="highcharts-strong":u.style="font-weight:bold;"+(u.style||"");else if("i"===b||"em"===b)p?u["class"]="highcharts-emphasized":u.style="font-style:italic;"+(u.style||"");t(u.style)&&(u.style=u.style.replace(/(;| |^)color([ :])/,"$1fill$2"));"br"===b&&(u["class"]="highcharts-br",l.textContent="\u200b",(f=g[f+1])&&f.textContent&&(f.textContent=f.textContent.replace(/^ +/gm,"")));"#text"!==b&&"a"!==b&&(l.tagName="tspan");l.attributes=u;l.children&&l.children.filter(function(d){return"#text"!==
+d.tagName}).forEach(d)};for(g.forEach(d);g[0]&&"tspan"===g[0].tagName&&!g[0].children;)g.splice(0,1)};l.prototype.truncate=function(g,e,d,l,f,b){var p=this.svgElement,u=p.renderer,w=p.rotation,z=[],q=d?1:0,m=(e||d||"").length,c=m,n,a=function(a,c){c=c||a;var h=g.parentNode;if(h&&"undefined"===typeof z[c])if(h.getSubStringLength)try{z[c]=l+h.getSubStringLength(0,d?c+1:c)}catch(L){""}else u.getSpanWidth&&(g.textContent=b(e||d,a),z[c]=l+u.getSpanWidth(p,g));return z[c]};p.rotation=0;var k=a(g.textContent.length);
+if(l+k>f){for(;q<=m;)c=Math.ceil((q+m)/2),d&&(n=b(d,c)),k=a(c,n&&n.length-1),q===m?q=m+1:k>f?m=c-1:q=c;0===m?g.textContent="":e&&m===e.length-1||(g.textContent=n||b(e||d,c))}d&&d.splice(0,c);p.actualWidth=k;p.rotation=w};l.prototype.unescapeEntities=function(g,e){r(this.renderer.escapes,function(d,l){e&&-1!==e.indexOf(d)||(g=g.toString().replace(new RegExp(d,"g"),l))});return g};return l}()});J(b,"Core/Renderer/SVG/SVGRenderer.js",[b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],
+b["Core/Renderer/SVG/SVGElement.js"],b["Core/Renderer/SVG/SVGLabel.js"],b["Core/Renderer/HTML/AST.js"],b["Core/Renderer/SVG/TextBuilder.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t,r){var p=r.addEvent,l=r.attr,g=r.createElement,e=r.css,d=r.defined,u=r.destroyObjectProperties,H=r.extend,I=r.isArray,K=r.isNumber,F=r.isObject,w=r.isString,z=r.merge,q=r.pick,m=r.pInt,c=r.uniqueKey,n=f.charts,a=f.deg2rad,k=f.doc,h=f.isFirefox,v=f.isMS,E=f.isWebKit,L=f.noop,M=f.SVG_NS,S=f.symbolSizes,B=f.win,R;r=
+function(){function G(a,c,h,k,n,d,m){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(a,c,h,k,n,d,m)}G.prototype.init=function(a,c,n,d,m,G,v){var x=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"});v||x.css(this.getStyle(d));d=x.element;a.appendChild(d);l(a,"dir","ltr");-1===a.innerHTML.indexOf("xmlns")&&l(d,
+"xmlns",this.SVG_NS);this.isSVG=!0;this.box=d;this.boxWrapper=x;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(k.createTextNode("Created with Highcharts 9.1.0"));this.defs=this.createElement("defs").add();this.allowHTML=G;this.forExport=m;this.styledMode=v;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(c,n,!1);var g;h&&a.getBoundingClientRect&&(c=function(){e(a,{left:0,top:0});g=a.getBoundingClientRect();
+e(a,{left:Math.ceil(g.left)-g.left+"px",top:Math.ceil(g.top)-g.top+"px"})},c(),this.unSubPixelFix=p(B,"resize",c))};G.prototype.definition=function(a){return(new A([a])).addToDOM(this.defs.element)};G.prototype.getReferenceURL=function(){if((h||E)&&k.getElementsByTagName("base").length){if(!d(R)){var a=c();a=(new A([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:a},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",
+attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+a+")",fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(k.body);e(a,{position:"fixed",top:0,left:0,zIndex:9E5});var n=k.elementFromPoint(6,6);R="hitme"===(n&&n.id);k.body.removeChild(a)}if(R)return B.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};G.prototype.getStyle=function(a){return this.style=H({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},
+a)};G.prototype.setStyle=function(a){this.boxWrapper.css(this.getStyle(a))};G.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};G.prototype.destroy=function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();u(this.gradients||{});this.gradients=null;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};G.prototype.createElement=function(a){var c=new this.Element;c.init(this,a);return c};G.prototype.getRadialAttr=
+function(a,c){return{cx:a[0]-a[2]/2+(c.cx||0)*a[2],cy:a[1]-a[2]/2+(c.cy||0)*a[2],r:(c.r||0)*a[2]}};G.prototype.buildText=function(a){(new t(a)).buildSVG()};G.prototype.getContrast=function(a){a=b.parse(a).rgba;a[0]*=1;a[1]*=1.2;a[2]*=.5;return 459<a[0]+a[1]+a[2]?"#000000":"#FFFFFF"};G.prototype.button=function(a,c,h,k,n,d,m,e,G,g){var x=this.label(a,c,h,G,void 0,void 0,g,void 0,"button"),q=0,l=this.styledMode,P=n?z(n):{};a=P&&P.style||{};P=A.filterUserAttributes(P);x.attr(z({padding:8,r:2},P));if(!l){P=
+z({fill:D.neutralColor3,stroke:D.neutralColor20,"stroke-width":1,style:{color:D.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:a},P);var E=P.style;delete P.style;d=z(P,{fill:D.neutralColor10},A.filterUserAttributes(d||{}));var N=d.style;delete d.style;m=z(P,{fill:D.highlightColor10,style:{color:D.neutralColor100,fontWeight:"bold"}},A.filterUserAttributes(m||{}));var f=m.style;delete m.style;e=z(P,{style:{color:D.neutralColor20}},A.filterUserAttributes(e||{}));var w=e.style;delete e.style}p(x.element,
+v?"mouseover":"mouseenter",function(){3!==q&&x.setState(1)});p(x.element,v?"mouseout":"mouseleave",function(){3!==q&&x.setState(q)});x.setState=function(a){1!==a&&(x.state=q=a);x.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][a||0]);l||x.attr([P,d,m,e][a||0]).css([E,N,f,w][a||0])};l||x.attr(P).css(H({cursor:"default"},E));return x.on("touchstart",function(a){return a.stopPropagation()}).on("click",function(a){3!==
+q&&k.call(x,a)})};G.prototype.crispLine=function(a,c,h){void 0===h&&(h="round");var k=a[0],x=a[1];k[1]===x[1]&&(k[1]=x[1]=Math[h](k[1])-c%2/2);k[2]===x[2]&&(k[2]=x[2]=Math[h](k[2])+c%2/2);return a};G.prototype.path=function(a){var c=this.styledMode?{}:{fill:"none"};I(a)?c.d=a:F(a)&&H(c,a);return this.createElement("path").attr(c)};G.prototype.circle=function(a,c,h){a=F(a)?a:"undefined"===typeof a?{}:{x:a,y:c,r:h};c=this.createElement("circle");c.xSetter=c.ySetter=function(a,c,h){h.setAttribute("c"+
+c,a)};return c.attr(a)};G.prototype.arc=function(a,c,h,k,n,d){F(a)?(k=a,c=k.y,h=k.r,a=k.x):k={innerR:k,start:n,end:d};a=this.symbol("arc",a,c,h,h,k);a.r=h;return a};G.prototype.rect=function(a,c,h,k,n,d){n=F(a)?a.r:n;var x=this.createElement("rect");a=F(a)?a:"undefined"===typeof a?{}:{x:a,y:c,width:Math.max(h,0),height:Math.max(k,0)};this.styledMode||("undefined"!==typeof d&&(a["stroke-width"]=d,a=x.crisp(a)),a.fill="none");n&&(a.r=n);x.rSetter=function(a,c,h){x.r=a;l(h,{rx:a,ry:a})};x.rGetter=function(){return x.r||
+0};return x.attr(a)};G.prototype.setSize=function(a,c,h){this.width=a;this.height=c;this.boxWrapper.animate({width:a,height:c},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:q(h,!0)?void 0:0});this.alignElements()};G.prototype.g=function(a){var c=this.createElement("g");return a?c.attr({"class":"highcharts-"+a}):c};G.prototype.image=function(a,c,h,k,n,d){var x={preserveAspectRatio:"none"},m=function(a,c){a.setAttributeNS?a.setAttributeNS("http://www.w3.org/1999/xlink",
+"href",c):a.setAttribute("hc-svg-href",c)},e=function(c){m(G.element,a);d.call(G,c)};1<arguments.length&&H(x,{x:c,y:h,width:k,height:n});var G=this.createElement("image").attr(x);d?(m(G.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),x=new B.Image,p(x,"load",e),x.src=a,x.complete&&e({})):m(G.element,a);return G};G.prototype.symbol=function(a,c,h,m,G,v){var x=this,l=/^url\((.*?)\)$/,P=l.test(a),E=!P&&(this.symbols[a]?a:"circle"),f=E&&this.symbols[E],w;if(f){"number"===
+typeof c&&(w=f.call(this.symbols,Math.round(c||0),Math.round(h||0),m||0,G||0,v));var b=this.path(w);x.styledMode||b.attr("fill","none");H(b,{symbolName:E,x:c,y:h,width:m,height:G});v&&H(b,v)}else if(P){var z=a.match(l)[1];b=this.image(z);b.imgwidth=q(S[z]&&S[z].width,v&&v.width);b.imgheight=q(S[z]&&S[z].height,v&&v.height);var p=function(){b.attr({width:b.width,height:b.height})};["width","height"].forEach(function(a){b[a+"Setter"]=function(a,c){var h=this["img"+c];this[c]=a;d(h)&&(v&&"within"===
+v.backgroundSize&&this.width&&this.height&&(h=Math.round(h*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(c,h),this.alignByTranslate||(a=((this[c]||0)-h)/2,this.attr("width"===c?{translateX:a}:{translateY:a})))}});d(c)&&b.attr({x:c,y:h});b.isImg=!0;d(b.imgwidth)&&d(b.imgheight)?p():(b.attr({width:0,height:0}),g("img",{onload:function(){var a=n[x.chartIndex];0===this.width&&(e(this,{position:"absolute",top:"-999em"}),k.body.appendChild(this));
+S[z]={width:this.width,height:this.height};b.imgwidth=this.width;b.imgheight=this.height;b.element&&p();this.parentNode&&this.parentNode.removeChild(this);x.imgCount--;if(!x.imgCount&&a&&!a.hasLoaded)a.onload()},src:z}),this.imgCount++)}return b};G.prototype.clipRect=function(a,h,k,n){var d=c()+"-",x=this.createElement("clipPath").attr({id:d}).add(this.defs);a=this.rect(a,h,k,n,0).add(x);a.id=d;a.clipPath=x;a.count=0;return a};G.prototype.text=function(a,c,h,k){var n={};if(k&&(this.allowHTML||!this.forExport))return this.html(a,
+c,h);n.x=Math.round(c||0);h&&(n.y=Math.round(h));d(a)&&(n.text=a);a=this.createElement("text").attr(n);k||(a.xSetter=function(a,c,h){var k=h.getElementsByTagName("tspan"),n=h.getAttribute(c),d;for(d=0;d<k.length;d++){var x=k[d];x.getAttribute(c)===n&&x.setAttribute(c,a)}h.setAttribute(c,a)});return a};G.prototype.fontMetrics=function(a,c){a=!this.styledMode&&/px/.test(a)||!B.getComputedStyle?a||c&&c.style&&c.style.fontSize||this.style&&this.style.fontSize:c&&y.prototype.getStyle.call(c,"font-size");
+a=/px/.test(a)?m(a):12;c=24>a?a+3:Math.round(1.2*a);return{h:c,b:Math.round(.8*c),f:a}};G.prototype.rotCorr=function(c,h,k){var n=c;h&&k&&(n=Math.max(n*Math.cos(h*a),4));return{x:-c/3*Math.sin(h*a),y:n}};G.prototype.pathToSegments=function(a){for(var c=[],h=[],k={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},n=0;n<a.length;n++)w(h[0])&&K(a[n])&&h.length===k[h[0].toUpperCase()]&&a.splice(n,0,h[0].replace("M","L").replace("m","l")),"string"===typeof a[n]&&(h.length&&c.push(h.slice(0)),h.length=0),h.push(a[n]);
+c.push(h.slice(0));return c};G.prototype.label=function(a,c,h,k,n,d,m,e,G){return new C(this,a,c,h,k,n,d,m,e,G)};G.prototype.alignElements=function(){this.alignedObjects.forEach(function(a){return a.align()})};return G}();r.prototype.Element=y;r.prototype.SVG_NS=M;r.prototype.draw=L;r.prototype.escapes={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};var O=function(a,c,h,k,n){n=n&&n.r||0;return[["M",a+n,c],["L",a+h-n,c],["C",a+h,c,a+h,c,a+h,c+n],["L",a+h,c+k-n],["C",a+h,c+k,a+h,c+k,a+
+h-n,c+k],["L",a+n,c+k],["C",a,c+k,a,c+k,a,c+k-n],["L",a,c+n],["C",a,c,a,c,a+n,c]]};L=function(a,c,h,k,n){return n&&n.r?O(a,c,h,k,n):[["M",a,c],["L",a+h,c],["L",a+h,c+k],["L",a,c+k],["Z"]]};r.prototype.symbols={circle:function(a,c,h,k){return this.arc(a+h/2,c+k/2,h/2,k/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},rect:L,square:L,triangle:function(a,c,h,k){return[["M",a+h/2,c],["L",a+h,c+k],["L",a,c+k],["Z"]]},"triangle-down":function(a,c,h,k){return[["M",a,c],["L",a+h,c],["L",a+h/2,c+k],["Z"]]},
+diamond:function(a,c,h,k){return[["M",a+h/2,c],["L",a+h,c+k/2],["L",a+h/2,c+k],["L",a,c+k/2],["Z"]]},arc:function(a,c,h,k,n){var m=[];if(n){var x=n.start||0,e=q(n.r,h);h=q(n.r,k||h);var v=(n.end||0)-.001;k=n.innerR;var G=q(n.open,.001>Math.abs((n.end||0)-x-2*Math.PI)),g=Math.cos(x),l=Math.sin(x),E=Math.cos(v),f=Math.sin(v);x=q(n.longArc,.001>v-x-Math.PI?0:1);m.push(["M",a+e*g,c+h*l],["A",e,h,0,x,q(n.clockwise,1),a+e*E,c+h*f]);d(k)&&m.push(G?["M",a+k*E,c+k*f]:["L",a+k*E,c+k*f],["A",k,k,0,x,d(n.clockwise)?
+1-n.clockwise:0,a+k*g,c+k*l]);G||m.push(["Z"])}return m},callout:function(a,c,h,k,n){var d=Math.min(n&&n.r||0,h,k),m=d+6,e=n&&n.anchorX;n=n&&n.anchorY||0;var x=O(a,c,h,k,{r:d});if(!K(e))return x;a+e>=h?n>c+m&&n<c+k-m?x.splice(3,1,["L",a+h,n-6],["L",a+h+6,n],["L",a+h,n+6],["L",a+h,c+k-d]):x.splice(3,1,["L",a+h,k/2],["L",e,n],["L",a+h,k/2],["L",a+h,c+k-d]):0>=a+e?n>c+m&&n<c+k-m?x.splice(7,1,["L",a,n+6],["L",a-6,n],["L",a,n-6],["L",a,c+d]):x.splice(7,1,["L",a,k/2],["L",e,n],["L",a,k/2],["L",a,c+d]):
+n&&n>k&&e>a+m&&e<a+h-m?x.splice(5,1,["L",e+6,c+k],["L",e,c+k+6],["L",e-6,c+k],["L",a+d,c+k]):n&&0>n&&e>a+m&&e<a+h-m&&x.splice(1,1,["L",e-6,c],["L",e,c-6],["L",e+6,c],["L",h-d,c]);return x}};f.SVGRenderer=r;f.Renderer=f.SVGRenderer;return f.Renderer});J(b,"Core/Renderer/HTML/HTMLElement.js",[b["Core/Globals.js"],b["Core/Renderer/SVG/SVGElement.js"],b["Core/Utilities.js"]],function(b,f,D){var B=b.isFirefox,C=b.isMS,A=b.isWebKit,t=b.win,r=D.css,p=D.defined,l=D.extend,g=D.pick,e=D.pInt;l(f.prototype,
+{htmlCss:function(d){var e="SPAN"===this.element.tagName&&d&&"width"in d,f=g(e&&d.width,void 0);if(e){delete d.width;this.textWidth=f;var b=!0}d&&"ellipsis"===d.textOverflow&&(d.whiteSpace="nowrap",d.overflow="hidden");this.styles=l(this.styles,d);r(this.element,d);b&&this.htmlUpdateTransform();return this},htmlGetBBox:function(){var d=this.element;return{x:d.offsetLeft,y:d.offsetTop,width:d.offsetWidth,height:d.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var d=this.renderer,g=this.element,
+l=this.translateX||0,f=this.translateY||0,b=this.x||0,F=this.y||0,w=this.textAlign||"left",z={left:0,center:.5,right:1}[w],q=this.styles;q=q&&q.whiteSpace;r(g,{marginLeft:l,marginTop:f});!d.styledMode&&this.shadows&&this.shadows.forEach(function(a){r(a,{marginLeft:l+1,marginTop:f+1})});this.inverted&&[].forEach.call(g.childNodes,function(a){d.invertChild(a,g)});if("SPAN"===g.tagName){var m=this.rotation,c=void 0;c=this.textWidth&&e(this.textWidth);var n=[m,w,g.innerHTML,this.textWidth,this.textAlign].join(),
+a;(a=c!==this.oldTextWidth)&&!(a=c>this.oldTextWidth)&&((a=this.textPxLength)||(r(g,{width:"",whiteSpace:q||"nowrap"}),a=g.offsetWidth),a=a>c);a&&(/[ \-]/.test(g.textContent||g.innerText)||"ellipsis"===g.style.textOverflow)?(r(g,{width:c+"px",display:"block",whiteSpace:q||"normal"}),this.oldTextWidth=c,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1;n!==this.cTT&&(c=d.fontMetrics(g.style.fontSize,g).b,!p(m)||m===(this.oldRotation||0)&&w===this.oldAlign||this.setSpanRotation(m,z,c),this.getSpanCorrection(!p(m)&&
+this.textPxLength||g.offsetWidth,c,z,m,w));r(g,{left:b+(this.xCorr||0)+"px",top:F+(this.yCorr||0)+"px"});this.cTT=n;this.oldRotation=m;this.oldAlign=w}}else this.alignOnAdd=!0},setSpanRotation:function(d,e,g){var l={},f=C&&!/Edge/.test(t.navigator.userAgent)?"-ms-transform":A?"-webkit-transform":B?"MozTransform":t.opera?"-o-transform":void 0;f&&(l[f]=l.transform="rotate("+d+"deg)",l[f+(B?"Origin":"-origin")]=l.transformOrigin=100*e+"% "+g+"px",r(this.element,l))},getSpanCorrection:function(d,e,g){this.xCorr=
+-d*g;this.yCorr=-e}});return f});J(b,"Core/Renderer/HTML/HTMLRenderer.js",[b["Core/Renderer/HTML/AST.js"],b["Core/Renderer/SVG/SVGElement.js"],b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,f,D,y){var B=y.attr,A=y.createElement,t=y.extend,r=y.pick;t(D.prototype,{html:function(p,l,g){var e=this.createElement("span"),d=e.element,u=e.renderer,H=u.isSVG,I=function(d,e){["opacity","visibility"].forEach(function(g){d[g+"Setter"]=function(l,q,m){var c=d.div?d.div.style:e;f.prototype[g+
+"Setter"].call(this,l,q,m);c&&(c[q]=l)}});d.addedSetters=!0};e.textSetter=function(d){d!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,b.setElementHTML(this.element,r(d,"")),this.textStr=d,e.doTransform=!0)};H&&I(e,e.element.style);e.xSetter=e.ySetter=e.alignSetter=e.rotationSetter=function(d,g){"align"===g?e.alignValue=e.textAlign=d:e[g]=d;e.doTransform=!0};e.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};e.attr({text:p,x:Math.round(l),y:Math.round(g)}).css({position:"absolute"});
+u.styledMode||e.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});d.style.whiteSpace="nowrap";e.css=e.htmlCss;H&&(e.add=function(g){var l=u.box.parentNode,f=[];if(this.parentGroup=g){var b=g.div;if(!b){for(;g;)f.push(g),g=g.parentGroup;f.reverse().forEach(function(d){function m(c,h){d[h]=c;"translateX"===h?a.left=c+"px":a.top=c+"px";d.doTransform=!0}var c=B(d.element,"class"),n=d.styles||{};b=d.div=d.div||A("div",c?{className:c}:void 0,{position:"absolute",left:(d.translateX||0)+
+"px",top:(d.translateY||0)+"px",display:d.display,opacity:d.opacity,cursor:n.cursor,pointerEvents:n.pointerEvents},b||l);var a=b.style;t(d,{classSetter:function(a){return function(c){this.element.setAttribute("class",c);a.className=c}}(b),on:function(){f[0].div&&e.on.apply({element:f[0].div,onEvents:e.onEvents},arguments);return d},translateXSetter:m,translateYSetter:m});d.addedSetters||I(d)})}}else b=l;b.appendChild(d);e.added=!0;e.alignOnAdd&&e.htmlUpdateTransform();return e});return e}});return D});
+J(b,"Core/Axis/Tick.js",[b["Core/FormatUtilities.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,f,D){var B=f.deg2rad,C=D.clamp,A=D.correctFloat,t=D.defined,r=D.destroyObjectProperties,p=D.extend,l=D.fireEvent,g=D.isNumber,e=D.merge,d=D.objectEach,u=D.pick;"";D=function(){function f(d,e,g,f,b){this.isNewLabel=this.isNew=!0;this.axis=d;this.pos=e;this.type=g||"";this.parameters=b||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;l(this,"init");
+g||f||this.addLabel()}f.prototype.addLabel=function(){var d=this,e=d.axis,f=e.options,w=e.chart,z=e.categories,q=e.logarithmic,m=e.names,c=d.pos,n=u(d.options&&d.options.labels,f.labels),a=e.tickPositions,k=c===a[0],h=c===a[a.length-1],v=d.label,E=(!n.step||1===n.step)&&1===e.tickInterval;a=a.info;var L,M;z=this.parameters.category||(z?u(z[c],m[c],c):c);q&&g(z)&&(z=A(q.lin2log(z)));if(e.dateTime&&a){var r=w.time.resolveDTLFormat(f.dateTimeLabelFormats[!f.grid&&a.higherRanks[c]||a.unitName]);var H=
+r.main}d.isFirst=k;d.isLast=h;var R={axis:e,chart:w,dateTimeLabelFormat:H,isFirst:k,isLast:h,pos:c,tick:d,tickPositionInfo:a,value:z};l(this,"labelFormat",R);var O=function(a){return n.formatter?n.formatter.call(a,a):n.format?(a.text=e.defaultLabelFormatter.call(a),b.format(n.format,a,w)):e.defaultLabelFormatter.call(a,a)};f=O.call(R,R);if(M=r&&r.list)d.shortenLabel=function(){for(L=0;L<M.length;L++)if(p(R,{dateTimeLabelFormat:M[L]}),v.attr({text:O.call(R,R)}),v.getBBox().width<e.getSlotWidth(d)-
+2*n.padding)return;v.attr({text:""})};E&&e._addedPlotLB&&d.moveLabel(f,n);t(v)||d.movedLabel?v&&v.textStr!==f&&!E&&(!v.textWidth||n.style.width||v.styles.width||v.css({width:null}),v.attr({text:f}),v.textPxLength=v.getBBox().width):(d.label=v=d.createLabel({x:0,y:0},f,n),d.rotation=0)};f.prototype.createLabel=function(d,g,l){var f=this.axis,b=f.chart;if(d=t(g)&&l.enabled?b.renderer.text(g,d.x,d.y,l.useHTML).add(f.labelGroup):null)b.styledMode||d.css(e(l.style)),d.textPxLength=d.getBBox().width;return d};
+f.prototype.destroy=function(){r(this,this.axis)};f.prototype.getPosition=function(d,e,g,f){var b=this.axis,q=b.chart,m=f&&q.oldChartHeight||q.chartHeight;d={x:d?A(b.translate(e+g,null,null,f)+b.transB):b.left+b.offset+(b.opposite?(f&&q.oldChartWidth||q.chartWidth)-b.right-b.left:0),y:d?m-b.bottom+b.offset-(b.opposite?b.height:0):A(m-b.translate(e+g,null,null,f)-b.transB)};d.y=C(d.y,-1E5,1E5);l(this,"afterGetPosition",{pos:d});return d};f.prototype.getLabelPosition=function(d,e,g,f,b,q,m,c){var n=
+this.axis,a=n.transA,k=n.isLinked&&n.linkedParent?n.linkedParent.reversed:n.reversed,h=n.staggerLines,v=n.tickRotCorr||{x:0,y:0},E=b.y,w=f||n.reserveSpaceDefault?0:-n.labelOffset*("center"===n.labelAlign?.5:1),p={};t(E)||(E=0===n.side?g.rotation?-8:-g.getBBox().height:2===n.side?v.y+8:Math.cos(g.rotation*B)*(v.y-g.getBBox(!1,0).height/2));d=d+b.x+w+v.x-(q&&f?q*a*(k?-1:1):0);e=e+E-(q&&!f?q*a*(k?1:-1):0);h&&(g=m/(c||1)%h,n.opposite&&(g=h-g-1),e+=n.labelOffset/h*g);p.x=d;p.y=Math.round(e);l(this,"afterGetLabelPosition",
+{pos:p,tickmarkOffset:q,index:m});return p};f.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};f.prototype.getMarkPath=function(d,e,g,l,f,q){return q.crispLine([["M",d,e],["L",d+(f?0:-g),e+(f?g:0)]],l)};f.prototype.handleOverflow=function(d){var e=this.axis,g=e.options.labels,l=d.x,f=e.chart.chartWidth,q=e.chart.spacing,m=u(e.labelLeft,Math.min(e.pos,q[3]));q=u(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,f-q[1]));var c=this.label,n=this.rotation,
+a={left:0,center:.5,right:1}[e.labelAlign||c.attr("align")],k=c.getBBox().width,h=e.getSlotWidth(this),v=h,b=1,p,M={};if(n||"justify"!==g.overflow)0>n&&l-a*k<m?p=Math.round(l/Math.cos(n*B)-m):0<n&&l+a*k>q&&(p=Math.round((f-l)/Math.cos(n*B)));else if(f=l+(1-a)*k,l-a*k<m?v=d.x+v*(1-a)-m:f>q&&(v=q-d.x+v*a,b=-1),v=Math.min(h,v),v<h&&"center"===e.labelAlign&&(d.x+=b*(h-v-a*(h-Math.min(k,v)))),k>v||e.autoRotation&&(c.styles||{}).width)p=v;p&&(this.shortenLabel?this.shortenLabel():(M.width=Math.floor(p)+
+"px",(g.style||{}).textOverflow||(M.textOverflow="ellipsis"),c.css(M)))};f.prototype.moveLabel=function(e,g){var l=this,f=l.label,b=!1,q=l.axis,m=q.reversed;f&&f.textStr===e?(l.movedLabel=f,b=!0,delete l.label):d(q.ticks,function(c){b||c.isNew||c===l||!c.label||c.label.textStr!==e||(l.movedLabel=c.label,b=!0,c.labelPos=l.movedLabel.xy,delete c.label)});if(!b&&(l.labelPos||f)){var c=l.labelPos||f.xy;f=q.horiz?m?0:q.width+q.left:c.x;q=q.horiz?c.y:m?q.width+q.left:0;l.movedLabel=l.createLabel({x:f,y:q},
+e,g);l.movedLabel&&l.movedLabel.attr({opacity:0})}};f.prototype.render=function(d,e,g){var f=this.axis,b=f.horiz,q=this.pos,m=u(this.tickmarkOffset,f.tickmarkOffset);q=this.getPosition(b,q,m,e);m=q.x;var c=q.y;f=b&&m===f.pos+f.len||!b&&c===f.pos?-1:1;b=u(g,this.label&&this.label.newOpacity,1);g=u(g,1);this.isActive=!0;this.renderGridLine(e,g,f);this.renderMark(q,g,f);this.renderLabel(q,e,b,d);this.isNew=!1;l(this,"afterRender")};f.prototype.renderGridLine=function(d,e,g){var l=this.axis,f=l.options,
+b=this.gridLine,m={},c=this.pos,n=this.type,a=u(this.tickmarkOffset,l.tickmarkOffset),k=l.chart.renderer,h=f.gridLineWidth,v=f.gridLineColor,E=f.gridLineDashStyle;"minor"===this.type&&(h=f.minorGridLineWidth,v=f.minorGridLineColor,E=f.minorGridLineDashStyle);b||(l.chart.styledMode||(m.stroke=v,m["stroke-width"]=h||0,m.dashstyle=E),n||(m.zIndex=1),d&&(e=0),this.gridLine=b=k.path().attr(m).addClass("highcharts-"+(n?n+"-":"")+"grid-line").add(l.gridGroup));if(b&&(g=l.getPlotLinePath({value:c+a,lineWidth:b.strokeWidth()*
+g,force:"pass",old:d})))b[d||this.isNew?"attr":"animate"]({d:g,opacity:e})};f.prototype.renderMark=function(d,e,g){var l=this.axis,f=l.options,b=l.chart.renderer,m=this.type,c=l.tickSize(m?m+"Tick":"tick"),n=this.mark,a=!n,k=d.x;d=d.y;var h=u(f["minor"!==m?"tickWidth":"minorTickWidth"],!m&&l.isXAxis?1:0);f=f["minor"!==m?"tickColor":"minorTickColor"];c&&(l.opposite&&(c[0]=-c[0]),a&&(this.mark=n=b.path().addClass("highcharts-"+(m?m+"-":"")+"tick").add(l.axisGroup),l.chart.styledMode||n.attr({stroke:f,
+"stroke-width":h})),n[a?"attr":"animate"]({d:this.getMarkPath(k,d,c[0],n.strokeWidth()*g,l.horiz,b),opacity:e}))};f.prototype.renderLabel=function(d,e,l,f){var b=this.axis,q=b.horiz,m=b.options,c=this.label,n=m.labels,a=n.step;b=u(this.tickmarkOffset,b.tickmarkOffset);var k=!0,h=d.x;d=d.y;c&&g(h)&&(c.xy=d=this.getLabelPosition(h,d,c,q,n,b,f,a),this.isFirst&&!this.isLast&&!m.showFirstLabel||this.isLast&&!this.isFirst&&!m.showLastLabel?k=!1:!q||n.step||n.rotation||e||0===l||this.handleOverflow(d),a&&
+f%a&&(k=!1),k&&g(d.y)?(d.opacity=l,c[this.isNewLabel?"attr":"animate"](d),this.isNewLabel=!1):(c.attr("y",-9999),this.isNewLabel=!0))};f.prototype.replaceMovedLabel=function(){var d=this.label,e=this.axis,g=e.reversed;if(d&&!this.isNew){var l=e.horiz?g?e.left:e.width+e.left:d.xy.x;g=e.horiz?d.xy.y:g?e.width+e.top:e.top;d.animate({x:l,y:g,opacity:0},void 0,d.destroy);delete this.label}e.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return f}();f.Tick=D;return f.Tick});J(b,"Core/Axis/Axis.js",
+[b["Core/Animation/AnimationUtilities.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Options.js"],b["Core/Axis/Tick.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t){var r=b.animObject,p=C.defaultOptions,l=t.addEvent,g=t.arrayMax,e=t.arrayMin,d=t.clamp,u=t.correctFloat,H=t.defined,I=t.destroyObjectProperties,B=t.erase,F=t.error,w=t.extend,z=t.fireEvent,q=t.getMagnitude,m=t.isArray,c=t.isFunction,n=t.isNumber,a=t.isString,k=t.merge,h=t.normalizeTickInterval,
+v=t.objectEach,E=t.pick,L=t.relativeLength,M=t.removeEvent,S=t.splat,Y=t.syncTimeout;"";var R=D.deg2rad;b=function(){function b(a,c){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=
+this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0;this.init(a,c)}b.prototype.init=function(a,h){var k=h.isX,d=this;d.chart=a;d.horiz=a.inverted&&!d.isZAxis?!k:k;d.isXAxis=k;
+d.coll=d.coll||(k?"xAxis":"yAxis");z(this,"init",{userOptions:h});d.opposite=E(h.opposite,d.opposite);d.side=E(h.side,d.side,d.horiz?d.opposite?0:2:d.opposite?1:3);d.setOptions(h);var e=this.options,m=e.labels,x=e.type;d.userOptions=h;d.minPixelPadding=0;d.reversed=E(e.reversed,d.reversed);d.visible=e.visible;d.zoomEnabled=e.zoomEnabled;d.hasNames="category"===x||!0===e.categories;d.categories=e.categories||d.hasNames;d.names||(d.names=[],d.names.keys={});d.plotLinesAndBandsGroups={};d.positiveValuesOnly=
+!!d.logarithmic;d.isLinked=H(e.linkedTo);d.ticks={};d.labelEdge=[];d.minorTicks={};d.plotLinesAndBands=[];d.alternateBands={};d.len=0;d.minRange=d.userMinRange=e.minRange||e.maxZoom;d.range=e.range;d.offset=e.offset||0;d.max=null;d.min=null;h=E(e.crosshair,S(a.options.tooltip.crosshairs)[k?0:1]);d.crosshair=!0===h?{}:h;h=d.options.events;-1===a.axes.indexOf(d)&&(k?a.axes.splice(a.xAxis.length,0,d):a.axes.push(d),a[d.coll].push(d));d.series=d.series||[];a.inverted&&!d.isZAxis&&k&&"undefined"===typeof d.reversed&&
+(d.reversed=!0);d.labelRotation=n(m.rotation)?m.rotation:void 0;v(h,function(a,h){c(a)&&l(d,h,a)});z(this,"afterInit")};b.prototype.setOptions=function(a){this.options=k(b.defaultOptions,"yAxis"===this.coll&&b.defaultYAxisOptions,[b.defaultTopAxisOptions,b.defaultRightAxisOptions,b.defaultBottomAxisOptions,b.defaultLeftAxisOptions][this.side],k(p[this.coll],a));z(this,"afterSetOptions",{userOptions:a})};b.prototype.defaultLabelFormatter=function(){var a=this.axis,c=n(this.value)?this.value:NaN,h=
+a.chart.time,d=this.dateTimeLabelFormat,k=p.lang,e=k.numericSymbols;k=k.numericSymbolMagnitude||1E3;var m=e&&e.length,v=a.logarithmic?Math.abs(c):a.tickInterval,g=this.chart.numberFormatter;if(a.categories)var b=""+this.value;else if(d)b=h.dateFormat(d,c);else if(m&&1E3<=v)for(;m--&&"undefined"===typeof b;)a=Math.pow(k,m+1),v>=a&&0===10*c%a&&null!==e[m]&&0!==c&&(b=g(c/a,-1)+e[m]);"undefined"===typeof b&&(b=1E4<=Math.abs(c)?g(c,-1):g(c,-1,void 0,""));return b};b.prototype.getSeriesExtremes=function(){var a=
+this,c=a.chart,h;z(this,"getSeriesExtremes",null,function(){a.hasVisibleSeries=!1;a.dataMin=a.dataMax=a.threshold=null;a.softThreshold=!a.isXAxis;a.stacking&&a.stacking.buildStacks();a.series.forEach(function(d){if(d.visible||!c.options.chart.ignoreHiddenSeries){var k=d.options,e=k.threshold;a.hasVisibleSeries=!0;a.positiveValuesOnly&&0>=e&&(e=null);if(a.isXAxis){if(k=d.xData,k.length){k=a.logarithmic?k.filter(a.validatePositiveValue):k;h=d.getXExtremes(k);var m=h.min;var v=h.max;n(m)||m instanceof
+Date||(k=k.filter(n),h=d.getXExtremes(k),m=h.min,v=h.max);k.length&&(a.dataMin=Math.min(E(a.dataMin,m),m),a.dataMax=Math.max(E(a.dataMax,v),v))}}else if(d=d.applyExtremes(),n(d.dataMin)&&(m=d.dataMin,a.dataMin=Math.min(E(a.dataMin,m),m)),n(d.dataMax)&&(v=d.dataMax,a.dataMax=Math.max(E(a.dataMax,v),v)),H(e)&&(a.threshold=e),!k.softThreshold||a.positiveValuesOnly)a.softThreshold=!1}})});z(this,"afterGetSeriesExtremes")};b.prototype.translate=function(a,c,h,d,k,e){var m=this.linkedParent||this,v=1,x=
+0,g=d&&m.old?m.old.transA:m.transA;d=d&&m.old?m.old.min:m.min;var b=m.minPixelPadding;k=(m.isOrdinal||m.brokenAxis&&m.brokenAxis.hasBreaks||m.logarithmic&&k)&&m.lin2val;g||(g=m.transA);h&&(v*=-1,x=m.len);m.reversed&&(v*=-1,x-=v*(m.sector||m.len));c?(a=(a*v+x-b)/g+d,k&&(a=m.lin2val(a))):(k&&(a=m.val2lin(a)),a=n(d)?v*(a-d)*g+x+v*b+(n(e)?g*e:0):void 0);return a};b.prototype.toPixels=function(a,c){return this.translate(a,!1,!this.horiz,null,!0)+(c?0:this.pos)};b.prototype.toValue=function(a,c){return this.translate(a-
+(c?0:this.pos),!0,!this.horiz,null,!0)};b.prototype.getPlotLinePath=function(a){function c(a,c,h){if("pass"!==f&&a<c||a>h)f?a=d(a,c,h):M=!0;return a}var h=this,k=h.chart,e=h.left,m=h.top,v=a.old,g=a.value,b=a.translatedValue,l=a.lineWidth,f=a.force,G,q,p,L,w=v&&k.oldChartHeight||k.chartHeight,u=v&&k.oldChartWidth||k.chartWidth,M,r=h.transB;a={value:g,lineWidth:l,old:v,force:f,acrossPanes:a.acrossPanes,translatedValue:b};z(this,"getPlotLinePath",a,function(a){b=E(b,h.translate(g,null,null,v));b=d(b,
+-1E5,1E5);G=p=Math.round(b+r);q=L=Math.round(w-b-r);n(b)?h.horiz?(q=m,L=w-h.bottom,G=p=c(G,e,e+h.width)):(G=e,p=u-h.right,q=L=c(q,m,m+h.height)):(M=!0,f=!1);a.path=M&&!f?null:k.renderer.crispLine([["M",G,q],["L",p,L]],l||1)});return a.path};b.prototype.getLinearTickPositions=function(a,c,h){var d=u(Math.floor(c/a)*a);h=u(Math.ceil(h/a)*a);var k=[],n;u(d+a)===d&&(n=20);if(this.single)return[c];for(c=d;c<=h;){k.push(c);c=u(c+a,n);if(c===e)break;var e=c}return k};b.prototype.getMinorTickInterval=function(){var a=
+this.options;return!0===a.minorTicks?E(a.minorTickInterval,"auto"):!1===a.minorTicks?null:a.minorTickInterval};b.prototype.getMinorTickPositions=function(){var a=this.options,c=this.tickPositions,h=this.minorTickInterval,d=[],k=this.pointRangePadding||0,n=this.min-k;k=this.max+k;var e=k-n;if(e&&e/h<this.len/3){var m=this.logarithmic;if(m)this.paddedTicks.forEach(function(a,c,k){c&&d.push.apply(d,m.getLogTickPositions(h,k[c-1],k[c],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())d=
+d.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(h),n,k,a.startOfWeek));else for(a=n+(c[0]-n)%h;a<=k&&a!==d[0];a+=h)d.push(a)}0!==d.length&&this.trimTicks(d);return d};b.prototype.adjustForMinRange=function(){var a=this.options,c=this.min,h=this.max,d=this.logarithmic,k=0,n,m,v,b;this.isXAxis&&"undefined"===typeof this.minRange&&!d&&(H(a.min)||H(a.max)?this.minRange=null:(this.series.forEach(function(a){v=a.xData;b=a.xIncrement?1:v.length-1;if(1<v.length)for(n=b;0<n;n--)if(m=v[n]-
+v[n-1],!k||m<k)k=m}),this.minRange=Math.min(5*k,this.dataMax-this.dataMin)));if(h-c<this.minRange){var l=this.dataMax-this.dataMin>=this.minRange;var f=this.minRange;var q=(f-h+c)/2;q=[c-q,E(a.min,c-q)];l&&(q[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);c=g(q);h=[c+f,E(a.max,c+f)];l&&(h[2]=d?d.log2lin(this.dataMax):this.dataMax);h=e(h);h-c<f&&(q[0]=h-f,q[1]=E(a.min,h-f),c=g(q))}this.min=c;this.max=h};b.prototype.getClosest=function(){var a;this.categories?a=1:this.series.forEach(function(c){var h=
+c.closestPointRange,d=c.visible||!c.chart.options.chart.ignoreHiddenSeries;!c.noSharedTooltip&&H(h)&&d&&(a=H(a)?Math.min(a,h):h)});return a};b.prototype.nameToX=function(a){var c=m(this.categories),h=c?this.categories:this.names,d=a.options.x;a.series.requireSorting=!1;H(d)||(d=this.options.uniqueNames?c?h.indexOf(a.name):E(h.keys[a.name],-1):a.series.autoIncrement());if(-1===d){if(!c)var k=h.length}else k=d;"undefined"!==typeof k&&(this.names[k]=a.name,this.names.keys[a.name]=k);return k};b.prototype.updateNames=
+function(){var a=this,c=this.names;0<c.length&&(Object.keys(c.keys).forEach(function(a){delete c.keys[a]}),c.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(c){c.xIncrement=null;if(!c.points||c.isDirtyData)a.max=Math.max(a.max,c.xData.length-1),c.processData(),c.generatePoints();c.data.forEach(function(h,d){if(h&&h.options&&"undefined"!==typeof h.name){var k=a.nameToX(h);"undefined"!==typeof k&&k!==h.x&&(h.x=k,c.xData[d]=k)}})}))};b.prototype.setAxisTranslation=function(){var c=
+this,h=c.max-c.min,d=c.axisPointRange||0,k=0,n=0,e=c.linkedParent,m=!!c.categories,v=c.transA,g=c.isXAxis;if(g||m||d){var b=c.getClosest();e?(k=e.minPointOffset,n=e.pointRangePadding):c.series.forEach(function(h){var e=m?1:g?E(h.options.pointRange,b,0):c.axisPointRange||0,v=h.options.pointPlacement;d=Math.max(d,e);if(!c.single||m)h=h.is("xrange")?!g:g,k=Math.max(k,h&&a(v)?0:e/2),n=Math.max(n,h&&"on"===v?0:e)});e=c.ordinal&&c.ordinal.slope&&b?c.ordinal.slope/b:1;c.minPointOffset=k*=e;c.pointRangePadding=
+n*=e;c.pointRange=Math.min(d,c.single&&m?1:h);g&&(c.closestPointRange=b)}c.translationSlope=c.transA=v=c.staticScale||c.len/(h+n||1);c.transB=c.horiz?c.left:c.bottom;c.minPixelPadding=v*k;z(this,"afterSetAxisTranslation")};b.prototype.minFromRange=function(){return this.max-this.range};b.prototype.setTickInterval=function(a){var c=this,d=c.chart,k=c.logarithmic,e=c.options,m=c.isXAxis,v=c.isLinked,g=e.maxPadding,b=e.minPadding,l=e.tickInterval,f=e.tickPixelInterval,G=c.categories,p=n(c.threshold)?
+c.threshold:null,L=c.softThreshold;c.dateTime||G||v||this.getTickAmount();var w=E(c.userMin,e.min);var M=E(c.userMax,e.max);if(v){c.linkedParent=d[c.coll][e.linkedTo];var r=c.linkedParent.getExtremes();c.min=E(r.min,r.dataMin);c.max=E(r.max,r.dataMax);e.type!==c.linkedParent.options.type&&F(11,1,d)}else{if(L&&H(p))if(c.dataMin>=p)r=p,b=0;else if(c.dataMax<=p){var t=p;g=0}c.min=E(w,r,c.dataMin);c.max=E(M,t,c.dataMax)}k&&(c.positiveValuesOnly&&!a&&0>=Math.min(c.min,E(c.dataMin,c.min))&&F(10,1,d),c.min=
+u(k.log2lin(c.min),16),c.max=u(k.log2lin(c.max),16));c.range&&H(c.max)&&(c.userMin=c.min=w=Math.max(c.dataMin,c.minFromRange()),c.userMax=M=c.max,c.range=null);z(c,"foundExtremes");c.beforePadding&&c.beforePadding();c.adjustForMinRange();!(G||c.axisPointRange||c.stacking&&c.stacking.usePercentage||v)&&H(c.min)&&H(c.max)&&(d=c.max-c.min)&&(!H(w)&&b&&(c.min-=d*b),!H(M)&&g&&(c.max+=d*g));n(c.userMin)||(n(e.softMin)&&e.softMin<c.min&&(c.min=w=e.softMin),n(e.floor)&&(c.min=Math.max(c.min,e.floor)));n(c.userMax)||
+(n(e.softMax)&&e.softMax>c.max&&(c.max=M=e.softMax),n(e.ceiling)&&(c.max=Math.min(c.max,e.ceiling)));L&&H(c.dataMin)&&(p=p||0,!H(w)&&c.min<p&&c.dataMin>=p?c.min=c.options.minRange?Math.min(p,c.max-c.minRange):p:!H(M)&&c.max>p&&c.dataMax<=p&&(c.max=c.options.minRange?Math.max(p,c.min+c.minRange):p));n(c.min)&&n(c.max)&&!this.chart.polar&&c.min>c.max&&(H(c.options.min)?c.max=c.min:H(c.options.max)&&(c.min=c.max));c.tickInterval=c.min===c.max||"undefined"===typeof c.min||"undefined"===typeof c.max?1:
+v&&c.linkedParent&&!l&&f===c.linkedParent.options.tickPixelInterval?l=c.linkedParent.tickInterval:E(l,this.tickAmount?(c.max-c.min)/Math.max(this.tickAmount-1,1):void 0,G?1:(c.max-c.min)*f/Math.max(c.len,f));m&&!a&&c.series.forEach(function(a){a.processData(c.min!==(c.old&&c.old.min)||c.max!==(c.old&&c.old.max))});c.setAxisTranslation();z(this,"initialAxisTranslation");c.pointRange&&!l&&(c.tickInterval=Math.max(c.pointRange,c.tickInterval));a=E(e.minTickInterval,c.dateTime&&!c.series.some(function(a){return a.noSharedTooltip})?
+c.closestPointRange:0);!l&&c.tickInterval<a&&(c.tickInterval=a);c.dateTime||c.logarithmic||l||(c.tickInterval=h(c.tickInterval,void 0,q(c.tickInterval),E(e.allowDecimals,.5>c.tickInterval||void 0!==this.tickAmount),!!this.tickAmount));this.tickAmount||(c.tickInterval=c.unsquish());this.setTickPositions()};b.prototype.setTickPositions=function(){var a=this.options,c=a.tickPositions;var h=this.getMinorTickInterval();var d=a.tickPositioner,k=this.hasVerticalPanning(),n="colorAxis"===this.coll,e=(n||
+!k)&&a.startOnTick;k=(n||!k)&&a.endOnTick;this.tickmarkOffset=this.categories&&"between"===a.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===h&&this.tickInterval?this.tickInterval/5:h;this.single=this.min===this.max&&H(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==a.allowDecimals);this.tickPositions=h=c&&c.slice();!h&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?h=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,
+a.units),this.min,this.max,a.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(h=[this.min,this.max],F(19,!1,this.chart)),h.length>this.len&&(h=[h[0],h.pop()],h[0]===h[1]&&(h.length=1)),this.tickPositions=h,d&&(d=d.apply(this,[this.min,this.max])))&&(this.tickPositions=h=d);this.paddedTicks=h.slice(0);this.trimTicks(h,
+e,k);this.isLinked||(this.single&&2>h.length&&!this.categories&&!this.series.some(function(a){return a.is("heatmap")&&"between"===a.options.pointPlacement})&&(this.min-=.5,this.max+=.5),c||d||this.adjustTickAmount());z(this,"afterSetTickPositions")};b.prototype.trimTicks=function(a,c,h){var d=a[0],k=a[a.length-1],n=!this.isOrdinal&&this.minPointOffset||0;z(this,"trimTicks");if(!this.isLinked){if(c&&-Infinity!==d)this.min=d;else for(;this.min-n>a[0];)a.shift();if(h)this.max=k;else for(;this.max+n<
+a[a.length-1];)a.pop();0===a.length&&H(d)&&!this.options.tickPositions&&a.push((k+d)/2)}};b.prototype.alignToOthers=function(){var a={},c,h=this.options;!1!==this.chart.options.chart.alignTicks&&h.alignTicks&&!1!==h.startOnTick&&!1!==h.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach(function(h){var d=h.options;d=[h.horiz?d.left:d.top,d.width,d.height,d.pane].join();h.series.length&&(a[d]?c=!0:a[d]=1)});return c};b.prototype.getTickAmount=function(){var a=this.options,c=a.tickAmount,h=
+a.tickPixelInterval;!H(a.tickInterval)&&!c&&this.len<h&&!this.isRadial&&!this.logarithmic&&a.startOnTick&&a.endOnTick&&(c=2);!c&&this.alignToOthers()&&(c=Math.ceil(this.len/h)+1);4>c&&(this.finalTickAmt=c,c=5);this.tickAmount=c};b.prototype.adjustTickAmount=function(){var a=this.options,c=this.tickInterval,h=this.tickPositions,d=this.tickAmount,k=this.finalTickAmt,e=h&&h.length,m=E(this.threshold,this.softThreshold?0:null);if(this.hasData()&&n(this.min)&&n(this.max)){if(e<d){for(;h.length<d;)h.length%
+2||this.min===m?h.push(u(h[h.length-1]+c)):h.unshift(u(h[0]-c));this.transA*=(e-1)/(d-1);this.min=a.startOnTick?h[0]:Math.min(this.min,h[0]);this.max=a.endOnTick?h[h.length-1]:Math.max(this.max,h[h.length-1])}else e>d&&(this.tickInterval*=2,this.setTickPositions());if(H(k)){for(c=a=h.length;c--;)(3===k&&1===c%2||2>=k&&0<c&&c<a-1)&&h.splice(c,1);this.finalTickAmt=void 0}}};b.prototype.setScale=function(){var a,c=!1,h=!1;this.series.forEach(function(a){c=c||a.isDirtyData||a.isDirty;h=h||a.xAxis&&a.xAxis.isDirty||
+!1});this.setAxisSize();(a=this.len!==(this.old&&this.old.len))||c||h||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=a||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks();c&&this.panningState&&(this.panningState.isDirty=
+!0);z(this,"afterSetScale")};b.prototype.setExtremes=function(a,c,h,d,k){var n=this,e=n.chart;h=E(h,!0);n.series.forEach(function(a){delete a.kdTree});k=w(k,{min:a,max:c});z(n,"setExtremes",k,function(){n.userMin=a;n.userMax=c;n.eventArgs=k;h&&e.redraw(d)})};b.prototype.zoom=function(a,c){var h=this,d=this.dataMin,k=this.dataMax,n=this.options,e=Math.min(d,E(n.min,d)),m=Math.max(k,E(n.max,k));a={newMin:a,newMax:c};z(this,"zoom",a,function(a){var c=a.newMin,n=a.newMax;if(c!==h.min||n!==h.max)h.allowZoomOutside||
+(H(d)&&(c<e&&(c=e),c>m&&(c=m)),H(k)&&(n<e&&(n=e),n>m&&(n=m))),h.displayBtn="undefined"!==typeof c||"undefined"!==typeof n,h.setExtremes(c,n,!1,void 0,{trigger:"zoom"});a.zoomed=!0});return a.zoomed};b.prototype.setAxisSize=function(){var a=this.chart,c=this.options,h=c.offsets||[0,0,0,0],d=this.horiz,k=this.width=Math.round(L(E(c.width,a.plotWidth-h[3]+h[1]),a.plotWidth)),n=this.height=Math.round(L(E(c.height,a.plotHeight-h[0]+h[2]),a.plotHeight)),e=this.top=Math.round(L(E(c.top,a.plotTop+h[0]),a.plotHeight,
+a.plotTop));c=this.left=Math.round(L(E(c.left,a.plotLeft+h[3]),a.plotWidth,a.plotLeft));this.bottom=a.chartHeight-n-e;this.right=a.chartWidth-k-c;this.len=Math.max(d?k:n,0);this.pos=d?c:e};b.prototype.getExtremes=function(){var a=this.logarithmic;return{min:a?u(a.lin2log(this.min)):this.min,max:a?u(a.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};b.prototype.getThreshold=function(a){var c=this.logarithmic,h=c?c.lin2log(this.min):this.min;
+c=c?c.lin2log(this.max):this.max;null===a||-Infinity===a?a=h:Infinity===a?a=c:h>a?a=h:c<a&&(a=c);return this.translate(a,0,1,0,1)};b.prototype.autoLabelAlign=function(a){var c=(E(a,0)-90*this.side+720)%360;a={align:"center"};z(this,"autoLabelAlign",a,function(a){15<c&&165>c?a.align="right":195<c&&345>c&&(a.align="left")});return a.align};b.prototype.tickSize=function(a){var c=this.options,h=c["tick"===a?"tickLength":"minorTickLength"],d=E(c["tick"===a?"tickWidth":"minorTickWidth"],"tick"===a&&this.isXAxis&&
+!this.categories?1:0);if(d&&h){"inside"===c[a+"Position"]&&(h=-h);var k=[h,d]}a={tickSize:k};z(this,"afterTickSize",a);return a.tickSize};b.prototype.labelMetrics=function(){var a=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[a]&&this.ticks[a].label)};b.prototype.unsquish=function(){var a=this.options.labels,c=this.horiz,h=this.tickInterval,d=h,k=this.len/(((this.categories?1:0)+this.max-this.min)/h),e,m=a.rotation,
+v=this.labelMetrics(),g,b=Number.MAX_VALUE,l=Math.max(this.max-this.min,0),f=function(a){var c=a/(k||1);c=1<c?Math.ceil(c):1;c*h>l&&Infinity!==a&&Infinity!==k&&l&&(c=Math.ceil(l/h));return u(c*h)};if(c){if(!a.staggerLines&&!a.step)if(n(m))var q=[m];else k<a.autoRotationLimit&&(q=a.autoRotation);q&&q.forEach(function(a){if(a===m||a&&-90<=a&&90>=a){g=f(Math.abs(v.h/Math.sin(R*a)));var c=g+Math.abs(a/360);c<b&&(b=c,e=a,d=g)}})}else a.step||(d=f(v.h));this.autoRotation=q;this.labelRotation=E(e,n(m)?m:
+0);return d};b.prototype.getSlotWidth=function(a){var c=this.chart,h=this.horiz,d=this.options.labels,k=Math.max(this.tickPositions.length-(this.categories?0:1),1),e=c.margin[3];if(a&&n(a.slotWidth))return a.slotWidth;if(h&&2>d.step)return d.rotation?0:(this.staggerLines||1)*this.len/k;if(!h){a=d.style.width;if(void 0!==a)return parseInt(String(a),10);if(e)return e-c.spacing[3]}return.33*c.chartWidth};b.prototype.renderUnsquish=function(){var c=this.chart,h=c.renderer,d=this.tickPositions,k=this.ticks,
+n=this.options.labels,e=n.style,m=this.horiz,v=this.getSlotWidth(),g=Math.max(1,Math.round(v-2*n.padding)),b={},l=this.labelMetrics(),f=e.textOverflow,q=0;a(n.rotation)||(b.rotation=n.rotation||0);d.forEach(function(a){a=k[a];a.movedLabel&&a.replaceMovedLabel();a&&a.label&&a.label.textPxLength>q&&(q=a.label.textPxLength)});this.maxLabelLength=q;if(this.autoRotation)q>g&&q>l.h?b.rotation=this.labelRotation:this.labelRotation=0;else if(v){var E=g;if(!f){var p="clip";for(g=d.length;!m&&g--;){var L=d[g];
+if(L=k[L].label)L.styles&&"ellipsis"===L.styles.textOverflow?L.css({textOverflow:"clip"}):L.textPxLength>v&&L.css({width:v+"px"}),L.getBBox().height>this.len/d.length-(l.h-l.f)&&(L.specificTextOverflow="ellipsis")}}}b.rotation&&(E=q>.5*c.chartHeight?.33*c.chartHeight:q,f||(p="ellipsis"));if(this.labelAlign=n.align||this.autoLabelAlign(this.labelRotation))b.align=this.labelAlign;d.forEach(function(a){var c=(a=k[a])&&a.label,h=e.width,d={};c&&(c.attr(b),a.shortenLabel?a.shortenLabel():E&&!h&&"nowrap"!==
+e.whiteSpace&&(E<c.textPxLength||"SPAN"===c.element.tagName)?(d.width=E+"px",f||(d.textOverflow=c.specificTextOverflow||p),c.css(d)):c.styles&&c.styles.width&&!d.width&&!h&&c.css({width:null}),delete c.specificTextOverflow,a.rotation=b.rotation)},this);this.tickRotCorr=h.rotCorr(l.b,this.labelRotation||0,0!==this.side)};b.prototype.hasData=function(){return this.series.some(function(a){return a.hasData()})||this.options.showEmpty&&H(this.min)&&H(this.max)};b.prototype.addTitle=function(a){var c=this.chart.renderer,
+h=this.horiz,d=this.opposite,n=this.options.title,e,m=this.chart.styledMode;this.axisTitle||((e=n.textAlign)||(e=(h?{low:"left",middle:"center",high:"right"}:{low:d?"right":"left",middle:"center",high:d?"left":"right"})[n.align]),this.axisTitle=c.text(n.text||"",0,0,n.useHTML).attr({zIndex:7,rotation:n.rotation,align:e}).addClass("highcharts-axis-title"),m||this.axisTitle.css(k(n.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);m||n.style.width||this.isRadial||this.axisTitle.css({width:this.len+
+"px"});this.axisTitle[a?"show":"hide"](a)};b.prototype.generateTick=function(a){var c=this.ticks;c[a]?c[a].addLabel():c[a]=new A(this,a)};b.prototype.getOffset=function(){var a=this,c=this,h=c.chart,d=h.renderer,k=c.options,n=c.tickPositions,e=c.ticks,m=c.horiz,g=c.side,b=h.inverted&&!c.isZAxis?[1,0,3,2][g]:g,l,f=0,q=0,p=k.title,L=k.labels,w=0,M=h.axisOffset;h=h.clipOffset;var u=[-1,1,1,-1][g],r=k.className,t=c.axisParent;var F=c.hasData();c.showAxis=l=F||k.showEmpty;c.staggerLines=c.horiz&&L.staggerLines||
+void 0;if(!c.axisGroup){var S=function(c,h,k){return d.g(c).attr({zIndex:k}).addClass("highcharts-"+a.coll.toLowerCase()+h+" "+(a.isRadial?"highcharts-radial-axis"+h+" ":"")+(r||"")).add(t)};c.gridGroup=S("grid","-grid",k.gridZIndex);c.axisGroup=S("axis","",k.zIndex);c.labelGroup=S("axis-labels","-labels",L.zIndex)}F||c.isLinked?(n.forEach(function(a,h){c.generateTick(a,h)}),c.renderUnsquish(),c.reserveSpaceDefault=0===g||2===g||{1:"left",3:"right"}[g]===c.labelAlign,E(L.reserveSpace,"center"===c.labelAlign?
+!0:null,c.reserveSpaceDefault)&&n.forEach(function(a){w=Math.max(e[a].getLabelSize(),w)}),c.staggerLines&&(w*=c.staggerLines),c.labelOffset=w*(c.opposite?-1:1)):v(e,function(a,c){a.destroy();delete e[c]});if(p&&p.text&&!1!==p.enabled&&(c.addTitle(l),l&&!1!==p.reserveSpace)){c.titleOffset=f=c.axisTitle.getBBox()[m?"height":"width"];var R=p.offset;q=H(R)?0:E(p.margin,m?5:10)}c.renderLine();c.offset=u*E(k.offset,M[g]?M[g]+(k.margin||0):0);c.tickRotCorr=c.tickRotCorr||{x:0,y:0};p=0===g?-c.labelMetrics().h:
+2===g?c.tickRotCorr.y:0;q=Math.abs(w)+q;w&&(q=q-p+u*(m?E(L.y,c.tickRotCorr.y+8*u):L.x));c.axisTitleMargin=E(R,q);c.getMaxLabelDimensions&&(c.maxLabelDimensions=c.getMaxLabelDimensions(e,n));m=this.tickSize("tick");M[g]=Math.max(M[g],(c.axisTitleMargin||0)+f+u*c.offset,q,n&&n.length&&m?m[0]+u*c.offset:0);k=k.offset?0:2*Math.floor(c.axisLine.strokeWidth()/2);h[b]=Math.max(h[b],k);z(this,"afterGetOffset")};b.prototype.getLinePath=function(a){var c=this.chart,h=this.opposite,d=this.offset,k=this.horiz,
+n=this.left+(h?this.width:0)+d;d=c.chartHeight-this.bottom-(h?this.height:0)+d;h&&(a*=-1);return c.renderer.crispLine([["M",k?this.left:n,k?d:this.top],["L",k?c.chartWidth-this.right:n,k?d:c.chartHeight-this.bottom]],a)};b.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))};b.prototype.getTitlePosition=
+function(){var a=this.horiz,c=this.left,h=this.top,d=this.len,k=this.options.title,n=a?c:h,e=this.opposite,m=this.offset,v=k.x,g=k.y,b=this.axisTitle,l=this.chart.renderer.fontMetrics(k.style.fontSize,b);b=Math.max(b.getBBox(null,0).height-l.h-1,0);d={low:n+(a?0:d),middle:n+d/2,high:n+(a?d:0)}[k.align];c=(a?h+this.height:c)+(a?1:-1)*(e?-1:1)*this.axisTitleMargin+[-b,b,l.f,-b][this.side];a={x:a?d+v:c+(e?this.width:0)+m+v,y:a?c+g-(e?this.height:0)+m:d+g};z(this,"afterGetTitlePosition",{titlePosition:a});
+return a};b.prototype.renderMinorTick=function(a){var c=this.chart.hasRendered&&this.old,h=this.minorTicks;h[a]||(h[a]=new A(this,a,"minor"));c&&h[a].isNew&&h[a].render(null,!0);h[a].render(null,!1,1)};b.prototype.renderTick=function(a,c){var h=this.ticks,d=this.chart.hasRendered&&this.old;if(!this.isLinked||a>=this.min&&a<=this.max||this.grid&&this.grid.isColumn)h[a]||(h[a]=new A(this,a)),d&&h[a].isNew&&h[a].render(c,!0,-1),h[a].render(c)};b.prototype.render=function(){var a=this,c=a.chart,h=a.logarithmic,
+d=a.options,k=a.isLinked,e=a.tickPositions,m=a.axisTitle,g=a.ticks,b=a.minorTicks,l=a.alternateBands,f=d.stackLabels,q=d.alternateGridColor,E=a.tickmarkOffset,p=a.axisLine,L=a.showAxis,w=r(c.renderer.globalAnimation),M,u;a.labelEdge.length=0;a.overlap=!1;[g,b,l].forEach(function(a){v(a,function(a){a.isActive=!1})});if(a.hasData()||k)a.minorTickInterval&&!a.categories&&a.getMinorTickPositions().forEach(function(c){a.renderMinorTick(c)}),e.length&&(e.forEach(function(c,h){a.renderTick(c,h)}),E&&(0===
+a.min||a.single)&&(g[-1]||(g[-1]=new A(a,-1,null,!0)),g[-1].render(-1))),q&&e.forEach(function(d,k){u="undefined"!==typeof e[k+1]?e[k+1]+E:a.max-E;0===k%2&&d<a.max&&u<=a.max+(c.polar?-E:E)&&(l[d]||(l[d]=new D.PlotLineOrBand(a)),M=d+E,l[d].options={from:h?h.lin2log(M):M,to:h?h.lin2log(u):u,color:q,className:"highcharts-alternate-grid"},l[d].render(),l[d].isActive=!0)}),a._addedPlotLB||(a._addedPlotLB=!0,(d.plotLines||[]).concat(d.plotBands||[]).forEach(function(c){a.addPlotBandOrLine(c)}));[g,b,l].forEach(function(a){var h,
+d=[],k=w.duration;v(a,function(a,c){a.isActive||(a.render(c,!1,0),a.isActive=!1,d.push(c))});Y(function(){for(h=d.length;h--;)a[d[h]]&&!a[d[h]].isActive&&(a[d[h]].destroy(),delete a[d[h]])},a!==l&&c.hasRendered&&k?k:0)});p&&(p[p.isPlaced?"animate":"attr"]({d:this.getLinePath(p.strokeWidth())}),p.isPlaced=!0,p[L?"show":"hide"](L));m&&L&&(d=a.getTitlePosition(),n(d.y)?(m[m.isNew?"attr":"animate"](d),m.isNew=!1):(m.attr("y",-9999),m.isNew=!0));f&&f.enabled&&a.stacking&&a.stacking.renderStackTotals();
+a.old={len:a.len,max:a.max,min:a.min,transA:a.transA,userMax:a.userMax,userMin:a.userMin};a.isDirty=!1;z(this,"afterRender")};b.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(a){a.render()}));this.series.forEach(function(a){a.isDirty=!0})};b.prototype.getKeepProps=function(){return this.keepProps||b.keepProps};b.prototype.destroy=function(a){var c=this,h=c.plotLinesAndBands,d;z(this,"destroy",{keepEvents:a});a||M(c);[c.ticks,c.minorTicks,c.alternateBands].forEach(function(a){I(a)});
+if(h)for(a=h.length;a--;)h[a].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(a){c[a]&&(c[a]=c[a].destroy())});for(d in c.plotLinesAndBandsGroups)c.plotLinesAndBandsGroups[d]=c.plotLinesAndBandsGroups[d].destroy();v(c,function(a,h){-1===c.getKeepProps().indexOf(h)&&delete c[h]})};b.prototype.drawCrosshair=function(a,c){var h=this.crosshair,d=E(h&&h.snap,!0),k,n=this.cross,e=this.chart;z(this,"drawCrosshair",{e:a,point:c});a||(a=this.cross&&
+this.cross.e);if(h&&!1!==(H(c)||!d)){d?H(c)&&(k=E("colorAxis"!==this.coll?c.crosshairPos:null,this.isXAxis?c.plotX:this.len-c.plotY)):k=a&&(this.horiz?a.chartX-this.pos:this.len-a.chartY+this.pos);if(H(k)){var m={value:c&&(this.isXAxis?c.x:E(c.stackY,c.y)),translatedValue:k};e.polar&&w(m,{isCrosshair:!0,chartX:a&&a.chartX,chartY:a&&a.chartY,point:c});m=this.getPlotLinePath(m)||null}if(!H(m)){this.hideCrosshair();return}d=this.categories&&!this.isRadial;n||(this.cross=n=e.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+
+(d?"category ":"thin ")+(h.className||"")).attr({zIndex:E(h.zIndex,2)}).add(),e.styledMode||(n.attr({stroke:h.color||(d?f.parse(y.highlightColor20).setOpacity(.25).get():y.neutralColor20),"stroke-width":E(h.width,1)}).css({"pointer-events":"none"}),h.dashStyle&&n.attr({dashstyle:h.dashStyle})));n.show().attr({d:m});d&&!h.width&&n.attr({"stroke-width":this.transA});this.cross.e=a}else this.hideCrosshair();z(this,"afterDrawCrosshair",{e:a,point:c})};b.prototype.hideCrosshair=function(){this.cross&&
+this.cross.hide();z(this,"afterHideCrosshair")};b.prototype.hasVerticalPanning=function(){var a=this.chart.options.chart.panning;return!!(a&&a.enabled&&/y/.test(a.type))};b.prototype.validatePositiveValue=function(a){return n(a)&&0<a};b.prototype.update=function(a,c){var h=this.chart,d=a&&a.events||{};a=k(this.userOptions,a);v(h.options[this.coll].events,function(a,c){"undefined"===typeof d[c]&&(d[c]=void 0)});this.destroy(!0);this.init(h,w(a,{events:d}));h.isDirtyBox=!0;E(c,!0)&&h.redraw()};b.prototype.remove=
+function(a){for(var c=this.chart,h=this.coll,d=this.series,k=d.length;k--;)d[k]&&d[k].remove(!1);B(c.axes,this);B(c[h],this);c[h].forEach(function(a,c){a.options.index=a.userOptions.index=c});this.destroy();c.isDirtyBox=!0;E(a,!0)&&c.redraw()};b.prototype.setTitle=function(a,c){this.update({title:a},c)};b.prototype.setCategories=function(a,c){this.update({categories:a},c)};b.defaultOptions={alignTicks:!0,allowDecimals:void 0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",
+range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:y.neutralColor60,cursor:"default",fontSize:"11px"}},
+maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:y.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:y.neutralColor5,minorGridLineWidth:1,
+minorTickColor:y.neutralColor40,lineColor:y.highlightColor20,lineWidth:1,gridLineColor:y.neutralColor10,gridLineWidth:void 0,tickColor:y.highlightColor20};b.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var a=this.axis.chart.numberFormatter;return a(this.total,-1)},
+style:{color:y.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};b.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}};b.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};b.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};b.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};b.keepProps="extKey hcEvents names series userMax userMin".split(" ");return b}();
+D.Axis=b;return D.Axis});J(b,"Core/Axis/DateTimeAxis.js",[b["Core/Axis/Axis.js"],b["Core/Utilities.js"]],function(b,f){var B=f.addEvent,y=f.getMagnitude,C=f.normalizeTickInterval,A=f.timeUnits,t=function(){function b(b){this.axis=b}b.prototype.normalizeTimeTickInterval=function(b,l){var g=l||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];l=g[g.length-
+1];var e=A[l[0]],d=l[1],f;for(f=0;f<g.length&&!(l=g[f],e=A[l[0]],d=l[1],g[f+1]&&b<=(e*d[d.length-1]+A[g[f+1][0]])/2);f++);e===A.year&&b<5*e&&(d=[1,2,5]);b=C(b/e,d,"year"===l[0]?Math.max(y(b/e),1):1);return{unitRange:e,count:b,unitName:l[0]}};return b}();f=function(){function b(){}b.compose=function(b){b.keepProps.push("dateTime");b.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)};B(b,"init",function(b){"datetime"!==b.userOptions.type?this.dateTime=
+void 0:this.dateTime||(this.dateTime=new t(this))})};b.AdditionsClass=t;return b}();f.compose(b);return f});J(b,"Core/Axis/LogarithmicAxis.js",[b["Core/Axis/Axis.js"],b["Core/Utilities.js"]],function(b,f){var B=f.addEvent,y=f.getMagnitude,C=f.normalizeTickInterval,A=f.pick,t=function(){function b(b){this.axis=b}b.prototype.getLogTickPositions=function(b,l,g,e){var d=this.axis,f=d.len,p=d.options,r=[];e||(this.minorAutoInterval=void 0);if(.5<=b)b=Math.round(b),r=d.getLinearTickPositions(b,l,g);else if(.08<=
+b){var t=Math.floor(l),F,w=p=void 0;for(f=.3<b?[1,2,4]:.15<b?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];t<g+1&&!w;t++){var z=f.length;for(F=0;F<z&&!w;F++){var q=this.log2lin(this.lin2log(t)*f[F]);q>l&&(!e||p<=g)&&"undefined"!==typeof p&&r.push(p);p>g&&(w=!0);p=q}}}else l=this.lin2log(l),g=this.lin2log(g),b=e?d.getMinorTickInterval():p.tickInterval,b=A("auto"===b?null:b,this.minorAutoInterval,p.tickPixelInterval/(e?5:1)*(g-l)/((e?f/d.tickPositions.length:f)||1)),b=C(b,void 0,y(b)),r=d.getLinearTickPositions(b,
+l,g).map(this.log2lin),e||(this.minorAutoInterval=b/5);e||(d.tickInterval=b);return r};b.prototype.lin2log=function(b){return Math.pow(10,b)};b.prototype.log2lin=function(b){return Math.log(b)/Math.LN10};return b}();f=function(){function b(){}b.compose=function(b){b.keepProps.push("logarithmic");B(b,"init",function(b){var g=this.logarithmic;"logarithmic"!==b.userOptions.type?this.logarithmic=void 0:g||(this.logarithmic=new t(this))});B(b,"afterInit",function(){var b=this.logarithmic;b&&(this.lin2val=
+function(g){return b.lin2log(g)},this.val2lin=function(g){return b.log2lin(g)})})};return b}();f.compose(b);return f});J(b,"Core/Axis/PlotLineOrBand.js",[b["Core/Axis/Axis.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Utilities.js"]],function(b,f,D,y){var B=y.arrayMax,A=y.arrayMin,t=y.defined,r=y.destroyObjectProperties,p=y.erase,l=y.extend,g=y.fireEvent,e=y.isNumber,d=y.merge,u=y.objectEach,H=y.pick;y=function(){function e(d,e){this.axis=d;e&&(this.options=e,this.id=e.id)}e.prototype.render=
+function(){g(this,"render");var e=this,b=e.axis,l=b.horiz,f=b.logarithmic,q=e.options,m=q.label,c=e.label,n=q.to,a=q.from,k=q.value,h=t(a)&&t(n),v=t(k),E=e.svgElem,p=!E,M=[],r=q.color,B=H(q.zIndex,0),R=q.events;M={"class":"highcharts-plot-"+(h?"band ":"line ")+(q.className||"")};var O={},G=b.chart.renderer,x=h?"bands":"lines";f&&(a=f.log2lin(a),n=f.log2lin(n),k=f.log2lin(k));b.chart.styledMode||(v?(M.stroke=r||D.neutralColor40,M["stroke-width"]=H(q.width,1),q.dashStyle&&(M.dashstyle=q.dashStyle)):
+h&&(M.fill=r||D.highlightColor10,q.borderWidth&&(M.stroke=q.borderColor,M["stroke-width"]=q.borderWidth)));O.zIndex=B;x+="-"+B;(f=b.plotLinesAndBandsGroups[x])||(b.plotLinesAndBandsGroups[x]=f=G.g("plot-"+x).attr(O).add());p&&(e.svgElem=E=G.path().attr(M).add(f));if(v)M=b.getPlotLinePath({value:k,lineWidth:E.strokeWidth(),acrossPanes:q.acrossPanes});else if(h)M=b.getPlotBandPath(a,n,q);else return;!e.eventsAdded&&R&&(u(R,function(a,c){E.on(c,function(a){R[c].apply(e,[a])})}),e.eventsAdded=!0);(p||
+!E.d)&&M&&M.length?E.attr({d:M}):E&&(M?(E.show(!0),E.animate({d:M})):E.d&&(E.hide(),c&&(e.label=c=c.destroy())));m&&(t(m.text)||t(m.formatter))&&M&&M.length&&0<b.width&&0<b.height&&!M.isFlat?(m=d({align:l&&h&&"center",x:l?!h&&4:10,verticalAlign:!l&&h&&"middle",y:l?h?16:10:h?6:-4,rotation:l&&!h&&90},m),this.renderLabel(m,M,h,B)):c&&c.hide();return e};e.prototype.renderLabel=function(d,e,b,g){var l=this.label,m=this.axis.chart.renderer;l||(l={align:d.textAlign||d.align,rotation:d.rotation,"class":"highcharts-plot-"+
+(b?"band":"line")+"-label "+(d.className||"")},l.zIndex=g,g=this.getLabelText(d),this.label=l=m.text(g,0,0,d.useHTML).attr(l).add(),this.axis.chart.styledMode||l.css(d.style));m=e.xBounds||[e[0][1],e[1][1],b?e[2][1]:e[0][1]];e=e.yBounds||[e[0][2],e[1][2],b?e[2][2]:e[0][2]];b=A(m);g=A(e);l.align(d,!1,{x:b,y:g,width:B(m)-b,height:B(e)-g});l.show(!0)};e.prototype.getLabelText=function(d){return t(d.formatter)?d.formatter.call(this):d.text};e.prototype.destroy=function(){p(this.axis.plotLinesAndBands,
+this);delete this.axis;r(this)};return e}();l(b.prototype,{getPlotBandPath:function(d,b,g){void 0===g&&(g=this.options);var l=this.getPlotLinePath({value:b,force:!0,acrossPanes:g.acrossPanes});g=this.getPlotLinePath({value:d,force:!0,acrossPanes:g.acrossPanes});var f=[],q=this.horiz,m=1;d=!e(this.min)||!e(this.max)||d<this.min&&b<this.min||d>this.max&&b>this.max;if(g&&l){if(d){var c=g.toString()===l.toString();m=0}for(d=0;d<g.length;d+=2){b=g[d];var n=g[d+1],a=l[d],k=l[d+1];"M"!==b[0]&&"L"!==b[0]||
+"M"!==n[0]&&"L"!==n[0]||"M"!==a[0]&&"L"!==a[0]||"M"!==k[0]&&"L"!==k[0]||(q&&a[1]===b[1]?(a[1]+=m,k[1]+=m):q||a[2]!==b[2]||(a[2]+=m,k[2]+=m),f.push(["M",b[1],b[2]],["L",n[1],n[2]],["L",k[1],k[2]],["L",a[1],a[2]],["Z"]));f.isFlat=c}}return f},addPlotBand:function(d){return this.addPlotBandOrLine(d,"plotBands")},addPlotLine:function(d){return this.addPlotBandOrLine(d,"plotLines")},addPlotBandOrLine:function(d,e){var b=this,g=new f.PlotLineOrBand(this,d),l=this.userOptions;this.visible&&(g=g.render());
+if(g){this._addedPlotLB||(this._addedPlotLB=!0,(l.plotLines||[]).concat(l.plotBands||[]).forEach(function(d){b.addPlotBandOrLine(d)}));if(e){var q=l[e]||[];q.push(d);l[e]=q}this.plotLinesAndBands.push(g)}return g},removePlotBandOrLine:function(d){for(var e=this.plotLinesAndBands,b=this.options,g=this.userOptions,l=e.length;l--;)e[l].id===d&&e[l].destroy();[b.plotLines||[],g.plotLines||[],b.plotBands||[],g.plotBands||[]].forEach(function(e){for(l=e.length;l--;)(e[l]||{}).id===d&&p(e,e[l])})},removePlotBand:function(d){this.removePlotBandOrLine(d)},
+removePlotLine:function(d){this.removePlotBandOrLine(d)}});f.PlotLineOrBand=y;return f.PlotLineOrBand});J(b,"Core/Tooltip.js",[b["Core/FormatUtilities.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Utilities.js"]],function(b,f,D,y){var B=b.format,A=f.doc,t=y.clamp,r=y.css,p=y.defined,l=y.discardElement,g=y.extend,e=y.fireEvent,d=y.isArray,u=y.isNumber,H=y.isString,I=y.merge,K=y.pick,F=y.splat,w=y.syncTimeout,z=y.timeUnits;"";b=function(){function b(d,c){this.container=void 0;this.crosshairs=
+[];this.distance=0;this.isHidden=!0;this.isSticky=!1;this.now={};this.options={};this.outside=!1;this.chart=d;this.init(d,c)}b.prototype.applyFilter=function(){var d=this.chart;d.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+d.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{"in":"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",
+children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{"in":"SourceGraphic"}}]}]});d.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+d.index+"{filter:url(#drop-shadow-"+d.index+")}"})};b.prototype.bodyFormatter=function(d){return d.map(function(c){var d=c.series.tooltipOptions;return(d[(c.point.formatPrefix||"point")+"Formatter"]||c.point.tooltipFormatter).call(c.point,d[(c.point.formatPrefix||"point")+"Format"]||"")})};b.prototype.cleanSplit=function(d){this.chart.series.forEach(function(c){var e=
+c&&c.tt;e&&(!e.isActive||d?c.tt=e.destroy():e.isActive=!1)})};b.prototype.defaultFormatter=function(d){var c=this.points||F(this);var e=[d.tooltipFooterHeaderFormatter(c[0])];e=e.concat(d.bodyFormatter(c));e.push(d.tooltipFooterHeaderFormatter(c[0],!0));return e};b.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),l(this.container));y.clearTimeout(this.hideTimer);
+y.clearTimeout(this.tooltipTimeout)};b.prototype.getAnchor=function(d,c){var e=this.chart;var a=e.pointer;var k=e.inverted,h=e.plotTop,m=e.plotLeft,b=0,g=0,l,f;d=F(d);this.followPointer&&c?("undefined"===typeof c.chartX&&(c=a.normalize(c)),a=[c.chartX-m,c.chartY-h]):d[0].tooltipPos?a=d[0].tooltipPos:(d.forEach(function(a){l=a.series.yAxis;f=a.series.xAxis;b+=a.plotX||0;g+=a.plotLow?(a.plotLow+(a.plotHigh||0))/2:a.plotY||0;f&&l&&(k?(b+=h+e.plotHeight-f.len-f.pos,g+=m+e.plotWidth-l.len-l.pos):(b+=f.pos-
+m,g+=l.pos-h))}),b/=d.length,g/=d.length,a=[k?e.plotWidth-g:b,k?e.plotHeight-b:g],this.shared&&1<d.length&&c&&(k?a[0]=c.chartX-m:a[1]=c.chartY-h));return a.map(Math.round)};b.prototype.getDateFormat=function(d,c,e,a){var k=this.chart.time,h=k.dateFormat("%m-%d %H:%M:%S.%L",c),n={millisecond:15,second:12,minute:9,hour:6,day:3},m="millisecond";for(b in z){if(d===z.week&&+k.dateFormat("%w",c)===e&&"00:00:00.000"===h.substr(6)){var b="week";break}if(z[b]>d){b=m;break}if(n[b]&&h.substr(n[b])!=="01-01 00:00:00.000".substr(n[b]))break;
+"week"!==b&&(m=b)}if(b)var g=k.resolveDTLFormat(a[b]).main;return g};b.prototype.getLabel=function(){var d=this,c=this.chart.renderer,e=this.chart.styledMode,a=this.options,k="tooltip"+(p(a.className)?" "+a.className:""),h=a.style&&a.style.pointerEvents||(!this.followPointer&&a.stickOnContact?"auto":"none"),b,g=function(){d.inContact=!0},l=function(){var a=d.chart.hoverSeries;d.inContact=!1;if(a&&a.onMouseOut)a.onMouseOut()};if(!this.label){if(this.outside){var q=this.chart.options.chart.style;this.container=
+b=f.doc.createElement("div");b.className="highcharts-tooltip-container";r(b,{position:"absolute",top:"1px",pointerEvents:h,zIndex:Math.max(this.options.style&&this.options.style.zIndex||0,(q&&q.zIndex||0)+3)});f.doc.body.appendChild(b);this.renderer=c=new f.Renderer(b,0,0,q,void 0,void 0,c.styledMode)}this.split?this.label=c.g(k):(this.label=c.label("",0,0,a.shape||"callout",null,null,a.useHTML,null,k).attr({padding:a.padding,r:a.borderRadius}),e||this.label.attr({fill:a.backgroundColor,"stroke-width":a.borderWidth}).css(a.style).css({pointerEvents:h}).shadow(a.shadow));
+e&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index));if(d.outside&&!d.split){var u=this.label,w=u.xSetter,z=u.ySetter;u.xSetter=function(a){w.call(u,d.distance);b.style.left=a+"px"};u.ySetter=function(a){z.call(u,d.distance);b.style.top=a+"px"}}this.label.on("mouseenter",g).on("mouseleave",l).attr({zIndex:8}).add()}return this.label};b.prototype.getPosition=function(d,c,e){var a=this.chart,k=this.distance,h={},n=a.inverted&&e.h||0,b,m=this.outside,g=m?A.documentElement.clientWidth-
+2*k:a.chartWidth,l=m?Math.max(A.body.scrollHeight,A.documentElement.scrollHeight,A.body.offsetHeight,A.documentElement.offsetHeight,A.documentElement.clientHeight):a.chartHeight,f=a.pointer.getChartPosition(),q=function(h){var n="x"===h;return[h,n?g:l,n?d:c].concat(m?[n?d*f.scaleX:c*f.scaleY,n?f.left-k+(e.plotX+a.plotLeft)*f.scaleX:f.top-k+(e.plotY+a.plotTop)*f.scaleY,0,n?g:l]:[n?d:c,n?e.plotX+a.plotLeft:e.plotY+a.plotTop,n?a.plotLeft:a.plotTop,n?a.plotLeft+a.plotWidth:a.plotTop+a.plotHeight])},p=
+q("y"),u=q("x"),w=!this.followPointer&&K(e.ttBelow,!a.inverted===!!e.negative),z=function(a,c,d,e,b,g,v){var l=m?"y"===a?k*f.scaleY:k*f.scaleX:k,q=(d-e)/2,E=e<b-k,p=b+k+e<c,u=b-l-d+q;b=b+l-q;if(w&&p)h[a]=b;else if(!w&&E)h[a]=u;else if(E)h[a]=Math.min(v-e,0>u-n?u:u-n);else if(p)h[a]=Math.max(g,b+n+d>c?b:b+n);else return!1},r=function(a,c,d,e,n){var b;n<k||n>c-k?b=!1:h[a]=n<d/2?1:n>c-e/2?c-e-2:n-d/2;return b},t=function(a){var c=p;p=u;u=c;b=a},P=function(){!1!==z.apply(0,p)?!1!==r.apply(0,u)||b||(t(!0),
+P()):b?h.x=h.y=0:(t(!0),P())};(a.inverted||1<this.len)&&t();P();return h};b.prototype.getXDateFormat=function(d,c,e){c=c.dateTimeLabelFormats;var a=e&&e.closestPointRange;return(a?this.getDateFormat(a,d.x,e.options.startOfWeek,c):c.day)||c.year};b.prototype.hide=function(d){var c=this;y.clearTimeout(this.hideTimer);d=K(d,this.options.hideDelay,500);this.isHidden||(this.hideTimer=w(function(){c.getLabel().fadeOut(d?void 0:d);c.isHidden=!0},d))};b.prototype.init=function(d,c){this.chart=d;this.options=
+c;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=c.split&&!d.inverted&&!d.polar;this.shared=c.shared||this.split;this.outside=K(c.outside,!(!d.scrollablePixelsX&&!d.scrollablePixelsY))};b.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)};b.prototype.move=function(d,c,e,a){var k=this,h=k.now,n=!1!==k.options.animation&&!k.isHidden&&(1<Math.abs(d-h.x)||1<Math.abs(c-h.y)),b=k.followPointer||1<k.len;g(h,{x:n?(2*h.x+d)/
+3:d,y:n?(h.y+c)/2:c,anchorX:b?void 0:n?(2*h.anchorX+e)/3:e,anchorY:b?void 0:n?(h.anchorY+a)/2:a});k.getLabel().attr(h);k.drawTracker();n&&(y.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){k&&k.move(d,c,e,a)},32))};b.prototype.refresh=function(b,c){var n=this.chart,a=this.options,k=F(b),h=k[0],m={},g=[],l=a.formatter||this.defaultFormatter;m=this.shared;var f=n.styledMode;if(a.enabled){y.clearTimeout(this.hideTimer);this.followPointer=!this.split&&h.series.tooltipOptions.followPointer;
+var q=this.getAnchor(b,c);var p=q[0];var u=q[1];!m||!d(b)&&b.series&&b.series.noSharedTooltip?m=h.getLabelConfig():(n.pointer.applyInactiveState(k),k.forEach(function(a){a.setState("hover");g.push(a.getLabelConfig())}),m={x:h.category,y:h.y},m.points=g);this.len=g.length;b=l.call(m,this);l=h.series;this.distance=K(l.tooltipOptions.distance,16);if(!1===b)this.hide();else{if(this.split)this.renderSplit(b,k);else if(k=p,m=u,c&&n.pointer.isDirectTouch&&(k=c.chartX-n.plotLeft,m=c.chartY-n.plotTop),n.polar||
+!1===l.options.clip||l.shouldShowTooltip(k,m))c=this.getLabel(),a.style.width&&!f||c.css({width:this.chart.spacingBox.width+"px"}),c.attr({text:b&&b.join?b.join(""):b}),c.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+K(h.colorIndex,l.colorIndex)),f||c.attr({stroke:a.borderColor||h.color||l.color||D.neutralColor60}),this.updatePosition({plotX:p,plotY:u,negative:h.negative,ttBelow:h.ttBelow,h:q[2]||0});else{this.hide();return}this.isHidden&&this.label&&this.label.attr({opacity:1}).show();
+this.isHidden=!1}e(this,"refresh")}};b.prototype.renderSplit=function(d,c){function e(c,h,d,k,e){void 0===e&&(e=!0);d?(h=I?0:da,c=t(c-k/2,Q.left,Q.right-k-(a.outside?y:0))):(h-=W,c=e?c-k-B:c+B,c=t(c,e?c:Q.left,Q.right));return{x:c,y:h}}var a=this,k=a.chart,h=a.chart,b=h.chartWidth,m=h.chartHeight,l=h.plotHeight,q=h.plotLeft,p=h.plotTop,u=h.pointer,w=h.scrollablePixelsY;w=void 0===w?0:w;var z=h.scrollablePixelsX,r=h.scrollingContainer;r=void 0===r?{scrollLeft:0,scrollTop:0}:r;var x=r.scrollLeft;r=
+r.scrollTop;var F=h.styledMode,B=a.distance,C=a.options,P=a.options.positioner,Q=a.outside&&"number"!==typeof z?A.documentElement.getBoundingClientRect():{left:x,right:x+b,top:r,bottom:r+m},N=a.getLabel(),T=this.renderer||k.renderer,I=!(!k.xAxis[0]||!k.xAxis[0].opposite);k=u.getChartPosition();var y=k.left;k=k.top;var W=p+r,U=0,da=l-w;H(d)&&(d=[!1,d]);d=d.slice(0,c.length+1).reduce(function(h,d,k){if(!1!==d&&""!==d){k=c[k-1]||{isHeader:!0,plotX:c[0].plotX,plotY:l,series:{}};var n=k.isHeader,b=n?a:
+k.series;d=d.toString();var m=b.tt,g=k.isHeader;var v=k.series;var f="highcharts-color-"+K(k.colorIndex,v.colorIndex,"none");m||(m={padding:C.padding,r:C.borderRadius},F||(m.fill=C.backgroundColor,m["stroke-width"]=C.borderWidth),m=T.label("",0,0,C[g?"headerShape":"shape"]||"callout",void 0,void 0,C.useHTML).addClass((g?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+f).attr(m).add(N));m.isActive=!0;m.attr({text:d});F||m.css(C.style).shadow(C.shadow).attr({stroke:C.borderColor||k.color||
+v.color||D.neutralColor80});b=b.tt=m;g=b.getBBox();d=g.width+b.strokeWidth();n&&(U=g.height,da+=U,I&&(W-=U));v=k.plotX;v=void 0===v?0:v;f=k.plotY;f=void 0===f?0:f;m=k.series;if(k.isHeader){v=q+v;var E=p+l/2}else{var u=m.xAxis,w=m.yAxis;v=u.pos+t(v,-B,u.len+B);m.shouldShowTooltip(0,w.pos-p+f,{ignoreX:!0})&&(E=w.pos+f)}v=t(v,Q.left-B,Q.right+B);"number"===typeof E?(g=g.height+1,f=P?P.call(a,d,g,k):e(v,E,n,d),h.push({align:P?0:void 0,anchorX:v,anchorY:E,boxWidth:d,point:k,rank:K(f.rank,n?1:0),size:g,
+target:f.y,tt:b,x:f.x})):b.isActive=!1}return h},[]);!P&&d.some(function(c){var h=(a.outside?y:0)+c.anchorX;return h<Q.left&&h+c.boxWidth<Q.right?!0:h<y-Q.left+c.boxWidth&&Q.right-h>h})&&(d=d.map(function(a){var c=e(a.anchorX,a.anchorY,a.point.isHeader,a.boxWidth,!1);return g(a,{target:c.y,x:c.x})}));a.cleanSplit();f.distribute(d,da);var ba=y,J=y;d.forEach(function(c){var h=c.x,d=c.boxWidth;c=c.isHeader;c||(a.outside&&y+h<ba&&(ba=y+h),!c&&a.outside&&ba+d>J&&(J=y+h))});d.forEach(function(c){var h=
+c.x,d=c.anchorX,k=c.pos,e=c.point.isHeader;k={visibility:"undefined"===typeof k?"hidden":"inherit",x:h,y:k+W,anchorX:d,anchorY:c.anchorY};if(a.outside&&h<d){var n=y-ba;0<n&&(e||(k.x=h+n,k.anchorX=d+n),e&&(k.x=(J-ba)/2,k.anchorX=d+n))}c.tt.attr(k)});d=a.container;w=a.renderer;a.outside&&d&&w&&(h=N.getBBox(),w.setSize(h.width+h.x,h.height+h.y,!1),d.style.left=ba+"px",d.style.top=k+"px")};b.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();
+else{var d=this.chart,c=this.label,e=d.hoverPoint;if(c&&e){var a={x:0,y:0,width:0,height:0};e=this.getAnchor(e);var k=c.getBBox();e[0]+=d.plotLeft-c.translateX;e[1]+=d.plotTop-c.translateY;a.x=Math.min(0,e[0]);a.y=Math.min(0,e[1]);a.width=0>e[0]?Math.max(Math.abs(e[0]),k.width-e[0]):Math.max(Math.abs(e[0]),k.width);a.height=0>e[1]?Math.max(Math.abs(e[1]),k.height-Math.abs(e[1])):Math.max(Math.abs(e[1]),k.height);this.tracker?this.tracker.attr(a):(this.tracker=c.renderer.rect(a).addClass("highcharts-tracker").add(c),
+d.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}};b.prototype.styledModeFormat=function(d){return d.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')};b.prototype.tooltipFooterHeaderFormatter=function(d,c){var n=c?"footer":"header",a=d.series,k=a.tooltipOptions,h=k.xDateFormat,b=a.xAxis,m=b&&"datetime"===b.options.type&&u(d.key),g=k[n+"Format"];c={isFooter:c,labelConfig:d};e(this,"headerFormatter",
+c,function(c){m&&!h&&(h=this.getXDateFormat(d,k,b));m&&h&&(d.point&&d.point.tooltipDateKeys||["key"]).forEach(function(a){g=g.replace("{point."+a+"}","{point."+a+":"+h+"}")});a.chart.styledMode&&(g=this.styledModeFormat(g));c.text=B(g,{point:d,series:a},this.chart)});return c.text};b.prototype.update=function(d){this.destroy();I(!0,this.chart.options.tooltip.userOptions,d);this.init(this.chart,I(!0,this.options,d))};b.prototype.updatePosition=function(d){var c=this.chart,e=c.pointer,a=this.getLabel(),
+k=d.plotX+c.plotLeft;c=d.plotY+c.plotTop;e=e.getChartPosition();d=(this.options.positioner||this.getPosition).call(this,a.width,a.height,d);if(this.outside){var h=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(a.width+h,a.height+h,!1);if(1!==e.scaleX||1!==e.scaleY)r(this.container,{transform:"scale("+e.scaleX+", "+e.scaleY+")"}),k*=e.scaleX,c*=e.scaleY;k+=e.left-d.x;c+=e.top-d.y}this.move(Math.round(d.x),Math.round(d.y||0),k,c)};return b}();f.Tooltip=b;return f.Tooltip});J(b,
+"Core/Pointer.js",[b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Tooltip.js"],b["Core/Utilities.js"]],function(b,f,D,y,C){var B=b.parse,t=f.charts,r=f.noop,p=C.addEvent,l=C.attr,g=C.css,e=C.defined,d=C.extend,u=C.find,H=C.fireEvent,I=C.isNumber,K=C.isObject,F=C.objectEach,w=C.offset,z=C.pick,q=C.splat;"";b=function(){function b(c,d){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.eventsToUnbind=[];this.chart=c;this.hasDragged=!1;this.options=
+d;this.init(c,d)}b.prototype.applyInactiveState=function(c){var d=[],a;(c||[]).forEach(function(c){a=c.series;d.push(a);a.linkedParent&&d.push(a.linkedParent);a.linkedSeries&&(d=d.concat(a.linkedSeries));a.navigatorSeries&&d.push(a.navigatorSeries)});this.chart.series.forEach(function(a){-1===d.indexOf(a)?a.setState("inactive",!0):a.options.inactiveOtherPoints&&a.setAllPointsToState("inactive")})};b.prototype.destroy=function(){var c=this;this.eventsToUnbind.forEach(function(c){return c()});this.eventsToUnbind=
+[];f.chartCount||(f.unbindDocumentMouseUp&&(f.unbindDocumentMouseUp=f.unbindDocumentMouseUp()),f.unbindDocumentTouchEnd&&(f.unbindDocumentTouchEnd=f.unbindDocumentTouchEnd()));clearInterval(c.tooltipTimeout);F(c,function(d,a){c[a]=void 0})};b.prototype.drag=function(c){var d=this.chart,a=d.options.chart,k=c.chartX,h=c.chartY,e=this.zoomHor,b=this.zoomVert,g=d.plotLeft,m=d.plotTop,l=d.plotWidth,f=d.plotHeight,q=this.selectionMarker,p=this.mouseDownX||0,u=this.mouseDownY||0,w=K(a.panning)?a.panning&&
+a.panning.enabled:a.panning,z=a.panKey&&c[a.panKey+"Key"];if(!q||!q.touch)if(k<g?k=g:k>g+l&&(k=g+l),h<m?h=m:h>m+f&&(h=m+f),this.hasDragged=Math.sqrt(Math.pow(p-k,2)+Math.pow(u-h,2)),10<this.hasDragged){var r=d.isInsidePlot(p-g,u-m,{visiblePlotOnly:!0});d.hasCartesianSeries&&(this.zoomX||this.zoomY)&&r&&!z&&!q&&(this.selectionMarker=q=d.renderer.rect(g,m,e?1:l,b?1:f,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),d.styledMode||q.attr({fill:a.selectionMarkerFill||B(D.highlightColor80).setOpacity(.25).get()}));
+q&&e&&(k-=p,q.attr({width:Math.abs(k),x:(0<k?0:k)+p}));q&&b&&(k=h-u,q.attr({height:Math.abs(k),y:(0<k?0:k)+u}));r&&!q&&w&&d.pan(c,a.panning)}};b.prototype.dragStart=function(c){var d=this.chart;d.mouseIsDown=c.type;d.cancelClick=!1;d.mouseDownX=this.mouseDownX=c.chartX;d.mouseDownY=this.mouseDownY=c.chartY};b.prototype.drop=function(c){var b=this,a=this.chart,k=this.hasPinched;if(this.selectionMarker){var h={originalEvent:c,xAxis:[],yAxis:[]},m=this.selectionMarker,l=m.attr?m.attr("x"):m.x,f=m.attr?
+m.attr("y"):m.y,q=m.attr?m.attr("width"):m.width,p=m.attr?m.attr("height"):m.height,u;if(this.hasDragged||k)a.axes.forEach(function(a){if(a.zoomEnabled&&e(a.min)&&(k||b[{xAxis:"zoomX",yAxis:"zoomY"}[a.coll]])&&I(l)&&I(f)){var d=a.horiz,n="touchend"===c.type?a.minPixelPadding:0,g=a.toValue((d?l:f)+n);d=a.toValue((d?l+q:f+p)-n);h[a.coll].push({axis:a,min:Math.min(g,d),max:Math.max(g,d)});u=!0}}),u&&H(a,"selection",h,function(c){a.zoom(d(c,k?{animation:!1}:null))});I(a.index)&&(this.selectionMarker=
+this.selectionMarker.destroy());k&&this.scaleGroups()}a&&I(a.index)&&(g(a.container,{cursor:a._cursor}),a.cancelClick=10<this.hasDragged,a.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])};b.prototype.findNearestKDPoint=function(c,d,a){var k=this.chart,h=k.hoverPoint;k=k.tooltip;if(h&&k&&k.isStickyOnContact())return h;var e;c.forEach(function(c){var h=!(c.noSharedTooltip&&d)&&0>c.options.findNearestPointBy.indexOf("y");c=c.searchPoint(a,h);if((h=K(c,!0)&&c.series)&&!(h=!K(e,!0))){h=
+e.distX-c.distX;var k=e.dist-c.dist,b=(c.series.group&&c.series.group.zIndex)-(e.series.group&&e.series.group.zIndex);h=0<(0!==h&&d?h:0!==k?k:0!==b?b:e.series.index>c.series.index?-1:1)}h&&(e=c)});return e};b.prototype.getChartCoordinatesFromPoint=function(c,d){var a=c.series,k=a.xAxis;a=a.yAxis;var h=c.shapeArgs;if(k&&a){var e=z(c.clientX,c.plotX),b=c.plotY||0;c.isNode&&h&&I(h.x)&&I(h.y)&&(e=h.x,b=h.y);return d?{chartX:a.len+a.pos-b,chartY:k.len+k.pos-e}:{chartX:e+k.pos,chartY:b+a.pos}}if(h&&h.x&&
+h.y)return{chartX:h.x,chartY:h.y}};b.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var c=this.chart.container,d=w(c);this.chartPosition={left:d.left,top:d.top,scaleX:1,scaleY:1};var a=c.offsetWidth;c=c.offsetHeight;2<a&&2<c&&(this.chartPosition.scaleX=d.width/a,this.chartPosition.scaleY=d.height/c);return this.chartPosition};b.prototype.getCoordinates=function(c){var d={xAxis:[],yAxis:[]};this.chart.axes.forEach(function(a){d[a.isXAxis?"xAxis":"yAxis"].push({axis:a,
+value:a.toValue(c[a.horiz?"chartX":"chartY"])})});return d};b.prototype.getHoverData=function(c,d,a,k,h,e){var b,n=[];k=!(!k||!c);var g=d&&!d.stickyTracking,m={chartX:e?e.chartX:void 0,chartY:e?e.chartY:void 0,shared:h};H(this,"beforeGetHoverData",m);g=g?[d]:a.filter(function(a){return m.filter?m.filter(a):a.visible&&!(!h&&a.directTouch)&&z(a.options.enableMouseTracking,!0)&&a.stickyTracking});d=(b=k||!e?c:this.findNearestKDPoint(g,h,e))&&b.series;b&&(h&&!d.noSharedTooltip?(g=a.filter(function(a){return m.filter?
+m.filter(a):a.visible&&!(!h&&a.directTouch)&&z(a.options.enableMouseTracking,!0)&&!a.noSharedTooltip}),g.forEach(function(a){var c=u(a.points,function(a){return a.x===b.x&&!a.isNull});K(c)&&(a.chart.isBoosting&&(c=a.getPoint(c)),n.push(c))})):n.push(b));m={hoverPoint:b};H(this,"afterGetHoverData",m);return{hoverPoint:m.hoverPoint,hoverSeries:d,hoverPoints:n}};b.prototype.getPointFromEvent=function(c){c=c.target;for(var d;c&&!d;)d=c.point,c=c.parentNode;return d};b.prototype.onTrackerMouseOut=function(c){c=
+c.relatedTarget||c.toElement;var d=this.chart.hoverSeries;this.isDirectTouch=!1;if(!(!d||!c||d.stickyTracking||this.inClass(c,"highcharts-tooltip")||this.inClass(c,"highcharts-series-"+d.index)&&this.inClass(c,"highcharts-tracker")))d.onMouseOut()};b.prototype.inClass=function(c,d){for(var a;c;){if(a=l(c,"class")){if(-1!==a.indexOf(d))return!0;if(-1!==a.indexOf("highcharts-container"))return!1}c=c.parentNode}};b.prototype.init=function(c,d){this.options=d;this.chart=c;this.runChartClick=!(!d.chart.events||
+!d.chart.events.click);this.pinchDown=[];this.lastValidTouch={};y&&(c.tooltip=new y(c,d.tooltip),this.followTouchMove=z(d.tooltip.followTouchMove,!0));this.setDOMEvents()};b.prototype.normalize=function(c,e){var a=c.touches,k=a?a.length?a.item(0):z(a.changedTouches,c.changedTouches)[0]:c;e||(e=this.getChartPosition());a=k.pageX-e.left;k=k.pageY-e.top;a/=e.scaleX;k/=e.scaleY;return d(c,{chartX:Math.round(a),chartY:Math.round(k)})};b.prototype.onContainerClick=function(c){var e=this.chart,a=e.hoverPoint;
+c=this.normalize(c);var k=e.plotLeft,h=e.plotTop;e.cancelClick||(a&&this.inClass(c.target,"highcharts-tracker")?(H(a.series,"click",d(c,{point:a})),e.hoverPoint&&a.firePointEvent("click",c)):(d(c,this.getCoordinates(c)),e.isInsidePlot(c.chartX-k,c.chartY-h,{visiblePlotOnly:!0})&&H(e,"click",c)))};b.prototype.onContainerMouseDown=function(c){var d=1===((c.buttons||c.button)&1);c=this.normalize(c);if(f.isFirefox&&0!==c.button)this.onContainerMouseMove(c);if("undefined"===typeof c.button||d)this.zoomOption(c),
+d&&c.preventDefault&&c.preventDefault(),this.dragStart(c)};b.prototype.onContainerMouseLeave=function(c){var d=t[z(f.hoverChartIndex,-1)],a=this.chart.tooltip;c=this.normalize(c);d&&(c.relatedTarget||c.toElement)&&(d.pointer.reset(),d.pointer.chartPosition=void 0);a&&!a.isHidden&&this.reset()};b.prototype.onContainerMouseEnter=function(c){delete this.chartPosition};b.prototype.onContainerMouseMove=function(c){var d=this.chart;c=this.normalize(c);this.setHoverChartIndex();c.preventDefault||(c.returnValue=
+!1);("mousedown"===d.mouseIsDown||this.touchSelect(c))&&this.drag(c);d.openMenu||!this.inClass(c.target,"highcharts-tracker")&&!d.isInsidePlot(c.chartX-d.plotLeft,c.chartY-d.plotTop,{visiblePlotOnly:!0})||this.runPointActions(c)};b.prototype.onDocumentTouchEnd=function(c){t[f.hoverChartIndex]&&t[f.hoverChartIndex].pointer.drop(c)};b.prototype.onContainerTouchMove=function(c){if(this.touchSelect(c))this.onContainerMouseMove(c);else this.touch(c)};b.prototype.onContainerTouchStart=function(c){if(this.touchSelect(c))this.onContainerMouseDown(c);
+else this.zoomOption(c),this.touch(c,!0)};b.prototype.onDocumentMouseMove=function(c){var d=this.chart,a=this.chartPosition;c=this.normalize(c,a);var k=d.tooltip;!a||k&&k.isStickyOnContact()||d.isInsidePlot(c.chartX-d.plotLeft,c.chartY-d.plotTop,{visiblePlotOnly:!0})||this.inClass(c.target,"highcharts-tracker")||this.reset()};b.prototype.onDocumentMouseUp=function(c){var d=t[z(f.hoverChartIndex,-1)];d&&d.pointer.drop(c)};b.prototype.pinch=function(c){var e=this,a=e.chart,k=e.pinchDown,h=c.touches||
+[],b=h.length,g=e.lastValidTouch,m=e.hasZoom,l=e.selectionMarker,f={},q=1===b&&(e.inClass(c.target,"highcharts-tracker")&&a.runTrackerClick||e.runChartClick),p={};1<b&&(e.initiated=!0);m&&e.initiated&&!q&&!1!==c.cancelable&&c.preventDefault();[].map.call(h,function(a){return e.normalize(a)});"touchstart"===c.type?([].forEach.call(h,function(a,c){k[c]={chartX:a.chartX,chartY:a.chartY}}),g.x=[k[0].chartX,k[1]&&k[1].chartX],g.y=[k[0].chartY,k[1]&&k[1].chartY],a.axes.forEach(function(c){if(c.zoomEnabled){var d=
+a.bounds[c.horiz?"h":"v"],h=c.minPixelPadding,e=c.toPixels(Math.min(z(c.options.min,c.dataMin),c.dataMin)),k=c.toPixels(Math.max(z(c.options.max,c.dataMax),c.dataMax)),b=Math.max(e,k);d.min=Math.min(c.pos,Math.min(e,k)-h);d.max=Math.max(c.pos+c.len,b+h)}}),e.res=!0):e.followTouchMove&&1===b?this.runPointActions(e.normalize(c)):k.length&&(l||(e.selectionMarker=l=d({destroy:r,touch:!0},a.plotBox)),e.pinchTranslate(k,h,f,l,p,g),e.hasPinched=m,e.scaleGroups(f,p),e.res&&(e.res=!1,this.reset(!1,0)))};b.prototype.pinchTranslate=
+function(c,d,a,e,h,b){this.zoomHor&&this.pinchTranslateDirection(!0,c,d,a,e,h,b);this.zoomVert&&this.pinchTranslateDirection(!1,c,d,a,e,h,b)};b.prototype.pinchTranslateDirection=function(c,d,a,e,h,b,g,m){var k=this.chart,n=c?"x":"y",l=c?"X":"Y",f="chart"+l,v=c?"width":"height",q=k["plot"+(c?"Left":"Top")],p,E,u=m||1,w=k.inverted,P=k.bounds[c?"h":"v"],z=1===d.length,r=d[0][f],L=a[0][f],t=!z&&d[1][f],H=!z&&a[1][f];a=function(){"number"===typeof H&&20<Math.abs(r-t)&&(u=m||Math.abs(L-H)/Math.abs(r-t));
+E=(q-L)/u+r;p=k["plot"+(c?"Width":"Height")]/u};a();d=E;if(d<P.min){d=P.min;var F=!0}else d+p>P.max&&(d=P.max-p,F=!0);F?(L-=.8*(L-g[n][0]),"number"===typeof H&&(H-=.8*(H-g[n][1])),a()):g[n]=[L,H];w||(b[n]=E-q,b[v]=p);b=w?1/u:u;h[v]=p;h[n]=d;e[w?c?"scaleY":"scaleX":"scale"+l]=u;e["translate"+l]=b*q+(L-b*r)};b.prototype.reset=function(c,d){var a=this.chart,e=a.hoverSeries,h=a.hoverPoint,b=a.hoverPoints,g=a.tooltip,m=g&&g.shared?b:h;c&&m&&q(m).forEach(function(a){a.series.isCartesian&&"undefined"===
+typeof a.plotX&&(c=!1)});if(c)g&&m&&q(m).length&&(g.refresh(m),g.shared&&b?b.forEach(function(a){a.setState(a.state,!0);a.series.isCartesian&&(a.series.xAxis.crosshair&&a.series.xAxis.drawCrosshair(null,a),a.series.yAxis.crosshair&&a.series.yAxis.drawCrosshair(null,a))}):h&&(h.setState(h.state,!0),a.axes.forEach(function(a){a.crosshair&&h.series[a.coll]===a&&a.drawCrosshair(null,h)})));else{if(h)h.onMouseOut();b&&b.forEach(function(a){a.setState()});if(e)e.onMouseOut();g&&g.hide(d);this.unDocMouseMove&&
+(this.unDocMouseMove=this.unDocMouseMove());a.axes.forEach(function(a){a.hideCrosshair()});this.hoverX=a.hoverPoints=a.hoverPoint=null}};b.prototype.runPointActions=function(c,d){var a=this.chart,e=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,h=e?e.shared:!1,b=d||a.hoverPoint,g=b&&b.series||a.hoverSeries;g=this.getHoverData(b,g,a.series,(!c||"touchmove"!==c.type)&&(!!d||g&&g.directTouch&&this.isDirectTouch),h,c);b=g.hoverPoint;var m=g.hoverPoints;d=(g=g.hoverSeries)&&g.tooltipOptions.followPointer&&
+!g.tooltipOptions.split;h=h&&g&&!g.noSharedTooltip;if(b&&(b!==a.hoverPoint||e&&e.isHidden)){(a.hoverPoints||[]).forEach(function(a){-1===m.indexOf(a)&&a.setState()});if(a.hoverSeries!==g)g.onMouseOver();this.applyInactiveState(m);(m||[]).forEach(function(a){a.setState("hover")});a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut");if(!b.series)return;a.hoverPoints=m;a.hoverPoint=b;b.firePointEvent("mouseOver");e&&e.refresh(h?m:b,c)}else d&&e&&!e.isHidden&&(b=e.getAnchor([{}],c),a.isInsidePlot(b[0],
+b[1],{visiblePlotOnly:!0})&&e.updatePosition({plotX:b[0],plotY:b[1]}));this.unDocMouseMove||(this.unDocMouseMove=p(a.container.ownerDocument,"mousemove",function(a){var c=t[f.hoverChartIndex];if(c)c.pointer.onDocumentMouseMove(a)}),this.eventsToUnbind.push(this.unDocMouseMove));a.axes.forEach(function(d){var h=z((d.crosshair||{}).snap,!0),e;h&&((e=a.hoverPoint)&&e.series[d.coll]===d||(e=u(m,function(a){return a.series[d.coll]===d})));e||!h?d.drawCrosshair(c,e):d.hideCrosshair()})};b.prototype.scaleGroups=
+function(c,d){var a=this.chart,e;a.series.forEach(function(h){e=c||h.getPlotBox();h.xAxis&&h.xAxis.zoomEnabled&&h.group&&(h.group.attr(e),h.markerGroup&&(h.markerGroup.attr(e),h.markerGroup.clip(d?a.clipRect:null)),h.dataLabelsGroup&&h.dataLabelsGroup.attr(e))});a.clipRect.attr(d||a.clipBox)};b.prototype.setDOMEvents=function(){var c=this,d=this.chart.container,a=d.ownerDocument;d.onmousedown=this.onContainerMouseDown.bind(this);d.onmousemove=this.onContainerMouseMove.bind(this);d.onclick=this.onContainerClick.bind(this);
+this.eventsToUnbind.push(p(d,"mouseenter",this.onContainerMouseEnter.bind(this)));this.eventsToUnbind.push(p(d,"mouseleave",this.onContainerMouseLeave.bind(this)));f.unbindDocumentMouseUp||(f.unbindDocumentMouseUp=p(a,"mouseup",this.onDocumentMouseUp.bind(this)));for(var e=this.chart.renderTo.parentElement;e&&"BODY"!==e.tagName;)this.eventsToUnbind.push(p(e,"scroll",function(){delete c.chartPosition})),e=e.parentElement;f.hasTouch&&(this.eventsToUnbind.push(p(d,"touchstart",this.onContainerTouchStart.bind(this),
+{passive:!1})),this.eventsToUnbind.push(p(d,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),f.unbindDocumentTouchEnd||(f.unbindDocumentTouchEnd=p(a,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};b.prototype.setHoverChartIndex=function(){var c=this.chart,d=f.charts[z(f.hoverChartIndex,-1)];if(d&&d!==c)d.pointer.onContainerMouseLeave({relatedTarget:!0});d&&d.mouseIsDown||(f.hoverChartIndex=c.index)};b.prototype.touch=function(c,d){var a=this.chart,e;this.setHoverChartIndex();
+if(1===c.touches.length)if(c=this.normalize(c),(e=a.isInsidePlot(c.chartX-a.plotLeft,c.chartY-a.plotTop,{visiblePlotOnly:!0}))&&!a.openMenu){d&&this.runPointActions(c);if("touchmove"===c.type){d=this.pinchDown;var h=d[0]?4<=Math.sqrt(Math.pow(d[0].chartX-c.chartX,2)+Math.pow(d[0].chartY-c.chartY,2)):!1}z(h,!0)&&this.pinch(c)}else d&&this.reset();else 2===c.touches.length&&this.pinch(c)};b.prototype.touchSelect=function(c){return!(!this.chart.options.chart.zoomBySingleTouch||!c.touches||1!==c.touches.length)};
+b.prototype.zoomOption=function(c){var d=this.chart,a=d.options.chart,e=a.zoomType||"";d=d.inverted;/touch/.test(c.type)&&(e=z(a.pinchType,e));this.zoomX=c=/x/.test(e);this.zoomY=e=/y/.test(e);this.zoomHor=c&&!d||e&&d;this.zoomVert=e&&!d||c&&d;this.hasZoom=c||e};return b}();return f.Pointer=b});J(b,"Core/MSPointer.js",[b["Core/Globals.js"],b["Core/Pointer.js"],b["Core/Utilities.js"]],function(b,f,D){function B(){var d=[];d.item=function(d){return this[d]};e(u,function(e){d.push({pageX:e.pageX,pageY:e.pageY,
+target:e.target})});return d}function C(d,e,g,l){"touch"!==d.pointerType&&d.pointerType!==d.MSPOINTER_TYPE_TOUCH||!t[b.hoverChartIndex]||(l(d),l=t[b.hoverChartIndex].pointer,l[e]({type:g,target:d.currentTarget,preventDefault:p,touches:B()}))}var A=this&&this.__extends||function(){var d=function(e,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,e){d.__proto__=e}||function(d,e){for(var b in e)e.hasOwnProperty(b)&&(d[b]=e[b])};return d(e,b)};return function(e,b){function g(){this.constructor=
+e}d(e,b);e.prototype=null===b?Object.create(b):(g.prototype=b.prototype,new g)}}(),t=b.charts,r=b.doc,p=b.noop,l=D.addEvent,g=D.css,e=D.objectEach,d=D.removeEvent,u={},H=!!b.win.PointerEvent;return function(e){function b(){return null!==e&&e.apply(this,arguments)||this}A(b,e);b.prototype.batchMSEvents=function(d){d(this.chart.container,H?"pointerdown":"MSPointerDown",this.onContainerPointerDown);d(this.chart.container,H?"pointermove":"MSPointerMove",this.onContainerPointerMove);d(r,H?"pointerup":
+"MSPointerUp",this.onDocumentPointerUp)};b.prototype.destroy=function(){this.batchMSEvents(d);e.prototype.destroy.call(this)};b.prototype.init=function(d,b){e.prototype.init.call(this,d,b);this.hasZoom&&g(d.container,{"-ms-touch-action":"none","touch-action":"none"})};b.prototype.onContainerPointerDown=function(d){C(d,"onContainerTouchStart","touchstart",function(d){u[d.pointerId]={pageX:d.pageX,pageY:d.pageY,target:d.currentTarget}})};b.prototype.onContainerPointerMove=function(d){C(d,"onContainerTouchMove",
+"touchmove",function(d){u[d.pointerId]={pageX:d.pageX,pageY:d.pageY};u[d.pointerId].target||(u[d.pointerId].target=d.currentTarget)})};b.prototype.onDocumentPointerUp=function(d){C(d,"onDocumentTouchEnd","touchend",function(d){delete u[d.pointerId]})};b.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(l)};return b}(f)});J(b,"Core/Series/Point.js",[b["Core/Renderer/HTML/AST.js"],b["Core/Animation/AnimationUtilities.js"],
+b["Core/FormatUtilities.js"],b["Core/Globals.js"],b["Core/Options.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A){var t=f.animObject,r=D.format,p=C.defaultOptions,l=A.addEvent,g=A.defined,e=A.erase,d=A.extend,u=A.fireEvent,H=A.getNestedProperty,B=A.isArray,K=A.isFunction,F=A.isNumber,w=A.isObject,z=A.merge,q=A.objectEach,m=A.pick,c=A.syncTimeout,n=A.removeEvent,a=A.uniqueKey;"";f=function(){function k(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;
+this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=this.series=void 0;this.visible=!0;this.x=void 0}k.prototype.animateBeforeDestroy=function(){var a=this,c={x:a.startXPos,opacity:0},e,k=a.getGraphicalProps();k.singular.forEach(function(d){e="dataLabel"===d;a[d]=a[d].animate(e?{x:a[d].startXPos,y:a[d].startYPos,opacity:0}:c)});k.plural.forEach(function(c){a[c].forEach(function(c){c.element&&c.animate(d({x:a.startXPos},c.startYPos?{x:c.startXPos,y:c.startYPos}:{}))})})};k.prototype.applyOptions=
+function(a,c){var h=this.series,e=h.options.pointValKey||h.pointValKey;a=k.prototype.optionsToObject.call(this,a);d(this,a);this.options=this.options?d(this.options,a):a;a.group&&delete this.group;a.dataLabels&&delete this.dataLabels;e&&(this.y=k.prototype.getNestedProperty.call(this,e));this.formatPrefix=(this.isNull=m(this.isValid&&!this.isValid(),null===this.x||!F(this.y)))?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof c&&h.xAxis&&h.xAxis.hasNames&&(this.x=
+h.xAxis.nameToX(this));"undefined"===typeof this.x&&h&&(this.x="undefined"===typeof c?h.autoIncrement(this):c);return this};k.prototype.destroy=function(){function a(){if(d.graphic||d.dataLabel||d.dataLabels)n(d),d.destroyElements();for(l in d)d[l]=null}var d=this,k=d.series,b=k.chart;k=k.options.dataSorting;var g=b.hoverPoints,m=t(d.series.chart.renderer.globalAnimation),l;d.legendItem&&b.legend.destroyItem(d);g&&(d.setState(),e(g,d),g.length||(b.hoverPoints=null));if(d===b.hoverPoint)d.onMouseOut();
+k&&k.enabled?(this.animateBeforeDestroy(),c(a,m.duration)):a();b.pointCount--};k.prototype.destroyElements=function(a){var c=this;a=c.getGraphicalProps(a);a.singular.forEach(function(a){c[a]=c[a].destroy()});a.plural.forEach(function(a){c[a].forEach(function(a){a.element&&a.destroy()});delete c[a]})};k.prototype.firePointEvent=function(a,c,d){var h=this,e=this.series.options;(e.point.events[a]||h.options&&h.options.events&&h.options.events[a])&&h.importEvents();"click"===a&&e.allowPointSelect&&(d=
+function(a){h.select&&h.select(null,a.ctrlKey||a.metaKey||a.shiftKey)});u(h,a,c,d)};k.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};
+k.prototype.getGraphicalProps=function(a){var c=this,d=[],h,e={singular:[],plural:[]};a=a||{graphic:1,dataLabel:1};a.graphic&&d.push("graphic","upperGraphic","shadowGroup");a.dataLabel&&d.push("dataLabel","dataLabelUpper","connector");for(h=d.length;h--;){var k=d[h];c[k]&&e.singular.push(k)}["dataLabel","connector"].forEach(function(d){var h=d+"s";a[d]&&c[h]&&e.plural.push(h)});return e};k.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,
+key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}};k.prototype.getNestedProperty=function(a){if(a)return 0===a.indexOf("custom.")?H(a,this.options):this[a]};k.prototype.getZone=function(){var a=this.series,c=a.zones;a=a.zoneAxis||"y";var d=0,e;for(e=c[d];this[a]>=e.value;)e=c[++d];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=e&&e.color&&!this.options.color?e.color:this.nonZonedColor;return e};k.prototype.hasNewShapeType=
+function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};k.prototype.init=function(c,d,e){this.series=c;this.applyOptions(d,e);this.id=g(this.id)?this.id:a();this.resolveColor();c.chart.pointCount++;u(this,"afterInit");return this};k.prototype.optionsToObject=function(a){var c={},d=this.series,h=d.options.keys,e=h||d.pointArrayMap||["y"],b=e.length,g=0,m=0;if(F(a)||null===a)c[e[0]]=a;else if(B(a))for(!h&&a.length>b&&(d=typeof a[0],"string"===d?c.name=
+a[0]:"number"===d&&(c.x=a[0]),g++);m<b;)h&&"undefined"===typeof a[g]||(0<e[m].indexOf(".")?k.prototype.setNestedProperty(c,a[g],e[m]):c[e[m]]=a[g]),g++,m++;else"object"===typeof a&&(c=a,a.dataLabels&&(d._hasPointLabels=!0),a.marker&&(d._hasPointMarkers=!0));return c};k.prototype.resolveColor=function(){var a=this.series;var c=a.chart.options.chart.colorCount;var d=a.chart.styledMode;delete this.nonZonedColor;if(a.options.colorByPoint){if(!d){c=a.options.colors||a.chart.options.colors;var e=c[a.colorCounter];
+c=c.length}d=a.colorCounter;a.colorCounter++;a.colorCounter===c&&(a.colorCounter=0)}else d||(e=a.color),d=a.colorIndex;this.colorIndex=m(this.options.colorIndex,d);this.color=m(this.options.color,e)};k.prototype.setNestedProperty=function(a,c,d){d.split(".").reduce(function(a,d,h,e){a[d]=e.length-1===h?c:w(a[d],!0)?a[d]:{};return a[d]},a);return a};k.prototype.tooltipFormatter=function(a){var c=this.series,d=c.tooltipOptions,h=m(d.valueDecimals,""),e=d.valuePrefix||"",k=d.valueSuffix||"";c.chart.styledMode&&
+(a=c.chart.tooltip.styledModeFormat(a));(c.pointArrayMap||["y"]).forEach(function(c){c="{point."+c;if(e||k)a=a.replace(RegExp(c+"}","g"),e+c+"}"+k);a=a.replace(RegExp(c+"}","g"),c+":,."+h+"f}")});return r(a,{point:this,series:this.series},c.chart)};k.prototype.update=function(a,c,d,e){function h(){k.applyOptions(a);var h=g&&k.hasDummyGraphic;h=null===k.y?!h:h;g&&h&&(k.graphic=g.destroy(),delete k.hasDummyGraphic);w(a,!0)&&(g&&g.element&&a&&a.marker&&"undefined"!==typeof a.marker.symbol&&(k.graphic=
+g.destroy()),a&&a.dataLabels&&k.dataLabel&&(k.dataLabel=k.dataLabel.destroy()),k.connector&&(k.connector=k.connector.destroy()));n=k.index;b.updateParallelArrays(k,n);f.data[n]=w(f.data[n],!0)||w(a,!0)?k.options:m(a,f.data[n]);b.isDirty=b.isDirtyData=!0;!b.fixedBox&&b.hasCartesianSeries&&(l.isDirtyBox=!0);"point"===f.legendType&&(l.isDirtyLegend=!0);c&&l.redraw(d)}var k=this,b=k.series,g=k.graphic,n,l=b.chart,f=b.options;c=m(c,!0);!1===e?h():k.firePointEvent("update",{options:a},h)};k.prototype.remove=
+function(a,c){this.series.removePoint(this.series.data.indexOf(this),a,c)};k.prototype.select=function(a,c){var d=this,h=d.series,e=h.chart;this.selectedStaging=a=m(a,!d.selected);d.firePointEvent(a?"select":"unselect",{accumulate:c},function(){d.selected=d.options.selected=a;h.options.data[h.data.indexOf(d)]=d.options;d.setState(a&&"select");c||e.getSelectedPoints().forEach(function(a){var c=a.series;a.selected&&a!==d&&(a.selected=a.options.selected=!1,c.options.data[c.data.indexOf(a)]=a.options,
+a.setState(e.hoverPoints&&c.options.inactiveOtherPoints?"inactive":""),a.firePointEvent("unselect"))})});delete this.selectedStaging};k.prototype.onMouseOver=function(a){var c=this.series.chart,d=c.pointer;a=a?d.normalize(a):d.getChartCoordinatesFromPoint(this,c.inverted);d.runPointActions(a,this)};k.prototype.onMouseOut=function(){var a=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(a.hoverPoints||[]).forEach(function(a){a.setState()});a.hoverPoints=a.hoverPoint=
+null};k.prototype.importEvents=function(){if(!this.hasImportedEvents){var a=this,c=z(a.series.options.point,a.options).events;a.events=c;q(c,function(c,d){K(c)&&l(a,d,c)});this.hasImportedEvents=!0}};k.prototype.setState=function(a,c){var h=this.series,e=this.state,k=h.options.states[a||"normal"]||{},g=p.plotOptions[h.type].marker&&h.options.marker,n=g&&!1===g.enabled,l=g&&g.states&&g.states[a||"normal"]||{},f=!1===l.enabled,v=h.stateMarkerGraphic,q=this.marker||{},w=h.chart,z=h.halo,r,P=g&&h.markerAttribs;
+a=a||"";if(!(a===this.state&&!c||this.selected&&"select"!==a||!1===k.enabled||a&&(f||n&&!1===l.enabled)||a&&q.states&&q.states[a]&&!1===q.states[a].enabled)){this.state=a;P&&(r=h.markerAttribs(this,a));if(this.graphic&&!this.hasDummyGraphic){e&&this.graphic.removeClass("highcharts-point-"+e);a&&this.graphic.addClass("highcharts-point-"+a);if(!w.styledMode){var t=h.pointAttribs(this,a);var N=m(w.options.chart.animation,k.animation);h.options.inactiveOtherPoints&&F(t.opacity)&&((this.dataLabels||[]).forEach(function(a){a&&
+a.animate({opacity:t.opacity},N)}),this.connector&&this.connector.animate({opacity:t.opacity},N));this.graphic.animate(t,N)}r&&this.graphic.animate(r,m(w.options.chart.animation,l.animation,g.animation));v&&v.hide()}else{if(a&&l){e=q.symbol||h.symbol;v&&v.currentSymbol!==e&&(v=v.destroy());if(r)if(v)v[c?"animate":"attr"]({x:r.x,y:r.y});else e&&(h.stateMarkerGraphic=v=w.renderer.symbol(e,r.x,r.y,r.width,r.height).add(h.markerGroup),v.currentSymbol=e);!w.styledMode&&v&&v.attr(h.pointAttribs(this,a))}v&&
+(v[a&&this.isInside?"show":"hide"](),v.element.point=this)}k=k.halo;r=(v=this.graphic||v)&&v.visibility||"inherit";k&&k.size&&v&&"hidden"!==r&&!this.isCluster?(z||(h.halo=z=w.renderer.path().add(v.parentGroup)),z.show()[c?"animate":"attr"]({d:this.haloPath(k.size)}),z.attr({"class":"highcharts-halo highcharts-color-"+m(this.colorIndex,h.colorIndex)+(this.className?" "+this.className:""),visibility:r,zIndex:-1}),z.point=this,w.styledMode||z.attr(d({fill:this.color||h.color,"fill-opacity":k.opacity},
+b.filterUserAttributes(k.attributes||{})))):z&&z.point&&z.point.haloPath&&z.animate({d:z.point.haloPath(0)},null,z.hide);u(this,"afterSetState",{state:a})}};k.prototype.haloPath=function(a){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-a,this.plotY-a,2*a,2*a)};return k}();return y.Point=f});J(b,"Core/Legend.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/FormatUtilities.js"],b["Core/Globals.js"],b["Core/Series/Point.js"],b["Core/Utilities.js"]],function(b,f,D,y,C){var B=
+b.animObject,t=b.setAnimation,r=f.format;b=D.isFirefox;var p=D.marginNames;f=D.win;var l=C.addEvent,g=C.createElement,e=C.css,d=C.defined,u=C.discardElement,H=C.find,I=C.fireEvent,K=C.isNumber,F=C.merge,w=C.pick,z=C.relativeLength,q=C.stableSort,m=C.syncTimeout;C=C.wrap;var c=function(){function c(a,c){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=
+this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options={};this.padding=0;this.pages=[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=a;this.init(a,c)}c.prototype.init=function(a,c){this.chart=a;this.setOptions(c);c.enabled&&(this.render(),l(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=l(this.chart,
+"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};c.prototype.setOptions=function(a){var c=w(a.padding,8);this.options=a;this.chart.styledMode||(this.itemStyle=a.itemStyle,this.itemHiddenStyle=F(this.itemStyle,a.itemHiddenStyle));this.itemMarginTop=a.itemMarginTop||0;this.itemMarginBottom=a.itemMarginBottom||0;this.padding=c;this.initialItemY=c-5;this.symbolWidth=w(a.symbolWidth,16);this.pages=[];this.proximate="proximate"===
+a.layout&&!this.chart.inverted;this.baseline=void 0};c.prototype.update=function(a,c){var d=this.chart;this.setOptions(F(!0,this.options,a));this.destroy();d.isDirtyLegend=d.isDirtyBox=!0;w(c,!0)&&d.redraw();I(this,"afterUpdate")};c.prototype.colorizeItem=function(a,c){a.legendGroup[c?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var d=this.options,e=a.legendItem,k=a.legendLine,b=a.legendSymbol,g=this.itemHiddenStyle.color;d=c?d.itemStyle.color:g;var m=c?a.color||
+g:g,l=a.options&&a.options.marker,n={fill:m};e&&e.css({fill:d,color:d});k&&k.attr({stroke:m});b&&(l&&b.isMarker&&(n=a.pointAttribs(),c||(n.stroke=n.fill=g)),b.attr(n))}I(this,"afterColorizeItem",{item:a,visible:c})};c.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};c.prototype.positionItem=function(a){var c=this,e=this.options,b=e.symbolPadding,g=!e.rtl,m=a._legendItemPos;e=m[0];m=m[1];var l=a.checkbox,n=a.legendGroup;
+n&&n.element&&(b={translateX:g?e:this.legendWidth-e-2*b-4,translateY:m},g=function(){I(c,"afterPositionItem",{item:a})},d(n.translateY)?n.animate(b,void 0,g):(n.attr(b),g()));l&&(l.x=e,l.y=m)};c.prototype.destroyItem=function(a){var c=a.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(c){a[c]&&(a[c]=a[c].destroy())});c&&u(a.checkbox)};c.prototype.destroy=function(){function a(a){this[a]&&(this[a]=this[a].destroy())}this.getAllItems().forEach(function(c){["legendItem",
+"legendGroup"].forEach(a,c)});"clipRect up down pager nav box title group".split(" ").forEach(a,this);this.display=null};c.prototype.positionCheckboxes=function(){var a=this.group&&this.group.alignAttr,c=this.clipHeight||this.legendHeight,d=this.titleHeight;if(a){var b=a.translateY;this.allItems.forEach(function(h){var k=h.checkbox;if(k){var g=b+d+k.y+(this.scrollOffset||0)+3;e(k,{left:a.translateX+h.checkboxOffset+k.x-20+"px",top:g+"px",display:this.proximate||g>b-6&&g<b+c-6?"":"none"})}},this)}};
+c.prototype.renderTitle=function(){var a=this.options,c=this.padding,d=a.title,e=0;d.text&&(this.title||(this.title=this.chart.renderer.label(d.text,c-3,c-4,null,null,null,a.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(d.style),this.title.add(this.group)),d.width||this.title.css({width:this.maxLegendWidth+"px"}),a=this.title.getBBox(),e=a.height,this.offsetWidth=a.width,this.contentGroup.attr({translateY:e}));this.titleHeight=e};c.prototype.setText=function(a){var c=
+this.options;a.legendItem.attr({text:c.labelFormat?r(c.labelFormat,a,this.chart):c.labelFormatter.call(a)})};c.prototype.renderItem=function(a){var c=this.chart,d=c.renderer,e=this.options,b=this.symbolWidth,g=e.symbolPadding||0,m=this.itemStyle,n=this.itemHiddenStyle,l="horizontal"===e.layout?w(e.itemDistance,20):0,f=!e.rtl,q=a.legendItem,p=!a.series,u=!p&&a.series.drawLegendSymbol?a.series:a,r=u.options,z=this.createCheckboxForItem&&r&&r.showCheckbox;r=b+g+l+(z?20:0);var t=e.useHTML,P=a.options.className;
+q||(a.legendGroup=d.g("legend-item").addClass("highcharts-"+u.type+"-series highcharts-color-"+a.colorIndex+(P?" "+P:"")+(p?" highcharts-series-"+a.index:"")).attr({zIndex:1}).add(this.scrollGroup),a.legendItem=q=d.text("",f?b+g:-g,this.baseline||0,t),c.styledMode||q.css(F(a.visible?m:n)),q.attr({align:f?"left":"right",zIndex:2}).add(a.legendGroup),this.baseline||(this.fontMetrics=d.fontMetrics(c.styledMode?12:m.fontSize,q),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,q.attr("y",this.baseline),
+this.symbolHeight=e.symbolHeight||this.fontMetrics.f,e.squareSymbol&&(this.symbolWidth=w(e.symbolWidth,Math.max(this.symbolHeight,16)),r=this.symbolWidth+g+l+(z?20:0),f&&q.attr("x",this.symbolWidth+g))),u.drawLegendSymbol(this,a),this.setItemEvents&&this.setItemEvents(a,q,t));z&&!a.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(a);this.colorizeItem(a,a.visible);!c.styledMode&&m.width||q.css({width:(e.itemWidth||this.widthOption||c.spacingBox.width)-r+"px"});this.setText(a);c=q.getBBox();
+a.itemWidth=a.checkboxOffset=e.itemWidth||a.legendItemWidth||c.width+r;this.maxItemWidth=Math.max(this.maxItemWidth,a.itemWidth);this.totalItemWidth+=a.itemWidth;this.itemHeight=a.itemHeight=Math.round(a.legendItemHeight||c.height||this.symbolHeight)};c.prototype.layoutItem=function(a){var c=this.options,d=this.padding,e="horizontal"===c.layout,b=a.itemHeight,g=this.itemMarginBottom,m=this.itemMarginTop,l=e?w(c.itemDistance,20):0,n=this.maxLegendWidth;c=c.alignColumns&&this.totalItemWidth>n?this.maxItemWidth:
+a.itemWidth;e&&this.itemX-d+c>n&&(this.itemX=d,this.lastLineHeight&&(this.itemY+=m+this.lastLineHeight+g),this.lastLineHeight=0);this.lastItemY=m+this.itemY+g;this.lastLineHeight=Math.max(b,this.lastLineHeight);a._legendItemPos=[this.itemX,this.itemY];e?this.itemX+=c:(this.itemY+=m+b+g,this.lastLineHeight=b);this.offsetWidth=this.widthOption||Math.max((e?this.itemX-d-(a.checkbox?0:l):c)+d,this.offsetWidth)};c.prototype.getAllItems=function(){var a=[];this.chart.series.forEach(function(c){var e=c&&
+c.options;c&&w(e.showInLegend,d(e.linkedTo)?!1:void 0,!0)&&(a=a.concat(c.legendItems||("point"===e.legendType?c.data:c)))});I(this,"afterGetAllItems",{allItems:a});return a};c.prototype.getAlignment=function(){var a=this.options;return this.proximate?a.align.charAt(0)+"tv":a.floating?"":a.align.charAt(0)+a.verticalAlign.charAt(0)+a.layout.charAt(0)};c.prototype.adjustMargins=function(a,c){var e=this.chart,b=this.options,k=this.getAlignment();k&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(h,
+g){h.test(k)&&!d(a[g])&&(e[p[g]]=Math.max(e[p[g]],e.legend[(g+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][g]*b[g%2?"x":"y"]+w(b.margin,12)+c[g]+(e.titleOffset[g]||0)))})};c.prototype.proximatePositions=function(){var a=this.chart,c=[],d="left"===this.options.align;this.allItems.forEach(function(e){var h;var b=d;if(e.yAxis){e.xAxis.options.reversed&&(b=!b);e.points&&(h=H(b?e.points:e.points.slice(0).reverse(),function(a){return K(a.plotY)}));b=this.itemMarginTop+e.legendItem.getBBox().height+this.itemMarginBottom;
+var k=e.yAxis.top-a.plotTop;e.visible?(h=h?h.plotY:e.yAxis.height,h+=k-.3*b):h=k+e.yAxis.height;c.push({target:h,size:b,item:e})}},this);D.distribute(c,a.plotHeight);c.forEach(function(c){c.item._legendItemPos[1]=a.plotTop-a.spacing[0]+c.pos})};c.prototype.render=function(){var a=this.chart,c=a.renderer,d=this.group,e=this.box,b=this.options,g=this.padding;this.itemX=g;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=z(b.width,a.spacingBox.width-g);var m=a.spacingBox.width-
+2*g-b.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(m/=2);this.maxLegendWidth=this.widthOption||m;d||(this.group=d=c.g("legend").attr({zIndex:7}).add(),this.contentGroup=c.g().attr({zIndex:1}).add(d),this.scrollGroup=c.g().add(this.contentGroup));this.renderTitle();var n=this.getAllItems();q(n,function(a,c){return(a.options&&a.options.legendIndex||0)-(c.options&&c.options.legendIndex||0)});b.reversed&&n.reverse();this.allItems=n;this.display=m=!!n.length;this.itemHeight=this.totalItemWidth=
+this.maxItemWidth=this.lastLineHeight=0;n.forEach(this.renderItem,this);n.forEach(this.layoutItem,this);n=(this.widthOption||this.offsetWidth)+g;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l);l+=g;e||(this.box=e=c.rect().addClass("highcharts-legend-box").attr({r:b.borderRadius}).add(d),e.isNew=!0);a.styledMode||e.attr({stroke:b.borderColor,"stroke-width":b.borderWidth||0,fill:b.backgroundColor||"none"}).shadow(b.shadow);0<n&&0<l&&(e[e.isNew?"attr":"animate"](e.crisp.call({},
+{x:0,y:0,width:n,height:l},e.strokeWidth())),e.isNew=!1);e[m?"show":"hide"]();a.styledMode&&"none"===d.getStyle("display")&&(n=l=0);this.legendWidth=n;this.legendHeight=l;m&&this.align();this.proximate||this.positionItems();I(this,"afterRender")};c.prototype.align=function(a){void 0===a&&(a=this.chart.spacingBox);var c=this.chart,d=this.options,e=a.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<c.titleOffset[0]?e+=c.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<c.titleOffset[2]&&(e-=c.titleOffset[2]);
+e!==a.y&&(a=F(a,{y:e}));this.group.align(F(d,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":d.verticalAlign}),!0,a)};c.prototype.handleOverflow=function(a){var c=this,d=this.chart,e=d.renderer,b=this.options,g=b.y,m=this.padding;g=d.spacingBox.height+("top"===b.verticalAlign?-g:g)-m;var n=b.maxHeight,l,f=this.clipRect,q=b.navigation,p=w(q.animation,!0),u=q.arrowSize||12,r=this.nav,z=this.pages,t,P=this.allItems,H=function(a){"number"===typeof a?f.attr({height:a}):
+f&&(c.clipRect=f.destroy(),c.contentGroup.clip());c.contentGroup.div&&(c.contentGroup.div.style.clip=a?"rect("+m+"px,9999px,"+(m+a)+"px,0)":"auto")},N=function(a){c[a]=e.circle(0,0,1.3*u).translate(u/2,u/2).add(r);d.styledMode||c[a].attr("fill","rgba(0,0,0,0.0001)");return c[a]};"horizontal"!==b.layout||"middle"===b.verticalAlign||b.floating||(g/=2);n&&(g=Math.min(g,n));z.length=0;a&&0<g&&a>g&&!1!==q.enabled?(this.clipHeight=l=Math.max(g-20-this.titleHeight-m,0),this.currentPage=w(this.currentPage,
+1),this.fullHeight=a,P.forEach(function(a,c){var d=a._legendItemPos[1],e=Math.round(a.legendItem.getBBox().height),h=z.length;if(!h||d-z[h-1]>l&&(t||d)!==z[h-1])z.push(t||d),h++;a.pageIx=h-1;t&&(P[c-1].pageIx=h-1);c===P.length-1&&d+e-z[h-1]>l&&d!==t&&(z.push(d),a.pageIx=h);d!==t&&(t=d)}),f||(f=c.clipRect=e.clipRect(0,m,9999,0),c.contentGroup.clip(f)),H(l),r||(this.nav=r=e.g().attr({zIndex:1}).add(this.group),this.up=e.symbol("triangle",0,0,u,u).add(r),N("upTracker").on("click",function(){c.scroll(-1,
+p)}),this.pager=e.text("",15,10).addClass("highcharts-legend-navigation"),d.styledMode||this.pager.css(q.style),this.pager.add(r),this.down=e.symbol("triangle-down",0,0,u,u).add(r),N("downTracker").on("click",function(){c.scroll(1,p)})),c.scroll(0),a=g):r&&(H(),this.nav=r.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a};c.prototype.scroll=function(a,c){var d=this,e=this.chart,b=this.pages,k=b.length,g=this.currentPage+a;a=this.clipHeight;var n=this.options.navigation,l=
+this.pager,f=this.padding;g>k&&(g=k);0<g&&("undefined"!==typeof c&&t(c,e),this.nav.attr({translateX:f,translateY:a+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(a){a.attr({"class":1===g?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),l.attr({text:g+"/"+k}),[this.down,this.downTracker].forEach(function(a){a.attr({x:18+this.pager.getBBox().width,"class":g===k?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),
+e.styledMode||(this.up.attr({fill:1===g?n.inactiveColor:n.activeColor}),this.upTracker.css({cursor:1===g?"default":"pointer"}),this.down.attr({fill:g===k?n.inactiveColor:n.activeColor}),this.downTracker.css({cursor:g===k?"default":"pointer"})),this.scrollOffset=-b[g-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=g,this.positionCheckboxes(),c=B(w(c,e.renderer.globalAnimation,!0)),m(function(){I(d,"afterScroll",{currentPage:g})},c.duration))};c.prototype.setItemEvents=
+function(a,c,d){var e=this,h=e.chart.renderer.boxWrapper,b=a instanceof y,k="highcharts-legend-"+(b?"point":"series")+"-active",g=e.chart.styledMode;(d?[c,a.legendSymbol]:[a.legendGroup]).forEach(function(d){if(d)d.on("mouseover",function(){a.visible&&e.allItems.forEach(function(c){a!==c&&c.setState("inactive",!b)});a.setState("hover");a.visible&&h.addClass(k);g||c.css(e.options.itemHoverStyle)}).on("mouseout",function(){e.chart.styledMode||c.css(F(a.visible?e.itemStyle:e.itemHiddenStyle));e.allItems.forEach(function(c){a!==
+c&&c.setState("",!b)});h.removeClass(k);a.setState()}).on("click",function(c){var d=function(){a.setVisible&&a.setVisible();e.allItems.forEach(function(c){a!==c&&c.setState(a.visible?"inactive":"",!b)})};h.removeClass(k);c={browserEvent:c};a.firePointEvent?a.firePointEvent("legendItemClick",c,d):I(a,"legendItemClick",c,d)})})};c.prototype.createCheckboxForItem=function(a){a.checkbox=g("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:a.selected,defaultChecked:a.selected},this.options.itemCheckboxStyle,
+this.chart.container);l(a.checkbox,"click",function(c){I(a.series||a,"checkboxClick",{checked:c.target.checked,item:a},function(){a.select()})})};return c}();(/Trident\/7\.0/.test(f.navigator&&f.navigator.userAgent)||b)&&C(c.prototype,"positionItem",function(c,a){var d=this,e=function(){a._legendItemPos&&c.call(d,a)};e();d.bubbleLegend||setTimeout(e)});D.Legend=c;return D.Legend});J(b,"Core/Series/SeriesRegistry.js",[b["Core/Globals.js"],b["Core/Options.js"],b["Core/Series/Point.js"],b["Core/Utilities.js"]],
+function(b,f,D,y){var B=f.defaultOptions,A=y.error,t=y.extendClass,r=y.merge,p;(function(l){function g(e,d){var b=B.plotOptions||{},g=d.defaultOptions;d.prototype.pointClass||(d.prototype.pointClass=D);d.prototype.type=e;g&&(b[e]=g);l.seriesTypes[e]=d}l.seriesTypes=b.seriesTypes;l.getSeries=function(e,d){void 0===d&&(d={});var b=e.options.chart;b=d.type||b.type||b.defaultSeriesType||"";var g=l.seriesTypes[b];l||A(17,!0,e,{missingModuleFor:b});b=new g;"function"===typeof b.init&&b.init(e,d);return b};
+l.registerSeriesType=g;l.seriesType=function(e,d,b,f,p){var u=B.plotOptions||{};d=d||"";u[e]=r(u[d],b);g(e,t(l.seriesTypes[d]||function(){},f));l.seriesTypes[e].prototype.type=e;p&&(l.seriesTypes[e].prototype.pointClass=t(D,p));return l.seriesTypes[e]}})(p||(p={}));b.seriesType=p.seriesType;return p});J(b,"Core/Chart/Chart.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Axis/Axis.js"],b["Core/FormatUtilities.js"],b["Core/Globals.js"],b["Core/Legend.js"],b["Core/MSPointer.js"],b["Core/Options.js"],
+b["Core/Color/Palette.js"],b["Core/Pointer.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Time.js"],b["Core/Utilities.js"],b["Core/Renderer/HTML/AST.js"]],function(b,f,D,y,C,A,t,r,p,l,g,e,d){var u=b.animate,H=b.animObject,B=b.setAnimation,K=D.numberFormat,F=y.charts,w=y.doc,z=y.win,q=t.defaultOptions,m=t.defaultTime,c=l.seriesTypes,n=e.addEvent,a=e.attr,k=e.cleanRecursively,h=e.createElement,v=e.css,E=e.defined,L=e.discardElement,M=e.erase,S=e.error,Y=e.extend,R=e.find,O=e.fireEvent,G=e.getStyle,
+x=e.isArray,J=e.isFunction,Z=e.isNumber,ea=e.isObject,P=e.isString,Q=e.merge,N=e.objectEach,T=e.pick,aa=e.pInt,V=e.relativeLength,W=e.removeEvent,U=e.splat,da=e.syncTimeout,ba=e.uniqueKey,fa=y.marginNames,ca=function(){function b(a,c,d){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=
+this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0;this.sharedClips={};this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0;this.getArgs(a,c,d)}b.prototype.getArgs=function(a,c,d){P(a)||a.nodeName?(this.renderTo=a,this.init(c,d)):this.init(a,c)};b.prototype.init=function(a,c){var d=a.plotOptions||{};O(this,"init",{args:arguments},function(){var e=Q(q,a),h=e.chart;N(e.plotOptions,function(a,
+c){ea(a)&&(a.tooltip=d[c]&&Q(d[c].tooltip)||void 0)});e.tooltip.userOptions=a.chart&&a.chart.forExport&&a.tooltip.userOptions||a.tooltip;this.userOptions=a;var b=h.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=c;this.isResizing=0;this.options=e;this.axes=[];this.series=[];this.time=a.time&&Object.keys(a.time).length?new g(a.time):y.time;this.numberFormatter=h.numberFormatter||K;this.styledMode=h.styledMode;this.hasCartesianSeries=h.showAxes;var k=
+this;k.index=F.length;F.push(k);y.chartCount++;b&&N(b,function(a,c){J(a)&&n(k,c,a)});k.xAxis=[];k.yAxis=[];k.pointCount=k.colorCounter=k.symbolCounter=0;O(k,"afterInit");k.firstRender()})};b.prototype.initSeries=function(a){var d=this.options.chart;d=a.type||d.type||d.defaultSeriesType;var e=c[d];e||S(17,!0,this,{missingModuleFor:d});d=new e;"function"===typeof d.init&&d.init(this,a);return d};b.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(a){a.points||a.data||
+!a.enabledDataSorting||a.setData(a.options.data,!1)})};b.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(a,c){return a.linkedSeries.length||c.linkedSeries.length?c.linkedSeries.length-a.linkedSeries.length:0})};b.prototype.orderSeries=function(a){var c=this.series;for(a=a||0;a<c.length;a++)c[a]&&(c[a].index=a,c[a].name=c[a].getName())};b.prototype.isInsidePlot=function(a,c,d){void 0===d&&(d={});var e=this.inverted,h=this.plotBox,b=this.plotLeft,k=this.plotTop,
+g=this.scrollablePlotBox,m=this.scrollingContainer;m=void 0===m?{scrollLeft:0,scrollTop:0}:m;var n=m.scrollLeft;m=m.scrollTop;var l=d.series;h=d.visiblePlotOnly&&g||h;g=d.inverted?c:a;c=d.inverted?a:c;a={x:g,y:c,isInsidePlot:!0};if(!d.ignoreX){var f=l&&(e?l.yAxis:l.xAxis)||{pos:b,len:Infinity};g=d.paneCoordinates?f.pos+g:b+g;g>=Math.max(n+b,f.pos)&&g<=Math.min(n+b+h.width,f.pos+f.len)||(a.isInsidePlot=!1)}!d.ignoreY&&a.isInsidePlot&&(e=l&&(e?l.xAxis:l.yAxis)||{pos:k,len:Infinity},d=d.paneCoordinates?
+e.pos+c:k+c,d>=Math.max(m+k,e.pos)&&d<=Math.min(m+k+h.height,e.pos+e.len)||(a.isInsidePlot=!1));O(this,"afterIsInsidePlot",a);return a.isInsidePlot};b.prototype.redraw=function(a){O(this,"beforeRedraw");var c=this.hasCartesianSeries?this.axes:this.colorAxis||[],d=this.series,e=this.pointer,h=this.legend,b=this.userOptions.legend,k=this.isDirtyLegend,g=this.isDirtyBox,m=this.renderer,l=m.isHidden(),n=[];this.setResponsive&&this.setResponsive(!1);B(this.hasRendered?a:!1,this);l&&this.temporaryDisplay();
+this.layOutTitles();for(a=d.length;a--;){var f=d[a];if(f.options.stacking||f.options.centerInCategory){var q=!0;if(f.isDirty){var v=!0;break}}}if(v)for(a=d.length;a--;)f=d[a],f.options.stacking&&(f.isDirty=!0);d.forEach(function(a){a.isDirty&&("point"===a.options.legendType?("function"===typeof a.updateTotals&&a.updateTotals(),k=!0):b&&(b.labelFormatter||b.labelFormat)&&(k=!0));a.isDirtyData&&O(a,"updatedData")});k&&h&&h.options.enabled&&(h.render(),this.isDirtyLegend=!1);q&&this.getStacks();c.forEach(function(a){a.updateNames();
+a.setScale()});this.getMargins();c.forEach(function(a){a.isDirty&&(g=!0)});c.forEach(function(a){var c=a.min+","+a.max;a.extKey!==c&&(a.extKey=c,n.push(function(){O(a,"afterSetExtremes",Y(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(g||q)&&a.redraw()});g&&this.drawChartBox();O(this,"predraw");d.forEach(function(a){(g||a.isDirty)&&a.visible&&a.redraw();a.isDirtyData=!1});e&&e.reset(!0);m.draw();O(this,"redraw");O(this,"render");l&&this.temporaryDisplay(!0);n.forEach(function(a){a.call()})};
+b.prototype.get=function(a){function c(c){return c.id===a||c.options&&c.options.id===a}var d=this.series,e;var h=R(this.axes,c)||R(this.series,c);for(e=0;!h&&e<d.length;e++)h=R(d[e].points||[],c);return h};b.prototype.getAxes=function(){var a=this,c=this.options,d=c.xAxis=U(c.xAxis||{});c=c.yAxis=U(c.yAxis||{});O(this,"getAxes");d.forEach(function(a,c){a.index=c;a.isX=!0});c.forEach(function(a,c){a.index=c});d.concat(c).forEach(function(c){new f(a,c)});O(this,"afterGetAxes")};b.prototype.getSelectedPoints=
+function(){var a=[];this.series.forEach(function(c){a=a.concat(c.getPointsCollection().filter(function(a){return T(a.selectedStaging,a.selected)}))});return a};b.prototype.getSelectedSeries=function(){return this.series.filter(function(a){return a.selected})};b.prototype.setTitle=function(a,c,d){this.applyDescription("title",a);this.applyDescription("subtitle",c);this.applyDescription("caption",void 0);this.layOutTitles(d)};b.prototype.applyDescription=function(a,c){var d=this,e="title"===a?{color:r.neutralColor80,
+fontSize:this.options.isStock?"16px":"18px"}:{color:r.neutralColor60};e=this.options[a]=Q(!this.styledMode&&{style:e},this.options[a],c);var h=this[a];h&&c&&(this[a]=h=h.destroy());e&&!h&&(h=this.renderer.text(e.text,0,0,e.useHTML).attr({align:e.align,"class":"highcharts-"+a,zIndex:e.zIndex||4}).add(),h.update=function(c){d[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[a]](c)},this.styledMode||h.css(e.style),this[a]=h)};b.prototype.layOutTitles=function(a){var c=[0,0,0],d=this.renderer,
+e=this.spacingBox;["title","subtitle","caption"].forEach(function(a){var h=this[a],b=this.options[a],k=b.verticalAlign||"top";a="title"===a?-3:"top"===k?c[0]+2:0;if(h){if(!this.styledMode)var g=b.style.fontSize;g=d.fontMetrics(g,h).b;h.css({width:(b.width||e.width+(b.widthAdjust||0))+"px"});var m=Math.round(h.getBBox(b.useHTML).height);h.align(Y({y:"bottom"===k?g:a+g,height:m},b),!1,"spacingBox");b.floating||("top"===k?c[0]=Math.ceil(c[0]+m):"bottom"===k&&(c[2]=Math.ceil(c[2]+m)))}},this);c[0]&&"top"===
+(this.options.title.verticalAlign||"top")&&(c[0]+=this.options.title.margin);c[2]&&"bottom"===this.options.caption.verticalAlign&&(c[2]+=this.options.caption.margin);var h=!this.titleOffset||this.titleOffset.join(",")!==c.join(",");this.titleOffset=c;O(this,"afterLayOutTitles");!this.isDirtyBox&&h&&(this.isDirtyBox=this.isDirtyLegend=h,this.hasRendered&&T(a,!0)&&this.isDirtyBox&&this.redraw())};b.prototype.getChartSize=function(){var a=this.options.chart,c=a.width;a=a.height;var d=this.renderTo;E(c)||
+(this.containerWidth=G(d,"width"));E(a)||(this.containerHeight=G(d,"height"));this.chartWidth=Math.max(0,c||this.containerWidth||600);this.chartHeight=Math.max(0,V(a,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))};b.prototype.temporaryDisplay=function(a){var c=this.renderTo;if(a)for(;c&&c.style;)c.hcOrigStyle&&(v(c,c.hcOrigStyle),delete c.hcOrigStyle),c.hcOrigDetached&&(w.body.removeChild(c),c.hcOrigDetached=!1),c=c.parentNode;else for(;c&&c.style;){w.body.contains(c)||c.parentNode||
+(c.hcOrigDetached=!0,w.body.appendChild(c));if("none"===G(c,"display",!1)||c.hcOricDetached)c.hcOrigStyle={display:c.style.display,height:c.style.height,overflow:c.style.overflow},a={display:"block",overflow:"hidden"},c!==this.renderTo&&(a.height=0),v(c,a),c.offsetWidth||c.style.setProperty("display","block","important");c=c.parentNode;if(c===w.body)break}};b.prototype.setClassName=function(a){this.container.className="highcharts-container "+(a||"")};b.prototype.getContainer=function(){var c=this.options,
+d=c.chart;var e=this.renderTo;var b=ba(),k,g;e||(this.renderTo=e=d.renderTo);P(e)&&(this.renderTo=e=w.getElementById(e));e||S(13,!0,this);var m=aa(a(e,"data-highcharts-chart"));Z(m)&&F[m]&&F[m].hasRendered&&F[m].destroy();a(e,"data-highcharts-chart",this.index);e.innerHTML="";d.skipClone||e.offsetWidth||this.temporaryDisplay();this.getChartSize();m=this.chartWidth;var l=this.chartHeight;v(e,{overflow:"hidden"});this.styledMode||(k=Y({position:"relative",overflow:"hidden",width:m+"px",height:l+"px",
+textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},d.style||{}));this.container=e=h("div",{id:b},k,e);this._cursor=e.style.cursor;this.renderer=new (y[d.renderer]||y.Renderer)(e,m,l,null,d.forExport,c.exporting&&c.exporting.allowHTML,this.styledMode);B(void 0,this);this.setClassName(d.className);if(this.styledMode)for(g in c.defs)this.renderer.definition(c.defs[g]);else this.renderer.setStyle(d.style);
+this.renderer.chartIndex=this.index;O(this,"afterGetContainer")};b.prototype.getMargins=function(a){var c=this.spacing,d=this.margin,e=this.titleOffset;this.resetMargins();e[0]&&!E(d[0])&&(this.plotTop=Math.max(this.plotTop,e[0]+c[0]));e[2]&&!E(d[2])&&(this.marginBottom=Math.max(this.marginBottom,e[2]+c[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(d,c);O(this,"getMargins");a||this.getAxisMargins()};b.prototype.getAxisMargins=function(){var a=this,c=a.axisOffset=[0,0,0,0],d=a.colorAxis,
+e=a.margin,h=function(a){a.forEach(function(a){a.visible&&a.getOffset()})};a.hasCartesianSeries?h(a.axes):d&&d.length&&h(d);fa.forEach(function(d,h){E(e[h])||(a[d]+=c[h])});a.setChartSize()};b.prototype.reflow=function(a){var c=this,d=c.options.chart,h=c.renderTo,b=E(d.width)&&E(d.height),k=d.width||G(h,"width");d=d.height||G(h,"height");h=a?a.target:z;delete c.pointer.chartPosition;if(!b&&!c.isPrinting&&k&&d&&(h===z||h===w)){if(k!==c.containerWidth||d!==c.containerHeight)e.clearTimeout(c.reflowTimeout),
+c.reflowTimeout=da(function(){c.container&&c.setSize(void 0,void 0,!1)},a?100:0);c.containerWidth=k;c.containerHeight=d}};b.prototype.setReflow=function(a){var c=this;!1===a||this.unbindReflow?!1===a&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=n(z,"resize",function(a){c.options&&c.reflow(a)}),n(this,"destroy",this.unbindReflow))};b.prototype.setSize=function(a,c,d){var e=this,h=e.renderer;e.isResizing+=1;B(d,e);d=h.globalAnimation;e.oldChartHeight=e.chartHeight;
+e.oldChartWidth=e.chartWidth;"undefined"!==typeof a&&(e.options.chart.width=a);"undefined"!==typeof c&&(e.options.chart.height=c);e.getChartSize();e.styledMode||(d?u:v)(e.container,{width:e.chartWidth+"px",height:e.chartHeight+"px"},d);e.setChartSize(!0);h.setSize(e.chartWidth,e.chartHeight,d);e.axes.forEach(function(a){a.isDirty=!0;a.setScale()});e.isDirtyLegend=!0;e.isDirtyBox=!0;e.layOutTitles();e.getMargins();e.redraw(d);e.oldChartHeight=null;O(e,"resize");da(function(){e&&O(e,"endResize",null,
+function(){--e.isResizing})},H(d).duration)};b.prototype.setChartSize=function(a){var c=this.inverted,d=this.renderer,e=this.chartWidth,h=this.chartHeight,b=this.options.chart,k=this.spacing,g=this.clipOffset,m,l,n,f;this.plotLeft=m=Math.round(this.plotLeft);this.plotTop=l=Math.round(this.plotTop);this.plotWidth=n=Math.max(0,Math.round(e-m-this.marginRight));this.plotHeight=f=Math.max(0,Math.round(h-l-this.marginBottom));this.plotSizeX=c?f:n;this.plotSizeY=c?n:f;this.plotBorderWidth=b.plotBorderWidth||
+0;this.spacingBox=d.spacingBox={x:k[3],y:k[0],width:e-k[3]-k[1],height:h-k[0]-k[2]};this.plotBox=d.plotBox={x:m,y:l,width:n,height:f};h=2*Math.floor(this.plotBorderWidth/2);c=Math.ceil(Math.max(h,g[3])/2);e=Math.ceil(Math.max(h,g[0])/2);this.clipBox={x:c,y:e,width:Math.floor(this.plotSizeX-Math.max(h,g[1])/2-c),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(h,g[2])/2-e))};a||(this.axes.forEach(function(a){a.setAxisSize();a.setAxisTranslation()}),d.alignElements());O(this,"afterSetChartSize",
+{skipAxes:a})};b.prototype.resetMargins=function(){O(this,"resetMargins");var a=this,c=a.options.chart;["margin","spacing"].forEach(function(d){var e=c[d],h=ea(e)?e:[e,e,e,e];["Top","Right","Bottom","Left"].forEach(function(e,b){a[d][b]=T(c[d+e],h[b])})});fa.forEach(function(c,d){a[c]=T(a.margin[d],a.spacing[d])});a.axisOffset=[0,0,0,0];a.clipOffset=[0,0,0,0]};b.prototype.drawChartBox=function(){var a=this.options.chart,c=this.renderer,d=this.chartWidth,e=this.chartHeight,h=this.chartBackground,b=
+this.plotBackground,k=this.plotBorder,g=this.styledMode,m=this.plotBGImage,l=a.backgroundColor,n=a.plotBackgroundColor,f=a.plotBackgroundImage,q,v=this.plotLeft,p=this.plotTop,u=this.plotWidth,w=this.plotHeight,r=this.plotBox,z=this.clipRect,P=this.clipBox,N="animate";h||(this.chartBackground=h=c.rect().addClass("highcharts-background").add(),N="attr");if(g)var t=q=h.strokeWidth();else{t=a.borderWidth||0;q=t+(a.shadow?8:0);l={fill:l||"none"};if(t||h["stroke-width"])l.stroke=a.borderColor,l["stroke-width"]=
+t;h.attr(l).shadow(a.shadow)}h[N]({x:q/2,y:q/2,width:d-q-t%2,height:e-q-t%2,r:a.borderRadius});N="animate";b||(N="attr",this.plotBackground=b=c.rect().addClass("highcharts-plot-background").add());b[N](r);g||(b.attr({fill:n||"none"}).shadow(a.plotShadow),f&&(m?(f!==m.attr("href")&&m.attr("href",f),m.animate(r)):this.plotBGImage=c.image(f,v,p,u,w).add()));z?z.animate({width:P.width,height:P.height}):this.clipRect=c.clipRect(P);N="animate";k||(N="attr",this.plotBorder=k=c.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());
+g||k.attr({stroke:a.plotBorderColor,"stroke-width":a.plotBorderWidth||0,fill:"none"});k[N](k.crisp({x:v,y:p,width:u,height:w},-k.strokeWidth()));this.isDirtyBox=!1;O(this,"afterDrawChartBox")};b.prototype.propFromSeries=function(){var a=this,d=a.options.chart,e,h=a.options.series,b,k;["inverted","angular","polar"].forEach(function(g){e=c[d.type||d.defaultSeriesType];k=d[g]||e&&e.prototype[g];for(b=h&&h.length;!k&&b--;)(e=c[h[b].type])&&e.prototype[g]&&(k=!0);a[g]=k})};b.prototype.linkSeries=function(){var a=
+this,c=a.series;c.forEach(function(a){a.linkedSeries.length=0});c.forEach(function(c){var d=c.options.linkedTo;P(d)&&(d=":previous"===d?a.series[c.index-1]:a.get(d))&&d.linkedParent!==c&&(d.linkedSeries.push(c),c.linkedParent=d,d.enabledDataSorting&&c.setDataSortingOptions(),c.visible=T(c.options.visible,d.options.visible,c.visible))});O(this,"afterLinkSeries")};b.prototype.renderSeries=function(){this.series.forEach(function(a){a.translate();a.render()})};b.prototype.renderLabels=function(){var a=
+this,c=a.options.labels;c.items&&c.items.forEach(function(d){var e=Y(c.style,d.style),h=aa(e.left)+a.plotLeft,b=aa(e.top)+a.plotTop+12;delete e.left;delete e.top;a.renderer.text(d.html,h,b).attr({zIndex:2}).css(e).add()})};b.prototype.render=function(){var a=this.axes,c=this.colorAxis,d=this.renderer,e=this.options,h=0,b=function(a){a.forEach(function(a){a.visible&&a.render()})};this.setTitle();this.legend=new C(this,e.legend);this.getStacks&&this.getStacks();this.getMargins(!0);this.setChartSize();
+e=this.plotWidth;a.some(function(a){if(a.horiz&&a.visible&&a.options.labels.enabled&&a.series.length)return h=21,!0});var k=this.plotHeight=Math.max(this.plotHeight-h,0);a.forEach(function(a){a.setScale()});this.getAxisMargins();var g=1.1<e/this.plotWidth;var m=1.05<k/this.plotHeight;if(g||m)a.forEach(function(a){(a.horiz&&g||!a.horiz&&m)&&a.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries?b(a):c&&c.length&&b(c);this.seriesGroup||(this.seriesGroup=d.g("series-group").attr({zIndex:3}).add());
+this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0};b.prototype.addCredits=function(a){var c=this,d=Q(!0,this.options.credits,a);d.enabled&&!this.credits&&(this.credits=this.renderer.text(d.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){d.href&&(z.location.href=d.href)}).attr({align:d.position.align,zIndex:8}),c.styledMode||this.credits.css(d.style),this.credits.add().align(d.position),this.credits.update=
+function(a){c.credits=c.credits.destroy();c.addCredits(a)})};b.prototype.destroy=function(){var a=this,c=a.axes,d=a.series,e=a.container,h,b=e&&e.parentNode;O(a,"destroy");a.renderer.forExport?M(F,a):F[a.index]=void 0;y.chartCount--;a.renderTo.removeAttribute("data-highcharts-chart");W(a);for(h=c.length;h--;)c[h]=c[h].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(h=d.length;h--;)d[h]=d[h].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(c){var d=
+a[c];d&&d.destroy&&(a[c]=d.destroy())});e&&(e.innerHTML="",W(e),b&&L(e));N(a,function(c,d){delete a[d]})};b.prototype.firstRender=function(){var a=this,c=a.options;if(!a.isReadyToRender||a.isReadyToRender()){a.getContainer();a.resetMargins();a.setChartSize();a.propFromSeries();a.getAxes();(x(c.series)?c.series:[]).forEach(function(c){a.initSeries(c)});a.linkSeries();a.setSeriesData();O(a,"beforeRender");p&&(a.pointer=y.hasTouch||!z.PointerEvent&&!z.MSPointerEvent?new p(a,c):new A(a,c));a.render();
+a.pointer.getChartPosition();if(!a.renderer.imgCount&&!a.hasLoaded)a.onload();a.temporaryDisplay(!0)}};b.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(a){a&&"undefined"!==typeof this.index&&a.apply(this,[this])},this);O(this,"load");O(this,"render");E(this.index)&&this.setReflow(this.options.chart.reflow);this.hasLoaded=!0};b.prototype.addSeries=function(a,c,d){var e,h=this;a&&(c=T(c,!0),O(h,"addSeries",{options:a},function(){e=h.initSeries(a);h.isDirtyLegend=
+!0;h.linkSeries();e.enabledDataSorting&&e.setData(a.data,!1);O(h,"afterAddSeries",{series:e});c&&h.redraw(d)}));return e};b.prototype.addAxis=function(a,c,d,e){return this.createAxis(c?"xAxis":"yAxis",{axis:a,redraw:d,animation:e})};b.prototype.addColorAxis=function(a,c,d){return this.createAxis("colorAxis",{axis:a,redraw:c,animation:d})};b.prototype.createAxis=function(a,c){var d="colorAxis"===a,e=c.redraw,h=c.animation;a=Q(c.axis,{index:this[a].length,isX:"xAxis"===a});a=d?new y.ColorAxis(this,
+a):new f(this,a);d&&(this.isDirtyLegend=!0,this.axes.forEach(function(a){a.series=[]}),this.series.forEach(function(a){a.bindAxes();a.isDirtyData=!0}));T(e,!0)&&this.redraw(h);return a};b.prototype.showLoading=function(a){var c=this,e=c.options,b=c.loadingDiv,k=c.loadingSpan,g=e.loading,m=function(){b&&v(b,{left:c.plotLeft+"px",top:c.plotTop+"px",width:c.plotWidth+"px",height:c.plotHeight+"px"})};b||(c.loadingDiv=b=h("div",{className:"highcharts-loading highcharts-loading-hidden"},null,c.container));
+k||(c.loadingSpan=k=h("span",{className:"highcharts-loading-inner"},null,b),n(c,"redraw",m));b.className="highcharts-loading";d.setElementHTML(k,T(a,e.lang.loading,""));c.styledMode||(v(b,Y(g.style,{zIndex:10})),v(k,g.labelStyle),c.loadingShown||(v(b,{opacity:0,display:""}),u(b,{opacity:g.style.opacity||.5},{duration:g.showDuration||0})));c.loadingShown=!0;m()};b.prototype.hideLoading=function(){var a=this.options,c=this.loadingDiv;c&&(c.className="highcharts-loading highcharts-loading-hidden",this.styledMode||
+u(c,{opacity:0},{duration:a.loading.hideDuration||100,complete:function(){v(c,{display:"none"})}}));this.loadingShown=!1};b.prototype.update=function(a,c,d,e){var h=this,b={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l,n,f,q=a.isResponsiveOptions,v=[];O(h,"update",{options:a});q||h.setResponsive(!1,!0);a=k(a,h.options);h.userOptions=Q(h.userOptions,a);if(l=a.chart){Q(!0,h.options.chart,l);"className"in l&&h.setClassName(l.className);"reflow"in l&&h.setReflow(l.reflow);
+if("inverted"in l||"polar"in l||"type"in l){h.propFromSeries();var p=!0}"alignTicks"in l&&(p=!0);N(l,function(a,c){-1!==h.propsRequireUpdateSeries.indexOf("chart."+c)&&(n=!0);-1!==h.propsRequireDirtyBox.indexOf(c)&&(h.isDirtyBox=!0);-1!==h.propsRequireReflow.indexOf(c)&&(q?h.isDirtyBox=!0:f=!0)});!h.styledMode&&"style"in l&&h.renderer.setStyle(l.style)}!h.styledMode&&a.colors&&(this.options.colors=a.colors);a.time&&(this.time===m&&(this.time=new g(a.time)),Q(!0,h.options.time,a.time));N(a,function(c,
+d){if(h[d]&&"function"===typeof h[d].update)h[d].update(c,!1);else if("function"===typeof h[b[d]])h[b[d]](c);else"colors"!==d&&-1===h.collectionsWithUpdate.indexOf(d)&&Q(!0,h.options[d],a[d]);"chart"!==d&&-1!==h.propsRequireUpdateSeries.indexOf(d)&&(n=!0)});this.collectionsWithUpdate.forEach(function(c){if(a[c]){var e=[];h[c].forEach(function(a,c){a.options.isInternal||e.push(T(a.options.index,c))});U(a[c]).forEach(function(a,b){var k=E(a.id),g;k&&(g=h.get(a.id));!g&&h[c]&&(g=h[c][e?e[b]:b])&&k&&
+E(g.options.id)&&(g=void 0);g&&g.coll===c&&(g.update(a,!1),d&&(g.touched=!0));!g&&d&&h.collectionsWithInit[c]&&(h.collectionsWithInit[c][0].apply(h,[a].concat(h.collectionsWithInit[c][1]||[]).concat([!1])).touched=!0)});d&&h[c].forEach(function(a){a.touched||a.options.isInternal?delete a.touched:v.push(a)})}});v.forEach(function(a){a.chart&&a.remove(!1)});p&&h.axes.forEach(function(a){a.update({},!1)});n&&h.getSeriesOrderByLinks().forEach(function(a){a.chart&&a.update({},!1)},this);p=l&&l.width;l=
+l&&l.height;P(l)&&(l=V(l,p||h.chartWidth));f||Z(p)&&p!==h.chartWidth||Z(l)&&l!==h.chartHeight?h.setSize(p,l,e):T(c,!0)&&h.redraw(e);O(h,"afterUpdate",{options:a,redraw:c,animation:e})};b.prototype.setSubtitle=function(a,c){this.applyDescription("subtitle",a);this.layOutTitles(c)};b.prototype.setCaption=function(a,c){this.applyDescription("caption",a);this.layOutTitles(c)};b.prototype.showResetZoom=function(){function a(){c.zoomOut()}var c=this,d=q.lang,e=c.options.chart.resetZoomButton,h=e.theme,
+b=h.states,k="chart"===e.relativeTo||"spacingBox"===e.relativeTo?null:"scrollablePlotBox";O(this,"beforeShowResetZoom",null,function(){c.resetZoomButton=c.renderer.button(d.resetZoom,null,null,a,h,b&&b.hover).attr({align:e.position.align,title:d.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(e.position,!1,k)});O(this,"afterShowResetZoom")};b.prototype.zoomOut=function(){O(this,"selection",{resetSelection:!0},this.zoom)};b.prototype.zoom=function(a){var c=this,d,e=c.pointer,h=!1,b=
+c.inverted?e.mouseDownX:e.mouseDownY;!a||a.resetSelection?(c.axes.forEach(function(a){d=a.zoom()}),e.initiated=!1):a.xAxis.concat(a.yAxis).forEach(function(a){var k=a.axis,g=c.inverted?k.left:k.top,m=c.inverted?g+k.width:g+k.height,l=k.isXAxis,n=!1;if(!l&&b>=g&&b<=m||l||!E(b))n=!0;e[l?"zoomX":"zoomY"]&&n&&(d=k.zoom(a.min,a.max),k.displayBtn&&(h=!0))});var k=c.resetZoomButton;h&&!k?c.showResetZoom():!h&&ea(k)&&(c.resetZoomButton=k.destroy());d&&c.redraw(T(c.options.chart.animation,a&&a.animation,100>
+c.pointCount))};b.prototype.pan=function(a,c){var d=this,e=d.hoverPoints,h=d.options.chart,b=d.options.mapNavigation&&d.options.mapNavigation.enabled,k;c="object"===typeof c?c:{enabled:c,type:"x"};h&&h.panning&&(h.panning=c);var g=c.type;O(this,"pan",{originalEvent:a},function(){e&&e.forEach(function(a){a.setState()});var c=[1];"xy"===g?c=[1,0]:"y"===g&&(c=[0]);c.forEach(function(c){var e=d[c?"xAxis":"yAxis"][0],h=e.horiz,m=a[h?"chartX":"chartY"];h=h?"mouseDownX":"mouseDownY";var l=d[h],n=(e.pointRange||
+0)/2,f=e.reversed&&!d.inverted||!e.reversed&&d.inverted?-1:1,q=e.getExtremes(),p=e.toValue(l-m,!0)+n*f;f=e.toValue(l+e.len-m,!0)-n*f;var v=f<p;l=v?f:p;p=v?p:f;f=e.hasVerticalPanning();var u=e.panningState;!f||c||u&&!u.isDirty||e.series.forEach(function(a){var c=a.getProcessedData(!0);c=a.getExtremes(c.yData,!0);u||(u={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});Z(c.dataMin)&&Z(c.dataMax)&&(u.startMin=Math.min(T(a.options.threshold,Infinity),c.dataMin,u.startMin),u.startMax=Math.max(T(a.options.threshold,
+-Infinity),c.dataMax,u.startMax))});c=Math.min(T(u&&u.startMin,q.dataMin),n?q.min:e.toValue(e.toPixels(q.min)-e.minPixelPadding));n=Math.max(T(u&&u.startMax,q.dataMax),n?q.max:e.toValue(e.toPixels(q.max)+e.minPixelPadding));e.panningState=u;e.isOrdinal||(f=c-l,0<f&&(p+=f,l=c),f=p-n,0<f&&(p=n,l-=f),e.series.length&&l!==q.min&&p!==q.max&&l>=c&&p<=n&&(e.setExtremes(l,p,!1,!1,{trigger:"pan"}),d.resetZoomButton||b||l===c||p===n||!g.match("y")||(d.showResetZoom(),e.displayBtn=!1),k=!0),d[h]=m)});k&&d.redraw(!1);
+v(d.container,{cursor:"move"})})};return b}();Y(ca.prototype,{callbacks:[],collectionsWithInit:{xAxis:[ca.prototype.addAxis,[!0]],yAxis:[ca.prototype.addAxis,[!1]],series:[ca.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),
+propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});y.chart=function(a,c,d){return new ca(a,c,d)};y.Chart=ca;"";return ca});J(b,"Mixins/LegendSymbol.js",[b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,f){var B=f.merge,y=f.pick;return b.LegendSymbolMixin={drawRectangle:function(b,f){var t=b.symbolHeight,r=b.options.squareSymbol;f.legendSymbol=this.chart.renderer.rect(r?(b.symbolWidth-t)/2:0,b.baseline-t+1,r?
+t:b.symbolWidth,t,y(b.options.symbolRadius,t/2)).addClass("highcharts-point").attr({zIndex:3}).add(f.legendGroup)},drawLineMarker:function(b){var f=this.options,t=f.marker,r=b.symbolWidth,p=b.symbolHeight,l=p/2,g=this.chart.renderer,e=this.legendGroup;b=b.baseline-Math.round(.3*b.fontMetrics.b);var d={};this.chart.styledMode||(d={"stroke-width":f.lineWidth||0},f.dashStyle&&(d.dashstyle=f.dashStyle));this.legendLine=g.path([["M",0,b],["L",r,b]]).addClass("highcharts-graph").attr(d).add(e);t&&!1!==
+t.enabled&&r&&(f=Math.min(y(t.radius,l),l),0===this.symbol.indexOf("url")&&(t=B(t,{width:p,height:p}),f=0),this.legendSymbol=t=g.symbol(this.symbol,r/2-f,b-f,2*f,2*f,t).addClass("highcharts-point").add(e),t.isMarker=!0)}}});J(b,"Core/Series/Series.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Globals.js"],b["Mixins/LegendSymbol.js"],b["Core/Options.js"],b["Core/Color/Palette.js"],b["Core/Series/Point.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Renderer/SVG/SVGElement.js"],b["Core/Utilities.js"]],
+function(b,f,D,y,C,A,t,r,p){var l=b.animObject,g=b.setAnimation,e=f.hasTouch,d=f.svg,u=f.win,H=y.defaultOptions,B=t.seriesTypes,K=p.addEvent,F=p.arrayMax,w=p.arrayMin,z=p.clamp,q=p.cleanRecursively,m=p.correctFloat,c=p.defined,n=p.erase,a=p.error,k=p.extend,h=p.find,v=p.fireEvent,E=p.getNestedProperty,L=p.isArray,M=p.isFunction,S=p.isNumber,Y=p.isString,R=p.merge,O=p.objectEach,G=p.pick,x=p.removeEvent,J=p.splat,Z=p.syncTimeout;b=function(){function b(){this.zones=this.yAxis=this.xAxis=this.userOptions=
+this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}b.prototype.init=function(a,c){v(this,"init",{options:c});var d=this,e=a.series,h;this.eventOptions=this.eventOptions||{};this.eventsToUnbind=[];d.chart=a;d.options=d.setOptions(c);var b=d.options;d.linkedSeries=[];d.bindAxes();k(d,{name:b.name,state:"",visible:!1!==b.visible,selected:!0===b.selected});c=b.events;
+O(c,function(a,c){M(a)&&d.eventOptions[c]!==a&&(M(d.eventOptions[c])&&x(d,c,d.eventOptions[c]),d.eventOptions[c]=a,K(d,c,a))});if(c&&c.click||b.point&&b.point.events&&b.point.events.click||b.allowPointSelect)a.runTrackerClick=!0;d.getColor();d.getSymbol();d.parallelArrays.forEach(function(a){d[a+"Data"]||(d[a+"Data"]=[])});d.isCartesian&&(a.hasCartesianSeries=!0);e.length&&(h=e[e.length-1]);d._i=G(h&&h._i,-1)+1;d.opacity=d.options.opacity;a.orderSeries(this.insert(e));b.dataSorting&&b.dataSorting.enabled?
+d.setDataSortingOptions():d.points||d.data||d.setData(b.data,!1);v(this,"afterInit")};b.prototype.is=function(a){return B[a]&&this instanceof B[a]};b.prototype.insert=function(a){var c=this.options.index,d;if(S(c)){for(d=a.length;d--;)if(c>=G(a[d].options.index,a[d]._i)){a.splice(d+1,0,this);break}-1===d&&a.unshift(this);d+=1}else a.push(this);return G(d,a.length-1)};b.prototype.bindAxes=function(){var c=this,d=c.options,e=c.chart,h;v(this,"bindAxes",null,function(){(c.axisTypes||[]).forEach(function(b){var k=
+0;e[b].forEach(function(a){h=a.options;if(d[b]===k&&!h.isInternal||"undefined"!==typeof d[b]&&d[b]===h.id||"undefined"===typeof d[b]&&0===h.index)c.insert(a.series),c[b]=a,a.isDirty=!0;h.isInternal||k++});c[b]||c.optionalAxis===b||a(18,!0,e)})});v(this,"afterBindAxes")};b.prototype.updateParallelArrays=function(a,c){var d=a.series,e=arguments,h=S(c)?function(e){var h="y"===e&&d.toYData?d.toYData(a):a[e];d[e+"Data"][c]=h}:function(a){Array.prototype[c].apply(d[a+"Data"],Array.prototype.slice.call(e,
+2))};d.parallelArrays.forEach(h)};b.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length};b.prototype.autoIncrement=function(){var a=this.options,c=this.xIncrement,d,e=a.pointIntervalUnit,h=this.chart.time;c=G(c,a.pointStart,0);this.pointInterval=d=G(this.pointInterval,a.pointInterval,1);e&&(a=new h.Date(c),"day"===e?h.set("Date",a,h.get("Date",a)+d):"month"===e?h.set("Month",a,h.get("Month",
+a)+d):"year"===e&&h.set("FullYear",a,h.get("FullYear",a)+d),d=a.getTime()-c);this.xIncrement=c+d;return c};b.prototype.setDataSortingOptions=function(){var a=this.options;k(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});c(a.pointRange)||(a.pointRange=1)};b.prototype.setOptions=function(a){var d=this.chart,e=d.options,h=e.plotOptions,b=d.userOptions||{};a=R(a);d=d.styledMode;var k={plotOptions:h,userOptions:a};v(this,"setOptions",k);var g=k.plotOptions[this.type],m=b.plotOptions||
+{};this.userOptions=k.userOptions;b=R(g,h.series,b.plotOptions&&b.plotOptions[this.type],a);this.tooltipOptions=R(H.tooltip,H.plotOptions.series&&H.plotOptions.series.tooltip,H.plotOptions[this.type].tooltip,e.tooltip.userOptions,h.series&&h.series.tooltip,h[this.type].tooltip,a.tooltip);this.stickyTracking=G(a.stickyTracking,m[this.type]&&m[this.type].stickyTracking,m.series&&m.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:b.stickyTracking);null===g.marker&&delete b.marker;
+this.zoneAxis=b.zoneAxis;e=this.zones=(b.zones||[]).slice();!b.negativeColor&&!b.negativeFillColor||b.zones||(h={value:b[this.zoneAxis+"Threshold"]||b.threshold||0,className:"highcharts-negative"},d||(h.color=b.negativeColor,h.fillColor=b.negativeFillColor),e.push(h));e.length&&c(e[e.length-1].value)&&e.push(d?{}:{color:this.color,fillColor:this.fillColor});v(this,"afterSetOptions",{options:b});return b};b.prototype.getName=function(){return G(this.options.name,"Series "+(this.index+1))};b.prototype.getCyclic=
+function(a,d,e){var h=this.chart,b=this.userOptions,k=a+"Index",g=a+"Counter",m=e?e.length:G(h.options.chart[a+"Count"],h[a+"Count"]);if(!d){var l=G(b[k],b["_"+k]);c(l)||(h.series.length||(h[g]=0),b["_"+k]=l=h[g]%m,h[g]+=1);e&&(d=e[l])}"undefined"!==typeof l&&(this[k]=l);this[a]=d};b.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color=C.neutralColor20:this.getCyclic("color",this.options.color||H.plotOptions[this.type].color,this.chart.options.colors)};
+b.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]};b.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};b.prototype.findPointIndex=function(a,c){var d=a.id,e=a.x,b=this.points,k,g=this.options.dataSorting;if(d)var m=this.chart.get(d);else if(this.linkedParent||this.enabledDataSorting){var l=g&&g.matchByName?"name":"index";m=h(b,function(c){return!c.touched&&c[l]===a[l]});if(!m)return}if(m){var n=
+m&&m.index;"undefined"!==typeof n&&(k=!0)}"undefined"===typeof n&&S(e)&&(n=this.xData.indexOf(e,c));-1!==n&&"undefined"!==typeof n&&this.cropped&&(n=n>=this.cropStart?n-this.cropStart:n);!k&&b[n]&&b[n].touched&&(n=void 0);return n};b.prototype.updateData=function(a,d){var e=this.options,h=e.dataSorting,b=this.points,k=[],g,m,l,n=this.requireSorting,f=a.length===b.length,q=!0;this.xIncrement=null;a.forEach(function(a,d){var m=c(a)&&this.pointClass.prototype.optionsToObject.call({series:this},a)||{};
+var q=m.x;if(m.id||S(q)){if(q=this.findPointIndex(m,l),-1===q||"undefined"===typeof q?k.push(a):b[q]&&a!==e.data[q]?(b[q].update(a,!1,null,!1),b[q].touched=!0,n&&(l=q+1)):b[q]&&(b[q].touched=!0),!f||d!==q||h&&h.enabled||this.hasDerivedData)g=!0}else k.push(a)},this);if(g)for(a=b.length;a--;)(m=b[a])&&!m.touched&&m.remove&&m.remove(!1,d);else!f||h&&h.enabled?q=!1:(a.forEach(function(a,c){b[c].update&&a!==b[c].y&&b[c].update(a,!1,null,!1)}),k.length=0);b.forEach(function(a){a&&(a.touched=!1)});if(!q)return!1;
+k.forEach(function(a){this.addPoint(a,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=F(this.xData),this.autoIncrement());return!0};b.prototype.setData=function(c,d,e,h){var b=this,k=b.points,g=k&&k.length||0,m,l=b.options,n=b.chart,f=l.dataSorting,q=null,p=b.xAxis;q=l.turboThreshold;var v=this.xData,u=this.yData,w=(m=b.pointArrayMap)&&m.length,r=l.keys,z=0,t=1,E;c=c||[];m=c.length;d=G(d,!0);f&&f.enabled&&(c=this.sortData(c));!1!==h&&m&&g&&!b.cropped&&
+!b.hasGroupedData&&b.visible&&!b.isSeriesBoosting&&(E=this.updateData(c,e));if(!E){b.xIncrement=null;b.colorCounter=0;this.parallelArrays.forEach(function(a){b[a+"Data"].length=0});if(q&&m>q)if(q=b.getFirstValidPoint(c),S(q))for(e=0;e<m;e++)v[e]=this.autoIncrement(),u[e]=c[e];else if(L(q))if(w)for(e=0;e<m;e++)h=c[e],v[e]=h[0],u[e]=h.slice(1,w+1);else for(r&&(z=r.indexOf("x"),t=r.indexOf("y"),z=0<=z?z:0,t=0<=t?t:1),e=0;e<m;e++)h=c[e],v[e]=h[z],u[e]=h[t];else a(12,!1,n);else for(e=0;e<m;e++)"undefined"!==
+typeof c[e]&&(h={series:b},b.pointClass.prototype.applyOptions.apply(h,[c[e]]),b.updateParallelArrays(h,e));u&&Y(u[0])&&a(14,!0,n);b.data=[];b.options.data=b.userOptions.data=c;for(e=g;e--;)k[e]&&k[e].destroy&&k[e].destroy();p&&(p.minRange=p.userMinRange);b.isDirty=n.isDirtyBox=!0;b.isDirtyData=!!k;e=!1}"point"===l.legendType&&(this.processData(),this.generatePoints());d&&n.redraw(e)};b.prototype.sortData=function(a){var d=this,e=d.options.dataSorting.sortKey||"y",h=function(a,d){return c(d)&&a.pointClass.prototype.optionsToObject.call({series:a},
+d)||{}};a.forEach(function(c,e){a[e]=h(d,c);a[e].index=e},this);a.concat().sort(function(a,c){a=E(e,a);c=E(e,c);return c<a?-1:c>a?1:0}).forEach(function(a,c){a.x=c},this);d.linkedSeries&&d.linkedSeries.forEach(function(c){var d=c.options,e=d.data;d.dataSorting&&d.dataSorting.enabled||!e||(e.forEach(function(d,b){e[b]=h(c,d);a[b]&&(e[b].x=a[b].x,e[b].index=b)}),c.setData(e,!1))});return a};b.prototype.getProcessedData=function(c){var d=this.xData,e=this.yData,b=d.length;var h=0;var k=this.xAxis,g=
+this.options;var m=g.cropThreshold;var l=c||this.getExtremesFromAll||g.getExtremesFromAll,n=this.isCartesian;c=k&&k.val2lin;g=!(!k||!k.logarithmic);var f=this.requireSorting;if(k){k=k.getExtremes();var q=k.min;var p=k.max}if(n&&this.sorted&&!l&&(!m||b>m||this.forceCrop))if(d[b-1]<q||d[0]>p)d=[],e=[];else if(this.yData&&(d[0]<q||d[b-1]>p)){h=this.cropData(this.xData,this.yData,q,p);d=h.xData;e=h.yData;h=h.start;var v=!0}for(m=d.length||1;--m;)if(b=g?c(d[m])-c(d[m-1]):d[m]-d[m-1],0<b&&("undefined"===
+typeof u||b<u))var u=b;else 0>b&&f&&(a(15,!1,this.chart),f=!1);return{xData:d,yData:e,cropped:v,cropStart:h,closestPointRange:u}};b.prototype.processData=function(a){var c=this.xAxis;if(this.isCartesian&&!this.isDirty&&!c.isDirty&&!this.yAxis.isDirty&&!a)return!1;a=this.getProcessedData();this.cropped=a.cropped;this.cropStart=a.cropStart;this.processedXData=a.xData;this.processedYData=a.yData;this.closestPointRange=this.basePointRange=a.closestPointRange};b.prototype.cropData=function(a,c,d,e,b){var h=
+a.length,k=0,g=h,m;b=G(b,this.cropShoulder);for(m=0;m<h;m++)if(a[m]>=d){k=Math.max(0,m-b);break}for(d=m;d<h;d++)if(a[d]>e){g=d+b;break}return{xData:a.slice(k,g),yData:c.slice(k,g),start:k,end:g}};b.prototype.generatePoints=function(){var a=this.options,c=a.data,d=this.data,e,b=this.processedXData,h=this.processedYData,g=this.pointClass,m=b.length,l=this.cropStart||0,n=this.hasGroupedData,f=a.keys,q=[],p;a=a.dataGrouping&&a.dataGrouping.groupAll?l:0;d||n||(d=[],d.length=c.length,d=this.data=d);f&&
+n&&(this.options.keys=!1);for(p=0;p<m;p++){var u=l+p;if(n){var w=(new g).init(this,[b[p]].concat(J(h[p])));w.dataGroup=this.groupMap[a+p];w.dataGroup.options&&(w.options=w.dataGroup.options,k(w,w.dataGroup.options),delete w.dataLabels)}else(w=d[u])||"undefined"===typeof c[u]||(d[u]=w=(new g).init(this,c[u],b[p]));w&&(w.index=n?a+p:u,q[p]=w)}this.options.keys=f;if(d&&(m!==(e=d.length)||n))for(p=0;p<e;p++)p!==l||n||(p+=m),d[p]&&(d[p].destroyElements(),d[p].plotX=void 0);this.data=d;this.points=q;v(this,
+"afterGeneratePoints")};b.prototype.getXExtremes=function(a){return{min:w(a),max:F(a)}};b.prototype.getExtremes=function(a,c){var d=this.xAxis,e=this.yAxis,b=this.processedXData||this.xData,h=[],k=0,g=0;var m=0;var l=this.requireSorting?this.cropShoulder:0,n=e?e.positiveValuesOnly:!1,f;a=a||this.stackedYData||this.processedYData||[];e=a.length;d&&(m=d.getExtremes(),g=m.min,m=m.max);for(f=0;f<e;f++){var q=b[f];var p=a[f];var u=(S(p)||L(p))&&(p.length||0<p||!n);q=c||this.getExtremesFromAll||this.options.getExtremesFromAll||
+this.cropped||!d||(b[f+l]||q)>=g&&(b[f-l]||q)<=m;if(u&&q)if(u=p.length)for(;u--;)S(p[u])&&(h[k++]=p[u]);else h[k++]=p}a={dataMin:w(h),dataMax:F(h)};v(this,"afterGetExtremes",{dataExtremes:a});return a};b.prototype.applyExtremes=function(){var a=this.getExtremes();this.dataMin=a.dataMin;this.dataMax=a.dataMax;return a};b.prototype.getFirstValidPoint=function(a){for(var c=null,d=a.length,e=0;null===c&&e<d;)c=a[e],e++;return c};b.prototype.translate=function(){this.processedXData||this.processData();
+this.generatePoints();var a=this.options,d=a.stacking,e=this.xAxis,b=e.categories,h=this.enabledDataSorting,k=this.yAxis,g=this.points,l=g.length,n=!!this.modifyValue,f,q=this.pointPlacementToXValue(),p=!!q,u=a.threshold,w=a.startFromThreshold?u:0,r,t=this.zoneAxis||"y",E=Number.MAX_VALUE;for(f=0;f<l;f++){var x=g[f],H=x.x,F=x.y,B=x.low,M=d&&k.stacking&&k.stacking.stacks[(this.negStacks&&F<(w?0:u)?"-":"")+this.stackKey],C=void 0,A=void 0;if(k.positiveValuesOnly&&!k.validatePositiveValue(F)||e.positiveValuesOnly&&
+!e.validatePositiveValue(H))x.isNull=!0;x.plotX=r=m(z(e.translate(H,0,0,0,1,q,"flags"===this.type),-1E5,1E5));if(d&&this.visible&&M&&M[H]){var y=this.getStackIndicator(y,H,this.index);x.isNull||(C=M[H],A=C.points[y.key])}L(A)&&(B=A[0],F=A[1],B===w&&y.key===M[H].base&&(B=G(S(u)&&u,k.min)),k.positiveValuesOnly&&0>=B&&(B=null),x.total=x.stackTotal=C.total,x.percentage=C.total&&x.y/C.total*100,x.stackY=F,this.irregularWidths||C.setOffset(this.pointXOffset||0,this.barW||0));x.yBottom=c(B)?z(k.translate(B,
+0,1,0,1),-1E5,1E5):null;n&&(F=this.modifyValue(F,x));x.plotY=void 0;S(F)&&(F=k.translate(F,!1,!0,!1,!0),"undefined"!==typeof F&&(x.plotY=z(F,-1E5,1E5)));x.isInside=this.isPointInside(x);x.clientX=p?m(e.translate(H,0,0,0,1,q)):r;x.negative=x[t]<(a[t+"Threshold"]||u||0);x.category=b&&"undefined"!==typeof b[x.x]?b[x.x]:x.x;if(!x.isNull&&!1!==x.visible){"undefined"!==typeof I&&(E=Math.min(E,Math.abs(r-I)));var I=r}x.zone=this.zones.length&&x.getZone();!x.graphic&&this.group&&h&&(x.isNew=!0)}this.closestPointRangePx=
+E;v(this,"afterTranslate")};b.prototype.getValidPoints=function(a,c,d){var e=this.chart;return(a||this.points||[]).filter(function(a){return c&&!e.isInsidePlot(a.plotX,a.plotY,{inverted:e.inverted})?!1:!1!==a.visible&&(d||!a.isNull)})};b.prototype.getClipBox=function(a,c){var d=this.options,e=this.chart,b=e.inverted,h=this.xAxis,k=h&&this.yAxis,g=e.options.chart.scrollablePlotArea||{};a&&!1===d.clip&&k?a=b?{y:-e.chartWidth+k.len+k.pos,height:e.chartWidth,width:e.chartHeight,x:-e.chartHeight+h.len+
+h.pos}:{y:-k.pos,height:e.chartHeight,width:e.chartWidth,x:-h.pos}:(a=this.clipBox||e.clipBox,c&&(a.width=e.plotSizeX,a.x=(e.scrollablePixelsX||0)*(g.scrollPositionX||0)));return c?{width:a.width,x:a.x}:a};b.prototype.getSharedClipKey=function(a){if(this.sharedClipKey)return this.sharedClipKey;var c=[a&&a.duration,a&&a.easing,a&&a.defer,this.getClipBox(a).height,this.options.xAxis,this.options.yAxis].join();if(!1!==this.options.clip||a)this.sharedClipKey=c;return c};b.prototype.setClip=function(a){var c=
+this.chart,d=this.options,e=c.renderer,b=c.inverted,h=this.clipBox,k=this.getClipBox(a),g=this.getSharedClipKey(a),m=c.sharedClips[g],l=c.sharedClips[g+"m"];a&&(k.width=0,b&&(k.x=c.plotHeight+(!1!==d.clip?0:c.plotTop)));m?c.hasLoaded||m.attr(k):(a&&(c.sharedClips[g+"m"]=l=e.clipRect(b?(c.plotSizeX||0)+99:-99,b?-c.plotLeft:-c.plotTop,99,b?c.chartWidth:c.chartHeight)),c.sharedClips[g]=m=e.clipRect(k),m.count={length:0});a&&!m.count[this.index]&&(m.count[this.index]=!0,m.count.length+=1);if(!1!==d.clip||
+a)this.group.clip(a||h?m:c.clipRect),this.markerGroup.clip(l);a||(m.count[this.index]&&(delete m.count[this.index],--m.count.length),0===m.count.length&&(h||(c.sharedClips[g]=m.destroy()),l&&(c.sharedClips[g+"m"]=l.destroy())))};b.prototype.animate=function(a){var c=this.chart,d=l(this.options.animation),e=this.sharedClipKey;if(a)this.setClip(d);else if(e){a=c.sharedClips[e];e=c.sharedClips[e+"m"];var b=this.getClipBox(d,!0);a&&a.animate(b,d);e&&e.animate({width:b.width+99,x:b.x-(c.inverted?0:99)},
+d)}};b.prototype.afterAnimate=function(){this.setClip();v(this,"afterAnimate");this.finishedAnimating=!0};b.prototype.drawPoints=function(){var a=this.points,c=this.chart,d,e,b=this.options.marker,h=this[this.specialGroup]||this.markerGroup,k=this.xAxis,g=G(b.enabled,!k||k.isRadial?!0:null,this.closestPointRangePx>=b.enabledThreshold*b.radius);if(!1!==b.enabled||this._hasPointMarkers)for(d=0;d<a.length;d++){var m=a[d];var l=(e=m.graphic)?"animate":"attr";var n=m.marker||{};var f=!!m.marker;if((g&&
+"undefined"===typeof n.enabled||n.enabled)&&!m.isNull&&!1!==m.visible){var q=G(n.symbol,this.symbol);var p=this.markerAttribs(m,m.selected&&"select");this.enabledDataSorting&&(m.startXPos=k.reversed?-(p.width||0):k.width);var v=!1!==m.isInside;e?e[v?"show":"hide"](v).animate(p):v&&(0<(p.width||0)||m.hasImage)&&(m.graphic=e=c.renderer.symbol(q,p.x,p.y,p.width,p.height,f?n:b).add(h),this.enabledDataSorting&&c.hasRendered&&(e.attr({x:m.startXPos}),l="animate"));e&&"animate"===l&&e[v?"show":"hide"](v).animate(p);
+if(e&&!c.styledMode)e[l](this.pointAttribs(m,m.selected&&"select"));e&&e.addClass(m.getClassName(),!0)}else e&&(m.graphic=e.destroy())}};b.prototype.markerAttribs=function(a,c){var d=this.options,e=d.marker,b=a.marker||{},h=b.symbol||e.symbol,k=G(b.radius,e.radius);c&&(e=e.states[c],c=b.states&&b.states[c],k=G(c&&c.radius,e&&e.radius,k+(e&&e.radiusPlus||0)));a.hasImage=h&&0===h.indexOf("url");a.hasImage&&(k=0);a={x:d.crisp?Math.floor(a.plotX-k):a.plotX-k,y:a.plotY-k};k&&(a.width=a.height=2*k);return a};
+b.prototype.pointAttribs=function(a,c){var d=this.options.marker,e=a&&a.options,b=e&&e.marker||{},h=this.color,k=e&&e.color,g=a&&a.color;e=G(b.lineWidth,d.lineWidth);var m=a&&a.zone&&a.zone.color;a=1;h=k||m||g||h;k=b.fillColor||d.fillColor||h;h=b.lineColor||d.lineColor||h;c=c||"normal";d=d.states[c];c=b.states&&b.states[c]||{};e=G(c.lineWidth,d.lineWidth,e+G(c.lineWidthPlus,d.lineWidthPlus,0));k=c.fillColor||d.fillColor||k;h=c.lineColor||d.lineColor||h;a=G(c.opacity,d.opacity,a);return{stroke:h,"stroke-width":e,
+fill:k,opacity:a}};b.prototype.destroy=function(a){var c=this,d=c.chart,e=/AppleWebKit\/533/.test(u.navigator.userAgent),b,h,k=c.data||[],g,m;v(c,"destroy");this.removeEvents(a);(c.axisTypes||[]).forEach(function(a){(m=c[a])&&m.series&&(n(m.series,c),m.isDirty=m.forceRedraw=!0)});c.legendItem&&c.chart.legend.destroyItem(c);for(h=k.length;h--;)(g=k[h])&&g.destroy&&g.destroy();c.clips&&c.clips.forEach(function(a){return a.destroy()});p.clearTimeout(c.animationTimeout);O(c,function(a,c){a instanceof
+r&&!a.survive&&(b=e&&"group"===c?"hide":"destroy",a[b]())});d.hoverSeries===c&&(d.hoverSeries=void 0);n(d.series,c);d.orderSeries();O(c,function(d,e){a&&"hcEvents"===e||delete c[e]})};b.prototype.applyZones=function(){var a=this,c=this.chart,d=c.renderer,e=this.zones,b,h,k=this.clips||[],g,m=this.graph,l=this.area,n=Math.max(c.chartWidth,c.chartHeight),f=this[(this.zoneAxis||"y")+"Axis"],q=c.inverted,p,v,u,w=!1,r,t;if(e.length&&(m||l)&&f&&"undefined"!==typeof f.min){var x=f.reversed;var E=f.horiz;
+m&&!this.showLine&&m.hide();l&&l.hide();var H=f.getExtremes();e.forEach(function(e,F){b=x?E?c.plotWidth:0:E?0:f.toPixels(H.min)||0;b=z(G(h,b),0,n);h=z(Math.round(f.toPixels(G(e.value,H.max),!0)||0),0,n);w&&(b=h=f.toPixels(H.max));p=Math.abs(b-h);v=Math.min(b,h);u=Math.max(b,h);f.isXAxis?(g={x:q?u:v,y:0,width:p,height:n},E||(g.x=c.plotHeight-g.x)):(g={x:0,y:q?u:v,width:n,height:p},E&&(g.y=c.plotWidth-g.y));q&&d.isVML&&(g=f.isXAxis?{x:0,y:x?v:u,height:g.width,width:c.chartWidth}:{x:g.y-c.plotLeft-c.spacingBox.x,
+y:0,width:g.height,height:c.chartHeight});k[F]?k[F].animate(g):k[F]=d.clipRect(g);r=a["zone-area-"+F];t=a["zone-graph-"+F];m&&t&&t.clip(k[F]);l&&r&&r.clip(k[F]);w=e.value>H.max;a.resetZones&&0===h&&(h=void 0)});this.clips=k}else a.visible&&(m&&m.show(!0),l&&l.show(!0))};b.prototype.invertGroups=function(a){function c(){["group","markerGroup"].forEach(function(c){d[c]&&(e.renderer.isVML&&d[c].attr({width:d.yAxis.len,height:d.xAxis.len}),d[c].width=d.yAxis.len,d[c].height=d.xAxis.len,d[c].invert(d.isRadialSeries?
+!1:a))})}var d=this,e=d.chart;d.xAxis&&(d.eventsToUnbind.push(K(e,"resize",c)),c(),d.invertGroups=c)};b.prototype.plotGroup=function(a,d,e,b,h){var k=this[a],g=!k;e={visibility:e,zIndex:b||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(e.opacity=this.opacity);g&&(this[a]=k=this.chart.renderer.g().add(h));k.addClass("highcharts-"+d+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(c(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":
+"")+(this.options.className||"")+(k.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0);k.attr(e)[g?"attr":"animate"](this.getPlotBox());return k};b.prototype.getPlotBox=function(){var a=this.chart,c=this.xAxis,d=this.yAxis;a.inverted&&(c=d,d=this.xAxis);return{translateX:c?c.left:a.plotLeft,translateY:d?d.top:a.plotTop,scaleX:1,scaleY:1}};b.prototype.removeEvents=function(a){a||x(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind.length=
+0)};b.prototype.render=function(){var a=this,c=a.chart,d=a.options,e=l(d.animation),b=!a.finishedAnimating&&c.renderer.isSVG&&e.duration,h=a.visible?"inherit":"hidden",k=d.zIndex,g=a.hasRendered,m=c.seriesGroup,n=c.inverted;v(this,"render");var f=a.plotGroup("group","series",h,k,m);a.markerGroup=a.plotGroup("markerGroup","markers",h,k,m);b&&a.animate&&a.animate(!0);f.inverted=G(a.invertible,a.isCartesian)?n:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.visible&&a.drawPoints();a.drawDataLabels&&
+a.drawDataLabels();a.redrawPoints&&a.redrawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(n);!1===d.clip||a.sharedClipKey||g||f.clip(c.clipRect);b&&a.animate&&a.animate();g||(b&&e.defer&&(b+=e.defer),a.animationTimeout=Z(function(){a.afterAnimate()},b||0));a.isDirty=!1;a.hasRendered=!0;v(a,"afterRender")};b.prototype.redraw=function(){var a=this.chart,c=this.isDirty||this.isDirtyData,d=this.group,e=this.xAxis,b=this.yAxis;d&&(a.inverted&&d.attr({width:a.plotWidth,
+height:a.plotHeight}),d.animate({translateX:G(e&&e.left,a.plotLeft),translateY:G(b&&b.top,a.plotTop)}));this.translate();this.render();c&&delete this.kdTree};b.prototype.searchPoint=function(a,c){var d=this.xAxis,e=this.yAxis,b=this.chart.inverted;return this.searchKDTree({clientX:b?d.len-a.chartY+d.pos:a.chartX-d.pos,plotY:b?e.len-a.chartX+e.pos:a.chartY-e.pos},c,a)};b.prototype.buildKDTree=function(a){function c(a,e,b){var h;if(h=a&&a.length){var k=d.kdAxisArray[e%b];a.sort(function(a,c){return a[k]-
+c[k]});h=Math.floor(h/2);return{point:a[h],left:c(a.slice(0,h),e+1,b),right:c(a.slice(h+1),e+1,b)}}}this.buildingKdTree=!0;var d=this,e=-1<d.options.findNearestPointBy.indexOf("y")?2:1;delete d.kdTree;Z(function(){d.kdTree=c(d.getValidPoints(null,!d.directTouch),e,e);d.buildingKdTree=!1},d.options.kdNow||a&&"touchstart"===a.type?0:1)};b.prototype.searchKDTree=function(a,d,e){function b(a,d,e,l){var n=d.point,f=h.kdAxisArray[e%l],q=n;var p=c(a[k])&&c(n[k])?Math.pow(a[k]-n[k],2):null;var v=c(a[g])&&
+c(n[g])?Math.pow(a[g]-n[g],2):null;v=(p||0)+(v||0);n.dist=c(v)?Math.sqrt(v):Number.MAX_VALUE;n.distX=c(p)?Math.sqrt(p):Number.MAX_VALUE;f=a[f]-n[f];v=0>f?"left":"right";p=0>f?"right":"left";d[v]&&(v=b(a,d[v],e+1,l),q=v[m]<q[m]?v:n);d[p]&&Math.sqrt(f*f)<q[m]&&(a=b(a,d[p],e+1,l),q=a[m]<q[m]?a:q);return q}var h=this,k=this.kdAxisArray[0],g=this.kdAxisArray[1],m=d?"distX":"dist";d=-1<h.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(e);if(this.kdTree)return b(a,
+this.kdTree,d,d)};b.prototype.pointPlacementToXValue=function(){var a=this.options,c=a.pointRange,d=this.xAxis;a=a.pointPlacement;"between"===a&&(a=d.reversed?-.5:.5);return S(a)?a*(c||d.pointRange):0};b.prototype.isPointInside=function(a){return"undefined"!==typeof a.plotY&&"undefined"!==typeof a.plotX&&0<=a.plotY&&a.plotY<=this.yAxis.len&&0<=a.plotX&&a.plotX<=this.xAxis.len};b.prototype.drawTracker=function(){var a=this,c=a.options,b=c.trackByArea,h=[].concat(b?a.areaPath:a.graphPath),k=a.chart,
+g=k.pointer,m=k.renderer,l=k.options.tooltip.snap,n=a.tracker,f=function(c){if(k.hoverSeries!==a)a.onMouseOver()},q="rgba(192,192,192,"+(d?.0001:.002)+")";n?n.attr({d:h}):a.graph&&(a.tracker=m.path(h).attr({visibility:a.visible?"visible":"hidden",zIndex:2}).addClass(b?"highcharts-tracker-area":"highcharts-tracker-line").add(a.group),k.styledMode||a.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:q,fill:b?q:"none","stroke-width":a.graph.strokeWidth()+(b?0:2*l)}),[a.tracker,
+a.markerGroup,a.dataLabelsGroup].forEach(function(a){if(a&&(a.addClass("highcharts-tracker").on("mouseover",f).on("mouseout",function(a){g.onTrackerMouseOut(a)}),c.cursor&&!k.styledMode&&a.css({cursor:c.cursor}),e))a.on("touchstart",f)}));v(this,"afterDrawTracker")};b.prototype.addPoint=function(a,c,d,e,b){var h=this.options,k=this.data,g=this.chart,m=this.xAxis;m=m&&m.hasNames&&m.names;var l=h.data,n=this.xData,f;c=G(c,!0);var q={series:this};this.pointClass.prototype.applyOptions.apply(q,[a]);var p=
+q.x;var u=n.length;if(this.requireSorting&&p<n[u-1])for(f=!0;u&&n[u-1]>p;)u--;this.updateParallelArrays(q,"splice",u,0,0);this.updateParallelArrays(q,u);m&&q.name&&(m[p]=q.name);l.splice(u,0,a);f&&(this.data.splice(u,0,null),this.processData());"point"===h.legendType&&this.generatePoints();d&&(k[0]&&k[0].remove?k[0].remove(!1):(k.shift(),this.updateParallelArrays(q,"shift"),l.shift()));!1!==b&&v(this,"addPoint",{point:q});this.isDirtyData=this.isDirty=!0;c&&g.redraw(e)};b.prototype.removePoint=function(a,
+c,d){var e=this,b=e.data,h=b[a],k=e.points,m=e.chart,l=function(){k&&k.length===b.length&&k.splice(a,1);b.splice(a,1);e.options.data.splice(a,1);e.updateParallelArrays(h||{series:e},"splice",a,1);h&&h.destroy();e.isDirty=!0;e.isDirtyData=!0;c&&m.redraw()};g(d,m);c=G(c,!0);h?h.firePointEvent("remove",null,l):l()};b.prototype.remove=function(a,c,d,e){function b(){h.destroy(e);k.isDirtyLegend=k.isDirtyBox=!0;k.linkSeries();G(a,!0)&&k.redraw(c)}var h=this,k=h.chart;!1!==d?v(h,"remove",null,b):b()};b.prototype.update=
+function(c,d){c=q(c,this.userOptions);v(this,"update",{options:c});var e=this,b=e.chart,h=e.userOptions,g=e.initialType||e.type,m=b.options.plotOptions,l=c.type||h.type||b.options.chart.type,n=!(this.hasDerivedData||l&&l!==this.type||"undefined"!==typeof c.pointStart||"undefined"!==typeof c.pointInterval||e.hasOptionChanged("dataGrouping")||e.hasOptionChanged("pointStart")||e.hasOptionChanged("pointInterval")||e.hasOptionChanged("pointIntervalUnit")||e.hasOptionChanged("keys")),f=B[g].prototype,p,
+u=["eventOptions","navigatorSeries","baseSeries"],w=e.finishedAnimating&&{animation:!1},r={};l=l||g;n&&(u.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==c.visible&&u.push("area","graph"),e.parallelArrays.forEach(function(a){u.push(a+"Data")}),c.data&&(c.dataSorting&&k(e.options.dataSorting,c.dataSorting),this.setData(c.data,!1)));c=R(h,w,{index:"undefined"===
+typeof h.index?e.index:h.index,pointStart:G(m&&m.series&&m.series.pointStart,h.pointStart,e.xData[0])},!n&&{data:e.options.data},c);n&&c.data&&(c.data=e.options.data);u=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(u);u.forEach(function(a){u[a]=e[a];delete e[a]});h=!1;if(B[l]){if(h=l!==e.type,e.remove(!1,!1,!1,!0),h)if(Object.setPrototypeOf)Object.setPrototypeOf(e,B[l].prototype);else{m=Object.hasOwnProperty.call(e,"hcEvents")&&e.hcEvents;for(p in f)e[p]=void 0;k(e,B[l].prototype);
+m?e.hcEvents=m:delete e.hcEvents}}else a(17,!0,b,{missingModuleFor:l});u.forEach(function(a){e[a]=u[a]});e.init(b,c);if(n&&this.points){var z=e.options;!1===z.visible?(r.graphic=1,r.dataLabel=1):e._hasPointLabels||(c=z.marker,l=z.dataLabels,c&&(!1===c.enabled||"symbol"in c)&&(r.graphic=1),l&&!1===l.enabled&&(r.dataLabel=1));this.points.forEach(function(a){a&&a.series&&(a.resolveColor(),Object.keys(r).length&&a.destroyElements(r),!1===z.showInLegend&&a.legendItem&&b.legend.destroyItem(a))},this)}e.initialType=
+g;b.linkSeries();h&&e.linkedSeries.length&&(e.isDirtyData=!0);v(this,"afterUpdate");G(d,!0)&&b.redraw(n?void 0:!1)};b.prototype.setName=function(a){this.name=this.options.name=this.userOptions.name=a;this.chart.isDirtyLegend=!0};b.prototype.hasOptionChanged=function(a){var c=this.options[a],d=this.chart.options.plotOptions,e=this.userOptions[a];return e?c!==e:c!==G(d&&d[this.type]&&d[this.type][a],d&&d.series&&d.series[a],c)};b.prototype.onMouseOver=function(){var a=this.chart,c=a.hoverSeries;a.pointer.setHoverChartIndex();
+if(c&&c!==this)c.onMouseOut();this.options.events.mouseOver&&v(this,"mouseOver");this.setState("hover");a.hoverSeries=this};b.prototype.onMouseOut=function(){var a=this.options,c=this.chart,d=c.tooltip,e=c.hoverPoint;c.hoverSeries=null;if(e)e.onMouseOut();this&&a.events.mouseOut&&v(this,"mouseOut");!d||this.stickyTracking||d.shared&&!this.noSharedTooltip||d.hide();c.series.forEach(function(a){a.setState("",!0)})};b.prototype.setState=function(a,c){var d=this,e=d.options,b=d.graph,h=e.inactiveOtherPoints,
+k=e.states,g=e.lineWidth,m=e.opacity,l=G(k[a||"normal"]&&k[a||"normal"].animation,d.chart.options.chart.animation);e=0;a=a||"";if(d.state!==a&&([d.group,d.markerGroup,d.dataLabelsGroup].forEach(function(c){c&&(d.state&&c.removeClass("highcharts-series-"+d.state),a&&c.addClass("highcharts-series-"+a))}),d.state=a,!d.chart.styledMode)){if(k[a]&&!1===k[a].enabled)return;a&&(g=k[a].lineWidth||g+(k[a].lineWidthPlus||0),m=G(k[a].opacity,m));if(b&&!b.dashstyle)for(k={"stroke-width":g},b.animate(k,l);d["zone-graph-"+
+e];)d["zone-graph-"+e].animate(k,l),e+=1;h||[d.group,d.markerGroup,d.dataLabelsGroup,d.labelBySeries].forEach(function(a){a&&a.animate({opacity:m},l)})}c&&h&&d.points&&d.setAllPointsToState(a||void 0)};b.prototype.setAllPointsToState=function(a){this.points.forEach(function(c){c.setState&&c.setState(a)})};b.prototype.setVisible=function(a,c){var d=this,e=d.chart,b=d.legendItem,h=e.options.chart.ignoreHiddenSeries,k=d.visible;var g=(d.visible=a=d.options.visible=d.userOptions.visible="undefined"===
+typeof a?!k:a)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(a){if(d[a])d[a][g]()});if(e.hoverSeries===d||(e.hoverPoint&&e.hoverPoint.series)===d)d.onMouseOut();b&&e.legend.colorizeItem(d,a);d.isDirty=!0;d.options.stacking&&e.series.forEach(function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});d.linkedSeries.forEach(function(c){c.setVisible(a,!1)});h&&(e.isDirtyBox=!0);v(d,g);!1!==c&&e.redraw()};b.prototype.show=function(){this.setVisible(!0)};b.prototype.hide=
+function(){this.setVisible(!1)};b.prototype.select=function(a){this.selected=a=this.options.selected="undefined"===typeof a?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);v(this,a?"select":"unselect")};b.prototype.shouldShowTooltip=function(a,c,d){void 0===d&&(d={});d.series=this;d.visiblePlotOnly=!0;return this.chart.isInsidePlot(a,c,d)};b.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:C.backgroundColor,
+lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:C.neutralColor20,lineColor:C.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var a=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":a(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},
+cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"};return b}();k(b.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:D.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],
+parallelArrays:["x","y"],pointClass:A,requireSorting:!0,sorted:!0});t.series=b;"";"";return b});J(b,"Extensions/ScrollablePlotArea.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Axis/Axis.js"],b["Core/Chart/Chart.js"],b["Core/Series/Series.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A){var t=b.stop,r=A.addEvent,p=A.createElement,l=A.merge,g=A.pick;"";r(D,"afterSetChartSize",function(e){var d=this.options.chart.scrollablePlotArea,b=d&&d.minWidth;d=d&&d.minHeight;if(!this.renderer.forExport){if(b){if(this.scrollablePixelsX=
+b=Math.max(0,b-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=l(this.plotBox);this.plotBox.width=this.plotWidth+=b;this.inverted?this.clipBox.height+=b:this.clipBox.width+=b;var g={1:{name:"right",value:b}}}}else d&&(this.scrollablePixelsY=b=Math.max(0,d-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=l(this.plotBox),this.plotBox.height=this.plotHeight+=b,this.inverted?this.clipBox.width+=b:this.clipBox.height+=b,g={2:{name:"bottom",value:b}});
+g&&!e.skipAxes&&this.axes.forEach(function(d){g[d.side]?d.getPlotLinePath=function(){var e=g[d.side].name,b=this[e];this[e]=b-g[d.side].value;var l=C.Axis.prototype.getPlotLinePath.apply(this,arguments);this[e]=b;return l}:(d.setAxisSize(),d.setAxisTranslation())})}});r(D,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});D.prototype.setUpScrolling=function(){var e=this,d={WebkitOverflowScrolling:"touch",
+overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(d.overflowX="auto");this.scrollablePixelsY&&(d.overflowY="auto");this.scrollingParent=p("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=p("div",{className:"highcharts-scrolling"},d,this.scrollingParent);r(this.scrollingContainer,"scroll",function(){e.pointer&&delete e.pointer.chartPosition});this.innerContainer=p("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);
+this.innerContainer.appendChild(this.container);this.setUpScrolling=null};D.prototype.moveFixedElements=function(){var e=this.container,d=this.fixedRenderer,b=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),g;this.scrollablePixelsX&&
+!this.inverted?g=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?g=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?g=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(g=".highcharts-yaxis");g&&b.push(g+":not(.highcharts-radial-axis)",g+"-labels:not(.highcharts-radial-axis-labels)");b.forEach(function(b){[].forEach.call(e.querySelectorAll(b),function(e){(e.namespaceURI===d.SVG_NS?d.box:d.box.parentNode).appendChild(e);e.style.pointerEvents="auto"})})};D.prototype.applyFixed=
+function(){var e=!this.fixedDiv;var d=this.options.chart;var b=d.scrollablePlotArea;e?(this.fixedDiv=p("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(d.style&&d.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=d=new C.Renderer(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),
+this.scrollableMask=d.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":g(b.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),r(this,"afterShowResetZoom",this.moveFixedElements),r(this,"afterDrilldown",this.moveFixedElements),r(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);if(this.scrollableDirty||e)this.scrollableDirty=!1,this.moveFixedElements();d=this.chartWidth+(this.scrollablePixelsX||
+0);var l=this.chartHeight+(this.scrollablePixelsY||0);t(this.container);this.container.style.width=d+"px";this.container.style.height=l+"px";this.renderer.boxWrapper.attr({width:d,height:l,viewBox:[0,0,d,l].join(" ")});this.chartBackground.attr({width:d,height:l});this.scrollingContainer.style.height=this.chartHeight+"px";e&&(b.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*b.scrollPositionX),b.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*
+b.scrollPositionY));l=this.axisOffset;e=this.plotTop-l[0]-1;b=this.plotLeft-l[3]-1;d=this.plotTop+this.plotHeight+l[2]+1;l=this.plotLeft+this.plotWidth+l[1]+1;var f=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),B=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);e=this.scrollablePixelsX?[["M",0,e],["L",this.plotLeft-1,e],["L",this.plotLeft-1,d],["L",0,d],["Z"],["M",f,e],["L",this.chartWidth,e],["L",this.chartWidth,d],["L",f,d],["Z"]]:this.scrollablePixelsY?[["M",b,0],["L",b,this.plotTop-
+1],["L",l,this.plotTop-1],["L",l,0],["Z"],["M",b,B],["L",b,this.chartHeight],["L",l,this.chartHeight],["L",l,B],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:e})};r(f,"afterInit",function(){this.chart.scrollableDirty=!0});r(y,"show",function(){this.chart.scrollableDirty=!0})});J(b,"Core/Axis/StackingAxis.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Utilities.js"]],function(b,f){var B=b.getDeferredAnimation,y=f.addEvent,C=f.destroyObjectProperties,A=
+f.fireEvent,t=f.isNumber,r=f.objectEach,p=function(){function b(b){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=b}b.prototype.buildStacks=function(){var b=this.axis,e=b.series,d=b.options.reversedStacks,l=e.length,f;if(!b.isXAxis){this.usePercentage=!1;for(f=l;f--;){var p=e[d?f:l-f-1];p.setStackedPoints();p.setGroupedPoints()}for(f=0;f<l;f++)e[f].modifyStacks();A(b,"afterBuildStacks")}};b.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var b=this.stacks=
+this.oldStacks;r(b,function(e){r(e,function(d){d.cumulative=d.total})})}};b.prototype.resetStacks=function(){var b=this,e=this.stacks;this.axis.isXAxis||r(e,function(d){r(d,function(e,g){t(e.touched)&&e.touched<b.stacksTouched?(e.destroy(),delete d[g]):(e.total=null,e.cumulative=null)})})};b.prototype.renderStackTotals=function(){var b=this.axis,e=b.chart,d=e.renderer,l=this.stacks;b=B(e,b.options.stackLabels&&b.options.stackLabels.animation||!1);var f=this.stackTotalGroup=this.stackTotalGroup||d.g("stack-labels").attr({visibility:"visible",
+zIndex:6,opacity:0}).add();f.translate(e.plotLeft,e.plotTop);r(l,function(d){r(d,function(d){d.render(f)})});f.animate({opacity:1},b)};return b}();return function(){function b(){}b.compose=function(g){y(g,"init",b.onInit);y(g,"destroy",b.onDestroy)};b.onDestroy=function(){var b=this.stacking;if(b){var e=b.stacks;r(e,function(d,b){C(d);e[b]=null});b&&b.stackTotalGroup&&b.stackTotalGroup.destroy()}};b.onInit=function(){this.stacking||(this.stacking=new p(this))};return b}()});J(b,"Extensions/Stacking.js",
+[b["Core/Axis/Axis.js"],b["Core/Chart/Chart.js"],b["Core/FormatUtilities.js"],b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Axis/StackingAxis.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t){var r=D.format,p=t.correctFloat,l=t.defined,g=t.destroyObjectProperties,e=t.isArray,d=t.isNumber,u=t.objectEach,H=t.pick;"";var B=function(){function e(d,e,b,g,m){var c=d.chart.inverted;this.axis=d;this.isNegative=b;this.options=e=e||{};this.x=g;this.total=null;this.points={};this.hasValidPoints=
+!1;this.stack=m;this.rightCliff=this.leftCliff=0;this.alignOptions={align:e.align||(c?b?"left":"right":"center"),verticalAlign:e.verticalAlign||(c?"middle":b?"bottom":"top"),y:e.y,x:e.x};this.textAlign=e.textAlign||(c?b?"right":"left":"center")}e.prototype.destroy=function(){g(this,this.axis)};e.prototype.render=function(d){var e=this.axis.chart,b=this.options,g=b.format;g=g?r(g,this,e):b.formatter.call(this);this.label?this.label.attr({text:g,visibility:"hidden"}):(this.label=e.renderer.label(g,
+null,null,b.shape,null,null,b.useHTML,!1,"stack-labels"),g={r:b.borderRadius||0,text:g,rotation:b.rotation,padding:H(b.padding,5),visibility:"hidden"},e.styledMode||(g.fill=b.backgroundColor,g.stroke=b.borderColor,g["stroke-width"]=b.borderWidth,this.label.css(b.style)),this.label.attr(g),this.label.added||this.label.add(d));this.label.labelrank=e.plotSizeY};e.prototype.setOffset=function(e,b,g,f,m){var c=this.axis,n=c.chart;f=c.translate(c.stacking.usePercentage?100:f?f:this.total,0,0,0,1);g=c.translate(g?
+g:0);g=l(f)&&Math.abs(f-g);e=H(m,n.xAxis[0].translate(this.x))+e;c=l(f)&&this.getStackBox(n,this,e,f,b,g,c);b=this.label;g=this.isNegative;e="justify"===H(this.options.overflow,"justify");var a=this.textAlign;b&&c&&(m=b.getBBox(),f=b.padding,a="left"===a?n.inverted?-f:f:"right"===a?m.width:n.inverted&&"center"===a?m.width/2:n.inverted?g?m.width+f:-f:m.width/2,g=n.inverted?m.height/2:g?-f:m.height,this.alignOptions.x=H(this.options.x,0),this.alignOptions.y=H(this.options.y,0),c.x-=a,c.y-=g,b.align(this.alignOptions,
+null,c),n.isInsidePlot(b.alignAttr.x+a-this.alignOptions.x,b.alignAttr.y+g-this.alignOptions.y)?b.show():(b.alignAttr.y=-9999,e=!1),e&&C.prototype.justifyDataLabel.call(this.axis,b,this.alignOptions,b.alignAttr,m,c),b.attr({x:b.alignAttr.x,y:b.alignAttr.y}),H(!e&&this.options.crop,!0)&&((n=d(b.x)&&d(b.y)&&n.isInsidePlot(b.x-f+b.width,b.y)&&n.isInsidePlot(b.x+f,b.y))||b.hide()))};e.prototype.getStackBox=function(d,e,b,g,m,c,l){var a=e.axis.reversed,k=d.inverted,h=l.height+l.pos-(k?d.plotLeft:d.plotTop);
+e=e.isNegative&&!a||!e.isNegative&&a;return{x:k?e?g-l.right:g-c+l.pos-d.plotLeft:b+d.xAxis[0].transB-d.plotLeft,y:k?l.height-b-m:e?h-g-c:h-g,width:k?c:m,height:k?m:c}};return e}();f.prototype.getStacks=function(){var d=this,e=d.inverted;d.yAxis.forEach(function(d){d.stacking&&d.stacking.stacks&&d.hasVisibleSeries&&(d.stacking.oldStacks=d.stacking.stacks)});d.series.forEach(function(b){var g=b.xAxis&&b.xAxis.options||{};!b.options.stacking||!0!==b.visible&&!1!==d.options.chart.ignoreHiddenSeries||
+(b.stackKey=[b.type,H(b.options.stack,""),e?g.top:g.left,e?g.height:g.width].join())})};A.compose(b);C.prototype.setGroupedPoints=function(){var d=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?C.prototype.setStackedPoints.call(this,"group"):d&&u(d.stacks,function(e,b){"group"===b.slice(-5)&&(u(e,function(d){return d.destroy()}),delete d.stacks[b])})};C.prototype.setStackedPoints=function(d){var b=
+d||this.options.stacking;if(b&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var g=this.processedXData,f=this.processedYData,q=[],m=f.length,c=this.options,n=c.threshold,a=H(c.startFromThreshold&&n,0);c=c.stack;d=d?this.type+","+b:this.stackKey;var k="-"+d,h=this.negStacks,v=this.yAxis,u=v.stacking.stacks,r=v.stacking.oldStacks,t,C;v.stacking.stacksTouched+=1;for(C=0;C<m;C++){var A=g[C];var y=f[C];var D=this.getStackIndicator(D,A,this.index);var G=D.key;var x=(t=h&&y<(a?0:
+n))?k:d;u[x]||(u[x]={});u[x][A]||(r[x]&&r[x][A]?(u[x][A]=r[x][A],u[x][A].total=null):u[x][A]=new B(v,v.options.stackLabels,t,A,c));x=u[x][A];null!==y?(x.points[G]=x.points[this.index]=[H(x.cumulative,a)],l(x.cumulative)||(x.base=G),x.touched=v.stacking.stacksTouched,0<D.index&&!1===this.singleStacks&&(x.points[G][0]=x.points[this.index+","+A+",0"][0])):x.points[G]=x.points[this.index]=null;"percent"===b?(t=t?d:k,h&&u[t]&&u[t][A]?(t=u[t][A],x.total=t.total=Math.max(t.total,x.total)+Math.abs(y)||0):
+x.total=p(x.total+(Math.abs(y)||0))):"group"===b?(e(y)&&(y=y[0]),null!==y&&(x.total=(x.total||0)+1)):x.total=p(x.total+(y||0));x.cumulative="group"===b?(x.total||1)-1:H(x.cumulative,a)+(y||0);null!==y&&(x.points[G].push(x.cumulative),q[C]=x.cumulative,x.hasValidPoints=!0)}"percent"===b&&(v.stacking.usePercentage=!0);"group"!==b&&(this.stackedYData=q);v.stacking.oldStacks={}}};C.prototype.modifyStacks=function(){var d=this,e=d.stackKey,b=d.yAxis.stacking.stacks,g=d.processedXData,l,m=d.options.stacking;
+d[m+"Stacker"]&&[e,"-"+e].forEach(function(c){for(var e=g.length,a,k;e--;)if(a=g[e],l=d.getStackIndicator(l,a,d.index,c),k=(a=b[c]&&b[c][a])&&a.points[l.key])d[m+"Stacker"](k,a,e)})};C.prototype.percentStacker=function(d,e,b){e=e.total?100/e.total:0;d[0]=p(d[0]*e);d[1]=p(d[1]*e);this.stackedYData[b]=d[1]};C.prototype.getStackIndicator=function(d,e,b,g){!l(d)||d.x!==e||g&&d.key!==g?d={x:e,index:0,key:g}:d.index++;d.key=[b,e,d.index].join();return d};y.StackItem=B;return y.StackItem});J(b,"Series/Line/LineSeries.js",
+[b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D,y){var B=this&&this.__extends||function(){var b=function(f,l){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var d in e)e.hasOwnProperty(d)&&(b[d]=e[d])};return b(f,l)};return function(f,l){function g(){this.constructor=f}b(f,l);f.prototype=null===l?Object.create(l):(g.prototype=l.prototype,new g)}}(),A=y.defined,
+t=y.merge;y=function(r){function p(){var b=null!==r&&r.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}B(p,r);p.prototype.drawGraph=function(){var l=this,g=this.options,e=(this.gappedPath||this.getGraphPath).call(this),d=this.chart.styledMode,f=[["graph","highcharts-graph"]];d||f[0].push(g.lineColor||this.color||b.neutralColor20,g.dashStyle);f=l.getZonesGraphs(f);f.forEach(function(b,f){var p=b[0],u=l[p],r=u?"animate":"attr";u?(u.endX=l.preventGraphAnimation?null:
+e.xMap,u.animate({d:e})):e.length&&(l[p]=u=l.chart.renderer.path(e).addClass(b[1]).attr({zIndex:1}).add(l.group));u&&!d&&(p={stroke:b[2],"stroke-width":g.lineWidth,fill:l.fillGraph&&l.color||"none"},b[3]?p.dashstyle=b[3]:"square"!==g.linecap&&(p["stroke-linecap"]=p["stroke-linejoin"]="round"),u[r](p).shadow(2>f&&g.shadow));u&&(u.startX=e.xMap,u.isArea=e.isArea)})};p.prototype.getGraphPath=function(b,g,e){var d=this,l=d.options,f=l.step,p,r=[],t=[],w;b=b||d.points;(p=b.reversed)&&b.reverse();(f={right:1,
+center:2}[f]||f&&3)&&p&&(f=4-f);b=this.getValidPoints(b,!1,!(l.connectNulls&&!g&&!e));b.forEach(function(p,q){var m=p.plotX,c=p.plotY,n=b[q-1];(p.leftCliff||n&&n.rightCliff)&&!e&&(w=!0);p.isNull&&!A(g)&&0<q?w=!l.connectNulls:p.isNull&&!g?w=!0:(0===q||w?q=[["M",p.plotX,p.plotY]]:d.getPointSpline?q=[d.getPointSpline(b,p,q)]:f?(q=1===f?[["L",n.plotX,c]]:2===f?[["L",(n.plotX+m)/2,n.plotY],["L",(n.plotX+m)/2,c]]:[["L",m,n.plotY]],q.push(["L",m,c])):q=[["L",m,c]],t.push(p.x),f&&(t.push(p.x),2===f&&t.push(p.x)),
+r.push.apply(r,q),w=!1)});r.xMap=t;return d.graphPath=r};p.prototype.getZonesGraphs=function(b){this.zones.forEach(function(g,e){e=["zone-graph-"+e,"highcharts-graph highcharts-zone-graph-"+e+" "+(g.className||"")];this.chart.styledMode||e.push(g.color||this.color,g.dashStyle||this.options.dashStyle);b.push(e)},this);return b};p.defaultOptions=t(f.defaultOptions,{});return p}(f);D.registerSeriesType("line",y);"";return y});J(b,"Series/Area/AreaSeries.js",[b["Core/Color/Color.js"],b["Mixins/LegendSymbol.js"],
+b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D,y){var B=this&&this.__extends||function(){var b=function(e,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,e){d.__proto__=e}||function(d,e){for(var b in e)e.hasOwnProperty(b)&&(d[b]=e[b])};return b(e,d)};return function(e,d){function g(){this.constructor=e}b(e,d);e.prototype=null===d?Object.create(d):(g.prototype=d.prototype,new g)}}(),A=b.parse,t=D.seriesTypes.line;b=y.extend;var r=y.merge,p=y.objectEach,
+l=y.pick;y=function(b){function e(){var d=null!==b&&b.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;return d}B(e,b);e.prototype.drawGraph=function(){this.areaPath=[];b.prototype.drawGraph.apply(this);var d=this,e=this.areaPath,g=this.options,f=[["area","highcharts-area",this.color,g.fillColor]];this.zones.forEach(function(e,b){f.push(["zone-area-"+b,"highcharts-area highcharts-zone-area-"+b+" "+e.className,e.color||d.color,e.fillColor||g.fillColor])});f.forEach(function(b){var f=
+b[0],p=d[f],u=p?"animate":"attr",q={};p?(p.endX=d.preventGraphAnimation?null:e.xMap,p.animate({d:e})):(q.zIndex=0,p=d[f]=d.chart.renderer.path(e).addClass(b[1]).add(d.group),p.isArea=!0);d.chart.styledMode||(q.fill=l(b[3],A(b[2]).setOpacity(l(g.fillOpacity,.75)).get()));p[u](q);p.startX=e.xMap;p.shiftUnit=g.step?2:1})};e.prototype.getGraphPath=function(d){var e=t.prototype.getGraphPath,b=this.options,g=b.stacking,f=this.yAxis,p,r=[],z=[],q=this.index,m=f.stacking.stacks[this.stackKey],c=b.threshold,
+n=Math.round(f.getThreshold(b.threshold));b=l(b.connectNulls,"percent"===g);var a=function(a,e,b){var k=d[a];a=g&&m[k.x].points[q];var l=k[b+"Null"]||0;b=k[b+"Cliff"]||0;k=!0;if(b||l){var p=(l?a[0]:a[1])+b;var v=a[0]+b;k=!!l}else!g&&d[e]&&d[e].isNull&&(p=v=c);"undefined"!==typeof p&&(z.push({plotX:h,plotY:null===p?n:f.getThreshold(p),isNull:k,isCliff:!0}),r.push({plotX:h,plotY:null===v?n:f.getThreshold(v),doCurve:!1}))};d=d||this.points;g&&(d=this.getStackPoints(d));for(p=0;p<d.length;p++){g||(d[p].leftCliff=
+d[p].rightCliff=d[p].leftNull=d[p].rightNull=void 0);var k=d[p].isNull;var h=l(d[p].rectPlotX,d[p].plotX);var v=g?l(d[p].yBottom,n):n;if(!k||b)b||a(p,p-1,"left"),k&&!g&&b||(z.push(d[p]),r.push({x:p,plotX:h,plotY:v})),b||a(p,p+1,"right")}p=e.call(this,z,!0,!0);r.reversed=!0;k=e.call(this,r,!0,!0);(v=k[0])&&"M"===v[0]&&(k[0]=["L",v[1],v[2]]);k=p.concat(k);k.length&&k.push(["Z"]);e=e.call(this,z,!1,b);k.xMap=p.xMap;this.areaPath=k;return e};e.prototype.getStackPoints=function(d){var e=this,b=[],g=[],
+f=this.xAxis,r=this.yAxis,t=r.stacking.stacks[this.stackKey],z={},q=r.series,m=q.length,c=r.options.reversedStacks?1:-1,n=q.indexOf(e);d=d||this.points;if(this.options.stacking){for(var a=0;a<d.length;a++)d[a].leftNull=d[a].rightNull=void 0,z[d[a].x]=d[a];p(t,function(a,c){null!==a.total&&g.push(c)});g.sort(function(a,c){return a-c});var k=q.map(function(a){return a.visible});g.forEach(function(a,d){var h=0,p,v;if(z[a]&&!z[a].isNull)b.push(z[a]),[-1,1].forEach(function(b){var h=1===b?"rightNull":
+"leftNull",l=0,f=t[g[d+b]];if(f)for(var u=n;0<=u&&u<m;){var r=q[u].index;p=f.points[r];p||(r===e.index?z[a][h]=!0:k[u]&&(v=t[a].points[r])&&(l-=v[1]-v[0]));u+=c}z[a][1===b?"rightCliff":"leftCliff"]=l});else{for(var u=n;0<=u&&u<m;){if(p=t[a].points[q[u].index]){h=p[1];break}u+=c}h=l(h,0);h=r.translate(h,0,1,0,1);b.push({isNull:!0,plotX:f.translate(a,0,0,0,1),x:a,plotY:h,yBottom:h})}})}return b};e.defaultOptions=r(t.defaultOptions,{threshold:0});return e}(t);b(y.prototype,{singleStacks:!1,drawLegendSymbol:f.drawRectangle});
+D.registerSeriesType("area",y);"";return y});J(b,"Series/Spline/SplineSeries.js",[b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f){var B=this&&this.__extends||function(){var b=function(f,p){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,g){b.__proto__=g}||function(b,g){for(var e in g)g.hasOwnProperty(e)&&(b[e]=g[e])};return b(f,p)};return function(f,p){function l(){this.constructor=f}b(f,p);f.prototype=null===p?Object.create(p):(l.prototype=p.prototype,
+new l)}}(),y=b.seriesTypes.line,C=f.merge,A=f.pick;f=function(b){function f(){var f=null!==b&&b.apply(this,arguments)||this;f.data=void 0;f.options=void 0;f.points=void 0;return f}B(f,b);f.prototype.getPointSpline=function(b,f,g){var e=f.plotX||0,d=f.plotY||0,l=b[g-1];g=b[g+1];if(l&&!l.isNull&&!1!==l.doCurve&&!f.isCliff&&g&&!g.isNull&&!1!==g.doCurve&&!f.isCliff){b=l.plotY||0;var p=g.plotX||0;g=g.plotY||0;var r=0;var t=(1.5*e+(l.plotX||0))/2.5;var B=(1.5*d+b)/2.5;p=(1.5*e+p)/2.5;var w=(1.5*d+g)/2.5;
+p!==t&&(r=(w-B)*(p-e)/(p-t)+d-w);B+=r;w+=r;B>b&&B>d?(B=Math.max(b,d),w=2*d-B):B<b&&B<d&&(B=Math.min(b,d),w=2*d-B);w>g&&w>d?(w=Math.max(g,d),B=2*d-w):w<g&&w<d&&(w=Math.min(g,d),B=2*d-w);f.rightContX=p;f.rightContY=w}f=["C",A(l.rightContX,l.plotX,0),A(l.rightContY,l.plotY,0),A(t,e,0),A(B,d,0),e,d];l.rightContX=l.rightContY=void 0;return f};f.defaultOptions=C(y.defaultOptions);return f}(y);b.registerSeriesType("spline",f);"";return f});J(b,"Series/AreaSpline/AreaSplineSeries.js",[b["Series/Area/AreaSeries.js"],
+b["Series/Spline/SplineSeries.js"],b["Mixins/LegendSymbol.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D,y,C){var B=this&&this.__extends||function(){var b=function(g,e){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,e){d.__proto__=e}||function(d,e){for(var b in e)e.hasOwnProperty(b)&&(d[b]=e[b])};return b(g,e)};return function(g,e){function d(){this.constructor=g}b(g,e);g.prototype=null===e?Object.create(e):(d.prototype=e.prototype,new d)}}(),t=
+b.prototype,r=C.extend,p=C.merge;C=function(l){function g(){var e=null!==l&&l.apply(this,arguments)||this;e.data=void 0;e.points=void 0;e.options=void 0;return e}B(g,l);g.defaultOptions=p(f.defaultOptions,b.defaultOptions);return g}(f);r(C.prototype,{getGraphPath:t.getGraphPath,getStackPoints:t.getStackPoints,drawGraph:t.drawGraph,drawLegendSymbol:D.drawRectangle});y.registerSeriesType("areaspline",C);"";return C});J(b,"Series/Column/ColumnSeries.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Color/Color.js"],
+b["Core/Globals.js"],b["Mixins/LegendSymbol.js"],b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t,r){var p=this&&this.__extends||function(){var c=function(d,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};return c(d,a)};return function(d,a){function e(){this.constructor=d}c(d,a);d.prototype=null===a?Object.create(a):
+(e.prototype=a.prototype,new e)}}(),l=b.animObject,g=f.parse,e=D.hasTouch;b=D.noop;var d=r.clamp,u=r.css,B=r.defined,I=r.extend,K=r.fireEvent,F=r.isArray,w=r.isNumber,z=r.merge,q=r.pick,m=r.objectEach;r=function(c){function b(){var a=null!==c&&c.apply(this,arguments)||this;a.borderWidth=void 0;a.data=void 0;a.group=void 0;a.options=void 0;a.points=void 0;return a}p(b,c);b.prototype.animate=function(a){var c=this,e=this.yAxis,b=c.options,g=this.chart.inverted,m={},f=g?"translateX":"translateY";if(a)m.scaleY=
+.001,a=d(e.toPixels(b.threshold),e.pos,e.pos+e.len),g?m.translateX=a-e.len:m.translateY=a,c.clipBox&&c.setClip(),c.group.attr(m);else{var n=Number(c.group.attr(f));c.group.animate({scaleY:1},I(l(c.options.animation),{step:function(a,d){c.group&&(m[f]=n+d.pos*(e.pos-n),c.group.attr(m))}}))}};b.prototype.init=function(a,d){c.prototype.init.apply(this,arguments);var e=this;a=e.chart;a.hasRendered&&a.series.forEach(function(a){a.type===e.type&&(a.isDirty=!0)})};b.prototype.getColumnMetrics=function(){var a=
+this,c=a.options,d=a.xAxis,e=a.yAxis,b=d.options.reversedStacks;b=d.reversed&&!b||!d.reversed&&b;var g,m={},f=0;!1===c.grouping?f=1:a.chart.series.forEach(function(c){var d=c.yAxis,b=c.options;if(c.type===a.type&&(c.visible||!a.chart.options.chart.ignoreHiddenSeries)&&e.len===d.len&&e.pos===d.pos){if(b.stacking&&"group"!==b.stacking){g=c.stackKey;"undefined"===typeof m[g]&&(m[g]=f++);var h=m[g]}else!1!==b.grouping&&(h=f++);c.columnIndex=h}});var l=Math.min(Math.abs(d.transA)*(d.ordinal&&d.ordinal.slope||
+c.pointRange||d.closestPointRange||d.tickInterval||1),d.len),n=l*c.groupPadding,p=(l-2*n)/(f||1);c=Math.min(c.maxPointWidth||d.len,q(c.pointWidth,p*(1-2*c.pointPadding)));a.columnMetrics={width:c,offset:(p-c)/2+(n+((a.columnIndex||0)+(b?1:0))*p-l/2)*(b?-1:1),paddedWidth:p,columnCount:f};return a.columnMetrics};b.prototype.crispCol=function(a,c,d,e){var b=this.chart,h=this.borderWidth,k=-(h%2?.5:0);h=h%2?.5:1;b.inverted&&b.renderer.isVML&&(h+=1);this.options.crisp&&(d=Math.round(a+d)+k,a=Math.round(a)+
+k,d-=a);e=Math.round(c+e)+h;k=.5>=Math.abs(c)&&.5<e;c=Math.round(c)+h;e-=c;k&&e&&(--c,e+=1);return{x:a,y:c,width:d,height:e}};b.prototype.adjustForMissingColumns=function(a,c,d,e){var b=this,h=this.options.stacking;if(!d.isNull&&1<e.columnCount){var k=0,g=0;m(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(a){if("number"===typeof d.x&&(a=a[d.x.toString()])){var c=a.points[b.index],e=a.total;h?(c&&(k=g),a.hasValidPoints&&g++):F(c)&&(k=c[1],g=e||0)}});a=(d.plotX||0)+((g-1)*e.paddedWidth+c)/
+2-c-k*e.paddedWidth}return a};b.prototype.translate=function(){var a=this,c=a.chart,e=a.options,b=a.dense=2>a.closestPointRange*a.xAxis.transA;b=a.borderWidth=q(e.borderWidth,b?0:1);var g=a.xAxis,m=a.yAxis,f=e.threshold,l=a.translatedThreshold=m.getThreshold(f),n=q(e.minPointLength,5),p=a.getColumnMetrics(),u=p.width,r=a.barW=Math.max(u,1+2*b),t=a.pointXOffset=p.offset,z=a.dataMin,C=a.dataMax;c.inverted&&(l-=.5);e.pointPadding&&(r=Math.ceil(r));A.prototype.translate.apply(a);a.points.forEach(function(b){var h=
+q(b.yBottom,l),k=999+Math.abs(h),v=u,x=b.plotX||0;k=d(b.plotY,-k,m.len+k);x+=t;var E=r,A=Math.min(k,h),y=Math.max(k,h)-A;if(n&&Math.abs(y)<n){y=n;var H=!m.reversed&&!b.negative||m.reversed&&b.negative;w(f)&&w(C)&&b.y===f&&C<=f&&(m.min||0)<f&&(z!==C||(m.max||0)<=f)&&(H=!H);A=Math.abs(A-l)>n?h-n:l-(H?n:0)}B(b.options.pointWidth)&&(v=E=Math.ceil(b.options.pointWidth),x-=Math.round((v-u)/2));e.centerInCategory&&(x=a.adjustForMissingColumns(x,v,b,p));b.barX=x;b.pointWidth=v;b.tooltipPos=c.inverted?[d(m.len+
+m.pos-c.plotLeft-k,m.pos-c.plotLeft,m.len+m.pos-c.plotLeft),g.len+g.pos-c.plotTop-x-E/2,y]:[g.left-c.plotLeft+x+E/2,d(k+m.pos-c.plotTop,m.pos-c.plotTop,m.len+m.pos-c.plotTop),y];b.shapeType=a.pointClass.prototype.shapeType||"rect";b.shapeArgs=a.crispCol.apply(a,b.isNull?[x,l,E,0]:[x,A,E,y])})};b.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};b.prototype.pointAttribs=function(a,c){var d=this.options,e=this.pointAttrToOptions||{};var b=e.stroke||
+"borderColor";var k=e["stroke-width"]||"borderWidth",m=a&&a.color||this.color,f=a&&a[b]||d[b]||m,l=a&&a[k]||d[k]||this[k]||0;e=a&&a.options.dashStyle||d.dashStyle;var n=q(a&&a.opacity,d.opacity,1);if(a&&this.zones.length){var p=a.getZone();m=a.options.color||p&&(p.color||a.nonZonedColor)||this.color;p&&(f=p.borderColor||f,e=p.dashStyle||e,l=p.borderWidth||l)}c&&a&&(a=z(d.states[c],a.options.states&&a.options.states[c]||{}),c=a.brightness,m=a.color||"undefined"!==typeof c&&g(m).brighten(a.brightness).get()||
+m,f=a[b]||f,l=a[k]||l,e=a.dashStyle||e,n=q(a.opacity,n));b={fill:m,stroke:f,"stroke-width":l,opacity:n};e&&(b.dashstyle=e);return b};b.prototype.drawPoints=function(){var a=this,c=this.chart,d=a.options,e=c.renderer,b=d.animationLimit||250,g;a.points.forEach(function(h){var k=h.graphic,m=!!k,f=k&&c.pointCount<b?"animate":"attr";if(w(h.plotY)&&null!==h.y){g=h.shapeArgs;k&&h.hasNewShapeType()&&(k=k.destroy());a.enabledDataSorting&&(h.startXPos=a.xAxis.reversed?-(g?g.width||0:0):a.xAxis.width);k||(h.graphic=
+k=e[h.shapeType](g).add(h.group||a.group))&&a.enabledDataSorting&&c.hasRendered&&c.pointCount<b&&(k.attr({x:h.startXPos}),m=!0,f="animate");if(k&&m)k[f](z(g));if(d.borderRadius)k[f]({r:d.borderRadius});c.styledMode||k[f](a.pointAttribs(h,h.selected&&"select")).shadow(!1!==h.allowShadow&&d.shadow,null,d.stacking&&!d.borderRadius);k&&(k.addClass(h.getClassName(),!0),k.attr({visibility:h.visible?"inherit":"hidden"}))}else k&&(h.graphic=k.destroy())})};b.prototype.drawTracker=function(){var a=this,c=
+a.chart,d=c.pointer,b=function(a){var c=d.getPointFromEvent(a);"undefined"!==typeof c&&(d.isDirectTouch=!0,c.onMouseOver(a))},g;a.points.forEach(function(a){g=F(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[];a.graphic&&(a.graphic.element.point=a);g.forEach(function(c){c.div?c.div.point=a:c.element.point=a})});a._hasTracking||(a.trackerGroups.forEach(function(h){if(a[h]){a[h].addClass("highcharts-tracker").on("mouseover",b).on("mouseout",function(a){d.onTrackerMouseOut(a)});if(e)a[h].on("touchstart",
+b);!c.styledMode&&a.options.cursor&&a[h].css(u).css({cursor:a.options.cursor})}}),a._hasTracking=!0);K(this,"afterDrawTracker")};b.prototype.remove=function(){var a=this,c=a.chart;c.hasRendered&&c.series.forEach(function(c){c.type===a.type&&(c.isDirty=!0)});A.prototype.remove.apply(a,arguments)};b.defaultOptions=z(A.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},
+select:{color:C.neutralColor20,borderColor:C.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:C.backgroundColor});return b}(A);I(r.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:y.drawRectangle,getSymbol:b,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]});t.registerSeriesType("column",r);"";"";return r});J(b,"Series/Bar/BarSeries.js",[b["Series/Column/ColumnSeries.js"],b["Core/Series/SeriesRegistry.js"],
+b["Core/Utilities.js"]],function(b,f,D){var B=this&&this.__extends||function(){var b=function(f,p){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,g){b.__proto__=g}||function(b,g){for(var e in g)g.hasOwnProperty(e)&&(b[e]=g[e])};return b(f,p)};return function(f,p){function l(){this.constructor=f}b(f,p);f.prototype=null===p?Object.create(p):(l.prototype=p.prototype,new l)}}(),C=D.extend,A=D.merge;D=function(f){function r(){var b=null!==f&&f.apply(this,arguments)||this;b.data=void 0;
+b.options=void 0;b.points=void 0;return b}B(r,f);r.defaultOptions=A(b.defaultOptions,{});return r}(b);C(D.prototype,{inverted:!0});f.registerSeriesType("bar",D);"";return D});J(b,"Series/Scatter/ScatterSeries.js",[b["Series/Column/ColumnSeries.js"],b["Series/Line/LineSeries.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D,y){var B=this&&this.__extends||function(){var b=function(f,g){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,d){e.__proto__=d}||
+function(e,d){for(var b in d)d.hasOwnProperty(b)&&(e[b]=d[b])};return b(f,g)};return function(f,g){function e(){this.constructor=f}b(f,g);f.prototype=null===g?Object.create(g):(e.prototype=g.prototype,new e)}}(),A=y.addEvent,t=y.extend,r=y.merge;y=function(b){function l(){var g=null!==b&&b.apply(this,arguments)||this;g.data=void 0;g.options=void 0;g.points=void 0;return g}B(l,b);l.prototype.applyJitter=function(){var b=this,e=this.options.jitter,d=this.points.length;e&&this.points.forEach(function(g,
+f){["x","y"].forEach(function(l,p){var u="plot"+l.toUpperCase();if(e[l]&&!g.isNull){var r=b[l+"Axis"];var t=e[l]*r.transA;if(r&&!r.isLog){var q=Math.max(0,g[u]-t);r=Math.min(r.len,g[u]+t);p=1E4*Math.sin(f+p*d);g[u]=q+(r-q)*(p-Math.floor(p));"x"===l&&(g.clientX=g.plotX)}}})})};l.prototype.drawGraph=function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&b.prototype.drawGraph.call(this)};l.defaultOptions=r(f.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",
+jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}});return l}(f);t(y.prototype,{drawTracker:b.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});A(y,"afterTranslate",function(){this.applyJitter()});D.registerSeriesType("scatter",
+y);"";return y});J(b,"Mixins/CenteredSeries.js",[b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Utilities.js"]],function(b,f,D){var B=D.isNumber,C=D.pick,A=D.relativeLength,t=b.deg2rad;return b.CenteredSeriesMixin={getCenter:function(){var b=this.options,p=this.chart,l=2*(b.slicedOffset||0),g=p.plotWidth-2*l,e=p.plotHeight-2*l,d=b.center,u=Math.min(g,e),t=b.size,B=b.innerSize||0;"string"===typeof t&&(t=parseFloat(t));"string"===typeof B&&(B=parseFloat(B));b=[C(d[0],"50%"),C(d[1],"50%"),C(t&&
+0>t?void 0:b.size,"100%"),C(B&&0>B?void 0:b.innerSize||0,"0%")];!p.angular||this instanceof f||(b[3]=0);for(d=0;4>d;++d)t=b[d],p=2>d||2===d&&/%$/.test(t),b[d]=A(t,[g,e,u,b[2]][d])+(p?l:0);b[3]>b[2]&&(b[3]=b[2]);return b},getStartAndEndRadians:function(b,f){b=B(b)?b:0;f=B(f)&&f>b&&360>f-b?f:b+360;return{start:t*(b+-90),end:t*(f+-90)}}}});J(b,"Series/Pie/PiePoint.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Series/Point.js"],b["Core/Utilities.js"]],function(b,f,D){var B=this&&this.__extends||
+function(){var b=function(e,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,e){d.__proto__=e}||function(d,e){for(var b in e)e.hasOwnProperty(b)&&(d[b]=e[b])};return b(e,d)};return function(e,d){function g(){this.constructor=e}b(e,d);e.prototype=null===d?Object.create(d):(g.prototype=d.prototype,new g)}}(),C=b.setAnimation,A=D.addEvent,t=D.defined;b=D.extend;var r=D.isNumber,p=D.pick,l=D.relativeLength;D=function(b){function e(){var d=null!==b&&b.apply(this,arguments)||this;
+d.labelDistance=void 0;d.options=void 0;d.series=void 0;return d}B(e,b);e.prototype.getConnectorPath=function(){var d=this.labelPosition,e=this.series.options.dataLabels,b=e.connectorShape,g=this.connectorShapes;g[b]&&(b=g[b]);return b.call(this,{x:d.final.x,y:d.final.y,alignment:d.alignment},d.connectorPosition,e)};e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};e.prototype.haloPath=function(d){var e=this.shapeArgs;return this.sliced||!this.visible?
+[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+d,e.r+d,{innerR:e.r-1,start:e.start,end:e.end})};e.prototype.init=function(){f.prototype.init.apply(this,arguments);var d=this;d.name=p(d.name,"Slice");var e=function(e){d.slice("select"===e.type)};A(d,"select",e);A(d,"unselect",e);return d};e.prototype.isValid=function(){return r(this.y)&&0<=this.y};e.prototype.setVisible=function(d,e){var b=this,g=b.series,f=g.chart,l=g.options.ignoreHiddenPoint;e=p(e,l);d!==b.visible&&(b.visible=b.options.visible=
+d="undefined"===typeof d?!b.visible:d,g.options.data[g.data.indexOf(b)]=b.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(e){if(b[e])b[e][d?"show":"hide"](d)}),b.legendItem&&f.legend.colorizeItem(b,d),d||"hover"!==b.state||b.setState(""),l&&(g.isDirty=!0),e&&f.redraw())};e.prototype.slice=function(d,e,b){var g=this.series;C(b,g.chart);p(e,!0);this.sliced=this.options.sliced=t(d)?d:!this.sliced;g.options.data[g.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());
+this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return e}(f);b(D.prototype,{connectorShapes:{fixedOffset:function(b,e,d){var g=e.breakAt;e=e.touchingSliceAt;return[["M",b.x,b.y],d.softConnector?["C",b.x+("left"===b.alignment?-5:5),b.y,2*g.x-e.x,2*g.y-e.y,g.x,g.y]:["L",g.x,g.y],["L",e.x,e.y]]},straight:function(b,e){e=e.touchingSliceAt;return[["M",b.x,b.y],["L",e.x,e.y]]},crookedLine:function(b,e,d){e=e.touchingSliceAt;var g=this.series,f=g.center[0],p=g.chart.plotWidth,r=g.chart.plotLeft;
+g=b.alignment;var t=this.shapeArgs.r;d=l(d.crookDistance,1);p="left"===g?f+t+(p+r-f-t)*(1-d):r+(f-t)*d;d=["L",p,b.y];f=!0;if("left"===g?p>b.x||p<e.x:p<b.x||p>e.x)f=!1;b=[["M",b.x,b.y]];f&&b.push(d);b.push(["L",e.x,e.y]);return b}}});return D});J(b,"Series/Pie/PieSeries.js",[b["Mixins/CenteredSeries.js"],b["Series/Column/ColumnSeries.js"],b["Core/Globals.js"],b["Mixins/LegendSymbol.js"],b["Core/Color/Palette.js"],b["Series/Pie/PiePoint.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],
+b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t,r,p,l){var g=this&&this.__extends||function(){var d=function(b,e){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var b in c)c.hasOwnProperty(b)&&(d[b]=c[b])};return d(b,e)};return function(b,e){function g(){this.constructor=b}d(b,e);b.prototype=null===e?Object.create(e):(g.prototype=e.prototype,new g)}}(),e=b.getStartAndEndRadians;D=D.noop;var d=l.clamp,u=
+l.extend,B=l.fireEvent,I=l.merge,K=l.pick,F=l.relativeLength;l=function(b){function f(){var d=null!==b&&b.apply(this,arguments)||this;d.center=void 0;d.data=void 0;d.maxLabelDistance=void 0;d.options=void 0;d.points=void 0;return d}g(f,b);f.prototype.animate=function(d){var b=this,c=b.points,e=b.startAngleRad;d||c.forEach(function(a){var c=a.graphic,d=a.shapeArgs;c&&d&&(c.attr({r:K(a.startR,b.center&&b.center[3]/2),start:e,end:e}),c.animate({r:d.r,start:d.start,end:d.end},b.options.animation))})};
+f.prototype.drawEmpty=function(){var d=this.startAngleRad,b=this.endAngleRad,c=this.options;if(0===this.total&&this.center){var e=this.center[0];var a=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(e,a,this.center[1]/2,0,d,b).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:p.prototype.symbols.arc(e,a,this.center[2]/2,0,{start:d,end:b,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":c.borderWidth,fill:c.fillColor||"none",stroke:c.color||
+C.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())};f.prototype.drawPoints=function(){var d=this.chart.renderer;this.points.forEach(function(b){b.graphic&&b.hasNewShapeType()&&(b.graphic=b.graphic.destroy());b.graphic||(b.graphic=d[b.shapeType](b.shapeArgs).add(b.series.group),b.delayedRendering=!0)})};f.prototype.generatePoints=function(){b.prototype.generatePoints.call(this);this.updateTotals()};f.prototype.getX=function(b,e,c){var g=this.center,a=this.radii?this.radii[c.index]||
+0:g[2]/2;b=Math.asin(d((b-g[1])/(a+c.labelDistance),-1,1));return g[0]+(e?-1:1)*Math.cos(b)*(a+c.labelDistance)+(0<c.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)};f.prototype.hasData=function(){return!!this.processedXData.length};f.prototype.redrawPoints=function(){var d=this,b=d.chart,c=b.renderer,e,a,k,h,g=d.options.shadow;this.drawEmpty();!g||d.shadowGroup||b.styledMode||(d.shadowGroup=c.g("shadow").attr({zIndex:-1}).add(d.group));d.points.forEach(function(m){var f={};a=m.graphic;
+if(!m.isNull&&a){var l=void 0;h=m.shapeArgs;e=m.getTranslate();b.styledMode||(l=m.shadowGroup,g&&!l&&(l=m.shadowGroup=c.g("shadow").add(d.shadowGroup)),l&&l.attr(e),k=d.pointAttribs(m,m.selected&&"select"));m.delayedRendering?(a.setRadialReference(d.center).attr(h).attr(e),b.styledMode||a.attr(k).attr({"stroke-linejoin":"round"}).shadow(g,l),m.delayedRendering=!1):(a.setRadialReference(d.center),b.styledMode||I(!0,f,k),I(!0,f,h,e),a.animate(f));a.attr({visibility:m.visible?"inherit":"hidden"});a.addClass(m.getClassName(),
+!0)}else a&&(m.graphic=a.destroy())})};f.prototype.sortByAngle=function(d,b){d.sort(function(c,d){return"undefined"!==typeof c.angle&&(d.angle-c.angle)*b})};f.prototype.translate=function(d){this.generatePoints();var b=0,c=this.options,g=c.slicedOffset,a=g+(c.borderWidth||0),k=e(c.startAngle,c.endAngle),h=this.startAngleRad=k.start;k=(this.endAngleRad=k.end)-h;var f=this.points,l=c.dataLabels.distance;c=c.ignoreHiddenPoint;var p,q=f.length;d||(this.center=d=this.getCenter());for(p=0;p<q;p++){var r=
+f[p];var u=h+b*k;!r.isValid()||c&&!r.visible||(b+=r.percentage/100);var t=h+b*k;var z={x:d[0],y:d[1],r:d[2]/2,innerR:d[3]/2,start:Math.round(1E3*u)/1E3,end:Math.round(1E3*t)/1E3};r.shapeType="arc";r.shapeArgs=z;r.labelDistance=K(r.options.dataLabels&&r.options.dataLabels.distance,l);r.labelDistance=F(r.labelDistance,z.r);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,r.labelDistance);t=(t+u)/2;t>1.5*Math.PI?t-=2*Math.PI:t<-Math.PI/2&&(t+=2*Math.PI);r.slicedTranslation={translateX:Math.round(Math.cos(t)*
+g),translateY:Math.round(Math.sin(t)*g)};z=Math.cos(t)*d[2]/2;var w=Math.sin(t)*d[2]/2;r.tooltipPos=[d[0]+.7*z,d[1]+.7*w];r.half=t<-Math.PI/2||t>Math.PI/2?1:0;r.angle=t;u=Math.min(a,r.labelDistance/5);r.labelPosition={natural:{x:d[0]+z+Math.cos(t)*r.labelDistance,y:d[1]+w+Math.sin(t)*r.labelDistance},"final":{},alignment:0>r.labelDistance?"center":r.half?"right":"left",connectorPosition:{breakAt:{x:d[0]+z+Math.cos(t)*u,y:d[1]+w+Math.sin(t)*u},touchingSliceAt:{x:d[0]+z,y:d[1]+w}}}}B(this,"afterTranslate")};
+f.prototype.updateTotals=function(){var d,b=0,c=this.points,e=c.length,a=this.options.ignoreHiddenPoint;for(d=0;d<e;d++){var k=c[d];!k.isValid()||a&&!k.visible||(b+=k.y)}this.total=b;for(d=0;d<e;d++)k=c[d],k.percentage=0<b&&(k.visible||!a)?k.y/b*100:0,k.total=b};f.defaultOptions=I(t.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?
+void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:C.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}});return f}(t);u(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:y.drawRectangle,drawTracker:f.prototype.drawTracker,getCenter:b.getCenter,getSymbol:D,isCartesian:!1,
+noSharedTooltip:!0,pointAttribs:f.prototype.pointAttribs,pointClass:A,requireSorting:!1,searchPoint:D,trackerGroups:["group","dataLabelsGroup"]});r.registerSeriesType("pie",l);"";return l});J(b,"Core/Series/DataLabels.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/FormatUtilities.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t){var r=b.getDeferredAnimation,p=f.format;b=D.noop;
+A=A.seriesTypes;var l=t.arrayMax,g=t.clamp,e=t.defined,d=t.extend,u=t.fireEvent,B=t.isArray,I=t.merge,K=t.objectEach,F=t.pick,w=t.relativeLength,z=t.splat,q=t.stableSort;"";D.distribute=function(d,c,b){function a(a,c){return a.target-c.target}var e,h=!0,f=d,m=[];var l=0;var n=f.reducedLen||c;for(e=d.length;e--;)l+=d[e].size;if(l>n){q(d,function(a,c){return(c.rank||0)-(a.rank||0)});for(l=e=0;l<=n;)l+=d[e].size,e++;m=d.splice(e-1,d.length)}q(d,a);for(d=d.map(function(a){return{size:a.size,targets:[a.target],
+align:F(a.align,.5)}});h;){for(e=d.length;e--;)h=d[e],l=(Math.min.apply(0,h.targets)+Math.max.apply(0,h.targets))/2,h.pos=g(l-h.size*h.align,0,c-h.size);e=d.length;for(h=!1;e--;)0<e&&d[e-1].pos+d[e-1].size>d[e].pos&&(d[e-1].size+=d[e].size,d[e-1].targets=d[e-1].targets.concat(d[e].targets),d[e-1].align=.5,d[e-1].pos+d[e-1].size>c&&(d[e-1].pos=c-d[e-1].size),d.splice(e,1),h=!0)}f.push.apply(f,m);e=0;d.some(function(a){var d=0;if(a.targets.some(function(){f[e].pos=a.pos+d;if("undefined"!==typeof b&&
+Math.abs(f[e].pos-f[e].target)>b)return f.slice(0,e+1).forEach(function(a){delete a.pos}),f.reducedLen=(f.reducedLen||c)-.1*c,f.reducedLen>.1*c&&D.distribute(f,c,b),!0;d+=f[e].size;e++}))return!0});q(f,a)};C.prototype.drawDataLabels=function(){function d(a,c){var d=c.filter;return d?(c=d.operator,a=a[d.property],d=d.value,">"===c&&a>d||"<"===c&&a<d||">="===c&&a>=d||"<="===c&&a<=d||"=="===c&&a==d||"==="===c&&a===d?!0:!1):!0}function c(a,c){var d=[],b;if(B(a)&&!B(c))d=a.map(function(a){return I(a,c)});
+else if(B(c)&&!B(a))d=c.map(function(c){return I(a,c)});else if(B(a)||B(c))for(b=Math.max(a.length,c.length);b--;)d[b]=I(a[b],c[b]);else d=I(a,c);return d}var b=this,a=b.chart,k=b.options,h=k.dataLabels,g=b.points,f,l=b.hasRendered||0,q=h.animation;q=h.defer?r(a,q,b):{defer:0,duration:0};var t=a.renderer;h=c(c(a.options.plotOptions&&a.options.plotOptions.series&&a.options.plotOptions.series.dataLabels,a.options.plotOptions&&a.options.plotOptions[b.type]&&a.options.plotOptions[b.type].dataLabels),
+h);u(this,"drawDataLabels");if(B(h)||h.enabled||b._hasPointLabels){var w=b.plotGroup("dataLabelsGroup","data-labels",l?"inherit":"hidden",h.zIndex||6);w.attr({opacity:+l});!l&&(l=b.dataLabelsGroup)&&(b.visible&&w.show(!0),l[k.animation?"animate":"attr"]({opacity:1},q));g.forEach(function(g){f=z(c(h,g.dlOptions||g.options&&g.options.dataLabels));f.forEach(function(c,h){var f=c.enabled&&(!g.isNull||g.dataLabelOnNull)&&d(g,c),m=g.dataLabels?g.dataLabels[h]:g.dataLabel,l=g.connectors?g.connectors[h]:
+g.connector,n=F(c.distance,g.labelDistance),q=!m;if(f){var v=g.getLabelConfig();var r=F(c[g.formatPrefix+"Format"],c.format);v=e(r)?p(r,v,a):(c[g.formatPrefix+"Formatter"]||c.formatter).call(v,c);r=c.style;var u=c.rotation;a.styledMode||(r.color=F(c.color,r.color,b.color,y.neutralColor100),"contrast"===r.color?(g.contrastColor=t.getContrast(g.color||b.color),r.color=!e(n)&&c.inside||0>n||k.stacking?g.contrastColor:y.neutralColor100):delete g.contrastColor,k.cursor&&(r.cursor=k.cursor));var z={r:c.borderRadius||
+0,rotation:u,padding:c.padding,zIndex:1};a.styledMode||(z.fill=c.backgroundColor,z.stroke=c.borderColor,z["stroke-width"]=c.borderWidth);K(z,function(a,c){"undefined"===typeof a&&delete z[c]})}!m||f&&e(v)?f&&e(v)&&(m?z.text=v:(g.dataLabels=g.dataLabels||[],m=g.dataLabels[h]=u?t.text(v,0,-9999,c.useHTML).addClass("highcharts-data-label"):t.label(v,0,-9999,c.shape,null,null,c.useHTML,null,"data-label"),h||(g.dataLabel=m),m.addClass(" highcharts-data-label-color-"+g.colorIndex+" "+(c.className||"")+
+(c.useHTML?" highcharts-tracker":""))),m.options=c,m.attr(z),a.styledMode||m.css(r).shadow(c.shadow),m.added||m.add(w),c.textPath&&!c.useHTML&&(m.setTextPath(g.getDataLabelPath&&g.getDataLabelPath(m)||g.graphic,c.textPath),g.dataLabelPath&&!c.textPath.enabled&&(g.dataLabelPath=g.dataLabelPath.destroy())),b.alignDataLabel(g,m,c,null,q)):(g.dataLabel=g.dataLabel&&g.dataLabel.destroy(),g.dataLabels&&(1===g.dataLabels.length?delete g.dataLabels:delete g.dataLabels[h]),h||delete g.dataLabel,l&&(g.connector=
+g.connector.destroy(),g.connectors&&(1===g.connectors.length?delete g.connectors:delete g.connectors[h])))})})}u(this,"afterDrawDataLabels")};C.prototype.alignDataLabel=function(b,c,e,a,g){var h=this,k=this.chart,f=this.isCartesian&&k.inverted,m=this.enabledDataSorting,l=F(b.dlBox&&b.dlBox.centerX,b.plotX,-9999),n=F(b.plotY,-9999),p=c.getBBox(),q=e.rotation,r=e.align,u=k.isInsidePlot(l,Math.round(n),{inverted:f,paneCoordinates:!0,series:h}),t="justify"===F(e.overflow,m?"none":"justify"),z=this.visible&&
+!1!==b.visible&&(b.series.forceDL||m&&!t||u||F(e.inside,!!this.options.stacking)&&a&&k.isInsidePlot(l,f?a.x+1:a.y+a.height-1,{inverted:f,paneCoordinates:!0,series:h}));var w=function(a){m&&h.xAxis&&!t&&h.setDataLabelStartPos(b,c,g,u,a)};if(z){var B=k.renderer.fontMetrics(k.styledMode?void 0:e.style.fontSize,c).b;a=d({x:f?this.yAxis.len-n:l,y:Math.round(f?this.xAxis.len-l:n),width:0,height:0},a);d(e,{width:p.width,height:p.height});q?(t=!1,l=k.renderer.rotCorr(B,q),l={x:a.x+(e.x||0)+a.width/2+l.x,
+y:a.y+(e.y||0)+{top:0,middle:.5,bottom:1}[e.verticalAlign]*a.height},w(l),c[g?"attr":"animate"](l).attr({align:r}),w=(q+720)%360,w=180<w&&360>w,"left"===r?l.y-=w?p.height:0:"center"===r?(l.x-=p.width/2,l.y-=p.height/2):"right"===r&&(l.x-=p.width,l.y-=w?0:p.height),c.placed=!0,c.alignAttr=l):(w(a),c.align(e,void 0,a),l=c.alignAttr);t&&0<=a.height?this.justifyDataLabel(c,e,l,p,a,g):F(e.crop,!0)&&(z=k.isInsidePlot(l.x,l.y,{paneCoordinates:!0,series:h})&&k.isInsidePlot(l.x+p.width,l.y+p.height,{paneCoordinates:!0,
+series:h}));if(e.shape&&!q)c[g?"attr":"animate"]({anchorX:f?k.plotWidth-b.plotY:b.plotX,anchorY:f?k.plotHeight-b.plotX:b.plotY})}g&&m&&(c.placed=!1);z||m&&!t||(c.hide(!0),c.placed=!1)};C.prototype.setDataLabelStartPos=function(d,c,b,a,e){var h=this.chart,g=h.inverted,k=this.xAxis,f=k.reversed,m=g?c.height/2:c.width/2;d=(d=d.pointWidth)?d/2:0;k=g?e.x:f?-m-d:k.width-m+d;e=g?f?this.yAxis.height-m+d:-m-d:e.y;c.startXPos=k;c.startYPos=e;a?"hidden"===c.visibility&&(c.show(),c.attr({opacity:0}).animate({opacity:1})):
+c.attr({opacity:1}).animate({opacity:0},void 0,c.hide);h.hasRendered&&(b&&c.attr({x:c.startXPos,y:c.startYPos}),c.placed=!0)};C.prototype.justifyDataLabel=function(d,c,b,a,e,h){var g=this.chart,k=c.align,f=c.verticalAlign,m=d.box?0:d.padding||0,l=c.x;l=void 0===l?0:l;var n=c.y;var p=void 0===n?0:n;n=(b.x||0)+m;if(0>n){"right"===k&&0<=l?(c.align="left",c.inside=!0):l-=n;var q=!0}n=(b.x||0)+a.width-m;n>g.plotWidth&&("left"===k&&0>=l?(c.align="right",c.inside=!0):l+=g.plotWidth-n,q=!0);n=b.y+m;0>n&&
+("bottom"===f&&0<=p?(c.verticalAlign="top",c.inside=!0):p-=n,q=!0);n=(b.y||0)+a.height-m;n>g.plotHeight&&("top"===f&&0>=p?(c.verticalAlign="bottom",c.inside=!0):p+=g.plotHeight-n,q=!0);q&&(c.x=l,c.y=p,d.placed=!h,d.align(c,void 0,e));return q};A.pie&&(A.pie.prototype.dataLabelPositioners={radialDistributionY:function(d){return d.top+d.distributeBox.pos},radialDistributionX:function(d,c,b,a){return d.getX(b<c.top+2||b>c.bottom-2?a:b,c.half,c)},justify:function(d,c,b){return b[0]+(d.half?-1:1)*(c+d.labelDistance)},
+alignToPlotEdges:function(d,c,b,a){d=d.getBBox().width;return c?d+a:b-d-a},alignToConnectors:function(d,c,b,a){var e=0,h;d.forEach(function(a){h=a.dataLabel.getBBox().width;h>e&&(e=h)});return c?e+a:b-e-a}},A.pie.prototype.drawDataLabels=function(){var d=this,c=d.data,b,a=d.chart,g=d.options.dataLabels||{},h=g.connectorPadding,f,p=a.plotWidth,q=a.plotHeight,r=a.plotLeft,u=Math.round(a.chartWidth/3),t,z=d.center,w=z[2]/2,B=z[1],x,A,H,K,J=[[],[]],Q,N,T,aa,V=[0,0,0,0],W=d.dataLabelPositioners,U;d.visible&&
+(g.enabled||d._hasPointLabels)&&(c.forEach(function(a){a.dataLabel&&a.visible&&a.dataLabel.shortened&&(a.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),a.dataLabel.shortened=!1)}),C.prototype.drawDataLabels.apply(d),c.forEach(function(a){a.dataLabel&&(a.visible?(J[a.half].push(a),a.dataLabel._pos=null,!e(g.style.width)&&!e(a.options.dataLabels&&a.options.dataLabels.style&&a.options.dataLabels.style.width)&&a.dataLabel.getBBox().width>u&&(a.dataLabel.css({width:Math.round(.7*
+u)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),a.dataLabels&&1===a.dataLabels.length&&delete a.dataLabels))}),J.forEach(function(c,k){var f=c.length,l=[],m;if(f){d.sortByAngle(c,k-.5);if(0<d.maxLabelDistance){var n=Math.max(0,B-w-d.maxLabelDistance);var v=Math.min(B+w+d.maxLabelDistance,a.plotHeight);c.forEach(function(c){0<c.labelDistance&&c.dataLabel&&(c.top=Math.max(0,B-w-c.labelDistance),c.bottom=Math.min(B+w+c.labelDistance,a.plotHeight),m=c.dataLabel.getBBox().height||
+21,c.distributeBox={target:c.labelPosition.natural.y-c.top+m/2,size:m,rank:c.y},l.push(c.distributeBox))});n=v+m-n;D.distribute(l,n,n/5)}for(aa=0;aa<f;aa++){b=c[aa];H=b.labelPosition;x=b.dataLabel;T=!1===b.visible?"hidden":"inherit";N=n=H.natural.y;l&&e(b.distributeBox)&&("undefined"===typeof b.distributeBox.pos?T="hidden":(K=b.distributeBox.size,N=W.radialDistributionY(b)));delete b.positionIndex;if(g.justify)Q=W.justify(b,w,z);else switch(g.alignTo){case "connectors":Q=W.alignToConnectors(c,k,p,
+r);break;case "plotEdges":Q=W.alignToPlotEdges(x,k,p,r);break;default:Q=W.radialDistributionX(d,b,N,n)}x._attr={visibility:T,align:H.alignment};U=b.options.dataLabels||{};x._pos={x:Q+F(U.x,g.x)+({left:h,right:-h}[H.alignment]||0),y:N+F(U.y,g.y)-10};H.final.x=Q;H.final.y=N;F(g.crop,!0)&&(A=x.getBBox().width,n=null,Q-A<h&&1===k?(n=Math.round(A-Q+h),V[3]=Math.max(n,V[3])):Q+A>p-h&&0===k&&(n=Math.round(Q+A-p+h),V[1]=Math.max(n,V[1])),0>N-K/2?V[0]=Math.max(Math.round(-N+K/2),V[0]):N+K/2>q&&(V[2]=Math.max(Math.round(N+
+K/2-q),V[2])),x.sideOverflow=n)}}}),0===l(V)||this.verifyDataLabelOverflow(V))&&(this.placeDataLabels(),this.points.forEach(function(c){U=I(g,c.options.dataLabels);if(f=F(U.connectorWidth,1)){var b;t=c.connector;if((x=c.dataLabel)&&x._pos&&c.visible&&0<c.labelDistance){T=x._attr.visibility;if(b=!t)c.connector=t=a.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+c.colorIndex+(c.className?" "+c.className:"")).add(d.dataLabelsGroup),a.styledMode||t.attr({"stroke-width":f,
+stroke:U.connectorColor||c.color||y.neutralColor60});t[b?"attr":"animate"]({d:c.getConnectorPath()});t.attr("visibility",T)}else t&&(c.connector=t.destroy())}}))},A.pie.prototype.placeDataLabels=function(){this.points.forEach(function(d){var c=d.dataLabel,b;c&&d.visible&&((b=c._pos)?(c.sideOverflow&&(c._attr.width=Math.max(c.getBBox().width-c.sideOverflow,0),c.css({width:c._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),c.shortened=!0),c.attr(c._attr),
+c[c.moved?"animate":"attr"](b),c.moved=!0):c&&c.attr({y:-9999}));delete d.distributeBox},this)},A.pie.prototype.alignDataLabel=b,A.pie.prototype.verifyDataLabelOverflow=function(d){var c=this.center,b=this.options,a=b.center,e=b.minSize||80,h=null!==b.size;if(!h){if(null!==a[0])var f=Math.max(c[2]-Math.max(d[1],d[3]),e);else f=Math.max(c[2]-d[1]-d[3],e),c[0]+=(d[3]-d[1])/2;null!==a[1]?f=g(f,e,c[2]-Math.max(d[0],d[2])):(f=g(f,e,c[2]-d[0]-d[2]),c[1]+=(d[0]-d[2])/2);f<c[2]?(c[2]=f,c[3]=Math.min(w(b.innerSize||
+0,f),f),this.translate(c),this.drawDataLabels&&this.drawDataLabels()):h=!0}return h});A.column&&(A.column.prototype.alignDataLabel=function(d,c,b,a,e){var h=this.chart.inverted,g=d.series,k=d.dlBox||d.shapeArgs,f=F(d.below,d.plotY>F(this.translatedThreshold,g.yAxis.len)),l=F(b.inside,!!this.options.stacking);k&&(a=I(k),0>a.y&&(a.height+=a.y,a.y=0),k=a.y+a.height-g.yAxis.len,0<k&&k<a.height&&(a.height-=k),h&&(a={x:g.yAxis.len-a.y-a.height,y:g.xAxis.len-a.x-a.width,width:a.height,height:a.width}),l||
+(h?(a.x+=f?0:a.width,a.width=0):(a.y+=f?a.height:0,a.height=0)));b.align=F(b.align,!h||l?"center":f?"right":"left");b.verticalAlign=F(b.verticalAlign,h||l?"middle":f?"top":"bottom");C.prototype.alignDataLabel.call(this,d,c,b,a,e);b.inside&&d.contrastColor&&c.css({color:d.contrastColor})})});J(b,"Extensions/OverlappingDataLabels.js",[b["Core/Chart/Chart.js"],b["Core/Utilities.js"]],function(b,f){function B(b,g){var e=!1;if(b){var d=b.newOpacity;b.oldOpacity!==d&&(b.alignAttr&&b.placed?(b[d?"removeClass":
+"addClass"]("highcharts-data-label-hidden"),e=!0,b.alignAttr.opacity=d,b[b.isOld?"animate":"attr"](b.alignAttr,null,function(){g.styledMode||b.css({pointerEvents:d?"auto":"none"});b.visibility=d?"inherit":"hidden"}),C(g,"afterHideOverlappingLabel")):b.attr({opacity:d}));b.isOld=!0}return e}var y=f.addEvent,C=f.fireEvent,A=f.isArray,t=f.isNumber,r=f.objectEach,p=f.pick;y(b,"render",function(){var b=this,g=[];(this.labelCollectors||[]).forEach(function(b){g=g.concat(b())});(this.yAxis||[]).forEach(function(b){b.stacking&&
+b.options.stackLabels&&!b.options.stackLabels.allowOverlap&&r(b.stacking.stacks,function(d){r(d,function(d){g.push(d.label)})})});(this.series||[]).forEach(function(e){var d=e.options.dataLabels;e.visible&&(!1!==d.enabled||e._hasPointLabels)&&(d=function(d){return d.forEach(function(d){d.visible&&(A(d.dataLabels)?d.dataLabels:d.dataLabel?[d.dataLabel]:[]).forEach(function(e){var f=e.options;e.labelrank=p(f.labelrank,d.labelrank,d.shapeArgs&&d.shapeArgs.height);f.allowOverlap?(e.oldOpacity=e.opacity,
+e.newOpacity=1,B(e,b)):g.push(e)})})},d(e.nodes||[]),d(e.points))});this.hideOverlappingLabels(g)});b.prototype.hideOverlappingLabels=function(b){var g=this,e=b.length,d=g.renderer,f,l,p,r=!1;var A=function(b){var e,c=b.box?0:b.padding||0,g=e=0,a;if(b&&(!b.alignAttr||b.placed)){var k=b.alignAttr||{x:b.attr("x"),y:b.attr("y")};var h=b.parentGroup;b.width||(e=b.getBBox(),b.width=e.width,b.height=e.height,e=d.fontMetrics(null,b.element).h);var f=b.width-2*c;(a={left:"0",center:"0.5",right:"1"}[b.alignValue])?
+g=+a*f:t(b.x)&&Math.round(b.x)!==b.translateX&&(g=b.x-b.translateX);return{x:k.x+(h.translateX||0)+c-(g||0),y:k.y+(h.translateY||0)+c-e,width:b.width-2*c,height:b.height-2*c}}};for(l=0;l<e;l++)if(f=b[l])f.oldOpacity=f.opacity,f.newOpacity=1,f.absoluteBox=A(f);b.sort(function(d,b){return(b.labelrank||0)-(d.labelrank||0)});for(l=0;l<e;l++){var w=(A=b[l])&&A.absoluteBox;for(f=l+1;f<e;++f){var z=(p=b[f])&&p.absoluteBox;!w||!z||A===p||0===A.newOpacity||0===p.newOpacity||z.x>=w.x+w.width||z.x+z.width<=
+w.x||z.y>=w.y+w.height||z.y+z.height<=w.y||((A.labelrank<p.labelrank?A:p).newOpacity=0)}}b.forEach(function(d){B(d,g)&&(r=!0)});r&&C(g,"afterHideAllOverlappingLabels")}});J(b,"Core/Responsive.js",[b["Core/Chart/Chart.js"],b["Core/Utilities.js"]],function(b,f){var B=f.find,y=f.isArray,C=f.isObject,A=f.merge,t=f.objectEach,r=f.pick,p=f.splat,l=f.uniqueKey;b.prototype.setResponsive=function(b,e){var d=this.options.responsive,g=[],f=this.currentResponsive;!e&&d&&d.rules&&d.rules.forEach(function(d){"undefined"===
+typeof d._id&&(d._id=l());this.matchResponsiveRule(d,g)},this);e=A.apply(0,g.map(function(b){return B(d.rules,function(d){return d._id===b}).chartOptions}));e.isResponsiveOptions=!0;g=g.toString()||void 0;g!==(f&&f.ruleIds)&&(f&&this.update(f.undoOptions,b,!0),g?(f=this.currentOptions(e),f.isResponsiveOptions=!0,this.currentResponsive={ruleIds:g,mergedOptions:e,undoOptions:f},this.update(e,b,!0)):this.currentResponsive=void 0)};b.prototype.matchResponsiveRule=function(b,e){var d=b.condition;(d.callback||
+function(){return this.chartWidth<=r(d.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=r(d.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=r(d.minWidth,0)&&this.chartHeight>=r(d.minHeight,0)}).call(this)&&e.push(b._id)};b.prototype.currentOptions=function(b){function e(b,g,f,l){var r;t(b,function(b,q){if(!l&&-1<d.collectionsWithUpdate.indexOf(q)&&g[q])for(b=p(b),f[q]=[],r=0;r<Math.max(b.length,g[q].length);r++)g[q][r]&&(void 0===b[r]?f[q][r]=g[q][r]:(f[q][r]={},e(b[r],g[q][r],f[q][r],l+1)));else C(b)?
+(f[q]=y(b)?[]:{},e(b,g[q]||{},f[q],l+1)):f[q]="undefined"===typeof g[q]?null:g[q]})}var d=this,g={};e(b,this.options,g,0);return g}});J(b,"masters/highcharts.src.js",[b["Core/Globals.js"],b["Core/Utilities.js"],b["Core/Options.js"],b["Core/Animation/Fx.js"],b["Core/Animation/AnimationUtilities.js"],b["Core/Renderer/HTML/AST.js"],b["Core/FormatUtilities.js"],b["Core/Renderer/SVG/SVGElement.js"],b["Core/Series/Series.js"]],function(b,f,D,y,C,A,t,r,p){b.animate=C.animate;b.animObject=C.animObject;b.getDeferredAnimation=
+C.getDeferredAnimation;b.setAnimation=C.setAnimation;b.stop=C.stop;b.timers=y.timers;b.AST=A;b.Fx=y;b.Series=p;b.SVGElement=r;b.dateFormat=t.dateFormat;b.format=t.format;b.numberFormat=t.numberFormat;b.defaultOptions=D.defaultOptions;b.getOptions=D.getOptions;b.time=D.defaultTime;b.setOptions=D.setOptions;b.addEvent=f.addEvent;b.arrayMax=f.arrayMax;b.arrayMin=f.arrayMin;b.attr=f.attr;b.clearTimeout=f.clearTimeout;b.correctFloat=f.correctFloat;b.createElement=f.createElement;b.css=f.css;b.defined=
+f.defined;b.destroyObjectProperties=f.destroyObjectProperties;b.discardElement=f.discardElement;b.erase=f.erase;b.error=f.error;b.extend=f.extend;b.extendClass=f.extendClass;b.find=f.find;b.fireEvent=f.fireEvent;b.getMagnitude=f.getMagnitude;b.getStyle=f.getStyle;b.inArray=f.inArray;b.isArray=f.isArray;b.isClass=f.isClass;b.isDOMElement=f.isDOMElement;b.isFunction=f.isFunction;b.isNumber=f.isNumber;b.isObject=f.isObject;b.isString=f.isString;b.keys=f.keys;b.merge=f.merge;b.normalizeTickInterval=f.normalizeTickInterval;
+b.objectEach=f.objectEach;b.offset=f.offset;b.pad=f.pad;b.pick=f.pick;b.pInt=f.pInt;b.relativeLength=f.relativeLength;b.removeEvent=f.removeEvent;b.splat=f.splat;b.stableSort=f.stableSort;b.syncTimeout=f.syncTimeout;b.timeUnits=f.timeUnits;b.uniqueKey=f.uniqueKey;b.useSerialIds=f.useSerialIds;b.wrap=f.wrap;return b});J(b,"Core/Axis/MapAxis.js",[b["Core/Axis/Axis.js"],b["Core/Utilities.js"]],function(b,f){var B=f.addEvent,y=f.pick,C=function(){return function(b){this.axis=b}}();f=function(){function b(){}
+b.compose=function(b){b.keepProps.push("mapAxis");B(b,"init",function(){this.mapAxis||(this.mapAxis=new C(this))});B(b,"getSeriesExtremes",function(){if(this.mapAxis){var b=[];this.isXAxis&&(this.series.forEach(function(f,l){f.useMapGeometry&&(b[l]=f.xData,f.xData=[])}),this.mapAxis.seriesXData=b)}});B(b,"afterGetSeriesExtremes",function(){if(this.mapAxis){var b=this.mapAxis.seriesXData||[],f;if(this.isXAxis){var l=y(this.dataMin,Number.MAX_VALUE);var g=y(this.dataMax,-Number.MAX_VALUE);this.series.forEach(function(e,
+d){e.useMapGeometry&&(l=Math.min(l,y(e.minX,l)),g=Math.max(g,y(e.maxX,g)),e.xData=b[d],f=!0)});f&&(this.dataMin=l,this.dataMax=g);this.mapAxis.seriesXData=void 0}}});B(b,"afterSetAxisTranslation",function(){if(this.mapAxis){var b=this.chart,f=b.plotWidth/b.plotHeight;b=b.xAxis[0];var l;"yAxis"===this.coll&&"undefined"!==typeof b.transA&&this.series.forEach(function(b){b.preserveAspectRatio&&(l=!0)});if(l&&(this.transA=b.transA=Math.min(this.transA,b.transA),f/=(b.max-b.min)/(this.max-this.min),f=
+1>f?this:b,b=(f.max-f.min)*f.transA,f.mapAxis.pixelPadding=f.len-b,f.minPixelPadding=f.mapAxis.pixelPadding/2,b=f.mapAxis.fixTo)){b=b[1]-f.toValue(b[0],!0);b*=f.transA;if(Math.abs(b)>f.minPixelPadding||f.min===f.dataMin&&f.max===f.dataMax)b=0;f.minPixelPadding-=b}}});B(b,"render",function(){this.mapAxis&&(this.mapAxis.fixTo=void 0)})};return b}();f.compose(b);return f});J(b,"Mixins/ColorSeries.js",[],function(){return{colorPointMixin:{setVisible:function(b){var f=this,B=b?"show":"hide";f.visible=
+f.options.visible=!!b;["graphic","dataLabel"].forEach(function(b){if(f[b])f[b][B]()});this.series.buildKDTree()}},colorSeriesMixin:{optionalAxis:"colorAxis",colorAxis:0,translateColors:function(){var b=this,f=this.options.nullColor,D=this.colorAxis,y=this.colorKey;(this.data.length?this.data:this.points).forEach(function(C){var A=C.getNestedProperty(y);(A=C.options.color||(C.isNull||null===C.value?f:D&&"undefined"!==typeof A?D.toColor(A,C):C.color||b.color))&&C.color!==A&&(C.color=A,"point"===b.options.legendType&&
+C.legendItem&&b.chart.legend.colorizeItem(C,C.visible))})}}}});J(b,"Core/Axis/ColorAxis.js",[b["Core/Axis/Axis.js"],b["Core/Chart/Chart.js"],b["Core/Color/Color.js"],b["Mixins/ColorSeries.js"],b["Core/Animation/Fx.js"],b["Core/Globals.js"],b["Core/Legend.js"],b["Mixins/LegendSymbol.js"],b["Core/Color/Palette.js"],b["Core/Series/Point.js"],b["Core/Series/Series.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t,r,p,l,g,e){var d=this&&this.__extends||function(){var c=function(d,a){c=Object.setPrototypeOf||
+{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};return c(d,a)};return function(d,a){function b(){this.constructor=d}c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),u=D.parse;D=y.colorPointMixin;y=y.colorSeriesMixin;var B=A.noop,I=e.addEvent,K=e.extend,F=e.isNumber,w=e.merge,z=e.pick,q=e.splat;"";K(g.prototype,y);K(l.prototype,D);f.prototype.collectionsWithUpdate.push("colorAxis");f.prototype.collectionsWithInit.colorAxis=
+[f.prototype.addColorAxis];var m=function(c){function b(a,d){var b=c.call(this,a,d)||this;b.beforePadding=!1;b.chart=void 0;b.coll="colorAxis";b.dataClasses=void 0;b.legendItem=void 0;b.legendItems=void 0;b.name="";b.options=void 0;b.stops=void 0;b.visible=!0;b.init(a,d);return b}d(b,c);b.prototype.init=function(a,d){var e=a.options.legend||{},g=d.layout?"vertical"!==d.layout:"vertical"!==e.layout;e=w(b.defaultColorAxisOptions,d,{showEmpty:!1,title:null,visible:e.enabled&&(d?!1!==d.visible:!0)});
+this.coll="colorAxis";this.side=d.side||g?2:1;this.reversed=d.reversed||!g;this.opposite=!g;c.prototype.init.call(this,a,e);d.dataClasses&&this.initDataClasses(d);this.initStops();this.horiz=g;this.zoomEnabled=!1};b.prototype.initDataClasses=function(a){var c=this.chart,d,b=0,e=c.options.chart.colorCount,g=this.options,f=a.dataClasses.length;this.dataClasses=d=[];this.legendItems=[];a.dataClasses.forEach(function(a,h){a=w(a);d.push(a);if(c.styledMode||!a.color)"category"===g.dataClassColor?(c.styledMode||
+(h=c.options.colors,e=h.length,a.color=h[b]),a.colorIndex=b,b++,b===e&&(b=0)):a.color=u(g.minColor).tweenTo(u(g.maxColor),2>f?.5:h/(f-1))})};b.prototype.hasData=function(){return!!(this.tickPositions||[]).length};b.prototype.setTickPositions=function(){if(!this.dataClasses)return c.prototype.setTickPositions.call(this)};b.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]];this.stops.forEach(function(a){a.color=u(a[1])})};b.prototype.setOptions=
+function(a){c.prototype.setOptions.call(this,a);this.options.crosshair=this.options.marker};b.prototype.setAxisSize=function(){var a=this.legendSymbol,c=this.chart,d=c.options.legend||{},e,g;a?(this.left=d=a.attr("x"),this.top=e=a.attr("y"),this.width=g=a.attr("width"),this.height=a=a.attr("height"),this.right=c.chartWidth-d-g,this.bottom=c.chartHeight-e-a,this.len=this.horiz?g:a,this.pos=this.horiz?d:e):this.len=(this.horiz?d.symbolWidth:d.symbolHeight)||b.defaultLegendLength};b.prototype.normalizedValue=
+function(a){this.logarithmic&&(a=this.logarithmic.log2lin(a));return 1-(this.max-a)/(this.max-this.min||1)};b.prototype.toColor=function(a,c){var d=this.dataClasses,b=this.stops,e;if(d)for(e=d.length;e--;){var g=d[e];var k=g.from;b=g.to;if(("undefined"===typeof k||a>=k)&&("undefined"===typeof b||a<=b)){var f=g.color;c&&(c.dataClass=e,c.colorIndex=g.colorIndex);break}}else{a=this.normalizedValue(a);for(e=b.length;e--&&!(a>b[e][0]););k=b[e]||b[e+1];b=b[e+1]||k;a=1-(b[0]-a)/(b[0]-k[0]||1);f=k.color.tweenTo(b.color,
+a)}return f};b.prototype.getOffset=function(){var a=this.legendGroup,d=this.chart.axisOffset[this.side];a&&(this.axisParent=a,c.prototype.getOffset.call(this),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=d)};b.prototype.setLegendColor=function(){var a=this.reversed,c=a?1:0;a=a?0:1;c=this.horiz?[c,0,a,0]:[0,a,0,c];this.legendColor={linearGradient:{x1:c[0],y1:c[1],x2:c[2],y2:c[3]},stops:this.stops}};b.prototype.drawLegendSymbol=function(a,
+c){var d=a.padding,e=a.options,g=this.horiz,k=z(e.symbolWidth,g?b.defaultLegendLength:12),f=z(e.symbolHeight,g?12:b.defaultLegendLength),l=z(e.labelPadding,g?16:30);e=z(e.itemDistance,10);this.setLegendColor();c.legendSymbol=this.chart.renderer.rect(0,a.baseline-11,k,f).attr({zIndex:1}).add(c.legendGroup);this.legendItemWidth=k+d+(g?e:l);this.legendItemHeight=f+d+(g?l:0)};b.prototype.setState=function(a){this.series.forEach(function(c){c.setState(a)})};b.prototype.setVisible=function(){};b.prototype.getSeriesExtremes=
+function(){var a=this.series,c=a.length,d;this.dataMin=Infinity;for(this.dataMax=-Infinity;c--;){var b=a[c];var e=b.colorKey=z(b.options.colorKey,b.colorKey,b.pointValKey,b.zoneAxis,"y");var f=b.pointArrayMap;var l=b[e+"Min"]&&b[e+"Max"];if(b[e+"Data"])var m=b[e+"Data"];else if(f){m=[];f=f.indexOf(e);var n=b.yData;if(0<=f&&n)for(d=0;d<n.length;d++)m.push(z(n[d][f],n[d]))}else m=b.yData;l?(b.minColorValue=b[e+"Min"],b.maxColorValue=b[e+"Max"]):(m=g.prototype.getExtremes.call(b,m),b.minColorValue=m.dataMin,
+b.maxColorValue=m.dataMax);"undefined"!==typeof b.minColorValue&&(this.dataMin=Math.min(this.dataMin,b.minColorValue),this.dataMax=Math.max(this.dataMax,b.maxColorValue));l||g.prototype.applyExtremes.call(b)}};b.prototype.drawCrosshair=function(a,d){var b=d&&d.plotX,e=d&&d.plotY,g=this.pos,k=this.len;if(d){var f=this.toPixels(d.getNestedProperty(d.series.colorKey));f<g?f=g-2:f>g+k&&(f=g+k+2);d.plotX=f;d.plotY=this.len-f;c.prototype.drawCrosshair.call(this,a,d);d.plotX=b;d.plotY=e;this.cross&&!this.cross.addedToColorAxis&&
+this.legendGroup&&(this.cross.addClass("highcharts-coloraxis-marker").add(this.legendGroup),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!==typeof this.crosshair||this.cross.attr({fill:this.crosshair.color}))}};b.prototype.getPlotLinePath=function(a){var d=this.left,b=a.translatedValue,e=this.top;return F(b)?this.horiz?[["M",b-4,e-6],["L",b+4,e-6],["L",b,e],["Z"]]:[["M",d,b],["L",d-6,b+6],["L",d-6,b-6],["Z"]]:c.prototype.getPlotLinePath.call(this,a)};b.prototype.update=function(a,
+d){var b=this.chart.legend;this.series.forEach(function(a){a.isDirtyData=!0});(a.dataClasses&&b.allItems||this.dataClasses)&&this.destroyItems();c.prototype.update.call(this,a,d);this.legendItem&&(this.setLegendColor(),b.colorizeItem(this,!0))};b.prototype.destroyItems=function(){var a=this.chart;this.legendItem?a.legend.destroyItem(this):this.legendItems&&this.legendItems.forEach(function(c){a.legend.destroyItem(c)});a.isDirtyLegend=!0};b.prototype.destroy=function(){this.chart.isDirtyLegend=!0;
+this.destroyItems();c.prototype.destroy.apply(this,[].slice.call(arguments))};b.prototype.remove=function(a){this.destroyItems();c.prototype.remove.call(this,a)};b.prototype.getDataClassLegendSymbols=function(){var a=this,c=a.chart,d=a.legendItems,b=c.options.legend,e=b.valueDecimals,g=b.valueSuffix||"",f;d.length||a.dataClasses.forEach(function(b,h){var k=!0,l=b.from,m=b.to,n=c.numberFormatter;f="";"undefined"===typeof l?f="< ":"undefined"===typeof m&&(f="> ");"undefined"!==typeof l&&(f+=n(l,e)+
+g);"undefined"!==typeof l&&"undefined"!==typeof m&&(f+=" - ");"undefined"!==typeof m&&(f+=n(m,e)+g);d.push(K({chart:c,name:f,options:{},drawLegendSymbol:r.drawRectangle,visible:!0,setState:B,isDataClass:!0,setVisible:function(){k=a.visible=!k;a.series.forEach(function(a){a.points.forEach(function(a){a.dataClass===h&&a.setVisible(k)})});c.legend.colorizeItem(this,k)}},b))});return d};b.defaultLegendLength=200;b.defaultColorAxisOptions={lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,
+startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:p.neutralColor40},labels:{overflow:"justify",rotation:0},minColor:p.highlightColor10,maxColor:p.highlightColor100,tickLength:5,showInLegend:!0};b.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"];return b}(b);Array.prototype.push.apply(b.keepProps,m.keepProps);A.ColorAxis=m;["fill","stroke"].forEach(function(c){C.prototype[c+"Setter"]=function(){this.elem.attr(c,u(this.start).tweenTo(u(this.end),
+this.pos),null,!0)}});I(f,"afterGetAxes",function(){var c=this,d=c.options;this.colorAxis=[];d.colorAxis&&(d.colorAxis=q(d.colorAxis),d.colorAxis.forEach(function(a,d){a.index=d;new m(c,a)}))});I(g,"bindAxes",function(){var c=this.axisTypes;c?-1===c.indexOf("colorAxis")&&c.push("colorAxis"):this.axisTypes=["colorAxis"]});I(t,"afterGetAllItems",function(c){var d=this,a=[],b,e,g=function(a){a=c.allItems.indexOf(a);-1!==a&&(d.destroyItem(c.allItems[a]),c.allItems.splice(a,1))};(this.chart.colorAxis||
+[]).forEach(function(c){(b=c.options)&&b.showInLegend&&(b.dataClasses&&b.visible?a=a.concat(c.getDataClassLegendSymbols()):b.visible&&a.push(c),c.series.forEach(function(a){if(!a.options.showInLegend||b.dataClasses)"point"===a.options.legendType?a.points.forEach(function(a){g(a)}):g(a)}))});for(e=a.length;e--;)c.allItems.unshift(a[e])});I(t,"afterColorizeItem",function(c){c.visible&&c.item.legendColor&&c.item.legendSymbol.attr({fill:c.item.legendColor})});I(t,"afterUpdate",function(){var c=this.chart.colorAxis;
+c&&c.forEach(function(c,a,d){c.update({},d)})});I(g,"afterTranslate",function(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()});return m});J(b,"Mixins/ColorMapSeries.js",[b["Core/Globals.js"],b["Core/Series/Point.js"],b["Core/Utilities.js"]],function(b,f,D){var y=D.defined;D=D.addEvent;var C=b.noop;b=b.seriesTypes;D(f,"afterSetState",function(b){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:b&&"hover"===b.state?1:0})});return{colorMapPointMixin:{dataLabelOnNull:!0,
+moveToTopOnHover:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value}},colorMapSeriesMixin:{pointArrayMap:["value"],axisTypes:["xAxis","yAxis","colorAxis"],trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:C,parallelArrays:["x","y","value"],colorKey:"value",pointAttribs:b.column.prototype.pointAttribs,colorAttribs:function(b){var f={};y(b.color)&&(f[this.colorProp||"fill"]=b.color);return f}}}});J(b,"Maps/MapNavigationOptionsDefault.js",[b["Core/Options.js"],
+b["Core/Utilities.js"]],function(b,f){f=f.extend;var B={buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{fontSize:"15px",fontWeight:"bold"},theme:{"stroke-width":1,"text-align":"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1};f(b.defaultOptions.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"});return b.defaultOptions.mapNavigation=
+B});J(b,"Maps/MapNavigation.js",[b["Core/Chart/Chart.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,f,D){function y(b){b&&(b.preventDefault&&b.preventDefault(),b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0)}function C(b){this.init(b)}var A=f.doc,t=D.addEvent,r=D.extend,p=D.merge,l=D.objectEach,g=D.pick;C.prototype.init=function(b){this.chart=b;b.mapNavButtons=[]};C.prototype.update=function(b){var d=this.chart,e=d.options.mapNavigation,f,A,C,B,w=function(b){this.handler.call(d,
+b);y(b)},z=d.mapNavButtons;b&&(e=d.options.mapNavigation=p(d.options.mapNavigation,b));for(;z.length;)z.pop().destroy();g(e.enableButtons,e.enabled)&&!d.renderer.forExport&&l(e.buttons,function(b,g){b=p(e.buttonOptions,b);!d.styledMode&&b.theme&&(f=b.theme,f.style=p(b.theme.style,b.style),C=(A=f.states)&&A.hover,B=A&&A.select,delete f.states);var c=d.renderer.button(b.text||"",0,0,w,f,C,B,void 0,"zoomIn"===g?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",
+zoomOut:"zoom-out"}[g]).attr({width:b.width,height:b.height,title:d.options.lang[g],padding:b.padding,zIndex:5}).add();c.handler=b.onclick;t(c.element,"dblclick",y);z.push(c);r(b,{width:c.width,height:2*c.height});if(d.hasLoaded)c.align(b,!1,b.alignTo);else var l=t(d,"load",function(){c.element&&c.align(b,!1,b.alignTo);l()})});this.updateEvents(e)};C.prototype.updateEvents=function(b){var d=this.chart;g(b.enableDoubleClickZoom,b.enabled)||b.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||
+t(d.container,"dblclick",function(b){d.pointer.onContainerDblClick(b)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick());g(b.enableMouseWheelZoom,b.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||t(d.container,void 0!==A.onwheel?"wheel":void 0!==A.onmousewheel?"mousewheel":"DOMMouseScroll",function(b){d.pointer.inClass(b.target,"highcharts-no-mousewheel")||(d.pointer.onContainerMouseWheel(b),y(b));return!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())};
+r(b.prototype,{fitToBox:function(b,d){[["x","width"],["y","height"]].forEach(function(e){var g=e[0];e=e[1];b[g]+b[e]>d[g]+d[e]&&(b[e]>d[e]?(b[e]=d[e],b[g]=d[g]):b[g]=d[g]+d[e]-b[e]);b[e]>d[e]&&(b[e]=d[e]);b[g]<d[g]&&(b[g]=d[g])});return b},mapZoom:function(b,d,f,l,p,r){var e=this.xAxis[0],t=e.max-e.min,u=g(d,e.min+t/2),q=t*b;t=this.yAxis[0];var m=t.max-t.min,c=g(f,t.min+m/2);m*=b;u=this.fitToBox({x:u-q*(l?(l-e.pos)/e.len:.5),y:c-m*(p?(p-t.pos)/t.len:.5),width:q,height:m},{x:e.dataMin,y:t.dataMin,
+width:e.dataMax-e.dataMin,height:t.dataMax-t.dataMin});q=u.x<=e.dataMin&&u.width>=e.dataMax-e.dataMin&&u.y<=t.dataMin&&u.height>=t.dataMax-t.dataMin;l&&e.mapAxis&&(e.mapAxis.fixTo=[l-e.pos,d]);p&&t.mapAxis&&(t.mapAxis.fixTo=[p-t.pos,f]);"undefined"===typeof b||q?(e.setExtremes(void 0,void 0,!1),t.setExtremes(void 0,void 0,!1)):(e.setExtremes(u.x,u.x+u.width,!1),t.setExtremes(u.y,u.y+u.height,!1));this.redraw(r)}});t(b,"beforeRender",function(){this.mapNavigation=new C(this);this.mapNavigation.update()});
+f.MapNavigation=C});J(b,"Maps/MapPointer.js",[b["Core/Pointer.js"],b["Core/Utilities.js"]],function(b,f){var B=f.extend,y=f.pick;f=f.wrap;var C=0,A;B(b.prototype,{onContainerDblClick:function(b){var f=this.chart;b=this.normalize(b);f.options.mapNavigation.enableDoubleClickZoomTo?f.pointer.inClass(b.target,"highcharts-tracker")&&f.hoverPoint&&f.hoverPoint.zoomTo():f.isInsidePlot(b.chartX-f.plotLeft,b.chartY-f.plotTop)&&f.mapZoom(.5,f.xAxis[0].toValue(b.chartX),f.yAxis[0].toValue(b.chartY),b.chartX,
+b.chartY)},onContainerMouseWheel:function(b){var f=this.chart;b=this.normalize(b);var p=b.deltaY||b.detail||-(b.wheelDelta/120);1<=Math.abs(p)&&(C+=Math.abs(p),A&&clearTimeout(A),A=setTimeout(function(){C=0},50));10>C&&f.isInsidePlot(b.chartX-f.plotLeft,b.chartY-f.plotTop)&&f.mapZoom(Math.pow(f.options.mapNavigation.mouseWheelSensitivity,p),f.xAxis[0].toValue(b.chartX),f.yAxis[0].toValue(b.chartY),b.chartX,b.chartY,1>Math.abs(p)?!1:void 0)}});f(b.prototype,"zoomOption",function(b){var f=this.chart.options.mapNavigation;
+y(f.enableTouchZoom,f.enabled)&&(this.chart.options.chart.pinchType="xy");b.apply(this,[].slice.call(arguments,1))});f(b.prototype,"pinchTranslate",function(b,f,p,l,g,e,d){b.call(this,f,p,l,g,e,d);"map"===this.chart.options.chart.type&&this.hasZoom&&(b=l.scaleX>l.scaleY,this.pinchTranslateDirection(!b,f,p,l,g,e,d,b?l.scaleX:l.scaleY))})});J(b,"Maps/MapSymbols.js",[b["Core/Globals.js"],b["Core/Renderer/SVG/SVGRenderer.js"]],function(b,f){function B(b,f,t,r,p,l,g,e){return[["M",b+p,f],["L",b+t-l,f],
+["C",b+t-l/2,f,b+t,f+l/2,b+t,f+l],["L",b+t,f+r-g],["C",b+t,f+r-g/2,b+t-g/2,f+r,b+t-g,f+r],["L",b+e,f+r],["C",b+e/2,f+r,b,f+r-e/2,b,f+r-e],["L",b,f+p],["C",b,f+p/2,b+p/2,f,b+p,f],["Z"]]}var y=b.Renderer;f.prototype.symbols.topbutton=function(b,f,t,r,p){p=p&&p.r||0;return B(b-1,f-1,t,r,p,p,0,0)};f.prototype.symbols.bottombutton=function(b,f,t,r,p){p=p&&p.r||0;return B(b-1,f-1,t,r,0,0,p,p)};y!==f&&["topbutton","bottombutton"].forEach(function(b){y.prototype.symbols[b]=f.prototype.symbols[b]});return f.prototype.symbols});
+J(b,"Core/Chart/MapChart.js",[b["Core/Chart/Chart.js"],b["Core/Options.js"],b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,f,D,y){var B=this&&this.__extends||function(){var b=function(f,g){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var e in d)d.hasOwnProperty(e)&&(b[e]=d[e])};return b(f,g)};return function(f,g){function e(){this.constructor=f}b(f,g);f.prototype=null===g?Object.create(g):(e.prototype=g.prototype,
+new e)}}(),A=f.getOptions,t=y.merge,r=y.pick;b=function(b){function f(){return null!==b&&b.apply(this,arguments)||this}B(f,b);f.prototype.init=function(g,e){var d={endOnTick:!1,visible:!1,minPadding:0,maxPadding:0,startOnTick:!1},f=g.series,l=A().credits;g.series=void 0;g=t({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:r(l.mapText,' \u00a9 <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}</a>'),mapTextFull:r(l.mapTextFull,"{geojson.copyright}")},tooltip:{followTouchMove:!1},
+xAxis:d,yAxis:t(d,{reversed:!0})},g,{chart:{inverted:!1,alignTicks:!1}});g.series=f;b.prototype.init.call(this,g,e)};return f}(b);(function(b){b.maps={};b.mapChart=function(f,g,e){return new b(f,g,e)};b.splitPath=function(b){"string"===typeof b&&(b=b.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,""),b=b.split(/[ ,;]+/).map(function(b){return/[A-za-z]/.test(b)?b:parseFloat(b)}));return D.prototype.pathToSegments(b)}})(b||(b={}));return b});J(b,"Series/Map/MapPoint.js",[b["Mixins/ColorMapSeries.js"],
+b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D){var y=this&&this.__extends||function(){var b=function(f,r){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var g in f)f.hasOwnProperty(g)&&(b[g]=f[g])};return b(f,r)};return function(f,r){function p(){this.constructor=f}b(f,r);f.prototype=null===r?Object.create(r):(p.prototype=r.prototype,new p)}}();b=b.colorMapPointMixin;var B=D.extend;f=function(b){function f(){var f=
+null!==b&&b.apply(this,arguments)||this;f.options=void 0;f.path=void 0;f.series=void 0;return f}y(f,b);f.prototype.applyOptions=function(f,p){var l=this.series;f=b.prototype.applyOptions.call(this,f,p);p=l.joinBy;l.mapData&&l.mapMap&&(p=b.prototype.getNestedProperty.call(f,p[1]),(p="undefined"!==typeof p&&l.mapMap[p])?(l.xyFromShape&&(f.x=p._midX,f.y=p._midY),B(f,p)):f.value=f.value||null);return f};f.prototype.onMouseOver=function(f){D.clearTimeout(this.colorInterval);if(null!==this.value||this.series.options.nullInteraction)b.prototype.onMouseOver.call(this,
+f);else this.series.onMouseOut(f)};f.prototype.zoomTo=function(){var b=this.series;b.xAxis.setExtremes(this._minX,this._maxX,!1);b.yAxis.setExtremes(this._minY,this._maxY,!1);b.chart.redraw()};return f}(f.seriesTypes.scatter.prototype.pointClass);B(f.prototype,{dataLabelOnNull:b.dataLabelOnNull,isValid:b.isValid,moveToTopOnHover:b.moveToTopOnHover});return f});J(b,"Series/Map/MapSeries.js",[b["Mixins/ColorMapSeries.js"],b["Core/Globals.js"],b["Mixins/LegendSymbol.js"],b["Core/Chart/MapChart.js"],
+b["Series/Map/MapPoint.js"],b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t,r,p,l){var g=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(c,b)};return function(c,b){function d(){this.constructor=c}a(c,b);c.prototype=
+null===b?Object.create(b):(d.prototype=b.prototype,new d)}}();b=b.colorMapSeriesMixin;var e=f.noop,d=y.maps,u=y.splitPath;y=r.seriesTypes;var B=y.column,I=y.scatter;y=l.extend;var K=l.fireEvent,F=l.getNestedProperty,w=l.isArray,z=l.isNumber,q=l.merge,m=l.objectEach,c=l.pick,n=l.splat;l=function(a){function b(){var c=null!==a&&a.apply(this,arguments)||this;c.baseTrans=void 0;c.chart=void 0;c.data=void 0;c.group=void 0;c.joinBy=void 0;c.options=void 0;c.points=void 0;c.transformGroup=void 0;return c}
+g(b,a);b.prototype.animate=function(a){var c=this.options.animation,b=this.group,d=this.xAxis,e=this.yAxis,h=d.pos,g=e.pos;this.chart.renderer.isSVG&&(!0===c&&(c={duration:1E3}),a?b.attr({translateX:h+d.len/2,translateY:g+e.len/2,scaleX:.001,scaleY:.001}):b.animate({translateX:h,translateY:g,scaleX:1,scaleY:1},c))};b.prototype.animateDrilldown=function(a){var c=this.chart.plotBox,b=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],d=b.bBox,e=this.chart.options.drilldown.animation;a||
+(a=Math.min(d.width/c.width,d.height/c.height),b.shapeArgs={scaleX:a,scaleY:a,translateX:d.x,translateY:d.y},this.points.forEach(function(a){a.graphic&&a.graphic.attr(b.shapeArgs).animate({scaleX:1,scaleY:1,translateX:0,translateY:0},e)}))};b.prototype.animateDrillupFrom=function(a){B.prototype.animateDrillupFrom.call(this,a)};b.prototype.animateDrillupTo=function(a){B.prototype.animateDrillupTo.call(this,a)};b.prototype.doFullTranslate=function(){return this.isDirtyData||this.chart.isResizing||this.chart.renderer.isVML||
+!this.baseTrans};b.prototype.drawMapDataLabels=function(){t.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)};b.prototype.drawPoints=function(){var a=this,b=a.xAxis,d=a.yAxis,e=a.group,g=a.chart,f=g.renderer,k=this.baseTrans;a.transformGroup||(a.transformGroup=f.g().attr({scaleX:1,scaleY:1}).add(e),a.transformGroup.survive=!0);if(a.doFullTranslate())g.hasRendered&&!g.styledMode&&a.points.forEach(function(c){c.shapeArgs&&(c.shapeArgs.fill=a.pointAttribs(c,
+c.state).fill)}),a.group=a.transformGroup,B.prototype.drawPoints.apply(a),a.group=e,a.points.forEach(function(c){if(c.graphic){var b="";c.name&&(b+="highcharts-name-"+c.name.replace(/ /g,"-").toLowerCase());c.properties&&c.properties["hc-key"]&&(b+=" highcharts-key-"+c.properties["hc-key"].toLowerCase());b&&c.graphic.addClass(b);g.styledMode&&c.graphic.css(a.pointAttribs(c,c.selected&&"select"||void 0))}}),this.baseTrans={originX:b.min-b.minPixelPadding/b.transA,originY:d.min-d.minPixelPadding/d.transA+
+(d.reversed?0:d.len/d.transA),transAX:b.transA,transAY:d.transA},this.transformGroup.animate({translateX:0,translateY:0,scaleX:1,scaleY:1});else{var l=b.transA/k.transAX;var m=d.transA/k.transAY;var n=b.toPixels(k.originX,!0);var p=d.toPixels(k.originY,!0);.99<l&&1.01>l&&.99<m&&1.01>m&&(m=l=1,n=Math.round(n),p=Math.round(p));var q=this.transformGroup;if(g.renderer.globalAnimation){var r=q.attr("translateX");var t=q.attr("translateY");var u=q.attr("scaleX");var z=q.attr("scaleY");q.attr({animator:0}).animate({animator:1},
+{step:function(a,c){q.attr({translateX:r+(n-r)*c.pos,translateY:t+(p-t)*c.pos,scaleX:u+(l-u)*c.pos,scaleY:z+(m-z)*c.pos})}})}else q.attr({translateX:n,translateY:p,scaleX:l,scaleY:m})}g.styledMode||e.element.setAttribute("stroke-width",c(a.options[a.pointAttrToOptions&&a.pointAttrToOptions["stroke-width"]||"borderWidth"],1)/(l||1));this.drawMapDataLabels()};b.prototype.getBox=function(a){var b=Number.MAX_VALUE,d=-b,e=b,h=-b,g=b,f=b,k=this.xAxis,l=this.yAxis,m;(a||[]).forEach(function(a){if(a.path){"string"===
+typeof a.path?a.path=u(a.path):"M"===a.path[0]&&(a.path=p.prototype.pathToSegments(a.path));var k=a.path||[],l=-b,n=b,q=-b,r=b,t=a.properties;a._foundBox||(k.forEach(function(a){var c=a[a.length-2];a=a[a.length-1];"number"===typeof c&&"number"===typeof a&&(n=Math.min(n,c),l=Math.max(l,c),r=Math.min(r,a),q=Math.max(q,a))}),a._midX=n+(l-n)*c(a.middleX,t&&t["hc-middle-x"],.5),a._midY=r+(q-r)*c(a.middleY,t&&t["hc-middle-y"],.5),a._maxX=l,a._minX=n,a._maxY=q,a._minY=r,a.labelrank=c(a.labelrank,(l-n)*(q-
+r)),a._foundBox=!0);d=Math.max(d,a._maxX);e=Math.min(e,a._minX);h=Math.max(h,a._maxY);g=Math.min(g,a._minY);f=Math.min(a._maxX-a._minX,a._maxY-a._minY,f);m=!0}});m&&(this.minY=Math.min(g,c(this.minY,b)),this.maxY=Math.max(h,c(this.maxY,-b)),this.minX=Math.min(e,c(this.minX,b)),this.maxX=Math.max(d,c(this.maxX,-b)),k&&"undefined"===typeof k.options.minRange&&(k.minRange=Math.min(5*f,(this.maxX-this.minX)/5,k.minRange||b)),l&&"undefined"===typeof l.options.minRange&&(l.minRange=Math.min(5*f,(this.maxY-
+this.minY)/5,l.minRange||b)))};b.prototype.getExtremes=function(){var a=t.prototype.getExtremes.call(this,this.valueData),c=a.dataMin;a=a.dataMax;this.chart.hasRendered&&this.isDirtyData&&this.getBox(this.options.data);z(c)&&(this.valueMin=c);z(a)&&(this.valueMax=a);return{dataMin:this.minY,dataMax:this.maxY}};b.prototype.hasData=function(){return!!this.processedXData.length};b.prototype.pointAttribs=function(a,b){b=a.series.chart.styledMode?this.colorAttribs(a):B.prototype.pointAttribs.call(this,
+a,b);b["stroke-width"]=c(a.options[this.pointAttrToOptions&&this.pointAttrToOptions["stroke-width"]||"borderWidth"],"inherit");return b};b.prototype.render=function(){var a=this,c=t.prototype.render;a.chart.renderer.isVML&&3E3<a.data.length?setTimeout(function(){c.call(a)}):c.call(a)};b.prototype.setData=function(a,c,b,e){var h=this.options,g=this.chart.options.chart,k=g&&g.map,l=h.mapData,n=this.joinBy,p=h.keys||this.pointArrayMap,r=[],u={},v=this.chart.mapTransforms;!l&&k&&(l="string"===typeof k?
+d[k]:k);a&&a.forEach(function(c,b){var d=0;if(z(c))a[b]={value:c};else if(w(c)){a[b]={};!h.keys&&c.length>p.length&&"string"===typeof c[0]&&(a[b]["hc-key"]=c[0],++d);for(var e=0;e<p.length;++e,++d)p[e]&&"undefined"!==typeof c[d]&&(0<p[e].indexOf(".")?C.prototype.setNestedProperty(a[b],c[d],p[e]):a[b][p[e]]=c[d])}n&&"_i"===n[0]&&(a[b]._i=b)});this.getBox(a);(this.chart.mapTransforms=v=g.mapTransforms||l&&l["hc-transform"]||v)&&m(v,function(a){a.rotation&&(a.cosAngle=Math.cos(a.rotation),a.sinAngle=
+Math.sin(a.rotation))});if(l){"FeatureCollection"===l.type&&(this.mapTitle=l.title,l=f.geojson(l,this.type,this));this.mapData=l;this.mapMap={};for(v=0;v<l.length;v++)g=l[v],k=g.properties,g._i=v,n[0]&&k&&k[n[0]]&&(g[n[0]]=k[n[0]]),u[g[n[0]]]=g;this.mapMap=u;if(a&&n[1]){var y=n[1];a.forEach(function(a){a=F(y,a);u[a]&&r.push(u[a])})}if(h.allAreas){this.getBox(l);a=a||[];if(n[1]){var A=n[1];a.forEach(function(a){r.push(F(A,a))})}r="|"+r.map(function(a){return a&&a[n[0]]}).join("|")+"|";l.forEach(function(c){n[0]&&
+-1!==r.indexOf("|"+c[n[0]]+"|")||(a.push(q(c,{value:null})),e=!1)})}else this.getBox(r)}t.prototype.setData.call(this,a,c,b,e)};b.prototype.setOptions=function(a){a=t.prototype.setOptions.call(this,a);var c=a.joinBy;null===c&&(c="_i");c=this.joinBy=n(c);c[1]||(c[1]=c[0]);return a};b.prototype.translate=function(){var a=this,c=a.xAxis,b=a.yAxis,d=a.doFullTranslate();a.generatePoints();a.data.forEach(function(e){z(e._midX)&&z(e._midY)&&(e.plotX=c.toPixels(e._midX,!0),e.plotY=b.toPixels(e._midY,!0));
+d&&(e.shapeType="path",e.shapeArgs={d:a.translatePath(e.path)})});K(a,"afterTranslate")};b.prototype.translatePath=function(a){var c=this.xAxis,b=this.yAxis,d=c.min,e=c.transA,h=c.minPixelPadding,g=b.min,f=b.transA,k=b.minPixelPadding,l=[];a&&a.forEach(function(a){"M"===a[0]?l.push(["M",(a[1]-(d||0))*e+h,(a[2]-(g||0))*f+k]):"L"===a[0]?l.push(["L",(a[1]-(d||0))*e+h,(a[2]-(g||0))*f+k]):"C"===a[0]?l.push(["C",(a[1]-(d||0))*e+h,(a[2]-(g||0))*f+k,(a[3]-(d||0))*e+h,(a[4]-(g||0))*f+k,(a[5]-(d||0))*e+h,(a[6]-
+(g||0))*f+k]):"Q"===a[0]?l.push(["Q",(a[1]-(d||0))*e+h,(a[2]-(g||0))*f+k,(a[3]-(d||0))*e+h,(a[4]-(g||0))*f+k]):"Z"===a[0]&&l.push(["Z"])});return l};b.defaultOptions=q(I.defaultOptions,{animation:!1,dataLabels:{crop:!1,formatter:function(){return this.point.value},inside:!0,overflow:!1,padding:0,verticalAlign:"middle"},marker:null,nullColor:A.neutralColor3,stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.value}<br/>"},turboThreshold:0,allAreas:!0,borderColor:A.neutralColor20,
+borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:A.neutralColor20},inactive:{opacity:1}}});return b}(I);y(l.prototype,{type:"map",axisTypes:b.axisTypes,colorAttribs:b.colorAttribs,colorKey:b.colorKey,directTouch:!0,drawDataLabels:e,drawGraph:e,drawLegendSymbol:D.drawRectangle,forceDL:!0,getExtremesFromAll:!0,getSymbol:b.getSymbol,parallelArrays:b.parallelArrays,pointArrayMap:b.pointArrayMap,pointClass:C,preserveAspectRatio:!0,searchPoint:e,
+trackerGroups:b.trackerGroups,useMapGeometry:!0});r.registerSeriesType("map",l);"";return l});J(b,"Series/MapLine/MapLineSeries.js",[b["Series/Map/MapSeries.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D){var y=this&&this.__extends||function(){var b=function(f,l){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var d in e)e.hasOwnProperty(d)&&(b[d]=e[d])};return b(f,l)};return function(f,l){function g(){this.constructor=
+f}b(f,l);f.prototype=null===l?Object.create(l):(g.prototype=l.prototype,new g)}}(),C=f.series,A=D.extend,t=D.merge;D=function(f){function p(){var b=null!==f&&f.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}y(p,f);p.prototype.pointAttribs=function(f,g){f=b.prototype.pointAttribs.call(this,f,g);f.fill=this.options.fillColor;return f};p.defaultOptions=t(b.defaultOptions,{lineWidth:1,fillColor:"none"});return p}(b);A(D.prototype,{type:"mapline",colorProp:"stroke",
+drawLegendSymbol:C.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}});f.registerSeriesType("mapline",D);"";return D});J(b,"Series/MapPoint/MapPointPoint.js",[b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f){var B=this&&this.__extends||function(){var b=function(f,t){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)f.hasOwnProperty(l)&&(b[l]=f[l])};return b(f,t)};return function(f,
+t){function r(){this.constructor=f}b(f,t);f.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),y=f.merge;return function(b){function f(){var f=null!==b&&b.apply(this,arguments)||this;f.options=void 0;f.series=void 0;return f}B(f,b);f.prototype.applyOptions=function(f,r){f="undefined"!==typeof f.lat&&"undefined"!==typeof f.lon?y(f,this.series.chart.fromLatLonToPoint(f)):f;return b.prototype.applyOptions.call(this,f,r)};return f}(b.seriesTypes.scatter.prototype.pointClass)});J(b,
+"Series/MapPoint/MapPointSeries.js",[b["Series/MapPoint/MapPointPoint.js"],b["Core/Color/Palette.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D,y){var B=this&&this.__extends||function(){var b=function(f,g){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var e in d)d.hasOwnProperty(e)&&(b[e]=d[e])};return b(f,g)};return function(f,g){function e(){this.constructor=f}b(f,g);f.prototype=null===g?Object.create(g):
+(e.prototype=g.prototype,new e)}}(),A=D.seriesTypes.scatter,t=y.extend,r=y.merge;y=function(b){function l(){var g=null!==b&&b.apply(this,arguments)||this;g.data=void 0;g.options=void 0;g.points=void 0;return g}B(l,b);l.prototype.drawDataLabels=function(){b.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)};l.defaultOptions=r(A.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:f.neutralColor100}}});
+return l}(A);t(y.prototype,{type:"mappoint",forceDL:!0,pointClass:b});D.registerSeriesType("mappoint",y);"";return y});J(b,"Series/Bubble/BubblePoint.js",[b["Core/Series/Point.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D){var y=this&&this.__extends||function(){var b=function(f,t){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)f.hasOwnProperty(l)&&(b[l]=f[l])};return b(f,t)};return function(f,t){function r(){this.constructor=
+f}b(f,t);f.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}();D=D.extend;f=function(f){function B(){var b=null!==f&&f.apply(this,arguments)||this;b.options=void 0;b.series=void 0;return b}y(B,f);B.prototype.haloPath=function(f){return b.prototype.haloPath.call(this,0===f?0:(this.marker?this.marker.radius||0:0)+f)};return B}(f.seriesTypes.scatter.prototype.pointClass);D(f.prototype,{ttBelow:!1});return f});J(b,"Series/Bubble/BubbleLegend.js",[b["Core/Chart/Chart.js"],b["Core/Color/Color.js"],
+b["Core/FormatUtilities.js"],b["Core/Globals.js"],b["Core/Legend.js"],b["Core/Options.js"],b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t,r,p){var l=f.parse,g=y.noop;A=A.setOptions;f=p.addEvent;var e=p.arrayMax,d=p.arrayMin,u=p.isNumber,B=p.merge,I=p.objectEach,K=p.pick,F=p.stableSort;p=p.wrap;"";A({legend:{bubbleLegend:{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,
+connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:t.neutralColor100},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}});t=function(){function b(b,d){this.options=this.symbols=this.visible=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=
+this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0;this.setState=g;this.init(b,d)}b.prototype.init=function(b,d){this.options=b;this.visible=!0;this.chart=d.chart;this.legend=d};b.prototype.addToLegend=function(b){b.splice(this.options.legendIndex,0,this)};b.prototype.drawLegendSymbol=function(b){var d=this.chart,e=this.options,c=K(b.options.itemDistance,20),f=e.ranges;var a=e.connectorDistance;this.fontMetrics=d.renderer.fontMetrics(e.labels.style.fontSize);f&&f.length&&
+u(f[0].value)?(F(f,function(a,c){return c.value-a.value}),this.ranges=f,this.setOptions(),this.render(),d=this.getMaxLabelSize(),f=this.ranges[0].radius,b=2*f,a=a-f+d.width,a=0<a?a:0,this.maxLabel=d,this.movementX="left"===e.labels.align?a:0,this.legendItemWidth=b+a+c,this.legendItemHeight=b+this.fontMetrics.h/2):b.options.bubbleLegend.autoRanges=!0};b.prototype.setOptions=function(){var b=this.ranges,d=this.options,e=this.chart.series[d.seriesIndex],c=this.legend.baseline,f={zIndex:d.zIndex,"stroke-width":d.borderWidth},
+a={zIndex:d.zIndex,"stroke-width":d.connectorWidth},g={align:this.legend.options.rtl||"left"===d.labels.align?"right":"left",zIndex:d.zIndex},h=e.options.marker.fillOpacity,p=this.chart.styledMode;b.forEach(function(k,m){p||(f.stroke=K(k.borderColor,d.borderColor,e.color),f.fill=K(k.color,d.color,1!==h?l(e.color).setOpacity(h).get("rgba"):e.color),a.stroke=K(k.connectorColor,d.connectorColor,e.color));b[m].radius=this.getRangeRadius(k.value);b[m]=B(b[m],{center:b[0].radius-b[m].radius+c});p||B(!0,
+b[m],{bubbleAttribs:B(f),connectorAttribs:B(a),labelAttribs:g})},this)};b.prototype.getRangeRadius=function(b){var d=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,d.ranges[d.ranges.length-1].value,d.ranges[0].value,d.minSize,d.maxSize,b)};b.prototype.render=function(){var b=this.chart.renderer,d=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});this.legendSymbol=b.g("bubble-legend");this.legendItem=b.g("bubble-legend-item");
+this.legendSymbol.translateX=0;this.legendSymbol.translateY=0;this.ranges.forEach(function(b){b.value>=d&&this.renderRange(b)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()};b.prototype.renderRange=function(b){var d=this.options,e=d.labels,c=this.chart,f=c.series[d.seriesIndex],a=c.renderer,g=this.symbols;c=g.labels;var h=b.center,l=Math.abs(b.radius),p=d.connectorDistance||0,r=e.align;p=this.legend.options.rtl||"left"===r?-p:p;var t=
+d.connectorWidth,u=this.ranges[0].radius||0,w=h-l-d.borderWidth/2+t/2,z=this.fontMetrics;z=z.f/2-(z.h-z.f)/2;var y=a.styledMode;"center"===r&&(p=0,d.connectorDistance=0,b.labelAttribs.align="center");r=w+d.labels.y;var B=u+p+d.labels.x;g.bubbleItems.push(a.circle(u,h+((w%1?1:.5)-(t%2?0:.5)),l).attr(y?{}:b.bubbleAttribs).addClass((y?"highcharts-color-"+f.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(d.className||"")).add(this.legendSymbol));g.connectors.push(a.path(a.crispLine([["M",u,w],
+["L",u+p,w]],d.connectorWidth)).attr(y?{}:b.connectorAttribs).addClass((y?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(d.connectorClassName||"")).add(this.legendSymbol));b=a.text(this.formatLabel(b),B,r+z).attr(y?{}:b.labelAttribs).css(y?{}:e.style).addClass("highcharts-bubble-legend-labels "+(d.labels.className||"")).add(this.legendSymbol);c.push(b);b.placed=!0;b.alignAttr={x:B,y:r+z}};b.prototype.getMaxLabelSize=function(){var b,d;this.symbols.labels.forEach(function(e){d=
+e.getBBox(!0);b=b?d.width>b.width?d:b:d});return b||{}};b.prototype.formatLabel=function(b){var d=this.options,e=d.labels.formatter;d=d.labels.format;var c=this.chart.numberFormatter;return d?D.format(d,b):e?e.call(b):c(b.value,1)};b.prototype.hideOverlappingLabels=function(){var b=this.chart,d=this.symbols;!this.options.labels.allowOverlap&&d&&(b.hideOverlappingLabels(d.labels),d.labels.forEach(function(b,c){b.newOpacity?b.newOpacity!==b.oldOpacity&&d.connectors[c].show():d.connectors[c].hide()}))};
+b.prototype.getRanges=function(){var b=this.legend.bubbleLegend,f=b.options.ranges,g,c=Number.MAX_VALUE,l=-Number.MAX_VALUE;b.chart.series.forEach(function(a){a.isBubble&&!a.ignoreSeries&&(g=a.zData.filter(u),g.length&&(c=K(a.options.zMin,Math.min(c,Math.max(d(g),!1===a.options.displayNegative?a.options.zThreshold:-Number.MAX_VALUE))),l=K(a.options.zMax,Math.max(l,e(g)))))});var a=c===l?[{value:l}]:[{value:c},{value:(c+l)/2},{value:l,autoRanges:!0}];f.length&&f[0].radius&&a.reverse();a.forEach(function(c,
+b){f&&f[b]&&(a[b]=B(f[b],c))});return a};b.prototype.predictBubbleSizes=function(){var b=this.chart,d=this.fontMetrics,e=b.legend.options,c="horizontal"===e.layout,f=c?b.legend.lastLineHeight:0,a=b.plotSizeX,g=b.plotSizeY,h=b.series[this.options.seriesIndex];b=Math.ceil(h.minPxSize);var l=Math.ceil(h.maxPxSize);h=h.options.maxSize;var p=Math.min(g,a);if(e.floating||!/%$/.test(h))d=l;else if(h=parseFloat(h),d=(p+f-d.h/2)*h/100/(h/100+1),c&&g-d>=a||!c&&a-d>=g)d=l;return[b,Math.ceil(d)]};b.prototype.updateRanges=
+function(b,d){var e=this.legend.options.bubbleLegend;e.minSize=b;e.maxSize=d;e.ranges=this.getRanges()};b.prototype.correctSizes=function(){var b=this.legend,d=this.chart.series[this.options.seriesIndex];1<Math.abs(Math.ceil(d.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,d.maxPxSize),b.render())};return b}();f(C,"afterGetAllItems",function(b){var d=this.bubbleLegend,e=this.options,f=e.bubbleLegend,c=this.chart.getVisibleBubbleSeriesIndex();d&&d.ranges&&d.ranges.length&&
+(f.ranges.length&&(f.autoRanges=!!f.ranges[0].autoRanges),this.destroyItem(d));0<=c&&e.enabled&&f.enabled&&(f.seriesIndex=c,this.bubbleLegend=new y.BubbleLegend(f,this),this.bubbleLegend.addToLegend(b.allItems))});b.prototype.getVisibleBubbleSeriesIndex=function(){for(var b=this.series,d=0;d<b.length;){if(b[d]&&b[d].isBubble&&b[d].visible&&b[d].zData.length)return d;d++}return-1};C.prototype.getLinesHeights=function(){var b=this.allItems,d=[],e=b.length,f,c=0;for(f=0;f<e;f++)if(b[f].legendItemHeight&&
+(b[f].itemHeight=b[f].legendItemHeight),b[f]===b[e-1]||b[f+1]&&b[f]._legendItemPos[1]!==b[f+1]._legendItemPos[1]){d.push({height:0});var g=d[d.length-1];for(c;c<=f;c++)b[c].itemHeight>g.height&&(g.height=b[c].itemHeight);g.step=f}return d};C.prototype.retranslateItems=function(b){var d,e,f,c=this.options.rtl,g=0;this.allItems.forEach(function(a,k){d=a.legendGroup.translateX;e=a._legendItemPos[1];if((f=a.movementX)||c&&a.ranges)f=c?d-a.options.maxSize/2:d+f,a.legendGroup.attr({translateX:f});k>b[g].step&&
+g++;a.legendGroup.attr({translateY:Math.round(e+b[g].height/2)});a._legendItemPos[1]=e+b[g].height/2})};f(r,"legendItemClick",function(){var b=this.chart,d=this.visible,e=this.chart.legend;e&&e.bubbleLegend&&(this.visible=!d,this.ignoreSeries=d,b=0<=b.getVisibleBubbleSeriesIndex(),e.bubbleLegend.visible!==b&&(e.update({bubbleLegend:{enabled:b}}),e.bubbleLegend.visible=b),this.visible=d)});p(b.prototype,"drawChartBox",function(b,d,e){var f=this.legend,c=0<=this.getVisibleBubbleSeriesIndex();if(f&&
+f.options.enabled&&f.bubbleLegend&&f.options.bubbleLegend.autoRanges&&c){var g=f.bubbleLegend.options;c=f.bubbleLegend.predictBubbleSizes();f.bubbleLegend.updateRanges(c[0],c[1]);g.placed||(f.group.placed=!1,f.allItems.forEach(function(a){a.legendGroup.translateY=null}));f.render();this.getMargins();this.axes.forEach(function(a){a.visible&&a.render();g.placed||(a.setScale(),a.updateNames(),I(a.ticks,function(a){a.isNew=!0;a.isNewLabel=!0}))});g.placed=!0;this.getMargins();b.call(this,d,e);f.bubbleLegend.correctSizes();
+f.retranslateItems(f.getLinesHeights())}else b.call(this,d,e),f&&f.options.enabled&&f.bubbleLegend&&(f.render(),f.retranslateItems(f.getLinesHeights()))});y.BubbleLegend=t;return y.BubbleLegend});J(b,"Series/Bubble/BubbleSeries.js",[b["Core/Axis/Axis.js"],b["Series/Bubble/BubblePoint.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t){var r=this&&this.__extends||function(){var b=function(d,
+e){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,b){c.__proto__=b}||function(c,b){for(var a in b)b.hasOwnProperty(a)&&(c[a]=b[a])};return b(d,e)};return function(d,e){function c(){this.constructor=d}b(d,e);d.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}(),p=D.parse;D=y.noop;var l=A.seriesTypes;y=l.column;var g=l.scatter,e=t.arrayMax,d=t.arrayMin,u=t.clamp,B=t.extend,I=t.isNumber,K=t.merge,F=t.pick,w=t.pInt;t=function(b){function d(){var d=null!==b&&b.apply(this,
+arguments)||this;d.data=void 0;d.maxPxSize=void 0;d.minPxSize=void 0;d.options=void 0;d.points=void 0;d.radii=void 0;d.yData=void 0;d.zData=void 0;return d}r(d,b);d.prototype.animate=function(b){!b&&this.points.length<this.options.animationLimit&&this.points.forEach(function(b){var c=b.graphic;c&&c.width&&(this.hasRendered||c.attr({x:b.plotX,y:b.plotY,width:1,height:1}),c.animate(this.markerAttribs(b),this.options.animation))},this)};d.prototype.getRadii=function(b,c,d){var a=this.zData,e=this.yData,
+f=d.minPxSize,g=d.maxPxSize,l=[];var m=0;for(d=a.length;m<d;m++){var n=a[m];l.push(this.getRadius(b,c,f,g,n,e[m]))}this.radii=l};d.prototype.getRadius=function(b,c,d,a,e,f){var g=this.options,h="width"!==g.sizeBy,k=g.zThreshold,l=c-b,m=.5;if(null===f||null===e)return null;if(I(e)){g.sizeByAbsoluteValue&&(e=Math.abs(e-k),l=Math.max(c-k,Math.abs(b-k)),b=0);if(e<b)return d/2-1;0<l&&(m=(e-b)/l)}h&&0<=m&&(m=Math.sqrt(m));return Math.ceil(d+m*(a-d))/2};d.prototype.hasData=function(){return!!this.processedXData.length};
+d.prototype.pointAttribs=function(b,c){var d=this.options.marker.fillOpacity;b=C.prototype.pointAttribs.call(this,b,c);1!==d&&(b.fill=p(b.fill).setOpacity(d).get("rgba"));return b};d.prototype.translate=function(){var d,c=this.data,e=this.radii;b.prototype.translate.call(this);for(d=c.length;d--;){var a=c[d];var f=e?e[d]:0;I(f)&&f>=this.minPxSize/2?(a.marker=B(a.marker,{radius:f,width:2*f,height:2*f}),a.dlBox={x:a.plotX-f,y:a.plotY-f,width:2*f,height:2*f}):a.shapeArgs=a.plotY=a.dlBox=void 0}};d.defaultOptions=
+K(g.defaultOptions,{dataLabels:{formatter:function(){return this.point.z},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"});return d}(g);B(t.prototype,{alignDataLabel:y.prototype.alignDataLabel,applyZones:D,bubblePadding:!0,
+buildKDTree:D,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:f,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"});b.prototype.beforePadding=function(){var b=this,f=this.len,g=this.chart,c=0,l=f,a=this.isXAxis,k=a?"xData":"yData",h=this.min,p={},r=Math.min(g.plotWidth,g.plotHeight),t=Number.MAX_VALUE,y=-Number.MAX_VALUE,B=this.max-h,A=f/B,C=[];this.series.forEach(function(c){var f=c.options;!c.bubblePadding||!c.visible&&g.options.chart.ignoreHiddenSeries||
+(b.allowZoomOutside=!0,C.push(c),a&&(["minSize","maxSize"].forEach(function(a){var b=f[a],c=/%$/.test(b);b=w(b);p[a]=c?r*b/100:b}),c.minPxSize=p.minSize,c.maxPxSize=Math.max(p.maxSize,p.minSize),c=c.zData.filter(I),c.length&&(t=F(f.zMin,u(d(c),!1===f.displayNegative?f.zThreshold:-Number.MAX_VALUE,t)),y=F(f.zMax,Math.max(y,e(c))))))});C.forEach(function(d){var e=d[k],f=e.length;a&&d.getRadii(t,y,d);if(0<B)for(;f--;)if(I(e[f])&&b.dataMin<=e[f]&&e[f]<=b.max){var g=d.radii?d.radii[f]:0;c=Math.min((e[f]-
+h)*A-g,c);l=Math.max((e[f]-h)*A+g,l)}});C.length&&0<B&&!this.logarithmic&&(l-=f,A*=(f+Math.max(0,c)-Math.min(l,f))/f,[["min","userMin",c],["max","userMax",l]].forEach(function(a){"undefined"===typeof F(b.options[a[0]],b[a[1]])&&(b[a[0]]+=a[2]/A)}))};A.registerSeriesType("bubble",t);"";"";return t});J(b,"Series/MapBubble/MapBubblePoint.js",[b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f){var B=this&&this.__extends||function(){var b=function(f,p){b=Object.setPrototypeOf||{__proto__:[]}instanceof
+Array&&function(b,f){b.__proto__=f}||function(b,f){for(var e in f)f.hasOwnProperty(e)&&(b[e]=f[e])};return b(f,p)};return function(f,p){function l(){this.constructor=f}b(f,p);f.prototype=null===p?Object.create(p):(l.prototype=p.prototype,new l)}}(),y=b.seriesTypes,C=y.map;b=f.extend;var A=f.merge;f=function(b){function f(){return null!==b&&b.apply(this,arguments)||this}B(f,b);f.prototype.applyOptions=function(f,l){return f&&"undefined"!==typeof f.lat&&"undefined"!==typeof f.lon?b.prototype.applyOptions.call(this,
+A(f,this.series.chart.fromLatLonToPoint(f)),l):C.prototype.pointClass.prototype.applyOptions.call(this,f,l)};f.prototype.isValid=function(){return"number"===typeof this.z};return f}(y.bubble.prototype.pointClass);b(f.prototype,{ttBelow:!1});return f});J(b,"Series/MapBubble/MapBubbleSeries.js",[b["Series/Bubble/BubbleSeries.js"],b["Series/MapBubble/MapBubblePoint.js"],b["Series/Map/MapSeries.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D,y,C){var B=this&&this.__extends||
+function(){var b=function(f,g){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var e in d)d.hasOwnProperty(e)&&(b[e]=d[e])};return b(f,g)};return function(f,g){function e(){this.constructor=f}b(f,g);f.prototype=null===g?Object.create(g):(e.prototype=g.prototype,new e)}}(),t=C.extend,r=C.merge;C=function(f){function l(){var b=null!==f&&f.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}B(l,f);l.defaultOptions=
+r(b.defaultOptions,{animationLimit:500,tooltip:{pointFormat:"{point.name}: {point.z}"}});return l}(b);t(C.prototype,{type:"mapbubble",getBox:D.prototype.getBox,pointArrayMap:["z"],pointClass:f,setData:D.prototype.setData,setOptions:D.prototype.setOptions,xyFromShape:!0});y.registerSeriesType("mapbubble",C);"";return C});J(b,"Series/Heatmap/HeatmapPoint.js",[b["Mixins/ColorMapSeries.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,f,D){var y=this&&this.__extends||function(){var b=
+function(f,l){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var d in e)e.hasOwnProperty(d)&&(b[d]=e[d])};return b(f,l)};return function(f,l){function g(){this.constructor=f}b(f,l);f.prototype=null===l?Object.create(l):(g.prototype=l.prototype,new g)}}();b=b.colorMapPointMixin;var B=D.clamp,A=D.extend,t=D.pick;f=function(b){function f(){var f=null!==b&&b.apply(this,arguments)||this;f.options=void 0;f.series=void 0;f.value=void 0;f.x=void 0;
+f.y=void 0;return f}y(f,b);f.prototype.applyOptions=function(f,g){f=b.prototype.applyOptions.call(this,f,g);f.formatPrefix=f.isNull||null===f.value?"null":"point";return f};f.prototype.getCellAttributes=function(){var b=this.series,f=b.options,e=(f.colsize||1)/2,d=(f.rowsize||1)/2,p=b.xAxis,r=b.yAxis,y=this.options.marker||b.options.marker;b=b.pointPlacementToXValue();var A=t(this.pointPadding,f.pointPadding,0),C={x1:B(Math.round(p.len-(p.translate(this.x-e,!1,!0,!1,!0,-b)||0)),-p.len,2*p.len),x2:B(Math.round(p.len-
+(p.translate(this.x+e,!1,!0,!1,!0,-b)||0)),-p.len,2*p.len),y1:B(Math.round(r.translate(this.y-d,!1,!0,!1,!0)||0),-r.len,2*r.len),y2:B(Math.round(r.translate(this.y+d,!1,!0,!1,!0)||0),-r.len,2*r.len)};[["width","x"],["height","y"]].forEach(function(b){var d=b[0];b=b[1];var e=b+"1",f=b+"2",c=Math.abs(C[e]-C[f]),g=y&&y.lineWidth||0,a=Math.abs(C[e]+C[f])/2;y[d]&&y[d]<c&&(C[e]=a-y[d]/2-g/2,C[f]=a+y[d]/2+g/2);A&&("y"===b&&(e=f,f=b+"1"),C[e]+=A,C[f]-=A)});return C};f.prototype.haloPath=function(b){if(!b)return[];
+var f=this.shapeArgs;return["M",f.x-b,f.y-b,"L",f.x-b,f.y+f.height+b,f.x+f.width+b,f.y+f.height+b,f.x+f.width+b,f.y-b,"Z"]};f.prototype.isValid=function(){return Infinity!==this.value&&-Infinity!==this.value};return f}(f.seriesTypes.scatter.prototype.pointClass);A(f.prototype,{dataLabelOnNull:b.dataLabelOnNull,moveToTopOnHover:b.moveToTopOnHover});return f});J(b,"Series/Heatmap/HeatmapSeries.js",[b["Mixins/ColorMapSeries.js"],b["Core/Globals.js"],b["Series/Heatmap/HeatmapPoint.js"],b["Mixins/LegendSymbol.js"],
+b["Core/Color/Palette.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,f,D,y,C,A,t,r){var p=this&&this.__extends||function(){var b=function(d,e){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var a in d)d.hasOwnProperty(a)&&(b[a]=d[a])};return b(d,e)};return function(d,e){function c(){this.constructor=d}b(d,e);d.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();
+b=b.colorMapSeriesMixin;var l=A.series,g=A.seriesTypes,e=g.column,d=g.scatter,u=t.prototype.symbols,B=r.extend,I=r.fireEvent,K=r.isNumber,F=r.merge,w=r.pick;t=function(b){function e(){var d=null!==b&&b.apply(this,arguments)||this;d.colorAxis=void 0;d.data=void 0;d.options=void 0;d.points=void 0;d.valueMax=NaN;d.valueMin=NaN;return d}p(e,b);e.prototype.drawPoints=function(){var b=this;if((this.options.marker||{}).enabled||this._hasPointMarkers)l.prototype.drawPoints.call(this),this.points.forEach(function(c){c.graphic&&
+c.graphic[b.chart.styledMode?"css":"animate"](b.colorAttribs(c))})};e.prototype.getExtremes=function(){var b=l.prototype.getExtremes.call(this,this.valueData),c=b.dataMin;b=b.dataMax;K(c)&&(this.valueMin=c);K(b)&&(this.valueMax=b);return l.prototype.getExtremes.call(this)};e.prototype.getValidPoints=function(b,c){return l.prototype.getValidPoints.call(this,b,c,!0)};e.prototype.hasData=function(){return!!this.processedXData.length};e.prototype.init=function(){l.prototype.init.apply(this,arguments);
+var b=this.options;b.pointRange=w(b.pointRange,b.colsize||1);this.yAxis.axisPointRange=b.rowsize||1;B(u,{ellipse:u.circle})};e.prototype.markerAttribs=function(b,c){var d=b.marker||{},a=this.options.marker||{},e=b.shapeArgs||{},f={};if(b.hasImage)return{x:b.plotX,y:b.plotY};if(c){var g=a.states[c]||{};var l=d.states&&d.states[c]||{};[["width","x"],["height","y"]].forEach(function(a){f[a[0]]=(l[a[0]]||g[a[0]]||e[a[0]])+(l[a[0]+"Plus"]||g[a[0]+"Plus"]||0);f[a[1]]=e[a[1]]+(e[a[0]]-f[a[0]])/2})}return c?
+f:e};e.prototype.pointAttribs=function(b,c){var d=l.prototype.pointAttribs.call(this,b,c),a=this.options||{},e=this.chart.options.plotOptions||{},g=e.series||{},m=e.heatmap||{};e=a.borderColor||m.borderColor||g.borderColor;g=a.borderWidth||m.borderWidth||g.borderWidth||d["stroke-width"];d.stroke=b&&b.marker&&b.marker.lineColor||a.marker&&a.marker.lineColor||e||this.color;d["stroke-width"]=g;c&&(b=F(a.states[c],a.marker&&a.marker.states[c],b&&b.options.states&&b.options.states[c]||{}),c=b.brightness,
+d.fill=b.color||f.color(d.fill).brighten(c||0).get(),d.stroke=b.lineColor);return d};e.prototype.setClip=function(b){var c=this.chart;l.prototype.setClip.apply(this,arguments);(!1!==this.options.clip||b)&&this.markerGroup.clip((b||this.clipBox)&&this.sharedClipKey?c.sharedClips[this.sharedClipKey]:c.clipRect)};e.prototype.translate=function(){var b=this.options,c=b.marker&&b.marker.symbol||"",d=u[c]?c:"rect",a=-1!==["circle","square"].indexOf(d);this.generatePoints();this.points.forEach(function(b){var e=
+b.getCellAttributes(),f={};f.x=Math.min(e.x1,e.x2);f.y=Math.min(e.y1,e.y2);f.width=Math.max(Math.abs(e.x2-e.x1),0);f.height=Math.max(Math.abs(e.y2-e.y1),0);var g=b.hasImage=0===(b.marker&&b.marker.symbol||c||"").indexOf("url");if(a){var k=Math.abs(f.width-f.height);f.x=Math.min(e.x1,e.x2)+(f.width<f.height?0:k/2);f.y=Math.min(e.y1,e.y2)+(f.width<f.height?k/2:0);f.width=f.height=Math.min(f.width,f.height)}k={plotX:(e.x1+e.x2)/2,plotY:(e.y1+e.y2)/2,clientX:(e.x1+e.x2)/2,shapeType:"path",shapeArgs:F(!0,
+f,{d:u[d](f.x,f.y,f.width,f.height)})};g&&(b.marker={width:f.width,height:f.height});B(b,k)});I(this,"afterTranslate")};e.defaultOptions=F(d.defaultOptions,{animation:!1,borderWidth:0,nullColor:C.neutralColor3,dataLabels:{formatter:function(){return this.point.value},inside:!0,verticalAlign:"middle",crop:!1,overflow:!1,padding:0},marker:{symbol:"rect",radius:0,lineColor:void 0,states:{hover:{lineWidthPlus:0},select:{}}},clip:!0,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}<br/>"},
+states:{hover:{halo:!1,brightness:.2}}});return e}(d);B(t.prototype,{alignDataLabel:e.prototype.alignDataLabel,axisTypes:b.axisTypes,colorAttribs:b.colorAttribs,colorKey:b.colorKey,directTouch:!0,drawLegendSymbol:y.drawRectangle,getExtremesFromAll:!0,getSymbol:l.prototype.getSymbol,parallelArrays:b.parallelArrays,pointArrayMap:["y","value"],pointClass:D,trackerGroups:b.trackerGroups});A.registerSeriesType("heatmap",t);"";"";return t});J(b,"Extensions/GeoJSON.js",[b["Core/Chart/Chart.js"],b["Core/FormatUtilities.js"],
+b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,f,D,y){function B(b,e){var d,f=!1,g=b.x,l=b.y;b=0;for(d=e.length-1;b<e.length;d=b++){var p=e[b][1]>l;var r=e[d][1]>l;p!==r&&g<(e[d][0]-e[b][0])*(l-e[b][1])/(e[d][1]-e[b][1])+e[b][0]&&(f=!f)}return f}var A=f.format,t=D.win,r=y.error,p=y.extend,l=y.merge;f=y.wrap;"";b.prototype.transformFromLatLon=function(b,e){var d=this.userOptions.chart&&this.userOptions.chart.proj4||t.proj4;if(!d)return r(21,!1,this),{x:0,y:null};b=d(e.crs,[b.lon,b.lat]);d=
+e.cosAngle||e.rotation&&Math.cos(e.rotation);var f=e.sinAngle||e.rotation&&Math.sin(e.rotation);b=e.rotation?[b[0]*d+b[1]*f,-b[0]*f+b[1]*d]:b;return{x:((b[0]-(e.xoffset||0))*(e.scale||1)+(e.xpan||0))*(e.jsonres||1)+(e.jsonmarginX||0),y:(((e.yoffset||0)-b[1])*(e.scale||1)+(e.ypan||0))*(e.jsonres||1)-(e.jsonmarginY||0)}};b.prototype.transformToLatLon=function(b,e){if("undefined"===typeof t.proj4)r(21,!1,this);else{b={x:((b.x-(e.jsonmarginX||0))/(e.jsonres||1)-(e.xpan||0))/(e.scale||1)+(e.xoffset||0),
+y:((-b.y-(e.jsonmarginY||0))/(e.jsonres||1)+(e.ypan||0))/(e.scale||1)+(e.yoffset||0)};var d=e.cosAngle||e.rotation&&Math.cos(e.rotation),f=e.sinAngle||e.rotation&&Math.sin(e.rotation);e=t.proj4(e.crs,"WGS84",e.rotation?{x:b.x*d+b.y*-f,y:b.x*f+b.y*d}:b);return{lat:e.y,lon:e.x}}};b.prototype.fromPointToLatLon=function(b){var e=this.mapTransforms,d;if(e){for(d in e)if(Object.hasOwnProperty.call(e,d)&&e[d].hitZone&&B({x:b.x,y:-b.y},e[d].hitZone.coordinates[0]))return this.transformToLatLon(b,e[d]);return this.transformToLatLon(b,
+e["default"])}r(22,!1,this)};b.prototype.fromLatLonToPoint=function(b){var e=this.mapTransforms,d;if(!e)return r(22,!1,this),{x:0,y:null};for(d in e)if(Object.hasOwnProperty.call(e,d)&&e[d].hitZone){var f=this.transformFromLatLon(b,e[d]);if(B({x:f.x,y:-f.y},e[d].hitZone.coordinates[0]))return f}return this.transformFromLatLon(b,e["default"])};D.geojson=function(b,e,d){var f=[],g=[],l=function(b){b.forEach(function(b,d){0===d?g.push(["M",b[0],-b[1]]):g.push(["L",b[0],-b[1]])})};e=e||"map";b.features.forEach(function(b){var d=
+b.geometry,r=d.type;d=d.coordinates;b=b.properties;var t;g=[];"map"===e||"mapbubble"===e?("Polygon"===r?(d.forEach(l),g.push(["Z"])):"MultiPolygon"===r&&(d.forEach(function(b){b.forEach(l)}),g.push(["Z"])),g.length&&(t={path:g})):"mapline"===e?("LineString"===r?l(d):"MultiLineString"===r&&d.forEach(l),g.length&&(t={path:g})):"mappoint"===e&&"Point"===r&&(t={x:d[0],y:-d[1]});t&&f.push(p(t,{name:b.name||b.NAME,properties:b}))});d&&b.copyrightShort&&(d.chart.mapCredits=A(d.chart.options.credits.mapText,
+{geojson:b}),d.chart.mapCreditsFull=A(d.chart.options.credits.mapTextFull,{geojson:b}));return f};f(b.prototype,"addCredits",function(b,e){e=l(!0,this.options.credits,e);this.mapCredits&&(e.href=null);b.call(this,e);this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})})});J(b,"masters/modules/map.src.js",[b["Core/Globals.js"],b["Core/Chart/MapChart.js"]],function(b,f){b.MapChart=f;b.mapChart=b.Map=f.mapChart;b.maps=f.maps});J(b,"masters/highmaps.src.js",[b["masters/highcharts.src.js"]],
+function(b){b.product="Highmaps";return b});b["masters/highmaps.src.js"]._modules=b;return b["masters/highmaps.src.js"]});
 //# sourceMappingURL=highmaps.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/highmaps.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 157 - 784
node_modules/highcharts/highmaps.src.js


+ 762 - 748
node_modules/highcharts/highstock.js

@@ -1,755 +1,769 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
  (c) 2009-2021 Torstein Honsi
 
  License: www.highcharts.com/license
 */
-(function(W,S){"object"===typeof module&&module.exports?(S["default"]=S,module.exports=W.document?S(W):S):"function"===typeof define&&define.amd?define("highcharts/highstock",function(){return S(W)}):(W.Highcharts&&W.Highcharts.error(16,!0),W.Highcharts=S(W))})("undefined"!==typeof window?window:this,function(W){function S(O,m,a,C){O.hasOwnProperty(m)||(O[m]=C.apply(null,a))}var a={};S(a,"Core/Globals.js",[],function(){var a="undefined"!==typeof W?W:"undefined"!==typeof window?window:{},m=a.document,
-A=a.navigator&&a.navigator.userAgent||"",C=m&&m.createElementNS&&!!m.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,F=/(edge|msie|trident)/i.test(A)&&!a.opera,N=-1!==A.indexOf("Firefox"),E=-1!==A.indexOf("Chrome"),I=N&&4>parseInt(A.split("Firefox/")[1],10),B=function(){};return{product:"Highcharts",version:"9.0.1",deg2rad:2*Math.PI/360,doc:m,hasBidiBug:I,hasTouch:!!a.TouchEvent,isMS:F,isWebKit:-1!==A.indexOf("AppleWebKit"),isFirefox:N,isChrome:E,isSafari:!E&&-1!==A.indexOf("Safari"),
-isTouchDevice:/(Mobile|Android|Windows Phone)/.test(A),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},supportsPassiveEvents:function(){var z=!1;if(!F){var r=Object.defineProperty({},"passive",{get:function(){z=!0}});a.addEventListener&&a.removeEventListener&&(a.addEventListener("testPassive",B,r),a.removeEventListener("testPassive",B,r))}return z}(),symbolSizes:{},svg:C,win:a,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:B,charts:[],dateFormats:{}}});S(a,"Core/Utilities.js",
-[a["Core/Globals.js"]],function(a){function m(f,b,u,R){var t=b?"Highcharts error":"Highcharts warning";32===f&&(f=t+": Deprecated member");var P=r(f),g=P?t+" #"+f+": www.highcharts.com/errors/"+f+"/":f.toString();t=function(){if(b)throw Error(g);d.console&&-1===m.messages.indexOf(g)&&console.warn(g)};if("undefined"!==typeof R){var H="";P&&(g+="?");h(R,function(t,u){H+="\n - "+u+": "+t;P&&(g+=encodeURI(u)+"="+encodeURI(t))});g+=H}u?q(u,"displayError",{code:f,message:g,params:R},t):t();m.messages.push(g)}
-function O(){var f,b=arguments,u={},R=function(t,u){"object"!==typeof t&&(t={});h(u,function(f,D){"__proto__"!==D&&"constructor"!==D&&(!I(f,!0)||z(f)||B(f)?t[D]=u[D]:t[D]=R(t[D]||{},f))});return t};!0===b[0]&&(u=b[1],b=Array.prototype.slice.call(b,2));var t=b.length;for(f=0;f<t;f++)u=R(u,b[f]);return u}function C(f,b){var u={};h(f,function(R,t){if(I(f[t],!0)&&!f.nodeType&&b[t])R=C(f[t],b[t]),Object.keys(R).length&&(u[t]=R);else if(I(f[t])||f[t]!==b[t])u[t]=f[t]});return u}function F(f,b){return parseInt(f,
-b||10)}function N(f){return"string"===typeof f}function E(f){f=Object.prototype.toString.call(f);return"[object Array]"===f||"[object Array Iterator]"===f}function I(f,b){return!!f&&"object"===typeof f&&(!b||!E(f))}function B(f){return I(f)&&"number"===typeof f.nodeType}function z(f){var b=f&&f.constructor;return!(!I(f,!0)||B(f)||!b||!b.name||"Object"===b.name)}function r(f){return"number"===typeof f&&!isNaN(f)&&Infinity>f&&-Infinity<f}function v(f){return"undefined"!==typeof f&&null!==f}function c(f,
-b,u){var R;N(b)?v(u)?f.setAttribute(b,u):f&&f.getAttribute&&((R=f.getAttribute(b))||"class"!==b||(R=f.getAttribute(b+"Name"))):h(b,function(t,u){f.setAttribute(u,t)});return R}function l(f,b){var u;f||(f={});for(u in b)f[u]=b[u];return f}function e(){for(var f=arguments,b=f.length,u=0;u<b;u++){var R=f[u];if("undefined"!==typeof R&&null!==R)return R}}function n(f,b){a.isMS&&!a.svg&&b&&"undefined"!==typeof b.opacity&&(b.filter="alpha(opacity="+100*b.opacity+")");l(f.style,b)}function y(f,d,u,R,t){f=
-b.createElement(f);d&&l(f,d);t&&n(f,{padding:"0",border:"none",margin:"0"});u&&n(f,u);R&&R.appendChild(f);return f}function k(f,b){return parseFloat(f.toPrecision(b||14))}function Q(f,b,u,R){f=+f||0;b=+b;var t=a.defaultOptions.lang,P=(f.toString().split(".")[1]||"").split("e")[0].length,d=f.toString().split("e"),g=b;if(-1===b)b=Math.min(P,20);else if(!r(b))b=2;else if(b&&d[1]&&0>d[1]){var D=b+ +d[1];0<=D?(d[0]=(+d[0]).toExponential(D).split("e")[0],b=D):(d[0]=d[0].split(".")[0]||0,f=20>b?(d[0]*Math.pow(10,
-d[1])).toFixed(b):0,d[1]=0)}var q=(Math.abs(d[1]?d[0]:f)+Math.pow(10,-Math.max(b,P)-1)).toFixed(b);P=String(F(q));D=3<P.length?P.length%3:0;u=e(u,t.decimalPoint);R=e(R,t.thousandsSep);f=(0>f?"-":"")+(D?P.substr(0,D)+R:"");f=0>+d[1]&&!g?"0":f+P.substr(D).replace(/(\d{3})(?=\d)/g,"$1"+R);b&&(f+=u+q.slice(-b));d[1]&&0!==+f&&(f+="e"+d[1]);return f}function w(f,b){if(!f)return b;var u=f.split(".").reverse();if(1===u.length)return b[f];for(f=u.pop();"undefined"!==typeof f&&"undefined"!==typeof b&&null!==
-b;)b=b[f],f=u.pop();return b}function h(f,b,u){for(var d in f)Object.hasOwnProperty.call(f,d)&&b.call(u||f[d],f[d],d,f)}function G(f,b,u){function d(t,u){var b=f.removeEventListener||a.removeEventListenerPolyfill;b&&b.call(f,t,u,!1)}function t(t){var u;if(f.nodeName){if(b){var P={};P[b]=!0}else P=t;h(P,function(f,b){if(t[b])for(u=t[b].length;u--;)d(b,t[b][u].fn)})}}var P="function"===typeof f&&f.prototype||f;if(Object.hasOwnProperty.call(P,"hcEvents")){var g=P.hcEvents;b?(P=g[b]||[],u?(g[b]=P.filter(function(t){return u!==
-t.fn}),d(b,u)):(t(g),g[b]=[])):(t(g),delete P.hcEvents)}}function q(f,d,u,R){u=u||{};if(b.createEvent&&(f.dispatchEvent||f.fireEvent)){var t=b.createEvent("Events");t.initEvent(d,!0,!0);l(t,u);f.dispatchEvent?f.dispatchEvent(t):f.fireEvent(d,t)}else if(f.hcEvents){u.target||l(u,{preventDefault:function(){u.defaultPrevented=!0},target:f,type:d});t=[];for(var P=f,g=!1;P.hcEvents;)Object.hasOwnProperty.call(P,"hcEvents")&&P.hcEvents[d]&&(t.length&&(g=!0),t.unshift.apply(t,P.hcEvents[d])),P=Object.getPrototypeOf(P);
-g&&t.sort(function(t,u){return t.order-u.order});t.forEach(function(t){!1===t.fn.call(f,u)&&u.preventDefault()})}R&&!u.defaultPrevented&&R.call(f,u)}var x=a.charts,b=a.doc,d=a.win;"";(m||(m={})).messages=[];var L;Math.easeInOutSine=function(f){return-.5*(Math.cos(Math.PI*f)-1)};var M=Array.prototype.find?function(f,b){return f.find(b)}:function(f,b){var u,d=f.length;for(u=0;u<d;u++)if(b(f[u],u))return f[u]};h({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(f,b){a[b]=
-function(u){var d;m(32,!1,void 0,(d={},d["Highcharts."+b]="use Array."+f,d));return Array.prototype[f].apply(u,[].slice.call(arguments,1))}});var K,g=function(){var f=Math.random().toString(36).substring(2,9)+"-",b=0;return function(){return"highcharts-"+(K?"":f)+b++}}(),J=a.getOptions=function(){return a.defaultOptions},p=a.setOptions=function(f){a.defaultOptions=O(!0,a.defaultOptions,f);(f.time||f.global)&&a.time.update(O(a.defaultOptions.global,a.defaultOptions.time,f.global,f.time));return a.defaultOptions};
-d.jQuery&&(d.jQuery.fn.highcharts=function(){var f=[].slice.call(arguments);if(this[0])return f[0]?(new (a[N(f[0])?f.shift():"Chart"])(this[0],f[0],f[1]),this):x[c(this[0],"data-highcharts-chart")]});return{addEvent:function(f,b,u,d){void 0===d&&(d={});var t="function"===typeof f&&f.prototype||f;Object.hasOwnProperty.call(t,"hcEvents")||(t.hcEvents={});t=t.hcEvents;a.Point&&f instanceof a.Point&&f.series&&f.series.chart&&(f.series.chart.runTrackerClick=!0);var P=f.addEventListener||a.addEventListenerPolyfill;
-P&&P.call(f,b,u,a.supportsPassiveEvents?{passive:void 0===d.passive?-1!==b.indexOf("touch"):d.passive,capture:!1}:!1);t[b]||(t[b]=[]);t[b].push({fn:u,order:"number"===typeof d.order?d.order:Infinity});t[b].sort(function(t,u){return t.order-u.order});return function(){G(f,b,u)}},arrayMax:function(b){for(var f=b.length,u=b[0];f--;)b[f]>u&&(u=b[f]);return u},arrayMin:function(b){for(var f=b.length,u=b[0];f--;)b[f]<u&&(u=b[f]);return u},attr:c,clamp:function(b,d,u){return b>d?b<u?b:u:d},cleanRecursively:C,
-clearTimeout:function(b){v(b)&&clearTimeout(b)},correctFloat:k,createElement:y,css:n,defined:v,destroyObjectProperties:function(b,d){h(b,function(u,f){u&&u!==d&&u.destroy&&u.destroy();delete b[f]})},discardElement:function(b){L||(L=y("div"));b&&L.appendChild(b);L.innerHTML=""},erase:function(b,d){for(var u=b.length;u--;)if(b[u]===d){b.splice(u,1);break}},error:m,extend:l,extendClass:function(b,d){var u=function(){};u.prototype=new b;l(u.prototype,d);return u},find:M,fireEvent:q,format:function(b,
-d,u){var f="{",t=!1,P=[],g=/f$/,q=/\.([0-9])/,D=a.defaultOptions.lang,p=u&&u.time||a.time;for(u=u&&u.numberFormatter||Q;b;){var e=b.indexOf(f);if(-1===e)break;var h=b.slice(0,e);if(t){h=h.split(":");f=w(h.shift()||"",d);if(h.length&&"number"===typeof f)if(h=h.join(":"),g.test(h)){var x=parseInt((h.match(q)||["","-1"])[1],10);null!==f&&(f=u(f,x,D.decimalPoint,-1<h.indexOf(",")?D.thousandsSep:""))}else f=p.dateFormat(h,f);P.push(f)}else P.push(h);b=b.slice(e+1);f=(t=!t)?"}":"{"}P.push(b);return P.join("")},
-getMagnitude:function(b){return Math.pow(10,Math.floor(Math.log(b)/Math.LN10))},getNestedProperty:w,getOptions:J,getStyle:function(b,g,u){if("width"===g)return g=Math.min(b.offsetWidth,b.scrollWidth),u=b.getBoundingClientRect&&b.getBoundingClientRect().width,u<g&&u>=g-1&&(g=Math.floor(u)),Math.max(0,g-a.getStyle(b,"padding-left")-a.getStyle(b,"padding-right"));if("height"===g)return Math.max(0,Math.min(b.offsetHeight,b.scrollHeight)-a.getStyle(b,"padding-top")-a.getStyle(b,"padding-bottom"));d.getComputedStyle||
-m(27,!0);if(b=d.getComputedStyle(b,void 0))b=b.getPropertyValue(g),e(u,"opacity"!==g)&&(b=F(b));return b},inArray:function(b,d,u){m(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"});return d.indexOf(b,u)},isArray:E,isClass:z,isDOMElement:B,isFunction:function(b){return"function"===typeof b},isNumber:r,isObject:I,isString:N,keys:function(b){m(32,!1,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(b)},merge:O,normalizeTickInterval:function(b,d,u,g,t){var P=b;u=e(u,1);var f=b/
-u;d||(d=t?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===g&&(1===u?d=d.filter(function(t){return 0===t%1}):.1>=u&&(d=[1/u])));for(g=0;g<d.length&&!(P=d[g],t&&P*u>=b||!t&&f<=(d[g]+(d[g+1]||d[g]))/2);g++);return P=k(P*u,-Math.round(Math.log(.001)/Math.LN10))},numberFormat:Q,objectEach:h,offset:function(f){var g=b.documentElement;f=f.parentElement||f.parentNode?f.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:f.top+(d.pageYOffset||g.scrollTop)-(g.clientTop||0),left:f.left+(d.pageXOffset||
-g.scrollLeft)-(g.clientLeft||0),width:f.width,height:f.height}},pad:function(b,d,u){return Array((d||2)+1-String(b).replace("-","").length).join(u||"0")+b},pick:e,pInt:F,relativeLength:function(b,d,u){return/%$/.test(b)?d*parseFloat(b)/100+(u||0):parseFloat(b)},removeEvent:G,setOptions:p,splat:function(b){return E(b)?b:[b]},stableSort:function(b,d){var u=b.length,f,t;for(t=0;t<u;t++)b[t].safeI=t;b.sort(function(t,b){f=d(t,b);return 0===f?t.safeI-b.safeI:f});for(t=0;t<u;t++)delete b[t].safeI},syncTimeout:function(b,
-d,u){if(0<d)return setTimeout(b,d,u);b.call(0,u);return-1},timeUnits:{millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5},uniqueKey:g,useSerialIds:function(b){return K=e(b,K)},wrap:function(b,d,u){var f=b[d];b[d]=function(){var b=Array.prototype.slice.call(arguments),d=arguments,g=this;g.proceed=function(){f.apply(g,arguments.length?arguments:d)};b.unshift(f);b=u.apply(this,b);g.proceed=null;return b}}}});S(a,"Core/Renderer/HTML/AST.js",[a["Core/Globals.js"],
-a["Core/Utilities.js"]],function(a,m){var O=a.SVG_NS,C=m.attr,F=m.createElement,N=m.discardElement,E=m.error,I=m.isString,B=m.objectEach,z=m.splat;"";var r=!1;try{r=!!(new DOMParser).parseFromString("","text/html")}catch(v){}return function(){function v(c){this.nodes="string"===typeof c?this.parseMarkup(c):c}v.filterUserAttributes=function(c){B(c,function(l,e){var n=!0;-1===v.allowedAttributes.indexOf(e)&&(n=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(e)&&(n=I(l)&&v.allowedReferences.some(function(e){return 0===
-l.indexOf(e)}));n||(E("Highcharts warning: Invalid attribute '"+e+"' in config"),delete c[e])});return c};v.setElementHTML=function(c,l){c.innerHTML="";l&&(new v(l)).addToDOM(c)};v.prototype.addToDOM=function(c){function l(e,c){var n;z(e).forEach(function(e){var k=e.tagName,y=e.textContent?a.doc.createTextNode(e.textContent):void 0;if(k)if("#text"===k)var h=y;else if(-1!==v.allowedTags.indexOf(k)){k=a.doc.createElementNS("svg"===k?O:c.namespaceURI||O,k);var G=e.attributes||{};B(e,function(q,e){"tagName"!==
-e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(G[e]=q)});C(k,v.filterUserAttributes(G));y&&k.appendChild(y);l(e.children||[],k);h=k}else E("Highcharts warning: Invalid tagName '"+k+"' in config");h&&c.appendChild(h);n=h});return n}return l(this.nodes,c)};v.prototype.parseMarkup=function(c){var l=[];if(r)c=(new DOMParser).parseFromString(c,"text/html");else{var e=F("div");e.innerHTML=c;c={body:e}}var n=function(e,c){var k=e.nodeName.toLowerCase(),y={tagName:k};if("#text"===k){k=e.textContent||
-"";if(/^[\s]*$/.test(k))return;y.textContent=k}if(k=e.attributes){var h={};[].forEach.call(k,function(e){h[e.name]=e.value});y.attributes=h}if(e.childNodes.length){var G=[];[].forEach.call(e.childNodes,function(e){n(e,G)});G.length&&(y.children=G)}c.push(y)};[].forEach.call(c.body.childNodes,function(e){return n(e,l)});e&&N(e);return l};v.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr ul #text".split(" ");
-v.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 xy y y1 y2 zIndex".split(" ");
-v.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");return v}()});S(a,"Core/Color/Color.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,m){var O=m.isNumber,C=m.merge,F=m.pInt;"";m=function(){function m(E){this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(a){return[F(a[1]),F(a[2]),F(a[3]),parseFloat(a[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(a){return[F(a[1]),
-F(a[2]),F(a[3]),1]}}];this.rgba=[];if(a.Color!==m)return new a.Color(E);if(!(this instanceof m))return new m(E);this.init(E)}m.parse=function(a){return new m(a)};m.prototype.init=function(a){var I,B;if((this.input=a=m.names[a&&a.toLowerCase?a.toLowerCase():""]||a)&&a.stops)this.stops=a.stops.map(function(r){return new m(r[1])});else{if(a&&a.charAt&&"#"===a.charAt()){var z=a.length;a=parseInt(a.substr(1),16);7===z?I=[(a&16711680)>>16,(a&65280)>>8,a&255,1]:4===z&&(I=[(a&3840)>>4|(a&3840)>>8,(a&240)>>
-4|a&240,(a&15)<<4|a&15,1])}if(!I)for(B=this.parsers.length;B--&&!I;){var r=this.parsers[B];(z=r.regex.exec(a))&&(I=r.parse(z))}}this.rgba=I||[]};m.prototype.get=function(a){var m=this.input,B=this.rgba;if("undefined"!==typeof this.stops){var z=C(m);z.stops=[].concat(z.stops);this.stops.forEach(function(r,v){z.stops[v]=[z.stops[v][0],r.get(a)]})}else z=B&&O(B[0])?"rgb"===a||!a&&1===B[3]?"rgb("+B[0]+","+B[1]+","+B[2]+")":"a"===a?B[3]:"rgba("+B.join(",")+")":m;return z};m.prototype.brighten=function(a){var m,
-B=this.rgba;if(this.stops)this.stops.forEach(function(z){z.brighten(a)});else if(O(a)&&0!==a)for(m=0;3>m;m++)B[m]+=F(255*a),0>B[m]&&(B[m]=0),255<B[m]&&(B[m]=255);return this};m.prototype.setOpacity=function(a){this.rgba[3]=a;return this};m.prototype.tweenTo=function(a,m){var B=this.rgba,z=a.rgba;z.length&&B&&B.length?(a=1!==z[3]||1!==B[3],m=(a?"rgba(":"rgb(")+Math.round(z[0]+(B[0]-z[0])*(1-m))+","+Math.round(z[1]+(B[1]-z[1])*(1-m))+","+Math.round(z[2]+(B[2]-z[2])*(1-m))+(a?","+(z[3]+(B[3]-z[3])*(1-
-m)):"")+")"):m=a.input||"none";return m};m.names={white:"#ffffff",black:"#000000"};return m}();a.Color=m;a.color=m.parse;return m});S(a,"Core/Color/Palette.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",neutralColor80:"#333333",neutralColor60:"#666666",neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",
-highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",indicatorPositiveLine:"#06b535",indicatorNegativeLine:"#f21313"}});S(a,"Core/Animation/Fx.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,m){var O=a.win,C=m.isNumber,F=m.objectEach;m=function(){function m(a,m,B){this.pos=NaN;this.options=m;this.elem=a;this.prop=B}m.prototype.dSetter=function(){var a=this.paths,m=a&&a[0];a=a&&a[1];var B=[],z=this.now||
-0;if(1!==z&&m&&a)if(m.length===a.length&&1>z)for(var r=0;r<a.length;r++){for(var v=m[r],c=a[r],l=[],e=0;e<c.length;e++){var n=v[e],y=c[e];C(n)&&C(y)&&("A"!==c[0]||4!==e&&5!==e)?l[e]=n+z*(y-n):l[e]=y}B.push(l)}else B=a;else B=this.toD||[];this.elem.attr("d",B,void 0,!0)};m.prototype.update=function(){var a=this.elem,m=this.prop,B=this.now,z=this.options.step;if(this[m+"Setter"])this[m+"Setter"]();else a.attr?a.element&&a.attr(m,B,null,!0):a.style[m]=B+this.unit;z&&z.call(a,B,this)};m.prototype.run=
-function(a,I,B){var z=this,r=z.options,v=function(e){return v.stopped?!1:z.step(e)},c=O.requestAnimationFrame||function(e){setTimeout(e,13)},l=function(){for(var e=0;e<m.timers.length;e++)m.timers[e]()||m.timers.splice(e--,1);m.timers.length&&c(l)};a!==I||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=a,this.end=I,this.unit=B,this.now=this.start,this.pos=0,v.elem=this.elem,v.prop=this.prop,v()&&1===m.timers.push(v)&&c(l)):(delete r.curAnim[this.prop],r.complete&&0===Object.keys(r.curAnim).length&&
-r.complete.call(this.elem))};m.prototype.step=function(a){var m=+new Date,B=this.options,z=this.elem,r=B.complete,v=B.duration,c=B.curAnim;if(z.attr&&!z.element)a=!1;else if(a||m>=v+this.startTime){this.now=this.end;this.pos=1;this.update();var l=c[this.prop]=!0;F(c,function(e){!0!==e&&(l=!1)});l&&r&&r.call(z);a=!1}else this.pos=B.easing((m-this.startTime)/v),this.now=this.start+(this.end-this.start)*this.pos,this.update(),a=!0;return a};m.prototype.initPath=function(a,m,B){function z(e,c){for(;e.length<
-k;){var h=e[0],n=c[k-e.length];n&&"M"===h[0]&&(e[0]="C"===n[0]?["C",h[1],h[2],h[1],h[2],h[1],h[2]]:["L",h[1],h[2]]);e.unshift(h);l&&e.push(e[e.length-1])}}function r(c,n){for(;c.length<k;)if(n=c[c.length/e-1].slice(),"C"===n[0]&&(n[1]=n[5],n[2]=n[6]),l){var h=c[c.length/e].slice();c.splice(c.length/2,0,n,h)}else c.push(n)}var v=a.startX,c=a.endX;m=m&&m.slice();B=B.slice();var l=a.isArea,e=l?2:1;if(!m)return[B,B];if(v&&c){for(a=0;a<v.length;a++)if(v[a]===c[0]){var n=a;break}else if(v[0]===c[c.length-
-v.length+a]){n=a;var y=!0;break}else if(v[v.length-1]===c[c.length-v.length+a]){n=v.length-a;break}"undefined"===typeof n&&(m=[])}if(m.length&&C(n)){var k=B.length+n*e;y?(z(m,B),r(B,m)):(z(B,m),r(m,B))}return[m,B]};m.prototype.fillSetter=function(){m.prototype.strokeSetter.apply(this,arguments)};m.prototype.strokeSetter=function(){this.elem.attr(this.prop,a.color(this.start).tweenTo(a.color(this.end),this.pos),null,!0)};m.timers=[];return m}();a.Fx=m;a.timers=m.timers;return m});S(a,"Core/Animation/AnimationUtilities.js",
-[a["Core/Animation/Fx.js"],a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,m,A){var O=A.defined,F=A.getStyle,N=A.isArray,E=A.isNumber,I=A.isObject,B=A.merge,z=A.objectEach,r=A.pick;A=m.setAnimation=function(e,c){c.renderer.globalAnimation=r(e,c.options.chart.animation,!0)};var v=m.animObject=function(e){return I(e)?B({duration:500,defer:0},e):{duration:e?500:0,defer:0}},c=m.getDeferredAnimation=function(e,c,y){var k=v(c),n=0,w=0;(y?[y]:e.series).forEach(function(e){e=v(e.options.animation);
-n=c&&O(c.defer)?k.defer:Math.max(n,e.duration+e.defer);w=Math.min(k.duration,e.duration)});e.renderer.forExport&&(n=0);return{defer:Math.max(0,n-w),duration:Math.min(n,w)}},l=m.stop=function(e,c){for(var n=a.timers.length;n--;)a.timers[n].elem!==e||c&&c!==a.timers[n].prop||(a.timers[n].stopped=!0)};return{animate:function(e,c,y){var k,n="",w,h;if(!I(y)){var G=arguments;y={duration:G[2],easing:G[3],complete:G[4]}}E(y.duration)||(y.duration=400);y.easing="function"===typeof y.easing?y.easing:Math[y.easing]||
-Math.easeInOutSine;y.curAnim=B(c);z(c,function(q,x){l(e,x);h=new a(e,y,x);w=null;"d"===x&&N(c.d)?(h.paths=h.initPath(e,e.pathArray,c.d),h.toD=c.d,k=0,w=1):e.attr?k=e.attr(x):(k=parseFloat(F(e,x))||0,"opacity"!==x&&(n="px"));w||(w=q);w&&w.match&&w.match("px")&&(w=w.replace(/px/g,""));h.run(k,w,n)})},animObject:v,getDeferredAnimation:c,setAnimation:A,stop:l}});S(a,"Core/Renderer/SVG/SVGElement.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Renderer/HTML/AST.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],
-a["Core/Color/Palette.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N){var E=a.animate,I=a.animObject,B=a.stop,z=C.deg2rad,r=C.doc,v=C.hasTouch,c=C.noop,l=C.svg,e=C.SVG_NS,n=C.win,y=N.attr,k=N.createElement,Q=N.css,w=N.defined,h=N.erase,G=N.extend,q=N.fireEvent,x=N.isArray,b=N.isFunction,d=N.isNumber,L=N.isString,M=N.merge,K=N.objectEach,g=N.pick,J=N.pInt,p=N.syncTimeout,f=N.uniqueKey;"";a=function(){function H(){this.height=this.element=void 0;this.opacity=1;this.renderer=void 0;this.SVG_NS=e;
-this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ");this.width=void 0}H.prototype._defaultGetter=function(b){b=g(this[b+"Value"],this[b],this.element?this.element.getAttribute(b):null,0);/^[\-0-9\.]+$/.test(b)&&(b=parseFloat(b));return b};H.prototype._defaultSetter=function(b,d,t){t.setAttribute(d,b)};H.prototype.add=function(b){var u=this.renderer,t=this.element;b&&(this.parentGroup=b);this.parentInverted=b&&b.inverted;"undefined"!==typeof this.textStr&&
-"text"===this.element.nodeName&&u.buildText(this);this.added=!0;if(!b||b.handleZ||this.zIndex)var d=this.zIndexSetter();d||(b?b.element:u.box).appendChild(t);if(this.onAdd)this.onAdd();return this};H.prototype.addClass=function(b,d){var t=d?"":this.attr("class")||"";b=(b||"").split(/ /g).reduce(function(b,u){-1===t.indexOf(u)&&b.push(u);return b},t?[t]:[]).join(" ");b!==t&&this.attr("class",b);return this};H.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=
-!1)};H.prototype.align=function(b,d,t){var u,f={};var e=this.renderer;var D=e.alignedObjects;var R,p;if(b){if(this.alignOptions=b,this.alignByTranslate=d,!t||L(t))this.alignTo=u=t||"renderer",h(D,this),D.push(this),t=void 0}else b=this.alignOptions,d=this.alignByTranslate,u=this.alignTo;t=g(t,e[u],e);u=b.align;e=b.verticalAlign;D=(t.x||0)+(b.x||0);var q=(t.y||0)+(b.y||0);"right"===u?R=1:"center"===u&&(R=2);R&&(D+=(t.width-(b.width||0))/R);f[d?"translateX":"x"]=Math.round(D);"bottom"===e?p=1:"middle"===
-e&&(p=2);p&&(q+=(t.height-(b.height||0))/p);f[d?"translateY":"y"]=Math.round(q);this[this.placed?"animate":"attr"](f);this.placed=!0;this.alignAttr=f;return this};H.prototype.alignSetter=function(b){var u={left:"start",center:"middle",right:"end"};u[b]&&(this.alignValue=b,this.element.setAttribute("text-anchor",u[b]))};H.prototype.animate=function(b,d,t){var u=this,f=I(g(d,this.renderer.globalAnimation,!0));d=f.defer;g(r.hidden,r.msHidden,r.webkitHidden,!1)&&(f.duration=0);0!==f.duration?(t&&(f.complete=
-t),p(function(){u.element&&E(u,b,f)},d)):(this.attr(b,void 0,t),K(b,function(b,t){f.step&&f.step.call(this,b,{prop:t,pos:1,elem:this})},this));return this};H.prototype.applyTextOutline=function(b){var u=this.element;-1!==b.indexOf("contrast")&&(b=b.replace(/contrast/g,this.renderer.getContrast(u.style.fill)));var t=b.split(" ");b=t[t.length-1];if((t=t[0])&&"none"!==t&&C.svg){this.fakeTS=!0;this.ySetter=this.xSetter;t=t.replace(/(^[\d\.]+)(.*?)$/g,function(b,t,u){return 2*Number(t)+u});this.removeTextOutline();
-var d=r.createElementNS(e,"tspan");y(d,{"class":"highcharts-text-outline",fill:b,stroke:b,"stroke-width":t,"stroke-linejoin":"round"});[].forEach.call(u.childNodes,function(b){var t=b.cloneNode(!0);t.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(b){return t.removeAttribute(b)});d.appendChild(t)});b=r.createElementNS(e,"tspan");b.textContent="\u200b";y(b,{x:u.getAttribute("x"),y:u.getAttribute("y")});d.appendChild(b);u.insertBefore(d,u.firstChild)}};H.prototype.attr=function(b,
-d,t,f){var u=this.element,P,D=this,g,e,R=this.symbolCustomAttribs;if("string"===typeof b&&"undefined"!==typeof d){var p=b;b={};b[p]=d}"string"===typeof b?D=(this[b+"Getter"]||this._defaultGetter).call(this,b,u):(K(b,function(t,d){g=!1;f||B(this,d);this.symbolName&&-1!==R.indexOf(d)&&(P||(this.symbolAttr(b),P=!0),g=!0);!this.rotation||"x"!==d&&"y"!==d||(this.doTransform=!0);g||(e=this[d+"Setter"]||this._defaultSetter,e.call(this,t,d,u),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(d)&&
-this.updateShadows(d,t,e))},this),this.afterSetters());t&&t.call(this);return D};H.prototype.clip=function(b){return this.attr("clip-path",b?"url("+this.renderer.url+"#"+b.id+")":"none")};H.prototype.crisp=function(b,d){d=d||b.strokeWidth||0;var t=Math.round(d)%2/2;b.x=Math.floor(b.x||this.x||0)+t;b.y=Math.floor(b.y||this.y||0)+t;b.width=Math.floor((b.width||this.width||0)-2*t);b.height=Math.floor((b.height||this.height||0)-2*t);w(b.strokeWidth)&&(b.strokeWidth=d);return b};H.prototype.complexColor=
-function(b,d,t){var u=this.renderer,g,e,D,p,R,h,c,J,k,n,L=[],G;q(this.renderer,"complexColor",{args:arguments},function(){b.radialGradient?e="radialGradient":b.linearGradient&&(e="linearGradient");if(e){D=b[e];R=u.gradients;h=b.stops;k=t.radialReference;x(D)&&(b[e]=D={x1:D[0],y1:D[1],x2:D[2],y2:D[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===e&&k&&!w(D.gradientUnits)&&(p=D,D=M(D,u.getRadialAttr(k,p),{gradientUnits:"userSpaceOnUse"}));K(D,function(b,t){"id"!==t&&L.push(t,b)});K(h,function(b){L.push(b)});
-L=L.join(",");if(R[L])n=R[L].attr("id");else{D.id=n=f();var P=R[L]=u.createElement(e).attr(D).add(u.defs);P.radAttr=p;P.stops=[];h.forEach(function(b){0===b[1].indexOf("rgba")?(g=A.parse(b[1]),c=g.get("rgb"),J=g.get("a")):(c=b[1],J=1);b=u.createElement("stop").attr({offset:b[0],"stop-color":c,"stop-opacity":J}).add(P);P.stops.push(b)})}G="url("+u.url+"#"+n+")";t.setAttribute(d,G);t.gradient=L;b.toString=function(){return G}}})};H.prototype.css=function(b){var d=this.styles,t={},u=this.element,f="",
-g=!d,D=["textOutline","textOverflow","width"];b&&b.color&&(b.fill=b.color);d&&K(b,function(b,u){d&&d[u]!==b&&(t[u]=b,g=!0)});if(g){d&&(b=G(d,t));if(b)if(null===b.width||"auto"===b.width)delete this.textWidth;else if("text"===u.nodeName.toLowerCase()&&b.width)var e=this.textWidth=J(b.width);this.styles=b;e&&!l&&this.renderer.forExport&&delete b.width;if(u.namespaceURI===this.SVG_NS){var p=function(b,t){return"-"+t.toLowerCase()};K(b,function(b,t){-1===D.indexOf(t)&&(f+=t.replace(/([A-Z])/g,p)+":"+
-b+";")});f&&y(u,"style",f)}else Q(u,b);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),b&&b.textOutline&&this.applyTextOutline(b.textOutline))}return this};H.prototype.dashstyleSetter=function(b){var d=this["stroke-width"];"inherit"===d&&(d=1);if(b=b&&b.toLowerCase()){var t=b.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,
-"").split(",");for(b=t.length;b--;)t[b]=""+J(t[b])*g(d,NaN);b=t.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",b)}};H.prototype.destroy=function(){var b=this,d=b.element||{},t=b.renderer,f=t.isSVG&&"SPAN"===d.nodeName&&b.parentGroup||void 0,g=d.ownerSVGElement;d.onclick=d.onmouseout=d.onmouseover=d.onmousemove=d.point=null;B(b);if(b.clipPath&&g){var e=b.clipPath;[].forEach.call(g.querySelectorAll("[clip-path],[CLIP-PATH]"),function(b){-1<b.getAttribute("clip-path").indexOf(e.element.id)&&
-b.removeAttribute("clip-path")});b.clipPath=e.destroy()}if(b.stops){for(g=0;g<b.stops.length;g++)b.stops[g].destroy();b.stops.length=0;b.stops=void 0}b.safeRemoveChild(d);for(t.styledMode||b.destroyShadows();f&&f.div&&0===f.div.childNodes.length;)d=f.parentGroup,b.safeRemoveChild(f.div),delete f.div,f=d;b.alignTo&&h(t.alignedObjects,b);K(b,function(t,d){b[d]&&b[d].parentGroup===b&&b[d].destroy&&b[d].destroy();delete b[d]})};H.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(b){this.safeRemoveChild(b)},
-this);this.shadows=void 0};H.prototype.destroyTextPath=function(b,d){var t=b.getElementsByTagName("text")[0];if(t){if(t.removeAttribute("dx"),t.removeAttribute("dy"),d.element.setAttribute("id",""),this.textPathWrapper&&t.getElementsByTagName("textPath").length){for(b=this.textPathWrapper.element.childNodes;b.length;)t.appendChild(b[0]);t.removeChild(this.textPathWrapper.element)}}else if(b.getAttribute("dx")||b.getAttribute("dy"))b.removeAttribute("dx"),b.removeAttribute("dy");this.textPathWrapper&&
-(this.textPathWrapper=this.textPathWrapper.destroy())};H.prototype.dSetter=function(b,d,t){x(b)&&("string"===typeof b[0]&&(b=this.renderer.pathToSegments(b)),this.pathArray=b,b=b.reduce(function(b,t,d){return t&&t.join?(d?b+" ":"")+t.join(" "):(t||"").toString()},""));/(NaN| {2}|^$)/.test(b)&&(b="M 0 0");this[d]!==b&&(t.setAttribute(d,b),this[d]=b)};H.prototype.fadeOut=function(b){var d=this;d.animate({opacity:0},{duration:g(b,150),complete:function(){d.attr({y:-9999}).hide()}})};H.prototype.fillSetter=
-function(b,d,t){"string"===typeof b?t.setAttribute(d,b):b&&this.complexColor(b,d,t)};H.prototype.getBBox=function(d,f){var t,P=this.renderer,u=this.element,e=this.styles,D=this.textStr,p=P.cache,q=P.cacheKeys,h=u.namespaceURI===this.SVG_NS;f=g(f,this.rotation,0);var R=P.styledMode?u&&H.prototype.getStyle.call(u,"font-size"):e&&e.fontSize;if(w(D)){var c=D.toString();-1===c.indexOf("<")&&(c=c.replace(/[0-9]/g,"0"));c+=["",f,R,this.textWidth,e&&e.textOverflow,e&&e.fontWeight].join()}c&&!d&&(t=p[c]);
-if(!t){if(h||P.forExport){try{var x=this.fakeTS&&function(b){var t=u.querySelector(".highcharts-text-outline");t&&Q(t,{display:b})};b(x)&&x("none");t=u.getBBox?G({},u.getBBox()):{width:u.offsetWidth,height:u.offsetHeight};b(x)&&x("")}catch(ca){""}if(!t||0>t.width)t={width:0,height:0}}else t=this.htmlGetBBox();P.isSVG&&(d=t.width,P=t.height,h&&(t.height=P={"11px,17":14,"13px,20":16}[e&&e.fontSize+","+Math.round(P)]||P),f&&(e=f*z,t.width=Math.abs(P*Math.sin(e))+Math.abs(d*Math.cos(e)),t.height=Math.abs(P*
-Math.cos(e))+Math.abs(d*Math.sin(e))));if(c&&0<t.height){for(;250<q.length;)delete p[q.shift()];p[c]||q.push(c);p[c]=t}}return t};H.prototype.getStyle=function(b){return n.getComputedStyle(this.element||this,"").getPropertyValue(b)};H.prototype.hasClass=function(b){return-1!==(""+this.attr("class")).split(" ").indexOf(b)};H.prototype.hide=function(b){b?this.attr({y:-9999}):this.attr({visibility:"hidden"});return this};H.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};H.prototype.init=
-function(b,d){this.element="span"===d?k(d):r.createElementNS(this.SVG_NS,d);this.renderer=b;q(this,"afterInit")};H.prototype.invert=function(b){this.inverted=b;this.updateTransform();return this};H.prototype.on=function(b,d){var t,f,g=this.element,u;v&&"click"===b?(g.ontouchstart=function(b){t=b.touches[0].clientX;f=b.touches[0].clientY},g.ontouchend=function(b){t&&4<=Math.sqrt(Math.pow(t-b.changedTouches[0].clientX,2)+Math.pow(f-b.changedTouches[0].clientY,2))||d.call(g,b);u=!0;!1!==b.cancelable&&
-b.preventDefault()},g.onclick=function(b){u||d.call(g,b)}):g["on"+b]=d;return this};H.prototype.opacitySetter=function(b,d,t){this.opacity=b=Number(Number(b).toFixed(3));t.setAttribute(d,b)};H.prototype.removeClass=function(b){return this.attr("class",(""+this.attr("class")).replace(L(b)?new RegExp("(^| )"+b+"( |$)"):b," ").replace(/ +/g," ").trim())};H.prototype.removeTextOutline=function(){var b=this.element.querySelector("tspan.highcharts-text-outline");b&&this.safeRemoveChild(b)};H.prototype.safeRemoveChild=
-function(b){var d=b.parentNode;d&&d.removeChild(b)};H.prototype.setRadialReference=function(b){var d=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=b;d&&d.radAttr&&d.animate(this.renderer.getRadialAttr(b,d.radAttr));return this};H.prototype.setTextPath=function(b,g){var t=this.element,P=this.text?this.text.element:t,e={textAnchor:"text-anchor"},u=!1,D=this.textPathWrapper,p=!D;g=M(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},
-g);var q=m.filterUserAttributes(g.attributes);if(b&&g&&g.enabled){D&&null===D.element.parentNode?(p=!0,D=D.destroy()):D&&this.removeTextOutline.call(D.parentGroup);this.options&&this.options.padding&&(q.dx=-this.options.padding);D||(this.textPathWrapper=D=this.renderer.createElement("textPath"),u=!0);var h=D.element;(g=b.element.getAttribute("id"))||b.element.setAttribute("id",g=f());if(p)for(P.setAttribute("y",0),d(q.dx)&&P.setAttribute("x",-q.dx),b=[].slice.call(P.childNodes),p=0;p<b.length;p++){var x=
-b[p];x.nodeType!==Node.TEXT_NODE&&"tspan"!==x.nodeName||h.appendChild(x)}u&&D&&D.add({element:P});h.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+g);w(q.dy)&&(h.parentNode.setAttribute("dy",q.dy),delete q.dy);w(q.dx)&&(h.parentNode.setAttribute("dx",q.dx),delete q.dx);K(q,function(b,t){h.setAttribute(e[t]||t,b)});t.removeAttribute("transform");this.removeTextOutline.call(D);this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0});this.applyTextOutline=
-this.updateTransform=c}else D&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(t,b),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this};H.prototype.shadow=function(b,d,t){var f=[],g=this.element,e=!1,D=this.oldShadowOptions;var u={color:F.neutralColor100,offsetX:1,offsetY:1,opacity:.15,width:3};var p;!0===b?p=u:"object"===typeof b&&(p=G(u,b));p&&(p&&D&&K(p,function(b,t){b!==D[t]&&(e=!0)}),e&&
-this.destroyShadows(),this.oldShadowOptions=p);if(!p)this.destroyShadows();else if(!this.shadows){var q=p.opacity/p.width;var h=this.parentInverted?"translate(-1,-1)":"translate("+p.offsetX+", "+p.offsetY+")";for(u=1;u<=p.width;u++){var c=g.cloneNode(!1);var x=2*p.width+1-2*u;y(c,{stroke:b.color||F.neutralColor100,"stroke-opacity":q*u,"stroke-width":x,transform:h,fill:"none"});c.setAttribute("class",(c.getAttribute("class")||"")+" highcharts-shadow");t&&(y(c,"height",Math.max(y(c,"height")-x,0)),
-c.cutHeight=x);d?d.element.appendChild(c):g.parentNode&&g.parentNode.insertBefore(c,g);f.push(c)}this.shadows=f}return this};H.prototype.show=function(b){return this.attr({visibility:b?"inherit":"visible"})};H.prototype.strokeSetter=function(b,d,t){this[d]=b;this.stroke&&this["stroke-width"]?(H.prototype.fillSetter.call(this,this.stroke,"stroke",t),t.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===d&&0===b&&this.hasStroke?(t.removeAttribute("stroke"),this.hasStroke=
-!1):this.renderer.styledMode&&this["stroke-width"]&&(t.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)};H.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var b=this.getStyle("stroke-width"),d=0;if(b.indexOf("px")===b.length-2)d=J(b);else if(""!==b){var t=r.createElementNS(e,"rect");y(t,{width:b,"stroke-width":0});this.element.parentNode.appendChild(t);d=t.getBBox().width;t.parentNode.removeChild(t)}return d};H.prototype.symbolAttr=
-function(b){var d=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(t){d[t]=g(b[t],d[t])});d.attr({d:d.renderer.symbols[d.symbolName](d.x,d.y,d.width,d.height,d)})};H.prototype.textSetter=function(b){b!==this.textStr&&(delete this.textPxLength,this.textStr=b,this.added&&this.renderer.buildText(this))};H.prototype.titleSetter=function(b){var d=this.element,t=d.getElementsByTagName("title")[0]||r.createElementNS(this.SVG_NS,"title");d.insertBefore?d.insertBefore(t,
-d.firstChild):d.appendChild(t);t.textContent=String(g(b,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")};H.prototype.toFront=function(){var b=this.element;b.parentNode.appendChild(b);return this};H.prototype.translate=function(b,d){return this.attr({translateX:b,translateY:d})};H.prototype.updateShadows=function(b,d,t){var f=this.shadows;if(f)for(var g=f.length;g--;)t.call(f[g],"height"===b?Math.max(d-(f[g].cutHeight||0),0):"d"===b?this.d:d,b,f[g])};H.prototype.updateTransform=
-function(){var b=this.translateX||0,d=this.translateY||0,t=this.scaleX,f=this.scaleY,e=this.inverted,p=this.rotation,D=this.matrix,q=this.element;e&&(b+=this.width,d+=this.height);b=["translate("+b+","+d+")"];w(D)&&b.push("matrix("+D.join(",")+")");e?b.push("rotate(90) scale(-1,1)"):p&&b.push("rotate("+p+" "+g(this.rotationOriginX,q.getAttribute("x"),0)+" "+g(this.rotationOriginY,q.getAttribute("y")||0)+")");(w(t)||w(f))&&b.push("scale("+g(t,1)+" "+g(f,1)+")");b.length&&q.setAttribute("transform",
-b.join(" "))};H.prototype.visibilitySetter=function(b,d,t){"inherit"===b?t.removeAttribute(d):this[d]!==b&&t.setAttribute(d,b);this[d]=b};H.prototype.xGetter=function(b){"circle"===this.element.nodeName&&("x"===b?b="cx":"y"===b&&(b="cy"));return this._defaultGetter(b)};H.prototype.zIndexSetter=function(b,d){var t=this.renderer,f=this.parentGroup,g=(f||t).element||t.box,e=this.element,D=!1;t=g===t.box;var p=this.added;var q;w(b)?(e.setAttribute("data-z-index",b),b=+b,this[d]===b&&(p=!1)):w(this[d])&&
-e.removeAttribute("data-z-index");this[d]=b;if(p){(b=this.zIndex)&&f&&(f.handleZ=!0);d=g.childNodes;for(q=d.length-1;0<=q&&!D;q--){f=d[q];p=f.getAttribute("data-z-index");var h=!w(p);if(f!==e)if(0>b&&h&&!t&&!q)g.insertBefore(e,d[q]),D=!0;else if(J(p)<=b||h&&(!w(b)||0<=b))g.insertBefore(e,d[q+1]||null),D=!0}D||(g.insertBefore(e,d[t?3:0]||null),D=!0)}return D};return H}();a.prototype["stroke-widthSetter"]=a.prototype.strokeSetter;a.prototype.yGetter=a.prototype.xGetter;a.prototype.matrixSetter=a.prototype.rotationOriginXSetter=
-a.prototype.rotationOriginYSetter=a.prototype.rotationSetter=a.prototype.scaleXSetter=a.prototype.scaleYSetter=a.prototype.translateXSetter=a.prototype.translateYSetter=a.prototype.verticalAlignSetter=function(b,d){this[d]=b;this.doTransform=!0};C.SVGElement=a;return C.SVGElement});S(a,"Core/Renderer/SVG/SVGLabel.js",[a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,m){function A(r,v){E(r)?r!==this[v]&&(this[v]=r,this.updateTextPadding()):this[v]=void 0}var C=this&&this.__extends||
-function(){var r=function(v,c){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,e){c.__proto__=e}||function(c,e){for(var n in e)e.hasOwnProperty(n)&&(c[n]=e[n])};return r(v,c)};return function(v,c){function l(){this.constructor=v}r(v,c);v.prototype=null===c?Object.create(c):(l.prototype=c.prototype,new l)}}(),F=m.defined,O=m.extend,E=m.isNumber,I=m.merge,B=m.pick,z=m.removeEvent;return function(r){function v(c,l,e,n,y,k,Q,w,h,G){var q=r.call(this)||this;q.paddingSetter=A;q.paddingLeftSetter=
-A;q.paddingRightSetter=A;q.init(c,"g");q.textStr=l;q.x=e;q.y=n;q.anchorX=k;q.anchorY=Q;q.baseline=h;q.className=G;"button"!==G&&q.addClass("highcharts-label");G&&q.addClass("highcharts-"+G);q.text=c.text("",0,0,w).attr({zIndex:1});if("string"===typeof y){var x=/^url\((.*?)\)$/.test(y);if(q.renderer.symbols[y]||x)q.symbolKey=y}q.bBox=v.emptyBBox;q.padding=3;q.baselineOffset=0;q.needsBox=c.styledMode||x;q.deferredAttr={};q.alignFactor=0;return q}C(v,r);v.prototype.alignSetter=function(c){c={left:0,
-center:.5,right:1}[c];c!==this.alignFactor&&(this.alignFactor=c,this.bBox&&E(this.xSetting)&&this.attr({x:this.xSetting}))};v.prototype.anchorXSetter=function(c,l){this.anchorX=c;this.boxAttr(l,Math.round(c)-this.getCrispAdjust()-this.xSetting)};v.prototype.anchorYSetter=function(c,l){this.anchorY=c;this.boxAttr(l,c-this.ySetting)};v.prototype.boxAttr=function(c,l){this.box?this.box.attr(c,l):this.deferredAttr[c]=l};v.prototype.css=function(c){if(c){var l={};c=I(c);v.textProps.forEach(function(e){"undefined"!==
-typeof c[e]&&(l[e]=c[e],delete c[e])});this.text.css(l);var e="width"in l;"fontSize"in l||"fontWeight"in l?this.updateTextPadding():e&&this.updateBoxSize()}return a.prototype.css.call(this,c)};v.prototype.destroy=function(){z(this.element,"mouseenter");z(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());a.prototype.destroy.call(this)};v.prototype.fillSetter=function(c,l){c&&(this.needsBox=!0);this.fill=c;this.boxAttr(l,c)};v.prototype.getBBox=function(){var c=
-this.bBox,l=this.padding,e=B(this.paddingLeft,l);return{width:this.width,height:this.height,x:c.x-e,y:c.y-l}};v.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};v.prototype.heightSetter=function(c){this.heightSetting=c};v.prototype.on=function(c,l){var e=this,n=e.text,y=n&&"SPAN"===n.element.tagName?n:void 0;if(y){var k=function(k){("mouseenter"===c||"mouseleave"===c)&&k.relatedTarget instanceof
-Element&&(e.element.compareDocumentPosition(k.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY||y.element.compareDocumentPosition(k.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||l.call(e.element,k)};y.on(c,k)}a.prototype.on.call(e,c,k||l);return e};v.prototype.onAdd=function(){var c=this.textStr;this.text.add(this);this.attr({text:F(c)?c:"",x:this.x,y:this.y});this.box&&F(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};v.prototype.rSetter=function(c,l){this.boxAttr(l,
-c)};v.prototype.shadow=function(c){c&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(c));return this};v.prototype.strokeSetter=function(c,l){this.stroke=c;this.boxAttr(l,c)};v.prototype["stroke-widthSetter"]=function(c,l){c&&(this.needsBox=!0);this["stroke-width"]=c;this.boxAttr(l,c)};v.prototype["text-alignSetter"]=function(c){this.textAlign=c};v.prototype.textSetter=function(c){"undefined"!==typeof c&&this.text.attr({text:c});this.updateTextPadding()};v.prototype.updateBoxSize=
-function(){var c=this.text.element.style,l={},e=this.padding,n=this.bBox=E(this.widthSetting)&&E(this.heightSetting)&&!this.textAlign||!F(this.text.textStr)?v.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||n.height||0)+2*e;this.baselineOffset=e+Math.min(this.renderer.fontMetrics(c&&c.fontSize,this.text).b,n.height||Infinity);this.needsBox&&(this.box||(c=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),c.addClass(("button"===
-this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),c.add(this)),c=this.getCrispAdjust(),l.x=c,l.y=(this.baseline?-this.baselineOffset:0)+c,l.width=Math.round(this.width),l.height=Math.round(this.height),this.box.attr(O(l,this.deferredAttr)),this.deferredAttr={})};v.prototype.updateTextPadding=function(){var c=this.text;this.updateBoxSize();var l=this.baseline?0:this.baselineOffset,e=B(this.paddingLeft,this.padding);F(this.widthSetting)&&this.bBox&&
-("center"===this.textAlign||"right"===this.textAlign)&&(e+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(e!==c.x||l!==c.y)c.attr("x",e),c.hasBoxWidthChanged&&(this.bBox=c.getBBox(!0)),"undefined"!==typeof l&&c.attr("y",l);c.x=e;c.y=l};v.prototype.widthSetter=function(c){this.widthSetting=E(c)?c:void 0};v.prototype.getPaddedWidth=function(){var c=this.padding,l=B(this.paddingLeft,c);c=B(this.paddingRight,c);return(this.widthSetting||this.bBox.width||0)+l+c};v.prototype.xSetter=
-function(c){this.x=c;this.alignFactor&&(c-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(c);this.attr("translateX",this.xSetting)};v.prototype.ySetter=function(c){this.ySetting=this.y=Math.round(c);this.attr("translateY",this.ySetting)};v.emptyBBox={width:0,height:0,x:0,y:0};v.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return v}(a)});S(a,"Core/Renderer/SVG/TextBuilder.js",
-[a["Core/Globals.js"],a["Core/Utilities.js"],a["Core/Renderer/HTML/AST.js"]],function(a,m,A){var C=a.doc,F=a.SVG_NS,O=m.attr,E=m.isString,I=m.objectEach,B=m.pick;return function(){function a(r){var a=r.styles;this.renderer=r.renderer;this.svgElement=r;this.width=r.textWidth;this.textLineHeight=a&&a.lineHeight;this.textOutline=a&&a.textOutline;this.ellipsis=!(!a||"ellipsis"!==a.textOverflow);this.noWrap=!(!a||"nowrap"!==a.whiteSpace);this.fontSize=a&&a.fontSize}a.prototype.buildSVG=function(){var r=
-this.svgElement,a=r.element,c=r.renderer,l=B(r.textStr,"").toString(),e=-1!==l.indexOf("<"),n=a.childNodes,y=n.length;c=this.width&&!r.added&&c.box;var k=/<br.*?>/g;var Q=[l,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(Q!==r.textCache){r.textCache=Q;for(delete r.actualWidth;y--;)a.removeChild(n[y]);e||this.ellipsis||this.width||-1!==l.indexOf(" ")&&(!this.noWrap||k.test(l))?""!==l&&(c&&c.appendChild(a),l=new A(l),this.modifyTree(l.nodes),l.addToDOM(r.element),
-this.modifyDOM(),this.ellipsis&&-1!==(a.textContent||"").indexOf("\u2026")&&r.attr("title",this.unescapeEntities(r.textStr||"",["&lt;","&gt;"])),c&&c.removeChild(a)):a.appendChild(C.createTextNode(this.unescapeEntities(l)));E(this.textOutline)&&r.applyTextOutline&&r.applyTextOutline(this.textOutline)}};a.prototype.modifyDOM=function(){var a=this,v=this.svgElement,c=O(v.element,"x");[].forEach.call(v.element.querySelectorAll("tspan.highcharts-br"),function(e){e.nextSibling&&e.previousSibling&&O(e,
-{dy:a.getLineHeight(e.nextSibling),x:c})});var l=this.width||0;if(l){var e=function(e,k){var n=e.textContent||"",y=n.replace(/([^\^])-/g,"$1- ").split(" "),h=!a.noWrap&&(1<y.length||1<v.element.childNodes.length),G=a.getLineHeight(k),q=0,x=v.actualWidth;if(a.ellipsis)n&&a.truncate(e,n,void 0,0,Math.max(0,l-parseInt(a.fontSize||12,10)),function(b,d){return b.substring(0,d)+"\u2026"});else if(h){n=[];for(h=[];k.firstChild&&k.firstChild!==e;)h.push(k.firstChild),k.removeChild(k.firstChild);for(;y.length;)y.length&&
-!a.noWrap&&0<q&&(n.push(e.textContent||""),e.textContent=y.join(" ").replace(/- /g,"-")),a.truncate(e,void 0,y,0===q?x||0:0,l,function(b,d){return y.slice(0,d).join(" ").replace(/- /g,"-")}),x=v.actualWidth,q++;h.forEach(function(b){k.insertBefore(b,e)});n.forEach(function(b){k.insertBefore(C.createTextNode(b),e);b=C.createElementNS(F,"tspan");b.textContent="\u200b";O(b,{dy:G,x:c});k.insertBefore(b,e)})}},n=function(c){[].slice.call(c.childNodes).forEach(function(k){k.nodeType===Node.TEXT_NODE?e(k,
-c):(-1!==k.className.baseVal.indexOf("highcharts-br")&&(v.actualWidth=0),n(k))})};n(v.element)}};a.prototype.getLineHeight=function(a){var r;a=a.nodeType===Node.TEXT_NODE?a.parentElement:a;this.renderer.styledMode||(r=a&&/(px|em)$/.test(a.style.fontSize)?a.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(r,a||this.svgElement.element).h};a.prototype.modifyTree=function(a){var r=this,c=function(l,
-e){var n=l.tagName,y=r.renderer.styledMode,k=l.attributes||{};if("b"===n||"strong"===n)y?k["class"]="highcharts-strong":k.style="font-weight:bold;"+(k.style||"");else if("i"===n||"em"===n)y?k["class"]="highcharts-emphasized":k.style="font-style:italic;"+(k.style||"");E(k.style)&&(k.style=k.style.replace(/(;| |^)color([ :])/,"$1fill$2"));"br"===n&&(k["class"]="highcharts-br",l.textContent="\u200b",(e=a[e+1])&&e.textContent&&(e.textContent=e.textContent.replace(/^ +/gm,"")));"#text"!==n&&"a"!==n&&(l.tagName=
-"tspan");l.attributes=k;l.children&&l.children.filter(function(e){return"#text"!==e.tagName}).forEach(c)};for(a.forEach(c);a[0]&&"tspan"===a[0].tagName&&!a[0].children;)a.splice(0,1)};a.prototype.truncate=function(a,v,c,l,e,n){var y=this.svgElement,k=y.renderer,Q=y.rotation,w=[],h=c?1:0,G=(v||c||"").length,q=G,x,b=function(b,d){d=d||b;var e=a.parentNode;if(e&&"undefined"===typeof w[d])if(e.getSubStringLength)try{w[d]=l+e.getSubStringLength(0,c?d+1:d)}catch(g){""}else k.getSpanWidth&&(a.textContent=
-n(v||c,b),w[d]=l+k.getSpanWidth(y,a));return w[d]};y.rotation=0;var d=b(a.textContent.length);if(l+d>e){for(;h<=G;)q=Math.ceil((h+G)/2),c&&(x=n(c,q)),d=b(q,x&&x.length-1),h===G?h=G+1:d>e?G=q-1:h=q;0===G?a.textContent="":v&&G===v.length-1||(a.textContent=x||n(v||c,q))}c&&c.splice(0,q);y.actualWidth=d;y.rotation=Q};a.prototype.unescapeEntities=function(a,v){I(this.renderer.escapes,function(c,l){v&&-1!==v.indexOf(c)||(a=a.toString().replace(new RegExp(c,"g"),l))});return a};return a}()});S(a,"Core/Renderer/SVG/SVGRenderer.js",
-[a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Color/Palette.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Renderer/SVG/SVGLabel.js"],a["Core/Renderer/HTML/AST.js"],a["Core/Renderer/SVG/TextBuilder.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N,E,I){var B=I.addEvent,z=I.attr,r=I.createElement,v=I.css,c=I.defined,l=I.destroyObjectProperties,e=I.extend,n=I.isArray,y=I.isNumber,k=I.isObject,Q=I.isString,w=I.merge,h=I.pick,G=I.pInt,q=I.uniqueKey,x=m.charts,b=m.deg2rad,d=m.doc,L=m.isFirefox,
-M=m.isMS,K=m.isWebKit;I=m.noop;var g=m.SVG_NS,J=m.symbolSizes,p=m.win,f,H=function(){function g(b,d,g,f,e,D,p){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(b,d,g,f,e,D,p)}g.prototype.init=function(b,t,g,f,e,D,q){var P=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"});q||P.css(this.getStyle(f));f=P.element;
-b.appendChild(f);z(b,"dir","ltr");-1===b.innerHTML.indexOf("xmlns")&&z(f,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=f;this.boxWrapper=P;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(d.createTextNode("Created with Highcharts 9.0.1"));this.defs=this.createElement("defs").add();this.allowHTML=D;this.forExport=e;this.styledMode=q;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(t,g,!1);var h;L&&b.getBoundingClientRect&&
-(t=function(){v(b,{left:0,top:0});h=b.getBoundingClientRect();v(b,{left:Math.ceil(h.left)-h.left+"px",top:Math.ceil(h.top)-h.top+"px"})},t(),this.unSubPixelFix=B(p,"resize",t))};g.prototype.definition=function(b){return(new N([b])).addToDOM(this.defs.element)};g.prototype.getReferenceURL=function(){if((L||K)&&d.getElementsByTagName("base").length){if(!c(f)){var b=q();b=(new N([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:b},children:[{tagName:"rect",
-attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+b+")",fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(d.body);v(b,{position:"fixed",top:0,left:0,zIndex:9E5});var t=d.elementFromPoint(6,6);f="hitme"===(t&&t.id);d.body.removeChild(b)}if(f)return p.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};g.prototype.getStyle=function(b){return this.style=e({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',
-fontSize:"12px"},b)};g.prototype.setStyle=function(b){this.boxWrapper.css(this.getStyle(b))};g.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};g.prototype.destroy=function(){var b=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();l(this.gradients||{});this.gradients=null;b&&(this.defs=b.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};g.prototype.createElement=function(b){var d=new this.Element;d.init(this,b);return d};g.prototype.getRadialAttr=
-function(b,d){return{cx:b[0]-b[2]/2+d.cx*b[2],cy:b[1]-b[2]/2+d.cy*b[2],r:d.r*b[2]}};g.prototype.buildText=function(b){(new E(b)).buildSVG()};g.prototype.getContrast=function(b){b=a.parse(b).rgba;b[0]*=1;b[1]*=1.2;b[2]*=.5;return 459<b[0]+b[1]+b[2]?"#000000":"#FFFFFF"};g.prototype.button=function(b,d,g,f,p,D,q,h,c,u){var t=this.label(b,d,g,c,void 0,void 0,u,void 0,"button"),P=0,x=this.styledMode,J=p?w(p):{};b=J&&J.style||{};J=N.filterUserAttributes(J);t.attr(w({padding:8,r:2},J));if(!x){J=w({fill:A.neutralColor3,
-stroke:A.neutralColor20,"stroke-width":1,style:{color:A.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:b},J);var k=J.style;delete J.style;D=w(J,{fill:A.neutralColor10},N.filterUserAttributes(D||{}));var n=D.style;delete D.style;q=w(J,{fill:A.highlightColor10,style:{color:A.neutralColor100,fontWeight:"bold"}},N.filterUserAttributes(q||{}));var L=q.style;delete q.style;h=w(J,{style:{color:A.neutralColor20}},N.filterUserAttributes(h||{}));var T=h.style;delete h.style}B(t.element,M?"mouseover":
-"mouseenter",function(){3!==P&&t.setState(1)});B(t.element,M?"mouseout":"mouseleave",function(){3!==P&&t.setState(P)});t.setState=function(b){1!==b&&(t.state=P=b);t.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][b||0]);x||t.attr([J,D,q,h][b||0]).css([k,n,L,T][b||0])};x||t.attr(J).css(e({cursor:"default"},k));return t.on("click",function(b){3!==P&&f.call(t,b)})};g.prototype.crispLine=function(b,d,g){void 0===g&&
-(g="round");var t=b[0],f=b[1];t[1]===f[1]&&(t[1]=f[1]=Math[g](t[1])-d%2/2);t[2]===f[2]&&(t[2]=f[2]=Math[g](t[2])+d%2/2);return b};g.prototype.path=function(b){var d=this.styledMode?{}:{fill:"none"};n(b)?d.d=b:k(b)&&e(d,b);return this.createElement("path").attr(d)};g.prototype.circle=function(b,d,g){b=k(b)?b:"undefined"===typeof b?{}:{x:b,y:d,r:g};d=this.createElement("circle");d.xSetter=d.ySetter=function(b,d,t){t.setAttribute("c"+d,b)};return d.attr(b)};g.prototype.arc=function(b,d,g,f,e,D){k(b)?
-(f=b,d=f.y,g=f.r,b=f.x):f={innerR:f,start:e,end:D};b=this.symbol("arc",b,d,g,g,f);b.r=g;return b};g.prototype.rect=function(b,d,g,f,e,D){e=k(b)?b.r:e;var t=this.createElement("rect");b=k(b)?b:"undefined"===typeof b?{}:{x:b,y:d,width:Math.max(g,0),height:Math.max(f,0)};this.styledMode||("undefined"!==typeof D&&(b.strokeWidth=D,b=t.crisp(b)),b.fill="none");e&&(b.r=e);t.rSetter=function(b,d,g){t.r=b;z(g,{rx:b,ry:b})};t.rGetter=function(){return t.r};return t.attr(b)};g.prototype.setSize=function(b,d,
-g){var t=this.alignedObjects,f=t.length;this.width=b;this.height=d;for(this.boxWrapper.animate({width:b,height:d},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:h(g,!0)?void 0:0});f--;)t[f].align()};g.prototype.g=function(b){var d=this.createElement("g");return b?d.attr({"class":"highcharts-"+b}):d};g.prototype.image=function(b,d,g,f,q,D){var t={preserveAspectRatio:"none"},P=function(b,d){b.setAttributeNS?b.setAttributeNS("http://www.w3.org/1999/xlink",
-"href",d):b.setAttribute("hc-svg-href",d)},h=function(d){P(c.element,b);D.call(c,d)};1<arguments.length&&e(t,{x:d,y:g,width:f,height:q});var c=this.createElement("image").attr(t);D?(P(c.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),t=new p.Image,B(t,"load",h),t.src=b,t.complete&&h({})):P(c.element,b);return c};g.prototype.symbol=function(b,t,g,f,p,D){var P=this,q=/^url\((.*?)\)$/,u=q.test(b),k=!u&&(this.symbols[b]?b:"circle"),n=k&&this.symbols[k],M;if(n){"number"===
-typeof t&&(M=n.call(this.symbols,Math.round(t||0),Math.round(g||0),f||0,p||0,D));var L=this.path(M);P.styledMode||L.attr("fill","none");e(L,{symbolName:k,x:t,y:g,width:f,height:p});D&&e(L,D)}else if(u){var G=b.match(q)[1];L=this.image(G);L.imgwidth=h(J[G]&&J[G].width,D&&D.width);L.imgheight=h(J[G]&&J[G].height,D&&D.height);var K=function(){L.attr({width:L.width,height:L.height})};["width","height"].forEach(function(b){L[b+"Setter"]=function(b,d){var t={},g=this["img"+d],f="width"===d?"translateX":
-"translateY";this[d]=b;c(g)&&(D&&"within"===D.backgroundSize&&this.width&&this.height&&(g=Math.round(g*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(d,g),this.alignByTranslate||(t[f]=((this[d]||0)-g)/2,this.attr(t)))}});c(t)&&L.attr({x:t,y:g});L.isImg=!0;c(L.imgwidth)&&c(L.imgheight)?K():(L.attr({width:0,height:0}),r("img",{onload:function(){var b=x[P.chartIndex];0===this.width&&(v(this,{position:"absolute",top:"-999em"}),d.body.appendChild(this));
-J[G]={width:this.width,height:this.height};L.imgwidth=this.width;L.imgheight=this.height;L.element&&K();this.parentNode&&this.parentNode.removeChild(this);P.imgCount--;if(!P.imgCount&&b&&!b.hasLoaded)b.onload()},src:G}),this.imgCount++)}return L};g.prototype.clipRect=function(b,d,g,f){var t=q()+"-",e=this.createElement("clipPath").attr({id:t}).add(this.defs);b=this.rect(b,d,g,f,0).add(e);b.id=t;b.clipPath=e;b.count=0;return b};g.prototype.text=function(b,d,g,f){var t={};if(f&&(this.allowHTML||!this.forExport))return this.html(b,
-d,g);t.x=Math.round(d||0);g&&(t.y=Math.round(g));c(b)&&(t.text=b);b=this.createElement("text").attr(t);f||(b.xSetter=function(b,d,t){var g=t.getElementsByTagName("tspan"),f=t.getAttribute(d),e;for(e=0;e<g.length;e++){var D=g[e];D.getAttribute(d)===f&&D.setAttribute(d,b)}t.setAttribute(d,b)});return b};g.prototype.fontMetrics=function(b,d){b=!this.styledMode&&/px/.test(b)||!p.getComputedStyle?b||d&&d.style&&d.style.fontSize||this.style&&this.style.fontSize:d&&C.prototype.getStyle.call(d,"font-size");
-b=/px/.test(b)?G(b):12;d=24>b?b+3:Math.round(1.2*b);return{h:d,b:Math.round(.8*d),f:b}};g.prototype.rotCorr=function(d,t,g){var f=d;t&&g&&(f=Math.max(f*Math.cos(t*b),4));return{x:-d/3*Math.sin(t*b),y:f}};g.prototype.pathToSegments=function(b){for(var d=[],g=[],f={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},e=0;e<b.length;e++)Q(g[0])&&y(b[e])&&g.length===f[g[0].toUpperCase()]&&b.splice(e,0,g[0].replace("M","L").replace("m","l")),"string"===typeof b[e]&&(g.length&&d.push(g.slice(0)),g.length=0),g.push(b[e]);
-d.push(g.slice(0));return d};g.prototype.label=function(b,d,g,f,e,D,p,q,h){return new F(this,b,d,g,f,e,D,p,q,h)};return g}();H.prototype.Element=C;H.prototype.SVG_NS=g;H.prototype.draw=I;H.prototype.escapes={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};H.prototype.symbols={circle:function(b,d,t,g){return this.arc(b+t/2,d+g/2,t/2,g/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},square:function(b,d,t,g){return[["M",b,d],["L",b+t,d],["L",b+t,d+g],["L",b,d+g],["Z"]]},triangle:function(b,
-d,t,g){return[["M",b+t/2,d],["L",b+t,d+g],["L",b,d+g],["Z"]]},"triangle-down":function(b,d,t,g){return[["M",b,d],["L",b+t,d],["L",b+t/2,d+g],["Z"]]},diamond:function(b,d,t,g){return[["M",b+t/2,d],["L",b+t,d+g/2],["L",b+t/2,d+g],["L",b,d+g/2],["Z"]]},arc:function(b,d,t,g,f){var e=[];if(f){var D=f.start||0,p=f.end||0,q=f.r||t;t=f.r||g||t;var P=.001>Math.abs(p-D-2*Math.PI);p-=.001;g=f.innerR;P=h(f.open,P);var x=Math.cos(D),u=Math.sin(D),J=Math.cos(p),k=Math.sin(p);D=h(f.longArc,.001>p-D-Math.PI?0:1);
-e.push(["M",b+q*x,d+t*u],["A",q,t,0,D,h(f.clockwise,1),b+q*J,d+t*k]);c(g)&&e.push(P?["M",b+g*J,d+g*k]:["L",b+g*J,d+g*k],["A",g,g,0,D,c(f.clockwise)?1-f.clockwise:0,b+g*x,d+g*u]);P||e.push(["Z"])}return e},callout:function(b,d,t,g,f){var e=Math.min(f&&f.r||0,t,g),D=e+6,p=f&&f.anchorX;f=f&&f.anchorY||0;var q=[["M",b+e,d],["L",b+t-e,d],["C",b+t,d,b+t,d,b+t,d+e],["L",b+t,d+g-e],["C",b+t,d+g,b+t,d+g,b+t-e,d+g],["L",b+e,d+g],["C",b,d+g,b,d+g,b,d+g-e],["L",b,d+e],["C",b,d,b,d,b+e,d]];if(!y(p))return q;b+
-p>=t?f>d+D&&f<d+g-D?q.splice(3,1,["L",b+t,f-6],["L",b+t+6,f],["L",b+t,f+6],["L",b+t,d+g-e]):q.splice(3,1,["L",b+t,g/2],["L",p,f],["L",b+t,g/2],["L",b+t,d+g-e]):0>=b+p?f>d+D&&f<d+g-D?q.splice(7,1,["L",b,f+6],["L",b-6,f],["L",b,f-6],["L",b,d+e]):q.splice(7,1,["L",b,g/2],["L",p,f],["L",b,g/2],["L",b,d+e]):f&&f>g&&p>b+D&&p<b+t-D?q.splice(5,1,["L",p+6,d+g],["L",p,d+g+6],["L",p-6,d+g],["L",b+e,d+g]):f&&0>f&&p>b+D&&p<b+t-D&&q.splice(1,1,["L",p-6,d],["L",p,d-6],["L",p+6,d],["L",t-e,d]);return q}};m.SVGRenderer=
-H;m.Renderer=m.SVGRenderer;return m.Renderer});S(a,"Core/Renderer/HTML/HTMLElement.js",[a["Core/Globals.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,m,A){var C=A.css,F=A.defined,O=A.extend,E=A.pick,I=A.pInt,B=a.isFirefox;O(m.prototype,{htmlCss:function(a){var r="SPAN"===this.element.tagName&&a&&"width"in a,v=E(r&&a.width,void 0);if(r){delete a.width;this.textWidth=v;var c=!0}a&&"ellipsis"===a.textOverflow&&(a.whiteSpace="nowrap",a.overflow="hidden");this.styles=O(this.styles,
-a);C(this.element,a);c&&this.htmlUpdateTransform();return this},htmlGetBBox:function(){var a=this.element;return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var a=this.renderer,r=this.element,v=this.translateX||0,c=this.translateY||0,l=this.x||0,e=this.y||0,n=this.textAlign||"left",y={left:0,center:.5,right:1}[n],k=this.styles,Q=k&&k.whiteSpace;C(r,{marginLeft:v,marginTop:c});!a.styledMode&&this.shadows&&this.shadows.forEach(function(e){C(e,
-{marginLeft:v+1,marginTop:c+1})});this.inverted&&[].forEach.call(r.childNodes,function(e){a.invertChild(e,r)});if("SPAN"===r.tagName){k=this.rotation;var w=this.textWidth&&I(this.textWidth),h=[k,n,r.innerHTML,this.textWidth,this.textAlign].join(),G;(G=w!==this.oldTextWidth)&&!(G=w>this.oldTextWidth)&&((G=this.textPxLength)||(C(r,{width:"",whiteSpace:Q||"nowrap"}),G=r.offsetWidth),G=G>w);G&&(/[ \-]/.test(r.textContent||r.innerText)||"ellipsis"===r.style.textOverflow)?(C(r,{width:w+"px",display:"block",
-whiteSpace:Q||"normal"}),this.oldTextWidth=w,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1;h!==this.cTT&&(Q=a.fontMetrics(r.style.fontSize,r).b,!F(k)||k===(this.oldRotation||0)&&n===this.oldAlign||this.setSpanRotation(k,y,Q),this.getSpanCorrection(!F(k)&&this.textPxLength||r.offsetWidth,Q,y,k,n));C(r,{left:l+(this.xCorr||0)+"px",top:e+(this.yCorr||0)+"px"});this.cTT=h;this.oldRotation=k;this.oldAlign=n}}else this.alignOnAdd=!0},setSpanRotation:function(a,r,v){var c={},l=this.renderer.getTransformKey();
-c[l]=c.transform="rotate("+a+"deg)";c[l+(B?"Origin":"-origin")]=c.transformOrigin=100*r+"% "+v+"px";C(this.element,c)},getSpanCorrection:function(a,r,v){this.xCorr=-a*v;this.yCorr=-r}});return m});S(a,"Core/Renderer/HTML/HTMLRenderer.js",[a["Core/Globals.js"],a["Core/Renderer/HTML/AST.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,m,A,C,F){var O=a.isFirefox,E=a.isMS,I=a.isWebKit,B=a.win,z=F.attr,r=F.createElement,v=F.extend,c=F.pick;
-v(C.prototype,{getTransformKey:function(){return E&&!/Edge/.test(B.navigator.userAgent)?"-ms-transform":I?"-webkit-transform":O?"MozTransform":B.opera?"-o-transform":""},html:function(a,e,n){var y=this.createElement("span"),k=y.element,Q=y.renderer,w=Q.isSVG,h=function(e,q){["opacity","visibility"].forEach(function(h){e[h+"Setter"]=function(b,d,c){var x=e.div?e.div.style:q;A.prototype[h+"Setter"].call(this,b,d,c);x&&(x[d]=b)}});e.addedSetters=!0};y.textSetter=function(e){e!==this.textStr&&(delete this.bBox,
-delete this.oldTextWidth,m.setElementHTML(this.element,c(e,"")),this.textStr=e,y.doTransform=!0)};w&&h(y,y.element.style);y.xSetter=y.ySetter=y.alignSetter=y.rotationSetter=function(e,q){"align"===q?y.alignValue=y.textAlign=e:y[q]=e;y.doTransform=!0};y.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};y.attr({text:a,x:Math.round(e),y:Math.round(n)}).css({position:"absolute"});Q.styledMode||y.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});
-k.style.whiteSpace="nowrap";y.css=y.htmlCss;w&&(y.add=function(e){var q=Q.box.parentNode,c=[];if(this.parentGroup=e){var b=e.div;if(!b){for(;e;)c.push(e),e=e.parentGroup;c.reverse().forEach(function(d){function e(b,e){d[e]=b;"translateX"===e?g.left=b+"px":g.top=b+"px";d.doTransform=!0}var x=z(d.element,"class"),k=d.styles||{};b=d.div=d.div||r("div",x?{className:x}:void 0,{position:"absolute",left:(d.translateX||0)+"px",top:(d.translateY||0)+"px",display:d.display,opacity:d.opacity,cursor:k.cursor,
-pointerEvents:k.pointerEvents},b||q);var g=b.style;v(d,{classSetter:function(b){return function(d){this.element.setAttribute("class",d);b.className=d}}(b),on:function(){c[0].div&&y.on.apply({element:c[0].div},arguments);return d},translateXSetter:e,translateYSetter:e});d.addedSetters||h(d)})}}else b=q;b.appendChild(k);y.added=!0;y.alignOnAdd&&y.htmlUpdateTransform();return y});return y}});return C});S(a,"Core/Time.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,m){var A=a.win,C=m.defined,
-F=m.error,O=m.extend,E=m.isObject,I=m.merge,B=m.objectEach,z=m.pad,r=m.pick,v=m.splat,c=m.timeUnits;"";m=function(){function l(e){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=A.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(e)}l.prototype.get=function(e,c){if(this.variableTimezone||this.timezoneOffset){var n=c.getTime(),k=n-this.getTimezoneOffset(c);c.setTime(k);e=c["getUTC"+e]();c.setTime(n);return e}return this.useUTC?c["getUTC"+e]():c["get"+e]()};l.prototype.set=
-function(e,c,a){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===e||"Seconds"===e||"Minutes"===e&&0===this.getTimezoneOffset(c)%36E5)return c["setUTC"+e](a);var k=this.getTimezoneOffset(c);k=c.getTime()-k;c.setTime(k);c["setUTC"+e](a);e=this.getTimezoneOffset(c);k=c.getTime()+e;return c.setTime(k)}return this.useUTC?c["setUTC"+e](a):c["set"+e](a)};l.prototype.update=function(e){var c=r(e&&e.useUTC,!0);this.options=e=I(!0,this.options||{},e);this.Date=e.Date||A.Date||Date;this.timezoneOffset=
-(this.useUTC=c)&&e.timezoneOffset;this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=c&&!(!e.getTimezoneOffset&&!e.timezone)};l.prototype.makeTime=function(e,c,y,k,Q,w){if(this.useUTC){var h=this.Date.UTC.apply(0,arguments);var n=this.getTimezoneOffset(h);h+=n;var q=this.getTimezoneOffset(h);n!==q?h+=q-n:n-36E5!==this.getTimezoneOffset(h-36E5)||a.isSafari||(h-=36E5)}else h=(new this.Date(e,c,r(y,1),r(k,0),r(Q,0),r(w,0))).getTime();return h};l.prototype.timezoneOffsetFunction=
-function(){var e=this,c=this.options,a=c.moment||A.moment;if(!this.useUTC)return function(e){return 6E4*(new Date(e.toString())).getTimezoneOffset()};if(c.timezone){if(a)return function(e){return 6E4*-a.tz(e,c.timezone).utcOffset()};F(25)}return this.useUTC&&c.getTimezoneOffset?function(e){return 6E4*c.getTimezoneOffset(e.valueOf())}:function(){return 6E4*(e.timezoneOffset||0)}};l.prototype.dateFormat=function(e,c,y){var k;if(!C(c)||isNaN(c))return(null===(k=a.defaultOptions.lang)||void 0===k?void 0:
-k.invalidDate)||"";e=r(e,"%Y-%m-%d %H:%M:%S");var n=this;k=new this.Date(c);var w=this.get("Hours",k),h=this.get("Day",k),G=this.get("Date",k),q=this.get("Month",k),x=this.get("FullYear",k),b=a.defaultOptions.lang,d=null===b||void 0===b?void 0:b.weekdays,L=null===b||void 0===b?void 0:b.shortWeekdays;k=O({a:L?L[h]:d[h].substr(0,3),A:d[h],d:z(G),e:z(G,2," "),w:h,b:b.shortMonths[q],B:b.months[q],m:z(q+1),o:q+1,y:x.toString().substr(2,2),Y:x,H:z(w),k:w,I:z(w%12||12),l:w%12||12,M:z(this.get("Minutes",
-k)),p:12>w?"AM":"PM",P:12>w?"am":"pm",S:z(k.getSeconds()),L:z(Math.floor(c%1E3),3)},a.dateFormats);B(k,function(b,d){for(;-1!==e.indexOf("%"+d);)e=e.replace("%"+d,"function"===typeof b?b.call(n,c):b)});return y?e.substr(0,1).toUpperCase()+e.substr(1):e};l.prototype.resolveDTLFormat=function(e){return E(e,!0)?e:(e=v(e),{main:e[0],from:e[1],to:e[2]})};l.prototype.getTimeTicks=function(e,n,a,k){var y=this,w=[],h={};var G=new y.Date(n);var q=e.unitRange,x=e.count||1,b;k=r(k,1);if(C(n)){y.set("Milliseconds",
-G,q>=c.second?0:x*Math.floor(y.get("Milliseconds",G)/x));q>=c.second&&y.set("Seconds",G,q>=c.minute?0:x*Math.floor(y.get("Seconds",G)/x));q>=c.minute&&y.set("Minutes",G,q>=c.hour?0:x*Math.floor(y.get("Minutes",G)/x));q>=c.hour&&y.set("Hours",G,q>=c.day?0:x*Math.floor(y.get("Hours",G)/x));q>=c.day&&y.set("Date",G,q>=c.month?1:Math.max(1,x*Math.floor(y.get("Date",G)/x)));if(q>=c.month){y.set("Month",G,q>=c.year?0:x*Math.floor(y.get("Month",G)/x));var d=y.get("FullYear",G)}q>=c.year&&y.set("FullYear",
-G,d-d%x);q===c.week&&(d=y.get("Day",G),y.set("Date",G,y.get("Date",G)-d+k+(d<k?-7:0)));d=y.get("FullYear",G);k=y.get("Month",G);var L=y.get("Date",G),M=y.get("Hours",G);n=G.getTime();!y.variableTimezone&&y.useUTC||!C(a)||(b=a-n>4*c.month||y.getTimezoneOffset(n)!==y.getTimezoneOffset(a));n=G.getTime();for(G=1;n<a;)w.push(n),n=q===c.year?y.makeTime(d+G*x,0):q===c.month?y.makeTime(d,k+G*x):!b||q!==c.day&&q!==c.week?b&&q===c.hour&&1<x?y.makeTime(d,k,L,M+G*x):n+q*x:y.makeTime(d,k,L+G*x*(q===c.day?1:7)),
-G++;w.push(n);q<=c.hour&&1E4>w.length&&w.forEach(function(b){0===b%18E5&&"000000000"===y.dateFormat("%H%M%S%L",b)&&(h[b]="day")})}w.info=O(e,{higherRanks:h,totalRange:q*x});return w};return l}();a.Time=m;return a.Time});S(a,"Core/Options.js",[a["Core/Globals.js"],a["Core/Color/Color.js"],a["Core/Color/Palette.js"],a["Core/Time.js"],a["Core/Utilities.js"]],function(a,m,A,C,F){var O=a.isTouchDevice,E=a.svg;m=m.parse;F=F.merge;"";a.defaultOptions={colors:A.colors,symbols:["circle","diamond","square",
-"triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,
-timezoneOffset:0,useUTC:!0},chart:{styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:A.highlightColor80,backgroundColor:A.backgroundColor,plotBorderColor:A.neutralColor20},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",
-align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:A.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:A.neutralColor40,borderRadius:0,navigation:{activeColor:A.highlightColor100,inactiveColor:A.neutralColor20},itemStyle:{color:A.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:A.neutralColor100},itemHiddenStyle:{color:A.neutralColor20},
-shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:A.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:E,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",
-day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:O?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:m(A.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:A.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",
-position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:A.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};a.defaultOptions.chart.styledMode=!1;"";a.time=new C(F(a.defaultOptions.global,a.defaultOptions.time));a.dateFormat=function(m,B,z){return a.time.dateFormat(m,B,z)};return{dateFormat:a.dateFormat,defaultOptions:a.defaultOptions,time:a.time}});S(a,"Core/Axis/Tick.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,m){var A=a.deg2rad,C=m.clamp,F=
-m.correctFloat,O=m.defined,E=m.destroyObjectProperties,I=m.extend,B=m.fireEvent,z=m.isNumber,r=m.merge,v=m.objectEach,c=m.pick;"";m=function(){function a(e,c,a,k,l){this.isNewLabel=this.isNew=!0;this.axis=e;this.pos=c;this.type=a||"";this.parameters=l||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;B(this,"init");a||k||this.addLabel()}a.prototype.addLabel=function(){var e=this,a=e.axis,y=a.options,k=a.chart,l=a.categories,w=a.logarithmic,h=a.names,G=e.pos,
-q=c(e.options&&e.options.labels,y.labels),x=a.tickPositions,b=G===x[0],d=G===x[x.length-1];h=this.parameters.category||(l?c(l[G],h[G],G):G);var L=e.label;l=(!q.step||1===q.step)&&1===a.tickInterval;x=x.info;var M,K;if(a.dateTime&&x){var g=k.time.resolveDTLFormat(y.dateTimeLabelFormats[!y.grid&&x.higherRanks[G]||x.unitName]);var J=g.main}e.isFirst=b;e.isLast=d;e.formatCtx={axis:a,chart:k,isFirst:b,isLast:d,dateTimeLabelFormat:J,tickPositionInfo:x,value:w?F(w.lin2log(h)):h,pos:G};y=a.labelFormatter.call(e.formatCtx,
-this.formatCtx);if(K=g&&g.list)e.shortenLabel=function(){for(M=0;M<K.length;M++)if(L.attr({text:a.labelFormatter.call(I(e.formatCtx,{dateTimeLabelFormat:K[M]}))}),L.getBBox().width<a.getSlotWidth(e)-2*c(q.padding,5))return;L.attr({text:""})};l&&a._addedPlotLB&&e.moveLabel(y,q);O(L)||e.movedLabel?L&&L.textStr!==y&&!l&&(!L.textWidth||q.style&&q.style.width||L.styles.width||L.css({width:null}),L.attr({text:y}),L.textPxLength=L.getBBox().width):(e.label=L=e.createLabel({x:0,y:0},y,q),e.rotation=0)};a.prototype.createLabel=
-function(e,c,a){var k=this.axis,n=k.chart;if(e=O(c)&&a.enabled?n.renderer.text(c,e.x,e.y,a.useHTML).add(k.labelGroup):null)n.styledMode||e.css(r(a.style)),e.textPxLength=e.getBBox().width;return e};a.prototype.destroy=function(){E(this,this.axis)};a.prototype.getPosition=function(e,c,a,k){var n=this.axis,y=n.chart,h=k&&y.oldChartHeight||y.chartHeight;e={x:e?F(n.translate(c+a,null,null,k)+n.transB):n.left+n.offset+(n.opposite?(k&&y.oldChartWidth||y.chartWidth)-n.right-n.left:0),y:e?h-n.bottom+n.offset-
-(n.opposite?n.height:0):F(h-n.translate(c+a,null,null,k)-n.transB)};e.y=C(e.y,-1E5,1E5);B(this,"afterGetPosition",{pos:e});return e};a.prototype.getLabelPosition=function(e,c,a,k,l,w,h,G){var q=this.axis,x=q.transA,b=q.isLinked&&q.linkedParent?q.linkedParent.reversed:q.reversed,d=q.staggerLines,L=q.tickRotCorr||{x:0,y:0},M=l.y,n=k||q.reserveSpaceDefault?0:-q.labelOffset*("center"===q.labelAlign?.5:1),g={};O(M)||(M=0===q.side?a.rotation?-8:-a.getBBox().height:2===q.side?L.y+8:Math.cos(a.rotation*A)*
-(L.y-a.getBBox(!1,0).height/2));e=e+l.x+n+L.x-(w&&k?w*x*(b?-1:1):0);c=c+M-(w&&!k?w*x*(b?1:-1):0);d&&(a=h/(G||1)%d,q.opposite&&(a=d-a-1),c+=q.labelOffset/d*a);g.x=e;g.y=Math.round(c);B(this,"afterGetLabelPosition",{pos:g,tickmarkOffset:w,index:h});return g};a.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};a.prototype.getMarkPath=function(e,c,a,k,l,w){return w.crispLine([["M",e,c],["L",e+(l?0:-a),c+(l?a:0)]],k)};a.prototype.handleOverflow=
-function(e){var a=this.axis,y=a.options.labels,k=e.x,l=a.chart.chartWidth,w=a.chart.spacing,h=c(a.labelLeft,Math.min(a.pos,w[3]));w=c(a.labelRight,Math.max(a.isRadial?0:a.pos+a.len,l-w[1]));var G=this.label,q=this.rotation,x={left:0,center:.5,right:1}[a.labelAlign||G.attr("align")],b=G.getBBox().width,d=a.getSlotWidth(this),L=d,M=1,K,g={};if(q||"justify"!==c(y.overflow,"justify"))0>q&&k-x*b<h?K=Math.round(k/Math.cos(q*A)-h):0<q&&k+x*b>w&&(K=Math.round((l-k)/Math.cos(q*A)));else if(l=k+(1-x)*b,k-x*
-b<h?L=e.x+L*(1-x)-h:l>w&&(L=w-e.x+L*x,M=-1),L=Math.min(d,L),L<d&&"center"===a.labelAlign&&(e.x+=M*(d-L-x*(d-Math.min(b,L)))),b>L||a.autoRotation&&(G.styles||{}).width)K=L;K&&(this.shortenLabel?this.shortenLabel():(g.width=Math.floor(K)+"px",(y.style||{}).textOverflow||(g.textOverflow="ellipsis"),G.css(g)))};a.prototype.moveLabel=function(e,c){var a=this,k=a.label,n=!1,w=a.axis,h=w.reversed;k&&k.textStr===e?(a.movedLabel=k,n=!0,delete a.label):v(w.ticks,function(c){n||c.isNew||c===a||!c.label||c.label.textStr!==
-e||(a.movedLabel=c.label,n=!0,c.labelPos=a.movedLabel.xy,delete c.label)});if(!n&&(a.labelPos||k)){var G=a.labelPos||k.xy;k=w.horiz?h?0:w.width+w.left:G.x;w=w.horiz?G.y:h?w.width+w.left:0;a.movedLabel=a.createLabel({x:k,y:w},e,c);a.movedLabel&&a.movedLabel.attr({opacity:0})}};a.prototype.render=function(e,a,y){var k=this.axis,n=k.horiz,w=this.pos,h=c(this.tickmarkOffset,k.tickmarkOffset);w=this.getPosition(n,w,h,a);h=w.x;var G=w.y;k=n&&h===k.pos+k.len||!n&&G===k.pos?-1:1;y=c(y,1);this.isActive=!0;
-this.renderGridLine(a,y,k);this.renderMark(w,y,k);this.renderLabel(w,a,y,e);this.isNew=!1;B(this,"afterRender")};a.prototype.renderGridLine=function(e,a,y){var k=this.axis,n=k.options,w=this.gridLine,h={},G=this.pos,q=this.type,x=c(this.tickmarkOffset,k.tickmarkOffset),b=k.chart.renderer,d=q?q+"Grid":"grid",L=n[d+"LineWidth"],M=n[d+"LineColor"];n=n[d+"LineDashStyle"];w||(k.chart.styledMode||(h.stroke=M,h["stroke-width"]=L,n&&(h.dashstyle=n)),q||(h.zIndex=1),e&&(a=0),this.gridLine=w=b.path().attr(h).addClass("highcharts-"+
-(q?q+"-":"")+"grid-line").add(k.gridGroup));if(w&&(y=k.getPlotLinePath({value:G+x,lineWidth:w.strokeWidth()*y,force:"pass",old:e})))w[e||this.isNew?"attr":"animate"]({d:y,opacity:a})};a.prototype.renderMark=function(e,a,y){var k=this.axis,n=k.options,w=k.chart.renderer,h=this.type,G=h?h+"Tick":"tick",q=k.tickSize(G),x=this.mark,b=!x,d=e.x;e=e.y;var L=c(n[G+"Width"],!h&&k.isXAxis?1:0);n=n[G+"Color"];q&&(k.opposite&&(q[0]=-q[0]),b&&(this.mark=x=w.path().addClass("highcharts-"+(h?h+"-":"")+"tick").add(k.axisGroup),
-k.chart.styledMode||x.attr({stroke:n,"stroke-width":L})),x[b?"attr":"animate"]({d:this.getMarkPath(d,e,q[0],x.strokeWidth()*y,k.horiz,w),opacity:a}))};a.prototype.renderLabel=function(e,a,y,k){var n=this.axis,w=n.horiz,h=n.options,G=this.label,q=h.labels,x=q.step;n=c(this.tickmarkOffset,n.tickmarkOffset);var b=!0,d=e.x;e=e.y;G&&z(d)&&(G.xy=e=this.getLabelPosition(d,e,G,w,q,n,k,x),this.isFirst&&!this.isLast&&!c(h.showFirstLabel,1)||this.isLast&&!this.isFirst&&!c(h.showLastLabel,1)?b=!1:!w||q.step||
-q.rotation||a||0===y||this.handleOverflow(e),x&&k%x&&(b=!1),b&&z(e.y)?(e.opacity=y,G[this.isNewLabel?"attr":"animate"](e),this.isNewLabel=!1):(G.attr("y",-9999),this.isNewLabel=!0))};a.prototype.replaceMovedLabel=function(){var e=this.label,c=this.axis,a=c.reversed;if(e&&!this.isNew){var k=c.horiz?a?c.left:c.width+c.left:e.xy.x;a=c.horiz?e.xy.y:a?c.width+c.top:c.top;e.animate({x:k,y:a,opacity:0},void 0,e.destroy);delete this.label}c.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return a}();
-a.Tick=m;return a.Tick});S(a,"Core/Axis/Axis.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Color/Palette.js"],a["Core/Options.js"],a["Core/Axis/Tick.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N,E){var I=a.animObject,B=F.defaultOptions,z=E.addEvent,r=E.arrayMax,v=E.arrayMin,c=E.clamp,l=E.correctFloat,e=E.defined,n=E.destroyObjectProperties,y=E.erase,k=E.error,Q=E.extend,w=E.fireEvent,h=E.format,G=E.getMagnitude,q=E.isArray,x=E.isFunction,
-b=E.isNumber,d=E.isString,L=E.merge,M=E.normalizeTickInterval,K=E.objectEach,g=E.pick,J=E.relativeLength,p=E.removeEvent,f=E.splat,H=E.syncTimeout;"";var u=A.deg2rad;a=function(){function a(b,d){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=
-this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0;this.init(b,d)}a.prototype.init=function(b,d){var t=d.isX,c=this;c.chart=
-b;c.horiz=b.inverted&&!c.isZAxis?!t:t;c.isXAxis=t;c.coll=c.coll||(t?"xAxis":"yAxis");w(this,"init",{userOptions:d});c.opposite=g(d.opposite,c.opposite);c.side=g(d.side,c.side,c.horiz?c.opposite?0:2:c.opposite?1:3);c.setOptions(d);var D=this.options,p=D.type;c.labelFormatter=D.labels.formatter||c.defaultLabelFormatter;c.userOptions=d;c.minPixelPadding=0;c.reversed=g(D.reversed,c.reversed);c.visible=!1!==D.visible;c.zoomEnabled=!1!==D.zoomEnabled;c.hasNames="category"===p||!0===D.categories;c.categories=
-D.categories||c.hasNames;c.names||(c.names=[],c.names.keys={});c.plotLinesAndBandsGroups={};c.positiveValuesOnly=!!c.logarithmic;c.isLinked=e(D.linkedTo);c.ticks={};c.labelEdge=[];c.minorTicks={};c.plotLinesAndBands=[];c.alternateBands={};c.len=0;c.minRange=c.userMinRange=D.minRange||D.maxZoom;c.range=D.range;c.offset=D.offset||0;c.max=null;c.min=null;c.crosshair=g(D.crosshair,f(b.options.tooltip.crosshairs)[t?0:1],!1);d=c.options.events;-1===b.axes.indexOf(c)&&(t?b.axes.splice(b.xAxis.length,0,c):
-b.axes.push(c),b[c.coll].push(c));c.series=c.series||[];b.inverted&&!c.isZAxis&&t&&"undefined"===typeof c.reversed&&(c.reversed=!0);c.labelRotation=c.options.labels.rotation;K(d,function(b,d){x(b)&&z(c,d,b)});w(this,"afterInit")};a.prototype.setOptions=function(b){this.options=L(a.defaultOptions,"yAxis"===this.coll&&a.defaultYAxisOptions,[a.defaultTopAxisOptions,a.defaultRightAxisOptions,a.defaultBottomAxisOptions,a.defaultLeftAxisOptions][this.side],L(B[this.coll],b));w(this,"afterSetOptions",{userOptions:b})};
-a.prototype.defaultLabelFormatter=function(){var d=this.axis,g=b(this.value)?this.value:NaN,f=d.chart.time,e=d.categories,c=this.dateTimeLabelFormat,p=B.lang,a=p.numericSymbols;p=p.numericSymbolMagnitude||1E3;var q=a&&a.length,x=d.options.labels.format;d=d.logarithmic?Math.abs(g):d.tickInterval;var J=this.chart,k=J.numberFormatter;if(x)var u=h(x,this,J);else if(e)u=""+this.value;else if(c)u=f.dateFormat(c,g);else if(q&&1E3<=d)for(;q--&&"undefined"===typeof u;)f=Math.pow(p,q+1),d>=f&&0===10*g%f&&null!==
-a[q]&&0!==g&&(u=k(g/f,-1)+a[q]);"undefined"===typeof u&&(u=1E4<=Math.abs(g)?k(g,-1):k(g,-1,void 0,""));return u};a.prototype.getSeriesExtremes=function(){var d=this,f=d.chart,c;w(this,"getSeriesExtremes",null,function(){d.hasVisibleSeries=!1;d.dataMin=d.dataMax=d.threshold=null;d.softThreshold=!d.isXAxis;d.stacking&&d.stacking.buildStacks();d.series.forEach(function(t){if(t.visible||!f.options.chart.ignoreHiddenSeries){var D=t.options,p=D.threshold;d.hasVisibleSeries=!0;d.positiveValuesOnly&&0>=p&&
-(p=null);if(d.isXAxis){if(D=t.xData,D.length){D=d.logarithmic?D.filter(d.validatePositiveValue):D;c=t.getXExtremes(D);var a=c.min;var q=c.max;b(a)||a instanceof Date||(D=D.filter(b),c=t.getXExtremes(D),a=c.min,q=c.max);D.length&&(d.dataMin=Math.min(g(d.dataMin,a),a),d.dataMax=Math.max(g(d.dataMax,q),q))}}else if(t=t.applyExtremes(),b(t.dataMin)&&(a=t.dataMin,d.dataMin=Math.min(g(d.dataMin,a),a)),b(t.dataMax)&&(q=t.dataMax,d.dataMax=Math.max(g(d.dataMax,q),q)),e(p)&&(d.threshold=p),!D.softThreshold||
-d.positiveValuesOnly)d.softThreshold=!1}})});w(this,"afterGetSeriesExtremes")};a.prototype.translate=function(d,g,f,e,c,p){var t=this.linkedParent||this,D=1,a=0,q=e&&t.old?t.old.transA:t.transA;e=e&&t.old?t.old.min:t.min;var h=t.minPixelPadding;c=(t.isOrdinal||t.brokenAxis&&t.brokenAxis.hasBreaks||t.logarithmic&&c)&&t.lin2val;q||(q=t.transA);f&&(D*=-1,a=t.len);t.reversed&&(D*=-1,a-=D*(t.sector||t.len));g?(d=(d*D+a-h)/q+e,c&&(d=t.lin2val(d))):(c&&(d=t.val2lin(d)),d=b(e)?D*(d-e)*q+a+D*h+(b(p)?q*p:0):
-void 0);return d};a.prototype.toPixels=function(b,d){return this.translate(b,!1,!this.horiz,null,!0)+(d?0:this.pos)};a.prototype.toValue=function(b,d){return this.translate(b-(d?0:this.pos),!0,!this.horiz,null,!0)};a.prototype.getPlotLinePath=function(d){function f(b,d,g){if("pass"!==J&&b<d||b>g)J?b=c(b,d,g):K=!0;return b}var t=this,e=t.chart,D=t.left,p=t.top,a=d.old,q=d.value,h=d.translatedValue,x=d.lineWidth,J=d.force,k,u,L,M,n=a&&e.oldChartHeight||e.chartHeight,H=a&&e.oldChartWidth||e.chartWidth,
-K,G=t.transB;d={value:q,lineWidth:x,old:a,force:J,acrossPanes:d.acrossPanes,translatedValue:h};w(this,"getPlotLinePath",d,function(d){h=g(h,t.translate(q,null,null,a));h=c(h,-1E5,1E5);k=L=Math.round(h+G);u=M=Math.round(n-h-G);b(h)?t.horiz?(u=p,M=n-t.bottom,k=L=f(k,D,D+t.width)):(k=D,L=H-t.right,u=M=f(u,p,p+t.height)):(K=!0,J=!1);d.path=K&&!J?null:e.renderer.crispLine([["M",k,u],["L",L,M]],x||1)});return d.path};a.prototype.getLinearTickPositions=function(b,d,g){var f=l(Math.floor(d/b)*b);g=l(Math.ceil(g/
-b)*b);var t=[],e;l(f+b)===f&&(e=20);if(this.single)return[d];for(d=f;d<=g;){t.push(d);d=l(d+b,e);if(d===c)break;var c=d}return t};a.prototype.getMinorTickInterval=function(){var b=this.options;return!0===b.minorTicks?g(b.minorTickInterval,"auto"):!1===b.minorTicks?null:b.minorTickInterval};a.prototype.getMinorTickPositions=function(){var b=this.options,d=this.tickPositions,g=this.minorTickInterval,f=[],e=this.pointRangePadding||0,c=this.min-e;e=this.max+e;var p=e-c;if(p&&p/g<this.len/3){var a=this.logarithmic;
-if(a)this.paddedTicks.forEach(function(b,d,t){d&&f.push.apply(f,a.getLogTickPositions(g,t[d-1],t[d],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())f=f.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(g),c,e,b.startOfWeek));else for(b=c+(d[0]-c)%g;b<=e&&b!==f[0];b+=g)f.push(b)}0!==f.length&&this.trimTicks(f);return f};a.prototype.adjustForMinRange=function(){var b=this.options,d=this.min,f=this.max,c=this.logarithmic,p=0,a,q,h,x;this.isXAxis&&"undefined"===typeof this.minRange&&
-!c&&(e(b.min)||e(b.max)?this.minRange=null:(this.series.forEach(function(b){h=b.xData;x=b.xIncrement?1:h.length-1;if(1<h.length)for(a=x;0<a;a--)if(q=h[a]-h[a-1],!p||q<p)p=q}),this.minRange=Math.min(5*p,this.dataMax-this.dataMin)));if(f-d<this.minRange){var J=this.dataMax-this.dataMin>=this.minRange;var k=this.minRange;var u=(k-f+d)/2;u=[d-u,g(b.min,d-u)];J&&(u[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);d=r(u);f=[d+k,g(b.max,d+k)];J&&(f[2]=c?c.log2lin(this.dataMax):this.dataMax);
-f=v(f);f-d<k&&(u[0]=f-k,u[1]=g(b.min,f-k),d=r(u))}this.min=d;this.max=f};a.prototype.getClosest=function(){var b;this.categories?b=1:this.series.forEach(function(d){var g=d.closestPointRange,f=d.visible||!d.chart.options.chart.ignoreHiddenSeries;!d.noSharedTooltip&&e(g)&&f&&(b=e(b)?Math.min(b,g):g)});return b};a.prototype.nameToX=function(b){var d=q(this.categories),f=d?this.categories:this.names,t=b.options.x;b.series.requireSorting=!1;e(t)||(t=!1===this.options.uniqueNames?b.series.autoIncrement():
-d?f.indexOf(b.name):g(f.keys[b.name],-1));if(-1===t){if(!d)var c=f.length}else c=t;"undefined"!==typeof c&&(this.names[c]=b.name,this.names.keys[b.name]=c);return c};a.prototype.updateNames=function(){var b=this,d=this.names;0<d.length&&(Object.keys(d.keys).forEach(function(b){delete d.keys[b]}),d.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(d){d.xIncrement=null;if(!d.points||d.isDirtyData)b.max=Math.max(b.max,d.xData.length-1),d.processData(),d.generatePoints();d.data.forEach(function(g,
-f){if(g&&g.options&&"undefined"!==typeof g.name){var t=b.nameToX(g);"undefined"!==typeof t&&t!==g.x&&(g.x=t,d.xData[f]=t)}})}))};a.prototype.setAxisTranslation=function(){var b=this,f=b.max-b.min,e=b.axisPointRange||0,c=0,a=0,p=b.linkedParent,q=!!b.categories,h=b.transA,x=b.isXAxis;if(x||q||e){var u=b.getClosest();p?(c=p.minPointOffset,a=p.pointRangePadding):b.series.forEach(function(f){var t=q?1:x?g(f.options.pointRange,u,0):b.axisPointRange||0,p=f.options.pointPlacement;e=Math.max(e,t);if(!b.single||
-q)f=f.is("xrange")?!x:x,c=Math.max(c,f&&d(p)?0:t/2),a=Math.max(a,f&&"on"===p?0:t)});p=b.ordinal&&b.ordinal.slope&&u?b.ordinal.slope/u:1;b.minPointOffset=c*=p;b.pointRangePadding=a*=p;b.pointRange=Math.min(e,b.single&&q?1:f);x&&(b.closestPointRange=u)}b.translationSlope=b.transA=h=b.staticScale||b.len/(f+a||1);b.transB=b.horiz?b.left:b.bottom;b.minPixelPadding=h*c;w(this,"afterSetAxisTranslation")};a.prototype.minFromRange=function(){return this.max-this.range};a.prototype.setTickInterval=function(d){var f=
-this,t=f.chart,c=f.logarithmic,p=f.options,a=f.isXAxis,q=f.isLinked,h=p.maxPadding,x=p.minPadding,u=p.tickInterval,J=p.tickPixelInterval,L=f.categories,n=b(f.threshold)?f.threshold:null,K=f.softThreshold;f.dateTime||L||q||this.getTickAmount();var H=g(f.userMin,p.min);var y=g(f.userMax,p.max);if(q){f.linkedParent=t[f.coll][p.linkedTo];var r=f.linkedParent.getExtremes();f.min=g(r.min,r.dataMin);f.max=g(r.max,r.dataMax);p.type!==f.linkedParent.options.type&&k(11,1,t)}else{if(K&&e(n))if(f.dataMin>=n)r=
-n,x=0;else if(f.dataMax<=n){var v=n;h=0}f.min=g(H,r,f.dataMin);f.max=g(y,v,f.dataMax)}c&&(f.positiveValuesOnly&&!d&&0>=Math.min(f.min,g(f.dataMin,f.min))&&k(10,1,t),f.min=l(c.log2lin(f.min),16),f.max=l(c.log2lin(f.max),16));f.range&&e(f.max)&&(f.userMin=f.min=H=Math.max(f.dataMin,f.minFromRange()),f.userMax=y=f.max,f.range=null);w(f,"foundExtremes");f.beforePadding&&f.beforePadding();f.adjustForMinRange();!(L||f.axisPointRange||f.stacking&&f.stacking.usePercentage||q)&&e(f.min)&&e(f.max)&&(t=f.max-
-f.min)&&(!e(H)&&x&&(f.min-=t*x),!e(y)&&h&&(f.max+=t*h));b(f.userMin)||(b(p.softMin)&&p.softMin<f.min&&(f.min=H=p.softMin),b(p.floor)&&(f.min=Math.max(f.min,p.floor)));b(f.userMax)||(b(p.softMax)&&p.softMax>f.max&&(f.max=y=p.softMax),b(p.ceiling)&&(f.max=Math.min(f.max,p.ceiling)));K&&e(f.dataMin)&&(n=n||0,!e(H)&&f.min<n&&f.dataMin>=n?f.min=f.options.minRange?Math.min(n,f.max-f.minRange):n:!e(y)&&f.max>n&&f.dataMax<=n&&(f.max=f.options.minRange?Math.max(n,f.min+f.minRange):n));b(f.min)&&b(f.max)&&
-!this.chart.polar&&f.min>f.max&&(e(f.options.min)?f.max=f.min:e(f.options.max)&&(f.min=f.max));f.tickInterval=f.min===f.max||"undefined"===typeof f.min||"undefined"===typeof f.max?1:q&&!u&&J===f.linkedParent.options.tickPixelInterval?u=f.linkedParent.tickInterval:g(u,this.tickAmount?(f.max-f.min)/Math.max(this.tickAmount-1,1):void 0,L?1:(f.max-f.min)*J/Math.max(f.len,J));a&&!d&&f.series.forEach(function(b){var d,g;b.processData(f.min!==(null===(d=f.old)||void 0===d?void 0:d.min)||f.max!==(null===
-(g=f.old)||void 0===g?void 0:g.max))});f.setAxisTranslation();w(this,"initialAxisTranslation");f.pointRange&&!u&&(f.tickInterval=Math.max(f.pointRange,f.tickInterval));d=g(p.minTickInterval,f.dateTime&&!f.series.some(function(b){return b.noSharedTooltip})?f.closestPointRange:0);!u&&f.tickInterval<d&&(f.tickInterval=d);f.dateTime||f.logarithmic||u||(f.tickInterval=M(f.tickInterval,void 0,G(f.tickInterval),g(p.allowDecimals,.5>f.tickInterval||void 0!==this.tickAmount),!!this.tickAmount));this.tickAmount||
-(f.tickInterval=f.unsquish());this.setTickPositions()};a.prototype.setTickPositions=function(){var b=this.options,d=b.tickPositions;var f=this.getMinorTickInterval();var g=b.tickPositioner,c=this.hasVerticalPanning(),p="colorAxis"===this.coll,a=(p||!c)&&b.startOnTick;c=(p||!c)&&b.endOnTick;this.tickmarkOffset=this.categories&&"between"===b.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===f&&this.tickInterval?this.tickInterval/5:f;this.single=this.min===this.max&&e(this.min)&&
-!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==b.allowDecimals);this.tickPositions=f=d&&d.slice();!f&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?f=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,b.units),this.min,this.max,b.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):
-this.getLinearTickPositions(this.tickInterval,this.min,this.max):(f=[this.min,this.max],k(19,!1,this.chart)),f.length>this.len&&(f=[f[0],f.pop()],f[0]===f[1]&&(f.length=1)),this.tickPositions=f,g&&(g=g.apply(this,[this.min,this.max])))&&(this.tickPositions=f=g);this.paddedTicks=f.slice(0);this.trimTicks(f,a,c);this.isLinked||(this.single&&2>f.length&&!this.categories&&!this.series.some(function(b){return b.is("heatmap")&&"between"===b.options.pointPlacement})&&(this.min-=.5,this.max+=.5),d||g||this.adjustTickAmount());
-w(this,"afterSetTickPositions")};a.prototype.trimTicks=function(b,d,f){var g=b[0],t=b[b.length-1],c=!this.isOrdinal&&this.minPointOffset||0;w(this,"trimTicks");if(!this.isLinked){if(d&&-Infinity!==g)this.min=g;else for(;this.min-c>b[0];)b.shift();if(f)this.max=t;else for(;this.max+c<b[b.length-1];)b.pop();0===b.length&&e(g)&&!this.options.tickPositions&&b.push((t+g)/2)}};a.prototype.alignToOthers=function(){var b={},d,f=this.options;!1===this.chart.options.chart.alignTicks||!1===f.alignTicks||!1===
-f.startOnTick||!1===f.endOnTick||this.logarithmic||this.chart[this.coll].forEach(function(f){var g=f.options;g=[f.horiz?g.left:g.top,g.width,g.height,g.pane].join();f.series.length&&(b[g]?d=!0:b[g]=1)});return d};a.prototype.getTickAmount=function(){var b=this.options,d=b.tickAmount,f=b.tickPixelInterval;!e(b.tickInterval)&&!d&&this.len<f&&!this.isRadial&&!this.logarithmic&&b.startOnTick&&b.endOnTick&&(d=2);!d&&this.alignToOthers()&&(d=Math.ceil(this.len/f)+1);4>d&&(this.finalTickAmt=d,d=5);this.tickAmount=
-d};a.prototype.adjustTickAmount=function(){var d=this.options,f=this.tickInterval,c=this.tickPositions,p=this.tickAmount,a=this.finalTickAmt,q=c&&c.length,h=g(this.threshold,this.softThreshold?0:null);if(this.hasData()&&b(this.min)&&b(this.max)){if(q<p){for(;c.length<p;)c.length%2||this.min===h?c.push(l(c[c.length-1]+f)):c.unshift(l(c[0]-f));this.transA*=(q-1)/(p-1);this.min=d.startOnTick?c[0]:Math.min(this.min,c[0]);this.max=d.endOnTick?c[c.length-1]:Math.max(this.max,c[c.length-1])}else q>p&&(this.tickInterval*=
-2,this.setTickPositions());if(e(a)){for(f=d=c.length;f--;)(3===a&&1===f%2||2>=a&&0<f&&f<d-1)&&c.splice(f,1);this.finalTickAmt=void 0}}};a.prototype.setScale=function(){var b,d,f,g,e,c,p=!1,a=!1;this.series.forEach(function(b){var d;p=p||b.isDirtyData||b.isDirty;a=a||(null===(d=b.xAxis)||void 0===d?void 0:d.isDirty)||!1});this.setAxisSize();(c=this.len!==(null===(b=this.old)||void 0===b?void 0:b.len))||p||a||this.isLinked||this.forceRedraw||this.userMin!==(null===(d=this.old)||void 0===d?void 0:d.userMin)||
-this.userMax!==(null===(f=this.old)||void 0===f?void 0:f.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=c||this.min!==(null===(g=this.old)||void 0===g?void 0:g.min)||this.max!==(null===(e=this.old)||void 0===e?void 0:e.max))):this.stacking&&this.stacking.cleanStacks();p&&this.panningState&&(this.panningState.isDirty=!0);w(this,"afterSetScale")};a.prototype.setExtremes=function(b,
-d,f,e,c){var t=this,p=t.chart;f=g(f,!0);t.series.forEach(function(b){delete b.kdTree});c=Q(c,{min:b,max:d});w(t,"setExtremes",c,function(){t.userMin=b;t.userMax=d;t.eventArgs=c;f&&p.redraw(e)})};a.prototype.zoom=function(b,d){var f=this,c=this.dataMin,t=this.dataMax,p=this.options,a=Math.min(c,g(p.min,c)),q=Math.max(t,g(p.max,t));b={newMin:b,newMax:d};w(this,"zoom",b,function(b){var d=b.newMin,g=b.newMax;if(d!==f.min||g!==f.max)f.allowZoomOutside||(e(c)&&(d<a&&(d=a),d>q&&(d=q)),e(t)&&(g<a&&(g=a),
-g>q&&(g=q))),f.displayBtn="undefined"!==typeof d||"undefined"!==typeof g,f.setExtremes(d,g,!1,void 0,{trigger:"zoom"});b.zoomed=!0});return b.zoomed};a.prototype.setAxisSize=function(){var b=this.chart,d=this.options,f=d.offsets||[0,0,0,0],e=this.horiz,c=this.width=Math.round(J(g(d.width,b.plotWidth-f[3]+f[1]),b.plotWidth)),p=this.height=Math.round(J(g(d.height,b.plotHeight-f[0]+f[2]),b.plotHeight)),a=this.top=Math.round(J(g(d.top,b.plotTop+f[0]),b.plotHeight,b.plotTop));d=this.left=Math.round(J(g(d.left,
-b.plotLeft+f[3]),b.plotWidth,b.plotLeft));this.bottom=b.chartHeight-p-a;this.right=b.chartWidth-c-d;this.len=Math.max(e?c:p,0);this.pos=e?d:a};a.prototype.getExtremes=function(){var b=this.logarithmic;return{min:b?l(b.lin2log(this.min)):this.min,max:b?l(b.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};a.prototype.getThreshold=function(b){var d=this.logarithmic,f=d?d.lin2log(this.min):this.min;d=d?d.lin2log(this.max):this.max;null===
-b||-Infinity===b?b=f:Infinity===b?b=d:f>b?b=f:d<b&&(b=d);return this.translate(b,0,1,0,1)};a.prototype.autoLabelAlign=function(b){var d=(g(b,0)-90*this.side+720)%360;b={align:"center"};w(this,"autoLabelAlign",b,function(b){15<d&&165>d?b.align="right":195<d&&345>d&&(b.align="left")});return b.align};a.prototype.tickSize=function(b){var d=this.options,f=d["tick"===b?"tickLength":"minorTickLength"],e=g(d["tick"===b?"tickWidth":"minorTickWidth"],"tick"===b&&this.isXAxis&&!this.categories?1:0);if(e&&f){"inside"===
-d[b+"Position"]&&(f=-f);var c=[f,e]}b={tickSize:c};w(this,"afterTickSize",b);return b.tickSize};a.prototype.labelMetrics=function(){var b=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[b]&&this.ticks[b].label)};a.prototype.unsquish=function(){var b=this.options.labels,d=this.horiz,f=this.tickInterval,c=f,p=this.len/(((this.categories?1:0)+this.max-this.min)/f),a,q=b.rotation,h=this.labelMetrics(),
-x,J=Number.MAX_VALUE,k,L=Math.max(this.max-this.min,0),M=function(b){var d=b/(p||1);d=1<d?Math.ceil(d):1;d*f>L&&Infinity!==b&&Infinity!==p&&L&&(d=Math.ceil(L/f));return l(d*f)};d?(k=!b.staggerLines&&!b.step&&(e(q)?[q]:p<g(b.autoRotationLimit,80)&&b.autoRotation))&&k.forEach(function(b){if(b===q||b&&-90<=b&&90>=b){x=M(Math.abs(h.h/Math.sin(u*b)));var d=x+Math.abs(b/360);d<J&&(J=d,a=b,c=x)}}):b.step||(c=M(h.h));this.autoRotation=k;this.labelRotation=g(a,q);return c};a.prototype.getSlotWidth=function(d){var f,
-g=this.chart,e=this.horiz,c=this.options.labels,p=Math.max(this.tickPositions.length-(this.categories?0:1),1),a=g.margin[3];if(d&&b(d.slotWidth))return d.slotWidth;if(e&&c&&2>(c.step||0))return c.rotation?0:(this.staggerLines||1)*this.len/p;if(!e){d=null===(f=null===c||void 0===c?void 0:c.style)||void 0===f?void 0:f.width;if(void 0!==d)return parseInt(d,10);if(a)return a-g.spacing[3]}return.33*g.chartWidth};a.prototype.renderUnsquish=function(){var b=this.chart,f=b.renderer,g=this.tickPositions,e=
-this.ticks,c=this.options.labels,p=c&&c.style||{},a=this.horiz,q=this.getSlotWidth(),h=Math.max(1,Math.round(q-2*(c.padding||5))),x={},u=this.labelMetrics(),J=c.style&&c.style.textOverflow,k=0;d(c.rotation)||(x.rotation=c.rotation||0);g.forEach(function(b){b=e[b];b.movedLabel&&b.replaceMovedLabel();b&&b.label&&b.label.textPxLength>k&&(k=b.label.textPxLength)});this.maxLabelLength=k;if(this.autoRotation)k>h&&k>u.h?x.rotation=this.labelRotation:this.labelRotation=0;else if(q){var L=h;if(!J){var M="clip";
-for(h=g.length;!a&&h--;){var n=g[h];if(n=e[n].label)n.styles&&"ellipsis"===n.styles.textOverflow?n.css({textOverflow:"clip"}):n.textPxLength>q&&n.css({width:q+"px"}),n.getBBox().height>this.len/g.length-(u.h-u.f)&&(n.specificTextOverflow="ellipsis")}}}x.rotation&&(L=k>.5*b.chartHeight?.33*b.chartHeight:k,J||(M="ellipsis"));if(this.labelAlign=c.align||this.autoLabelAlign(this.labelRotation))x.align=this.labelAlign;g.forEach(function(b){var d=(b=e[b])&&b.label,f=p.width,g={};d&&(d.attr(x),b.shortenLabel?
-b.shortenLabel():L&&!f&&"nowrap"!==p.whiteSpace&&(L<d.textPxLength||"SPAN"===d.element.tagName)?(g.width=L+"px",J||(g.textOverflow=d.specificTextOverflow||M),d.css(g)):d.styles&&d.styles.width&&!g.width&&!f&&d.css({width:null}),delete d.specificTextOverflow,b.rotation=x.rotation)},this);this.tickRotCorr=f.rotCorr(u.b,this.labelRotation||0,0!==this.side)};a.prototype.hasData=function(){return this.series.some(function(b){return b.hasData()})||this.options.showEmpty&&e(this.min)&&e(this.max)};a.prototype.addTitle=
-function(b){var d=this.chart.renderer,f=this.horiz,g=this.opposite,e=this.options.title,c,p=this.chart.styledMode;this.axisTitle||((c=e.textAlign)||(c=(f?{low:"left",middle:"center",high:"right"}:{low:g?"right":"left",middle:"center",high:g?"left":"right"})[e.align]),this.axisTitle=d.text(e.text,0,0,e.useHTML).attr({zIndex:7,rotation:e.rotation||0,align:c}).addClass("highcharts-axis-title"),p||this.axisTitle.css(L(e.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);p||e.style.width||
-this.isRadial||this.axisTitle.css({width:this.len+"px"});this.axisTitle[b?"show":"hide"](b)};a.prototype.generateTick=function(b){var d=this.ticks;d[b]?d[b].addLabel():d[b]=new N(this,b)};a.prototype.getOffset=function(){var b=this,d=this,f=d.chart,c=f.renderer,p=d.options,a=d.tickPositions,q=d.ticks,h=d.horiz,x=d.side,u=f.inverted&&!d.isZAxis?[1,0,3,2][x]:x,k,J=0,L=0,M=p.title,n=p.labels,H=0,G=f.axisOffset;f=f.clipOffset;var y=[-1,1,1,-1][x],l=p.className,r=d.axisParent;var v=d.hasData();d.showAxis=
-k=v||g(p.showEmpty,!0);d.staggerLines=d.horiz&&n.staggerLines;if(!d.axisGroup){var z=function(d,f,g){return c.g(d).attr({zIndex:g}).addClass("highcharts-"+b.coll.toLowerCase()+f+" "+(b.isRadial?"highcharts-radial-axis"+f+" ":"")+(l||"")).add(r)};d.gridGroup=z("grid","-grid",p.gridZIndex||1);d.axisGroup=z("axis","",p.zIndex||2);d.labelGroup=z("axis-labels","-labels",n.zIndex||7)}v||d.isLinked?(a.forEach(function(b,f){d.generateTick(b,f)}),d.renderUnsquish(),d.reserveSpaceDefault=0===x||2===x||{1:"left",
-3:"right"}[x]===d.labelAlign,g(n.reserveSpace,"center"===d.labelAlign?!0:null,d.reserveSpaceDefault)&&a.forEach(function(b){H=Math.max(q[b].getLabelSize(),H)}),d.staggerLines&&(H*=d.staggerLines),d.labelOffset=H*(d.opposite?-1:1)):K(q,function(b,d){b.destroy();delete q[d]});if(M&&M.text&&!1!==M.enabled&&(d.addTitle(k),k&&!1!==M.reserveSpace)){d.titleOffset=J=d.axisTitle.getBBox()[h?"height":"width"];var Q=M.offset;L=e(Q)?0:g(M.margin,h?5:10)}d.renderLine();d.offset=y*g(p.offset,G[x]?G[x]+(p.margin||
-0):0);d.tickRotCorr=d.tickRotCorr||{x:0,y:0};M=0===x?-d.labelMetrics().h:2===x?d.tickRotCorr.y:0;L=Math.abs(H)+L;H&&(L=L-M+y*(h?g(n.y,d.tickRotCorr.y+8*y):n.x));d.axisTitleMargin=g(Q,L);d.getMaxLabelDimensions&&(d.maxLabelDimensions=d.getMaxLabelDimensions(q,a));h=this.tickSize("tick");G[x]=Math.max(G[x],d.axisTitleMargin+J+y*d.offset,L,a&&a.length&&h?h[0]+y*d.offset:0);p=p.offset?0:2*Math.floor(d.axisLine.strokeWidth()/2);f[u]=Math.max(f[u],p);w(this,"afterGetOffset")};a.prototype.getLinePath=function(b){var d=
-this.chart,f=this.opposite,g=this.offset,e=this.horiz,c=this.left+(f?this.width:0)+g;g=d.chartHeight-this.bottom-(f?this.height:0)+g;f&&(b*=-1);return d.renderer.crispLine([["M",e?this.left:c,e?g:this.top],["L",e?d.chartWidth-this.right:c,e?g:d.chartHeight-this.bottom]],b)};a.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,
-zIndex:7}))};a.prototype.getTitlePosition=function(){var b=this.horiz,d=this.left,f=this.top,g=this.len,e=this.options.title,c=b?d:f,p=this.opposite,a=this.offset,q=e.x||0,h=e.y||0,x=this.axisTitle,u=this.chart.renderer.fontMetrics(e.style&&e.style.fontSize,x);x=Math.max(x.getBBox(null,0).height-u.h-1,0);g={low:c+(b?0:g),middle:c+g/2,high:c+(b?g:0)}[e.align];d=(b?f+this.height:d)+(b?1:-1)*(p?-1:1)*this.axisTitleMargin+[-x,x,u.f,-x][this.side];b={x:b?g+q:d+(p?this.width:0)+a+q,y:b?d+h-(p?this.height:
-0)+a:g+h};w(this,"afterGetTitlePosition",{titlePosition:b});return b};a.prototype.renderMinorTick=function(b){var d=this.chart.hasRendered&&this.old,f=this.minorTicks;f[b]||(f[b]=new N(this,b,"minor"));d&&f[b].isNew&&f[b].render(null,!0);f[b].render(null,!1,1)};a.prototype.renderTick=function(b,d){var f,g=this.ticks,e=this.chart.hasRendered&&this.old;if(!this.isLinked||b>=this.min&&b<=this.max||(null===(f=this.grid)||void 0===f?0:f.isColumn))g[b]||(g[b]=new N(this,b)),e&&g[b].isNew&&g[b].render(d,
-!0,-1),g[b].render(d)};a.prototype.render=function(){var d=this,f=d.chart,g=d.logarithmic,e=d.options,c=d.isLinked,p=d.tickPositions,a=d.axisTitle,q=d.ticks,h=d.minorTicks,x=d.alternateBands,u=e.stackLabels,k=e.alternateGridColor,J=d.tickmarkOffset,L=d.axisLine,M=d.showAxis,n=I(f.renderer.globalAnimation),G,y;d.labelEdge.length=0;d.overlap=!1;[q,h,x].forEach(function(b){K(b,function(b){b.isActive=!1})});if(d.hasData()||c)d.minorTickInterval&&!d.categories&&d.getMinorTickPositions().forEach(function(b){d.renderMinorTick(b)}),
-p.length&&(p.forEach(function(b,f){d.renderTick(b,f)}),J&&(0===d.min||d.single)&&(q[-1]||(q[-1]=new N(d,-1,null,!0)),q[-1].render(-1))),k&&p.forEach(function(b,e){y="undefined"!==typeof p[e+1]?p[e+1]+J:d.max-J;0===e%2&&b<d.max&&y<=d.max+(f.polar?-J:J)&&(x[b]||(x[b]=new A.PlotLineOrBand(d)),G=b+J,x[b].options={from:g?g.lin2log(G):G,to:g?g.lin2log(y):y,color:k,className:"highcharts-alternate-grid"},x[b].render(),x[b].isActive=!0)}),d._addedPlotLB||(d._addedPlotLB=!0,(e.plotLines||[]).concat(e.plotBands||
-[]).forEach(function(b){d.addPlotBandOrLine(b)}));[q,h,x].forEach(function(b){var d,g=[],e=n.duration;K(b,function(b,d){b.isActive||(b.render(d,!1,0),b.isActive=!1,g.push(d))});H(function(){for(d=g.length;d--;)b[g[d]]&&!b[g[d]].isActive&&(b[g[d]].destroy(),delete b[g[d]])},b!==x&&f.hasRendered&&e?e:0)});L&&(L[L.isPlaced?"animate":"attr"]({d:this.getLinePath(L.strokeWidth())}),L.isPlaced=!0,L[M?"show":"hide"](M));a&&M&&(e=d.getTitlePosition(),b(e.y)?(a[a.isNew?"attr":"animate"](e),a.isNew=!1):(a.attr("y",
--9999),a.isNew=!0));u&&u.enabled&&d.stacking&&d.stacking.renderStackTotals();d.old={len:d.len,max:d.max,min:d.min,transA:d.transA,userMax:d.userMax,userMin:d.userMin};d.isDirty=!1;w(this,"afterRender")};a.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(b){b.render()}));this.series.forEach(function(b){b.isDirty=!0})};a.prototype.getKeepProps=function(){return this.keepProps||a.keepProps};a.prototype.destroy=function(b){var d=this,f=d.plotLinesAndBands,
-g;w(this,"destroy",{keepEvents:b});b||p(d);[d.ticks,d.minorTicks,d.alternateBands].forEach(function(b){n(b)});if(f)for(b=f.length;b--;)f[b].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(b){d[b]&&(d[b]=d[b].destroy())});for(g in d.plotLinesAndBandsGroups)d.plotLinesAndBandsGroups[g]=d.plotLinesAndBandsGroups[g].destroy();K(d,function(b,f){-1===d.getKeepProps().indexOf(f)&&delete d[f]})};a.prototype.drawCrosshair=function(b,d){var f=this.crosshair,
-c=g(f.snap,!0),p,a=this.cross,q=this.chart;w(this,"drawCrosshair",{e:b,point:d});b||(b=this.cross&&this.cross.e);if(this.crosshair&&!1!==(e(d)||!c)){c?e(d)&&(p=g("colorAxis"!==this.coll?d.crosshairPos:null,this.isXAxis?d.plotX:this.len-d.plotY)):p=b&&(this.horiz?b.chartX-this.pos:this.len-b.chartY+this.pos);if(e(p)){var h={value:d&&(this.isXAxis?d.x:g(d.stackY,d.y)),translatedValue:p};q.polar&&Q(h,{isCrosshair:!0,chartX:b&&b.chartX,chartY:b&&b.chartY,point:d});h=this.getPlotLinePath(h)||null}if(!e(h)){this.hideCrosshair();
-return}c=this.categories&&!this.isRadial;a||(this.cross=a=q.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(c?"category ":"thin ")+f.className).attr({zIndex:g(f.zIndex,2)}).add(),q.styledMode||(a.attr({stroke:f.color||(c?m.parse(C.highlightColor20).setOpacity(.25).get():C.neutralColor20),"stroke-width":g(f.width,1)}).css({"pointer-events":"none"}),f.dashStyle&&a.attr({dashstyle:f.dashStyle})));a.show().attr({d:h});c&&!f.width&&a.attr({"stroke-width":this.transA});this.cross.e=
-b}else this.hideCrosshair();w(this,"afterDrawCrosshair",{e:b,point:d})};a.prototype.hideCrosshair=function(){this.cross&&this.cross.hide();w(this,"afterHideCrosshair")};a.prototype.hasVerticalPanning=function(){var b,d=null===(b=this.chart.options.chart)||void 0===b?void 0:b.panning;return!!(d&&d.enabled&&/y/.test(d.type))};a.prototype.validatePositiveValue=function(d){return b(d)&&0<d};a.prototype.update=function(b,d){var f=this.chart,e=b&&b.events||{};b=L(this.userOptions,b);f.options[this.coll].indexOf&&
-(f.options[this.coll][f.options[this.coll].indexOf(this.userOptions)]=b);K(f.options[this.coll].events,function(b,d){"undefined"===typeof e[d]&&(e[d]=void 0)});this.destroy(!0);this.init(f,Q(b,{events:e}));f.isDirtyBox=!0;g(d,!0)&&f.redraw()};a.prototype.remove=function(b){for(var d=this.chart,f=this.coll,e=this.series,c=e.length;c--;)e[c]&&e[c].remove(!1);y(d.axes,this);y(d[f],this);q(d.options[f])?d.options[f].splice(this.options.index,1):delete d.options[f];d[f].forEach(function(b,d){b.options.index=
-b.userOptions.index=d});this.destroy();d.isDirtyBox=!0;g(b,!0)&&d.redraw()};a.prototype.setTitle=function(b,d){this.update({title:b},d)};a.prototype.setCategories=function(b,d){this.update({categories:b},d)};a.defaultOptions={dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,labels:{enabled:!0,indentation:10,
-x:0,style:{color:C.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",minPadding:.01,showEmpty:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",style:{color:C.neutralColor60}},type:"linear",minorGridLineColor:C.neutralColor5,minorGridLineWidth:1,minorTickColor:C.neutralColor40,lineColor:C.highlightColor20,lineWidth:1,gridLineColor:C.neutralColor10,
-tickColor:C.highlightColor20};a.defaultYAxisOptions={endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var b=this.axis.chart.numberFormatter;return b(this.total,-1)},style:{color:C.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};a.defaultLeftAxisOptions=
-{labels:{x:-15},title:{rotation:270}};a.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};a.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};a.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};a.keepProps="extKey hcEvents names series userMax userMin".split(" ");return a}();A.Axis=a;return A.Axis});S(a,"Core/Axis/DateTimeAxis.js",[a["Core/Axis/Axis.js"],a["Core/Utilities.js"]],function(a,m){var A=m.addEvent,C=m.getMagnitude,
-F=m.normalizeTickInterval,O=m.timeUnits,E=function(){function a(a){this.axis=a}a.prototype.normalizeTimeTickInterval=function(a,z){var r=z||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];z=r[r.length-1];var v=O[z[0]],c=z[1],l;for(l=0;l<r.length&&!(z=r[l],v=O[z[0]],c=z[1],r[l+1]&&a<=(v*c[c.length-1]+O[r[l+1][0]])/2);l++);v===O.year&&a<5*v&&(c=[1,2,5]);
-a=F(a/v,c,"year"===z[0]?Math.max(C(a/v),1):1);return{unitRange:v,count:a,unitName:z[0]}};return a}();m=function(){function a(){}a.compose=function(a){a.keepProps.push("dateTime");a.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)};A(a,"init",function(a){"datetime"!==a.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new E(this))})};a.AdditionsClass=E;return a}();m.compose(a);return m});S(a,"Core/Axis/LogarithmicAxis.js",[a["Core/Axis/Axis.js"],
-a["Core/Utilities.js"]],function(a,m){var A=m.addEvent,C=m.getMagnitude,F=m.normalizeTickInterval,O=m.pick,E=function(){function a(a){this.axis=a}a.prototype.getLogTickPositions=function(a,z,r,v){var c=this.axis,l=c.len,e=c.options,n=[];v||(this.minorAutoInterval=void 0);if(.5<=a)a=Math.round(a),n=c.getLinearTickPositions(a,z,r);else if(.08<=a){e=Math.floor(z);var y,k;for(l=.3<a?[1,2,4]:.15<a?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];e<r+1&&!k;e++){var Q=l.length;for(y=0;y<Q&&!k;y++){var w=this.log2lin(this.lin2log(e)*
-l[y]);w>z&&(!v||h<=r)&&"undefined"!==typeof h&&n.push(h);h>r&&(k=!0);var h=w}}}else z=this.lin2log(z),r=this.lin2log(r),a=v?c.getMinorTickInterval():e.tickInterval,a=O("auto"===a?null:a,this.minorAutoInterval,e.tickPixelInterval/(v?5:1)*(r-z)/((v?l/c.tickPositions.length:l)||1)),a=F(a,void 0,C(a)),n=c.getLinearTickPositions(a,z,r).map(this.log2lin),v||(this.minorAutoInterval=a/5);v||(c.tickInterval=a);return n};a.prototype.lin2log=function(a){return Math.pow(10,a)};a.prototype.log2lin=function(a){return Math.log(a)/
-Math.LN10};return a}();m=function(){function a(){}a.compose=function(a){a.keepProps.push("logarithmic");A(a,"init",function(a){var r=this.logarithmic;"logarithmic"!==a.userOptions.type?this.logarithmic=void 0:r||(this.logarithmic=new E(this))});A(a,"afterInit",function(){var a=this.logarithmic;a&&(this.lin2val=function(r){return a.lin2log(r)},this.val2lin=function(r){return a.log2lin(r)})})};return a}();m.compose(a);return m});S(a,"Core/Axis/PlotLineOrBand.js",[a["Core/Axis/Axis.js"],a["Core/Globals.js"],
-a["Core/Color/Palette.js"],a["Core/Utilities.js"]],function(a,m,A,C){var F=C.arrayMax,O=C.arrayMin,E=C.defined,I=C.destroyObjectProperties,B=C.erase,z=C.extend,r=C.fireEvent,v=C.merge,c=C.objectEach,l=C.pick;C=function(){function e(e,c){this.axis=e;c&&(this.options=c,this.id=c.id)}e.prototype.render=function(){r(this,"render");var e=this,a=e.axis,k=a.horiz,z=a.logarithmic,w=e.options,h=w.label,G=e.label,q=w.to,x=w.from,b=w.value,d=E(x)&&E(q),L=E(b),M=e.svgElem,K=!M,g=[],J=w.color,p=l(w.zIndex,0),
-f=w.events;g={"class":"highcharts-plot-"+(d?"band ":"line ")+(w.className||"")};var H={},u=a.chart.renderer,m=d?"bands":"lines";z&&(x=z.log2lin(x),q=z.log2lin(q),b=z.log2lin(b));a.chart.styledMode||(L?(g.stroke=J||A.neutralColor40,g["stroke-width"]=l(w.width,1),w.dashStyle&&(g.dashstyle=w.dashStyle)):d&&(g.fill=J||A.highlightColor10,w.borderWidth&&(g.stroke=w.borderColor,g["stroke-width"]=w.borderWidth)));H.zIndex=p;m+="-"+p;(z=a.plotLinesAndBandsGroups[m])||(a.plotLinesAndBandsGroups[m]=z=u.g("plot-"+
-m).attr(H).add());K&&(e.svgElem=M=u.path().attr(g).add(z));if(L)g=a.getPlotLinePath({value:b,lineWidth:M.strokeWidth(),acrossPanes:w.acrossPanes});else if(d)g=a.getPlotBandPath(x,q,w);else return;!e.eventsAdded&&f&&(c(f,function(b,d){M.on(d,function(b){f[d].apply(e,[b])})}),e.eventsAdded=!0);(K||!M.d)&&g&&g.length?M.attr({d:g}):M&&(g?(M.show(!0),M.animate({d:g})):M.d&&(M.hide(),G&&(e.label=G=G.destroy())));h&&(E(h.text)||E(h.formatter))&&g&&g.length&&0<a.width&&0<a.height&&!g.isFlat?(h=v({align:k&&
-d&&"center",x:k?!d&&4:10,verticalAlign:!k&&d&&"middle",y:k?d?16:10:d?6:-4,rotation:k&&!d&&90},h),this.renderLabel(h,g,d,p)):G&&G.hide();return e};e.prototype.renderLabel=function(e,c,a,l){var k=this.label,h=this.axis.chart.renderer;k||(k={align:e.textAlign||e.align,rotation:e.rotation,"class":"highcharts-plot-"+(a?"band":"line")+"-label "+(e.className||"")},k.zIndex=l,l=this.getLabelText(e),this.label=k=h.text(l,0,0,e.useHTML).attr(k).add(),this.axis.chart.styledMode||k.css(e.style));h=c.xBounds||
-[c[0][1],c[1][1],a?c[2][1]:c[0][1]];c=c.yBounds||[c[0][2],c[1][2],a?c[2][2]:c[0][2]];a=O(h);l=O(c);k.align(e,!1,{x:a,y:l,width:F(h)-a,height:F(c)-l});k.show(!0)};e.prototype.getLabelText=function(e){return E(e.formatter)?e.formatter.call(this):e.text};e.prototype.destroy=function(){B(this.axis.plotLinesAndBands,this);delete this.axis;I(this)};return e}();z(a.prototype,{getPlotBandPath:function(e,c,a){void 0===a&&(a=this.options);var k=this.getPlotLinePath({value:c,force:!0,acrossPanes:a.acrossPanes});
-a=this.getPlotLinePath({value:e,force:!0,acrossPanes:a.acrossPanes});var n=[],w=this.horiz,h=1;e=e<this.min&&c<this.min||e>this.max&&c>this.max;if(a&&k){if(e){var G=a.toString()===k.toString();h=0}for(e=0;e<a.length;e+=2){c=a[e];var q=a[e+1],x=k[e],b=k[e+1];"M"!==c[0]&&"L"!==c[0]||"M"!==q[0]&&"L"!==q[0]||"M"!==x[0]&&"L"!==x[0]||"M"!==b[0]&&"L"!==b[0]||(w&&x[1]===c[1]?(x[1]+=h,b[1]+=h):w||x[2]!==c[2]||(x[2]+=h,b[2]+=h),n.push(["M",c[1],c[2]],["L",q[1],q[2]],["L",b[1],b[2]],["L",x[1],x[2]],["Z"]));
-n.isFlat=G}}return n},addPlotBand:function(e){return this.addPlotBandOrLine(e,"plotBands")},addPlotLine:function(e){return this.addPlotBandOrLine(e,"plotLines")},addPlotBandOrLine:function(e,c){var a=this,k=new m.PlotLineOrBand(this,e),n=this.userOptions;this.visible&&(k=k.render());if(k){this._addedPlotLB||(this._addedPlotLB=!0,(n.plotLines||[]).concat(n.plotBands||[]).forEach(function(e){a.addPlotBandOrLine(e)}));if(c){var w=n[c]||[];w.push(e);n[c]=w}this.plotLinesAndBands.push(k)}return k},removePlotBandOrLine:function(e){for(var c=
-this.plotLinesAndBands,a=this.options,k=this.userOptions,l=c.length;l--;)c[l].id===e&&c[l].destroy();[a.plotLines||[],k.plotLines||[],a.plotBands||[],k.plotBands||[]].forEach(function(c){for(l=c.length;l--;)(c[l]||{}).id===e&&B(c,c[l])})},removePlotBand:function(e){this.removePlotBandOrLine(e)},removePlotLine:function(e){this.removePlotBandOrLine(e)}});m.PlotLineOrBand=C;return m.PlotLineOrBand});S(a,"Core/Tooltip.js",[a["Core/Globals.js"],a["Core/Color/Palette.js"],a["Core/Utilities.js"]],function(a,
-m,A){var C=a.doc,F=A.clamp,O=A.css,E=A.defined,I=A.discardElement,B=A.extend,z=A.fireEvent,r=A.format,v=A.isNumber,c=A.isString,l=A.merge,e=A.pick,n=A.splat,y=A.syncTimeout,k=A.timeUnits;"";var Q=function(){function w(e,c){this.container=void 0;this.crosshairs=[];this.distance=0;this.isHidden=!0;this.isSticky=!1;this.now={};this.options={};this.outside=!1;this.chart=e;this.init(e,c)}w.prototype.applyFilter=function(){var e=this.chart;e.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+
-e.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{"in":"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{"in":"SourceGraphic"}}]}]});e.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+e.index+"{filter:url(#drop-shadow-"+e.index+")}"})};w.prototype.bodyFormatter=
-function(e){return e.map(function(e){var c=e.series.tooltipOptions;return(c[(e.point.formatPrefix||"point")+"Formatter"]||e.point.tooltipFormatter).call(e.point,c[(e.point.formatPrefix||"point")+"Format"]||"")})};w.prototype.cleanSplit=function(e){this.chart.series.forEach(function(c){var a=c&&c.tt;a&&(!a.isActive||e?c.tt=a.destroy():a.isActive=!1)})};w.prototype.defaultFormatter=function(e){var c=this.points||n(this);var a=[e.tooltipFooterHeaderFormatter(c[0])];a=a.concat(e.bodyFormatter(c));a.push(e.tooltipFooterHeaderFormatter(c[0],
-!0));return a};w.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),I(this.container));A.clearTimeout(this.hideTimer);A.clearTimeout(this.tooltipTimeout)};w.prototype.getAnchor=function(e,c){var a=this.chart;var h=a.pointer;var b=a.inverted,d=a.plotTop,k=a.plotLeft,M=0,K=0,g,J;e=n(e);this.followPointer&&c?("undefined"===typeof c.chartX&&(c=h.normalize(c)),
-h=[c.chartX-k,c.chartY-d]):e[0].tooltipPos?h=e[0].tooltipPos:(e.forEach(function(e){g=e.series.yAxis;J=e.series.xAxis;M+=e.plotX||0;K+=e.plotLow?(e.plotLow+(e.plotHigh||0))/2:e.plotY||0;J&&g&&(b?(M+=d+a.plotHeight-J.len-J.pos,K+=k+a.plotWidth-g.len-g.pos):(M+=J.pos-k,K+=g.pos-d))}),M/=e.length,K/=e.length,h=[b?a.plotWidth-K:M,b?a.plotHeight-M:K],this.shared&&1<e.length&&c&&(b?h[0]=c.chartX-k:h[1]=c.chartY-d));return h.map(Math.round)};w.prototype.getDateFormat=function(e,c,a,x){var b=this.chart.time,
-d=b.dateFormat("%m-%d %H:%M:%S.%L",c),q={millisecond:15,second:12,minute:9,hour:6,day:3},h="millisecond";for(K in k){if(e===k.week&&+b.dateFormat("%w",c)===a&&"00:00:00.000"===d.substr(6)){var K="week";break}if(k[K]>e){K=h;break}if(q[K]&&d.substr(q[K])!=="01-01 00:00:00.000".substr(q[K]))break;"week"!==K&&(h=K)}if(K)var g=b.resolveDTLFormat(x[K]).main;return g};w.prototype.getLabel=function(){var e,c,q,x=this,b=this.chart.renderer,d=this.chart.styledMode,k=this.options,M="tooltip"+(E(k.className)?
-" "+k.className:""),K=(null===(e=k.style)||void 0===e?void 0:e.pointerEvents)||(!this.followPointer&&k.stickOnContact?"auto":"none"),g;e=function(){x.inContact=!0};var J=function(){var b=x.chart.hoverSeries;x.inContact=!1;if(b&&b.onMouseOut)b.onMouseOut()};if(!this.label){if(this.outside){var p=null===(c=this.chart.options.chart)||void 0===c?void 0:c.style;this.container=g=a.doc.createElement("div");g.className="highcharts-tooltip-container";O(g,{position:"absolute",top:"1px",pointerEvents:K,zIndex:Math.max((null===
-(q=this.options.style)||void 0===q?void 0:q.zIndex)||0,((null===p||void 0===p?void 0:p.zIndex)||0)+3)});a.doc.body.appendChild(g);this.renderer=b=new a.Renderer(g,0,0,p,void 0,void 0,b.styledMode)}this.split?this.label=b.g(M):(this.label=b.label("",0,0,k.shape||"callout",null,null,k.useHTML,null,M).attr({padding:k.padding,r:k.borderRadius}),d||this.label.attr({fill:k.backgroundColor,"stroke-width":k.borderWidth}).css(k.style).css({pointerEvents:K}).shadow(k.shadow));d&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+
-this.chart.index));if(x.outside&&!x.split){var f=this.label,H=f.xSetter,u=f.ySetter;f.xSetter=function(b){H.call(f,x.distance);g.style.left=b+"px"};f.ySetter=function(b){u.call(f,x.distance);g.style.top=b+"px"}}this.label.on("mouseenter",e).on("mouseleave",J).attr({zIndex:8}).add()}return this.label};w.prototype.getPosition=function(c,a,q){var h=this.chart,b=this.distance,d={},k=h.inverted&&q.h||0,M,K=this.outside,g=K?C.documentElement.clientWidth-2*b:h.chartWidth,J=K?Math.max(C.body.scrollHeight,
-C.documentElement.scrollHeight,C.body.offsetHeight,C.documentElement.offsetHeight,C.documentElement.clientHeight):h.chartHeight,p=h.pointer.getChartPosition(),f=function(d){var f="x"===d;return[d,f?g:J,f?c:a].concat(K?[f?c*p.scaleX:a*p.scaleY,f?p.left-b+(q.plotX+h.plotLeft)*p.scaleX:p.top-b+(q.plotY+h.plotTop)*p.scaleY,0,f?g:J]:[f?c:a,f?q.plotX+h.plotLeft:q.plotY+h.plotTop,f?h.plotLeft:h.plotTop,f?h.plotLeft+h.plotWidth:h.plotTop+h.plotHeight])},H=f("y"),u=f("x"),n=!this.followPointer&&e(q.ttBelow,
-!h.inverted===!!q.negative),t=function(f,g,e,c,a,q,h){var x=K?"y"===f?b*p.scaleY:b*p.scaleX:b,t=(e-c)/2,u=c<a-b,J=a+b+c<g,D=a-x-e+t;a=a+x-t;if(n&&J)d[f]=a;else if(!n&&u)d[f]=D;else if(u)d[f]=Math.min(h-c,0>D-k?D:D-k);else if(J)d[f]=Math.max(q,a+k+e>g?a:a+k);else return!1},G=function(f,g,e,c,a){var p;a<b||a>g-b?p=!1:d[f]=a<e/2?1:a>g-c/2?g-c-2:a-e/2;return p},l=function(b){var d=H;H=u;u=d;M=b},w=function(){!1!==t.apply(0,H)?!1!==G.apply(0,u)||M||(l(!0),w()):M?d.x=d.y=0:(l(!0),w())};(h.inverted||1<this.len)&&
-l();w();return d};w.prototype.getXDateFormat=function(e,c,a){c=c.dateTimeLabelFormats;var q=a&&a.closestPointRange;return(q?this.getDateFormat(q,e.x,a.options.startOfWeek,c):c.day)||c.year};w.prototype.hide=function(c){var a=this;A.clearTimeout(this.hideTimer);c=e(c,this.options.hideDelay,500);this.isHidden||(this.hideTimer=y(function(){a.getLabel().fadeOut(c?void 0:c);a.isHidden=!0},c))};w.prototype.init=function(c,a){this.chart=c;this.options=a;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=
-!0;this.split=a.split&&!c.inverted&&!c.polar;this.shared=a.shared||this.split;this.outside=e(a.outside,!(!c.scrollablePixelsX&&!c.scrollablePixelsY))};w.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)};w.prototype.move=function(e,c,a,x){var b=this,d=b.now,q=!1!==b.options.animation&&!b.isHidden&&(1<Math.abs(e-d.x)||1<Math.abs(c-d.y)),h=b.followPointer||1<b.len;B(d,{x:q?(2*d.x+e)/3:e,y:q?(d.y+c)/2:c,anchorX:h?void 0:q?(2*d.anchorX+a)/
-3:a,anchorY:h?void 0:q?(d.anchorY+x)/2:x});b.getLabel().attr(d);b.drawTracker();q&&(A.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){b&&b.move(e,c,a,x)},32))};w.prototype.refresh=function(c,a){var q=this.chart,h=this.options,b=c,d={},k=[],M=h.formatter||this.defaultFormatter;d=this.shared;var K=q.styledMode;if(h.enabled){A.clearTimeout(this.hideTimer);this.followPointer=n(b)[0].series.tooltipOptions.followPointer;var g=this.getAnchor(b,a);a=g[0];var J=g[1];!d||b.series&&
-b.series.noSharedTooltip?d=b.getLabelConfig():(q.pointer.applyInactiveState(b),b.forEach(function(b){b.setState("hover");k.push(b.getLabelConfig())}),d={x:b[0].category,y:b[0].y},d.points=k,b=b[0]);this.len=k.length;q=M.call(d,this);M=b.series;this.distance=e(M.tooltipOptions.distance,16);!1===q?this.hide():(this.split?this.renderSplit(q,n(c)):(c=this.getLabel(),h.style.width&&!K||c.css({width:this.chart.spacingBox.width+"px"}),c.attr({text:q&&q.join?q.join(""):q}),c.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+
-e(b.colorIndex,M.colorIndex)),K||c.attr({stroke:h.borderColor||b.color||M.color||m.neutralColor60}),this.updatePosition({plotX:a,plotY:J,negative:b.negative,ttBelow:b.ttBelow,h:g[2]||0})),this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1);z(this,"refresh")}};w.prototype.renderSplit=function(h,k){function q(b,d,f,g,c){void 0===c&&(c=!0);f?(d=r?0:Q,b=F(b-g/2,y.left,y.right-g)):(d-=v,b=c?b-g-t:b+t,b=F(b,c?b:y.left,y.right));return{x:b,y:d}}var x=this,b=x.chart,d=x.chart,
-L=d.plotHeight,M=d.plotLeft,n=d.plotTop,g=d.pointer,J=d.renderer,p=d.scrollablePixelsY,f=void 0===p?0:p;p=d.scrollingContainer;p=void 0===p?{scrollLeft:0,scrollTop:0}:p;var H=p.scrollLeft,u=p.scrollTop,l=d.styledMode,t=x.distance,w=x.options,G=x.options.positioner,y={left:H,right:H+d.chartWidth,top:u,bottom:u+d.chartHeight},D=x.getLabel(),r=!(!b.xAxis[0]||!b.xAxis[0].opposite),v=n+u,z=0,Q=L-f;c(h)&&(h=[!1,h]);h=h.slice(0,k.length+1).reduce(function(b,d,g){if(!1!==d&&""!==d){g=k[g-1]||{isHeader:!0,
-plotX:k[0].plotX,plotY:L,series:{}};var c=g.isHeader,a=c?x:g.series,p=a.tt,h=g.isHeader;var H=g.series;var K="highcharts-color-"+e(g.colorIndex,H.colorIndex,"none");p||(p={padding:w.padding,r:w.borderRadius},l||(p.fill=w.backgroundColor,p["stroke-width"]=w.borderWidth),p=J.label("",0,0,w[h?"headerShape":"shape"]||"callout",void 0,void 0,w.useHTML).addClass((h?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+K).attr(p).add(D));p.isActive=!0;p.attr({text:d});l||p.css(w.style).shadow(w.shadow).attr({stroke:w.borderColor||
-g.color||H.color||m.neutralColor80});d=a.tt=p;h=d.getBBox();a=h.width+d.strokeWidth();c&&(z=h.height,Q+=z,r&&(v-=z));H=g.plotX;H=void 0===H?0:H;K=g.plotY;K=void 0===K?0:K;var T=g.series;if(g.isHeader){H=M+H;var X=n+L/2}else p=T.xAxis,T=T.yAxis,H=p.pos+F(H,-t,p.len+t),T.pos+K>=u+n&&T.pos+K<=u+n+L-f&&(X=T.pos+K);H=F(H,y.left-t,y.right+t);"number"===typeof X?(h=h.height+1,K=G?G.call(x,a,h,g):q(H,X,c,a),b.push({align:G?0:void 0,anchorX:H,anchorY:X,boxWidth:a,point:g,rank:e(K.rank,c?1:0),size:h,target:K.y,
-tt:d,x:K.x})):d.isActive=!1}return b},[]);!G&&h.some(function(b){return b.x<y.left})&&(h=h.map(function(b){var d=q(b.anchorX,b.anchorY,b.point.isHeader,b.boxWidth,!1);return B(b,{target:d.y,x:d.x})}));x.cleanSplit();a.distribute(h,Q);h.forEach(function(b){var d=b.pos;b.tt.attr({visibility:"undefined"===typeof d?"hidden":"inherit",x:b.x,y:d+v,anchorX:b.anchorX,anchorY:b.anchorY})});h=x.container;b=x.renderer;x.outside&&h&&b&&(d=D.getBBox(),b.setSize(d.width+d.x,d.height+d.y,!1),g=g.getChartPosition(),
-h.style.left=g.left+"px",h.style.top=g.top+"px")};w.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var c=this.chart,e=this.label,a=c.hoverPoint;if(e&&a){var x={x:0,y:0,width:0,height:0};a=this.getAnchor(a);var b=e.getBBox();a[0]+=c.plotLeft-e.translateX;a[1]+=c.plotTop-e.translateY;x.x=Math.min(0,a[0]);x.y=Math.min(0,a[1]);x.width=0>a[0]?Math.max(Math.abs(a[0]),b.width-a[0]):Math.max(Math.abs(a[0]),b.width);x.height=0>
-a[1]?Math.max(Math.abs(a[1]),b.height-Math.abs(a[1])):Math.max(Math.abs(a[1]),b.height);this.tracker?this.tracker.attr(x):(this.tracker=e.renderer.rect(x).addClass("highcharts-tracker").add(e),c.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}};w.prototype.styledModeFormat=function(c){return c.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')};w.prototype.tooltipFooterHeaderFormatter=
-function(c,e){var a=e?"footer":"header",h=c.series,b=h.tooltipOptions,d=b.xDateFormat,k=h.xAxis,M=k&&"datetime"===k.options.type&&v(c.key),K=b[a+"Format"];e={isFooter:e,labelConfig:c};z(this,"headerFormatter",e,function(g){M&&!d&&(d=this.getXDateFormat(c,b,k));M&&d&&(c.point&&c.point.tooltipDateKeys||["key"]).forEach(function(b){K=K.replace("{point."+b+"}","{point."+b+":"+d+"}")});h.chart.styledMode&&(K=this.styledModeFormat(K));g.text=r(K,{point:c,series:h},this.chart)});return e.text};w.prototype.update=
-function(c){this.destroy();l(!0,this.chart.options.tooltip.userOptions,c);this.init(this.chart,l(!0,this.options,c))};w.prototype.updatePosition=function(c){var e=this.chart,a=e.pointer,h=this.getLabel(),b=c.plotX+e.plotLeft;e=c.plotY+e.plotTop;a=a.getChartPosition();c=(this.options.positioner||this.getPosition).call(this,h.width,h.height,c);if(this.outside){var d=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(h.width+d,h.height+d,!1);if(1!==a.scaleX||1!==a.scaleY)O(this.container,
-{transform:"scale("+a.scaleX+", "+a.scaleY+")"}),b*=a.scaleX,e*=a.scaleY;b+=a.left-c.x;e+=a.top-c.y}this.move(Math.round(c.x),Math.round(c.y||0),b,e)};return w}();a.Tooltip=Q;return a.Tooltip});S(a,"Core/Pointer.js",[a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Color/Palette.js"],a["Core/Tooltip.js"],a["Core/Utilities.js"]],function(a,m,A,C,F){var O=a.parse,E=m.charts,I=m.noop,B=F.addEvent,z=F.attr,r=F.css,v=F.defined,c=F.extend,l=F.find,e=F.fireEvent,n=F.isNumber,y=F.isObject,k=F.objectEach,
-Q=F.offset,w=F.pick,h=F.splat;"";a=function(){function a(c,a){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.chart=c;this.hasDragged=!1;this.options=a;this.unbindContainerMouseLeave=function(){};this.unbindContainerMouseEnter=function(){};this.init(c,a)}a.prototype.applyInactiveState=function(c){var a=[],b;(c||[]).forEach(function(d){b=d.series;a.push(b);b.linkedParent&&a.push(b.linkedParent);b.linkedSeries&&(a=a.concat(b.linkedSeries));b.navigatorSeries&&a.push(b.navigatorSeries)});
-this.chart.series.forEach(function(b){-1===a.indexOf(b)?b.setState("inactive",!0):b.options.inactiveOtherPoints&&b.setAllPointsToState("inactive")})};a.prototype.destroy=function(){var c=this;"undefined"!==typeof c.unDocMouseMove&&c.unDocMouseMove();this.unbindContainerMouseLeave();m.chartCount||(m.unbindDocumentMouseUp&&(m.unbindDocumentMouseUp=m.unbindDocumentMouseUp()),m.unbindDocumentTouchEnd&&(m.unbindDocumentTouchEnd=m.unbindDocumentTouchEnd()));clearInterval(c.tooltipTimeout);k(c,function(a,
-b){c[b]=void 0})};a.prototype.drag=function(c){var a=this.chart,b=a.options.chart,d=c.chartX,e=c.chartY,q=this.zoomHor,h=this.zoomVert,g=a.plotLeft,k=a.plotTop,p=a.plotWidth,f=a.plotHeight,H=this.selectionMarker,u=this.mouseDownX||0,n=this.mouseDownY||0,t=y(b.panning)?b.panning&&b.panning.enabled:b.panning,w=b.panKey&&c[b.panKey+"Key"];if(!H||!H.touch)if(d<g?d=g:d>g+p&&(d=g+p),e<k?e=k:e>k+f&&(e=k+f),this.hasDragged=Math.sqrt(Math.pow(u-d,2)+Math.pow(n-e,2)),10<this.hasDragged){var l=a.isInsidePlot(u-
-g,n-k);a.hasCartesianSeries&&(this.zoomX||this.zoomY)&&l&&!w&&!H&&(this.selectionMarker=H=a.renderer.rect(g,k,q?1:p,h?1:f,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),a.styledMode||H.attr({fill:b.selectionMarkerFill||O(A.highlightColor80).setOpacity(.25).get()}));H&&q&&(d-=u,H.attr({width:Math.abs(d),x:(0<d?0:d)+u}));H&&h&&(d=e-n,H.attr({height:Math.abs(d),y:(0<d?0:d)+n}));l&&!H&&t&&a.pan(c,b.panning)}};a.prototype.dragStart=function(c){var a=this.chart;a.mouseIsDown=c.type;a.cancelClick=
-!1;a.mouseDownX=this.mouseDownX=c.chartX;a.mouseDownY=this.mouseDownY=c.chartY};a.prototype.drop=function(a){var q=this,b=this.chart,d=this.hasPinched;if(this.selectionMarker){var h={originalEvent:a,xAxis:[],yAxis:[]},k=this.selectionMarker,K=k.attr?k.attr("x"):k.x,g=k.attr?k.attr("y"):k.y,J=k.attr?k.attr("width"):k.width,p=k.attr?k.attr("height"):k.height,f;if(this.hasDragged||d)b.axes.forEach(function(b){if(b.zoomEnabled&&v(b.min)&&(d||q[{xAxis:"zoomX",yAxis:"zoomY"}[b.coll]])&&n(K)&&n(g)){var c=
-b.horiz,e="touchend"===a.type?b.minPixelPadding:0,k=b.toValue((c?K:g)+e);c=b.toValue((c?K+J:g+p)-e);h[b.coll].push({axis:b,min:Math.min(k,c),max:Math.max(k,c)});f=!0}}),f&&e(b,"selection",h,function(f){b.zoom(c(f,d?{animation:!1}:null))});n(b.index)&&(this.selectionMarker=this.selectionMarker.destroy());d&&this.scaleGroups()}b&&n(b.index)&&(r(b.container,{cursor:b._cursor}),b.cancelClick=10<this.hasDragged,b.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])};a.prototype.findNearestKDPoint=
-function(c,a,b){var d=this.chart,e=d.hoverPoint;d=d.tooltip;if(e&&d&&d.isStickyOnContact())return e;var q;c.forEach(function(d){var c=!(d.noSharedTooltip&&a)&&0>d.options.findNearestPointBy.indexOf("y");d=d.searchPoint(b,c);if((c=y(d,!0)&&d.series)&&!(c=!y(q,!0))){c=q.distX-d.distX;var e=q.dist-d.dist,p=(d.series.group&&d.series.group.zIndex)-(q.series.group&&q.series.group.zIndex);c=0<(0!==c&&a?c:0!==e?e:0!==p?p:q.series.index>d.series.index?-1:1)}c&&(q=d)});return q};a.prototype.getChartCoordinatesFromPoint=
-function(c,a){var b=c.series,d=b.xAxis;b=b.yAxis;var e=w(c.clientX,c.plotX),q=c.shapeArgs;if(d&&b)return a?{chartX:d.len+d.pos-e,chartY:b.len+b.pos-c.plotY}:{chartX:e+d.pos,chartY:c.plotY+b.pos};if(q&&q.x&&q.y)return{chartX:q.x,chartY:q.y}};a.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var c=this.chart.container,a=Q(c);this.chartPosition={left:a.left,top:a.top,scaleX:1,scaleY:1};var b=c.offsetWidth;c=c.offsetHeight;2<b&&2<c&&(this.chartPosition.scaleX=a.width/
-b,this.chartPosition.scaleY=a.height/c);return this.chartPosition};a.prototype.getCoordinates=function(c){var a={xAxis:[],yAxis:[]};this.chart.axes.forEach(function(b){a[b.isXAxis?"xAxis":"yAxis"].push({axis:b,value:b.toValue(c[b.horiz?"chartX":"chartY"])})});return a};a.prototype.getHoverData=function(c,a,b,d,h,k){var q,g=[];d=!(!d||!c);var J=a&&!a.stickyTracking,p={chartX:k?k.chartX:void 0,chartY:k?k.chartY:void 0,shared:h};e(this,"beforeGetHoverData",p);J=J?[a]:b.filter(function(b){return p.filter?
-p.filter(b):b.visible&&!(!h&&b.directTouch)&&w(b.options.enableMouseTracking,!0)&&b.stickyTracking});a=(q=d||!k?c:this.findNearestKDPoint(J,h,k))&&q.series;q&&(h&&!a.noSharedTooltip?(J=b.filter(function(b){return p.filter?p.filter(b):b.visible&&!(!h&&b.directTouch)&&w(b.options.enableMouseTracking,!0)&&!b.noSharedTooltip}),J.forEach(function(b){var d=l(b.points,function(b){return b.x===q.x&&!b.isNull});y(d)&&(b.chart.isBoosting&&(d=b.getPoint(d)),g.push(d))})):g.push(q));p={hoverPoint:q};e(this,"afterGetHoverData",
-p);return{hoverPoint:p.hoverPoint,hoverSeries:a,hoverPoints:g}};a.prototype.getPointFromEvent=function(c){c=c.target;for(var a;c&&!a;)a=c.point,c=c.parentNode;return a};a.prototype.onTrackerMouseOut=function(c){c=c.relatedTarget||c.toElement;var a=this.chart.hoverSeries;this.isDirectTouch=!1;if(!(!a||!c||a.stickyTracking||this.inClass(c,"highcharts-tooltip")||this.inClass(c,"highcharts-series-"+a.index)&&this.inClass(c,"highcharts-tracker")))a.onMouseOut()};a.prototype.inClass=function(c,a){for(var b;c;){if(b=
-z(c,"class")){if(-1!==b.indexOf(a))return!0;if(-1!==b.indexOf("highcharts-container"))return!1}c=c.parentNode}};a.prototype.init=function(c,a){this.options=a;this.chart=c;this.runChartClick=a.chart.events&&!!a.chart.events.click;this.pinchDown=[];this.lastValidTouch={};C&&(c.tooltip=new C(c,a.tooltip),this.followTouchMove=w(a.tooltip.followTouchMove,!0));this.setDOMEvents()};a.prototype.normalize=function(a,e){var b=a.touches,d=b?b.length?b.item(0):w(b.changedTouches,a.changedTouches)[0]:a;e||(e=
-this.getChartPosition());b=d.pageX-e.left;d=d.pageY-e.top;b/=e.scaleX;d/=e.scaleY;return c(a,{chartX:Math.round(b),chartY:Math.round(d)})};a.prototype.onContainerClick=function(a){var h=this.chart,b=h.hoverPoint;a=this.normalize(a);var d=h.plotLeft,k=h.plotTop;h.cancelClick||(b&&this.inClass(a.target,"highcharts-tracker")?(e(b.series,"click",c(a,{point:b})),h.hoverPoint&&b.firePointEvent("click",a)):(c(a,this.getCoordinates(a)),h.isInsidePlot(a.chartX-d,a.chartY-k)&&e(h,"click",a)))};a.prototype.onContainerMouseDown=
-function(c){var a=1===((c.buttons||c.button)&1);c=this.normalize(c);if(m.isFirefox&&0!==c.button)this.onContainerMouseMove(c);if("undefined"===typeof c.button||a)this.zoomOption(c),a&&c.preventDefault&&c.preventDefault(),this.dragStart(c)};a.prototype.onContainerMouseLeave=function(c){var a=E[w(m.hoverChartIndex,-1)],b=this.chart.tooltip;c=this.normalize(c);a&&(c.relatedTarget||c.toElement)&&(a.pointer.reset(),a.pointer.chartPosition=void 0);b&&!b.isHidden&&this.reset()};a.prototype.onContainerMouseEnter=
-function(c){delete this.chartPosition};a.prototype.onContainerMouseMove=function(c){var a=this.chart;c=this.normalize(c);this.setHoverChartIndex();c.preventDefault||(c.returnValue=!1);("mousedown"===a.mouseIsDown||this.touchSelect(c))&&this.drag(c);a.openMenu||!this.inClass(c.target,"highcharts-tracker")&&!a.isInsidePlot(c.chartX-a.plotLeft,c.chartY-a.plotTop)||this.runPointActions(c)};a.prototype.onDocumentTouchEnd=function(c){E[m.hoverChartIndex]&&E[m.hoverChartIndex].pointer.drop(c)};a.prototype.onContainerTouchMove=
-function(c){if(this.touchSelect(c))this.onContainerMouseMove(c);else this.touch(c)};a.prototype.onContainerTouchStart=function(c){if(this.touchSelect(c))this.onContainerMouseDown(c);else this.zoomOption(c),this.touch(c,!0)};a.prototype.onDocumentMouseMove=function(c){var a=this.chart,b=this.chartPosition;c=this.normalize(c,b);var d=a.tooltip;!b||d&&d.isStickyOnContact()||a.isInsidePlot(c.chartX-a.plotLeft,c.chartY-a.plotTop)||this.inClass(c.target,"highcharts-tracker")||this.reset()};a.prototype.onDocumentMouseUp=
-function(c){var a=E[w(m.hoverChartIndex,-1)];a&&a.pointer.drop(c)};a.prototype.pinch=function(a){var e=this,b=e.chart,d=e.pinchDown,h=a.touches||[],k=h.length,q=e.lastValidTouch,g=e.hasZoom,J=e.selectionMarker,p={},f=1===k&&(e.inClass(a.target,"highcharts-tracker")&&b.runTrackerClick||e.runChartClick),n={};1<k&&(e.initiated=!0);g&&e.initiated&&!f&&!1!==a.cancelable&&a.preventDefault();[].map.call(h,function(b){return e.normalize(b)});"touchstart"===a.type?([].forEach.call(h,function(b,f){d[f]={chartX:b.chartX,
-chartY:b.chartY}}),q.x=[d[0].chartX,d[1]&&d[1].chartX],q.y=[d[0].chartY,d[1]&&d[1].chartY],b.axes.forEach(function(d){if(d.zoomEnabled){var f=b.bounds[d.horiz?"h":"v"],c=d.minPixelPadding,a=d.toPixels(Math.min(w(d.options.min,d.dataMin),d.dataMin)),e=d.toPixels(Math.max(w(d.options.max,d.dataMax),d.dataMax)),g=Math.max(a,e);f.min=Math.min(d.pos,Math.min(a,e)-c);f.max=Math.max(d.pos+d.len,g+c)}}),e.res=!0):e.followTouchMove&&1===k?this.runPointActions(e.normalize(a)):d.length&&(J||(e.selectionMarker=
-J=c({destroy:I,touch:!0},b.plotBox)),e.pinchTranslate(d,h,p,J,n,q),e.hasPinched=g,e.scaleGroups(p,n),e.res&&(e.res=!1,this.reset(!1,0)))};a.prototype.pinchTranslate=function(c,a,b,d,e,h){this.zoomHor&&this.pinchTranslateDirection(!0,c,a,b,d,e,h);this.zoomVert&&this.pinchTranslateDirection(!1,c,a,b,d,e,h)};a.prototype.pinchTranslateDirection=function(c,a,b,d,e,h,k,g){var q=this.chart,p=c?"x":"y",f=c?"X":"Y",n="chart"+f,u=c?"width":"height",M=q["plot"+(c?"Left":"Top")],t,L,x=g||1,K=q.inverted,D=q.bounds[c?
-"h":"v"],w=1===a.length,l=a[0][n],y=b[0][n],r=!w&&a[1][n],v=!w&&b[1][n];b=function(){"number"===typeof v&&20<Math.abs(l-r)&&(x=g||Math.abs(y-v)/Math.abs(l-r));L=(M-y)/x+l;t=q["plot"+(c?"Width":"Height")]/x};b();a=L;if(a<D.min){a=D.min;var G=!0}else a+t>D.max&&(a=D.max-t,G=!0);G?(y-=.8*(y-k[p][0]),"number"===typeof v&&(v-=.8*(v-k[p][1])),b()):k[p]=[y,v];K||(h[p]=L-M,h[u]=t);h=K?1/x:x;e[u]=t;e[p]=a;d[K?c?"scaleY":"scaleX":"scale"+f]=x;d["translate"+f]=h*M+(y-h*l)};a.prototype.reset=function(c,a){var b=
-this.chart,d=b.hoverSeries,e=b.hoverPoint,k=b.hoverPoints,q=b.tooltip,g=q&&q.shared?k:e;c&&g&&h(g).forEach(function(b){b.series.isCartesian&&"undefined"===typeof b.plotX&&(c=!1)});if(c)q&&g&&h(g).length&&(q.refresh(g),q.shared&&k?k.forEach(function(b){b.setState(b.state,!0);b.series.isCartesian&&(b.series.xAxis.crosshair&&b.series.xAxis.drawCrosshair(null,b),b.series.yAxis.crosshair&&b.series.yAxis.drawCrosshair(null,b))}):e&&(e.setState(e.state,!0),b.axes.forEach(function(b){b.crosshair&&e.series[b.coll]===
-b&&b.drawCrosshair(null,e)})));else{if(e)e.onMouseOut();k&&k.forEach(function(b){b.setState()});if(d)d.onMouseOut();q&&q.hide(a);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());b.axes.forEach(function(b){b.hideCrosshair()});this.hoverX=b.hoverPoints=b.hoverPoint=null}};a.prototype.runPointActions=function(c,a){var b=this.chart,d=b.tooltip&&b.tooltip.options.enabled?b.tooltip:void 0,e=d?d.shared:!1,h=a||b.hoverPoint,k=h&&h.series||b.hoverSeries;k=this.getHoverData(h,k,b.series,(!c||
-"touchmove"!==c.type)&&(!!a||k&&k.directTouch&&this.isDirectTouch),e,c);h=k.hoverPoint;var g=k.hoverPoints;a=(k=k.hoverSeries)&&k.tooltipOptions.followPointer;e=e&&k&&!k.noSharedTooltip;if(h&&(h!==b.hoverPoint||d&&d.isHidden)){(b.hoverPoints||[]).forEach(function(b){-1===g.indexOf(b)&&b.setState()});if(b.hoverSeries!==k)k.onMouseOver();this.applyInactiveState(g);(g||[]).forEach(function(b){b.setState("hover")});b.hoverPoint&&b.hoverPoint.firePointEvent("mouseOut");if(!h.series)return;b.hoverPoints=
-g;b.hoverPoint=h;h.firePointEvent("mouseOver");d&&d.refresh(e?g:h,c)}else a&&d&&!d.isHidden&&(h=d.getAnchor([{}],c),d.updatePosition({plotX:h[0],plotY:h[1]}));this.unDocMouseMove||(this.unDocMouseMove=B(b.container.ownerDocument,"mousemove",function(b){var d=E[m.hoverChartIndex];if(d)d.pointer.onDocumentMouseMove(b)}));b.axes.forEach(function(d){var a=w((d.crosshair||{}).snap,!0),f;a&&((f=b.hoverPoint)&&f.series[d.coll]===d||(f=l(g,function(b){return b.series[d.coll]===d})));f||!a?d.drawCrosshair(c,
-f):d.hideCrosshair()})};a.prototype.scaleGroups=function(c,a){var b=this.chart,d;b.series.forEach(function(e){d=c||e.getPlotBox();e.xAxis&&e.xAxis.zoomEnabled&&e.group&&(e.group.attr(d),e.markerGroup&&(e.markerGroup.attr(d),e.markerGroup.clip(a?b.clipRect:null)),e.dataLabelsGroup&&e.dataLabelsGroup.attr(d))});b.clipRect.attr(a||b.clipBox)};a.prototype.setDOMEvents=function(){var c=this,a=this.chart.container,b=a.ownerDocument;a.onmousedown=this.onContainerMouseDown.bind(this);a.onmousemove=this.onContainerMouseMove.bind(this);
-a.onclick=this.onContainerClick.bind(this);this.unbindContainerMouseEnter=B(a,"mouseenter",this.onContainerMouseEnter.bind(this));this.unbindContainerMouseLeave=B(a,"mouseleave",this.onContainerMouseLeave.bind(this));m.unbindDocumentMouseUp||(m.unbindDocumentMouseUp=B(b,"mouseup",this.onDocumentMouseUp.bind(this)));for(var d=this.chart.renderTo.parentElement;d&&"BODY"!==d.tagName;)B(d,"scroll",function(){delete c.chartPosition}),d=d.parentElement;m.hasTouch&&(B(a,"touchstart",this.onContainerTouchStart.bind(this),
-{passive:!1}),B(a,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1}),m.unbindDocumentTouchEnd||(m.unbindDocumentTouchEnd=B(b,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};a.prototype.setHoverChartIndex=function(){var c=this.chart,a=m.charts[w(m.hoverChartIndex,-1)];if(a&&a!==c)a.pointer.onContainerMouseLeave({relatedTarget:!0});a&&a.mouseIsDown||(m.hoverChartIndex=c.index)};a.prototype.touch=function(c,a){var b=this.chart,d;this.setHoverChartIndex();if(1===c.touches.length)if(c=
-this.normalize(c),(d=b.isInsidePlot(c.chartX-b.plotLeft,c.chartY-b.plotTop))&&!b.openMenu){a&&this.runPointActions(c);if("touchmove"===c.type){a=this.pinchDown;var e=a[0]?4<=Math.sqrt(Math.pow(a[0].chartX-c.chartX,2)+Math.pow(a[0].chartY-c.chartY,2)):!1}w(e,!0)&&this.pinch(c)}else a&&this.reset();else 2===c.touches.length&&this.pinch(c)};a.prototype.touchSelect=function(c){return!(!this.chart.options.chart.zoomBySingleTouch||!c.touches||1!==c.touches.length)};a.prototype.zoomOption=function(c){var a=
-this.chart,b=a.options.chart,d=b.zoomType||"";a=a.inverted;/touch/.test(c.type)&&(d=w(b.pinchType,d));this.zoomX=c=/x/.test(d);this.zoomY=d=/y/.test(d);this.zoomHor=c&&!a||d&&a;this.zoomVert=d&&!a||c&&a;this.hasZoom=c||d};return a}();return m.Pointer=a});S(a,"Core/MSPointer.js",[a["Core/Globals.js"],a["Core/Pointer.js"],a["Core/Utilities.js"]],function(a,m,A){function C(){var c=[];c.item=function(c){return this[c]};v(l,function(a){c.push({pageX:a.pageX,pageY:a.pageY,target:a.target})});return c}function F(c,
-e,k,l){"touch"!==c.pointerType&&c.pointerType!==c.MSPOINTER_TYPE_TOUCH||!E[a.hoverChartIndex]||(l(c),l=E[a.hoverChartIndex].pointer,l[e]({type:k,target:c.currentTarget,preventDefault:B,touches:C()}))}var O=this&&this.__extends||function(){var c=function(a,e){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var e in a)a.hasOwnProperty(e)&&(c[e]=a[e])};return c(a,e)};return function(a,e){function k(){this.constructor=a}c(a,e);a.prototype=null===
-e?Object.create(e):(k.prototype=e.prototype,new k)}}(),E=a.charts,I=a.doc,B=a.noop,z=A.addEvent,r=A.css,v=A.objectEach,c=A.removeEvent,l={},e=!!a.win.PointerEvent;return function(a){function n(){return null!==a&&a.apply(this,arguments)||this}O(n,a);n.prototype.batchMSEvents=function(c){c(this.chart.container,e?"pointerdown":"MSPointerDown",this.onContainerPointerDown);c(this.chart.container,e?"pointermove":"MSPointerMove",this.onContainerPointerMove);c(I,e?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};
-n.prototype.destroy=function(){this.batchMSEvents(c);a.prototype.destroy.call(this)};n.prototype.init=function(c,e){a.prototype.init.call(this,c,e);this.hasZoom&&r(c.container,{"-ms-touch-action":"none","touch-action":"none"})};n.prototype.onContainerPointerDown=function(c){F(c,"onContainerTouchStart","touchstart",function(c){l[c.pointerId]={pageX:c.pageX,pageY:c.pageY,target:c.currentTarget}})};n.prototype.onContainerPointerMove=function(c){F(c,"onContainerTouchMove","touchmove",function(c){l[c.pointerId]=
-{pageX:c.pageX,pageY:c.pageY};l[c.pointerId].target||(l[c.pointerId].target=c.currentTarget)})};n.prototype.onDocumentPointerUp=function(c){F(c,"onDocumentTouchEnd","touchend",function(c){delete l[c.pointerId]})};n.prototype.setDOMEvents=function(){a.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(z)};return n}(m)});S(a,"Core/Series/Point.js",[a["Core/Renderer/HTML/AST.js"],a["Core/Animation/AnimationUtilities.js"],a["Core/Globals.js"],a["Core/Options.js"],
-a["Core/Utilities.js"]],function(a,m,A,C,F){var O=m.animObject,E=C.defaultOptions,I=F.addEvent,B=F.defined,z=F.erase,r=F.extend,v=F.fireEvent,c=F.format,l=F.getNestedProperty,e=F.isArray,n=F.isFunction,y=F.isNumber,k=F.isObject,Q=F.merge,w=F.objectEach,h=F.pick,G=F.syncTimeout,q=F.removeEvent,x=F.uniqueKey;"";m=function(){function b(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=
-this.series=void 0;this.visible=!0;this.x=void 0}b.prototype.animateBeforeDestroy=function(){var b=this,c={x:b.startXPos,opacity:0},a,e=b.getGraphicalProps();e.singular.forEach(function(d){a="dataLabel"===d;b[d]=b[d].animate(a?{x:b[d].startXPos,y:b[d].startYPos,opacity:0}:c)});e.plural.forEach(function(d){b[d].forEach(function(d){d.element&&d.animate(r({x:b.startXPos},d.startYPos?{x:d.startXPos,y:d.startYPos}:{}))})})};b.prototype.applyOptions=function(d,c){var a=this.series,e=a.options.pointValKey||
-a.pointValKey;d=b.prototype.optionsToObject.call(this,d);r(this,d);this.options=this.options?r(this.options,d):d;d.group&&delete this.group;d.dataLabels&&delete this.dataLabels;e&&(this.y=b.prototype.getNestedProperty.call(this,e));this.formatPrefix=(this.isNull=h(this.isValid&&!this.isValid(),null===this.x||!y(this.y)))?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof c&&a.xAxis&&a.xAxis.hasNames&&(this.x=a.xAxis.nameToX(this));"undefined"===typeof this.x&&
-a&&(this.x="undefined"===typeof c?a.autoIncrement(this):c);return this};b.prototype.destroy=function(){function b(){if(c.graphic||c.dataLabel||c.dataLabels)q(c),c.destroyElements();for(p in c)c[p]=null}var c=this,a=c.series,e=a.chart;a=a.options.dataSorting;var g=e.hoverPoints,h=O(c.series.chart.renderer.globalAnimation),p;c.legendItem&&e.legend.destroyItem(c);g&&(c.setState(),z(g,c),g.length||(e.hoverPoints=null));if(c===e.hoverPoint)c.onMouseOut();a&&a.enabled?(this.animateBeforeDestroy(),G(b,h.duration)):
-b();e.pointCount--};b.prototype.destroyElements=function(b){var d=this;b=d.getGraphicalProps(b);b.singular.forEach(function(b){d[b]=d[b].destroy()});b.plural.forEach(function(b){d[b].forEach(function(b){b.element&&b.destroy()});delete d[b]})};b.prototype.firePointEvent=function(b,c,a){var d=this,e=this.series.options;(e.point.events[b]||d.options&&d.options.events&&d.options.events[b])&&d.importEvents();"click"===b&&e.allowPointSelect&&(a=function(b){d.select&&d.select(null,b.ctrlKey||b.metaKey||
-b.shiftKey)});v(d,b,c,a)};b.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};b.prototype.getGraphicalProps=function(b){var d=this,c=
-[],a,e={singular:[],plural:[]};b=b||{graphic:1,dataLabel:1};b.graphic&&c.push("graphic","upperGraphic","shadowGroup");b.dataLabel&&c.push("dataLabel","dataLabelUpper","connector");for(a=c.length;a--;){var h=c[a];d[h]&&e.singular.push(h)}["dataLabel","connector"].forEach(function(c){var a=c+"s";b[c]&&d[a]&&e.plural.push(a)});return e};b.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,
-percentage:this.percentage,total:this.total||this.stackTotal}};b.prototype.getNestedProperty=function(b){if(b)return 0===b.indexOf("custom.")?l(b,this.options):this[b]};b.prototype.getZone=function(){var b=this.series,c=b.zones;b=b.zoneAxis||"y";var a=0,e;for(e=c[a];this[b]>=e.value;)e=c[++a];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=e&&e.color&&!this.options.color?e.color:this.nonZonedColor;return e};b.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||
-this.graphic.element.nodeName))!==this.shapeType};b.prototype.init=function(b,c,a){this.series=b;this.applyOptions(c,a);this.id=B(this.id)?this.id:x();this.resolveColor();b.chart.pointCount++;v(this,"afterInit");return this};b.prototype.optionsToObject=function(d){var c={},a=this.series,h=a.options.keys,g=h||a.pointArrayMap||["y"],k=g.length,p=0,f=0;if(y(d)||null===d)c[g[0]]=d;else if(e(d))for(!h&&d.length>k&&(a=typeof d[0],"string"===a?c.name=d[0]:"number"===a&&(c.x=d[0]),p++);f<k;)h&&"undefined"===
-typeof d[p]||(0<g[f].indexOf(".")?b.prototype.setNestedProperty(c,d[p],g[f]):c[g[f]]=d[p]),p++,f++;else"object"===typeof d&&(c=d,d.dataLabels&&(a._hasPointLabels=!0),d.marker&&(a._hasPointMarkers=!0));return c};b.prototype.resolveColor=function(){var b=this.series;var c=b.chart.options.chart.colorCount;var a=b.chart.styledMode;delete this.nonZonedColor;a||this.options.color||(this.color=b.color);b.options.colorByPoint?(a||(c=b.options.colors||b.chart.options.colors,this.color=this.color||c[b.colorCounter],
-c=c.length),a=b.colorCounter,b.colorCounter++,b.colorCounter===c&&(b.colorCounter=0)):a=b.colorIndex;this.colorIndex=h(this.options.colorIndex,a)};b.prototype.setNestedProperty=function(b,c,a){a.split(".").reduce(function(b,d,a,e){b[d]=e.length-1===a?c:k(b[d],!0)?b[d]:{};return b[d]},b);return b};b.prototype.tooltipFormatter=function(b){var d=this.series,a=d.tooltipOptions,e=h(a.valueDecimals,""),g=a.valuePrefix||"",k=a.valueSuffix||"";d.chart.styledMode&&(b=d.chart.tooltip.styledModeFormat(b));(d.pointArrayMap||
-["y"]).forEach(function(d){d="{point."+d;if(g||k)b=b.replace(RegExp(d+"}","g"),g+d+"}"+k);b=b.replace(RegExp(d+"}","g"),d+":,."+e+"f}")});return c(b,{point:this,series:this.series},d.chart)};b.prototype.update=function(b,c,a,e){function d(){q.applyOptions(b);var d=f&&q.hasDummyGraphic;d=null===q.y?!d:d;f&&d&&(q.graphic=f.destroy(),delete q.hasDummyGraphic);k(b,!0)&&(f&&f.element&&b&&b.marker&&"undefined"!==typeof b.marker.symbol&&(q.graphic=f.destroy()),b&&b.dataLabels&&q.dataLabel&&(q.dataLabel=
-q.dataLabel.destroy()),q.connector&&(q.connector=q.connector.destroy()));n=q.index;p.updateParallelArrays(q,n);l.data[n]=k(l.data[n],!0)||k(b,!0)?q.options:h(b,l.data[n]);p.isDirty=p.isDirtyData=!0;!p.fixedBox&&p.hasCartesianSeries&&(u.isDirtyBox=!0);"point"===l.legendType&&(u.isDirtyLegend=!0);c&&u.redraw(a)}var q=this,p=q.series,f=q.graphic,n,u=p.chart,l=p.options;c=h(c,!0);!1===e?d():q.firePointEvent("update",{options:b},d)};b.prototype.remove=function(b,c){this.series.removePoint(this.series.data.indexOf(this),
-b,c)};b.prototype.select=function(b,c){var d=this,a=d.series,e=a.chart;this.selectedStaging=b=h(b,!d.selected);d.firePointEvent(b?"select":"unselect",{accumulate:c},function(){d.selected=d.options.selected=b;a.options.data[a.data.indexOf(d)]=d.options;d.setState(b&&"select");c||e.getSelectedPoints().forEach(function(b){var c=b.series;b.selected&&b!==d&&(b.selected=b.options.selected=!1,c.options.data[c.data.indexOf(b)]=b.options,b.setState(e.hoverPoints&&c.options.inactiveOtherPoints?"inactive":""),
-b.firePointEvent("unselect"))})});delete this.selectedStaging};b.prototype.onMouseOver=function(b){var d=this.series.chart,c=d.pointer;b=b?c.normalize(b):c.getChartCoordinatesFromPoint(this,d.inverted);c.runPointActions(b,this)};b.prototype.onMouseOut=function(){var b=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(b.hoverPoints||[]).forEach(function(b){b.setState()});b.hoverPoints=b.hoverPoint=null};b.prototype.importEvents=function(){if(!this.hasImportedEvents){var b=
-this,c=Q(b.series.options.point,b.options).events;b.events=c;w(c,function(d,c){n(d)&&I(b,c,d)});this.hasImportedEvents=!0}};b.prototype.setState=function(b,c){var d=this.series,e=this.state,g=d.options.states[b||"normal"]||{},k=E.plotOptions[d.type].marker&&d.options.marker,p=k&&!1===k.enabled,f=k&&k.states&&k.states[b||"normal"]||{},q=!1===f.enabled,u=d.stateMarkerGraphic,n=this.marker||{},t=d.chart,l=d.halo,w,x=k&&d.markerAttribs;b=b||"";if(!(b===this.state&&!c||this.selected&&"select"!==b||!1===
-g.enabled||b&&(q||p&&!1===f.enabled)||b&&n.states&&n.states[b]&&!1===n.states[b].enabled)){this.state=b;x&&(w=d.markerAttribs(this,b));if(this.graphic){e&&this.graphic.removeClass("highcharts-point-"+e);b&&this.graphic.addClass("highcharts-point-"+b);if(!t.styledMode){var D=d.pointAttribs(this,b);var y=h(t.options.chart.animation,g.animation);d.options.inactiveOtherPoints&&D.opacity&&((this.dataLabels||[]).forEach(function(b){b&&b.animate({opacity:D.opacity},y)}),this.connector&&this.connector.animate({opacity:D.opacity},
-y));this.graphic.animate(D,y)}w&&this.graphic.animate(w,h(t.options.chart.animation,f.animation,k.animation));u&&u.hide()}else{if(b&&f){e=n.symbol||d.symbol;u&&u.currentSymbol!==e&&(u=u.destroy());if(w)if(u)u[c?"animate":"attr"]({x:w.x,y:w.y});else e&&(d.stateMarkerGraphic=u=t.renderer.symbol(e,w.x,w.y,w.width,w.height).add(d.markerGroup),u.currentSymbol=e);!t.styledMode&&u&&u.attr(d.pointAttribs(this,b))}u&&(u[b&&this.isInside?"show":"hide"](),u.element.point=this)}b=g.halo;g=(u=this.graphic||u)&&
-u.visibility||"inherit";b&&b.size&&u&&"hidden"!==g&&!this.isCluster?(l||(d.halo=l=t.renderer.path().add(u.parentGroup)),l.show()[c?"animate":"attr"]({d:this.haloPath(b.size)}),l.attr({"class":"highcharts-halo highcharts-color-"+h(this.colorIndex,d.colorIndex)+(this.className?" "+this.className:""),visibility:g,zIndex:-1}),l.point=this,t.styledMode||l.attr(r({fill:this.color||d.color,"fill-opacity":b.opacity},a.filterUserAttributes(b.attributes||{})))):l&&l.point&&l.point.haloPath&&l.animate({d:l.point.haloPath(0)},
-null,l.hide);v(this,"afterSetState")}};b.prototype.haloPath=function(b){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-b,this.plotY-b,2*b,2*b)};return b}();return A.Point=m});S(a,"Core/Legend.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,m,A,C){var F=a.animObject,O=a.setAnimation;a=m.isFirefox;var E=m.marginNames,I=m.win,B=C.addEvent,z=C.createElement,r=C.css,v=C.defined,c=C.discardElement,
-l=C.find,e=C.fireEvent,n=C.format,y=C.isNumber,k=C.merge,Q=C.pick,w=C.relativeLength,h=C.stableSort,G=C.syncTimeout;C=C.wrap;var q=function(){function a(b,d){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options={};this.padding=0;this.pages=
-[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=b;this.init(b,d)}a.prototype.init=function(b,d){this.chart=b;this.setOptions(d);d.enabled&&(this.render(),B(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=B(this.chart,"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};a.prototype.setOptions=
-function(b){var d=Q(b.padding,8);this.options=b;this.chart.styledMode||(this.itemStyle=b.itemStyle,this.itemHiddenStyle=k(this.itemStyle,b.itemHiddenStyle));this.itemMarginTop=b.itemMarginTop||0;this.itemMarginBottom=b.itemMarginBottom||0;this.padding=d;this.initialItemY=d-5;this.symbolWidth=Q(b.symbolWidth,16);this.pages=[];this.proximate="proximate"===b.layout&&!this.chart.inverted;this.baseline=void 0};a.prototype.update=function(b,d){var c=this.chart;this.setOptions(k(!0,this.options,b));this.destroy();
-c.isDirtyLegend=c.isDirtyBox=!0;Q(d,!0)&&c.redraw();e(this,"afterUpdate")};a.prototype.colorizeItem=function(b,d){b.legendGroup[d?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var c=this.options,a=b.legendItem,h=b.legendLine,g=b.legendSymbol,k=this.itemHiddenStyle.color;c=d?c.itemStyle.color:k;var p=d?b.color||k:k,f=b.options&&b.options.marker,q={fill:p};a&&a.css({fill:c,color:c});h&&h.attr({stroke:p});g&&(f&&g.isMarker&&(q=b.pointAttribs(),d||(q.stroke=q.fill=
-k)),g.attr(q))}e(this,"afterColorizeItem",{item:b,visible:d})};a.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};a.prototype.positionItem=function(b){var d=this,c=this.options,a=c.symbolPadding,h=!c.rtl,g=b._legendItemPos;c=g[0];g=g[1];var k=b.checkbox,p=b.legendGroup;p&&p.element&&(a={translateX:h?c:this.legendWidth-c-2*a-4,translateY:g},h=function(){e(d,"afterPositionItem",{item:b})},v(p.translateY)?p.animate(a,void 0,
-h):(p.attr(a),h()));k&&(k.x=c,k.y=g)};a.prototype.destroyItem=function(b){var d=b.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(d){b[d]&&(b[d]=b[d].destroy())});d&&c(b.checkbox)};a.prototype.destroy=function(){function b(b){this[b]&&(this[b]=this[b].destroy())}this.getAllItems().forEach(function(d){["legendItem","legendGroup"].forEach(b,d)});"clipRect up down pager nav box title group".split(" ").forEach(b,this);this.display=null};a.prototype.positionCheckboxes=
-function(){var b=this.group&&this.group.alignAttr,d=this.clipHeight||this.legendHeight,c=this.titleHeight;if(b){var a=b.translateY;this.allItems.forEach(function(e){var g=e.checkbox;if(g){var h=a+c+g.y+(this.scrollOffset||0)+3;r(g,{left:b.translateX+e.checkboxOffset+g.x-20+"px",top:h+"px",display:this.proximate||h>a-6&&h<a+d-6?"":"none"})}},this)}};a.prototype.renderTitle=function(){var b=this.options,d=this.padding,c=b.title,a=0;c.text&&(this.title||(this.title=this.chart.renderer.label(c.text,d-
-3,d-4,null,null,null,b.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(c.style),this.title.add(this.group)),c.width||this.title.css({width:this.maxLegendWidth+"px"}),b=this.title.getBBox(),a=b.height,this.offsetWidth=b.width,this.contentGroup.attr({translateY:a}));this.titleHeight=a};a.prototype.setText=function(b){var d=this.options;b.legendItem.attr({text:d.labelFormat?n(d.labelFormat,b,this.chart):d.labelFormatter.call(b)})};a.prototype.renderItem=function(b){var d=
-this.chart,c=d.renderer,a=this.options,e=this.symbolWidth,g=a.symbolPadding,h=this.itemStyle,p=this.itemHiddenStyle,f="horizontal"===a.layout?Q(a.itemDistance,20):0,q=!a.rtl,u=b.legendItem,n=!b.series,t=!n&&b.series.drawLegendSymbol?b.series:b,l=t.options;l=this.createCheckboxForItem&&l&&l.showCheckbox;f=e+g+f+(l?20:0);var w=a.useHTML,y=b.options.className;u||(b.legendGroup=c.g("legend-item").addClass("highcharts-"+t.type+"-series highcharts-color-"+b.colorIndex+(y?" "+y:"")+(n?" highcharts-series-"+
-b.index:"")).attr({zIndex:1}).add(this.scrollGroup),b.legendItem=u=c.text("",q?e+g:-g,this.baseline||0,w),d.styledMode||u.css(k(b.visible?h:p)),u.attr({align:q?"left":"right",zIndex:2}).add(b.legendGroup),this.baseline||(this.fontMetrics=c.fontMetrics(d.styledMode?12:h.fontSize,u),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,u.attr("y",this.baseline)),this.symbolHeight=a.symbolHeight||this.fontMetrics.f,t.drawLegendSymbol(this,b),this.setItemEvents&&this.setItemEvents(b,u,w));l&&!b.checkbox&&
-this.createCheckboxForItem&&this.createCheckboxForItem(b);this.colorizeItem(b,b.visible);!d.styledMode&&h.width||u.css({width:(a.itemWidth||this.widthOption||d.spacingBox.width)-f+"px"});this.setText(b);d=u.getBBox();b.itemWidth=b.checkboxOffset=a.itemWidth||b.legendItemWidth||d.width+f;this.maxItemWidth=Math.max(this.maxItemWidth,b.itemWidth);this.totalItemWidth+=b.itemWidth;this.itemHeight=b.itemHeight=Math.round(b.legendItemHeight||d.height||this.symbolHeight)};a.prototype.layoutItem=function(b){var d=
-this.options,c=this.padding,a="horizontal"===d.layout,e=b.itemHeight,g=this.itemMarginBottom,h=this.itemMarginTop,p=a?Q(d.itemDistance,20):0,f=this.maxLegendWidth;d=d.alignColumns&&this.totalItemWidth>f?this.maxItemWidth:b.itemWidth;a&&this.itemX-c+d>f&&(this.itemX=c,this.lastLineHeight&&(this.itemY+=h+this.lastLineHeight+g),this.lastLineHeight=0);this.lastItemY=h+this.itemY+g;this.lastLineHeight=Math.max(e,this.lastLineHeight);b._legendItemPos=[this.itemX,this.itemY];a?this.itemX+=d:(this.itemY+=
-h+e+g,this.lastLineHeight=e);this.offsetWidth=this.widthOption||Math.max((a?this.itemX-c-(b.checkbox?0:p):d)+c,this.offsetWidth)};a.prototype.getAllItems=function(){var b=[];this.chart.series.forEach(function(d){var c=d&&d.options;d&&Q(c.showInLegend,v(c.linkedTo)?!1:void 0,!0)&&(b=b.concat(d.legendItems||("point"===c.legendType?d.data:d)))});e(this,"afterGetAllItems",{allItems:b});return b};a.prototype.getAlignment=function(){var b=this.options;return this.proximate?b.align.charAt(0)+"tv":b.floating?
-"":b.align.charAt(0)+b.verticalAlign.charAt(0)+b.layout.charAt(0)};a.prototype.adjustMargins=function(b,d){var c=this.chart,a=this.options,e=this.getAlignment();e&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(g,h){g.test(e)&&!v(b[h])&&(c[E[h]]=Math.max(c[E[h]],c.legend[(h+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][h]*a[h%2?"x":"y"]+Q(a.margin,12)+d[h]+(c.titleOffset[h]||0)))})};a.prototype.proximatePositions=function(){var b=this.chart,d=[],c="left"===this.options.align;
-this.allItems.forEach(function(a){var e;var g=c;if(a.yAxis){a.xAxis.options.reversed&&(g=!g);a.points&&(e=l(g?a.points:a.points.slice(0).reverse(),function(b){return y(b.plotY)}));g=this.itemMarginTop+a.legendItem.getBBox().height+this.itemMarginBottom;var h=a.yAxis.top-b.plotTop;a.visible?(e=e?e.plotY:a.yAxis.height,e+=h-.3*g):e=h+a.yAxis.height;d.push({target:e,size:g,item:a})}},this);m.distribute(d,b.plotHeight);d.forEach(function(d){d.item._legendItemPos[1]=b.plotTop-b.spacing[0]+d.pos})};a.prototype.render=
-function(){var b=this.chart,d=b.renderer,c=this.group,a=this.box,k=this.options,g=this.padding;this.itemX=g;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=w(k.width,b.spacingBox.width-g);var q=b.spacingBox.width-2*g-k.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(q/=2);this.maxLegendWidth=this.widthOption||q;c||(this.group=c=d.g("legend").attr({zIndex:7}).add(),this.contentGroup=d.g().attr({zIndex:1}).add(c),this.scrollGroup=d.g().add(this.contentGroup));
-this.renderTitle();var p=this.getAllItems();h(p,function(b,d){return(b.options&&b.options.legendIndex||0)-(d.options&&d.options.legendIndex||0)});k.reversed&&p.reverse();this.allItems=p;this.display=q=!!p.length;this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;p.forEach(this.renderItem,this);p.forEach(this.layoutItem,this);p=(this.widthOption||this.offsetWidth)+g;var f=this.lastItemY+this.lastLineHeight+this.titleHeight;f=this.handleOverflow(f);f+=g;a||(this.box=a=d.rect().addClass("highcharts-legend-box").attr({r:k.borderRadius}).add(c),
-a.isNew=!0);b.styledMode||a.attr({stroke:k.borderColor,"stroke-width":k.borderWidth||0,fill:k.backgroundColor||"none"}).shadow(k.shadow);0<p&&0<f&&(a[a.isNew?"attr":"animate"](a.crisp.call({},{x:0,y:0,width:p,height:f},a.strokeWidth())),a.isNew=!1);a[q?"show":"hide"]();b.styledMode&&"none"===c.getStyle("display")&&(p=f=0);this.legendWidth=p;this.legendHeight=f;q&&this.align();this.proximate||this.positionItems();e(this,"afterRender")};a.prototype.align=function(b){void 0===b&&(b=this.chart.spacingBox);
-var d=this.chart,c=this.options,a=b.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<d.titleOffset[0]?a+=d.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<d.titleOffset[2]&&(a-=d.titleOffset[2]);a!==b.y&&(b=k(b,{y:a}));this.group.align(k(c,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":c.verticalAlign}),!0,b)};a.prototype.handleOverflow=function(b){var d=this,c=this.chart,a=c.renderer,e=this.options,g=e.y,h=this.padding;g=c.spacingBox.height+("top"===e.verticalAlign?
--g:g)-h;var p=e.maxHeight,f,k=this.clipRect,q=e.navigation,n=Q(q.animation,!0),t=q.arrowSize||12,l=this.nav,w=this.pages,y,D=this.allItems,x=function(b){"number"===typeof b?k.attr({height:b}):k&&(d.clipRect=k.destroy(),d.contentGroup.clip());d.contentGroup.div&&(d.contentGroup.div.style.clip=b?"rect("+h+"px,9999px,"+(h+b)+"px,0)":"auto")},r=function(b){d[b]=a.circle(0,0,1.3*t).translate(t/2,t/2).add(l);c.styledMode||d[b].attr("fill","rgba(0,0,0,0.0001)");return d[b]};"horizontal"!==e.layout||"middle"===
-e.verticalAlign||e.floating||(g/=2);p&&(g=Math.min(g,p));w.length=0;b>g&&!1!==q.enabled?(this.clipHeight=f=Math.max(g-20-this.titleHeight-h,0),this.currentPage=Q(this.currentPage,1),this.fullHeight=b,D.forEach(function(b,d){var c=b._legendItemPos[1],a=Math.round(b.legendItem.getBBox().height),e=w.length;if(!e||c-w[e-1]>f&&(y||c)!==w[e-1])w.push(y||c),e++;b.pageIx=e-1;y&&(D[d-1].pageIx=e-1);d===D.length-1&&c+a-w[e-1]>f&&c!==y&&(w.push(c),b.pageIx=e);c!==y&&(y=c)}),k||(k=d.clipRect=a.clipRect(0,h,9999,
-0),d.contentGroup.clip(k)),x(f),l||(this.nav=l=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,t,t).add(l),r("upTracker").on("click",function(){d.scroll(-1,n)}),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation"),c.styledMode||this.pager.css(q.style),this.pager.add(l),this.down=a.symbol("triangle-down",0,0,t,t).add(l),r("downTracker").on("click",function(){d.scroll(1,n)})),d.scroll(0),b=g):l&&(x(),this.nav=l.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=
-0);return b};a.prototype.scroll=function(b,d){var c=this,a=this.chart,h=this.pages,g=h.length,k=this.currentPage+b;b=this.clipHeight;var p=this.options.navigation,f=this.pager,q=this.padding;k>g&&(k=g);0<k&&("undefined"!==typeof d&&O(d,a),this.nav.attr({translateX:q,translateY:b+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(b){b.attr({"class":1===k?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),f.attr({text:k+"/"+g}),[this.down,
-this.downTracker].forEach(function(b){b.attr({x:18+this.pager.getBBox().width,"class":k===g?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),a.styledMode||(this.up.attr({fill:1===k?p.inactiveColor:p.activeColor}),this.upTracker.css({cursor:1===k?"default":"pointer"}),this.down.attr({fill:k===g?p.inactiveColor:p.activeColor}),this.downTracker.css({cursor:k===g?"default":"pointer"})),this.scrollOffset=-h[k-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),
-this.currentPage=k,this.positionCheckboxes(),d=F(Q(d,a.renderer.globalAnimation,!0)),G(function(){e(c,"afterScroll",{currentPage:k})},d.duration))};a.prototype.setItemEvents=function(b,d,c){var a=this,h=a.chart.renderer.boxWrapper,g=b instanceof A,q="highcharts-legend-"+(g?"point":"series")+"-active",p=a.chart.styledMode;(c?[d,b.legendSymbol]:[b.legendGroup]).forEach(function(c){if(c)c.on("mouseover",function(){b.visible&&a.allItems.forEach(function(d){b!==d&&d.setState("inactive",!g)});b.setState("hover");
-b.visible&&h.addClass(q);p||d.css(a.options.itemHoverStyle)}).on("mouseout",function(){a.chart.styledMode||d.css(k(b.visible?a.itemStyle:a.itemHiddenStyle));a.allItems.forEach(function(d){b!==d&&d.setState("",!g)});h.removeClass(q);b.setState()}).on("click",function(d){var c=function(){b.setVisible&&b.setVisible();a.allItems.forEach(function(d){b!==d&&d.setState(b.visible?"inactive":"",!g)})};h.removeClass(q);d={browserEvent:d};b.firePointEvent?b.firePointEvent("legendItemClick",d,c):e(b,"legendItemClick",
-d,c)})})};a.prototype.createCheckboxForItem=function(b){b.checkbox=z("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:b.selected,defaultChecked:b.selected},this.options.itemCheckboxStyle,this.chart.container);B(b.checkbox,"click",function(d){e(b.series||b,"checkboxClick",{checked:d.target.checked,item:b},function(){b.select()})})};return a}();(/Trident\/7\.0/.test(I.navigator&&I.navigator.userAgent)||a)&&C(q.prototype,"positionItem",function(c,b){var d=this,a=function(){b._legendItemPos&&
-c.call(d,b)};a();d.bubbleLegend||setTimeout(a)});m.Legend=q;return m.Legend});S(a,"Core/Series/SeriesRegistry.js",[a["Core/Globals.js"],a["Core/Options.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,m,A,C){var F=m.defaultOptions,O=C.error,E=C.extendClass,I=C.merge,B;(function(a){function r(r,c){var l=F.plotOptions||{},e=c.defaultOptions;c.prototype.pointClass||(c.prototype.pointClass=A);c.prototype.type=r;e&&(l[r]=e);a.seriesTypes[r]=c}a.seriesTypes={};a.getSeries=function(r,c){void 0===
-c&&(c={});var l=r.options.chart;l=c.type||l.type||l.defaultSeriesType||"";var e=a.seriesTypes[l];a||O(17,!0,r,{missingModuleFor:l});l=new e;"function"===typeof l.init&&l.init(r,c);return l};a.registerSeriesType=r;a.seriesType=function(v,c,l,e,n){var y=F.plotOptions||{};c=c||"";y[v]=I(y[c],l);r(v,E(a.seriesTypes[c]||function(){},e));a.seriesTypes[v].prototype.type=v;n&&(a.seriesTypes[v].prototype.pointClass=E(A,n));return a.seriesTypes[v]}})(B||(B={}));a.seriesType=B.seriesType;a.seriesTypes=B.seriesTypes;
-return B});S(a,"Core/Chart/Chart.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Axis/Axis.js"],a["Core/Globals.js"],a["Core/Legend.js"],a["Core/MSPointer.js"],a["Core/Options.js"],a["Core/Color/Palette.js"],a["Core/Pointer.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Time.js"],a["Core/Utilities.js"],a["Core/Renderer/HTML/AST.js"]],function(a,m,A,C,F,N,E,I,B,z,r,v){var c=a.animate,l=a.animObject,e=a.setAnimation,n=A.charts,y=A.doc,k=A.win,Q=N.defaultOptions,w=N.time,h=B.seriesTypes,G=r.addEvent,
-q=r.attr,x=r.cleanRecursively,b=r.createElement,d=r.css,L=r.defined,M=r.discardElement,K=r.erase,g=r.error,J=r.extend,p=r.find,f=r.fireEvent,H=r.getStyle,u=r.isArray,R=r.isFunction,t=r.isNumber,P=r.isObject,O=r.isString,Y=r.merge,D=r.numberFormat,X=r.objectEach,T=r.pick,ba=r.pInt,U=r.relativeLength,Z=r.removeEvent,V=r.splat,ca=r.syncTimeout,ea=r.uniqueKey,da=A.marginNames,aa=function(){function a(b,d,a){this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=
-this.spacing=this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0;this.getArgs(b,d,a)}a.prototype.getArgs=function(b,d,a){O(b)||b.nodeName?(this.renderTo=b,this.init(d,a)):this.init(b,
-d)};a.prototype.init=function(b,d){var a,c=b.series,e=b.plotOptions||{};f(this,"init",{args:arguments},function(){b.series=null;a=Y(Q,b);var g=a.chart||{};X(a.plotOptions,function(b,d){P(b)&&(b.tooltip=e[d]&&Y(e[d].tooltip)||void 0)});a.tooltip.userOptions=b.chart&&b.chart.forExport&&b.tooltip.userOptions||b.tooltip;a.series=b.series=c;this.userOptions=b;var p=g.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=d;this.isResizing=0;this.options=a;this.axes=
-[];this.series=[];this.time=b.time&&Object.keys(b.time).length?new z(b.time):A.time;this.numberFormatter=g.numberFormatter||D;this.styledMode=g.styledMode;this.hasCartesianSeries=g.showAxes;var h=this;h.index=n.length;n.push(h);A.chartCount++;p&&X(p,function(b,d){R(b)&&G(h,d,b)});h.xAxis=[];h.yAxis=[];h.pointCount=h.colorCounter=h.symbolCounter=0;f(h,"afterInit");h.firstRender()})};a.prototype.initSeries=function(b){var d=this.options.chart;d=b.type||d.type||d.defaultSeriesType;var a=h[d];a||g(17,
-!0,this,{missingModuleFor:d});d=new a;"function"===typeof d.init&&d.init(this,b);return d};a.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(b){b.points||b.data||!b.enabledDataSorting||b.setData(b.options.data,!1)})};a.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(b,d){return b.linkedSeries.length||d.linkedSeries.length?d.linkedSeries.length-b.linkedSeries.length:0})};a.prototype.orderSeries=function(b){var d=this.series;for(b=
-b||0;b<d.length;b++)d[b]&&(d[b].index=b,d[b].name=d[b].getName())};a.prototype.isInsidePlot=function(b,d,a){var c=a?d:b;b=a?b:d;c={x:c,y:b,isInsidePlot:0<=c&&c<=this.plotWidth&&0<=b&&b<=this.plotHeight};f(this,"afterIsInsidePlot",c);return c.isInsidePlot};a.prototype.redraw=function(b){f(this,"beforeRedraw");var d=this.hasCartesianSeries?this.axes:this.colorAxis||[],a=this.series,c=this.pointer,g=this.legend,p=this.userOptions.legend,h=this.isDirtyLegend,k=this.isDirtyBox,t=this.renderer,q=t.isHidden(),
-D=[];this.setResponsive&&this.setResponsive(!1);e(this.hasRendered?b:!1,this);q&&this.temporaryDisplay();this.layOutTitles();for(b=a.length;b--;){var u=a[b];if(u.options.stacking||u.options.centerInCategory){var n=!0;if(u.isDirty){var l=!0;break}}}if(l)for(b=a.length;b--;)u=a[b],u.options.stacking&&(u.isDirty=!0);a.forEach(function(b){b.isDirty&&("point"===b.options.legendType?("function"===typeof b.updateTotals&&b.updateTotals(),h=!0):p&&(p.labelFormatter||p.labelFormat)&&(h=!0));b.isDirtyData&&
-f(b,"updatedData")});h&&g&&g.options.enabled&&(g.render(),this.isDirtyLegend=!1);n&&this.getStacks();d.forEach(function(b){b.updateNames();b.setScale()});this.getMargins();d.forEach(function(b){b.isDirty&&(k=!0)});d.forEach(function(b){var d=b.min+","+b.max;b.extKey!==d&&(b.extKey=d,D.push(function(){f(b,"afterSetExtremes",J(b.eventArgs,b.getExtremes()));delete b.eventArgs}));(k||n)&&b.redraw()});k&&this.drawChartBox();f(this,"predraw");a.forEach(function(b){(k||b.isDirty)&&b.visible&&b.redraw();
-b.isDirtyData=!1});c&&c.reset(!0);t.draw();f(this,"redraw");f(this,"render");q&&this.temporaryDisplay(!0);D.forEach(function(b){b.call()})};a.prototype.get=function(b){function d(d){return d.id===b||d.options&&d.options.id===b}var a=this.series,c;var f=p(this.axes,d)||p(this.series,d);for(c=0;!f&&c<a.length;c++)f=p(a[c].points||[],d);return f};a.prototype.getAxes=function(){var b=this,d=this.options,a=d.xAxis=V(d.xAxis||{});d=d.yAxis=V(d.yAxis||{});f(this,"getAxes");a.forEach(function(b,d){b.index=
-d;b.isX=!0});d.forEach(function(b,d){b.index=d});a.concat(d).forEach(function(d){new m(b,d)});f(this,"afterGetAxes")};a.prototype.getSelectedPoints=function(){var b=[];this.series.forEach(function(d){b=b.concat(d.getPointsCollection().filter(function(b){return T(b.selectedStaging,b.selected)}))});return b};a.prototype.getSelectedSeries=function(){return this.series.filter(function(b){return b.selected})};a.prototype.setTitle=function(b,d,a){this.applyDescription("title",b);this.applyDescription("subtitle",
-d);this.applyDescription("caption",void 0);this.layOutTitles(a)};a.prototype.applyDescription=function(b,d){var a=this,c="title"===b?{color:E.neutralColor80,fontSize:this.options.isStock?"16px":"18px"}:{color:E.neutralColor60};c=this.options[b]=Y(!this.styledMode&&{style:c},this.options[b],d);var f=this[b];f&&d&&(this[b]=f=f.destroy());c&&!f&&(f=this.renderer.text(c.text,0,0,c.useHTML).attr({align:c.align,"class":"highcharts-"+b,zIndex:c.zIndex||4}).add(),f.update=function(d){a[{title:"setTitle",
-subtitle:"setSubtitle",caption:"setCaption"}[b]](d)},this.styledMode||f.css(c.style),this[b]=f)};a.prototype.layOutTitles=function(b){var d=[0,0,0],a=this.renderer,c=this.spacingBox;["title","subtitle","caption"].forEach(function(b){var f=this[b],e=this.options[b],g=e.verticalAlign||"top";b="title"===b?-3:"top"===g?d[0]+2:0;if(f){if(!this.styledMode)var p=e.style.fontSize;p=a.fontMetrics(p,f).b;f.css({width:(e.width||c.width+(e.widthAdjust||0))+"px"});var h=Math.round(f.getBBox(e.useHTML).height);
-f.align(J({y:"bottom"===g?p:b+p,height:h},e),!1,"spacingBox");e.floating||("top"===g?d[0]=Math.ceil(d[0]+h):"bottom"===g&&(d[2]=Math.ceil(d[2]+h)))}},this);d[0]&&"top"===(this.options.title.verticalAlign||"top")&&(d[0]+=this.options.title.margin);d[2]&&"bottom"===this.options.caption.verticalAlign&&(d[2]+=this.options.caption.margin);var e=!this.titleOffset||this.titleOffset.join(",")!==d.join(",");this.titleOffset=d;f(this,"afterLayOutTitles");!this.isDirtyBox&&e&&(this.isDirtyBox=this.isDirtyLegend=
-e,this.hasRendered&&T(b,!0)&&this.isDirtyBox&&this.redraw())};a.prototype.getChartSize=function(){var b=this.options.chart,d=b.width;b=b.height;var a=this.renderTo;L(d)||(this.containerWidth=H(a,"width"));L(b)||(this.containerHeight=H(a,"height"));this.chartWidth=Math.max(0,d||this.containerWidth||600);this.chartHeight=Math.max(0,U(b,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))};a.prototype.temporaryDisplay=function(b){var a=this.renderTo;if(b)for(;a&&a.style;)a.hcOrigStyle&&
-(d(a,a.hcOrigStyle),delete a.hcOrigStyle),a.hcOrigDetached&&(y.body.removeChild(a),a.hcOrigDetached=!1),a=a.parentNode;else for(;a&&a.style;){y.body.contains(a)||a.parentNode||(a.hcOrigDetached=!0,y.body.appendChild(a));if("none"===H(a,"display",!1)||a.hcOricDetached)a.hcOrigStyle={display:a.style.display,height:a.style.height,overflow:a.style.overflow},b={display:"block",overflow:"hidden"},a!==this.renderTo&&(b.height=0),d(a,b),a.offsetWidth||a.style.setProperty("display","block","important");a=
-a.parentNode;if(a===y.body)break}};a.prototype.setClassName=function(b){this.container.className="highcharts-container "+(b||"")};a.prototype.getContainer=function(){var a=this.options,c=a.chart;var p=this.renderTo;var h=ea(),k,D;p||(this.renderTo=p=c.renderTo);O(p)&&(this.renderTo=p=y.getElementById(p));p||g(13,!0,this);var u=ba(q(p,"data-highcharts-chart"));t(u)&&n[u]&&n[u].hasRendered&&n[u].destroy();q(p,"data-highcharts-chart",this.index);p.innerHTML="";c.skipClone||p.offsetWidth||this.temporaryDisplay();
-this.getChartSize();u=this.chartWidth;var l=this.chartHeight;d(p,{overflow:"hidden"});this.styledMode||(k=J({position:"relative",overflow:"hidden",width:u+"px",height:l+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none"},c.style));this.container=p=b("div",{id:h},k,p);this._cursor=p.style.cursor;this.renderer=new (A[c.renderer]||A.Renderer)(p,u,l,null,c.forExport,a.exporting&&a.exporting.allowHTML,this.styledMode);e(void 0,this);this.setClassName(c.className);
-if(this.styledMode)for(D in a.defs)this.renderer.definition(a.defs[D]);else this.renderer.setStyle(c.style);this.renderer.chartIndex=this.index;f(this,"afterGetContainer")};a.prototype.getMargins=function(b){var d=this.spacing,a=this.margin,c=this.titleOffset;this.resetMargins();c[0]&&!L(a[0])&&(this.plotTop=Math.max(this.plotTop,c[0]+d[0]));c[2]&&!L(a[2])&&(this.marginBottom=Math.max(this.marginBottom,c[2]+d[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(a,d);f(this,"getMargins");
-b||this.getAxisMargins()};a.prototype.getAxisMargins=function(){var b=this,d=b.axisOffset=[0,0,0,0],a=b.colorAxis,c=b.margin,f=function(b){b.forEach(function(b){b.visible&&b.getOffset()})};b.hasCartesianSeries?f(b.axes):a&&a.length&&f(a);da.forEach(function(a,f){L(c[f])||(b[a]+=d[f])});b.setChartSize()};a.prototype.reflow=function(b){var d=this,a=d.options.chart,c=d.renderTo,f=L(a.width)&&L(a.height),e=a.width||H(c,"width");a=a.height||H(c,"height");c=b?b.target:k;delete d.pointer.chartPosition;if(!f&&
-!d.isPrinting&&e&&a&&(c===k||c===y)){if(e!==d.containerWidth||a!==d.containerHeight)r.clearTimeout(d.reflowTimeout),d.reflowTimeout=ca(function(){d.container&&d.setSize(void 0,void 0,!1)},b?100:0);d.containerWidth=e;d.containerHeight=a}};a.prototype.setReflow=function(b){var d=this;!1===b||this.unbindReflow?!1===b&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=G(k,"resize",function(b){d.options&&d.reflow(b)}),G(this,"destroy",this.unbindReflow))};a.prototype.setSize=
-function(b,a,g){var p=this,h=p.renderer;p.isResizing+=1;e(g,p);g=h.globalAnimation;p.oldChartHeight=p.chartHeight;p.oldChartWidth=p.chartWidth;"undefined"!==typeof b&&(p.options.chart.width=b);"undefined"!==typeof a&&(p.options.chart.height=a);p.getChartSize();p.styledMode||(g?c:d)(p.container,{width:p.chartWidth+"px",height:p.chartHeight+"px"},g);p.setChartSize(!0);h.setSize(p.chartWidth,p.chartHeight,g);p.axes.forEach(function(b){b.isDirty=!0;b.setScale()});p.isDirtyLegend=!0;p.isDirtyBox=!0;p.layOutTitles();
-p.getMargins();p.redraw(g);p.oldChartHeight=null;f(p,"resize");ca(function(){p&&f(p,"endResize",null,function(){--p.isResizing})},l(g).duration)};a.prototype.setChartSize=function(b){var d=this.inverted,a=this.renderer,c=this.chartWidth,e=this.chartHeight,g=this.options.chart,p=this.spacing,h=this.clipOffset,k,t,q,D;this.plotLeft=k=Math.round(this.plotLeft);this.plotTop=t=Math.round(this.plotTop);this.plotWidth=q=Math.max(0,Math.round(c-k-this.marginRight));this.plotHeight=D=Math.max(0,Math.round(e-
-t-this.marginBottom));this.plotSizeX=d?D:q;this.plotSizeY=d?q:D;this.plotBorderWidth=g.plotBorderWidth||0;this.spacingBox=a.spacingBox={x:p[3],y:p[0],width:c-p[3]-p[1],height:e-p[0]-p[2]};this.plotBox=a.plotBox={x:k,y:t,width:q,height:D};c=2*Math.floor(this.plotBorderWidth/2);d=Math.ceil(Math.max(c,h[3])/2);a=Math.ceil(Math.max(c,h[0])/2);this.clipBox={x:d,y:a,width:Math.floor(this.plotSizeX-Math.max(c,h[1])/2-d),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(c,h[2])/2-a))};b||this.axes.forEach(function(b){b.setAxisSize();
-b.setAxisTranslation()});f(this,"afterSetChartSize",{skipAxes:b})};a.prototype.resetMargins=function(){f(this,"resetMargins");var b=this,d=b.options.chart;["margin","spacing"].forEach(function(a){var c=d[a],f=P(c)?c:[c,c,c,c];["Top","Right","Bottom","Left"].forEach(function(c,e){b[a][e]=T(d[a+c],f[e])})});da.forEach(function(d,a){b[d]=T(b.margin[a],b.spacing[a])});b.axisOffset=[0,0,0,0];b.clipOffset=[0,0,0,0]};a.prototype.drawChartBox=function(){var b=this.options.chart,d=this.renderer,a=this.chartWidth,
-c=this.chartHeight,e=this.chartBackground,g=this.plotBackground,p=this.plotBorder,h=this.styledMode,k=this.plotBGImage,t=b.backgroundColor,q=b.plotBackgroundColor,D=b.plotBackgroundImage,u,n=this.plotLeft,l=this.plotTop,w=this.plotWidth,H=this.plotHeight,y=this.plotBox,x=this.clipRect,J=this.clipBox,r="animate";e||(this.chartBackground=e=d.rect().addClass("highcharts-background").add(),r="attr");if(h)var G=u=e.strokeWidth();else{G=b.borderWidth||0;u=G+(b.shadow?8:0);t={fill:t||"none"};if(G||e["stroke-width"])t.stroke=
-b.borderColor,t["stroke-width"]=G;e.attr(t).shadow(b.shadow)}e[r]({x:u/2,y:u/2,width:a-u-G%2,height:c-u-G%2,r:b.borderRadius});r="animate";g||(r="attr",this.plotBackground=g=d.rect().addClass("highcharts-plot-background").add());g[r](y);h||(g.attr({fill:q||"none"}).shadow(b.plotShadow),D&&(k?(D!==k.attr("href")&&k.attr("href",D),k.animate(y)):this.plotBGImage=d.image(D,n,l,w,H).add()));x?x.animate({width:J.width,height:J.height}):this.clipRect=d.clipRect(J);r="animate";p||(r="attr",this.plotBorder=
-p=d.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());h||p.attr({stroke:b.plotBorderColor,"stroke-width":b.plotBorderWidth||0,fill:"none"});p[r](p.crisp({x:n,y:l,width:w,height:H},-p.strokeWidth()));this.isDirtyBox=!1;f(this,"afterDrawChartBox")};a.prototype.propFromSeries=function(){var b=this,d=b.options.chart,a,c=b.options.series,f,e;["inverted","angular","polar"].forEach(function(g){a=h[d.type||d.defaultSeriesType];e=d[g]||a&&a.prototype[g];for(f=c&&c.length;!e&&f--;)(a=h[c[f].type])&&
-a.prototype[g]&&(e=!0);b[g]=e})};a.prototype.linkSeries=function(){var b=this,d=b.series;d.forEach(function(b){b.linkedSeries.length=0});d.forEach(function(d){var a=d.options.linkedTo;O(a)&&(a=":previous"===a?b.series[d.index-1]:b.get(a))&&a.linkedParent!==d&&(a.linkedSeries.push(d),d.linkedParent=a,a.enabledDataSorting&&d.setDataSortingOptions(),d.visible=T(d.options.visible,a.options.visible,d.visible))});f(this,"afterLinkSeries")};a.prototype.renderSeries=function(){this.series.forEach(function(b){b.translate();
-b.render()})};a.prototype.renderLabels=function(){var b=this,d=b.options.labels;d.items&&d.items.forEach(function(a){var c=J(d.style,a.style),f=ba(c.left)+b.plotLeft,e=ba(c.top)+b.plotTop+12;delete c.left;delete c.top;b.renderer.text(a.html,f,e).attr({zIndex:2}).css(c).add()})};a.prototype.render=function(){var b=this.axes,d=this.colorAxis,a=this.renderer,c=this.options,f=0,e=function(b){b.forEach(function(b){b.visible&&b.render()})};this.setTitle();this.legend=new C(this,c.legend);this.getStacks&&
-this.getStacks();this.getMargins(!0);this.setChartSize();c=this.plotWidth;b.some(function(b){if(b.horiz&&b.visible&&b.options.labels.enabled&&b.series.length)return f=21,!0});var g=this.plotHeight=Math.max(this.plotHeight-f,0);b.forEach(function(b){b.setScale()});this.getAxisMargins();var p=1.1<c/this.plotWidth;var h=1.05<g/this.plotHeight;if(p||h)b.forEach(function(b){(b.horiz&&p||!b.horiz&&h)&&b.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries?e(b):d&&d.length&&
-e(d);this.seriesGroup||(this.seriesGroup=a.g("series-group").attr({zIndex:3}).add());this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0};a.prototype.addCredits=function(b){var d=this,a=Y(!0,this.options.credits,b);a.enabled&&!this.credits&&(this.credits=this.renderer.text(a.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){a.href&&(k.location.href=a.href)}).attr({align:a.position.align,zIndex:8}),
-d.styledMode||this.credits.css(a.style),this.credits.add().align(a.position),this.credits.update=function(b){d.credits=d.credits.destroy();d.addCredits(b)})};a.prototype.destroy=function(){var b=this,d=b.axes,a=b.series,c=b.container,e,g=c&&c.parentNode;f(b,"destroy");b.renderer.forExport?K(n,b):n[b.index]=void 0;A.chartCount--;b.renderTo.removeAttribute("data-highcharts-chart");Z(b);for(e=d.length;e--;)d[e]=d[e].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(e=a.length;e--;)a[e]=
-a[e].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(d){var a=b[d];a&&a.destroy&&(b[d]=a.destroy())});c&&(c.innerHTML="",Z(c),g&&M(c));X(b,function(d,a){delete b[a]})};a.prototype.firstRender=function(){var b=this,d=b.options;if(!b.isReadyToRender||b.isReadyToRender()){b.getContainer();b.resetMargins();b.setChartSize();b.propFromSeries();b.getAxes();
-(u(d.series)?d.series:[]).forEach(function(d){b.initSeries(d)});b.linkSeries();b.setSeriesData();f(b,"beforeRender");I&&(b.pointer=A.hasTouch||!k.PointerEvent&&!k.MSPointerEvent?new I(b,d):new F(b,d));b.render();b.pointer.getChartPosition();if(!b.renderer.imgCount&&!b.hasLoaded)b.onload();b.temporaryDisplay(!0)}};a.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(b){b&&"undefined"!==typeof this.index&&b.apply(this,[this])},this);f(this,"load");f(this,"render");L(this.index)&&
-this.setReflow(this.options.chart.reflow);this.hasLoaded=!0};a.prototype.addSeries=function(b,d,a){var c,e=this;b&&(d=T(d,!0),f(e,"addSeries",{options:b},function(){c=e.initSeries(b);e.isDirtyLegend=!0;e.linkSeries();c.enabledDataSorting&&c.setData(b.data,!1);f(e,"afterAddSeries",{series:c});d&&e.redraw(a)}));return c};a.prototype.addAxis=function(b,d,a,c){return this.createAxis(d?"xAxis":"yAxis",{axis:b,redraw:a,animation:c})};a.prototype.addColorAxis=function(b,d,a){return this.createAxis("colorAxis",
-{axis:b,redraw:d,animation:a})};a.prototype.createAxis=function(b,d){var a=this.options,c="colorAxis"===b,e=d.redraw,f=d.animation;d=Y(d.axis,{index:this[b].length,isX:"xAxis"===b});var g=c?new A.ColorAxis(this,d):new m(this,d);a[b]=V(a[b]||{});a[b].push(d);c&&(this.isDirtyLegend=!0,this.axes.forEach(function(b){b.series=[]}),this.series.forEach(function(b){b.bindAxes();b.isDirtyData=!0}));T(e,!0)&&this.redraw(f);return g};a.prototype.showLoading=function(a){var e=this,f=e.options,g=e.loadingDiv,
-p=e.loadingSpan,h=f.loading,k=function(){g&&d(g,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})};g||(e.loadingDiv=g=b("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container));p||(e.loadingSpan=p=b("span",{className:"highcharts-loading-inner"},null,g),G(e,"redraw",k));g.className="highcharts-loading";v.setElementHTML(p,T(a,f.lang.loading,""));e.styledMode||(d(g,J(h.style,{zIndex:10})),d(p,h.labelStyle),e.loadingShown||(d(g,{opacity:0,
-display:""}),c(g,{opacity:h.style.opacity||.5},{duration:h.showDuration||0})));e.loadingShown=!0;k()};a.prototype.hideLoading=function(){var b=this.options,a=this.loadingDiv;a&&(a.className="highcharts-loading highcharts-loading-hidden",this.styledMode||c(a,{opacity:0},{duration:b.loading.hideDuration||100,complete:function(){d(a,{display:"none"})}}));this.loadingShown=!1};a.prototype.update=function(b,d,a,c){var e=this,g={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},
-p,h,k,q=b.isResponsiveOptions,D=[];f(e,"update",{options:b});q||e.setResponsive(!1,!0);b=x(b,e.options);e.userOptions=Y(e.userOptions,b);if(p=b.chart){Y(!0,e.options.chart,p);"className"in p&&e.setClassName(p.className);"reflow"in p&&e.setReflow(p.reflow);if("inverted"in p||"polar"in p||"type"in p){e.propFromSeries();var u=!0}"alignTicks"in p&&(u=!0);X(p,function(b,d){-1!==e.propsRequireUpdateSeries.indexOf("chart."+d)&&(h=!0);-1!==e.propsRequireDirtyBox.indexOf(d)&&(e.isDirtyBox=!0);-1!==e.propsRequireReflow.indexOf(d)&&
-(q?e.isDirtyBox=!0:k=!0)});!e.styledMode&&"style"in p&&e.renderer.setStyle(p.style)}!e.styledMode&&b.colors&&(this.options.colors=b.colors);b.time&&(this.time===w&&(this.time=new z(b.time)),Y(!0,e.options.time,b.time));X(b,function(d,a){if(e[a]&&"function"===typeof e[a].update)e[a].update(d,!1);else if("function"===typeof e[g[a]])e[g[a]](d);else"color"!==a&&-1===e.collectionsWithUpdate.indexOf(a)&&Y(!0,e.options[a],b[a]);"chart"!==a&&-1!==e.propsRequireUpdateSeries.indexOf(a)&&(h=!0)});this.collectionsWithUpdate.forEach(function(d){if(b[d]){if("series"===
-d){var c=[];e[d].forEach(function(b,d){b.options.isInternal||c.push(T(b.options.index,d))})}V(b[d]).forEach(function(b,f){var g=L(b.id),p;g&&(p=e.get(b.id));!p&&e[d]&&(p=e[d][c?c[f]:f])&&g&&L(p.options.id)&&(p=void 0);p&&p.coll===d&&(p.update(b,!1),a&&(p.touched=!0));!p&&a&&e.collectionsWithInit[d]&&(e.collectionsWithInit[d][0].apply(e,[b].concat(e.collectionsWithInit[d][1]||[]).concat([!1])).touched=!0)});a&&e[d].forEach(function(b){b.touched||b.options.isInternal?delete b.touched:D.push(b)})}});
-D.forEach(function(b){b.chart&&b.remove(!1)});u&&e.axes.forEach(function(b){b.update({},!1)});h&&e.getSeriesOrderByLinks().forEach(function(b){b.chart&&b.update({},!1)},this);u=p&&p.width;p=p&&p.height;O(p)&&(p=U(p,u||e.chartWidth));k||t(u)&&u!==e.chartWidth||t(p)&&p!==e.chartHeight?e.setSize(u,p,c):T(d,!0)&&e.redraw(c);f(e,"afterUpdate",{options:b,redraw:d,animation:c})};a.prototype.setSubtitle=function(b,d){this.applyDescription("subtitle",b);this.layOutTitles(d)};a.prototype.setCaption=function(b,
-d){this.applyDescription("caption",b);this.layOutTitles(d)};a.prototype.showResetZoom=function(){function b(){d.zoomOut()}var d=this,a=Q.lang,c=d.options.chart.resetZoomButton,e=c.theme,g=e.states,p="chart"===c.relativeTo||"spaceBox"===c.relativeTo?null:this.scrollablePlotBox||"plotBox";f(this,"beforeShowResetZoom",null,function(){d.resetZoomButton=d.renderer.button(a.resetZoom,null,null,b,e,g&&g.hover).attr({align:c.position.align,title:a.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(c.position,
-!1,p)});f(this,"afterShowResetZoom")};a.prototype.zoomOut=function(){f(this,"selection",{resetSelection:!0},this.zoom)};a.prototype.zoom=function(b){var d=this,a,c=d.pointer,e=!1,f=d.inverted?c.mouseDownX:c.mouseDownY;!b||b.resetSelection?(d.axes.forEach(function(b){a=b.zoom()}),c.initiated=!1):b.xAxis.concat(b.yAxis).forEach(function(b){var g=b.axis,p=d.inverted?g.left:g.top,h=d.inverted?p+g.width:p+g.height,k=g.isXAxis,t=!1;if(!k&&f>=p&&f<=h||k||!L(f))t=!0;c[k?"zoomX":"zoomY"]&&t&&(a=g.zoom(b.min,
-b.max),g.displayBtn&&(e=!0))});var g=d.resetZoomButton;e&&!g?d.showResetZoom():!e&&P(g)&&(d.resetZoomButton=g.destroy());a&&d.redraw(T(d.options.chart.animation,b&&b.animation,100>d.pointCount))};a.prototype.pan=function(b,a){var c=this,e=c.hoverPoints,g=c.options.chart,p=c.options.mapNavigation&&c.options.mapNavigation.enabled,h;a="object"===typeof a?a:{enabled:a,type:"x"};g&&g.panning&&(g.panning=a);var k=a.type;f(this,"pan",{originalEvent:b},function(){e&&e.forEach(function(b){b.setState()});var a=
-[1];"xy"===k?a=[1,0]:"y"===k&&(a=[0]);a.forEach(function(d){var a=c[d?"xAxis":"yAxis"][0],e=a.horiz,f=b[e?"chartX":"chartY"];e=e?"mouseDownX":"mouseDownY";var g=c[e],q=(a.pointRange||0)/2,D=a.reversed&&!c.inverted||!a.reversed&&c.inverted?-1:1,u=a.getExtremes(),n=a.toValue(g-f,!0)+q*D;D=a.toValue(g+a.len-f,!0)-q*D;var l=D<n;g=l?D:n;n=l?n:D;D=a.hasVerticalPanning();var w=a.panningState;!D||d||w&&!w.isDirty||a.series.forEach(function(b){var d=b.getProcessedData(!0);d=b.getExtremes(d.yData,!0);w||(w=
-{startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});t(d.dataMin)&&t(d.dataMax)&&(w.startMin=Math.min(T(b.options.threshold,Infinity),d.dataMin,w.startMin),w.startMax=Math.max(T(b.options.threshold,-Infinity),d.dataMax,w.startMax))});d=Math.min(T(null===w||void 0===w?void 0:w.startMin,u.dataMin),q?u.min:a.toValue(a.toPixels(u.min)-a.minPixelPadding));q=Math.max(T(null===w||void 0===w?void 0:w.startMax,u.dataMax),q?u.max:a.toValue(a.toPixels(u.max)+a.minPixelPadding));a.panningState=w;a.isOrdinal||
-(D=d-g,0<D&&(n+=D,g=d),D=n-q,0<D&&(n=q,g-=D),a.series.length&&g!==u.min&&n!==u.max&&g>=d&&n<=q&&(a.setExtremes(g,n,!1,!1,{trigger:"pan"}),c.resetZoomButton||p||g===d||n===q||!k.match("y")||(c.showResetZoom(),a.displayBtn=!1),h=!0),c[e]=f)});h&&c.redraw(!1);d(c.container,{cursor:"move"})})};return a}();J(aa.prototype,{callbacks:[],collectionsWithInit:{xAxis:[aa.prototype.addAxis,[!0]],yAxis:[aa.prototype.addAxis,[!1]],series:[aa.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis",
-"series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});A.chart=function(b,d,a){return new aa(b,
-d,a)};A.Chart=aa;"";return aa});S(a,"Mixins/LegendSymbol.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,m){var A=m.merge,C=m.pick;return a.LegendSymbolMixin={drawRectangle:function(a,m){var E=a.symbolHeight,I=a.options.squareSymbol;m.legendSymbol=this.chart.renderer.rect(I?(a.symbolWidth-E)/2:0,a.baseline-E+1,I?E:a.symbolWidth,E,C(a.options.symbolRadius,E/2)).addClass("highcharts-point").attr({zIndex:3}).add(m.legendGroup)},drawLineMarker:function(a){var m=this.options,E=m.marker,I=
-a.symbolWidth,B=a.symbolHeight,z=B/2,r=this.chart.renderer,v=this.legendGroup;a=a.baseline-Math.round(.3*a.fontMetrics.b);var c={};this.chart.styledMode||(c={"stroke-width":m.lineWidth||0},m.dashStyle&&(c.dashstyle=m.dashStyle));this.legendLine=r.path([["M",0,a],["L",I,a]]).addClass("highcharts-graph").attr(c).add(v);E&&!1!==E.enabled&&I&&(m=Math.min(C(E.radius,z),z),0===this.symbol.indexOf("url")&&(E=A(E,{width:B,height:B}),m=0),this.legendSymbol=E=r.symbol(this.symbol,I/2-m,a-m,2*m,2*m,E).addClass("highcharts-point").add(v),
-E.isMarker=!0)}}});S(a,"Core/Series/Series.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Globals.js"],a["Mixins/LegendSymbol.js"],a["Core/Options.js"],a["Core/Color/Palette.js"],a["Core/Series/Point.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N,E,I,B){var z=a.animObject,r=a.setAnimation,v=m.hasTouch,c=m.svg,l=m.win,e=C.defaultOptions,n=E.seriesTypes,y=B.addEvent,k=B.arrayMax,Q=B.arrayMin,w=B.clamp,h=B.cleanRecursively,
-G=B.correctFloat,q=B.defined,x=B.erase,b=B.error,d=B.extend,L=B.find,M=B.fireEvent,K=B.getNestedProperty,g=B.isArray,J=B.isFunction,p=B.isNumber,f=B.isString,H=B.merge,u=B.objectEach,R=B.pick,t=B.removeEvent,P=B.splat,O=B.syncTimeout;a=function(){function a(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}a.prototype.init=
-function(b,a){M(this,"init",{options:a});var c=this,e=b.series,f;this.eventOptions=this.eventOptions||{};this.eventsToUnbind=[];c.chart=b;c.options=a=c.setOptions(a);c.linkedSeries=[];c.bindAxes();d(c,{name:a.name,state:"",visible:!1!==a.visible,selected:!0===a.selected});var g=a.events;u(g,function(b,a){J(b)&&c.eventOptions[a]!==b&&(J(c.eventOptions[a])&&t(c,a,c.eventOptions[a]),c.eventOptions[a]=b,y(c,a,b))});if(g&&g.click||a.point&&a.point.events&&a.point.events.click||a.allowPointSelect)b.runTrackerClick=
-!0;c.getColor();c.getSymbol();c.parallelArrays.forEach(function(b){c[b+"Data"]||(c[b+"Data"]=[])});c.isCartesian&&(b.hasCartesianSeries=!0);e.length&&(f=e[e.length-1]);c._i=R(f&&f._i,-1)+1;c.opacity=c.options.opacity;b.orderSeries(this.insert(e));a.dataSorting&&a.dataSorting.enabled?c.setDataSortingOptions():c.points||c.data||c.setData(a.data,!1);M(this,"afterInit")};a.prototype.is=function(b){return n[b]&&this instanceof n[b]};a.prototype.insert=function(b){var a=this.options.index,d;if(p(a)){for(d=
-b.length;d--;)if(a>=R(b[d].options.index,b[d]._i)){b.splice(d+1,0,this);break}-1===d&&b.unshift(this);d+=1}else b.push(this);return R(d,b.length-1)};a.prototype.bindAxes=function(){var a=this,d=a.options,c=a.chart,e;M(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(f){c[f].forEach(function(b){e=b.options;if(d[f]===e.index||"undefined"!==typeof d[f]&&d[f]===e.id||"undefined"===typeof d[f]&&0===e.index)a.insert(b.series),a[f]=b,b.isDirty=!0});a[f]||a.optionalAxis===f||b(18,!0,c)})});
-M(this,"afterBindAxes")};a.prototype.updateParallelArrays=function(b,a){var d=b.series,c=arguments,e=p(a)?function(c){var e="y"===c&&d.toYData?d.toYData(b):b[c];d[c+"Data"][a]=e}:function(b){Array.prototype[a].apply(d[b+"Data"],Array.prototype.slice.call(c,2))};d.parallelArrays.forEach(e)};a.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length};a.prototype.autoIncrement=function(){var b=
-this.options,a=this.xIncrement,d,c=b.pointIntervalUnit,e=this.chart.time;a=R(a,b.pointStart,0);this.pointInterval=d=R(this.pointInterval,b.pointInterval,1);c&&(b=new e.Date(a),"day"===c?e.set("Date",b,e.get("Date",b)+d):"month"===c?e.set("Month",b,e.get("Month",b)+d):"year"===c&&e.set("FullYear",b,e.get("FullYear",b)+d),d=b.getTime()-a);this.xIncrement=a+d;return a};a.prototype.setDataSortingOptions=function(){var b=this.options;d(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});
-q(b.pointRange)||(b.pointRange=1)};a.prototype.setOptions=function(b){var a=this.chart,d=a.options,c=d.plotOptions,f=a.userOptions||{};b=H(b);a=a.styledMode;var g={plotOptions:c,userOptions:b};M(this,"setOptions",g);var p=g.plotOptions[this.type],h=f.plotOptions||{};this.userOptions=g.userOptions;f=H(p,c.series,f.plotOptions&&f.plotOptions[this.type],b);this.tooltipOptions=H(e.tooltip,e.plotOptions.series&&e.plotOptions.series.tooltip,e.plotOptions[this.type].tooltip,d.tooltip.userOptions,c.series&&
-c.series.tooltip,c[this.type].tooltip,b.tooltip);this.stickyTracking=R(b.stickyTracking,h[this.type]&&h[this.type].stickyTracking,h.series&&h.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:f.stickyTracking);null===p.marker&&delete f.marker;this.zoneAxis=f.zoneAxis;d=this.zones=(f.zones||[]).slice();!f.negativeColor&&!f.negativeFillColor||f.zones||(c={value:f[this.zoneAxis+"Threshold"]||f.threshold||0,className:"highcharts-negative"},a||(c.color=f.negativeColor,c.fillColor=
-f.negativeFillColor),d.push(c));d.length&&q(d[d.length-1].value)&&d.push(a?{}:{color:this.color,fillColor:this.fillColor});M(this,"afterSetOptions",{options:f});return f};a.prototype.getName=function(){return R(this.options.name,"Series "+(this.index+1))};a.prototype.getCyclic=function(b,a,d){var c=this.chart,e=this.userOptions,f=b+"Index",g=b+"Counter",p=d?d.length:R(c.options.chart[b+"Count"],c[b+"Count"]);if(!a){var h=R(e[f],e["_"+f]);q(h)||(c.series.length||(c[g]=0),e["_"+f]=h=c[g]%p,c[g]+=1);
-d&&(a=d[h])}"undefined"!==typeof h&&(this[f]=h);this[b]=a};a.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||e.plotOptions[this.type].color,this.chart.options.colors)};a.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]};a.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};a.prototype.findPointIndex=
-function(b,a){var d=b.id,c=b.x,e=this.points,f,g=this.options.dataSorting;if(d)var h=this.chart.get(d);else if(this.linkedParent||this.enabledDataSorting){var k=g&&g.matchByName?"name":"index";h=L(e,function(a){return!a.touched&&a[k]===b[k]});if(!h)return}if(h){var q=h&&h.index;"undefined"!==typeof q&&(f=!0)}"undefined"===typeof q&&p(c)&&(q=this.xData.indexOf(c,a));-1!==q&&"undefined"!==typeof q&&this.cropped&&(q=q>=this.cropStart?q-this.cropStart:q);!f&&e[q]&&e[q].touched&&(q=void 0);return q};a.prototype.updateData=
-function(b,a){var d=this.options,c=d.dataSorting,e=this.points,f=[],g,h,t,u=this.requireSorting,n=b.length===e.length,D=!0;this.xIncrement=null;b.forEach(function(b,a){var h=q(b)&&this.pointClass.prototype.optionsToObject.call({series:this},b)||{};var k=h.x;if(h.id||p(k)){if(k=this.findPointIndex(h,t),-1===k||"undefined"===typeof k?f.push(b):e[k]&&b!==d.data[k]?(e[k].update(b,!1,null,!1),e[k].touched=!0,u&&(t=k+1)):e[k]&&(e[k].touched=!0),!n||a!==k||c&&c.enabled||this.hasDerivedData)g=!0}else f.push(b)},
-this);if(g)for(b=e.length;b--;)(h=e[b])&&!h.touched&&h.remove&&h.remove(!1,a);else!n||c&&c.enabled?D=!1:(b.forEach(function(b,a){e[a].update&&b!==e[a].y&&e[a].update(b,!1,null,!1)}),f.length=0);e.forEach(function(b){b&&(b.touched=!1)});if(!D)return!1;f.forEach(function(b){this.addPoint(b,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=k(this.xData),this.autoIncrement());return!0};a.prototype.setData=function(a,d,c,e){var h=this,k=h.points,q=k&&k.length||
-0,t,u=h.options,n=h.chart,D=u.dataSorting,l=null,w=h.xAxis;l=u.turboThreshold;var H=this.xData,y=this.yData,x=(t=h.pointArrayMap)&&t.length,r=u.keys,J=0,G=1,v;a=a||[];t=a.length;d=R(d,!0);D&&D.enabled&&(a=this.sortData(a));!1!==e&&t&&q&&!h.cropped&&!h.hasGroupedData&&h.visible&&!h.isSeriesBoosting&&(v=this.updateData(a,c));if(!v){h.xIncrement=null;h.colorCounter=0;this.parallelArrays.forEach(function(b){h[b+"Data"].length=0});if(l&&t>l)if(l=h.getFirstValidPoint(a),p(l))for(c=0;c<t;c++)H[c]=this.autoIncrement(),
-y[c]=a[c];else if(g(l))if(x)for(c=0;c<t;c++)e=a[c],H[c]=e[0],y[c]=e.slice(1,x+1);else for(r&&(J=r.indexOf("x"),G=r.indexOf("y"),J=0<=J?J:0,G=0<=G?G:1),c=0;c<t;c++)e=a[c],H[c]=e[J],y[c]=e[G];else b(12,!1,n);else for(c=0;c<t;c++)"undefined"!==typeof a[c]&&(e={series:h},h.pointClass.prototype.applyOptions.apply(e,[a[c]]),h.updateParallelArrays(e,c));y&&f(y[0])&&b(14,!0,n);h.data=[];h.options.data=h.userOptions.data=a;for(c=q;c--;)k[c]&&k[c].destroy&&k[c].destroy();w&&(w.minRange=w.userMinRange);h.isDirty=
-n.isDirtyBox=!0;h.isDirtyData=!!k;c=!1}"point"===u.legendType&&(this.processData(),this.generatePoints());d&&n.redraw(c)};a.prototype.sortData=function(b){var a=this,d=a.options.dataSorting.sortKey||"y",c=function(b,a){return q(a)&&b.pointClass.prototype.optionsToObject.call({series:b},a)||{}};b.forEach(function(d,e){b[e]=c(a,d);b[e].index=e},this);b.concat().sort(function(b,a){b=K(d,b);a=K(d,a);return a<b?-1:a>b?1:0}).forEach(function(b,a){b.x=a},this);a.linkedSeries&&a.linkedSeries.forEach(function(a){var d=
-a.options,e=d.data;d.dataSorting&&d.dataSorting.enabled||!e||(e.forEach(function(d,f){e[f]=c(a,d);b[f]&&(e[f].x=b[f].x,e[f].index=f)}),a.setData(e,!1))});return b};a.prototype.getProcessedData=function(a){var d=this.xData,c=this.yData,e=d.length;var f=0;var g=this.xAxis,p=this.options;var h=p.cropThreshold;var k=a||this.getExtremesFromAll||p.getExtremesFromAll,q=this.isCartesian;a=g&&g.val2lin;p=!(!g||!g.logarithmic);var t=this.requireSorting;if(g){g=g.getExtremes();var u=g.min;var n=g.max}if(q&&
-this.sorted&&!k&&(!h||e>h||this.forceCrop))if(d[e-1]<u||d[0]>n)d=[],c=[];else if(this.yData&&(d[0]<u||d[e-1]>n)){f=this.cropData(this.xData,this.yData,u,n);d=f.xData;c=f.yData;f=f.start;var D=!0}for(h=d.length||1;--h;)if(e=p?a(d[h])-a(d[h-1]):d[h]-d[h-1],0<e&&("undefined"===typeof l||e<l))var l=e;else 0>e&&t&&(b(15,!1,this.chart),t=!1);return{xData:d,yData:c,cropped:D,cropStart:f,closestPointRange:l}};a.prototype.processData=function(b){var a=this.xAxis;if(this.isCartesian&&!this.isDirty&&!a.isDirty&&
-!this.yAxis.isDirty&&!b)return!1;b=this.getProcessedData();this.cropped=b.cropped;this.cropStart=b.cropStart;this.processedXData=b.xData;this.processedYData=b.yData;this.closestPointRange=this.basePointRange=b.closestPointRange};a.prototype.cropData=function(b,a,d,c,e){var f=b.length,g=0,p=f,h;e=R(e,this.cropShoulder);for(h=0;h<f;h++)if(b[h]>=d){g=Math.max(0,h-e);break}for(d=h;d<f;d++)if(b[d]>c){p=d+e;break}return{xData:b.slice(g,p),yData:a.slice(g,p),start:g,end:p}};a.prototype.generatePoints=function(){var b=
-this.options,a=b.data,c=this.data,e,f=this.processedXData,g=this.processedYData,p=this.pointClass,h=f.length,k=this.cropStart||0,q=this.hasGroupedData;b=b.keys;var t=[],u;c||q||(c=[],c.length=a.length,c=this.data=c);b&&q&&(this.options.keys=!1);for(u=0;u<h;u++){var n=k+u;if(q){var l=(new p).init(this,[f[u]].concat(P(g[u])));l.dataGroup=this.groupMap[u];l.dataGroup.options&&(l.options=l.dataGroup.options,d(l,l.dataGroup.options),delete l.dataLabels)}else(l=c[n])||"undefined"===typeof a[n]||(c[n]=l=
-(new p).init(this,a[n],f[u]));l&&(l.index=n,t[u]=l)}this.options.keys=b;if(c&&(h!==(e=c.length)||q))for(u=0;u<e;u++)u!==k||q||(u+=h),c[u]&&(c[u].destroyElements(),c[u].plotX=void 0);this.data=c;this.points=t;M(this,"afterGeneratePoints")};a.prototype.getXExtremes=function(b){return{min:Q(b),max:k(b)}};a.prototype.getExtremes=function(b,a){var d=this.xAxis,c=this.yAxis,e=this.processedXData||this.xData,f=[],h=0,q=0;var t=0;var u=this.requireSorting?this.cropShoulder:0,n=c?c.positiveValuesOnly:!1,l;
-b=b||this.stackedYData||this.processedYData||[];c=b.length;d&&(t=d.getExtremes(),q=t.min,t=t.max);for(l=0;l<c;l++){var w=e[l];var D=b[l];var H=(p(D)||g(D))&&(D.length||0<D||!n);w=a||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!d||(e[l+u]||w)>=q&&(e[l-u]||w)<=t;if(H&&w)if(H=D.length)for(;H--;)p(D[H])&&(f[h++]=D[H]);else f[h++]=D}b={dataMin:Q(f),dataMax:k(f)};M(this,"afterGetExtremes",{dataExtremes:b});return b};a.prototype.applyExtremes=function(){var b=this.getExtremes();
-this.dataMin=b.dataMin;this.dataMax=b.dataMax;return b};a.prototype.getFirstValidPoint=function(b){for(var a=null,d=b.length,c=0;null===a&&c<d;)a=b[c],c++;return a};a.prototype.translate=function(){this.processedXData||this.processData();this.generatePoints();var b=this.options,a=b.stacking,d=this.xAxis,c=d.categories,e=this.enabledDataSorting,f=this.yAxis,h=this.points,k=h.length,t=!!this.modifyValue,u,n=this.pointPlacementToXValue(),l=!!n,H=b.threshold,y=b.startFromThreshold?H:0,x,r=this.zoneAxis||
-"y",J=Number.MAX_VALUE;for(u=0;u<k;u++){var v=h[u],z=v.x,K=v.y,m=v.low,L=a&&f.stacking&&f.stacking.stacks[(this.negStacks&&K<(y?0:H)?"-":"")+this.stackKey];if(f.positiveValuesOnly&&!f.validatePositiveValue(K)||d.positiveValuesOnly&&!d.validatePositiveValue(z))v.isNull=!0;v.plotX=x=G(w(d.translate(z,0,0,0,1,n,"flags"===this.type),-1E5,1E5));if(a&&this.visible&&L&&L[z]){var Q=this.getStackIndicator(Q,z,this.index);if(!v.isNull){var B=L[z];var P=B.points[Q.key]}}g(P)&&(m=P[0],K=P[1],m===y&&Q.key===L[z].base&&
-(m=R(p(H)&&H,f.min)),f.positiveValuesOnly&&0>=m&&(m=null),v.total=v.stackTotal=B.total,v.percentage=B.total&&v.y/B.total*100,v.stackY=K,this.irregularWidths||B.setOffset(this.pointXOffset||0,this.barW||0));v.yBottom=q(m)?w(f.translate(m,0,1,0,1),-1E5,1E5):null;t&&(K=this.modifyValue(K,v));v.plotY=void 0;p(K)&&(K=f.translate(K,!1,!0,!1,!0),"undefined"!==typeof K&&(v.plotY=w(K,-1E5,1E5)));v.isInside=this.isPointInside(v);v.clientX=l?G(d.translate(z,0,0,0,1,n)):x;v.negative=v[r]<(b[r+"Threshold"]||H||
-0);v.category=c&&"undefined"!==typeof c[v.x]?c[v.x]:v.x;if(!v.isNull&&!1!==v.visible){"undefined"!==typeof I&&(J=Math.min(J,Math.abs(x-I)));var I=x}v.zone=this.zones.length&&v.getZone();!v.graphic&&this.group&&e&&(v.isNew=!0)}this.closestPointRangePx=J;M(this,"afterTranslate")};a.prototype.getValidPoints=function(b,a,d){var c=this.chart;return(b||this.points||[]).filter(function(b){return a&&!c.isInsidePlot(b.plotX,b.plotY,c.inverted)?!1:!1!==b.visible&&(d||!b.isNull)})};a.prototype.getClipBox=function(b,
-a){var d=this.options,c=this.chart,e=c.inverted,f=this.xAxis,g=f&&this.yAxis,p=c.options.chart.scrollablePlotArea||{};b&&!1===d.clip&&g?b=e?{y:-c.chartWidth+g.len+g.pos,height:c.chartWidth,width:c.chartHeight,x:-c.chartHeight+f.len+f.pos}:{y:-g.pos,height:c.chartHeight,width:c.chartWidth,x:-f.pos}:(b=this.clipBox||c.clipBox,a&&(b.width=c.plotSizeX,b.x=(c.scrollablePixelsX||0)*(p.scrollPositionX||0)));return a?{width:b.width,x:b.x}:b};a.prototype.setClip=function(b){var a=this.chart,d=this.options,
-c=a.renderer,e=a.inverted,f=this.clipBox,g=this.getClipBox(b),p=this.sharedClipKey||["_sharedClip",b&&b.duration,b&&b.easing,b&&b.defer,g.height,d.xAxis,d.yAxis].join(),h=a[p],k=a[p+"m"];b&&(g.width=0,e&&(g.x=a.plotHeight+(!1!==d.clip?0:a.plotTop)));h?a.hasLoaded||h.attr(g):(b&&(a[p+"m"]=k=c.clipRect(e?a.plotSizeX+99:-99,e?-a.plotLeft:-a.plotTop,99,e?a.chartWidth:a.chartHeight)),a[p]=h=c.clipRect(g),h.count={length:0});b&&!h.count[this.index]&&(h.count[this.index]=!0,h.count.length+=1);if(!1!==d.clip||
-b)this.group.clip(b||f?h:a.clipRect),this.markerGroup.clip(k),this.sharedClipKey=p;b||(h.count[this.index]&&(delete h.count[this.index],--h.count.length),0===h.count.length&&p&&a[p]&&(f||(a[p]=a[p].destroy()),a[p+"m"]&&(a[p+"m"]=a[p+"m"].destroy())))};a.prototype.animate=function(b){var a=this.chart,d=z(this.options.animation);if(b)this.setClip(d);else{var c=this.sharedClipKey;b=a[c];var e=this.getClipBox(d,!0);b&&b.animate(e,d);a[c+"m"]&&a[c+"m"].animate({width:e.width+99,x:e.x-(a.inverted?0:99)},
-d)}};a.prototype.afterAnimate=function(){this.setClip();M(this,"afterAnimate");this.finishedAnimating=!0};a.prototype.drawPoints=function(){var b=this.points,a=this.chart,d,c,e=this.options.marker,f=this[this.specialGroup]||this.markerGroup,g=this.xAxis,p=R(e.enabled,!g||g.isRadial?!0:null,this.closestPointRangePx>=e.enabledThreshold*e.radius);if(!1!==e.enabled||this._hasPointMarkers)for(d=0;d<b.length;d++){var h=b[d];var k=(c=h.graphic)?"animate":"attr";var q=h.marker||{};var t=!!h.marker;if((p&&
-"undefined"===typeof q.enabled||q.enabled)&&!h.isNull&&!1!==h.visible){var u=R(q.symbol,this.symbol);var n=this.markerAttribs(h,h.selected&&"select");this.enabledDataSorting&&(h.startXPos=g.reversed?-n.width:g.width);var l=!1!==h.isInside;c?c[l?"show":"hide"](l).animate(n):l&&(0<n.width||h.hasImage)&&(h.graphic=c=a.renderer.symbol(u,n.x,n.y,n.width,n.height,t?q:e).add(f),this.enabledDataSorting&&a.hasRendered&&(c.attr({x:h.startXPos}),k="animate"));c&&"animate"===k&&c[l?"show":"hide"](l).animate(n);
-if(c&&!a.styledMode)c[k](this.pointAttribs(h,h.selected&&"select"));c&&c.addClass(h.getClassName(),!0)}else c&&(h.graphic=c.destroy())}};a.prototype.markerAttribs=function(b,a){var d=this.options,c=d.marker,e=b.marker||{},f=e.symbol||c.symbol,g=R(e.radius,c.radius);a&&(c=c.states[a],a=e.states&&e.states[a],g=R(a&&a.radius,c&&c.radius,g+(c&&c.radiusPlus||0)));b.hasImage=f&&0===f.indexOf("url");b.hasImage&&(g=0);b={x:d.crisp?Math.floor(b.plotX)-g:b.plotX-g,y:b.plotY-g};g&&(b.width=b.height=2*g);return b};
-a.prototype.pointAttribs=function(b,a){var d=this.options.marker,c=b&&b.options,e=c&&c.marker||{},f=this.color,g=c&&c.color,p=b&&b.color;c=R(e.lineWidth,d.lineWidth);var h=b&&b.zone&&b.zone.color;b=1;f=g||h||p||f;g=e.fillColor||d.fillColor||f;f=e.lineColor||d.lineColor||f;a=a||"normal";d=d.states[a];a=e.states&&e.states[a]||{};c=R(a.lineWidth,d.lineWidth,c+R(a.lineWidthPlus,d.lineWidthPlus,0));g=a.fillColor||d.fillColor||g;f=a.lineColor||d.lineColor||f;b=R(a.opacity,d.opacity,b);return{stroke:f,"stroke-width":c,
-fill:g,opacity:b}};a.prototype.destroy=function(b){var a=this,d=a.chart,c=/AppleWebKit\/533/.test(l.navigator.userAgent),e,f,g=a.data||[],p,h;M(a,"destroy");this.removeEvents(b);(a.axisTypes||[]).forEach(function(b){(h=a[b])&&h.series&&(x(h.series,a),h.isDirty=h.forceRedraw=!0)});a.legendItem&&a.chart.legend.destroyItem(a);for(f=g.length;f--;)(p=g[f])&&p.destroy&&p.destroy();a.points=null;B.clearTimeout(a.animationTimeout);u(a,function(b,a){b instanceof I&&!b.survive&&(e=c&&"group"===a?"hide":"destroy",
-b[e]())});d.hoverSeries===a&&(d.hoverSeries=null);x(d.series,a);d.orderSeries();u(a,function(d,c){b&&"hcEvents"===c||delete a[c]})};a.prototype.applyZones=function(){var b=this,a=this.chart,d=a.renderer,c=this.zones,e,f,g=this.clips||[],p,h=this.graph,k=this.area,q=Math.max(a.chartWidth,a.chartHeight),t=this[(this.zoneAxis||"y")+"Axis"],u=a.inverted,n,l,H,y=!1,x,r;if(c.length&&(h||k)&&t&&"undefined"!==typeof t.min){var J=t.reversed;var v=t.horiz;h&&!this.showLine&&h.hide();k&&k.hide();var G=t.getExtremes();
-c.forEach(function(c,D){e=J?v?a.plotWidth:0:v?0:t.toPixels(G.min)||0;e=w(R(f,e),0,q);f=w(Math.round(t.toPixels(R(c.value,G.max),!0)||0),0,q);y&&(e=f=t.toPixels(G.max));n=Math.abs(e-f);l=Math.min(e,f);H=Math.max(e,f);t.isXAxis?(p={x:u?H:l,y:0,width:n,height:q},v||(p.x=a.plotHeight-p.x)):(p={x:0,y:u?H:l,width:q,height:n},v&&(p.y=a.plotWidth-p.y));u&&d.isVML&&(p=t.isXAxis?{x:0,y:J?l:H,height:p.width,width:a.chartWidth}:{x:p.y-a.plotLeft-a.spacingBox.x,y:0,width:p.height,height:a.chartHeight});g[D]?g[D].animate(p):
-g[D]=d.clipRect(p);x=b["zone-area-"+D];r=b["zone-graph-"+D];h&&r&&r.clip(g[D]);k&&x&&x.clip(g[D]);y=c.value>G.max;b.resetZones&&0===f&&(f=void 0)});this.clips=g}else b.visible&&(h&&h.show(!0),k&&k.show(!0))};a.prototype.invertGroups=function(b){function a(){["group","markerGroup"].forEach(function(a){d[a]&&(c.renderer.isVML&&d[a].attr({width:d.yAxis.len,height:d.xAxis.len}),d[a].width=d.yAxis.len,d[a].height=d.xAxis.len,d[a].invert(d.isRadialSeries?!1:b))})}var d=this,c=d.chart;d.xAxis&&(d.eventsToUnbind.push(y(c,
-"resize",a)),a(),d.invertGroups=a)};a.prototype.plotGroup=function(b,a,d,c,e){var f=this[b],g=!f;d={visibility:d,zIndex:c||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(d.opacity=this.opacity);g&&(this[b]=f=this.chart.renderer.g().add(e));f.addClass("highcharts-"+a+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(q(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(f.hasClass("highcharts-tracker")?
-" highcharts-tracker":""),!0);f.attr(d)[g?"attr":"animate"](this.getPlotBox());return f};a.prototype.getPlotBox=function(){var b=this.chart,a=this.xAxis,d=this.yAxis;b.inverted&&(a=d,d=this.xAxis);return{translateX:a?a.left:b.plotLeft,translateY:d?d.top:b.plotTop,scaleX:1,scaleY:1}};a.prototype.removeEvents=function(b){b||t(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(b){b()}),this.eventsToUnbind.length=0)};a.prototype.render=function(){var b=this,a=b.chart,d=b.options,
-c=z(d.animation),e=!b.finishedAnimating&&a.renderer.isSVG&&c.duration,f=b.visible?"inherit":"hidden",g=d.zIndex,p=b.hasRendered,h=a.seriesGroup,k=a.inverted;M(this,"render");var t=b.plotGroup("group","series",f,g,h);b.markerGroup=b.plotGroup("markerGroup","markers",f,g,h);e&&b.animate&&b.animate(!0);t.inverted=R(b.invertible,b.isCartesian)?k:!1;b.drawGraph&&(b.drawGraph(),b.applyZones());b.visible&&b.drawPoints();b.drawDataLabels&&b.drawDataLabels();b.redrawPoints&&b.redrawPoints();b.drawTracker&&
-!1!==b.options.enableMouseTracking&&b.drawTracker();b.invertGroups(k);!1===d.clip||b.sharedClipKey||p||t.clip(a.clipRect);e&&b.animate&&b.animate();p||(e&&c.defer&&(e+=c.defer),b.animationTimeout=O(function(){b.afterAnimate()},e||0));b.isDirty=!1;b.hasRendered=!0;M(b,"afterRender")};a.prototype.redraw=function(){var b=this.chart,a=this.isDirty||this.isDirtyData,d=this.group,c=this.xAxis,e=this.yAxis;d&&(b.inverted&&d.attr({width:b.plotWidth,height:b.plotHeight}),d.animate({translateX:R(c&&c.left,
-b.plotLeft),translateY:R(e&&e.top,b.plotTop)}));this.translate();this.render();a&&delete this.kdTree};a.prototype.searchPoint=function(b,a){var d=this.xAxis,c=this.yAxis,e=this.chart.inverted;return this.searchKDTree({clientX:e?d.len-b.chartY+d.pos:b.chartX-d.pos,plotY:e?c.len-b.chartX+c.pos:b.chartY-c.pos},a,b)};a.prototype.buildKDTree=function(b){function a(b,c,e){var f;if(f=b&&b.length){var g=d.kdAxisArray[c%e];b.sort(function(b,a){return b[g]-a[g]});f=Math.floor(f/2);return{point:b[f],left:a(b.slice(0,
-f),c+1,e),right:a(b.slice(f+1),c+1,e)}}}this.buildingKdTree=!0;var d=this,c=-1<d.options.findNearestPointBy.indexOf("y")?2:1;delete d.kdTree;O(function(){d.kdTree=a(d.getValidPoints(null,!d.directTouch),c,c);d.buildingKdTree=!1},d.options.kdNow||b&&"touchstart"===b.type?0:1)};a.prototype.searchKDTree=function(b,a,d){function c(b,a,d,h){var k=a.point,t=e.kdAxisArray[d%h],u=k;var n=q(b[f])&&q(k[f])?Math.pow(b[f]-k[f],2):null;var l=q(b[g])&&q(k[g])?Math.pow(b[g]-k[g],2):null;l=(n||0)+(l||0);k.dist=q(l)?
-Math.sqrt(l):Number.MAX_VALUE;k.distX=q(n)?Math.sqrt(n):Number.MAX_VALUE;t=b[t]-k[t];l=0>t?"left":"right";n=0>t?"right":"left";a[l]&&(l=c(b,a[l],d+1,h),u=l[p]<u[p]?l:k);a[n]&&Math.sqrt(t*t)<u[p]&&(b=c(b,a[n],d+1,h),u=b[p]<u[p]?b:u);return u}var e=this,f=this.kdAxisArray[0],g=this.kdAxisArray[1],p=a?"distX":"dist";a=-1<e.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(d);if(this.kdTree)return c(b,this.kdTree,a,a)};a.prototype.pointPlacementToXValue=function(){var b=
-this.options,a=b.pointRange,d=this.xAxis;b=b.pointPlacement;"between"===b&&(b=d.reversed?-.5:.5);return p(b)?b*(a||d.pointRange):0};a.prototype.isPointInside=function(b){return"undefined"!==typeof b.plotY&&"undefined"!==typeof b.plotX&&0<=b.plotY&&b.plotY<=this.yAxis.len&&0<=b.plotX&&b.plotX<=this.xAxis.len};a.prototype.drawTracker=function(){var b=this,a=b.options,d=a.trackByArea,e=[].concat(d?b.areaPath:b.graphPath),f=b.chart,g=f.pointer,p=f.renderer,h=f.options.tooltip.snap,k=b.tracker,t=function(a){if(f.hoverSeries!==
-b)b.onMouseOver()},q="rgba(192,192,192,"+(c?.0001:.002)+")";k?k.attr({d:e}):b.graph&&(b.tracker=p.path(e).attr({visibility:b.visible?"visible":"hidden",zIndex:2}).addClass(d?"highcharts-tracker-area":"highcharts-tracker-line").add(b.group),f.styledMode||b.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:q,fill:d?q:"none","stroke-width":b.graph.strokeWidth()+(d?0:2*h)}),[b.tracker,b.markerGroup].forEach(function(b){b.addClass("highcharts-tracker").on("mouseover",t).on("mouseout",
-function(b){g.onTrackerMouseOut(b)});a.cursor&&!f.styledMode&&b.css({cursor:a.cursor});if(v)b.on("touchstart",t)}));M(this,"afterDrawTracker")};a.prototype.addPoint=function(b,a,d,c,e){var f=this.options,g=this.data,p=this.chart,h=this.xAxis;h=h&&h.hasNames&&h.names;var k=f.data,t=this.xData,q;a=R(a,!0);var u={series:this};this.pointClass.prototype.applyOptions.apply(u,[b]);var n=u.x;var l=t.length;if(this.requireSorting&&n<t[l-1])for(q=!0;l&&t[l-1]>n;)l--;this.updateParallelArrays(u,"splice",l,0,
-0);this.updateParallelArrays(u,l);h&&u.name&&(h[n]=u.name);k.splice(l,0,b);q&&(this.data.splice(l,0,null),this.processData());"point"===f.legendType&&this.generatePoints();d&&(g[0]&&g[0].remove?g[0].remove(!1):(g.shift(),this.updateParallelArrays(u,"shift"),k.shift()));!1!==e&&M(this,"addPoint",{point:u});this.isDirtyData=this.isDirty=!0;a&&p.redraw(c)};a.prototype.removePoint=function(b,a,d){var c=this,e=c.data,f=e[b],g=c.points,p=c.chart,h=function(){g&&g.length===e.length&&g.splice(b,1);e.splice(b,
-1);c.options.data.splice(b,1);c.updateParallelArrays(f||{series:c},"splice",b,1);f&&f.destroy();c.isDirty=!0;c.isDirtyData=!0;a&&p.redraw()};r(d,p);a=R(a,!0);f?f.firePointEvent("remove",null,h):h()};a.prototype.remove=function(b,a,d,c){function e(){f.destroy(c);g.isDirtyLegend=g.isDirtyBox=!0;g.linkSeries();R(b,!0)&&g.redraw(a)}var f=this,g=f.chart;!1!==d?M(f,"remove",null,e):e()};a.prototype.update=function(a,c){a=h(a,this.userOptions);M(this,"update",{options:a});var e=this,f=e.chart,g=e.userOptions,
-p=e.initialType||e.type,k=f.options.plotOptions,t=a.type||g.type||f.options.chart.type,q=!(this.hasDerivedData||t&&t!==this.type||"undefined"!==typeof a.pointStart||"undefined"!==typeof a.pointInterval||e.hasOptionChanged("dataGrouping")||e.hasOptionChanged("pointStart")||e.hasOptionChanged("pointInterval")||e.hasOptionChanged("pointIntervalUnit")||e.hasOptionChanged("keys")),u=n[p].prototype,l,w=["eventOptions","navigatorSeries","baseSeries"],y=e.finishedAnimating&&{animation:!1},x={};q&&(w.push("data",
-"isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==a.visible&&w.push("area","graph"),e.parallelArrays.forEach(function(b){w.push(b+"Data")}),a.data&&(a.dataSorting&&d(e.options.dataSorting,a.dataSorting),this.setData(a.data,!1)));a=H(g,y,{index:"undefined"===typeof g.index?e.index:g.index,pointStart:R(k&&k.series&&k.series.pointStart,g.pointStart,e.xData[0])},!q&&
-{data:e.options.data},a);q&&a.data&&(a.data=e.options.data);w=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(w);w.forEach(function(b){w[b]=e[b];delete e[b]});if(n[t||p]){if(g=t!==e.type,e.remove(!1,!1,!1,!0),g)if(Object.setPrototypeOf)Object.setPrototypeOf(e,n[t||p].prototype);else{g=Object.hasOwnProperty.call(e,"hcEvents")&&e.hcEvents;for(l in u)e[l]=void 0;d(e,n[t||p].prototype);g?e.hcEvents=g:delete e.hcEvents}}else b(17,!0,f,{missingModuleFor:t||p});w.forEach(function(b){e[b]=
-w[b]});e.init(f,a);if(q&&this.points){var r=e.options;!1===r.visible?(x.graphic=1,x.dataLabel=1):e._hasPointLabels||(a=r.marker,t=r.dataLabels,a&&(!1===a.enabled||"symbol"in a)&&(x.graphic=1),t&&!1===t.enabled&&(x.dataLabel=1));this.points.forEach(function(b){b&&b.series&&(b.resolveColor(),Object.keys(x).length&&b.destroyElements(x),!1===r.showInLegend&&b.legendItem&&f.legend.destroyItem(b))},this)}e.initialType=p;f.linkSeries();M(this,"afterUpdate");R(c,!0)&&f.redraw(q?void 0:!1)};a.prototype.setName=
-function(b){this.name=this.options.name=this.userOptions.name=b;this.chart.isDirtyLegend=!0};a.prototype.hasOptionChanged=function(b){var a=this.options[b],d=this.chart.options.plotOptions,c=this.userOptions[b];return c?a!==c:a!==R(d&&d[this.type]&&d[this.type][b],d&&d.series&&d.series[b],a)};a.prototype.onMouseOver=function(){var b=this.chart,a=b.hoverSeries;b.pointer.setHoverChartIndex();if(a&&a!==this)a.onMouseOut();this.options.events.mouseOver&&M(this,"mouseOver");this.setState("hover");b.hoverSeries=
-this};a.prototype.onMouseOut=function(){var b=this.options,a=this.chart,d=a.tooltip,c=a.hoverPoint;a.hoverSeries=null;if(c)c.onMouseOut();this&&b.events.mouseOut&&M(this,"mouseOut");!d||this.stickyTracking||d.shared&&!this.noSharedTooltip||d.hide();a.series.forEach(function(b){b.setState("",!0)})};a.prototype.setState=function(b,a){var d=this,c=d.options,e=d.graph,f=c.inactiveOtherPoints,g=c.states,p=c.lineWidth,h=c.opacity,k=R(g[b||"normal"]&&g[b||"normal"].animation,d.chart.options.chart.animation);
-c=0;b=b||"";if(d.state!==b&&([d.group,d.markerGroup,d.dataLabelsGroup].forEach(function(a){a&&(d.state&&a.removeClass("highcharts-series-"+d.state),b&&a.addClass("highcharts-series-"+b))}),d.state=b,!d.chart.styledMode)){if(g[b]&&!1===g[b].enabled)return;b&&(p=g[b].lineWidth||p+(g[b].lineWidthPlus||0),h=R(g[b].opacity,h));if(e&&!e.dashstyle)for(g={"stroke-width":p},e.animate(g,k);d["zone-graph-"+c];)d["zone-graph-"+c].animate(g,k),c+=1;f||[d.group,d.markerGroup,d.dataLabelsGroup,d.labelBySeries].forEach(function(b){b&&
-b.animate({opacity:h},k)})}a&&f&&d.points&&d.setAllPointsToState(b||void 0)};a.prototype.setAllPointsToState=function(b){this.points.forEach(function(a){a.setState&&a.setState(b)})};a.prototype.setVisible=function(b,a){var d=this,c=d.chart,e=d.legendItem,f=c.options.chart.ignoreHiddenSeries,g=d.visible;var p=(d.visible=b=d.options.visible=d.userOptions.visible="undefined"===typeof b?!g:b)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(b){if(d[b])d[b][p]()});
-if(c.hoverSeries===d||(c.hoverPoint&&c.hoverPoint.series)===d)d.onMouseOut();e&&c.legend.colorizeItem(d,b);d.isDirty=!0;d.options.stacking&&c.series.forEach(function(b){b.options.stacking&&b.visible&&(b.isDirty=!0)});d.linkedSeries.forEach(function(a){a.setVisible(b,!1)});f&&(c.isDirtyBox=!0);M(d,p);!1!==a&&c.redraw()};a.prototype.show=function(){this.setVisible(!0)};a.prototype.hide=function(){this.setVisible(!1)};a.prototype.select=function(b){this.selected=b=this.options.selected="undefined"===
-typeof b?!this.selected:b;this.checkbox&&(this.checkbox.checked=b);M(this,b?"select":"unselect")};a.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:F.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:F.neutralColor20,lineColor:F.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},
-align:"center",defer:!0,formatter:function(){var b=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":b(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},
-stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"};return a}();d(a.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:A.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:N,requireSorting:!0,sorted:!0});E.series=a;"";"";return a});S(a,"Extensions/ScrollablePlotArea.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Axis/Axis.js"],a["Core/Chart/Chart.js"],a["Core/Series/Series.js"],
-a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N){var E=a.stop,I=N.addEvent,B=N.createElement,z=N.merge,r=N.pick;"";I(A,"afterSetChartSize",function(a){var c=this.options.chart.scrollablePlotArea,l=c&&c.minWidth;c=c&&c.minHeight;if(!this.renderer.forExport){if(l){if(this.scrollablePixelsX=l=Math.max(0,l-this.chartWidth)){this.scrollablePlotBox=z(this.plotBox);this.plotWidth+=l;this.inverted?(this.clipBox.height+=l,this.plotBox.height+=l):(this.clipBox.width+=l,this.plotBox.width+=
-l);var e={1:{name:"right",value:l}}}}else c&&(this.scrollablePixelsY=l=Math.max(0,c-this.chartHeight))&&(this.scrollablePlotBox=z(this.plotBox),this.plotHeight+=l,this.inverted?(this.clipBox.width+=l,this.plotBox.width+=l):(this.clipBox.height+=l,this.plotBox.height+=l),e={2:{name:"bottom",value:l}});e&&!a.skipAxes&&this.axes.forEach(function(a){e[a.side]?a.getPlotLinePath=function(){var c=e[a.side].name,k=this[c];this[c]=k-e[a.side].value;var n=F.Axis.prototype.getPlotLinePath.apply(this,arguments);
-this[c]=k;return n}:(a.setAxisSize(),a.setAxisTranslation())})}});I(A,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});A.prototype.setUpScrolling=function(){var a=this,c={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(c.overflowX="auto");this.scrollablePixelsY&&(c.overflowY="auto");this.scrollingParent=B("div",{className:"highcharts-scrolling-parent"},
-{position:"relative"},this.renderTo);this.scrollingContainer=B("div",{className:"highcharts-scrolling"},c,this.scrollingParent);I(this.scrollingContainer,"scroll",function(){a.pointer&&delete a.pointer.chartPosition});this.innerContainer=B("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};A.prototype.moveFixedElements=function(){var a=this.container,c=this.fixedRenderer,l=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),
-e;this.scrollablePixelsX&&!this.inverted?e=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(e=".highcharts-yaxis");e&&l.push(e+":not(.highcharts-radial-axis)",e+"-labels:not(.highcharts-radial-axis-labels)");l.forEach(function(e){[].forEach.call(a.querySelectorAll(e),function(a){(a.namespaceURI===c.SVG_NS?c.box:c.box.parentNode).appendChild(a);a.style.pointerEvents="auto"})})};
-A.prototype.applyFixed=function(){var a=this,c,l,e,n=!this.fixedDiv,y=this.options.chart,k=y.scrollablePlotArea;n?(this.fixedDiv=B("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:((null===(c=y.style)||void 0===c?void 0:c.zIndex)||0)+2,top:0},null,!0),null===(l=this.scrollingContainer)||void 0===l?void 0:l.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=c=new F.Renderer(this.fixedDiv,
-this.chartWidth,this.chartHeight,null===(e=this.options.chart)||void 0===e?void 0:e.style),this.scrollableMask=c.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":r(k.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),I(this,"afterShowResetZoom",this.moveFixedElements),I(this,"afterLayOutTitles",this.moveFixedElements),I(m,"afterInit",function(){a.scrollableDirty=!0}),I(C,"show",function(){a.scrollableDirty=!0})):this.fixedRenderer.setSize(this.chartWidth,
-this.chartHeight);if(this.scrollableDirty||n)this.scrollableDirty=!1,this.moveFixedElements();e=this.chartWidth+(this.scrollablePixelsX||0);c=this.chartHeight+(this.scrollablePixelsY||0);E(this.container);this.container.style.width=e+"px";this.container.style.height=c+"px";this.renderer.boxWrapper.attr({width:e,height:c,viewBox:[0,0,e,c].join(" ")});this.chartBackground.attr({width:e,height:c});this.scrollingContainer.style.height=this.chartHeight+"px";n&&(k.scrollPositionX&&(this.scrollingContainer.scrollLeft=
-this.scrollablePixelsX*k.scrollPositionX),k.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*k.scrollPositionY));c=this.axisOffset;n=this.plotTop-c[0]-1;k=this.plotLeft-c[3]-1;e=this.plotTop+this.plotHeight+c[2]+1;c=this.plotLeft+this.plotWidth+c[1]+1;l=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0);y=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);n=this.scrollablePixelsX?[["M",0,n],["L",this.plotLeft-1,n],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",
-l,n],["L",this.chartWidth,n],["L",this.chartWidth,e],["L",l,e],["Z"]]:this.scrollablePixelsY?[["M",k,0],["L",k,this.plotTop-1],["L",c,this.plotTop-1],["L",c,0],["Z"],["M",k,y],["L",k,this.chartHeight],["L",c,this.chartHeight],["L",c,y],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:n})}});S(a,"Core/Axis/StackingAxis.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Utilities.js"]],function(a,m){var A=a.getDeferredAnimation,C=m.addEvent,F=m.destroyObjectProperties,
-O=m.fireEvent,E=m.objectEach,I=m.pick,B=function(){function a(a){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=a}a.prototype.buildStacks=function(){var a=this.axis,v=a.series,c=I(a.options.reversedStacks,!0),l=v.length,e;if(!a.isXAxis){this.usePercentage=!1;for(e=l;e--;){var n=v[c?e:l-e-1];n.setStackedPoints();n.setGroupedPoints()}for(e=0;e<l;e++)v[e].modifyStacks();O(a,"afterBuildStacks")}};a.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var a=this.stacks=
-this.oldStacks;E(a,function(a){E(a,function(a){a.cumulative=a.total})})}};a.prototype.resetStacks=function(){var a=this,v=a.stacks;a.axis.isXAxis||E(v,function(c){E(c,function(l,e){l.touched<a.stacksTouched?(l.destroy(),delete c[e]):(l.total=null,l.cumulative=null)})})};a.prototype.renderStackTotals=function(){var a=this.axis,v=a.chart,c=v.renderer,l=this.stacks;a=A(v,a.options.stackLabels.animation);var e=this.stackTotalGroup=this.stackTotalGroup||c.g("stack-labels").attr({visibility:"visible",zIndex:6,
-opacity:0}).add();e.translate(v.plotLeft,v.plotTop);E(l,function(a){E(a,function(a){a.render(e)})});e.animate({opacity:1},a)};return a}();return function(){function a(){}a.compose=function(r){C(r,"init",a.onInit);C(r,"destroy",a.onDestroy)};a.onDestroy=function(){var a=this.stacking;if(a){var v=a.stacks;E(v,function(a,l){F(a);v[l]=null});a&&a.stackTotalGroup&&a.stackTotalGroup.destroy()}};a.onInit=function(){this.stacking||(this.stacking=new B(this))};return a}()});S(a,"Extensions/Stacking.js",[a["Core/Axis/Axis.js"],
-a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Series/Series.js"],a["Core/Axis/StackingAxis.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N){var E=N.correctFloat,I=N.defined,B=N.destroyObjectProperties,z=N.format,r=N.isArray,v=N.isNumber,c=N.pick;"";var l=function(){function a(a,c,e,l,w){var h=a.chart.inverted;this.axis=a;this.isNegative=e;this.options=c=c||{};this.x=l;this.total=null;this.points={};this.hasValidPoints=!1;this.stack=w;this.rightCliff=this.leftCliff=0;this.alignOptions={align:c.align||
-(h?e?"left":"right":"center"),verticalAlign:c.verticalAlign||(h?"middle":e?"bottom":"top"),y:c.y,x:c.x};this.textAlign=c.textAlign||(h?e?"right":"left":"center")}a.prototype.destroy=function(){B(this,this.axis)};a.prototype.render=function(a){var e=this.axis.chart,k=this.options,n=k.format;n=n?z(n,this,e):k.formatter.call(this);this.label?this.label.attr({text:n,visibility:"hidden"}):(this.label=e.renderer.label(n,null,null,k.shape,null,null,k.useHTML,!1,"stack-labels"),n={r:k.borderRadius||0,text:n,
-rotation:k.rotation,padding:c(k.padding,5),visibility:"hidden"},e.styledMode||(n.fill=k.backgroundColor,n.stroke=k.borderColor,n["stroke-width"]=k.borderWidth,this.label.css(k.style)),this.label.attr(n),this.label.added||this.label.add(a));this.label.labelrank=e.plotSizeY};a.prototype.setOffset=function(a,e,k,l,w){var h=this.axis,n=h.chart;l=h.translate(h.stacking.usePercentage?100:l?l:this.total,0,0,0,1);k=h.translate(k?k:0);k=I(l)&&Math.abs(l-k);a=c(w,n.xAxis[0].translate(this.x))+a;h=I(l)&&this.getStackBox(n,
-this,a,l,e,k,h);e=this.label;k=this.isNegative;a="justify"===c(this.options.overflow,"justify");var q=this.textAlign;e&&h&&(w=e.getBBox(),l=e.padding,q="left"===q?n.inverted?-l:l:"right"===q?w.width:n.inverted&&"center"===q?w.width/2:n.inverted?k?w.width+l:-l:w.width/2,k=n.inverted?w.height/2:k?-l:w.height,this.alignOptions.x=c(this.options.x,0),this.alignOptions.y=c(this.options.y,0),h.x-=q,h.y-=k,e.align(this.alignOptions,null,h),n.isInsidePlot(e.alignAttr.x+q-this.alignOptions.x,e.alignAttr.y+
-k-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,a=!1),a&&C.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,w,h),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),c(!a&&this.options.crop,!0)&&((n=v(e.x)&&v(e.y)&&n.isInsidePlot(e.x-l+e.width,e.y)&&n.isInsidePlot(e.x+l,e.y))||e.hide()))};a.prototype.getStackBox=function(a,c,e,l,w,h,r){var k=c.axis.reversed,n=a.inverted,b=r.height+r.pos-(n?a.plotLeft:a.plotTop);c=c.isNegative&&!k||!c.isNegative&&k;return{x:n?c?l-r.right:l-h+r.pos-
-a.plotLeft:e+a.xAxis[0].transB-a.plotLeft,y:n?r.height-e-w:c?b-l-h:b-l,width:n?h:w,height:n?w:h}};return a}();m.prototype.getStacks=function(){var a=this,l=a.inverted;a.yAxis.forEach(function(a){a.stacking&&a.stacking.stacks&&a.hasVisibleSeries&&(a.stacking.oldStacks=a.stacking.stacks)});a.series.forEach(function(e){var k=e.xAxis&&e.xAxis.options||{};!e.options.stacking||!0!==e.visible&&!1!==a.options.chart.ignoreHiddenSeries||(e.stackKey=[e.type,c(e.options.stack,""),l?k.top:k.left,l?k.height:k.width].join())})};
-F.compose(a);C.prototype.setGroupedPoints=function(){this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length&&C.prototype.setStackedPoints.call(this,"group")};C.prototype.setStackedPoints=function(a){var e=a||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var v=this.processedXData,k=this.processedYData,m=[],w=k.length,h=this.options,G=h.threshold,q=c(h.startFromThreshold&&G,0);
-h=h.stack;a=a?this.type+","+e:this.stackKey;var x="-"+a,b=this.negStacks,d=this.yAxis,z=d.stacking.stacks,M=d.stacking.oldStacks,K,g;d.stacking.stacksTouched+=1;for(g=0;g<w;g++){var J=v[g];var p=k[g];var f=this.getStackIndicator(f,J,this.index);var H=f.key;var u=(K=b&&p<(q?0:G))?x:a;z[u]||(z[u]={});z[u][J]||(M[u]&&M[u][J]?(z[u][J]=M[u][J],z[u][J].total=null):z[u][J]=new l(d,d.options.stackLabels,K,J,h));u=z[u][J];null!==p?(u.points[H]=u.points[this.index]=[c(u.cumulative,q)],I(u.cumulative)||(u.base=
-H),u.touched=d.stacking.stacksTouched,0<f.index&&!1===this.singleStacks&&(u.points[H][0]=u.points[this.index+","+J+",0"][0])):u.points[H]=u.points[this.index]=null;"percent"===e?(K=K?a:x,b&&z[K]&&z[K][J]?(K=z[K][J],u.total=K.total=Math.max(K.total,u.total)+Math.abs(p)||0):u.total=E(u.total+(Math.abs(p)||0))):"group"===e?(r(p)&&(p=p[0]),null!==p&&(u.total=(u.total||0)+1)):u.total=E(u.total+(p||0));u.cumulative="group"===e?(u.total||1)-1:c(u.cumulative,q)+(p||0);null!==p&&(u.points[H].push(u.cumulative),
-m[g]=u.cumulative,u.hasValidPoints=!0)}"percent"===e&&(d.stacking.usePercentage=!0);"group"!==e&&(this.stackedYData=m);d.stacking.oldStacks={}}};C.prototype.modifyStacks=function(){var a=this,c=a.stackKey,l=a.yAxis.stacking.stacks,k=a.processedXData,r,w=a.options.stacking;a[w+"Stacker"]&&[c,"-"+c].forEach(function(c){for(var e=k.length,h,n;e--;)if(h=k[e],r=a.getStackIndicator(r,h,a.index,c),n=(h=l[c]&&l[c][h])&&h.points[r.key])a[w+"Stacker"](n,h,e)})};C.prototype.percentStacker=function(a,c,l){c=
-c.total?100/c.total:0;a[0]=E(a[0]*c);a[1]=E(a[1]*c);this.stackedYData[l]=a[1]};C.prototype.getStackIndicator=function(a,c,l,k){!I(a)||a.x!==c||k&&a.key!==k?a={x:c,index:0,key:k}:a.index++;a.key=[l,c,a.index].join();return a};A.StackItem=l;return A.StackItem});S(a,"Series/Line/LineSeries.js",[a["Core/Color/Palette.js"],a["Core/Series/Series.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m,A,C){var F=this&&this.__extends||function(){var a=function(m,z){a=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(a,v){a.__proto__=v}||function(a,v){for(var c in v)v.hasOwnProperty(c)&&(a[c]=v[c])};return a(m,z)};return function(m,z){function r(){this.constructor=m}a(m,z);m.prototype=null===z?Object.create(z):(r.prototype=z.prototype,new r)}}(),O=C.defined,E=C.merge;C=function(I){function B(){var a=null!==I&&I.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}F(B,I);B.prototype.drawGraph=function(){var m=this,r=this.options,v=(this.gappedPath||
-this.getGraphPath).call(this),c=this.chart.styledMode,l=[["graph","highcharts-graph"]];c||l[0].push(r.lineColor||this.color||a.neutralColor20,r.dashStyle);l=m.getZonesGraphs(l);l.forEach(function(a,l){var e=a[0],k=m[e],n=k?"animate":"attr";k?(k.endX=m.preventGraphAnimation?null:v.xMap,k.animate({d:v})):v.length&&(m[e]=k=m.chart.renderer.path(v).addClass(a[1]).attr({zIndex:1}).add(m.group));k&&!c&&(e={stroke:a[2],"stroke-width":r.lineWidth,fill:m.fillGraph&&m.color||"none"},a[3]?e.dashstyle=a[3]:"square"!==
-r.linecap&&(e["stroke-linecap"]=e["stroke-linejoin"]="round"),k[n](e).shadow(2>l&&r.shadow));k&&(k.startX=v.xMap,k.isArea=v.isArea)})};B.prototype.getGraphPath=function(a,r,v){var c=this,l=c.options,e=l.step,n,y=[],k=[],m;a=a||c.points;(n=a.reversed)&&a.reverse();(e={right:1,center:2}[e]||e&&3)&&n&&(e=4-e);a=this.getValidPoints(a,!1,!(l.connectNulls&&!r&&!v));a.forEach(function(n,h){var w=n.plotX,q=n.plotY,x=a[h-1];(n.leftCliff||x&&x.rightCliff)&&!v&&(m=!0);n.isNull&&!O(r)&&0<h?m=!l.connectNulls:
-n.isNull&&!r?m=!0:(0===h||m?h=[["M",n.plotX,n.plotY]]:c.getPointSpline?h=[c.getPointSpline(a,n,h)]:e?(h=1===e?[["L",x.plotX,q]]:2===e?[["L",(x.plotX+w)/2,x.plotY],["L",(x.plotX+w)/2,q]]:[["L",w,x.plotY]],h.push(["L",w,q])):h=[["L",w,q]],k.push(n.x),e&&(k.push(n.x),2===e&&k.push(n.x)),y.push.apply(y,h),m=!1)});y.xMap=k;return c.graphPath=y};B.prototype.getZonesGraphs=function(a){this.zones.forEach(function(r,v){v=["zone-graph-"+v,"highcharts-graph highcharts-zone-graph-"+v+" "+(r.className||"")];this.chart.styledMode||
-v.push(r.color||this.color,r.dashStyle||this.options.dashStyle);a.push(v)},this);return a};B.defaultOptions=E(m.defaultOptions,{});return B}(m);A.registerSeriesType("line",C);"";return C});S(a,"Series/Area/AreaSeries.js",[a["Core/Color/Color.js"],a["Mixins/LegendSymbol.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m,A,C){var F=this&&this.__extends||function(){var a=function(r,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,
-c){for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e])};return a(r,c)};return function(r,c){function l(){this.constructor=r}a(r,c);r.prototype=null===c?Object.create(c):(l.prototype=c.prototype,new l)}}(),O=a.parse,E=A.seriesTypes.line;a=C.extend;var I=C.merge,B=C.objectEach,z=C.pick;C=function(a){function r(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}F(r,a);r.prototype.drawGraph=function(){this.areaPath=[];a.prototype.drawGraph.apply(this);
-var c=this,l=this.areaPath,e=this.options,n=[["area","highcharts-area",this.color,e.fillColor]];this.zones.forEach(function(a,k){n.push(["zone-area-"+k,"highcharts-area highcharts-zone-area-"+k+" "+a.className,a.color||c.color,a.fillColor||e.fillColor])});n.forEach(function(a){var k=a[0],n=c[k],w=n?"animate":"attr",h={};n?(n.endX=c.preventGraphAnimation?null:l.xMap,n.animate({d:l})):(h.zIndex=0,n=c[k]=c.chart.renderer.path(l).addClass(a[1]).add(c.group),n.isArea=!0);c.chart.styledMode||(h.fill=z(a[3],
-O(a[2]).setOpacity(z(e.fillOpacity,.75)).get()));n[w](h);n.startX=l.xMap;n.shiftUnit=e.step?2:1})};r.prototype.getGraphPath=function(a){var c=E.prototype.getGraphPath,e=this.options,n=e.stacking,r=this.yAxis,k,v=[],w=[],h=this.index,G=r.stacking.stacks[this.stackKey],q=e.threshold,x=Math.round(r.getThreshold(e.threshold));e=z(e.connectNulls,"percent"===n);var b=function(b,d,c){var e=a[b];b=n&&G[e.x].points[h];var f=e[c+"Null"]||0;c=e[c+"Cliff"]||0;e=!0;if(c||f){var g=(f?b[0]:b[1])+c;var k=b[0]+c;
-e=!!f}else!n&&a[d]&&a[d].isNull&&(g=k=q);"undefined"!==typeof g&&(w.push({plotX:m,plotY:null===g?x:r.getThreshold(g),isNull:e,isCliff:!0}),v.push({plotX:m,plotY:null===k?x:r.getThreshold(k),doCurve:!1}))};a=a||this.points;n&&(a=this.getStackPoints(a));for(k=0;k<a.length;k++){n||(a[k].leftCliff=a[k].rightCliff=a[k].leftNull=a[k].rightNull=void 0);var d=a[k].isNull;var m=z(a[k].rectPlotX,a[k].plotX);var M=n?z(a[k].yBottom,x):x;if(!d||e)e||b(k,k-1,"left"),d&&!n&&e||(w.push(a[k]),v.push({x:k,plotX:m,
-plotY:M})),e||b(k,k+1,"right")}k=c.call(this,w,!0,!0);v.reversed=!0;d=c.call(this,v,!0,!0);(M=d[0])&&"M"===M[0]&&(d[0]=["L",M[1],M[2]]);d=k.concat(d);c=c.call(this,w,!1,e);d.xMap=k.xMap;this.areaPath=d;return c};r.prototype.getStackPoints=function(a){var c=[],e=[],n=this.xAxis,r=this.yAxis,k=r.stacking.stacks[this.stackKey],v={},w=this.index,h=r.series,G=h.length,q=z(r.options.reversedStacks,!0)?1:-1,x;a=a||this.points;if(this.options.stacking){for(x=0;x<a.length;x++)a[x].leftNull=a[x].rightNull=
-void 0,v[a[x].x]=a[x];B(k,function(b,a){null!==b.total&&e.push(a)});e.sort(function(b,a){return b-a});var b=h.map(function(b){return b.visible});e.forEach(function(a,h){var d=0,l,g;if(v[a]&&!v[a].isNull)c.push(v[a]),[-1,1].forEach(function(d){var c=1===d?"rightNull":"leftNull",f=0,n=k[e[h+d]];if(n)for(x=w;0<=x&&x<G;)l=n.points[x],l||(x===w?v[a][c]=!0:b[x]&&(g=k[a].points[x])&&(f-=g[1]-g[0])),x+=q;v[a][1===d?"rightCliff":"leftCliff"]=f});else{for(x=w;0<=x&&x<G;){if(l=k[a].points[x]){d=l[1];break}x+=
-q}d=r.translate(d,0,1,0,1);c.push({isNull:!0,plotX:n.translate(a,0,0,0,1),x:a,plotY:d,yBottom:d})}})}return c};r.defaultOptions=I(E.defaultOptions,{threshold:0});return r}(E);a(C.prototype,{singleStacks:!1,drawLegendSymbol:m.drawRectangle});A.registerSeriesType("area",C);"";return C});S(a,"Series/Spline/SplineSeries.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m){var A=this&&this.__extends||function(){var a=function(m,B){a=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(a,r){a.__proto__=r}||function(a,r){for(var v in r)r.hasOwnProperty(v)&&(a[v]=r[v])};return a(m,B)};return function(m,B){function z(){this.constructor=m}a(m,B);m.prototype=null===B?Object.create(B):(z.prototype=B.prototype,new z)}}(),C=a.seriesTypes.line,F=m.merge,O=m.pick;m=function(a){function m(){var m=null!==a&&a.apply(this,arguments)||this;m.data=void 0;m.options=void 0;m.points=void 0;return m}A(m,a);m.prototype.getPointSpline=function(a,m,r){var v=m.plotX||0,c=m.plotY||0,l=a[r-
-1];r=a[r+1];if(l&&!l.isNull&&!1!==l.doCurve&&!m.isCliff&&r&&!r.isNull&&!1!==r.doCurve&&!m.isCliff){a=l.plotY||0;var e=r.plotX||0;r=r.plotY||0;var n=0;var y=(1.5*v+(l.plotX||0))/2.5;var k=(1.5*c+a)/2.5;e=(1.5*v+e)/2.5;var z=(1.5*c+r)/2.5;e!==y&&(n=(z-k)*(e-v)/(e-y)+c-z);k+=n;z+=n;k>a&&k>c?(k=Math.max(a,c),z=2*c-k):k<a&&k<c&&(k=Math.min(a,c),z=2*c-k);z>r&&z>c?(z=Math.max(r,c),k=2*c-z):z<r&&z<c&&(z=Math.min(r,c),k=2*c-z);m.rightContX=e;m.rightContY=z}m=["C",O(l.rightContX,l.plotX,0),O(l.rightContY,l.plotY,
-0),O(y,v,0),O(k,c,0),v,c];l.rightContX=l.rightContY=void 0;return m};m.defaultOptions=F(C.defaultOptions);return m}(C);a.registerSeriesType("spline",m);"";return m});S(a,"Series/AreaSpline/AreaSplineSeries.js",[a["Series/Area/AreaSeries.js"],a["Series/Spline/SplineSeries.js"],a["Mixins/LegendSymbol.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m,A,C,F){var O=this&&this.__extends||function(){var a=function(r,v){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,
-l){a.__proto__=l}||function(a,l){for(var c in l)l.hasOwnProperty(c)&&(a[c]=l[c])};return a(r,v)};return function(r,v){function c(){this.constructor=r}a(r,v);r.prototype=null===v?Object.create(v):(c.prototype=v.prototype,new c)}}(),E=a.prototype,I=F.extend,B=F.merge;F=function(z){function r(){var a=null!==z&&z.apply(this,arguments)||this;a.data=void 0;a.points=void 0;a.options=void 0;return a}O(r,z);r.defaultOptions=B(m.defaultOptions,a.defaultOptions);return r}(m);I(F.prototype,{getGraphPath:E.getGraphPath,
-getStackPoints:E.getStackPoints,drawGraph:E.drawGraph,drawLegendSymbol:A.drawRectangle});C.registerSeriesType("areaspline",F);"";return F});S(a,"Series/Column/ColumnSeries.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Mixins/LegendSymbol.js"],a["Core/Color/Palette.js"],a["Core/Series/Series.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N,E,I){var B=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var d in a)a.hasOwnProperty(d)&&(b[d]=a[d])};return a(c,b)};return function(c,b){function d(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),z=a.animObject,r=m.parse,v=A.hasTouch;a=A.noop;var c=I.clamp,l=I.css,e=I.defined,n=I.extend,y=I.fireEvent,k=I.isArray,Q=I.isNumber,w=I.merge,h=I.pick,G=I.objectEach;I=function(a){function q(){var b=null!==a&&a.apply(this,arguments)||
-this;b.borderWidth=void 0;b.data=void 0;b.group=void 0;b.options=void 0;b.points=void 0;return b}B(q,a);q.prototype.animate=function(b){var a=this,e=this.yAxis,h=a.options,k=this.chart.inverted,g={},q=k?"translateX":"translateY";if(b)g.scaleY=.001,b=c(e.toPixels(h.threshold),e.pos,e.pos+e.len),k?g.translateX=b-e.len:g.translateY=b,a.clipBox&&a.setClip(),a.group.attr(g);else{var p=a.group.attr(q);a.group.animate({scaleY:1},n(z(a.options.animation),{step:function(b,d){a.group&&(g[q]=p+d.pos*(e.pos-
-p),a.group.attr(g))}}))}};q.prototype.init=function(b,d){a.prototype.init.apply(this,arguments);var c=this;b=c.chart;b.hasRendered&&b.series.forEach(function(b){b.type===c.type&&(b.isDirty=!0)})};q.prototype.getColumnMetrics=function(){var b=this,a=b.options,c=b.xAxis,e=b.yAxis,k=c.options.reversedStacks;k=c.reversed&&!k||!c.reversed&&k;var g,q={},p=0;!1===a.grouping?p=1:b.chart.series.forEach(function(a){var d=a.yAxis,c=a.options;if(a.type===b.type&&(a.visible||!b.chart.options.chart.ignoreHiddenSeries)&&
-e.len===d.len&&e.pos===d.pos){if(c.stacking&&"group"!==c.stacking){g=a.stackKey;"undefined"===typeof q[g]&&(q[g]=p++);var f=q[g]}else!1!==c.grouping&&(f=p++);a.columnIndex=f}});var f=Math.min(Math.abs(c.transA)*(c.ordinal&&c.ordinal.slope||a.pointRange||c.closestPointRange||c.tickInterval||1),c.len),l=f*a.groupPadding,u=(f-2*l)/(p||1);a=Math.min(a.maxPointWidth||c.len,h(a.pointWidth,u*(1-2*a.pointPadding)));b.columnMetrics={width:a,offset:(u-a)/2+(l+((b.columnIndex||0)+(k?1:0))*u-f/2)*(k?-1:1),paddedWidth:u,
-columnCount:p};return b.columnMetrics};q.prototype.crispCol=function(b,a,c,e){var d=this.chart,g=this.borderWidth,h=-(g%2?.5:0);g=g%2?.5:1;d.inverted&&d.renderer.isVML&&(g+=1);this.options.crisp&&(c=Math.round(b+c)+h,b=Math.round(b)+h,c-=b);e=Math.round(a+e)+g;h=.5>=Math.abs(a)&&.5<e;a=Math.round(a)+g;e-=a;h&&e&&(--a,e+=1);return{x:b,y:a,width:c,height:e}};q.prototype.adjustForMissingColumns=function(b,a,c,e){var d=this,g=this.options.stacking;if(!c.isNull&&1<e.columnCount){var h=0,p=0;G(this.yAxis.stacking&&
-this.yAxis.stacking.stacks,function(b){if("number"===typeof c.x&&(b=b[c.x.toString()])){var a=b.points[d.index],e=b.total;g?(a&&(h=p),b.hasValidPoints&&p++):k(a)&&(h=a[1],p=e||0)}});b=(c.plotX||0)+((p-1)*e.paddedWidth+a)/2-a-h*e.paddedWidth}return b};q.prototype.translate=function(){var b=this,a=b.chart,k=b.options,q=b.dense=2>b.closestPointRange*b.xAxis.transA;q=b.borderWidth=h(k.borderWidth,q?0:1);var l=b.xAxis,g=b.yAxis,n=k.threshold,p=b.translatedThreshold=g.getThreshold(n),f=h(k.minPointLength,
-5),w=b.getColumnMetrics(),u=w.width,r=b.barW=Math.max(u,1+2*q),t=b.pointXOffset=w.offset,x=b.dataMin,v=b.dataMax;a.inverted&&(p-=.5);k.pointPadding&&(r=Math.ceil(r));N.prototype.translate.apply(b);b.points.forEach(function(d){var q=h(d.yBottom,p),H=999+Math.abs(q),J=u,m=d.plotX||0;H=c(d.plotY,-H,g.len+H);var G=m+t,y=r,K=Math.min(H,q),z=Math.max(H,q)-K;if(f&&Math.abs(z)<f){z=f;var M=!g.reversed&&!d.negative||g.reversed&&d.negative;Q(n)&&Q(v)&&d.y===n&&v<=n&&(g.min||0)<n&&(x!==v||(g.max||0)<=n)&&(M=
-!M);K=Math.abs(K-p)>f?q-f:p-(M?f:0)}e(d.options.pointWidth)&&(J=y=Math.ceil(d.options.pointWidth),G-=Math.round((J-u)/2));k.centerInCategory&&(G=b.adjustForMissingColumns(G,J,d,w));d.barX=G;d.pointWidth=J;d.tooltipPos=a.inverted?[c(g.len+g.pos-a.plotLeft-H,g.pos-a.plotLeft,g.len+g.pos-a.plotLeft),l.len+l.pos-a.plotTop-(m||0)-t-y/2,z]:[l.left-a.plotLeft+G+y/2,c(H+g.pos-a.plotTop,g.pos-a.plotTop,g.len+g.pos-a.plotTop),z];d.shapeType=b.pointClass.prototype.shapeType||"rect";d.shapeArgs=b.crispCol.apply(b,
-d.isNull?[G,p,y,0]:[G,K,y,z])})};q.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};q.prototype.pointAttribs=function(b,a){var d=this.options,c=this.pointAttrToOptions||{};var e=c.stroke||"borderColor";var g=c["stroke-width"]||"borderWidth",k=b&&b.color||this.color,p=b&&b[e]||d[e]||this.color||k,f=b&&b[g]||d[g]||this[g]||0;c=b&&b.options.dashStyle||d.dashStyle;var q=h(b&&b.opacity,d.opacity,1);if(b&&this.zones.length){var u=b.getZone();k=b.options.color||
-u&&(u.color||b.nonZonedColor)||this.color;u&&(p=u.borderColor||p,c=u.dashStyle||c,f=u.borderWidth||f)}a&&b&&(b=w(d.states[a],b.options.states&&b.options.states[a]||{}),a=b.brightness,k=b.color||"undefined"!==typeof a&&r(k).brighten(b.brightness).get()||k,p=b[e]||p,f=b[g]||f,c=b.dashStyle||c,q=h(b.opacity,q));e={fill:k,stroke:p,"stroke-width":f,opacity:q};c&&(e.dashstyle=c);return e};q.prototype.drawPoints=function(){var b=this,a=this.chart,c=b.options,e=a.renderer,h=c.animationLimit||250,g;b.points.forEach(function(d){var p=
-d.graphic,f=!!p,k=p&&a.pointCount<h?"animate":"attr";if(Q(d.plotY)&&null!==d.y){g=d.shapeArgs;p&&d.hasNewShapeType()&&(p=p.destroy());b.enabledDataSorting&&(d.startXPos=b.xAxis.reversed?-(g?g.width:0):b.xAxis.width);p||(d.graphic=p=e[d.shapeType](g).add(d.group||b.group))&&b.enabledDataSorting&&a.hasRendered&&a.pointCount<h&&(p.attr({x:d.startXPos}),f=!0,k="animate");if(p&&f)p[k](w(g));if(c.borderRadius)p[k]({r:c.borderRadius});a.styledMode||p[k](b.pointAttribs(d,d.selected&&"select")).shadow(!1!==
-d.allowShadow&&c.shadow,null,c.stacking&&!c.borderRadius);p&&(p.addClass(d.getClassName(),!0),p.attr({visibility:d.visible?"inherit":"hidden"}))}else p&&(d.graphic=p.destroy())})};q.prototype.drawTracker=function(){var b=this,a=b.chart,c=a.pointer,e=function(b){var a=c.getPointFromEvent(b);"undefined"!==typeof a&&(c.isDirectTouch=!0,a.onMouseOver(b))},h;b.points.forEach(function(b){h=k(b.dataLabels)?b.dataLabels:b.dataLabel?[b.dataLabel]:[];b.graphic&&(b.graphic.element.point=b);h.forEach(function(a){a.div?
-a.div.point=b:a.element.point=b})});b._hasTracking||(b.trackerGroups.forEach(function(d){if(b[d]){b[d].addClass("highcharts-tracker").on("mouseover",e).on("mouseout",function(b){c.onTrackerMouseOut(b)});if(v)b[d].on("touchstart",e);!a.styledMode&&b.options.cursor&&b[d].css(l).css({cursor:b.options.cursor})}}),b._hasTracking=!0);y(this,"afterDrawTracker")};q.prototype.remove=function(){var b=this,a=b.chart;a.hasRendered&&a.series.forEach(function(a){a.type===b.type&&(a.isDirty=!0)});N.prototype.remove.apply(b,
-arguments)};q.defaultOptions=w(N.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:F.neutralColor20,borderColor:F.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:F.backgroundColor});return q}(N);n(I.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:C.drawRectangle,
-getSymbol:a,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]});E.registerSeriesType("column",I);"";"";return I});S(a,"Series/Bar/BarSeries.js",[a["Series/Column/ColumnSeries.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m,A){var C=this&&this.__extends||function(){var a=function(m,B){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var v in r)r.hasOwnProperty(v)&&(a[v]=r[v])};return a(m,B)};return function(m,
-B){function z(){this.constructor=m}a(m,B);m.prototype=null===B?Object.create(B):(z.prototype=B.prototype,new z)}}(),F=A.extend,O=A.merge;A=function(m){function I(){var a=null!==m&&m.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}C(I,m);I.defaultOptions=O(a.defaultOptions,{});return I}(a);F(A.prototype,{inverted:!0});m.registerSeriesType("bar",A);"";return A});S(a,"Series/Scatter/ScatterSeries.js",[a["Series/Column/ColumnSeries.js"],a["Series/Line/LineSeries.js"],
-a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m,A,C){var F=this&&this.__extends||function(){var a=function(m,r){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var l in c)c.hasOwnProperty(l)&&(a[l]=c[l])};return a(m,r)};return function(m,r){function v(){this.constructor=m}a(m,r);m.prototype=null===r?Object.create(r):(v.prototype=r.prototype,new v)}}(),O=C.addEvent,E=C.extend,I=C.merge;C=function(a){function z(){var r=
-null!==a&&a.apply(this,arguments)||this;r.data=void 0;r.options=void 0;r.points=void 0;return r}F(z,a);z.prototype.applyJitter=function(){var a=this,m=this.options.jitter,c=this.points.length;m&&this.points.forEach(function(l,e){["x","y"].forEach(function(n,r){var k="plot"+n.toUpperCase();if(m[n]&&!l.isNull){var v=a[n+"Axis"];var w=m[n]*v.transA;if(v&&!v.isLog){var h=Math.max(0,l[k]-w);v=Math.min(v.len,l[k]+w);r=1E4*Math.sin(e+r*c);l[k]=h+(v-h)*(r-Math.floor(r));"x"===n&&(l.clientX=l.plotX)}}})})};
-z.prototype.drawGraph=function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&a.prototype.drawGraph.call(this)};z.defaultOptions=I(m.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}});return z}(m);E(C.prototype,{drawTracker:a.prototype.drawTracker,
-sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});O(C,"afterTranslate",function(){this.applyJitter()});A.registerSeriesType("scatter",C);"";return C});S(a,"Mixins/CenteredSeries.js",[a["Core/Globals.js"],a["Core/Series/Series.js"],a["Core/Utilities.js"]],function(a,m,A){var C=A.isNumber,F=A.pick,O=A.relativeLength,E=a.deg2rad;return a.CenteredSeriesMixin={getCenter:function(){var a=this.options,B=this.chart,z=2*(a.slicedOffset||
-0),r=B.plotWidth-2*z,v=B.plotHeight-2*z,c=a.center,l=Math.min(r,v),e=a.size,n=a.innerSize||0;"string"===typeof e&&(e=parseFloat(e));"string"===typeof n&&(n=parseFloat(n));a=[F(c[0],"50%"),F(c[1],"50%"),F(e&&0>e?void 0:a.size,"100%"),F(n&&0>n?void 0:a.innerSize||0,"0%")];!B.angular||this instanceof m||(a[3]=0);for(c=0;4>c;++c)e=a[c],B=2>c||2===c&&/%$/.test(e),a[c]=O(e,[r,v,l,a[2]][c])+(B?z:0);a[3]>a[2]&&(a[3]=a[2]);return a},getStartAndEndRadians:function(a,m){a=C(a)?a:0;m=C(m)&&m>a&&360>m-a?m:a+360;
-return{start:E*(a+-90),end:E*(m+-90)}}}});S(a,"Series/Pie/PiePoint.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,m,A){var C=this&&this.__extends||function(){var a=function(r,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e])};return a(r,c)};return function(r,c){function l(){this.constructor=r}a(r,c);r.prototype=null===c?Object.create(c):
-(l.prototype=c.prototype,new l)}}(),F=a.setAnimation,O=A.addEvent,E=A.defined;a=A.extend;var I=A.isNumber,B=A.pick,z=A.relativeLength;A=function(a){function r(){var c=null!==a&&a.apply(this,arguments)||this;c.labelDistance=void 0;c.options=void 0;c.series=void 0;return c}C(r,a);r.prototype.getConnectorPath=function(){var a=this.labelPosition,l=this.series.options.dataLabels,e=l.connectorShape,n=this.connectorShapes;n[e]&&(e=n[e]);return e.call(this,{x:a.final.x,y:a.final.y,alignment:a.alignment},
-a.connectorPosition,l)};r.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};r.prototype.haloPath=function(a){var c=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(c.x,c.y,c.r+a,c.r+a,{innerR:c.r-1,start:c.start,end:c.end})};r.prototype.init=function(){m.prototype.init.apply(this,arguments);var a=this;a.name=B(a.name,"Slice");var l=function(c){a.slice("select"===c.type)};O(a,"select",l);O(a,"unselect",
-l);return a};r.prototype.isValid=function(){return I(this.y)&&0<=this.y};r.prototype.setVisible=function(a,l){var c=this,n=c.series,r=n.chart,k=n.options.ignoreHiddenPoint;l=B(l,k);a!==c.visible&&(c.visible=c.options.visible=a="undefined"===typeof a?!c.visible:a,n.options.data[n.data.indexOf(c)]=c.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(e){if(c[e])c[e][a?"show":"hide"](a)}),c.legendItem&&r.legend.colorizeItem(c,a),a||"hover"!==c.state||c.setState(""),k&&(n.isDirty=
-!0),l&&r.redraw())};r.prototype.slice=function(a,l,e){var c=this.series;F(e,c.chart);B(l,!0);this.sliced=this.options.sliced=E(a)?a:!this.sliced;c.options.data[c.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return r}(m);a(A.prototype,{connectorShapes:{fixedOffset:function(a,m,c){var l=m.breakAt;m=m.touchingSliceAt;return[["M",a.x,a.y],c.softConnector?["C",a.x+("left"===a.alignment?-5:5),a.y,
-2*l.x-m.x,2*l.y-m.y,l.x,l.y]:["L",l.x,l.y],["L",m.x,m.y]]},straight:function(a,m){m=m.touchingSliceAt;return[["M",a.x,a.y],["L",m.x,m.y]]},crookedLine:function(a,m,c){m=m.touchingSliceAt;var l=this.series,e=l.center[0],n=l.chart.plotWidth,r=l.chart.plotLeft;l=a.alignment;var k=this.shapeArgs.r;c=z(c.crookDistance,1);n="left"===l?e+k+(n+r-e-k)*(1-c):r+(e-k)*c;c=["L",n,a.y];e=!0;if("left"===l?n>a.x||n<m.x:n<a.x||n>m.x)e=!1;a=[["M",a.x,a.y]];e&&a.push(c);a.push(["L",m.x,m.y]);return a}}});return A});
-S(a,"Series/Pie/PieSeries.js",[a["Mixins/CenteredSeries.js"],a["Series/Column/ColumnSeries.js"],a["Core/Globals.js"],a["Mixins/LegendSymbol.js"],a["Core/Color/Palette.js"],a["Series/Pie/PiePoint.js"],a["Core/Series/Series.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N,E,I,B,z){var r=this&&this.__extends||function(){var a=function(c,e){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,
-c){for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e])};return a(c,e)};return function(c,e){function h(){this.constructor=c}a(c,e);c.prototype=null===e?Object.create(e):(h.prototype=e.prototype,new h)}}(),v=a.getStartAndEndRadians;A=A.noop;var c=z.clamp,l=z.extend,e=z.fireEvent,n=z.merge,y=z.pick,k=z.relativeLength;z=function(a){function l(){var c=null!==a&&a.apply(this,arguments)||this;c.center=void 0;c.data=void 0;c.maxLabelDistance=void 0;c.options=void 0;c.points=void 0;return c}r(l,a);l.prototype.animate=
-function(a){var c=this,e=c.points,h=c.startAngleRad;a||e.forEach(function(b){var a=b.graphic,e=b.shapeArgs;a&&e&&(a.attr({r:y(b.startR,c.center&&c.center[3]/2),start:h,end:h}),a.animate({r:e.r,start:e.start,end:e.end},c.options.animation))})};l.prototype.drawEmpty=function(){var a=this.startAngleRad,c=this.endAngleRad,e=this.options;if(0===this.total&&this.center){var k=this.center[0];var b=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(k,b,this.center[1]/2,0,a,c).addClass("highcharts-empty-series").add(this.group));
-this.graph.attr({d:B.prototype.symbols.arc(k,b,this.center[2]/2,0,{start:a,end:c,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":e.borderWidth,fill:e.fillColor||"none",stroke:e.color||F.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())};l.prototype.drawPoints=function(){var a=this.chart.renderer;this.points.forEach(function(c){c.graphic&&c.hasNewShapeType()&&(c.graphic=c.graphic.destroy());c.graphic||(c.graphic=a[c.shapeType](c.shapeArgs).add(c.series.group),
-c.delayedRendering=!0)})};l.prototype.generatePoints=function(){a.prototype.generatePoints.call(this);this.updateTotals()};l.prototype.getX=function(a,e,k){var h=this.center,b=this.radii?this.radii[k.index]||0:h[2]/2;a=Math.asin(c((a-h[1])/(b+k.labelDistance),-1,1));return h[0]+(e?-1:1)*Math.cos(a)*(b+k.labelDistance)+(0<k.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)};l.prototype.hasData=function(){return!!this.processedXData.length};l.prototype.redrawPoints=function(){var a=this,c=a.chart,
-e=c.renderer,k,b,d,l,w=a.options.shadow;this.drawEmpty();!w||a.shadowGroup||c.styledMode||(a.shadowGroup=e.g("shadow").attr({zIndex:-1}).add(a.group));a.points.forEach(function(h){var g={};b=h.graphic;if(!h.isNull&&b){l=h.shapeArgs;k=h.getTranslate();if(!c.styledMode){var q=h.shadowGroup;w&&!q&&(q=h.shadowGroup=e.g("shadow").add(a.shadowGroup));q&&q.attr(k);d=a.pointAttribs(h,h.selected&&"select")}h.delayedRendering?(b.setRadialReference(a.center).attr(l).attr(k),c.styledMode||b.attr(d).attr({"stroke-linejoin":"round"}).shadow(w,
-q),h.delayedRendering=!1):(b.setRadialReference(a.center),c.styledMode||n(!0,g,d),n(!0,g,l,k),b.animate(g));b.attr({visibility:h.visible?"inherit":"hidden"});b.addClass(h.getClassName(),!0)}else b&&(h.graphic=b.destroy())})};l.prototype.sortByAngle=function(a,c){a.sort(function(a,e){return"undefined"!==typeof a.angle&&(e.angle-a.angle)*c})};l.prototype.translate=function(a){this.generatePoints();var c=0,h=this.options,l=h.slicedOffset,b=l+(h.borderWidth||0),d=v(h.startAngle,h.endAngle),n=this.startAngleRad=
-d.start;d=(this.endAngleRad=d.end)-n;var w=this.points,m=h.dataLabels.distance;h=h.ignoreHiddenPoint;var g,r=w.length;a||(this.center=a=this.getCenter());for(g=0;g<r;g++){var p=w[g];var f=n+c*d;!p.isValid()||h&&!p.visible||(c+=p.percentage/100);var H=n+c*d;p.shapeType="arc";p.shapeArgs={x:a[0],y:a[1],r:a[2]/2,innerR:a[3]/2,start:Math.round(1E3*f)/1E3,end:Math.round(1E3*H)/1E3};p.labelDistance=y(p.options.dataLabels&&p.options.dataLabels.distance,m);p.labelDistance=k(p.labelDistance,p.shapeArgs.r);
-this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance);H=(H+f)/2;H>1.5*Math.PI?H-=2*Math.PI:H<-Math.PI/2&&(H+=2*Math.PI);p.slicedTranslation={translateX:Math.round(Math.cos(H)*l),translateY:Math.round(Math.sin(H)*l)};var u=Math.cos(H)*a[2]/2;var z=Math.sin(H)*a[2]/2;p.tooltipPos=[a[0]+.7*u,a[1]+.7*z];p.half=H<-Math.PI/2||H>Math.PI/2?1:0;p.angle=H;f=Math.min(b,p.labelDistance/5);p.labelPosition={natural:{x:a[0]+u+Math.cos(H)*p.labelDistance,y:a[1]+z+Math.sin(H)*p.labelDistance},"final":{},
-alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:a[0]+u+Math.cos(H)*f,y:a[1]+z+Math.sin(H)*f},touchingSliceAt:{x:a[0]+u,y:a[1]+z}}}}e(this,"afterTranslate")};l.prototype.updateTotals=function(){var a,c=0,e=this.points,k=e.length,b=this.options.ignoreHiddenPoint;for(a=0;a<k;a++){var d=e[a];!d.isValid()||b&&!d.visible||(c+=d.y)}this.total=c;for(a=0;a<k;a++)d=e[a],d.percentage=0<c&&(d.visible||!b)?d.y/c*100:0,d.total=c};l.defaultOptions=n(E.defaultOptions,{center:[null,
-null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:F.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}});
-return l}(E);l(z.prototype,{axisTypes:[],directTouch:!0,drawGraph:null,drawLegendSymbol:C.drawRectangle,drawTracker:m.prototype.drawTracker,getCenter:a.getCenter,getSymbol:A,isCartesian:!1,noSharedTooltip:!0,pointAttribs:m.prototype.pointAttribs,pointClass:N,requireSorting:!1,searchPoint:A,trackerGroups:["group","dataLabelsGroup"]});I.registerSeriesType("pie",z);"";return z});S(a,"Core/Series/DataLabels.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Globals.js"],a["Core/Color/Palette.js"],
-a["Core/Series/Series.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N){var E=a.getDeferredAnimation;a=m.noop;F=F.seriesTypes;var I=N.arrayMax,B=N.clamp,z=N.defined,r=N.extend,v=N.fireEvent,c=N.format,l=N.isArray,e=N.merge,n=N.objectEach,y=N.pick,k=N.relativeLength,Q=N.splat,w=N.stableSort;"";m.distribute=function(a,c,e){function h(b,a){return b.target-a.target}var b,d=!0,k=a,q=[];var l=0;var g=k.reducedLen||c;for(b=a.length;b--;)l+=a[b].size;if(l>g){w(a,function(b,
-a){return(a.rank||0)-(b.rank||0)});for(l=b=0;l<=g;)l+=a[b].size,b++;q=a.splice(b-1,a.length)}w(a,h);for(a=a.map(function(b){return{size:b.size,targets:[b.target],align:y(b.align,.5)}});d;){for(b=a.length;b--;)d=a[b],l=(Math.min.apply(0,d.targets)+Math.max.apply(0,d.targets))/2,d.pos=B(l-d.size*d.align,0,c-d.size);b=a.length;for(d=!1;b--;)0<b&&a[b-1].pos+a[b-1].size>a[b].pos&&(a[b-1].size+=a[b].size,a[b-1].targets=a[b-1].targets.concat(a[b].targets),a[b-1].align=.5,a[b-1].pos+a[b-1].size>c&&(a[b-1].pos=
-c-a[b-1].size),a.splice(b,1),d=!0)}k.push.apply(k,q);b=0;a.some(function(a){var d=0;if(a.targets.some(function(){k[b].pos=a.pos+d;if("undefined"!==typeof e&&Math.abs(k[b].pos-k[b].target)>e)return k.slice(0,b+1).forEach(function(b){delete b.pos}),k.reducedLen=(k.reducedLen||c)-.1*c,k.reducedLen>.1*c&&m.distribute(k,c,e),!0;d+=k[b].size;b++}))return!0});w(k,h)};C.prototype.drawDataLabels=function(){function a(b,a){var d=a.filter;return d?(a=d.operator,b=b[d.property],d=d.value,">"===a&&b>d||"<"===
-a&&b<d||">="===a&&b>=d||"<="===a&&b<=d||"=="===a&&b==d||"==="===a&&b===d?!0:!1):!0}function k(b,a){var d=[],c;if(l(b)&&!l(a))d=b.map(function(b){return e(b,a)});else if(l(a)&&!l(b))d=a.map(function(a){return e(b,a)});else if(l(b)||l(a))for(c=Math.max(b.length,a.length);c--;)d[c]=e(b[c],a[c]);else d=e(b,a);return d}var q=this,w=q.chart,b=q.options,d=b.dataLabels,m=q.points,r,K=q.hasRendered||0,g=d.animation;g=d.defer?E(w,g,q):{defer:0,duration:0};var J=w.renderer;d=k(k(w.options.plotOptions&&w.options.plotOptions.series&&
-w.options.plotOptions.series.dataLabels,w.options.plotOptions&&w.options.plotOptions[q.type]&&w.options.plotOptions[q.type].dataLabels),d);v(this,"drawDataLabels");if(l(d)||d.enabled||q._hasPointLabels){var p=q.plotGroup("dataLabelsGroup","data-labels",K?"inherit":"hidden",d.zIndex||6);p.attr({opacity:+K});!K&&(K=q.dataLabelsGroup)&&(q.visible&&p.show(!0),K[b.animation?"animate":"attr"]({opacity:1},g));m.forEach(function(e){r=Q(k(d,e.dlOptions||e.options&&e.options.dataLabels));r.forEach(function(d,
-f){var g=d.enabled&&(!e.isNull||e.dataLabelOnNull)&&a(e,d),h=e.dataLabels?e.dataLabels[f]:e.dataLabel,k=e.connectors?e.connectors[f]:e.connector,u=y(d.distance,e.labelDistance),l=!h;if(g){var m=e.getLabelConfig();var r=y(d[e.formatPrefix+"Format"],d.format);m=z(r)?c(r,m,w):(d[e.formatPrefix+"Formatter"]||d.formatter).call(m,d);r=d.style;var H=d.rotation;w.styledMode||(r.color=y(d.color,r.color,q.color,A.neutralColor100),"contrast"===r.color?(e.contrastColor=J.getContrast(e.color||q.color),r.color=
-!z(u)&&d.inside||0>u||b.stacking?e.contrastColor:A.neutralColor100):delete e.contrastColor,b.cursor&&(r.cursor=b.cursor));var x={r:d.borderRadius||0,rotation:H,padding:d.padding,zIndex:1};w.styledMode||(x.fill=d.backgroundColor,x.stroke=d.borderColor,x["stroke-width"]=d.borderWidth);n(x,function(b,a){"undefined"===typeof b&&delete x[a]})}!h||g&&z(m)?g&&z(m)&&(h?x.text=m:(e.dataLabels=e.dataLabels||[],h=e.dataLabels[f]=H?J.text(m,0,-9999,d.useHTML).addClass("highcharts-data-label"):J.label(m,0,-9999,
-d.shape,null,null,d.useHTML,null,"data-label"),f||(e.dataLabel=h),h.addClass(" highcharts-data-label-color-"+e.colorIndex+" "+(d.className||"")+(d.useHTML?" highcharts-tracker":""))),h.options=d,h.attr(x),w.styledMode||h.css(r).shadow(d.shadow),h.added||h.add(p),d.textPath&&!d.useHTML&&(h.setTextPath(e.getDataLabelPath&&e.getDataLabelPath(h)||e.graphic,d.textPath),e.dataLabelPath&&!d.textPath.enabled&&(e.dataLabelPath=e.dataLabelPath.destroy())),q.alignDataLabel(e,h,d,null,l)):(e.dataLabel=e.dataLabel&&
-e.dataLabel.destroy(),e.dataLabels&&(1===e.dataLabels.length?delete e.dataLabels:delete e.dataLabels[f]),f||delete e.dataLabel,k&&(e.connector=e.connector.destroy(),e.connectors&&(1===e.connectors.length?delete e.connectors:delete e.connectors[f])))})})}v(this,"afterDrawDataLabels")};C.prototype.alignDataLabel=function(a,c,e,k,b){var d=this,h=this.chart,q=this.isCartesian&&h.inverted,l=this.enabledDataSorting,g=y(a.dlBox&&a.dlBox.centerX,a.plotX,-9999),n=y(a.plotY,-9999),p=c.getBBox(),f=e.rotation,
-w=e.align,u=h.isInsidePlot(g,Math.round(n),q),m="justify"===y(e.overflow,l?"none":"justify"),t=this.visible&&!1!==a.visible&&(a.series.forceDL||l&&!m||u||e.inside&&k&&h.isInsidePlot(g,q?k.x+1:k.y+k.height-1,q));var v=function(e){l&&d.xAxis&&!m&&d.setDataLabelStartPos(a,c,b,u,e)};if(t){var x=h.renderer.fontMetrics(h.styledMode?void 0:e.style.fontSize,c).b;k=r({x:q?this.yAxis.len-n:g,y:Math.round(q?this.xAxis.len-g:n),width:0,height:0},k);r(e,{width:p.width,height:p.height});f?(m=!1,g=h.renderer.rotCorr(x,
-f),g={x:k.x+(e.x||0)+k.width/2+g.x,y:k.y+(e.y||0)+{top:0,middle:.5,bottom:1}[e.verticalAlign]*k.height},v(g),c[b?"attr":"animate"](g).attr({align:w}),v=(f+720)%360,v=180<v&&360>v,"left"===w?g.y-=v?p.height:0:"center"===w?(g.x-=p.width/2,g.y-=p.height/2):"right"===w&&(g.x-=p.width,g.y-=v?0:p.height),c.placed=!0,c.alignAttr=g):(v(k),c.align(e,null,k),g=c.alignAttr);m&&0<=k.height?this.justifyDataLabel(c,e,g,p,k,b):y(e.crop,!0)&&(t=h.isInsidePlot(g.x,g.y)&&h.isInsidePlot(g.x+p.width,g.y+p.height));if(e.shape&&
-!f)c[b?"attr":"animate"]({anchorX:q?h.plotWidth-a.plotY:a.plotX,anchorY:q?h.plotHeight-a.plotX:a.plotY})}b&&l&&(c.placed=!1);t||l&&!m||(c.hide(!0),c.placed=!1)};C.prototype.setDataLabelStartPos=function(a,c,e,k,b){var d=this.chart,h=d.inverted,q=this.xAxis,l=q.reversed,g=h?c.height/2:c.width/2;a=(a=a.pointWidth)?a/2:0;q=h?b.x:l?-g-a:q.width-g+a;b=h?l?this.yAxis.height-g+a:-g-a:b.y;c.startXPos=q;c.startYPos=b;k?"hidden"===c.visibility&&(c.show(),c.attr({opacity:0}).animate({opacity:1})):c.attr({opacity:1}).animate({opacity:0},
-void 0,c.hide);d.hasRendered&&(e&&c.attr({x:c.startXPos,y:c.startYPos}),c.placed=!0)};C.prototype.justifyDataLabel=function(a,c,e,k,b,d){var h=this.chart,q=c.align,l=c.verticalAlign,g=a.box?0:a.padding||0,n=c.x;n=void 0===n?0:n;var p=c.y;var f=void 0===p?0:p;p=e.x+g;if(0>p){"right"===q&&0<=n?(c.align="left",c.inside=!0):n-=p;var w=!0}p=e.x+k.width-g;p>h.plotWidth&&("left"===q&&0>=n?(c.align="right",c.inside=!0):n+=h.plotWidth-p,w=!0);p=e.y+g;0>p&&("bottom"===l&&0<=f?(c.verticalAlign="top",c.inside=
-!0):f-=p,w=!0);p=e.y+k.height-g;p>h.plotHeight&&("top"===l&&0>=f?(c.verticalAlign="bottom",c.inside=!0):f+=h.plotHeight-p,w=!0);w&&(c.x=n,c.y=f,a.placed=!d,a.align(c,void 0,b));return w};F.pie&&(F.pie.prototype.dataLabelPositioners={radialDistributionY:function(a){return a.top+a.distributeBox.pos},radialDistributionX:function(a,c,e,k){return a.getX(e<c.top+2||e>c.bottom-2?k:e,c.half,c)},justify:function(a,c,e){return e[0]+(a.half?-1:1)*(c+a.labelDistance)},alignToPlotEdges:function(a,c,e,k){a=a.getBBox().width;
-return c?a+k:e-a-k},alignToConnectors:function(a,c,e,k){var b=0,d;a.forEach(function(a){d=a.dataLabel.getBBox().width;d>b&&(b=d)});return c?b+k:e-b-k}},F.pie.prototype.drawDataLabels=function(){var a=this,c=a.data,k,l=a.chart,b=a.options.dataLabels||{},d=b.connectorPadding,n,w=l.plotWidth,r=l.plotHeight,g=l.plotLeft,v=Math.round(l.chartWidth/3),p,f=a.center,H=f[2]/2,u=f[1],B,t,Q,E,F=[[],[]],D,O,N,S,U=[0,0,0,0],Z=a.dataLabelPositioners,V;a.visible&&(b.enabled||a._hasPointLabels)&&(c.forEach(function(b){b.dataLabel&&
-b.visible&&b.dataLabel.shortened&&(b.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),b.dataLabel.shortened=!1)}),C.prototype.drawDataLabels.apply(a),c.forEach(function(a){a.dataLabel&&(a.visible?(F[a.half].push(a),a.dataLabel._pos=null,!z(b.style.width)&&!z(a.options.dataLabels&&a.options.dataLabels.style&&a.options.dataLabels.style.width)&&a.dataLabel.getBBox().width>v&&(a.dataLabel.css({width:Math.round(.7*v)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),
-a.dataLabels&&1===a.dataLabels.length&&delete a.dataLabels))}),F.forEach(function(c,e){var p=c.length,h=[],q;if(p){a.sortByAngle(c,e-.5);if(0<a.maxLabelDistance){var n=Math.max(0,u-H-a.maxLabelDistance);var v=Math.min(u+H+a.maxLabelDistance,l.plotHeight);c.forEach(function(b){0<b.labelDistance&&b.dataLabel&&(b.top=Math.max(0,u-H-b.labelDistance),b.bottom=Math.min(u+H+b.labelDistance,l.plotHeight),q=b.dataLabel.getBBox().height||21,b.distributeBox={target:b.labelPosition.natural.y-b.top+q/2,size:q,
-rank:b.y},h.push(b.distributeBox))});n=v+q-n;m.distribute(h,n,n/5)}for(S=0;S<p;S++){k=c[S];Q=k.labelPosition;B=k.dataLabel;N=!1===k.visible?"hidden":"inherit";O=n=Q.natural.y;h&&z(k.distributeBox)&&("undefined"===typeof k.distributeBox.pos?N="hidden":(E=k.distributeBox.size,O=Z.radialDistributionY(k)));delete k.positionIndex;if(b.justify)D=Z.justify(k,H,f);else switch(b.alignTo){case "connectors":D=Z.alignToConnectors(c,e,w,g);break;case "plotEdges":D=Z.alignToPlotEdges(B,e,w,g);break;default:D=Z.radialDistributionX(a,
-k,O,n)}B._attr={visibility:N,align:Q.alignment};V=k.options.dataLabels||{};B._pos={x:D+y(V.x,b.x)+({left:d,right:-d}[Q.alignment]||0),y:O+y(V.y,b.y)-10};Q.final.x=D;Q.final.y=O;y(b.crop,!0)&&(t=B.getBBox().width,n=null,D-t<d&&1===e?(n=Math.round(t-D+d),U[3]=Math.max(n,U[3])):D+t>w-d&&0===e&&(n=Math.round(D+t-w+d),U[1]=Math.max(n,U[1])),0>O-E/2?U[0]=Math.max(Math.round(-O+E/2),U[0]):O+E/2>r&&(U[2]=Math.max(Math.round(O+E/2-r),U[2])),B.sideOverflow=n)}}}),0===I(U)||this.verifyDataLabelOverflow(U))&&
-(this.placeDataLabels(),this.points.forEach(function(d){V=e(b,d.options.dataLabels);if(n=y(V.connectorWidth,1)){var c;p=d.connector;if((B=d.dataLabel)&&B._pos&&d.visible&&0<d.labelDistance){N=B._attr.visibility;if(c=!p)d.connector=p=l.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+d.colorIndex+(d.className?" "+d.className:"")).add(a.dataLabelsGroup),l.styledMode||p.attr({"stroke-width":n,stroke:V.connectorColor||d.color||A.neutralColor60});p[c?"attr":"animate"]({d:d.getConnectorPath()});
-p.attr("visibility",N)}else p&&(d.connector=p.destroy())}}))},F.pie.prototype.placeDataLabels=function(){this.points.forEach(function(a){var c=a.dataLabel,e;c&&a.visible&&((e=c._pos)?(c.sideOverflow&&(c._attr.width=Math.max(c.getBBox().width-c.sideOverflow,0),c.css({width:c._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),c.shortened=!0),c.attr(c._attr),c[c.moved?"animate":"attr"](e),c.moved=!0):c&&c.attr({y:-9999}));delete a.distributeBox},this)},F.pie.prototype.alignDataLabel=
-a,F.pie.prototype.verifyDataLabelOverflow=function(a){var c=this.center,e=this.options,h=e.center,b=e.minSize||80,d=null!==e.size;if(!d){if(null!==h[0])var l=Math.max(c[2]-Math.max(a[1],a[3]),b);else l=Math.max(c[2]-a[1]-a[3],b),c[0]+=(a[3]-a[1])/2;null!==h[1]?l=B(l,b,c[2]-Math.max(a[0],a[2])):(l=B(l,b,c[2]-a[0]-a[2]),c[1]+=(a[0]-a[2])/2);l<c[2]?(c[2]=l,c[3]=Math.min(k(e.innerSize||0,l),l),this.translate(c),this.drawDataLabels&&this.drawDataLabels()):d=!0}return d});F.column&&(F.column.prototype.alignDataLabel=
-function(a,c,k,l,b){var d=this.chart.inverted,h=a.series,q=a.dlBox||a.shapeArgs,n=y(a.below,a.plotY>y(this.translatedThreshold,h.yAxis.len)),g=y(k.inside,!!this.options.stacking);q&&(l=e(q),0>l.y&&(l.height+=l.y,l.y=0),q=l.y+l.height-h.yAxis.len,0<q&&q<l.height&&(l.height-=q),d&&(l={x:h.yAxis.len-l.y-l.height,y:h.xAxis.len-l.x-l.width,width:l.height,height:l.width}),g||(d?(l.x+=n?0:l.width,l.width=0):(l.y+=n?l.height:0,l.height=0)));k.align=y(k.align,!d||g?"center":n?"right":"left");k.verticalAlign=
-y(k.verticalAlign,d||g?"middle":n?"top":"bottom");C.prototype.alignDataLabel.call(this,a,c,k,l,b);k.inside&&a.contrastColor&&c.css({color:a.contrastColor})})});S(a,"Extensions/OverlappingDataLabels.js",[a["Core/Chart/Chart.js"],a["Core/Utilities.js"]],function(a,m){var A=m.addEvent,C=m.fireEvent,F=m.isArray,O=m.isNumber,E=m.objectEach,I=m.pick;A(a,"render",function(){var a=[];(this.labelCollectors||[]).forEach(function(m){a=a.concat(m())});(this.yAxis||[]).forEach(function(m){m.stacking&&m.options.stackLabels&&
-!m.options.stackLabels.allowOverlap&&E(m.stacking.stacks,function(m){E(m,function(m){a.push(m.label)})})});(this.series||[]).forEach(function(m){var r=m.options.dataLabels;m.visible&&(!1!==r.enabled||m._hasPointLabels)&&(r=function(m){return m.forEach(function(c){c.visible&&(F(c.dataLabels)?c.dataLabels:c.dataLabel?[c.dataLabel]:[]).forEach(function(l){var e=l.options;l.labelrank=I(e.labelrank,c.labelrank,c.shapeArgs&&c.shapeArgs.height);e.allowOverlap||a.push(l)})})},r(m.nodes||[]),r(m.points))});
-this.hideOverlappingLabels(a)});a.prototype.hideOverlappingLabels=function(a){var m=this,r=a.length,v=m.renderer,c,l,e,n=!1;var y=function(a){var c,e=a.box?0:a.padding||0,k=c=0,l;if(a&&(!a.alignAttr||a.placed)){var b=a.alignAttr||{x:a.attr("x"),y:a.attr("y")};var d=a.parentGroup;a.width||(c=a.getBBox(),a.width=c.width,a.height=c.height,c=v.fontMetrics(null,a.element).h);var n=a.width-2*e;(l={left:"0",center:"0.5",right:"1"}[a.alignValue])?k=+l*n:O(a.x)&&Math.round(a.x)!==a.translateX&&(k=a.x-a.translateX);
-return{x:b.x+(d.translateX||0)+e-(k||0),y:b.y+(d.translateY||0)+e-c,width:a.width-2*e,height:a.height-2*e}}};for(l=0;l<r;l++)if(c=a[l])c.oldOpacity=c.opacity,c.newOpacity=1,c.absoluteBox=y(c);a.sort(function(a,c){return(c.labelrank||0)-(a.labelrank||0)});for(l=0;l<r;l++){var k=(y=a[l])&&y.absoluteBox;for(c=l+1;c<r;++c){var B=(e=a[c])&&e.absoluteBox;!k||!B||y===e||0===y.newOpacity||0===e.newOpacity||B.x>=k.x+k.width||B.x+B.width<=k.x||B.y>=k.y+k.height||B.y+B.height<=k.y||((y.labelrank<e.labelrank?
-y:e).newOpacity=0)}}a.forEach(function(a){if(a){var c=a.newOpacity;a.oldOpacity!==c&&(a.alignAttr&&a.placed?(a[c?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,a.alignAttr.opacity=c,a[a.isOld?"animate":"attr"](a.alignAttr,null,function(){m.styledMode||a.css({pointerEvents:c?"auto":"none"});a.visibility=c?"inherit":"hidden"}),C(m,"afterHideOverlappingLabel")):a.attr({opacity:c}));a.isOld=!0}});n&&C(m,"afterHideAllOverlappingLabels")}});S(a,"Core/Responsive.js",[a["Core/Chart/Chart.js"],
-a["Core/Utilities.js"]],function(a,m){var A=m.find,C=m.isArray,F=m.isObject,O=m.merge,E=m.objectEach,I=m.pick,B=m.splat,z=m.uniqueKey;a.prototype.setResponsive=function(a,m){var c=this.options.responsive,l=[],e=this.currentResponsive;!m&&c&&c.rules&&c.rules.forEach(function(a){"undefined"===typeof a._id&&(a._id=z());this.matchResponsiveRule(a,l)},this);m=O.apply(0,l.map(function(a){return A(c.rules,function(c){return c._id===a}).chartOptions}));m.isResponsiveOptions=!0;l=l.toString()||void 0;l!==
-(e&&e.ruleIds)&&(e&&this.update(e.undoOptions,a,!0),l?(e=this.currentOptions(m),e.isResponsiveOptions=!0,this.currentResponsive={ruleIds:l,mergedOptions:m,undoOptions:e},this.update(m,a,!0)):this.currentResponsive=void 0)};a.prototype.matchResponsiveRule=function(a,m){var c=a.condition;(c.callback||function(){return this.chartWidth<=I(c.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=I(c.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=I(c.minWidth,0)&&this.chartHeight>=I(c.minHeight,0)}).call(this)&&
-m.push(a._id)};a.prototype.currentOptions=function(a){function m(a,l,r,k){var e;E(a,function(a,h){if(!k&&-1<c.collectionsWithUpdate.indexOf(h)&&l[h])for(a=B(a),r[h]=[],e=0;e<Math.max(a.length,l[h].length);e++)l[h][e]&&(void 0===a[e]?r[h][e]=l[h][e]:(r[h][e]={},m(a[e],l[h][e],r[h][e],k+1)));else F(a)?(r[h]=C(a)?[]:{},m(a,l[h]||{},r[h],k+1)):r[h]="undefined"===typeof l[h]?null:l[h]})}var c=this,l={};m(a,this.options,l,0);return l}});S(a,"masters/highcharts.src.js",[a["Core/Globals.js"],a["Core/Utilities.js"],
-a["Core/Renderer/HTML/AST.js"],a["Core/Series/Series.js"]],function(a,m,A,C){a.addEvent=m.addEvent;a.arrayMax=m.arrayMax;a.arrayMin=m.arrayMin;a.attr=m.attr;a.clearTimeout=m.clearTimeout;a.correctFloat=m.correctFloat;a.createElement=m.createElement;a.css=m.css;a.defined=m.defined;a.destroyObjectProperties=m.destroyObjectProperties;a.discardElement=m.discardElement;a.erase=m.erase;a.error=m.error;a.extend=m.extend;a.extendClass=m.extendClass;a.find=m.find;a.fireEvent=m.fireEvent;a.format=m.format;
-a.getMagnitude=m.getMagnitude;a.getStyle=m.getStyle;a.inArray=m.inArray;a.isArray=m.isArray;a.isClass=m.isClass;a.isDOMElement=m.isDOMElement;a.isFunction=m.isFunction;a.isNumber=m.isNumber;a.isObject=m.isObject;a.isString=m.isString;a.keys=m.keys;a.merge=m.merge;a.normalizeTickInterval=m.normalizeTickInterval;a.numberFormat=m.numberFormat;a.objectEach=m.objectEach;a.offset=m.offset;a.pad=m.pad;a.pick=m.pick;a.pInt=m.pInt;a.relativeLength=m.relativeLength;a.removeEvent=m.removeEvent;a.splat=m.splat;
-a.stableSort=m.stableSort;a.syncTimeout=m.syncTimeout;a.timeUnits=m.timeUnits;a.uniqueKey=m.uniqueKey;a.useSerialIds=m.useSerialIds;a.wrap=m.wrap;a.AST=A;a.Series=C;return a});S(a,"Core/Axis/NavigatorAxis.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,m){var A=a.isTouchDevice,C=m.addEvent,F=m.correctFloat,N=m.defined,E=m.isNumber,I=m.pick,B=function(){function a(a){this.axis=a}a.prototype.destroy=function(){this.axis=void 0};a.prototype.toFixedRange=function(a,m,c,l){var e=this.axis,
-n=e.chart;n=n&&n.fixedRange;var r=(e.pointRange||0)/2;a=I(c,e.translate(a,!0,!e.horiz));m=I(l,e.translate(m,!0,!e.horiz));e=n&&(m-a)/n;N(c)||(a=F(a+r));N(l)||(m=F(m-r));.7<e&&1.3>e&&(l?a=m-n:m=a+n);E(a)&&E(m)||(a=m=void 0);return{min:a,max:m}};return a}();return function(){function a(){}a.compose=function(a){a.keepProps.push("navigatorAxis");C(a,"init",function(){this.navigatorAxis||(this.navigatorAxis=new B(this))});C(a,"zoom",function(a){var c=this.chart.options,l=c.navigator,e=this.navigatorAxis,
-n=c.chart.pinchType,m=c.rangeSelector;c=c.chart.zoomType;this.isXAxis&&(l&&l.enabled||m&&m.enabled)&&("y"===c?a.zoomed=!1:(!A&&"xy"===c||A&&"xy"===n)&&this.options.range&&(l=e.previousZoom,N(a.newMin)?e.previousZoom=[this.min,this.max]:l&&(a.newMin=l[0],a.newMax=l[1],e.previousZoom=void 0)));"undefined"!==typeof a.zoomed&&a.preventDefault()})};a.AdditionsClass=B;return a}()});S(a,"Core/Axis/ScrollbarAxis.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,m){var A=m.addEvent,C=m.defined,
-F=m.pick;return function(){function m(){}m.compose=function(m,I){var B=function(a){var m=F(a.options&&a.options.min,a.min),v=F(a.options&&a.options.max,a.max);return{axisMin:m,axisMax:v,scrollMin:C(a.dataMin)?Math.min(m,a.min,a.dataMin,F(a.threshold,Infinity)):m,scrollMax:C(a.dataMax)?Math.max(v,a.max,a.dataMax,F(a.threshold,-Infinity)):v}};A(m,"afterInit",function(){var m=this;m.options&&m.options.scrollbar&&m.options.scrollbar.enabled&&(m.options.scrollbar.vertical=!m.horiz,m.options.startOnTick=
-m.options.endOnTick=!1,m.scrollbar=new I(m.chart.renderer,m.options.scrollbar,m.chart),A(m.scrollbar,"changed",function(r){var v=B(m),c=v.axisMax,l=v.scrollMin,e=v.scrollMax-l;C(v.axisMin)&&C(c)&&(m.horiz&&!m.reversed||!m.horiz&&m.reversed?(v=l+e*this.to,l+=e*this.from):(v=l+e*(1-this.from),l+=e*(1-this.to)),F(this.options.liveRedraw,a.svg&&!a.isTouchDevice&&!this.chart.isBoosting)||"mouseup"===r.DOMType||"touchend"===r.DOMType||!C(r.DOMType)?m.setExtremes(l,v,!0,"mousemove"!==r.DOMType&&"touchmove"!==
-r.DOMType,r):this.setRange(this.from,this.to))}))});A(m,"afterRender",function(){var a=B(this),m=a.scrollMin,v=a.scrollMax;a=this.scrollbar;var c=this.axisTitleMargin+(this.titleOffset||0),l=this.chart.scrollbarsOffsets,e=this.options.margin||0;a&&(this.horiz?(this.opposite||(l[1]+=c),a.position(this.left,this.top+this.height+2+l[1]-(this.opposite?e:0),this.width,this.height),this.opposite||(l[1]+=e),c=1):(this.opposite&&(l[0]+=c),a.position(this.left+this.width+2+l[0]-(this.opposite?0:e),this.top,
-this.width,this.height),this.opposite&&(l[0]+=e),c=0),l[c]+=a.size+a.options.margin,isNaN(m)||isNaN(v)||!C(this.min)||!C(this.max)||this.min===this.max?a.setRange(0,1):(l=(this.min-m)/(v-m),m=(this.max-m)/(v-m),this.horiz&&!this.reversed||!this.horiz&&this.reversed?a.setRange(l,m):a.setRange(1-m,1-l)))});A(m,"afterGetOffset",function(){var a=this.horiz?2:1,m=this.scrollbar;m&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[a]+=m.size+m.options.margin)})};return m}()});S(a,"Core/Scrollbar.js",
-[a["Core/Axis/Axis.js"],a["Core/Globals.js"],a["Core/Color/Palette.js"],a["Core/Axis/ScrollbarAxis.js"],a["Core/Utilities.js"],a["Core/Options.js"]],function(a,m,A,C,F,N){var E=F.addEvent,I=F.correctFloat,B=F.defined,z=F.destroyObjectProperties,r=F.fireEvent,v=F.merge,c=F.pick,l=F.removeEvent;F=N.defaultOptions;var e=m.isTouchDevice,n=m.swapXY=function(a,c){c&&a.forEach(function(a){for(var c=a.length,e,k=0;k<c;k+=2)e=a[k+1],"number"===typeof e&&(a[k+1]=a[k+2],a[k+2]=e)});return a};N=function(){function a(a,
-c,e){this._events=[];this.from=this.chartY=this.chartX=0;this.scrollbar=this.group=void 0;this.scrollbarButtons=[];this.scrollbarGroup=void 0;this.scrollbarLeft=0;this.scrollbarRifles=void 0;this.scrollbarStrokeWidth=1;this.to=this.size=this.scrollbarTop=0;this.track=void 0;this.trackBorderWidth=1;this.userOptions={};this.y=this.x=0;this.chart=e;this.options=c;this.renderer=e.renderer;this.init(a,c,e)}a.prototype.addEvents=function(){var a=this.options.inverted?[1,0]:[0,1],c=this.scrollbarButtons,
-e=this.scrollbarGroup.element,h=this.track.element,l=this.mouseDownHandler.bind(this),q=this.mouseMoveHandler.bind(this),n=this.mouseUpHandler.bind(this);a=[[c[a[0]].element,"click",this.buttonToMinClick.bind(this)],[c[a[1]].element,"click",this.buttonToMaxClick.bind(this)],[h,"click",this.trackClick.bind(this)],[e,"mousedown",l],[e.ownerDocument,"mousemove",q],[e.ownerDocument,"mouseup",n]];m.hasTouch&&a.push([e,"touchstart",l],[e.ownerDocument,"touchmove",q],[e.ownerDocument,"touchend",n]);a.forEach(function(a){E.apply(null,
-a)});this._events=a};a.prototype.buttonToMaxClick=function(a){var e=(this.to-this.from)*c(this.options.step,.2);this.updatePosition(this.from+e,this.to+e);r(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:a})};a.prototype.buttonToMinClick=function(a){var e=I(this.to-this.from)*c(this.options.step,.2);this.updatePosition(I(this.from-e),I(this.to-e));r(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:a})};a.prototype.cursorToScrollbarPosition=function(a){var c=
-this.options;c=c.minWidth>this.calculatedWidth?c.minWidth:0;return{chartX:(a.chartX-this.x-this.xOffset)/(this.barWidth-c),chartY:(a.chartY-this.y-this.yOffset)/(this.barWidth-c)}};a.prototype.destroy=function(){var a=this.chart.scroller;this.removeEvents();["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(a){this[a]&&this[a].destroy&&(this[a]=this[a].destroy())},this);a&&this===a.scrollbar&&(a.scrollbar=null,z(a.scrollbarButtons))};a.prototype.drawScrollbarButton=
-function(a){var c=this.renderer,e=this.scrollbarButtons,k=this.options,l=this.size;var q=c.g().add(this.group);e.push(q);q=c.rect().addClass("highcharts-scrollbar-button").add(q);this.chart.styledMode||q.attr({stroke:k.buttonBorderColor,"stroke-width":k.buttonBorderWidth,fill:k.buttonBackgroundColor});q.attr(q.crisp({x:-.5,y:-.5,width:l+1,height:l+1,r:k.buttonBorderRadius},q.strokeWidth()));q=c.path(n([["M",l/2+(a?-1:1),l/2-3],["L",l/2+(a?-1:1),l/2+3],["L",l/2+(a?2:-2),l/2]],k.vertical)).addClass("highcharts-scrollbar-arrow").add(e[a]);
-this.chart.styledMode||q.attr({fill:k.buttonArrowColor})};a.prototype.init=function(e,l,n){this.scrollbarButtons=[];this.renderer=e;this.userOptions=l;this.options=v(a.defaultOptions,l);this.chart=n;this.size=c(this.options.size,this.options.height);l.enabled&&(this.render(),this.addEvents())};a.prototype.mouseDownHandler=function(a){a=this.chart.pointer.normalize(a);a=this.cursorToScrollbarPosition(a);this.chartX=a.chartX;this.chartY=a.chartY;this.initPositions=[this.from,this.to];this.grabbedCenter=
-!0};a.prototype.mouseMoveHandler=function(a){var c=this.chart.pointer.normalize(a),e=this.options.vertical?"chartY":"chartX",k=this.initPositions||[];!this.grabbedCenter||a.touches&&0===a.touches[0][e]||(c=this.cursorToScrollbarPosition(c)[e],e=this[e],e=c-e,this.hasDragged=!0,this.updatePosition(k[0]+e,k[1]+e),this.hasDragged&&r(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:a.type,DOMEvent:a}))};a.prototype.mouseUpHandler=function(a){this.hasDragged&&r(this,"changed",{from:this.from,
-to:this.to,trigger:"scrollbar",DOMType:a.type,DOMEvent:a});this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null};a.prototype.position=function(a,c,e,h){var k=this.options.vertical,l=0,n=this.rendered?"animate":"attr";this.x=a;this.y=c+this.trackBorderWidth;this.width=e;this.xOffset=this.height=h;this.yOffset=l;k?(this.width=this.yOffset=e=l=this.size,this.xOffset=c=0,this.barWidth=h-2*e,this.x=a+=this.options.margin):(this.height=this.xOffset=h=c=this.size,this.barWidth=e-2*h,this.y+=this.options.margin);
-this.group[n]({translateX:a,translateY:this.y});this.track[n]({width:e,height:h});this.scrollbarButtons[1][n]({translateX:k?0:e-c,translateY:k?h-l:0})};a.prototype.removeEvents=function(){this._events.forEach(function(a){l.apply(null,a)});this._events.length=0};a.prototype.render=function(){var a=this.renderer,c=this.options,e=this.size,h=this.chart.styledMode,l;this.group=l=a.g("scrollbar").attr({zIndex:c.zIndex,translateY:-99999}).add();this.track=a.rect().addClass("highcharts-scrollbar-track").attr({x:0,
-r:c.trackBorderRadius||0,height:e,width:e}).add(l);h||this.track.attr({fill:c.trackBackgroundColor,stroke:c.trackBorderColor,"stroke-width":c.trackBorderWidth});this.trackBorderWidth=this.track.strokeWidth();this.track.attr({y:-this.trackBorderWidth%2/2});this.scrollbarGroup=a.g().add(l);this.scrollbar=a.rect().addClass("highcharts-scrollbar-thumb").attr({height:e,width:e,r:c.barBorderRadius||0}).add(this.scrollbarGroup);this.scrollbarRifles=a.path(n([["M",-3,e/4],["L",-3,2*e/3],["M",0,e/4],["L",
-0,2*e/3],["M",3,e/4],["L",3,2*e/3]],c.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup);h||(this.scrollbar.attr({fill:c.barBackgroundColor,stroke:c.barBorderColor,"stroke-width":c.barBorderWidth}),this.scrollbarRifles.attr({stroke:c.rifleColor,"stroke-width":1}));this.scrollbarStrokeWidth=this.scrollbar.strokeWidth();this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2);this.drawScrollbarButton(0);this.drawScrollbarButton(1)};a.prototype.setRange=
-function(a,c){var e=this.options,k=e.vertical,l=e.minWidth,q=this.barWidth,n,b=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(B(q)){a=Math.max(a,0);var d=Math.ceil(q*a);this.calculatedWidth=n=I(q*Math.min(c,1)-d);n<l&&(d=(q-l+n)*a,n=l);l=Math.floor(d+this.xOffset+this.yOffset);q=n/2-.5;this.from=a;this.to=c;k?(this.scrollbarGroup[b]({translateY:l}),this.scrollbar[b]({height:n}),this.scrollbarRifles[b]({translateY:q}),this.scrollbarTop=l,
-this.scrollbarLeft=0):(this.scrollbarGroup[b]({translateX:l}),this.scrollbar[b]({width:n}),this.scrollbarRifles[b]({translateX:q}),this.scrollbarLeft=l,this.scrollbarTop=0);12>=n?this.scrollbarRifles.hide():this.scrollbarRifles.show(!0);!1===e.showFull&&(0>=a&&1<=c?this.group.hide():this.group.show());this.rendered=!0}};a.prototype.trackClick=function(a){var c=this.chart.pointer.normalize(a),e=this.to-this.from,k=this.y+this.scrollbarTop,l=this.x+this.scrollbarLeft;this.options.vertical&&c.chartY>
-k||!this.options.vertical&&c.chartX>l?this.updatePosition(this.from+e,this.to+e):this.updatePosition(this.from-e,this.to-e);r(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:a})};a.prototype.update=function(a){this.destroy();this.init(this.chart.renderer,v(!0,this.options,a),this.chart)};a.prototype.updatePosition=function(a,c){1<c&&(a=I(1-I(c-a)),c=1);0>a&&(c=I(c-a),a=0);this.from=a;this.to=c};a.defaultOptions={height:e?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,
-margin:10,minWidth:6,step:.2,zIndex:3,barBackgroundColor:A.neutralColor20,barBorderWidth:1,barBorderColor:A.neutralColor20,buttonArrowColor:A.neutralColor80,buttonBackgroundColor:A.neutralColor10,buttonBorderColor:A.neutralColor20,buttonBorderWidth:1,rifleColor:A.neutralColor80,trackBackgroundColor:A.neutralColor5,trackBorderColor:A.neutralColor5,trackBorderWidth:1};return a}();m.Scrollbar||(F.scrollbar=v(!0,N.defaultOptions,F.scrollbar),m.Scrollbar=N,C.compose(a,N));return m.Scrollbar});S(a,"Core/Navigator.js",
-[a["Core/Axis/Axis.js"],a["Core/Chart/Chart.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Axis/NavigatorAxis.js"],a["Core/Options.js"],a["Core/Color/Palette.js"],a["Core/Scrollbar.js"],a["Core/Series/Series.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N,E,I,B,z,r){A=A.parse;var v=C.hasTouch,c=C.isTouchDevice,l=N.defaultOptions,e=r.addEvent,n=r.clamp,y=r.correctFloat,k=r.defined,Q=r.destroyObjectProperties,w=r.erase,h=r.extend,G=r.find,q=r.isArray,
-x=r.isNumber,b=r.merge,d=r.pick,L=r.removeEvent,M=r.splat,K=function(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];b=[].filter.call(b,x);if(b.length)return Math[a].apply(0,b)};N="undefined"===typeof z.seriesTypes.areaspline?"line":"areaspline";h(l,{navigator:{height:40,margin:25,maskInside:!0,handles:{width:7,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:E.neutralColor5,borderColor:E.neutralColor40},maskFill:A(E.highlightColor60).setOpacity(.3).get(),
-outlineColor:E.neutralColor20,outlineWidth:1,series:{type:N,fillOpacity:.05,lineWidth:1,compare:null,dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,smoothed:!0,units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,
-marker:{enabled:!1},threshold:null},xAxis:{overscroll:0,className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:E.neutralColor10,gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:E.neutralColor40},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}});C.Renderer.prototype.symbols["navigator-handle"]=
-function(a,b,c,d,e){a=(e&&e.width||0)/2;b=Math.round(a/3)+.5;e=e&&e.height||0;return[["M",-a-1,.5],["L",a,.5],["L",a,e+.5],["L",-a-1,e+.5],["L",-a-1,.5],["M",-b,4],["L",-b,e-3],["M",b-1,4],["L",b-1,e-3]]};var g=function(){function g(a){this.zoomedMin=this.zoomedMax=this.yAxis=this.xAxis=this.top=this.size=this.shades=this.rendered=this.range=this.outlineHeight=this.outline=this.opposite=this.navigatorSize=this.navigatorSeries=this.navigatorOptions=this.navigatorGroup=this.navigatorEnabled=this.left=
-this.height=this.handles=this.chart=this.baseSeries=void 0;this.init(a)}g.prototype.drawHandle=function(a,b,c,d){var e=this.navigatorOptions.handles.height;this.handles[b][d](c?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(a,10)+.5-e)}:{translateX:Math.round(this.left+parseInt(a,10)),translateY:Math.round(this.top+this.height/2-e/2-1)})};g.prototype.drawOutline=function(a,b,c,d){var e=this.navigatorOptions.maskInside,f=this.outline.strokeWidth(),g=f/2,p=f%
-2/2;f=this.outlineHeight;var k=this.scrollbarHeight||0,h=this.size,l=this.left-k,n=this.top;c?(l-=g,c=n+b+p,b=n+a+p,p=[["M",l+f,n-k-p],["L",l+f,c],["L",l,c],["L",l,b],["L",l+f,b],["L",l+f,n+h+k]],e&&p.push(["M",l+f,c-g],["L",l+f,b+g])):(a+=l+k-p,b+=l+k-p,n+=g,p=[["M",l,n],["L",a,n],["L",a,n+f],["L",b,n+f],["L",b,n],["L",l+h+2*k,n]],e&&p.push(["M",a-g,n],["L",b+g,n]));this.outline[d]({d:p})};g.prototype.drawMasks=function(a,b,c,d){var e=this.left,f=this.top,g=this.height;if(c){var p=[e,e,e];var k=
-[f,f+a,f+b];var h=[g,g,g];var l=[a,b-a,this.size-b]}else p=[e,e+a,e+b],k=[f,f,f],h=[a,b-a,this.size-b],l=[g,g,g];this.shades.forEach(function(a,b){a[d]({x:p[b],y:k[b],width:h[b],height:l[b]})})};g.prototype.renderElements=function(){var a=this,b=a.navigatorOptions,c=b.maskInside,d=a.chart,e=d.renderer,g,k={cursor:d.inverted?"ns-resize":"ew-resize"};a.navigatorGroup=g=e.g("navigator").attr({zIndex:8,visibility:"hidden"}).add();[!c,c,!c].forEach(function(c,f){a.shades[f]=e.rect().addClass("highcharts-navigator-mask"+
-(1===f?"-inside":"-outside")).add(g);d.styledMode||a.shades[f].attr({fill:c?b.maskFill:"rgba(0,0,0,0)"}).css(1===f&&k)});a.outline=e.path().addClass("highcharts-navigator-outline").add(g);d.styledMode||a.outline.attr({"stroke-width":b.outlineWidth,stroke:b.outlineColor});b.handles.enabled&&[0,1].forEach(function(c){b.handles.inverted=d.inverted;a.handles[c]=e.symbol(b.handles.symbols[c],-b.handles.width/2-1,0,b.handles.width,b.handles.height,b.handles);a.handles[c].attr({zIndex:7-c}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+
-["left","right"][c]).add(g);if(!d.styledMode){var f=b.handles;a.handles[c].attr({fill:f.backgroundColor,stroke:f.borderColor,"stroke-width":f.lineWidth}).css(k)}})};g.prototype.update=function(a){(this.series||[]).forEach(function(a){a.baseSeries&&delete a.baseSeries.navigatorSeries});this.destroy();b(!0,this.chart.options.navigator,this.options,a);this.init(this.chart)};g.prototype.render=function(a,b,c,e){var f=this.chart,g=this.scrollbarHeight,p,h=this.xAxis,l=h.pointRange||0;var q=h.navigatorAxis.fake?
-f.xAxis[0]:h;var u=this.navigatorEnabled,m,r=this.rendered;var w=f.inverted;var H=f.xAxis[0].minRange,v=f.xAxis[0].options.maxRange;if(!this.hasDragged||k(c)){a=y(a-l/2);b=y(b+l/2);if(!x(a)||!x(b))if(r)c=0,e=d(h.width,q.width);else return;this.left=d(h.left,f.plotLeft+g+(w?f.plotWidth:0));this.size=m=p=d(h.len,(w?f.plotHeight:f.plotWidth)-2*g);f=w?g:p+2*g;c=d(c,h.toPixels(a,!0));e=d(e,h.toPixels(b,!0));x(c)&&Infinity!==Math.abs(c)||(c=0,e=f);a=h.toValue(c,!0);b=h.toValue(e,!0);var J=Math.abs(y(b-
-a));J<H?this.grabbedLeft?c=h.toPixels(b-H-l,!0):this.grabbedRight&&(e=h.toPixels(a+H+l,!0)):k(v)&&y(J-l)>v&&(this.grabbedLeft?c=h.toPixels(b-v-l,!0):this.grabbedRight&&(e=h.toPixels(a+v+l,!0)));this.zoomedMax=n(Math.max(c,e),0,m);this.zoomedMin=n(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(c,e),0,m);this.range=this.zoomedMax-this.zoomedMin;m=Math.round(this.zoomedMax);c=Math.round(this.zoomedMin);u&&(this.navigatorGroup.attr({visibility:"visible"}),r=r&&!this.hasDragged?"animate":"attr",
-this.drawMasks(c,m,w,r),this.drawOutline(c,m,w,r),this.navigatorOptions.handles.enabled&&(this.drawHandle(c,0,w,r),this.drawHandle(m,1,w,r)));this.scrollbar&&(w?(w=this.top-g,q=this.left-g+(u||!q.opposite?0:(q.titleOffset||0)+q.axisTitleMargin),g=p+2*g):(w=this.top+(u?this.height:-g),q=this.left-g),this.scrollbar.position(q,w,f,g),this.scrollbar.setRange(this.zoomedMin/(p||1),this.zoomedMax/(p||1)));this.rendered=!0}};g.prototype.addMouseEvents=function(){var a=this,b=a.chart,c=b.container,d=[],g,
-k;a.mouseMoveHandler=g=function(b){a.onMouseMove(b)};a.mouseUpHandler=k=function(b){a.onMouseUp(b)};d=a.getPartsEvents("mousedown");d.push(e(b.renderTo,"mousemove",g),e(c.ownerDocument,"mouseup",k));v&&(d.push(e(b.renderTo,"touchmove",g),e(c.ownerDocument,"touchend",k)),d.concat(a.getPartsEvents("touchstart")));a.eventsToUnbind=d;a.series&&a.series[0]&&d.push(e(a.series[0].xAxis,"foundExtremes",function(){b.navigator.modifyNavigatorAxisExtremes()}))};g.prototype.getPartsEvents=function(a){var b=this,
-c=[];["shades","handles"].forEach(function(d){b[d].forEach(function(f,g){c.push(e(f.element,a,function(a){b[d+"Mousedown"](a,g)}))})});return c};g.prototype.shadesMousedown=function(a,b){a=this.chart.pointer.normalize(a);var c=this.chart,d=this.xAxis,e=this.zoomedMin,f=this.left,g=this.size,p=this.range,h=a.chartX;c.inverted&&(h=a.chartY,f=this.top);if(1===b)this.grabbedCenter=h,this.fixedWidth=p,this.dragOffset=h-e;else{a=h-f-p/2;if(0===b)a=Math.max(0,a);else if(2===b&&a+p>=g)if(a=g-p,this.reversedExtremes){a-=
-p;var l=this.getUnionExtremes().dataMin}else var n=this.getUnionExtremes().dataMax;a!==e&&(this.fixedWidth=p,b=d.navigatorAxis.toFixedRange(a,a+p,l,n),k(b.min)&&c.xAxis[0].setExtremes(Math.min(b.min,b.max),Math.max(b.min,b.max),!0,null,{trigger:"navigator"}))}};g.prototype.handlesMousedown=function(a,b){this.chart.pointer.normalize(a);a=this.chart;var c=a.xAxis[0],d=this.reversedExtremes;0===b?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=d?c.min:c.max):(this.grabbedRight=
-!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=d?c.max:c.min);a.fixedRange=null};g.prototype.onMouseMove=function(a){var b=this,e=b.chart,g=b.left,p=b.navigatorSize,k=b.range,h=b.dragOffset,l=e.inverted;a.touches&&0===a.touches[0].pageX||(a=e.pointer.normalize(a),e=a.chartX,l&&(g=b.top,e=a.chartY),b.grabbedLeft?(b.hasDragged=!0,b.render(0,0,e-g,b.otherHandlePos)):b.grabbedRight?(b.hasDragged=!0,b.render(0,0,b.otherHandlePos,e-g)):b.grabbedCenter&&(b.hasDragged=!0,e<h?e=h:e>p+h-k&&(e=p+h-
-k),b.render(0,0,e-h,e-h+k)),b.hasDragged&&b.scrollbar&&d(b.scrollbar.options.liveRedraw,C.svg&&!c&&!this.chart.isBoosting)&&(a.DOMType=a.type,setTimeout(function(){b.onMouseUp(a)},0)))};g.prototype.onMouseUp=function(a){var b=this.chart,c=this.xAxis,d=this.scrollbar,e=a.DOMEvent||a,g=b.inverted,p=this.rendered&&!this.hasDragged?"animate":"attr";if(this.hasDragged&&(!d||!d.hasDragged)||"scrollbar"===a.trigger){d=this.getUnionExtremes();if(this.zoomedMin===this.otherHandlePos)var h=this.fixedExtreme;
-else if(this.zoomedMax===this.otherHandlePos)var l=this.fixedExtreme;this.zoomedMax===this.size&&(l=this.reversedExtremes?d.dataMin:d.dataMax);0===this.zoomedMin&&(h=this.reversedExtremes?d.dataMax:d.dataMin);c=c.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,h,l);k(c.min)&&b.xAxis[0].setExtremes(Math.min(c.min,c.max),Math.max(c.min,c.max),!0,this.hasDragged?!1:null,{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:e})}"mousemove"!==a.DOMType&&"touchmove"!==a.DOMType&&(this.grabbedLeft=
-this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null);this.navigatorEnabled&&x(this.zoomedMin)&&x(this.zoomedMax)&&(b=Math.round(this.zoomedMin),a=Math.round(this.zoomedMax),this.shades&&this.drawMasks(b,a,g,p),this.outline&&this.drawOutline(b,a,g,p),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(b,0,g,p),this.drawHandle(a,1,g,p)))};g.prototype.removeEvents=function(){this.eventsToUnbind&&
-(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind=void 0);this.removeBaseSeriesEvents()};g.prototype.removeBaseSeriesEvents=function(){var a=this.baseSeries||[];this.navigatorEnabled&&a[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&a.forEach(function(a){L(a,"updatedData",this.updatedDataHandler)},this),a[0].xAxis&&L(a[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))};g.prototype.init=function(c){var f=c.options,g=f.navigator,k=g.enabled,h=f.scrollbar,p=h.enabled;f=k?g.height:
-0;var l=p?h.height:0;this.handles=[];this.shades=[];this.chart=c;this.setBaseSeries();this.height=f;this.scrollbarHeight=l;this.scrollbarEnabled=p;this.navigatorEnabled=k;this.navigatorOptions=g;this.scrollbarOptions=h;this.outlineHeight=f+l;this.opposite=d(g.opposite,!(k||!c.inverted));var n=this;k=n.baseSeries;h=c.xAxis.length;p=c.yAxis.length;var q=k&&k[0]&&k[0].xAxis||c.xAxis[0]||{options:{}};c.isDirtyBox=!0;n.navigatorEnabled?(n.xAxis=new a(c,b({breaks:q.options.breaks,ordinal:q.options.ordinal},
-g.xAxis,{id:"navigator-x-axis",yAxis:"navigator-y-axis",isX:!0,type:"datetime",index:h,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},c.inverted?{offsets:[l,0,-l,0],width:f}:{offsets:[0,-l,0,l],height:f})),n.yAxis=new a(c,b(g.yAxis,{id:"navigator-y-axis",alignTicks:!1,offset:0,index:p,isInternal:!0,reversed:d(g.yAxis&&g.yAxis.reversed,c.yAxis[0]&&c.yAxis[0].reversed,!1),zoomEnabled:!1},c.inverted?{width:f}:{height:f})),k||g.series.data?
-n.updateNavigatorSeries(!1):0===c.series.length&&(n.unbindRedraw=e(c,"beforeRedraw",function(){0<c.series.length&&!n.series&&(n.setBaseSeries(),n.unbindRedraw())})),n.reversedExtremes=c.inverted&&!n.xAxis.reversed||!c.inverted&&n.xAxis.reversed,n.renderElements(),n.addMouseEvents()):(n.xAxis={chart:c,navigatorAxis:{fake:!0},translate:function(a,b){var d=c.xAxis[0],e=d.getExtremes(),f=d.len-2*l,g=K("min",d.options.min,e.dataMin);d=K("max",d.options.max,e.dataMax)-g;return b?a*d/f+g:f*(a-g)/d},toPixels:function(a){return this.translate(a)},
-toValue:function(a){return this.translate(a,!0)}},n.xAxis.navigatorAxis.axis=n.xAxis,n.xAxis.navigatorAxis.toFixedRange=F.AdditionsClass.prototype.toFixedRange.bind(n.xAxis.navigatorAxis));c.options.scrollbar.enabled&&(c.scrollbar=n.scrollbar=new I(c.renderer,b(c.options.scrollbar,{margin:n.navigatorEnabled?0:10,vertical:c.inverted}),c),e(n.scrollbar,"changed",function(a){var b=n.size,d=b*this.to;b*=this.from;n.hasDragged=n.scrollbar.hasDragged;n.render(0,0,b,d);(c.options.scrollbar.liveRedraw||"mousemove"!==
-a.DOMType&&"touchmove"!==a.DOMType)&&setTimeout(function(){n.onMouseUp(a)})}));n.addBaseSeriesEvents();n.addChartEvents()};g.prototype.getUnionExtremes=function(a){var b=this.chart.xAxis[0],c=this.xAxis,e=c.options,g=b.options,k;a&&null===b.dataMin||(k={dataMin:d(e&&e.min,K("min",g.min,b.dataMin,c.dataMin,c.min)),dataMax:d(e&&e.max,K("max",g.max,b.dataMax,c.dataMax,c.max))});return k};g.prototype.setBaseSeries=function(a,b){var c=this.chart,d=this.baseSeries=[];a=a||c.options&&c.options.navigator.baseSeries||
-(c.series.length?G(c.series,function(a){return!a.options.isInternal}).index:0);(c.series||[]).forEach(function(b,c){b.options.isInternal||!b.options.showInNavigator&&(c!==a&&b.options.id!==a||!1===b.options.showInNavigator)||d.push(b)});this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,b)};g.prototype.updateNavigatorSeries=function(a,c){var e=this,g=e.chart,f=e.baseSeries,k,p,n=e.navigatorOptions.series,m,w={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,
-xAxis:"navigator-x-axis",yAxis:"navigator-y-axis",showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},r=e.series=(e.series||[]).filter(function(a){var b=a.baseSeries;return 0>f.indexOf(b)?(b&&(L(b,"updatedData",e.updatedDataHandler),delete b.navigatorSeries),a.chart&&a.destroy(),!1):!0});f&&f.length&&f.forEach(function(a){var t=a.navigatorSeries,u=h({color:a.color,visible:a.visible},q(n)?l.navigator.series:n);t&&!1===e.navigatorOptions.adaptToUpdatedData||(w.name="Navigator "+
-f.length,k=a.options||{},m=k.navigatorOptions||{},p=b(k,w,u,m),p.pointRange=d(u.pointRange,m.pointRange,l.plotOptions[p.type||"line"].pointRange),u=m.data||u.data,e.hasNavigatorData=e.hasNavigatorData||!!u,p.data=u||k.data&&k.data.slice(0),t&&t.options?t.update(p,c):(a.navigatorSeries=g.initSeries(p),a.navigatorSeries.baseSeries=a,r.push(a.navigatorSeries)))});if(n.data&&(!f||!f.length)||q(n))e.hasNavigatorData=!1,n=M(n),n.forEach(function(a,c){w.name="Navigator "+(r.length+1);p=b(l.navigator.series,
-{color:g.series[c]&&!g.series[c].options.isInternal&&g.series[c].color||g.options.colors[c]||g.options.colors[0]},w,a);p.data=a.data;p.data&&(e.hasNavigatorData=!0,r.push(g.initSeries(p)))});a&&this.addBaseSeriesEvents()};g.prototype.addBaseSeriesEvents=function(){var a=this,b=a.baseSeries||[];b[0]&&b[0].xAxis&&e(b[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes);b.forEach(function(b){e(b,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)});e(b,"hide",function(){this.navigatorSeries&&
-this.navigatorSeries.setVisible(!1,!1)});!1!==this.navigatorOptions.adaptToUpdatedData&&b.xAxis&&e(b,"updatedData",this.updatedDataHandler);e(b,"remove",function(){this.navigatorSeries&&(w(a.series,this.navigatorSeries),k(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)})},this)};g.prototype.getBaseSeriesMin=function(a){return this.baseSeries.reduce(function(a,b){return Math.min(a,b.xData?b.xData[0]:a)},a)};g.prototype.modifyNavigatorAxisExtremes=function(){var a=
-this.xAxis,b;"undefined"!==typeof a.getExtremes&&(!(b=this.getUnionExtremes(!0))||b.dataMin===a.min&&b.dataMax===a.max||(a.min=b.dataMin,a.max=b.dataMax))};g.prototype.modifyBaseAxisExtremes=function(){var a=this.chart.navigator,b=this.getExtremes(),c=b.dataMin,e=b.dataMax;b=b.max-b.min;var g=a.stickToMin,k=a.stickToMax,h=d(this.options.overscroll,0),l=a.series&&a.series[0],n=!!this.setExtremes;if(!this.eventArgs||"rangeSelectorButton"!==this.eventArgs.trigger){if(g){var q=c;var m=q+b}k&&(m=e+h,g||
-(q=Math.max(c,m-b,a.getBaseSeriesMin(l&&l.xData?l.xData[0]:-Number.MAX_VALUE))));n&&(g||k)&&x(q)&&(this.min=this.userMin=q,this.max=this.userMax=m)}a.stickToMin=a.stickToMax=null};g.prototype.updatedDataHandler=function(){var a=this.chart.navigator,b=this.navigatorSeries,c=a.getBaseSeriesMin(this.xData[0]);a.stickToMax=a.reversedExtremes?0===Math.round(a.zoomedMin):Math.round(a.zoomedMax)>=Math.round(a.size);a.stickToMin=x(this.xAxis.min)&&this.xAxis.min<=c&&(!this.chart.fixedRange||!a.stickToMax);
-b&&!a.hasNavigatorData&&(b.options.pointStart=this.xData[0],b.setData(this.options.data,!1,null,!1))};g.prototype.addChartEvents=function(){this.eventsToUnbind||(this.eventsToUnbind=[]);this.eventsToUnbind.push(e(this.chart,"redraw",function(){var a=this.navigator,b=a&&(a.baseSeries&&a.baseSeries[0]&&a.baseSeries[0].xAxis||this.xAxis[0]);b&&a.render(b.min,b.max)}),e(this.chart,"getMargins",function(){var a=this.navigator,b=a.opposite?"plotTop":"marginBottom";this.inverted&&(b=a.opposite?"marginRight":
-"plotLeft");this[b]=(this[b]||0)+(a.navigatorEnabled||!this.inverted?a.outlineHeight:0)+a.navigatorOptions.margin}))};g.prototype.destroy=function(){this.removeEvents();this.xAxis&&(w(this.chart.xAxis,this.xAxis),w(this.chart.axes,this.xAxis));this.yAxis&&(w(this.chart.yAxis,this.yAxis),w(this.chart.axes,this.yAxis));(this.series||[]).forEach(function(a){a.destroy&&a.destroy()});"series xAxis yAxis shades outline scrollbarTrack scrollbarRifles scrollbarGroup scrollbar navigatorGroup rendered".split(" ").forEach(function(a){this[a]&&
-this[a].destroy&&this[a].destroy();this[a]=null},this);[this.handles].forEach(function(a){Q(a)},this)};return g}();C.Navigator||(C.Navigator=g,F.compose(a),e(m,"beforeShowResetZoom",function(){var a=this.options,b=a.navigator,d=a.rangeSelector;if((b&&b.enabled||d&&d.enabled)&&(!c&&"x"===a.chart.zoomType||c&&"x"===a.chart.pinchType))return!1}),e(m,"beforeRender",function(){var a=this.options;if(a.navigator.enabled||a.scrollbar.enabled)this.scroller=this.navigator=new g(this)}),e(m,"afterSetChartSize",
-function(){var a=this.legend,b=this.navigator;if(b){var c=a&&a.options;var e=b.xAxis;var g=b.yAxis;var k=b.scrollbarHeight;this.inverted?(b.left=b.opposite?this.chartWidth-k-b.height:this.spacing[3]+k,b.top=this.plotTop+k):(b.left=this.plotLeft+k,b.top=b.navigatorOptions.top||this.chartHeight-b.height-k-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(c&&"bottom"===c.verticalAlign&&"proximate"!==c.layout&&c.enabled&&!c.floating?a.legendHeight+d(c.margin,
-10):0)-(this.titleOffset?this.titleOffset[2]:0));e&&g&&(this.inverted?e.options.left=g.options.left=b.left:e.options.top=g.options.top=b.top,e.setAxisSize(),g.setAxisSize())}}),e(m,"update",function(a){var c=a.options.navigator||{},d=a.options.scrollbar||{};this.navigator||this.scroller||!c.enabled&&!d.enabled||(b(!0,this.options.navigator,c),b(!0,this.options.scrollbar,d),delete a.options.navigator,delete a.options.scrollbar)}),e(m,"afterUpdate",function(a){this.navigator||this.scroller||!this.options.navigator.enabled&&
-!this.options.scrollbar.enabled||(this.scroller=this.navigator=new g(this),d(a.redraw,!0)&&this.redraw(a.animation))}),e(m,"afterAddSeries",function(){this.navigator&&this.navigator.setBaseSeries(null,!1)}),e(B,"afterUpdate",function(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}),m.prototype.callbacks.push(function(a){var b=a.navigator;b&&a.xAxis[0]&&(a=a.xAxis[0].getExtremes(),b.render(a.min,a.max))}));C.Navigator=g;return C.Navigator});S(a,"Core/Axis/OrdinalAxis.js",
-[a["Core/Axis/Axis.js"],a["Core/Globals.js"],a["Core/Series/Series.js"],a["Core/Utilities.js"],a["Core/Chart/Chart.js"]],function(a,m,A,C,F){var N=C.addEvent,E=C.css,I=C.defined,B=C.error,z=C.pick,r=C.timeUnits,v;(function(a){var c=function(){function a(a){this.index={};this.axis=a}a.prototype.beforeSetTickPositions=function(){var a=this.axis,c=a.ordinal,e=[],l,m=!1,h=a.getExtremes(),r=h.min,q=h.max,v,b=a.isXAxis&&!!a.options.breaks;h=a.options.ordinal;var d=Number.MAX_VALUE,B=a.chart.options.chart.ignoreHiddenSeries,
-M;if(h||b){a.series.forEach(function(a,c){l=[];if(!(B&&!1===a.visible||!1===a.takeOrdinalPosition&&!b)&&(e=e.concat(a.processedXData),K=e.length,e.sort(function(a,b){return a-b}),d=Math.min(d,z(a.closestPointRange,d)),K)){for(c=0;c<K-1;)e[c]!==e[c+1]&&l.push(e[c+1]),c++;l[0]!==e[0]&&l.unshift(e[0]);e=l}a.isSeriesBoosting&&(M=!0)});M&&(e.length=0);var K=e.length;if(2<K){var g=e[1]-e[0];for(v=K-1;v--&&!m;)e[v+1]-e[v]!==g&&(m=!0);!a.options.keepOrdinalPadding&&(e[0]-r>g||q-e[e.length-1]>g)&&(m=!0)}else a.options.overscroll&&
-(2===K?d=e[1]-e[0]:1===K?(d=a.options.overscroll,e=[e[0],e[0]+d]):d=c.overscrollPointsRange);m?(a.options.overscroll&&(c.overscrollPointsRange=d,e=e.concat(c.getOverscrollPositions())),c.positions=e,g=a.ordinal2lin(Math.max(r,e[0]),!0),v=Math.max(a.ordinal2lin(Math.min(q,e[e.length-1]),!0),1),c.slope=q=(q-r)/(v-g),c.offset=r-g*q):(c.overscrollPointsRange=z(a.closestPointRange,c.overscrollPointsRange),c.positions=a.ordinal.slope=c.offset=void 0)}a.isOrdinal=h&&m;c.groupIntervalFactor=null};a.prototype.getExtendedPositions=
-function(){var a=this,c=a.axis,e=c.constructor.prototype,l=c.chart,r=c.series[0].currentDataGrouping,h=a.index,v=r?r.count+r.unitName:"raw",q=c.options.overscroll,x=c.getExtremes(),b;h||(h=a.index={});if(!h[v]){var d={series:[],chart:l,getExtremes:function(){return{min:x.dataMin,max:x.dataMax+q}},options:{ordinal:!0},ordinal:{},ordinal2lin:e.ordinal2lin,val2lin:e.val2lin};d.ordinal.axis=d;c.series.forEach(function(c){b={xAxis:d,xData:c.xData.slice(),chart:l,destroyGroupedData:m.noop,getProcessedData:A.prototype.getProcessedData};
-b.xData=b.xData.concat(a.getOverscrollPositions());b.options={dataGrouping:r?{enabled:!0,forced:!0,approximation:"open",units:[[r.unitName,[r.count]]]}:{enabled:!1}};c.processData.apply(b);d.series.push(b)});c.ordinal.beforeSetTickPositions.apply({axis:d});h[v]=d.ordinal.positions}return h[v]};a.prototype.getGroupIntervalFactor=function(a,c,e){e=e.processedXData;var k=e.length,l=[];var h=this.groupIntervalFactor;if(!h){for(h=0;h<k-1;h++)l[h]=e[h+1]-e[h];l.sort(function(a,c){return a-c});l=l[Math.floor(k/
-2)];a=Math.max(a,e[0]);c=Math.min(c,e[k-1]);this.groupIntervalFactor=h=k*l/(c-a)}return h};a.prototype.getOverscrollPositions=function(){var a=this.axis,c=a.options.overscroll,e=this.overscrollPointsRange,l=[],m=a.dataMax;if(I(e))for(l.push(m);m<=a.dataMax+c;)m+=e,l.push(m);return l};a.prototype.postProcessTickInterval=function(a){var c=this.axis,e=this.slope;return e?c.options.breaks?c.closestPointRange||a:a/(e/c.closestPointRange):a};return a}();a.Composition=c;a.compose=function(c,l,m){c.keepProps.push("ordinal");
-var e=c.prototype;c.prototype.getTimeTicks=function(a,c,e,k,l,n,b){void 0===l&&(l=[]);void 0===n&&(n=0);var d=0,h,q,m={},g=[],w=-Number.MAX_VALUE,p=this.options.tickPixelInterval,f=this.chart.time,v=[];if(!this.options.ordinal&&!this.options.breaks||!l||3>l.length||"undefined"===typeof c)return f.getTimeTicks.apply(f,arguments);var u=l.length;for(h=0;h<u;h++){var x=h&&l[h-1]>e;l[h]<c&&(d=h);if(h===u-1||l[h+1]-l[h]>5*n||x){if(l[h]>w){for(q=f.getTimeTicks(a,l[d],l[h],k);q.length&&q[0]<=w;)q.shift();
-q.length&&(w=q[q.length-1]);v.push(g.length);g=g.concat(q)}d=h+1}if(x)break}if(q){q=q.info;if(b&&q.unitRange<=r.hour){h=g.length-1;for(d=1;d<h;d++)if(f.dateFormat("%d",g[d])!==f.dateFormat("%d",g[d-1])){m[g[d]]="day";var t=!0}t&&(m[g[0]]="day");q.higherRanks=m}q.segmentStarts=v;g.info=q}else B(12,!1,this.chart);if(b&&I(p)){d=v=g.length;t=[];var y;for(f=[];d--;)h=this.translate(g[d]),y&&(f[d]=y-h),t[d]=y=h;f.sort();f=f[Math.floor(f.length/2)];f<.6*p&&(f=null);d=g[v-1]>e?v-1:v;for(y=void 0;d--;)h=t[d],
-v=Math.abs(y-h),y&&v<.8*p&&(null===f||v<.8*f)?(m[g[d]]&&!m[g[d+1]]?(v=d+1,y=h):v=d,g.splice(v,1)):y=h}return g};e.lin2val=function(a,c){var e=this.ordinal,k=e.positions;if(k){var l=e.slope,n=e.offset;e=k.length-1;if(c)if(0>a)a=k[0];else if(a>e)a=k[e];else{e=Math.floor(a);var b=a-e}else for(;e--;)if(c=l*e+n,a>=c){l=l*(e+1)+n;b=(a-c)/(l-c);break}return"undefined"!==typeof b&&"undefined"!==typeof k[e]?k[e]+(b?b*(k[e+1]-k[e]):0):a}return a};e.val2lin=function(a,c){var e=this.ordinal,k=e.positions;if(k){var l=
-k.length,n;for(n=l;n--;)if(k[n]===a){var b=n;break}for(n=l-1;n--;)if(a>k[n]||0===n){a=(a-k[n])/(k[n+1]-k[n]);b=n+a;break}c=c?b:e.slope*(b||0)+e.offset}else c=a;return c};e.ordinal2lin=e.val2lin;N(c,"afterInit",function(){this.ordinal||(this.ordinal=new a.Composition(this))});N(c,"foundExtremes",function(){this.isXAxis&&I(this.options.overscroll)&&this.max===this.dataMax&&(!this.chart.mouseIsDown||this.isInternal)&&(!this.eventArgs||this.eventArgs&&"navigator"!==this.eventArgs.trigger)&&(this.max+=
-this.options.overscroll,!this.isInternal&&I(this.userMin)&&(this.min+=this.options.overscroll))});N(c,"afterSetScale",function(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)});N(c,"initialAxisTranslation",function(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))});N(l,"pan",function(a){var c=this.xAxis[0],e=c.options.overscroll,k=a.originalEvent.chartX,
-l=this.options.chart&&this.options.chart.panning,n=!1;if(l&&"y"!==l.type&&c.options.ordinal&&c.series.length){var b=this.mouseDownX,d=c.getExtremes(),m=d.dataMax,r=d.min,v=d.max,g=this.hoverPoints,y=c.closestPointRange||c.ordinal&&c.ordinal.overscrollPointsRange;b=(b-k)/(c.translationSlope*(c.ordinal.slope||y));var p={ordinal:{positions:c.ordinal.getExtendedPositions()}};y=c.lin2val;var f=c.val2lin;if(!p.ordinal.positions)n=!0;else if(1<Math.abs(b)){g&&g.forEach(function(a){a.setState()});if(0>b){g=
-p;var H=c.ordinal.positions?c:p}else g=c.ordinal.positions?c:p,H=p;p=H.ordinal.positions;m>p[p.length-1]&&p.push(m);this.fixedRange=v-r;b=c.navigatorAxis.toFixedRange(null,null,y.apply(g,[f.apply(g,[r,!0])+b,!0]),y.apply(H,[f.apply(H,[v,!0])+b,!0]));b.min>=Math.min(d.dataMin,r)&&b.max<=Math.max(m,v)+e&&c.setExtremes(b.min,b.max,!0,!1,{trigger:"pan"});this.mouseDownX=k;E(this.container,{cursor:"move"})}}else n=!0;n||l&&/y/.test(l.type)?e&&(c.max=c.dataMax+e):a.preventDefault()});N(m,"updatedData",
-function(){var a=this.xAxis;a&&a.options.ordinal&&delete a.ordinal.index})}})(v||(v={}));v.compose(a,F,A);return v});S(a,"Core/Axis/BrokenAxis.js",[a["Core/Axis/Axis.js"],a["Core/Series/Series.js"],a["Extensions/Stacking.js"],a["Core/Utilities.js"]],function(a,m,A,C){var F=C.addEvent,N=C.find,E=C.fireEvent,I=C.isArray,B=C.isNumber,z=C.pick,r=function(){function m(a){this.hasBreaks=!1;this.axis=a}m.isInBreak=function(a,l){var c=a.repeat||Infinity,n=a.from,m=a.to-a.from;l=l>=n?(l-n)%c:c-(n-l)%c;return a.inclusive?
-l<=m:l<m&&0!==l};m.lin2Val=function(a){var c=this.brokenAxis;c=c&&c.breakArray;if(!c)return a;var e;for(e=0;e<c.length;e++){var n=c[e];if(n.from>=a)break;else n.to<a?a+=n.len:m.isInBreak(n,a)&&(a+=n.len)}return a};m.val2Lin=function(a){var c=this.brokenAxis;c=c&&c.breakArray;if(!c)return a;var e=a,n;for(n=0;n<c.length;n++){var r=c[n];if(r.to<=a)e-=r.len;else if(r.from>=a)break;else if(m.isInBreak(r,a)){e-=a-r.from;break}}return e};m.prototype.findBreakAt=function(a,l){return N(l,function(c){return c.from<
-a&&a<c.to})};m.prototype.isInAnyBreak=function(a,l){var c=this.axis,n=c.options.breaks,r=n&&n.length,k;if(r){for(;r--;)if(m.isInBreak(n[r],a)){var v=!0;k||(k=z(n[r].showPoints,!c.isXAxis))}var w=v&&l?v&&!k:v}return w};m.prototype.setBreaks=function(c,l){var e=this,n=e.axis,r=I(c)&&!!c.length;n.isDirty=e.hasBreaks!==r;e.hasBreaks=r;n.options.breaks=n.userOptions.breaks=c;n.forceRedraw=!0;n.series.forEach(function(a){a.isDirty=!0});r||n.val2lin!==m.val2Lin||(delete n.val2lin,delete n.lin2val);r&&(n.userOptions.ordinal=
-!1,n.lin2val=m.lin2Val,n.val2lin=m.val2Lin,n.setExtremes=function(c,l,n,h,m){if(e.hasBreaks){for(var k,r=this.options.breaks;k=e.findBreakAt(c,r);)c=k.to;for(;k=e.findBreakAt(l,r);)l=k.from;l<c&&(l=c)}a.prototype.setExtremes.call(this,c,l,n,h,m)},n.setAxisTranslation=function(){a.prototype.setAxisTranslation.call(this);e.unitLength=null;if(e.hasBreaks){var c=n.options.breaks||[],l=[],r=[],h=0,v,q=n.userMin||n.min,x=n.userMax||n.max,b=z(n.pointRangePadding,0),d;c.forEach(function(a){v=a.repeat||Infinity;
-m.isInBreak(a,q)&&(q+=a.to%v-q%v);m.isInBreak(a,x)&&(x-=x%v-a.from%v)});c.forEach(function(a){B=a.from;for(v=a.repeat||Infinity;B-v>q;)B-=v;for(;B<q;)B+=v;for(d=B;d<x;d+=v)l.push({value:d,move:"in"}),l.push({value:d+(a.to-a.from),move:"out",size:a.breakSize})});l.sort(function(a,b){return a.value===b.value?("in"===a.move?0:1)-("in"===b.move?0:1):a.value-b.value});var y=0;var B=q;l.forEach(function(a){y+="in"===a.move?1:-1;1===y&&"in"===a.move&&(B=a.value);0===y&&(r.push({from:B,to:a.value,len:a.value-
-B-(a.size||0)}),h+=a.value-B-(a.size||0))});n.breakArray=e.breakArray=r;e.unitLength=x-q-h+b;E(n,"afterBreaks");n.staticScale?n.transA=n.staticScale:e.unitLength&&(n.transA*=(x-n.min+b)/e.unitLength);b&&(n.minPixelPadding=n.transA*n.minPointOffset);n.min=q;n.max=x}});z(l,!0)&&n.chart.redraw()};return m}();C=function(){function a(){}a.compose=function(a,l){a.keepProps.push("brokenAxis");var c=m.prototype;c.drawBreaks=function(a,c){var e=this,l=e.points,n,h,m,q;if(a&&a.brokenAxis&&a.brokenAxis.hasBreaks){var r=
-a.brokenAxis;c.forEach(function(b){n=r&&r.breakArray||[];h=a.isXAxis?a.min:z(e.options.threshold,a.min);l.forEach(function(c){q=z(c["stack"+b.toUpperCase()],c[b]);n.forEach(function(b){if(B(h)&&B(q)){m=!1;if(h<b.from&&q>b.to||h>b.from&&q<b.from)m="pointBreak";else if(h<b.from&&q>b.from&&q<b.to||h>b.from&&q>b.to&&q<b.from)m="pointInBreak";m&&E(a,m,{point:c,brk:b})}})})})}};c.gappedPath=function(){var a=this.currentDataGrouping,c=a&&a.gapSize;a=this.options.gapSize;var e=this.points.slice(),l=e.length-
-1,m=this.yAxis,h;if(a&&0<l)for("value"!==this.options.gapUnit&&(a*=this.basePointRange),c&&c>a&&c>=this.basePointRange&&(a=c),h=void 0;l--;)h&&!1!==h.visible||(h=e[l+1]),c=e[l],!1!==h.visible&&!1!==c.visible&&(h.x-c.x>a&&(h=(c.x+h.x)/2,e.splice(l+1,0,{isNull:!0,x:h}),m.stacking&&this.options.stacking&&(h=m.stacking.stacks[this.stackKey][h]=new A(m,m.options.stackLabels,!1,h,this.stack),h.total=0)),h=c);return this.getGraphPath(e)};F(a,"init",function(){this.brokenAxis||(this.brokenAxis=new r(this))});
-F(a,"afterInit",function(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)});F(a,"afterSetTickPositions",function(){var a=this.brokenAxis;if(a&&a.hasBreaks){var c=this.tickPositions,e=this.tickPositions.info,l=[],m;for(m=0;m<c.length;m++)a.isInAnyBreak(c[m])||l.push(c[m]);this.tickPositions=l;this.tickPositions.info=e}});F(a,"afterSetOptions",function(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)});F(l,"afterGeneratePoints",function(){var a=
-this.options.connectNulls,c=this.points,e=this.xAxis,l=this.yAxis;if(this.isDirty)for(var m=c.length;m--;){var h=c[m],r=!(null===h.y&&!1===a)&&(e&&e.brokenAxis&&e.brokenAxis.isInAnyBreak(h.x,!0)||l&&l.brokenAxis&&l.brokenAxis.isInAnyBreak(h.y,!0));h.visible=r?!1:!1!==h.options.visible}});F(l,"afterRender",function(){this.drawBreaks(this.xAxis,["x"]);this.drawBreaks(this.yAxis,z(this.pointArrayMap,["y"]))})};return a}();C.compose(a,m);return C});S(a,"masters/modules/broken-axis.src.js",[],function(){});
-S(a,"Extensions/DataGrouping.js",[a["Core/Axis/Axis.js"],a["Core/Axis/DateTimeAxis.js"],a["Core/Globals.js"],a["Core/Options.js"],a["Core/Series/Point.js"],a["Core/Series/Series.js"],a["Core/Tooltip.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N,E,I){var B=N.prototype,z=I.addEvent,r=I.arrayMax,v=I.arrayMin,c=I.correctFloat,l=I.defined,e=I.error,n=I.extend,y=I.format,k=I.isNumber,O=I.merge,w=I.pick;"";var h=A.approximations={sum:function(a){var b=a.length;if(!b&&a.hasNulls)var c=null;else if(b)for(c=
-0;b--;)c+=a[b];return c},average:function(a){var b=a.length;a=h.sum(a);k(a)&&b&&(a=c(a/b));return a},averages:function(){var a=[];[].forEach.call(arguments,function(b){a.push(h.average(b))});return"undefined"===typeof a[0]?void 0:a},open:function(a){return a.length?a[0]:a.hasNulls?null:void 0},high:function(a){return a.length?r(a):a.hasNulls?null:void 0},low:function(a){return a.length?v(a):a.hasNulls?null:void 0},close:function(a){return a.length?a[a.length-1]:a.hasNulls?null:void 0},ohlc:function(a,
-b,c,d){a=h.open(a);b=h.high(b);c=h.low(c);d=h.close(d);if(k(a)||k(b)||k(c)||k(d))return[a,b,c,d]},range:function(a,b){a=h.low(a);b=h.high(b);if(k(a)||k(b))return[a,b];if(null===a&&null===b)return null}};I=function(a,b,c,d){var e=this,g=e.data,n=e.options&&e.options.data,m=[],q=[],t=[],r=a.length,v=!!b,w=[],x=e.pointArrayMap,y=x&&x.length,J=["x"].concat(x||["y"]),z=0,B=0,K;d="function"===typeof d?d:h[d]?h[d]:h[e.getDGApproximation&&e.getDGApproximation()||"average"];y?x.forEach(function(){w.push([])}):
-w.push([]);var C=y||1;for(K=0;K<=r&&!(a[K]>=c[0]);K++);for(K;K<=r;K++){for(;"undefined"!==typeof c[z+1]&&a[K]>=c[z+1]||K===r;){var A=c[z];e.dataGroupInfo={start:e.cropStart+B,length:w[0].length};var M=d.apply(e,w);e.pointClass&&!l(e.dataGroupInfo.options)&&(e.dataGroupInfo.options=O(e.pointClass.prototype.optionsToObject.call({series:e},e.options.data[e.cropStart+B])),J.forEach(function(a){delete e.dataGroupInfo.options[a]}));"undefined"!==typeof M&&(m.push(A),q.push(M),t.push(e.dataGroupInfo));B=
-K;for(A=0;A<C;A++)w[A].length=0,w[A].hasNulls=!1;z+=1;if(K===r)break}if(K===r)break;if(x)for(A=e.cropStart+K,M=g&&g[A]||e.pointClass.prototype.applyOptions.apply({series:e},[n[A]]),A=0;A<y;A++){var E=M[x[A]];k(E)?w[A].push(E):null===E&&(w[A].hasNulls=!0)}else A=v?b[K]:null,k(A)?w[0].push(A):null===A&&(w[0].hasNulls=!0)}return{groupedXData:m,groupedYData:q,groupMap:t}};var G={approximations:h,groupData:I},q=B.processData,x=B.generatePoints,b={groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %b %e, %H:%M:%S.%L",
-"%A, %b %e, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %b %e, %H:%M:%S","%A, %b %e, %H:%M:%S","-%H:%M:%S"],minute:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],hour:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],day:["%A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],week:["Week from %A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},d={line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},
-candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5}},L=A.defaultDataGroupingUnits=[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]];B.getDGApproximation=function(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("column")?"sum":"average"};B.groupData=I;B.processData=function(){var a=this.chart,b=this.options.dataGrouping,c=!1!==this.allowDG&&
-b&&w(b.enabled,a.options.isStock),d=this.visible||!a.options.chart.ignoreHiddenSeries,e,f=this.currentDataGrouping,h=!1;this.forceCrop=c;this.groupPixelWidth=null;this.hasProcessed=!0;c&&!this.requireSorting&&(this.requireSorting=h=!0);c=!1===q.apply(this,arguments)||!c;h&&(this.requireSorting=!1);if(!c){this.destroyGroupedData();c=b.groupAll?this.xData:this.processedXData;var k=b.groupAll?this.yData:this.processedYData,n=a.plotSizeX;a=this.xAxis;var t=a.options.ordinal,r=this.groupPixelWidth=a.getGroupPixelWidth&&
-a.getGroupPixelWidth();if(r){this.isDirty=e=!0;this.points=null;h=a.getExtremes();var v=h.min;h=h.max;t=t&&a.ordinal&&a.ordinal.getGroupIntervalFactor(v,h,this)||1;r=r*(h-v)/n*t;n=a.getTimeTicks(m.AdditionsClass.prototype.normalizeTimeTickInterval(r,b.units||L),Math.min(v,c[0]),Math.max(h,c[c.length-1]),a.options.startOfWeek,c,this.closestPointRange);k=B.groupData.apply(this,[c,k,n,b.approximation]);c=k.groupedXData;t=k.groupedYData;var x=0;if(b.smoothed&&c.length){var y=c.length-1;for(c[y]=Math.min(c[y],
-h);y--&&0<y;)c[y]+=r/2;c[0]=Math.max(c[0],v)}for(y=1;y<n.length;y++)n.info.segmentStarts&&-1!==n.info.segmentStarts.indexOf(y)||(x=Math.max(n[y]-n[y-1],x));v=n.info;v.gapSize=x;this.closestPointRange=n.info.totalRange;this.groupMap=k.groupMap;if(l(c[0])&&c[0]<a.min&&d){if(!l(a.options.min)&&a.min<=a.dataMin||a.min===a.dataMin)a.min=Math.min(c[0],a.min);a.dataMin=Math.min(c[0],a.dataMin)}b.groupAll&&(b=this.cropData(c,t,a.min,a.max,1),c=b.xData,t=b.yData);this.processedXData=c;this.processedYData=
-t}else this.groupMap=null;this.hasGroupedData=e;this.currentDataGrouping=v;this.preventGraphAnimation=(f&&f.totalRange)!==(v&&v.totalRange)}};B.destroyGroupedData=function(){this.groupedData&&(this.groupedData.forEach(function(a,b){a&&(this.groupedData[b]=a.destroy?a.destroy():null)},this),this.groupedData.length=0)};B.generatePoints=function(){x.apply(this);this.destroyGroupedData();this.groupedData=this.hasGroupedData?this.points:null};z(F,"update",function(){if(this.dataGroup)return e(24,!1,this.series.chart),
-!1});z(E,"headerFormatter",function(a){var c=this.chart,d=c.time,e=a.labelConfig,h=e.series,f=h.tooltipOptions,l=h.options.dataGrouping,m=f.xDateFormat,q=h.xAxis,t=f[(a.isFooter?"footer":"header")+"Format"];if(q&&"datetime"===q.options.type&&l&&k(e.key)){var r=h.currentDataGrouping;l=l.dateTimeLabelFormats||b.dateTimeLabelFormats;if(r)if(f=l[r.unitName],1===r.count)m=f[0];else{m=f[1];var v=f[2]}else!m&&l&&(m=this.getXDateFormat(e,f,q));m=d.dateFormat(m,e.key);v&&(m+=d.dateFormat(v,e.key+r.totalRange-
-1));h.chart.styledMode&&(t=this.styledModeFormat(t));a.text=y(t,{point:n(e.point,{key:m}),series:h},c);a.preventDefault()}});z(N,"destroy",B.destroyGroupedData);z(N,"afterSetOptions",function(a){a=a.options;var c=this.type,e=this.chart.options.plotOptions,h=C.defaultOptions.plotOptions[c].dataGrouping,k=this.useCommonDataGrouping&&b;if(d[c]||k)h||(h=O(b,d[c])),a.dataGrouping=O(k,h,e.series&&e.series.dataGrouping,e[c].dataGrouping,this.userOptions.dataGrouping)});z(a,"afterSetScale",function(){this.series.forEach(function(a){a.hasProcessed=
-!1})});a.prototype.getGroupPixelWidth=function(){var a=this.series,c=a.length,d,e=0,h=!1,f;for(d=c;d--;)(f=a[d].options.dataGrouping)&&(e=Math.max(e,w(f.groupPixelWidth,b.groupPixelWidth)));for(d=c;d--;)(f=a[d].options.dataGrouping)&&a[d].hasProcessed&&(c=(a[d].processedXData||a[d].data).length,a[d].groupPixelWidth||c>this.chart.plotSizeX/e||c&&f.forced)&&(h=!0);return h?e:0};a.prototype.setDataGrouping=function(b,c){var d;c=w(c,!0);b||(b={forced:!1,units:null});if(this instanceof a)for(d=this.series.length;d--;)this.series[d].update({dataGrouping:b},
-!1);else this.chart.options.series.forEach(function(a){a.dataGrouping=b},!1);this.ordinal&&(this.ordinal.slope=void 0);c&&this.chart.redraw()};A.dataGrouping=G;"";return G});S(a,"Series/OHLC/OHLCPoint.js",[a["Core/Series/SeriesRegistry.js"]],function(a){var m=this&&this.__extends||function(){var a=function(m,A){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,m){a.__proto__=m}||function(a,m){for(var A in m)m.hasOwnProperty(A)&&(a[A]=m[A])};return a(m,A)};return function(m,A){function C(){this.constructor=
-m}a(m,A);m.prototype=null===A?Object.create(A):(C.prototype=A.prototype,new C)}}();return function(a){function A(){var m=null!==a&&a.apply(this,arguments)||this;m.close=void 0;m.high=void 0;m.low=void 0;m.open=void 0;m.options=void 0;m.plotClose=void 0;m.plotOpen=void 0;m.series=void 0;return m}m(A,a);A.prototype.getClassName=function(){return a.prototype.getClassName.call(this)+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")};A.prototype.resolveUpColor=function(){this.open<
-this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)};A.prototype.resolveColor=function(){a.prototype.resolveColor.call(this);this.resolveUpColor()};A.prototype.getZone=function(){var m=a.prototype.getZone.call(this);this.resolveUpColor();return m};return A}(a.seriesTypes.column.prototype.pointClass)});S(a,"Series/OHLC/OHLCSeries.js",[a["Series/OHLC/OHLCPoint.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m,A){var C=this&&
-this.__extends||function(){var a=function(m,z){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,m){a.__proto__=m}||function(a,m){for(var c in m)m.hasOwnProperty(c)&&(a[c]=m[c])};return a(m,z)};return function(m,z){function r(){this.constructor=m}a(m,z);m.prototype=null===z?Object.create(z):(r.prototype=z.prototype,new r)}}(),F=m.seriesTypes.column,N=A.extend,E=A.merge;A=function(a){function m(){var m=null!==a&&a.apply(this,arguments)||this;m.data=void 0;m.options=void 0;m.points=
-void 0;m.yData=void 0;return m}C(m,a);m.prototype.drawPoints=function(){var a=this,m=a.chart,v=function(a,l,e){var c=a[0];a=a[1];"number"===typeof c[2]&&(c[2]=Math.max(e+l,c[2]));"number"===typeof a[2]&&(a[2]=Math.min(e-l,a[2]))};a.points.forEach(function(c){var l=c.graphic,e=!l;if("undefined"!==typeof c.plotY){l||(c.graphic=l=m.renderer.path().add(a.group));m.styledMode||l.attr(a.pointAttribs(c,c.selected&&"select"));var n=l.strokeWidth();var r=n%2/2;var k=Math.round(c.plotX)-r;var z=Math.round(c.shapeArgs.width/
-2);var w=[["M",k,Math.round(c.yBottom)],["L",k,Math.round(c.plotHigh)]];if(null!==c.open){var h=Math.round(c.plotOpen)+r;w.push(["M",k,h],["L",k-z,h]);v(w,n/2,h)}null!==c.close&&(h=Math.round(c.plotClose)+r,w.push(["M",k,h],["L",k+z,h]),v(w,n/2,h));l[e?"attr":"animate"]({d:w}).addClass(c.getClassName(),!0)}})};m.prototype.init=function(){a.prototype.init.apply(this,arguments);this.options.stacking=void 0};m.prototype.pointAttribs=function(m,r){r=a.prototype.pointAttribs.call(this,m,r);var v=this.options;
-delete r.fill;!m.options.color&&v.upColor&&m.open<m.close&&(r.stroke=v.upColor);return r};m.prototype.toYData=function(a){return[a.open,a.high,a.low,a.close]};m.prototype.translate=function(){var m=this,r=m.yAxis,v=!!m.modifyValue,c=["plotOpen","plotHigh","plotLow","plotClose","yBottom"];a.prototype.translate.apply(m);m.points.forEach(function(a){[a.open,a.high,a.low,a.close,a.low].forEach(function(e,l){null!==e&&(v&&(e=m.modifyValue(e)),a[c[l]]=r.toPixels(e,!0))});a.tooltipPos[1]=a.plotHigh+r.pos-
-m.chart.plotTop})};m.defaultOptions=E(F.defaultOptions,{lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Open: {point.open}<br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0});return m}(F);N(A.prototype,{animate:null,directTouch:!1,pointArrayMap:["open","high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"});
-A.prototype.pointClass=a;m.registerSeriesType("ohlc",A);"";return A});S(a,"Series/Candlestick/CandlestickSeries.js",[a["Core/Options.js"],a["Core/Color/Palette.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m,A,C){var F=this&&this.__extends||function(){var a=function(m,v){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var c in l)l.hasOwnProperty(c)&&(a[c]=l[c])};return a(m,v)};return function(m,v){function c(){this.constructor=
-m}a(m,v);m.prototype=null===v?Object.create(v):(c.prototype=v.prototype,new c)}}(),N=a.defaultOptions;a=A.seriesTypes;var E=a.column,I=a.ohlc,B=C.merge;C=function(a){function r(){var m=null!==a&&a.apply(this,arguments)||this;m.data=void 0;m.options=void 0;m.points=void 0;return m}F(r,a);r.prototype.pointAttribs=function(a,c){var l=E.prototype.pointAttribs.call(this,a,c),e=this.options,m=a.open<a.close,r=e.lineColor||this.color,k=a.color||this.color;l["stroke-width"]=e.lineWidth;l.fill=a.options.color||
-(m?e.upColor||k:k);l.stroke=a.options.lineColor||(m?e.upLineColor||r:r);c&&(a=e.states[c],l.fill=a.color||l.fill,l.stroke=a.lineColor||l.stroke,l["stroke-width"]=a.lineWidth||l["stroke-width"]);return l};r.prototype.drawPoints=function(){var a=this,c=a.chart,l=a.yAxis.reversed;a.points.forEach(function(e){var m=e.graphic,r=!m;if("undefined"!==typeof e.plotY){m||(e.graphic=m=c.renderer.path().add(a.group));a.chart.styledMode||m.attr(a.pointAttribs(e,e.selected&&"select")).shadow(a.options.shadow);
-var k=m.strokeWidth()%2/2;var v=Math.round(e.plotX)-k;var w=e.plotOpen;var h=e.plotClose;var z=Math.min(w,h);w=Math.max(w,h);var q=Math.round(e.shapeArgs.width/2);h=l?w!==e.yBottom:Math.round(z)!==Math.round(e.plotHigh);var x=l?Math.round(z)!==Math.round(e.plotHigh):w!==e.yBottom;z=Math.round(z)+k;w=Math.round(w)+k;k=[];k.push(["M",v-q,w],["L",v-q,z],["L",v+q,z],["L",v+q,w],["Z"],["M",v,z],["L",v,h?Math.round(l?e.yBottom:e.plotHigh):z],["M",v,w],["L",v,x?Math.round(l?e.plotHigh:e.yBottom):w]);m[r?
-"attr":"animate"]({d:k}).addClass(e.getClassName(),!0)}})};r.defaultOptions=B(I.defaultOptions,N.plotOptions,{states:{hover:{lineWidth:2}},tooltip:N.plotOptions.ohlc.tooltip,threshold:null,lineColor:m.neutralColor100,lineWidth:1,upColor:m.backgroundColor,stickyTracking:!0});return r}(I);A.registerSeriesType("candlestick",C);"";return C});S(a,"Series/Flags/FlagsPoint.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,m){var A=this&&this.__extends||function(){var a=function(m,
-A){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,m){a.__proto__=m}||function(a,m){for(var z in m)m.hasOwnProperty(z)&&(a[z]=m[z])};return a(m,A)};return function(m,A){function C(){this.constructor=m}a(m,A);m.prototype=null===A?Object.create(A):(C.prototype=A.prototype,new C)}}(),C=m.isNumber;return function(a){function m(){var m=null!==a&&a.apply(this,arguments)||this;m.options=void 0;m.series=void 0;return m}A(m,a);m.prototype.isValid=function(){return C(this.y)||"undefined"===
-typeof this.y};return m}(a.seriesTypes.column.prototype.pointClass)});S(a,"Mixins/OnSeries.js",[a["Series/Column/ColumnSeries.js"],a["Core/Series/Series.js"],a["Core/Utilities.js"]],function(a,m,A){var C=a.prototype,F=m.prototype,N=A.defined,E=A.stableSort;return{getPlotBox:function(){return F.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this)},translate:function(){C.translate.apply(this);var a=this,m=a.options,z=a.chart,r=a.points,v=r.length-1,c,l=m.onSeries;l=l&&
-z.get(l);m=m.onKey||"y";var e=l&&l.options.step,n=l&&l.points,y=n&&n.length,k=z.inverted,A=a.xAxis,w=a.yAxis,h=0,G;if(l&&l.visible&&y){h=(l.pointXOffset||0)+(l.barW||0)/2;z=l.currentDataGrouping;var q=n[y-1].x+(z?z.totalRange:0);E(r,function(a,b){return a.x-b.x});for(m="plot"+m[0].toUpperCase()+m.substr(1);y--&&r[v];){var x=n[y];z=r[v];z.y=x.y;if(x.x<=z.x&&"undefined"!==typeof x[m]){if(z.x<=q&&(z.plotY=x[m],x.x<z.x&&!e&&(G=n[y+1])&&"undefined"!==typeof G[m])){var b=(z.x-x.x)/(G.x-x.x);z.plotY+=b*
-(G[m]-x[m]);z.y+=b*(G.y-x.y)}v--;y++;if(0>v)break}}}r.forEach(function(b,e){b.plotX+=h;if("undefined"===typeof b.plotY||k)0<=b.plotX&&b.plotX<=A.len?k?(b.plotY=A.translate(b.x,0,1,0,1),b.plotX=N(b.y)?w.translate(b.y,0,0,0,1):0):b.plotY=(A.opposite?0:a.yAxis.len)+A.offset:b.shapeArgs={};if((c=r[e-1])&&c.plotX===b.plotX){"undefined"===typeof c.stackIndex&&(c.stackIndex=0);var d=c.stackIndex+1}b.stackIndex=d});this.onSeries=l}}});S(a,"Series/Flags/FlagsSymbols.js",[a["Core/Globals.js"],a["Core/Renderer/SVG/SVGRenderer.js"]],
-function(a,m){function A(a){N[a+"pin"]=function(m,A,z,r,v){var c=v&&v.anchorX;v=v&&v.anchorY;"circle"===a&&r>z&&(m-=Math.round((r-z)/2),z=r);var l=N[a](m,A,z,r);if(c&&v){var e=c;"circle"===a?e=m+z/2:(m=l[0],z=l[1],"M"===m[0]&&"L"===z[0]&&(e=(m[1]+z[1])/2));l.push(["M",e,A>v?A:A+r],["L",c,v]);l=l.concat(N.circle(c-1,v-1,2,2))}return l}}var C=a.Renderer,F=a.VMLRenderer,N=m.prototype.symbols;N.flag=function(a,m,A,z,r){var v=r&&r.anchorX||a;r=r&&r.anchorY||m;var c=N.circle(v-1,r-1,2,2);c.push(["M",v,
-r],["L",a,m+z],["L",a,m],["L",a+A,m],["L",a+A,m+z],["L",a,m+z],["Z"]);return c};A("circle");A("square");C===F&&["circlepin","flag","squarepin"].forEach(function(a){F.prototype.symbols[a]=N[a]});return N});S(a,"Series/Flags/FlagsSeries.js",[a["Series/Flags/FlagsPoint.js"],a["Core/Globals.js"],a["Mixins/OnSeries.js"],a["Core/Color/Palette.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N,E){var I=this&&this.__extends||function(){var a=
-function(c,e){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e])};return a(c,e)};return function(c,e){function h(){this.constructor=c}a(c,e);c.prototype=null===e?Object.create(e):(h.prototype=e.prototype,new h)}}(),B=m.noop,z=F.series,r=F.seriesTypes.column,v=E.addEvent,c=E.defined,l=E.extend,e=E.merge,n=E.objectEach,y=E.wrap;E=function(a){function k(){var c=null!==a&&a.apply(this,arguments)||this;c.data=
-void 0;c.options=void 0;c.points=void 0;return c}I(k,a);k.prototype.animate=function(a){a&&this.setClip()};k.prototype.drawPoints=function(){var a=this.points,h=this.chart,k=h.renderer,l=h.inverted,r=this.options,b=r.y,d,v=this.yAxis,z={},A=[];for(d=a.length;d--;){var g=a[d];var J=(l?g.plotY:g.plotX)>this.xAxis.len;var p=g.plotX;var f=g.stackIndex;var H=g.options.shape||r.shape;var u=g.plotY;"undefined"!==typeof u&&(u=g.plotY+b-("undefined"!==typeof f&&f*r.stackDistance));g.anchorX=f?void 0:g.plotX;
-var B=f?void 0:g.plotY;var t="flag"!==H;f=g.graphic;"undefined"!==typeof u&&0<=p&&!J?(f||(f=g.graphic=k.label("",null,null,H,null,null,r.useHTML).addClass("highcharts-point").add(this.markerGroup),g.graphic.div&&(g.graphic.div.point=g),f.isNew=!0),f.attr({align:t?"center":"left",width:r.width,height:r.height,"text-align":r.textAlign}),h.styledMode||f.attr(this.pointAttribs(g)).css(e(r.style,g.style)).shadow(r.shadow),0<p&&(p-=f.strokeWidth()%2),H={y:u,anchorY:B},r.allowOverlapX&&(H.x=p,H.anchorX=
-g.anchorX),f.attr({text:g.options.title||r.title||"A"})[f.isNew?"attr":"animate"](H),r.allowOverlapX||(z[g.plotX]?z[g.plotX].size=Math.max(z[g.plotX].size,f.width):z[g.plotX]={align:t?.5:0,size:f.width,target:p,anchorX:p}),g.tooltipPos=[p,u+v.pos-h.plotTop]):f&&(g.graphic=f.destroy())}r.allowOverlapX||(n(z,function(a){a.plotX=a.anchorX;A.push(a)}),m.distribute(A,l?v.len:this.xAxis.len,100),a.forEach(function(a){var b=a.graphic&&z[a.plotX];b&&(a.graphic[a.graphic.isNew?"attr":"animate"]({x:b.pos+b.align*
-b.size,anchorX:a.anchorX}),c(b.pos)?a.graphic.isNew=!1:(a.graphic.attr({x:-9999,anchorX:-9999}),a.graphic.isNew=!0))}));r.useHTML&&y(this.markerGroup,"on",function(a){return N.prototype.on.apply(a.apply(this,[].slice.call(arguments,1)),[].slice.call(arguments,1))})};k.prototype.drawTracker=function(){var c=this.points;a.prototype.drawTracker.call(this);c.forEach(function(a){var e=a.graphic;e&&v(e.element,"mouseover",function(){0<a.stackIndex&&!a.raised&&(a._y=e.y,e.attr({y:a._y-8}),a.raised=!0);c.forEach(function(c){c!==
-a&&c.raised&&c.graphic&&(c.graphic.attr({y:c._y}),c.raised=!1)})})})};k.prototype.pointAttribs=function(a,c){var e=this.options,h=a&&a.color||this.color,k=e.lineColor,b=a&&a.lineWidth;a=a&&a.fillColor||e.fillColor;c&&(a=e.states[c].fillColor,k=e.states[c].lineColor,b=e.states[c].lineWidth);return{fill:a||h,stroke:k||h,"stroke-width":b||e.lineWidth||0}};k.prototype.setClip=function(){z.prototype.setClip.apply(this,arguments);!1!==this.options.clip&&this.sharedClipKey&&this.markerGroup.clip(this.chart[this.sharedClipKey])};
-k.defaultOptions=e(r.defaultOptions,{pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}<br/>"},threshold:null,y:-30,fillColor:C.backgroundColor,lineWidth:1,states:{hover:{lineColor:C.neutralColor100,fillColor:C.highlightColor20}},style:{fontSize:"11px",fontWeight:"bold"}});return k}(r);l(E.prototype,{allowDG:!1,buildKDTree:B,forceCrop:!0,getPlotBox:A.getPlotBox,init:z.prototype.init,invertGroups:B,invertible:!1,noSharedTooltip:!0,pointClass:a,
-sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],translate:A.translate});F.registerSeriesType("flags",E);"";"";return E});S(a,"Extensions/RangeSelector.js",[a["Core/Axis/Axis.js"],a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Options.js"],a["Core/Color/Palette.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N,E){function I(a){if(-1!==a.indexOf("%L"))return"text";var b="aAdewbBmoyY".split("").some(function(b){return-1!==a.indexOf("%"+b)}),
-c="HkIlMS".split("").some(function(b){return-1!==a.indexOf("%"+b)});return b&&c?"datetime-local":b?"date":c?"time":"text"}var B=C.defaultOptions,z=E.addEvent,r=E.createElement,v=E.css,c=E.defined,l=E.destroyObjectProperties,e=E.discardElement,n=E.extend,y=E.find,k=E.fireEvent,O=E.isNumber,w=E.merge,h=E.objectEach,G=E.pad,q=E.pick,x=E.pInt,b=E.splat;n(B,{rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,
-height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:F.highlightColor80,cursor:"pointer"},labelStyle:{color:F.neutralColor60}}});n(B.lang,{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"\u2192"});
-var d=function(){function d(a){this.buttons=void 0;this.buttonOptions=d.prototype.defaultButtons;this.initialButtonGroupWidth=0;this.options=void 0;this.chart=a;this.init(a)}d.prototype.clickButton=function(d,e){var g=this.chart,f=this.buttonOptions[d],h=g.xAxis[0],l=g.scroller&&g.scroller.getUnionExtremes()||h||{},m=l.dataMin,n=l.dataMax,r=h&&Math.round(Math.min(h.max,q(n,h.max))),v=f.type;l=f._range;var w,y=f.dataGrouping;if(null!==m&&null!==n){g.fixedRange=l;y&&(this.forcedDataGrouping=!0,a.prototype.setDataGrouping.call(h||
-{chart:this.chart},y,!1),this.frozenStates=f.preserveDataGrouping);if("month"===v||"year"===v)if(h){v={range:f,max:r,chart:g,dataMin:m,dataMax:n};var x=h.minFromRange.call(v);O(v.newMax)&&(r=v.newMax)}else l=f;else if(l)x=Math.max(r-l,m),r=Math.min(x+l,n);else if("ytd"===v)if(h)"undefined"===typeof n&&(m=Number.MAX_VALUE,n=Number.MIN_VALUE,g.series.forEach(function(a){a=a.xData;m=Math.min(a[0],m);n=Math.max(a[a.length-1],n)}),e=!1),r=this.getYTDExtremes(n,m,g.time.useUTC),x=w=r.min,r=r.max;else{this.deferredYTDClick=
-d;return}else"all"===v&&h&&(x=m,r=n);c(x)&&(x+=f._offsetMin);c(r)&&(r+=f._offsetMax);this.setSelected(d);this.dropdown&&(this.dropdown.selectedIndex=d+1);if(h)h.setExtremes(x,r,q(e,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:f});else{var J=b(g.options.xAxis)[0];var A=J.range;J.range=l;var B=J.min;J.min=w;z(g,"load",function(){J.range=A;J.min=B})}k(this,"afterBtnClick")}};d.prototype.setSelected=function(a){this.selected=this.options.selected=a};d.prototype.init=function(a){var b=
-this,c=a.options.rangeSelector,d=c.buttons||b.defaultButtons.slice(),e=c.selected,g=function(){var a=b.minInput,c=b.maxInput;a&&a.blur&&k(a,"blur");c&&c.blur&&k(c,"blur")};b.chart=a;b.options=c;b.buttons=[];b.buttonOptions=d;this.eventsToUnbind=[];this.eventsToUnbind.push(z(a.container,"mousedown",g));this.eventsToUnbind.push(z(a,"resize",g));d.forEach(b.computeButtonRange);"undefined"!==typeof e&&d[e]&&this.clickButton(e,!1);this.eventsToUnbind.push(z(a,"load",function(){a.xAxis&&a.xAxis[0]&&z(a.xAxis[0],
-"setExtremes",function(c){this.max-this.min!==a.fixedRange&&"rangeSelectorButton"!==c.trigger&&"updatedData"!==c.trigger&&b.forcedDataGrouping&&!b.frozenStates&&this.setDataGrouping(!1,!1)})}))};d.prototype.updateButtonStates=function(){var a=this,b=this.chart,c=this.dropdown,d=b.xAxis[0],e=Math.round(d.max-d.min),h=!d.hasVisibleSeries,k=b.scroller&&b.scroller.getUnionExtremes()||d,l=k.dataMin,m=k.dataMax;b=a.getYTDExtremes(m,l,b.time.useUTC);var n=b.min,q=b.max,r=a.selected,v=O(r),w=a.options.allButtonsEnabled,
-x=a.buttons;a.buttonOptions.forEach(function(b,g){var f=b._range,k=b.type,p=b.count||1,t=x[g],u=0,y=b._offsetMax-b._offsetMin;b=g===r;var z=f>m-l,H=f<d.minRange,J=!1,A=!1;f=f===e;("month"===k||"year"===k)&&e+36E5>=864E5*{month:28,year:365}[k]*p-y&&e-36E5<=864E5*{month:31,year:366}[k]*p+y?f=!0:"ytd"===k?(f=q-n+y===e,J=!b):"all"===k&&(f=d.max-d.min>=m-l,A=!b&&v&&f);k=!w&&(z||H||A||h);p=b&&f||f&&!v&&!J||b&&a.frozenStates;k?u=3:p&&(v=!0,u=2);t.state!==u&&(t.setState(u),c&&(c.options[g+1].disabled=k,2===
-u&&(c.selectedIndex=g+1)),0===u&&r===g&&a.setSelected())})};d.prototype.computeButtonRange=function(a){var b=a.type,c=a.count||1,d={millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5};if(d[b])a._range=d[b]*c;else if("month"===b||"year"===b)a._range=864E5*{month:30,year:365}[b]*c;a._offsetMin=q(a.offsetMin,0);a._offsetMax=q(a.offsetMax,0);a._range+=a._offsetMax-a._offsetMin};d.prototype.getInputValue=function(a){a="min"===a?this.minInput:this.maxInput;var b=this.chart.options.rangeSelector,
-c=this.chart.time;return a?("text"===a.type&&b.inputDateParser||this.defaultInputDateParser)(a.value,c.useUTC,c):0};d.prototype.setInputValue=function(a,b){var d=this.options,e=this.chart.time,g="min"===a?this.minInput:this.maxInput;a="min"===a?this.minDateBox:this.maxDateBox;if(g){var h=g.getAttribute("data-hc-time");h=c(h)?Number(h):void 0;c(b)&&(c(h)&&g.setAttribute("data-hc-time-previous",h),g.setAttribute("data-hc-time",b),h=b);g.value=e.dateFormat(this.inputTypeFormats[g.type]||d.inputEditDateFormat,
-h);a&&a.attr({text:e.dateFormat(d.inputDateFormat,h)})}};d.prototype.setInputExtremes=function(a,b,c){if(a="min"===a?this.minInput:this.maxInput){var d=this.inputTypeFormats[a.type],e=this.chart.time;d&&(b=e.dateFormat(d,b),a.min!==b&&(a.min=b),c=e.dateFormat(d,c),a.max!==c&&(a.max=c))}};d.prototype.showInput=function(a){var b="min"===a?this.minDateBox:this.maxDateBox;if((a="min"===a?this.minInput:this.maxInput)&&b&&this.inputGroup){var c="text"===a.type,d=this.inputGroup,e=d.translateX;d=d.translateY;
-v(a,{width:c?b.width-2+"px":"auto",height:c?b.height-2+"px":"auto",border:"2px solid silver"});c?v(a,{left:e+b.x+"px",top:d+"px"}):v(a,{left:Math.min(Math.round(b.x+e-(a.offsetWidth-b.width)/2),this.chart.chartWidth-a.offsetWidth)+"px",top:d-(a.offsetHeight-b.height)/2+"px"})}};d.prototype.hideInput=function(a){(a="min"===a?this.minInput:this.maxInput)&&v(a,{top:"-9999em",border:0,width:"1px",height:"1px"})};d.prototype.defaultInputDateParser=function(a,b,c){var d=a.split("/").join("-").split(" ").join("T");
--1===d.indexOf("T")&&(d+="T00:00");if(b)d+="Z";else{var e;if(e=A.isSafari)e=d,e=!(6<e.length&&(e.lastIndexOf("-")===e.length-6||e.lastIndexOf("+")===e.length-6));e&&(e=(new Date(d)).getTimezoneOffset()/60,d+=0>=e?"+"+G(-e)+":00":"-"+G(e)+":00")}d=Date.parse(d);O(d)||(a=a.split("-"),d=Date.UTC(x(a[0]),x(a[1])-1,x(a[2])));c&&b&&(d+=c.getTimezoneOffset(d));return d};d.prototype.drawInput=function(a){function b(){var b=g.getInputValue(a),d=c.xAxis[0],e=c.scroller&&c.scroller.xAxis?c.scroller.xAxis:d,
-f=e.dataMin;e=e.dataMax;var h=g.maxInput,k=g.minInput;b!==Number(x.getAttribute("data-hc-time-previous"))&&O(b)&&(x.setAttribute("data-hc-time-previous",b),m&&h&&O(f)?b>Number(h.getAttribute("data-hc-time"))?b=void 0:b<f&&(b=f):k&&O(e)&&(b<Number(k.getAttribute("data-hc-time"))?b=void 0:b>e&&(b=e)),"undefined"!==typeof b&&d.setExtremes(m?b:d.min,m?d.max:b,void 0,void 0,{trigger:"rangeSelectorInput"}))}var c=this.chart,d=this.div,e=this.inputGroup,g=this,h=c.renderer.style||{},k=c.renderer,l=c.options.rangeSelector,
-m="min"===a,q=B.lang[m?"rangeSelectorFrom":"rangeSelectorTo"];q=k.label(q,0).addClass("highcharts-range-label").attr({padding:q?2:0}).add(e);k=k.label("",0).addClass("highcharts-range-input").attr({padding:2,width:l.inputBoxWidth,height:l.inputBoxHeight,"text-align":"center"}).on("click",function(){g.showInput(a);g[a+"Input"].focus()});c.styledMode||k.attr({stroke:l.inputBoxBorderColor,"stroke-width":1});k.add(e);var x=r("input",{name:a,className:"highcharts-range-selector"},void 0,d);x.setAttribute("type",
-I(l.inputDateFormat||"%b %e, %Y"));c.styledMode||(q.css(w(h,l.labelStyle)),k.css(w({color:F.neutralColor80},h,l.inputStyle)),v(x,n({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:h.fontSize,fontFamily:h.fontFamily,top:"-9999em"},l.inputStyle)));x.onfocus=function(){g.showInput(a)};x.onblur=function(){x===A.doc.activeElement&&b();g.hideInput(a);g.setInputValue(a);x.blur()};var y=!1;x.onchange=function(){b();y||(g.hideInput(a),
-x.blur())};x.onkeypress=function(a){13===a.keyCode&&b()};x.onkeydown=function(){y=!0};x.onkeyup=function(){y=!1};return{dateBox:k,input:x,label:q}};d.prototype.getPosition=function(){var a=this.chart,b=a.options.rangeSelector;a="top"===b.verticalAlign?a.plotTop-a.axisOffset[0]:0;return{buttonTop:a+b.buttonPosition.y,inputTop:a+b.inputPosition.y-10}};d.prototype.getYTDExtremes=function(a,b,c){var d=this.chart.time,e=new d.Date(a),g=d.get("FullYear",e);c=c?d.Date.UTC(g,0,1):+new d.Date(g,0,1);b=Math.max(b,
-c);e=e.getTime();return{max:Math.min(a||e,e),min:b}};d.prototype.render=function(a,b){var d=this.chart,e=d.renderer,g=d.container,h=d.options,k=h.rangeSelector,l=q(h.chart.style&&h.chart.style.zIndex,0)+1;h=k.inputEnabled;if(!1!==k.enabled){this.rendered||(this.group=e.g("range-selector-group").attr({zIndex:7}).add(),this.div=r("div",void 0,{position:"relative",height:0,zIndex:l}),this.buttonOptions.length&&this.renderButtons(),g.parentNode&&g.parentNode.insertBefore(this.div,g),h&&(this.inputGroup=
-e.g("input-group").add(this.group),e=this.drawInput("min"),this.minDateBox=e.dateBox,this.minLabel=e.label,this.minInput=e.input,e=this.drawInput("max"),this.maxDateBox=e.dateBox,this.maxLabel=e.label,this.maxInput=e.input));if(h&&(this.setInputValue("min",a),this.setInputValue("max",b),a=d.scroller&&d.scroller.getUnionExtremes()||d.xAxis[0]||{},c(a.dataMin)&&c(a.dataMax)&&(d=d.xAxis[0].minRange||0,this.setInputExtremes("min",a.dataMin,Math.min(a.dataMax,this.getInputValue("max"))-d),this.setInputExtremes("max",
-Math.max(a.dataMin,this.getInputValue("min"))+d,a.dataMax)),this.inputGroup)){var m=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach(function(a){a&&a.width&&(a.attr({x:m}),m+=a.width+k.inputSpacing)})}this.alignElements();this.rendered=!0}};d.prototype.renderButtons=function(){var a=this,b=this.buttons,c=this.options,d=B.lang,e=this.chart.renderer,h=w(c.buttonTheme),l=h&&h.states,m=h.width||28;delete h.width;this.buttonGroup=e.g("range-selector-buttons").add(this.group);var n=
-this.dropdown=r("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:.0001},this.div);z(n,"touchstart",function(){n.style.fontSize="16px"});[[A.isMS?"mouseover":"mouseenter"],[A.isMS?"mouseout":"mouseleave"],["change","click"]].forEach(function(c){var d=c[0],e=c[1];z(n,d,function(){var c=b[a.currentButtonIndex()];c&&k(c.element,e||d)})});this.zoomText=e.text(d.rangeSelectorZoom,0,15).add(this.buttonGroup);this.chart.styledMode||(this.zoomText.css(c.labelStyle),
-h["stroke-width"]=q(h["stroke-width"],0));r("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,n);this.buttonOptions.forEach(function(c,d){r("option",{textContent:c.title||c.text},void 0,n);b[d]=e.button(c.text,0,0,function(b){var e=c.events&&c.events.click,f;e&&(f=e.call(c,b));!1!==f&&a.clickButton(d);a.isActive=!0},h,l&&l.hover,l&&l.select,l&&l.disabled).attr({"text-align":"center",width:m}).add(a.buttonGroup);c.title&&b[d].attr("title",c.title)})};d.prototype.alignElements=function(){var a=
-this,b=this.buttonGroup,c=this.buttons,d=this.chart,e=this.group,h=this.inputGroup,k=this.options,l=this.zoomText,m=d.options,n=m.exporting&&!1!==m.exporting.enabled&&m.navigation&&m.navigation.buttonOptions;m=k.buttonPosition;var r=k.inputPosition,v=k.verticalAlign,w=function(b,c){return n&&a.titleCollision(d)&&"top"===v&&"right"===c.align&&c.y-b.getBBox().height-12<(n.y||0)+(n.height||0)+d.spacing[0]?-40:0},x=d.plotLeft;if(e&&m&&r){var y=m.x-d.spacing[3];if(b){this.positionButtons();if(!this.initialButtonGroupWidth){var z=
-0;l&&(z+=l.getBBox().width+5);c.forEach(function(a,b){z+=a.width;b!==c.length-1&&(z+=k.buttonSpacing)});this.initialButtonGroupWidth=z}x-=d.spacing[3];this.updateButtonStates();l=w(b,m);this.alignButtonGroup(l);e.placed=b.placed=d.hasLoaded}b=0;h&&(b=w(h,r),"left"===r.align?y=x:"right"===r.align&&(y=-Math.max(d.axisOffset[1],-b)),h.align({y:r.y,width:h.getBBox().width,align:r.align,x:r.x+y-2},!0,d.spacingBox),h.placed=d.hasLoaded);this.handleCollision(b);e.align({verticalAlign:v},!0,d.spacingBox);
-h=e.alignAttr.translateY;b=e.getBBox().height+20;w=0;"bottom"===v&&(w=(w=d.legend&&d.legend.options)&&"bottom"===w.verticalAlign&&w.enabled&&!w.floating?d.legend.legendHeight+q(w.margin,10):0,b=b+w-20,w=h-b-(k.floating?0:k.y)-(d.titleOffset?d.titleOffset[2]:0)-10);if("top"===v)k.floating&&(w=0),d.titleOffset&&d.titleOffset[0]&&(w=d.titleOffset[0]),w+=d.margin[0]-d.spacing[0]||0;else if("middle"===v)if(r.y===m.y)w=h;else if(r.y||m.y)w=0>r.y||0>m.y?w-Math.min(r.y,m.y):h-b;e.translate(k.x,k.y+Math.floor(w));
-m=this.minInput;r=this.maxInput;h=this.dropdown;k.inputEnabled&&m&&r&&(m.style.marginTop=e.translateY+"px",r.style.marginTop=e.translateY+"px");h&&(h.style.marginTop=e.translateY+"px")}};d.prototype.alignButtonGroup=function(a,b){var c=this.chart,d=this.buttonGroup,e=this.options.buttonPosition,g=c.plotLeft-c.spacing[3],h=e.x-c.spacing[3];"right"===e.align?h+=a-g:"center"===e.align&&(h-=g/2);d&&d.align({y:e.y,width:q(b,this.initialButtonGroupWidth),align:e.align,x:h},!0,c.spacingBox)};d.prototype.positionButtons=
-function(){var a=this.buttons,b=this.chart,c=this.options,d=this.zoomText,e=b.hasLoaded?"animate":"attr",h=c.buttonPosition,k=b.plotLeft,l=k;d&&"hidden"!==d.visibility&&(d[e]({x:q(k+h.x,k)}),l+=h.x+d.getBBox().width+5);this.buttonOptions.forEach(function(b,d){if("hidden"!==a[d].visibility)a[d][e]({x:l}),l+=a[d].width+c.buttonSpacing;else a[d][e]({x:k})})};d.prototype.handleCollision=function(a){var b=this,c=this.chart,d=this.buttonGroup,e=this.inputGroup,g=this.options,h=g.buttonPosition,k=g.dropdown,
-l=g.inputPosition;g=function(){var a=0;b.buttons.forEach(function(b){b=b.getBBox();b.width>a&&(a=b.width)});return a};var m=function(b){if(e&&d){var c=e.alignAttr.translateX+e.alignOptions.x-a+e.getBBox().x+2,g=e.alignOptions.width,f=d.alignAttr.translateX+d.getBBox().x;return f+b>c&&c+g>f&&h.y<l.y+e.getBBox().height}return!1},n=function(){e&&d&&e.attr({translateX:e.alignAttr.translateX+(c.axisOffset[1]>=-a?0:-a),translateY:e.alignAttr.translateY+d.getBBox().height+10})};if(d){if("always"===k){this.collapseButtons(a);
-m(g())&&n();return}"never"===k&&this.expandButtons()}e&&d?l.align===h.align||m(this.initialButtonGroupWidth+20)?"responsive"===k?(this.collapseButtons(a),m(g())&&n()):n():"responsive"===k&&this.expandButtons():d&&"responsive"===k&&(this.initialButtonGroupWidth>c.plotWidth?this.collapseButtons(a):this.expandButtons())};d.prototype.collapseButtons=function(a){var b,c=this.buttons,d=this.buttonOptions,e=this.dropdown,g=this.options,h=this.zoomText,k=function(a){return{text:a?a+" \u25be":"\u25be",width:"auto",
-paddingLeft:8,paddingRight:8}};h&&h.hide();var l=!1;d.forEach(function(a,b){b=c[b];2!==b.state?b.hide():(b.show(),b.attr(k(a.text)),l=!0)});l||(e&&(e.selectedIndex=0),c[0].show(),c[0].attr(k(null===(b=this.zoomText)||void 0===b?void 0:b.textStr)));b=g.buttonPosition.align;this.positionButtons();"right"!==b&&"center"!==b||this.alignButtonGroup(a,c[this.currentButtonIndex()].getBBox().width);this.showDropdown()};d.prototype.expandButtons=function(){var a=this.buttons,b=this.buttonOptions,c=this.options,
-d=this.zoomText;this.hideDropdown();d&&d.show();b.forEach(function(b,d){d=a[d];d.show();d.attr({text:b.text,width:c.buttonTheme.width||28,paddingLeft:"unset",paddingRight:"unset"});2>d.state&&d.setState(0)});this.positionButtons()};d.prototype.currentButtonIndex=function(){var a=this.dropdown;return a&&0<a.selectedIndex?a.selectedIndex-1:0};d.prototype.showDropdown=function(){var a=this.buttonGroup,b=this.buttons,c=this.chart,d=this.dropdown;if(a&&d){var e=a.translateX;a=a.translateY;b=b[this.currentButtonIndex()].getBBox();
-v(d,{left:c.plotLeft+e+"px",top:a+.5+"px",width:b.width+"px",height:b.height+"px"});this.hasVisibleDropdown=!0}};d.prototype.hideDropdown=function(){var a=this.dropdown;a&&(v(a,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)};d.prototype.getHeight=function(){var a=this.options,b=this.group,c=a.y,d=a.buttonPosition.y,e=a.inputPosition.y;if(a.height)return a.height;this.alignElements();a=b?b.getBBox(!0).height+13+c:0;b=Math.min(e,d);if(0>e&&0>d||0<e&&0<d)a+=Math.abs(b);return a};
-d.prototype.titleCollision=function(a){return!(a.options.title.text||a.options.subtitle.text)};d.prototype.update=function(a){var b=this.chart;w(!0,b.options.rangeSelector,a);this.destroy();this.init(b);this.render()};d.prototype.destroy=function(){var a=this,b=a.minInput,c=a.maxInput;a.eventsToUnbind&&(a.eventsToUnbind.forEach(function(a){return a()}),a.eventsToUnbind=void 0);l(a.buttons);b&&(b.onfocus=b.onblur=b.onchange=null);c&&(c.onfocus=c.onblur=c.onchange=null);h(a,function(b,c){b&&"chart"!==
-c&&(b instanceof N?b.destroy():b instanceof window.HTMLElement&&e(b));b!==d.prototype[c]&&(a[c]=null)},this)};return d}();d.prototype.defaultButtons=[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}];d.prototype.inputTypeFormats={"datetime-local":"%Y-%m-%dT%H:%M:%S",
-date:"%Y-%m-%d",time:"%H:%M:%S"};a.prototype.minFromRange=function(){var a=this.range,b=a.type,c=this.max,d=this.chart.time,e=function(a,c){var e="year"===b?"FullYear":"Month",f=new d.Date(a),g=d.get(e,f);d.set(e,f,g+c);g===d.get(e,f)&&d.set("Date",f,0);return f.getTime()-a};if(O(a)){var h=c-a;var k=a}else h=c+e(c,-a.count),this.chart&&(this.chart.fixedRange=c-h);var l=q(this.dataMin,Number.MIN_VALUE);O(h)||(h=l);h<=l&&(h=l,"undefined"===typeof k&&(k=e(h,a.count)),this.newMax=Math.min(h+k,this.dataMax));
-O(c)||(h=void 0);return h};if(!A.RangeSelector){var L=[],M=function(a){function b(){d&&(c=a.xAxis[0].getExtremes(),e=a.legend,k=null===d||void 0===d?void 0:d.options.verticalAlign,O(c.min)&&d.render(c.min,c.max),e.display&&"top"===k&&k===e.options.verticalAlign&&(h=w(a.spacingBox),h.y="vertical"===e.options.layout?a.plotTop:h.y+d.getHeight(),e.group.placed=!1,e.align(h)))}var c,d=a.rangeSelector,e,h,k;d&&(y(L,function(b){return b[0]===a})||L.push([a,[z(a.xAxis[0],"afterSetExtremes",function(a){d&&
-d.render(a.min,a.max)}),z(a,"redraw",b)]]),b())};z(m,"afterGetContainer",function(){var a;if(null===(a=this.options.rangeSelector)||void 0===a?0:a.enabled)this.rangeSelector=new d(this)});z(m,"beforeRender",function(){var a=this.axes,b=this.rangeSelector;b&&(O(b.deferredYTDClick)&&(b.clickButton(b.deferredYTDClick),delete b.deferredYTDClick),a.forEach(function(a){a.updateNames();a.setScale()}),this.getAxisMargins(),b.render(),a=b.options.verticalAlign,b.options.floating||("bottom"===a?this.extraBottomMargin=
-!0:"middle"!==a&&(this.extraTopMargin=!0)))});z(m,"update",function(a){var b=a.options.rangeSelector;a=this.rangeSelector;var e=this.extraBottomMargin,h=this.extraTopMargin;b&&b.enabled&&!c(a)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=a=new d(this));this.extraTopMargin=this.extraBottomMargin=!1;a&&(M(this),b=b&&b.verticalAlign||a.options&&a.options.verticalAlign,a.options.floating||("bottom"===b?this.extraBottomMargin=!0:"middle"!==b&&(this.extraTopMargin=
-!0)),this.extraBottomMargin!==e||this.extraTopMargin!==h)&&(this.isDirtyBox=!0)});z(m,"render",function(){var a=this.rangeSelector;a&&!a.options.floating&&(a.render(),a=a.options.verticalAlign,"bottom"===a?this.extraBottomMargin=!0:"middle"!==a&&(this.extraTopMargin=!0))});z(m,"getMargins",function(){var a=this.rangeSelector;a&&(a=a.getHeight(),this.extraTopMargin&&(this.plotTop+=a),this.extraBottomMargin&&(this.marginBottom+=a))});m.prototype.callbacks.push(M);z(m,"destroy",function(){for(var a=
-0;a<L.length;a++){var b=L[a];if(b[0]===this){b[1].forEach(function(a){return a()});L.splice(a,1);break}}});A.RangeSelector=d}return A.RangeSelector});S(a,"Core/Chart/StockChart.js",[a["Core/Axis/Axis.js"],a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Color/Palette.js"],a["Core/Series/Point.js"],a["Core/Series/Series.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,m,A,C,F,N,E,I){function B(a,c,e){var g=q(a)||a.nodeName,k=arguments[g?1:0],l=k,f=k.series,n=h(),r,
-v=b(k.navigator&&k.navigator.enabled,n.navigator.enabled,!0);k.xAxis=d(k.xAxis||{}).map(function(a,b){return x({minPadding:0,maxPadding:0,overscroll:0,ordinal:!0,title:{text:null},labels:{overflow:"justify"},showLastLabel:!0},n.xAxis,n.xAxis&&n.xAxis[b],a,{type:"datetime",categories:null},v?{startOnTick:!1,endOnTick:!1}:null)});k.yAxis=d(k.yAxis||{}).map(function(a,c){r=b(a.opposite,!0);return x({labels:{y:-2},opposite:r,showLastLabel:!(!a.categories&&"category"!==a.type),title:{text:null}},n.yAxis,
-n.yAxis&&n.yAxis[c],a)});k.series=null;k=x({chart:{panning:{enabled:!0,type:"x"},pinchType:"x"},navigator:{enabled:v},scrollbar:{enabled:b(n.scrollbar.enabled,!0)},rangeSelector:{enabled:b(n.rangeSelector.enabled,!0)},title:{text:null},tooltip:{split:b(n.tooltip.split,!0),crosshairs:!0},legend:{enabled:!1}},k,{isStock:!0});k.series=l.series=f;return g?new m(a,k,e):new m(k,c)}var z=F.prototype.tooltipFormatter,r=N.prototype,v=r.init,c=r.processData;r=I.addEvent;var l=I.arrayMax,e=I.arrayMin,n=I.clamp,
-y=I.defined,k=I.extend,O=I.find,w=I.format,h=I.getOptions,G=I.isNumber,q=I.isString,x=I.merge,b=I.pick,d=I.splat;r(N,"setOptions",function(a){var b;this.chart.options.isStock&&(this.is("column")||this.is("columnrange")?b={borderWidth:0,shadow:!1}:this.is("scatter")||this.is("sma")||(b={marker:{enabled:!1,radius:2}}),b&&(a.plotOptions[this.type]=x(a.plotOptions[this.type],b)))});r(a,"autoLabelAlign",function(a){var b=this.chart,c=this.options;b=b._labelPanes=b._labelPanes||{};var d=this.options.labels;
-this.chart.options.isStock&&"yAxis"===this.coll&&(c=c.top+","+c.height,!b[c]&&d.enabled&&(15===d.x&&(d.x=0),"undefined"===typeof d.align&&(d.align="right"),b[c]=this,a.align="right",a.preventDefault()))});r(a,"destroy",function(){var a=this.chart,b=this.options&&this.options.top+","+this.options.height;b&&a._labelPanes&&a._labelPanes[b]===this&&delete a._labelPanes[b]});r(a,"getPlotLinePath",function(a){function c(a){var b="xAxis"===a?"yAxis":"xAxis";a=d.options[b];return G(a)?[h[b][a]]:q(a)?[h.get(a)]:
-e.map(function(a){return a[b]})}var d=this,e=this.isLinked&&!this.series?this.linkedParent.series:this.series,h=d.chart,k=h.renderer,f=d.left,l=d.top,m,r,t,v,w=[],x=[],z=a.translatedValue,A=a.value,B=a.force;if(h.options.isStock&&!1!==a.acrossPanes&&"xAxis"===d.coll||"yAxis"===d.coll){a.preventDefault();x=c(d.coll);var C=d.isXAxis?h.yAxis:h.xAxis;C.forEach(function(a){if(y(a.options.id)?-1===a.options.id.indexOf("navigator"):1){var b=a.isXAxis?"yAxis":"xAxis";b=y(a.options[b])?h[b][a.options[b]]:
-h[b][0];d===b&&x.push(a)}});var E=x.length?[]:[d.isXAxis?h.yAxis[0]:h.xAxis[0]];x.forEach(function(a){-1!==E.indexOf(a)||O(E,function(b){return b.pos===a.pos&&b.len===a.len})||E.push(a)});var F=b(z,d.translate(A,null,null,a.old));G(F)&&(d.horiz?E.forEach(function(a){var b;r=a.pos;v=r+a.len;m=t=Math.round(F+d.transB);"pass"!==B&&(m<f||m>f+d.width)&&(B?m=t=n(m,f,f+d.width):b=!0);b||w.push(["M",m,r],["L",t,v])}):E.forEach(function(a){var b;m=a.pos;t=m+a.len;r=v=Math.round(l+d.height-F);"pass"!==B&&(r<
-l||r>l+d.height)&&(B?r=v=n(r,l,l+d.height):b=!0);b||w.push(["M",m,r],["L",t,v])}));a.path=0<w.length?k.crispPolyLine(w,a.lineWidth||1):null}});E.prototype.crispPolyLine=function(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1];d[1]===e[1]&&(d[1]=e[1]=Math.round(d[1])-b%2/2);d[2]===e[2]&&(d[2]=e[2]=Math.round(d[2])+b%2/2)}return a};r(a,"afterHideCrosshair",function(){this.crossLabel&&(this.crossLabel=this.crossLabel.hide())});r(a,"afterDrawCrosshair",function(a){var c,d;if(y(this.crosshair.label)&&
-this.crosshair.label.enabled&&this.cross){var e=this.chart,h=this.logarithmic,l=this.options.crosshair.label,f=this.horiz,m=this.opposite,n=this.left,q=this.top,t=this.crossLabel,r=l.format,v="",x="inside"===this.options.tickPosition,z=!1!==this.crosshair.snap,A=0,B=a.e||this.cross&&this.cross.e,E=a.point;a=this.min;var F=this.max;h&&(a=h.lin2log(a),F=h.lin2log(F));h=f?"center":m?"right"===this.labelAlign?"right":"left":"left"===this.labelAlign?"left":"center";t||(t=this.crossLabel=e.renderer.label(null,
-null,null,l.shape||"callout").addClass("highcharts-crosshair-label"+(this.series[0]&&" highcharts-color-"+this.series[0].colorIndex)).attr({align:l.align||h,padding:b(l.padding,8),r:b(l.borderRadius,3),zIndex:2}).add(this.labelGroup),e.styledMode||t.attr({fill:l.backgroundColor||this.series[0]&&this.series[0].color||C.neutralColor60,stroke:l.borderColor||"","stroke-width":l.borderWidth||0}).css(k({color:C.backgroundColor,fontWeight:"normal",fontSize:"11px",textAlign:"center"},l.style)));f?(h=z?E.plotX+
-n:B.chartX,q+=m?0:this.height):(h=m?this.width+n:0,q=z?E.plotY+q:B.chartY);r||l.formatter||(this.dateTime&&(v="%b %d, %Y"),r="{value"+(v?":"+v:"")+"}");v=z?E[this.isXAxis?"x":"y"]:this.toValue(f?B.chartX:B.chartY);t.attr({text:r?w(r,{value:v},e):l.formatter.call(this,v),x:h,y:q,visibility:v<a||v>F?"hidden":"visible"});l=t.getBBox();if(G(t.y))if(f){if(x&&!m||!x&&m)q=t.y-l.height}else q=t.y-l.height/2;f?(c=n-l.x,d=n+this.width-l.x):(c="left"===this.labelAlign?n:0,d="right"===this.labelAlign?n+this.width:
-e.chartWidth);t.translateX<c&&(A=c-t.translateX);t.translateX+l.width>=d&&(A=-(t.translateX+l.width-d));t.attr({x:h+A,y:q,anchorX:f?h:this.opposite?0:e.chartWidth,anchorY:f?this.opposite?e.chartHeight:0:q+l.height/2})}});N.prototype.init=function(){v.apply(this,arguments);this.initCompare(this.options.compare)};N.prototype.setCompare=function(a){this.initCompare(a);this.userOptions.compare=a};N.prototype.initCompare=function(a){this.modifyValue="value"===a||"percent"===a?function(b,c){var d=this.compareValue;
-return"undefined"!==typeof b&&"undefined"!==typeof d?(b="value"===a?b-d:b/d*100-(100===this.options.compareBase?0:100),c&&(c.change=b),b):0}:null;this.chart.hasRendered&&(this.isDirty=!0)};N.prototype.processData=function(a){var b,d=-1,e=!0===this.options.compareStart?0:1;c.apply(this,arguments);if(this.xAxis&&this.processedYData){var h=this.processedXData;var k=this.processedYData;var f=k.length;this.pointArrayMap&&(d=this.pointArrayMap.indexOf(this.options.pointValKey||this.pointValKey||"y"));for(b=
-0;b<f-e;b++){var l=k[b]&&-1<d?k[b][d]:k[b];if(G(l)&&h[b+e]>=this.xAxis.min&&0!==l){this.compareValue=l;break}}}};r(N,"afterGetExtremes",function(a){a=a.dataExtremes;if(this.modifyValue&&a){var b=[this.modifyValue(a.dataMin),this.modifyValue(a.dataMax)];a.dataMin=e(b);a.dataMax=l(b)}});a.prototype.setCompare=function(a,c){this.isXAxis||(this.series.forEach(function(b){b.setCompare(a)}),b(c,!0)&&this.chart.redraw())};F.prototype.tooltipFormatter=function(a){var c=this.series.chart.numberFormatter;a=
-a.replace("{point.change}",(0<this.change?"+":"")+c(this.change,b(this.series.tooltipOptions.changeDecimals,2)));return z.apply(this,[a])};r(N,"render",function(){var a=this.chart;if(!(a.is3d&&a.is3d()||a.polar)&&this.xAxis&&!this.xAxis.isRadial){var b=this.yAxis.len;if(this.xAxis.axisLine){var c=a.plotTop+a.plotHeight-this.yAxis.pos-this.yAxis.len,d=Math.floor(this.xAxis.axisLine.strokeWidth()/2);0<=c&&(b-=Math.max(d-c,0))}this.clipBox||!this.isDirty||this.isDirtyData?a[this.sharedClipKey]&&(a[this.sharedClipKey].animate({width:this.xAxis.len,
-height:b}),a[this.sharedClipKey+"m"]&&a[this.sharedClipKey+"m"].animate({width:this.xAxis.len})):(this.clipBox=x(a.clipBox),this.clipBox.width=this.xAxis.len,this.clipBox.height=b)}});r(m,"update",function(a){a=a.options;"scrollbar"in a&&this.navigator&&(x(!0,this.options.scrollbar,a.scrollbar),this.navigator.update({},!1),delete a.scrollbar)});A.StockChart=A.stockChart=B;"";return B});S(a,"masters/modules/stock.src.js",[],function(){});S(a,"masters/highstock.src.js",[a["masters/highcharts.src.js"]],
-function(a){a.product="Highstock";return a});a["masters/highstock.src.js"]._modules=a;return a["masters/highstock.src.js"]});
+(function(T,Q){"object"===typeof module&&module.exports?(Q["default"]=Q,module.exports=T.document?Q(T):Q):"function"===typeof define&&define.amd?define("highcharts/highstock",function(){return Q(T)}):(T.Highcharts&&T.Highcharts.error(16,!0),T.Highcharts=Q(T))})("undefined"!==typeof window?window:this,function(T){function Q(d,h,K,F){d.hasOwnProperty(h)||(d[h]=F.apply(null,K))}var d={};Q(d,"Core/Globals.js",[],function(){var d="undefined"!==typeof T?T:"undefined"!==typeof window?window:{},h;(function(h){h.SVG_NS=
+"http://www.w3.org/2000/svg";h.product="Highcharts";h.version="9.1.0";h.win=d;h.doc=h.win.document;h.svg=h.doc&&h.doc.createElementNS&&!!h.doc.createElementNS(h.SVG_NS,"svg").createSVGRect;h.userAgent=h.win.navigator&&h.win.navigator.userAgent||"";h.isChrome=-1!==h.userAgent.indexOf("Chrome");h.isFirefox=-1!==h.userAgent.indexOf("Firefox");h.isMS=/(edge|msie|trident)/i.test(h.userAgent)&&!h.win.opera;h.isSafari=!h.isChrome&&-1!==h.userAgent.indexOf("Safari");h.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(h.userAgent);
+h.isWebKit=-1!==h.userAgent.indexOf("AppleWebKit");h.deg2rad=2*Math.PI/360;h.hasBidiBug=h.isFirefox&&4>parseInt(h.userAgent.split("Firefox/")[1],10);h.hasTouch=!!h.win.TouchEvent;h.marginNames=["plotTop","marginRight","marginBottom","plotLeft"];h.noop=function(){};h.supportsPassiveEvents=function(){var d=!1;if(!h.isMS){var N=Object.defineProperty({},"passive",{get:function(){d=!0}});h.win.addEventListener&&h.win.removeEventListener&&(h.win.addEventListener("testPassive",h.noop,N),h.win.removeEventListener("testPassive",
+h.noop,N))}return d}();h.charts=[];h.dateFormats={};h.seriesTypes={};h.symbolSizes={}})(h||(h={}));return h});Q(d,"Core/Utilities.js",[d["Core/Globals.js"]],function(d){function h(g,n,e,l){var b=n?"Highcharts error":"Highcharts warning";32===g&&(g=b+": Deprecated member");var f=B(g),w=f?b+" #"+g+": www.highcharts.com/errors/"+g+"/":g.toString();if("undefined"!==typeof l){var q="";f&&(w+="?");m(l,function(z,g){q+="\n - "+g+": "+z;f&&(w+=encodeURI(g)+"="+encodeURI(z))});w+=q}A(Highcharts,"displayError",
+{chart:e,code:g,message:w,params:l},function(){if(n)throw Error(w);v.console&&-1===h.messages.indexOf(w)&&console.warn(w)});h.messages.push(w)}function N(g,n){var e={};m(g,function(l,b){if(G(g[b],!0)&&!g.nodeType&&n[b])l=N(g[b],n[b]),Object.keys(l).length&&(e[b]=l);else if(G(g[b])||g[b]!==n[b])e[b]=g[b]});return e}function F(g,n){return parseInt(g,n||10)}function J(g){return"string"===typeof g}function M(g){g=Object.prototype.toString.call(g);return"[object Array]"===g||"[object Array Iterator]"===
+g}function G(g,n){return!!g&&"object"===typeof g&&(!n||!M(g))}function I(g){return G(g)&&"number"===typeof g.nodeType}function D(g){var n=g&&g.constructor;return!(!G(g,!0)||I(g)||!n||!n.name||"Object"===n.name)}function B(g){return"number"===typeof g&&!isNaN(g)&&Infinity>g&&-Infinity<g}function u(g){return"undefined"!==typeof g&&null!==g}function c(g,n,e){var l;J(n)?u(e)?g.setAttribute(n,e):g&&g.getAttribute&&((l=g.getAttribute(n))||"class"!==n||(l=g.getAttribute(n+"Name"))):m(n,function(e,n){g.setAttribute(n,
+e)});return l}function a(g,n){var e;g||(g={});for(e in n)g[e]=n[e];return g}function r(){for(var g=arguments,n=g.length,e=0;e<n;e++){var l=g[e];if("undefined"!==typeof l&&null!==l)return l}}function y(g,n){d.isMS&&!d.svg&&n&&"undefined"!==typeof n.opacity&&(n.filter="alpha(opacity="+100*n.opacity+")");a(g.style,n)}function p(g,n,e,l,b){g=f.createElement(g);n&&a(g,n);b&&y(g,{padding:"0",border:"none",margin:"0"});e&&y(g,e);l&&l.appendChild(g);return g}function O(g,n){return parseFloat(g.toPrecision(n||
+14))}function k(g,n,e){var l=d.getStyle||k;if("width"===n)return n=Math.min(g.offsetWidth,g.scrollWidth),e=g.getBoundingClientRect&&g.getBoundingClientRect().width,e<n&&e>=n-1&&(n=Math.floor(e)),Math.max(0,n-(l(g,"padding-left",!0)||0)-(l(g,"padding-right",!0)||0));if("height"===n)return Math.max(0,Math.min(g.offsetHeight,g.scrollHeight)-(l(g,"padding-top",!0)||0)-(l(g,"padding-bottom",!0)||0));v.getComputedStyle||h(27,!0);if(g=v.getComputedStyle(g,void 0)){var b=g.getPropertyValue(n);r(e,"opacity"!==
+n)&&(b=F(b))}return b}function m(g,n,e){for(var l in g)Object.hasOwnProperty.call(g,l)&&n.call(e||g[l],g[l],l,g)}function L(g,n,e){function l(q,z){var w=g.removeEventListener||d.removeEventListenerPolyfill;w&&w.call(g,q,z,!1)}function b(q){var z;if(g.nodeName){if(n){var w={};w[n]=!0}else w=q;m(w,function(w,g){if(q[g])for(z=q[g].length;z--;)l(g,q[g][z].fn)})}}var f="function"===typeof g&&g.prototype||g;if(Object.hasOwnProperty.call(f,"hcEvents")){var w=f.hcEvents;n?(f=w[n]||[],e?(w[n]=f.filter(function(q){return e!==
+q.fn}),l(n,e)):(b(w),w[n]=[])):(b(w),delete f.hcEvents)}}function A(g,n,e,l){e=e||{};if(f.createEvent&&(g.dispatchEvent||g.fireEvent&&g!==d)){var b=f.createEvent("Events");b.initEvent(n,!0,!0);e=a(b,e);g.dispatchEvent?g.dispatchEvent(e):g.fireEvent(n,e)}else if(g.hcEvents){e.target||a(e,{preventDefault:function(){e.defaultPrevented=!0},target:g,type:n});b=[];for(var v=g,w=!1;v.hcEvents;)Object.hasOwnProperty.call(v,"hcEvents")&&v.hcEvents[n]&&(b.length&&(w=!0),b.unshift.apply(b,v.hcEvents[n])),v=
+Object.getPrototypeOf(v);w&&b.sort(function(q,z){return q.order-z.order});b.forEach(function(q){!1===q.fn.call(g,e)&&e.preventDefault()})}l&&!e.defaultPrevented&&l.call(g,e)}var t=d.charts,f=d.doc,v=d.win;"";(h||(h={})).messages=[];var b;Math.easeInOutSine=function(g){return-.5*(Math.cos(Math.PI*g)-1)};var E=Array.prototype.find?function(g,n){return g.find(n)}:function(g,n){var e,b=g.length;for(e=0;e<b;e++)if(n(g[e],e))return g[e]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},
+function(g,b){d[b]=function(e){var n;h(32,!1,void 0,(n={},n["Highcharts."+b]="use Array."+g,n));return Array.prototype[g].apply(e,[].slice.call(arguments,1))}});var P,H=function(){var g=Math.random().toString(36).substring(2,9)+"-",b=0;return function(){return"highcharts-"+(P?"":g)+b++}}();v.jQuery&&(v.jQuery.fn.highcharts=function(){var g=[].slice.call(arguments);if(this[0])return g[0]?(new (d[J(g[0])?g.shift():"Chart"])(this[0],g[0],g[1]),this):t[c(this[0],"data-highcharts-chart")]});return{addEvent:function(g,
+b,e,l){void 0===l&&(l={});var n="function"===typeof g&&g.prototype||g;Object.hasOwnProperty.call(n,"hcEvents")||(n.hcEvents={});n=n.hcEvents;d.Point&&g instanceof d.Point&&g.series&&g.series.chart&&(g.series.chart.runTrackerClick=!0);var f=g.addEventListener||d.addEventListenerPolyfill;f&&f.call(g,b,e,d.supportsPassiveEvents?{passive:void 0===l.passive?-1!==b.indexOf("touch"):l.passive,capture:!1}:!1);n[b]||(n[b]=[]);n[b].push({fn:e,order:"number"===typeof l.order?l.order:Infinity});n[b].sort(function(w,
+q){return w.order-q.order});return function(){L(g,b,e)}},arrayMax:function(g){for(var b=g.length,e=g[0];b--;)g[b]>e&&(e=g[b]);return e},arrayMin:function(g){for(var b=g.length,e=g[0];b--;)g[b]<e&&(e=g[b]);return e},attr:c,clamp:function(g,b,e){return g>b?g<e?g:e:b},cleanRecursively:N,clearTimeout:function(g){u(g)&&clearTimeout(g)},correctFloat:O,createElement:p,css:y,defined:u,destroyObjectProperties:function(g,b){m(g,function(e,l){e&&e!==b&&e.destroy&&e.destroy();delete g[l]})},discardElement:function(g){b||
+(b=p("div"));g&&b.appendChild(g);b.innerHTML=""},erase:function(g,b){for(var e=g.length;e--;)if(g[e]===b){g.splice(e,1);break}},error:h,extend:a,extendClass:function(g,b){var e=function(){};e.prototype=new g;a(e.prototype,b);return e},find:E,fireEvent:A,getMagnitude:function(g){return Math.pow(10,Math.floor(Math.log(g)/Math.LN10))},getNestedProperty:function(g,b){for(g=g.split(".");g.length&&u(b);){var e=g.shift();if("undefined"===typeof e||"__proto__"===e)return;b=b[e];if(!u(b)||"function"===typeof b||
+"number"===typeof b.nodeType||b===v)return}return b},getStyle:k,inArray:function(g,b,e){h(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"});return b.indexOf(g,e)},isArray:M,isClass:D,isDOMElement:I,isFunction:function(g){return"function"===typeof g},isNumber:B,isObject:G,isString:J,keys:function(g){h(32,!1,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(g)},merge:function(){var g,b=arguments,e={},l=function(b,w){"object"!==typeof b&&(b={});m(w,function(q,z){"__proto__"!==z&&
+"constructor"!==z&&(!G(q,!0)||D(q)||I(q)?b[z]=w[z]:b[z]=l(b[z]||{},q))});return b};!0===b[0]&&(e=b[1],b=Array.prototype.slice.call(b,2));var f=b.length;for(g=0;g<f;g++)e=l(e,b[g]);return e},normalizeTickInterval:function(b,n,e,l,f){var g=b;e=r(e,1);var w=b/e;n||(n=f?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===l&&(1===e?n=n.filter(function(q){return 0===q%1}):.1>=e&&(n=[1/e])));for(l=0;l<n.length&&!(g=n[l],f&&g*e>=b||!f&&w<=(n[l]+(n[l+1]||n[l]))/2);l++);return g=O(g*e,-Math.round(Math.log(.001)/
+Math.LN10))},objectEach:m,offset:function(b){var g=f.documentElement;b=b.parentElement||b.parentNode?b.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:b.top+(v.pageYOffset||g.scrollTop)-(g.clientTop||0),left:b.left+(v.pageXOffset||g.scrollLeft)-(g.clientLeft||0),width:b.width,height:b.height}},pad:function(b,n,e){return Array((n||2)+1-String(b).replace("-","").length).join(e||"0")+b},pick:r,pInt:F,relativeLength:function(b,n,e){return/%$/.test(b)?n*parseFloat(b)/100+(e||0):parseFloat(b)},
+removeEvent:L,splat:function(b){return M(b)?b:[b]},stableSort:function(b,n){var g=b.length,l,f;for(f=0;f<g;f++)b[f].safeI=f;b.sort(function(b,w){l=n(b,w);return 0===l?b.safeI-w.safeI:l});for(f=0;f<g;f++)delete b[f].safeI},syncTimeout:function(b,f,e){if(0<f)return setTimeout(b,f,e);b.call(0,e);return-1},timeUnits:{millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5},uniqueKey:H,useSerialIds:function(b){return P=r(b,P)},wrap:function(b,f,e){var g=b[f];b[f]=
+function(){var b=Array.prototype.slice.call(arguments),l=arguments,w=this;w.proceed=function(){g.apply(w,arguments.length?arguments:l)};b.unshift(g);b=e.apply(this,b);w.proceed=null;return b}}}});Q(d,"Core/Color/Color.js",[d["Core/Globals.js"],d["Core/Utilities.js"]],function(d,h){var N=h.isNumber,F=h.merge,J=h.pInt;"";h=function(){function h(G){this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(h){return[J(h[1]),J(h[2]),
+J(h[3]),parseFloat(h[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(h){return[J(h[1]),J(h[2]),J(h[3]),1]}}];this.rgba=[];if(d.Color!==h)return new d.Color(G);if(!(this instanceof h))return new h(G);this.init(G)}h.parse=function(d){return new h(d)};h.prototype.init=function(d){var I,D;if((this.input=d=h.names[d&&d.toLowerCase?d.toLowerCase():""]||d)&&d.stops)this.stops=d.stops.map(function(c){return new h(c[1])});else{if(d&&d.charAt&&"#"===d.charAt()){var B=
+d.length;d=parseInt(d.substr(1),16);7===B?I=[(d&16711680)>>16,(d&65280)>>8,d&255,1]:4===B&&(I=[(d&3840)>>4|(d&3840)>>8,(d&240)>>4|d&240,(d&15)<<4|d&15,1])}if(!I)for(D=this.parsers.length;D--&&!I;){var u=this.parsers[D];(B=u.regex.exec(d))&&(I=u.parse(B))}}this.rgba=I||[]};h.prototype.get=function(h){var d=this.input,D=this.rgba;if("undefined"!==typeof this.stops){var B=F(d);B.stops=[].concat(B.stops);this.stops.forEach(function(u,c){B.stops[c]=[B.stops[c][0],u.get(h)]})}else B=D&&N(D[0])?"rgb"===
+h||!h&&1===D[3]?"rgb("+D[0]+","+D[1]+","+D[2]+")":"a"===h?D[3]:"rgba("+D.join(",")+")":d;return B};h.prototype.brighten=function(h){var d,D=this.rgba;if(this.stops)this.stops.forEach(function(B){B.brighten(h)});else if(N(h)&&0!==h)for(d=0;3>d;d++)D[d]+=J(255*h),0>D[d]&&(D[d]=0),255<D[d]&&(D[d]=255);return this};h.prototype.setOpacity=function(h){this.rgba[3]=h;return this};h.prototype.tweenTo=function(h,d){var D=this.rgba,B=h.rgba;B.length&&D&&D.length?(h=1!==B[3]||1!==D[3],d=(h?"rgba(":"rgb(")+Math.round(B[0]+
+(D[0]-B[0])*(1-d))+","+Math.round(B[1]+(D[1]-B[1])*(1-d))+","+Math.round(B[2]+(D[2]-B[2])*(1-d))+(h?","+(B[3]+(D[3]-B[3])*(1-d)):"")+")"):d=h.input||"none";return d};h.names={white:"#ffffff",black:"#000000"};return h}();d.Color=h;d.color=h.parse;return h});Q(d,"Core/Color/Palette.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",neutralColor80:"#333333",neutralColor60:"#666666",
+neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",positiveColor:"#06b535",negativeColor:"#f21313"}});Q(d,"Core/Time.js",[d["Core/Globals.js"],d["Core/Utilities.js"]],function(d,h){var N=d.win,F=h.defined,J=h.error,M=h.extend,G=h.isObject,I=h.merge,D=h.objectEach,B=h.pad,u=h.pick,c=h.splat,a=
+h.timeUnits;"";h=function(){function r(a){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=N.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(a)}r.prototype.get=function(a,p){if(this.variableTimezone||this.timezoneOffset){var y=p.getTime(),k=y-this.getTimezoneOffset(p);p.setTime(k);a=p["getUTC"+a]();p.setTime(y);return a}return this.useUTC?p["getUTC"+a]():p["get"+a]()};r.prototype.set=function(a,p,c){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===
+a||"Seconds"===a||"Minutes"===a&&0===this.getTimezoneOffset(p)%36E5)return p["setUTC"+a](c);var k=this.getTimezoneOffset(p);k=p.getTime()-k;p.setTime(k);p["setUTC"+a](c);a=this.getTimezoneOffset(p);k=p.getTime()+a;return p.setTime(k)}return this.useUTC?p["setUTC"+a](c):p["set"+a](c)};r.prototype.update=function(a){var p=u(a&&a.useUTC,!0);this.options=a=I(!0,this.options||{},a);this.Date=a.Date||N.Date||Date;this.timezoneOffset=(this.useUTC=p)&&a.timezoneOffset;this.getTimezoneOffset=this.timezoneOffsetFunction();
+this.variableTimezone=p&&!(!a.getTimezoneOffset&&!a.timezone)};r.prototype.makeTime=function(a,p,c,k,m,L){if(this.useUTC){var A=this.Date.UTC.apply(0,arguments);var t=this.getTimezoneOffset(A);A+=t;var f=this.getTimezoneOffset(A);t!==f?A+=f-t:t-36E5!==this.getTimezoneOffset(A-36E5)||d.isSafari||(A-=36E5)}else A=(new this.Date(a,p,u(c,1),u(k,0),u(m,0),u(L,0))).getTime();return A};r.prototype.timezoneOffsetFunction=function(){var a=this,p=this.options,c=p.moment||N.moment;if(!this.useUTC)return function(a){return 6E4*
+(new Date(a.toString())).getTimezoneOffset()};if(p.timezone){if(c)return function(a){return 6E4*-c.tz(a,p.timezone).utcOffset()};J(25)}return this.useUTC&&p.getTimezoneOffset?function(a){return 6E4*p.getTimezoneOffset(a.valueOf())}:function(){return 6E4*(a.timezoneOffset||0)}};r.prototype.dateFormat=function(a,p,c){if(!F(p)||isNaN(p))return d.defaultOptions.lang&&d.defaultOptions.lang.invalidDate||"";a=u(a,"%Y-%m-%d %H:%M:%S");var k=this,m=new this.Date(p),L=this.get("Hours",m),A=this.get("Day",m),
+t=this.get("Date",m),f=this.get("Month",m),v=this.get("FullYear",m),b=d.defaultOptions.lang,E=b&&b.weekdays,P=b&&b.shortWeekdays;m=M({a:P?P[A]:E[A].substr(0,3),A:E[A],d:B(t),e:B(t,2," "),w:A,b:b.shortMonths[f],B:b.months[f],m:B(f+1),o:f+1,y:v.toString().substr(2,2),Y:v,H:B(L),k:L,I:B(L%12||12),l:L%12||12,M:B(this.get("Minutes",m)),p:12>L?"AM":"PM",P:12>L?"am":"pm",S:B(m.getSeconds()),L:B(Math.floor(p%1E3),3)},d.dateFormats);D(m,function(b,g){for(;-1!==a.indexOf("%"+g);)a=a.replace("%"+g,"function"===
+typeof b?b.call(k,p):b)});return c?a.substr(0,1).toUpperCase()+a.substr(1):a};r.prototype.resolveDTLFormat=function(a){return G(a,!0)?a:(a=c(a),{main:a[0],from:a[1],to:a[2]})};r.prototype.getTimeTicks=function(c,p,r,k){var m=this,L=[],A={};var t=new m.Date(p);var f=c.unitRange,v=c.count||1,b;k=u(k,1);if(F(p)){m.set("Milliseconds",t,f>=a.second?0:v*Math.floor(m.get("Milliseconds",t)/v));f>=a.second&&m.set("Seconds",t,f>=a.minute?0:v*Math.floor(m.get("Seconds",t)/v));f>=a.minute&&m.set("Minutes",t,
+f>=a.hour?0:v*Math.floor(m.get("Minutes",t)/v));f>=a.hour&&m.set("Hours",t,f>=a.day?0:v*Math.floor(m.get("Hours",t)/v));f>=a.day&&m.set("Date",t,f>=a.month?1:Math.max(1,v*Math.floor(m.get("Date",t)/v)));if(f>=a.month){m.set("Month",t,f>=a.year?0:v*Math.floor(m.get("Month",t)/v));var E=m.get("FullYear",t)}f>=a.year&&m.set("FullYear",t,E-E%v);f===a.week&&(E=m.get("Day",t),m.set("Date",t,m.get("Date",t)-E+k+(E<k?-7:0)));E=m.get("FullYear",t);k=m.get("Month",t);var P=m.get("Date",t),H=m.get("Hours",t);
+p=t.getTime();!m.variableTimezone&&m.useUTC||!F(r)||(b=r-p>4*a.month||m.getTimezoneOffset(p)!==m.getTimezoneOffset(r));p=t.getTime();for(t=1;p<r;)L.push(p),p=f===a.year?m.makeTime(E+t*v,0):f===a.month?m.makeTime(E,k+t*v):!b||f!==a.day&&f!==a.week?b&&f===a.hour&&1<v?m.makeTime(E,k,P,H+t*v):p+f*v:m.makeTime(E,k,P+t*v*(f===a.day?1:7)),t++;L.push(p);f<=a.hour&&1E4>L.length&&L.forEach(function(b){0===b%18E5&&"000000000"===m.dateFormat("%H%M%S%L",b)&&(A[b]="day")})}L.info=M(c,{higherRanks:A,totalRange:f*
+v});return L};return r}();d.Time=h;return d.Time});Q(d,"Core/Options.js",[d["Core/Globals.js"],d["Core/Color/Color.js"],d["Core/Color/Palette.js"],d["Core/Time.js"],d["Core/Utilities.js"]],function(d,h,K,F,J){var N=d.isTouchDevice,G=d.svg;h=h.parse;var I=J.merge;"";var D={colors:K.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
+weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",
+x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:K.highlightColor80,backgroundColor:K.backgroundColor,plotBorderColor:K.neutralColor20},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:K.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},
+borderColor:K.neutralColor40,borderRadius:0,navigation:{activeColor:K.highlightColor100,inactiveColor:K.neutralColor20},itemStyle:{color:K.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:K.neutralColor100},itemHiddenStyle:{color:K.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",
+position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:K.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:G,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:N?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',
+backgroundColor:h(K.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:K.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:K.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};D.chart.styledMode=!1;"";var B=new F(I(D.global,D.time));return{defaultOptions:D,defaultTime:B,getOptions:function(){return D},
+setOptions:function(u){I(!0,D,u);if(u.time||u.global)d.time?d.time.update(I(D.global,D.time,u.global,u.time)):d.time=B;return D}}});Q(d,"Core/Animation/Fx.js",[d["Core/Color/Color.js"],d["Core/Globals.js"],d["Core/Utilities.js"]],function(d,h,K){var N=d.parse,J=h.win,M=K.isNumber,G=K.objectEach;return function(){function h(h,B,u){this.pos=NaN;this.options=B;this.elem=h;this.prop=u}h.prototype.dSetter=function(){var h=this.paths,B=h&&h[0];h=h&&h[1];var u=this.now||0,c=[];if(1!==u&&B&&h)if(B.length===
+h.length&&1>u)for(var a=0;a<h.length;a++){for(var r=B[a],y=h[a],p=[],O=0;O<y.length;O++){var k=r[O],m=y[O];M(k)&&M(m)&&("A"!==y[0]||4!==O&&5!==O)?p[O]=k+u*(m-k):p[O]=m}c.push(p)}else c=h;else c=this.toD||[];this.elem.attr("d",c,void 0,!0)};h.prototype.update=function(){var h=this.elem,B=this.prop,u=this.now,c=this.options.step;if(this[B+"Setter"])this[B+"Setter"]();else h.attr?h.element&&h.attr(B,u,null,!0):h.style[B]=u+this.unit;c&&c.call(h,u,this)};h.prototype.run=function(d,B,u){var c=this,a=c.options,
+r=function(a){return r.stopped?!1:c.step(a)},y=J.requestAnimationFrame||function(a){setTimeout(a,13)},p=function(){for(var a=0;a<h.timers.length;a++)h.timers[a]()||h.timers.splice(a--,1);h.timers.length&&y(p)};d!==B||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=d,this.end=B,this.unit=u,this.now=this.start,this.pos=0,r.elem=this.elem,r.prop=this.prop,r()&&1===h.timers.push(r)&&y(p)):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))};
+h.prototype.step=function(h){var B=+new Date,u=this.options,c=this.elem,a=u.complete,r=u.duration,y=u.curAnim;if(c.attr&&!c.element)h=!1;else if(h||B>=r+this.startTime){this.now=this.end;this.pos=1;this.update();var p=y[this.prop]=!0;G(y,function(a){!0!==a&&(p=!1)});p&&a&&a.call(c);h=!1}else this.pos=u.easing((B-this.startTime)/r),this.now=this.start+(this.end-this.start)*this.pos,this.update(),h=!0;return h};h.prototype.initPath=function(h,B,u){function c(a,k){for(;a.length<L;){var f=a[0],v=k[L-
+a.length];v&&"M"===f[0]&&(a[0]="C"===v[0]?["C",f[1],f[2],f[1],f[2],f[1],f[2]]:["L",f[1],f[2]]);a.unshift(f);p&&(f=a.pop(),a.push(a[a.length-1],f))}}function a(a,k){for(;a.length<L;)if(k=a[Math.floor(a.length/O)-1].slice(),"C"===k[0]&&(k[1]=k[5],k[2]=k[6]),p){var f=a[Math.floor(a.length/O)].slice();a.splice(a.length/2,0,k,f)}else a.push(k)}var r=h.startX,y=h.endX;u=u.slice();var p=h.isArea,O=p?2:1;B=B&&B.slice();if(!B)return[u,u];if(r&&y&&y.length){for(h=0;h<r.length;h++)if(r[h]===y[0]){var k=h;break}else if(r[0]===
+y[y.length-r.length+h]){k=h;var m=!0;break}else if(r[r.length-1]===y[y.length-r.length+h]){k=r.length-h;break}"undefined"===typeof k&&(B=[])}if(B.length&&M(k)){var L=u.length+k*O;m?(c(B,u),a(u,B)):(c(u,B),a(B,u))}return[B,u]};h.prototype.fillSetter=function(){h.prototype.strokeSetter.apply(this,arguments)};h.prototype.strokeSetter=function(){this.elem.attr(this.prop,N(this.start).tweenTo(N(this.end),this.pos),null,!0)};h.timers=[];return h}()});Q(d,"Core/Animation/AnimationUtilities.js",[d["Core/Animation/Fx.js"],
+d["Core/Utilities.js"]],function(d,h){function N(a){return D(a)?B({duration:500,defer:0},a):{duration:a?500:0,defer:0}}function F(a,c){for(var r=d.timers.length;r--;)d.timers[r].elem!==a||c&&c!==d.timers[r].prop||(d.timers[r].stopped=!0)}var J=h.defined,M=h.getStyle,G=h.isArray,I=h.isNumber,D=h.isObject,B=h.merge,u=h.objectEach,c=h.pick;return{animate:function(a,c,y){var p,r="",k,m;if(!D(y)){var L=arguments;y={duration:L[2],easing:L[3],complete:L[4]}}I(y.duration)||(y.duration=400);y.easing="function"===
+typeof y.easing?y.easing:Math[y.easing]||Math.easeInOutSine;y.curAnim=B(c);u(c,function(A,t){F(a,t);m=new d(a,y,t);k=void 0;"d"===t&&G(c.d)?(m.paths=m.initPath(a,a.pathArray,c.d),m.toD=c.d,p=0,k=1):a.attr?p=a.attr(t):(p=parseFloat(M(a,t))||0,"opacity"!==t&&(r="px"));k||(k=A);"string"===typeof k&&k.match("px")&&(k=k.replace(/px/g,""));m.run(p,k,r)})},animObject:N,getDeferredAnimation:function(a,c,y){var p=N(c),r=0,k=0;(y?[y]:a.series).forEach(function(a){a=N(a.options.animation);r=c&&J(c.defer)?p.defer:
+Math.max(r,a.duration+a.defer);k=Math.min(p.duration,a.duration)});a.renderer.forExport&&(r=0);return{defer:Math.max(0,r-k),duration:Math.min(r,k)}},setAnimation:function(a,r){r.renderer.globalAnimation=c(a,r.options.chart.animation,!0)},stop:F}});Q(d,"Core/Renderer/HTML/AST.js",[d["Core/Globals.js"],d["Core/Utilities.js"]],function(d,h){var N=d.SVG_NS,F=h.attr,J=h.createElement,M=h.discardElement,G=h.error,I=h.isString,D=h.objectEach,B=h.splat;"";var u=!1;try{u=!!(new DOMParser).parseFromString("",
+"text/html")}catch(c){}return function(){function c(a){this.nodes="string"===typeof a?this.parseMarkup(a):a}c.filterUserAttributes=function(a){D(a,function(r,y){var p=!0;-1===c.allowedAttributes.indexOf(y)&&(p=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(y)&&(p=I(r)&&c.allowedReferences.some(function(a){return 0===r.indexOf(a)}));p||(G("Highcharts warning: Invalid attribute '"+y+"' in config"),delete a[y])});return a};c.setElementHTML=function(a,r){a.innerHTML="";r&&(new c(r)).addToDOM(a)};
+c.prototype.addToDOM=function(a){function r(a,p){var y;B(a).forEach(function(a){var k=a.tagName,L=a.textContent?d.doc.createTextNode(a.textContent):void 0;if(k)if("#text"===k)var A=L;else if(-1!==c.allowedTags.indexOf(k)){k=d.doc.createElementNS("svg"===k?N:p.namespaceURI||N,k);var t=a.attributes||{};D(a,function(f,a){"tagName"!==a&&"attributes"!==a&&"children"!==a&&"textContent"!==a&&(t[a]=f)});F(k,c.filterUserAttributes(t));L&&k.appendChild(L);r(a.children||[],k);A=k}else G("Highcharts warning: Invalid tagName '"+
+k+"' in config");A&&p.appendChild(A);y=A});return y}return r(this.nodes,a)};c.prototype.parseMarkup=function(a){var c=[];if(u)a=(new DOMParser).parseFromString(a,"text/html");else{var y=J("div");y.innerHTML=a;a={body:y}}var p=function(a,k){var m=a.nodeName.toLowerCase(),c={tagName:m};if("#text"===m){m=a.textContent||"";if(/^[\s]*$/.test(m))return;c.textContent=m}if(m=a.attributes){var A={};[].forEach.call(m,function(a){A[a.name]=a.value});c.attributes=A}if(a.childNodes.length){var t=[];[].forEach.call(a.childNodes,
+function(a){p(a,t)});t.length&&(c.children=t)}k.push(c)};[].forEach.call(a.body.childNodes,function(a){return p(a,c)});y&&M(y);return c};c.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" ");c.allowedAttributes=
+"aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 x2 y y1 y2 zIndex".split(" ");
+c.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");return c}()});Q(d,"Core/FormatUtilities.js",[d["Core/Options.js"],d["Core/Utilities.js"]],function(d,h){function N(B,u,c,a){B=+B||0;u=+u;var r=F.lang,y=(B.toString().split(".")[1]||"").split("e")[0].length,p=B.toString().split("e"),O=u;if(-1===u)u=Math.min(y,20);else if(!G(u))u=2;else if(u&&p[1]&&0>p[1]){var k=u+ +p[1];0<=k?(p[0]=(+p[0]).toExponential(k).split("e")[0],u=k):(p[0]=p[0].split(".")[0]||0,B=20>u?(p[0]*Math.pow(10,p[1])).toFixed(u):
+0,p[1]=0)}k=(Math.abs(p[1]?p[0]:B)+Math.pow(10,-Math.max(u,y)-1)).toFixed(u);y=String(D(k));var m=3<y.length?y.length%3:0;c=I(c,r.decimalPoint);a=I(a,r.thousandsSep);B=(0>B?"-":"")+(m?y.substr(0,m)+a:"");B=0>+p[1]&&!O?"0":B+y.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+a);u&&(B+=c+k.slice(-u));p[1]&&0!==+B&&(B+="e"+p[1]);return B}var F=d.defaultOptions,J=d.defaultTime,M=h.getNestedProperty,G=h.isNumber,I=h.pick,D=h.pInt;return{dateFormat:function(B,u,c){return J.dateFormat(B,u,c)},format:function(B,u,
+c){var a="{",r=!1,y=/f$/,p=/\.([0-9])/,O=F.lang,k=c&&c.time||J;c=c&&c.numberFormatter||N;for(var m=[];B;){var L=B.indexOf(a);if(-1===L)break;var A=B.slice(0,L);if(r){A=A.split(":");a=M(A.shift()||"",u);if(A.length&&"number"===typeof a)if(A=A.join(":"),y.test(A)){var t=parseInt((A.match(p)||["","-1"])[1],10);null!==a&&(a=c(a,t,O.decimalPoint,-1<A.indexOf(",")?O.thousandsSep:""))}else a=k.dateFormat(A,a);m.push(a)}else m.push(A);B=B.slice(L+1);a=(r=!r)?"}":"{"}m.push(B);return m.join("")},numberFormat:N}});
+Q(d,"Core/Renderer/SVG/SVGElement.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/Renderer/HTML/AST.js"],d["Core/Color/Color.js"],d["Core/Globals.js"],d["Core/Color/Palette.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M){var G=d.animate,I=d.animObject,D=d.stop,B=F.deg2rad,u=F.doc,c=F.noop,a=F.svg,r=F.SVG_NS,y=F.win,p=M.addEvent,O=M.attr,k=M.createElement,m=M.css,L=M.defined,A=M.erase,t=M.extend,f=M.fireEvent,v=M.isArray,b=M.isFunction,E=M.isNumber,P=M.isString,H=M.merge,g=M.objectEach,n=
+M.pick,e=M.pInt,l=M.syncTimeout,C=M.uniqueKey;d=function(){function x(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=r;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}x.prototype._defaultGetter=function(b){b=n(this[b+"Value"],this[b],this.element?this.element.getAttribute(b):null,0);/^[\-0-9\.]+$/.test(b)&&(b=parseFloat(b));return b};x.prototype._defaultSetter=function(b,q,z){z.setAttribute(q,b)};x.prototype.add=
+function(b){var q=this.renderer,z=this.element;b&&(this.parentGroup=b);this.parentInverted=b&&b.inverted;"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&q.buildText(this);this.added=!0;if(!b||b.handleZ||this.zIndex)var w=this.zIndexSetter();w||(b?b.element:q.box).appendChild(z);if(this.onAdd)this.onAdd();return this};x.prototype.addClass=function(b,q){var z=q?"":this.attr("class")||"";b=(b||"").split(/ /g).reduce(function(q,b){-1===z.indexOf(b)&&q.push(b);return q},z?[z]:[]).join(" ");
+b!==z&&this.attr("class",b);return this};x.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)};x.prototype.align=function(b,q,z){var g={},w=this.renderer,e=w.alignedObjects,l,a,f;if(b){if(this.alignOptions=b,this.alignByTranslate=q,!z||P(z))this.alignTo=l=z||"renderer",A(e,this),e.push(this),z=void 0}else b=this.alignOptions,q=this.alignByTranslate,l=this.alignTo;z=n(z,w[l],"scrollablePlotBox"===l?w.plotBox:void 0,w);l=b.align;var v=b.verticalAlign;w=
+(z.x||0)+(b.x||0);e=(z.y||0)+(b.y||0);"right"===l?a=1:"center"===l&&(a=2);a&&(w+=(z.width-(b.width||0))/a);g[q?"translateX":"x"]=Math.round(w);"bottom"===v?f=1:"middle"===v&&(f=2);f&&(e+=(z.height-(b.height||0))/f);g[q?"translateY":"y"]=Math.round(e);this[this.placed?"animate":"attr"](g);this.placed=!0;this.alignAttr=g;return this};x.prototype.alignSetter=function(b){var q={left:"start",center:"middle",right:"end"};q[b]&&(this.alignValue=b,this.element.setAttribute("text-anchor",q[b]))};x.prototype.animate=
+function(b,q,z){var e=this,w=I(n(q,this.renderer.globalAnimation,!0));q=w.defer;n(u.hidden,u.msHidden,u.webkitHidden,!1)&&(w.duration=0);0!==w.duration?(z&&(w.complete=z),l(function(){e.element&&G(e,b,w)},q)):(this.attr(b,void 0,z),g(b,function(q,z){w.step&&w.step.call(this,q,{prop:z,pos:1,elem:this})},this));return this};x.prototype.applyTextOutline=function(b){var q=this.element;-1!==b.indexOf("contrast")&&(b=b.replace(/contrast/g,this.renderer.getContrast(q.style.fill)));var z=b.split(" ");b=z[z.length-
+1];if((z=z[0])&&"none"!==z&&F.svg){this.fakeTS=!0;this.ySetter=this.xSetter;z=z.replace(/(^[\d\.]+)(.*?)$/g,function(q,z,b){return 2*Number(z)+b});this.removeTextOutline();var g=u.createElementNS(r,"tspan");O(g,{"class":"highcharts-text-outline",fill:b,stroke:b,"stroke-width":z,"stroke-linejoin":"round"});[].forEach.call(q.childNodes,function(q){var z=q.cloneNode(!0);z.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(q){return z.removeAttribute(q)});g.appendChild(z)});var e=
+u.createElementNS(r,"tspan");e.textContent="\u200b";["x","y"].forEach(function(z){var b=q.getAttribute(z);b&&e.setAttribute(z,b)});g.appendChild(e);q.insertBefore(g,q.firstChild)}};x.prototype.attr=function(b,q,z,e){var w=this.element,l=this.symbolCustomAttribs,a,f=this,n,v;if("string"===typeof b&&"undefined"!==typeof q){var C=b;b={};b[C]=q}"string"===typeof b?f=(this[b+"Getter"]||this._defaultGetter).call(this,b,w):(g(b,function(q,z){n=!1;e||D(this,z);this.symbolName&&-1!==l.indexOf(z)&&(a||(this.symbolAttr(b),
+a=!0),n=!0);!this.rotation||"x"!==z&&"y"!==z||(this.doTransform=!0);n||(v=this[z+"Setter"]||this._defaultSetter,v.call(this,q,z,w),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(z)&&this.updateShadows(z,q,v))},this),this.afterSetters());z&&z.call(this);return f};x.prototype.clip=function(b){return this.attr("clip-path",b?"url("+this.renderer.url+"#"+b.id+")":"none")};x.prototype.crisp=function(b,q){q=q||b.strokeWidth||0;var z=Math.round(q)%2/2;b.x=Math.floor(b.x||
+this.x||0)+z;b.y=Math.floor(b.y||this.y||0)+z;b.width=Math.floor((b.width||this.width||0)-2*z);b.height=Math.floor((b.height||this.height||0)-2*z);L(b.strokeWidth)&&(b.strokeWidth=q);return b};x.prototype.complexColor=function(b,q,z){var e=this.renderer,l,a,w,n,x,E,k,t,P,m,p=[],c;f(this.renderer,"complexColor",{args:arguments},function(){b.radialGradient?a="radialGradient":b.linearGradient&&(a="linearGradient");if(a){w=b[a];x=e.gradients;E=b.stops;P=z.radialReference;v(w)&&(b[a]=w={x1:w[0],y1:w[1],
+x2:w[2],y2:w[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===a&&P&&!L(w.gradientUnits)&&(n=w,w=H(w,e.getRadialAttr(P,n),{gradientUnits:"userSpaceOnUse"}));g(w,function(q,b){"id"!==b&&p.push(b,q)});g(E,function(q){p.push(q)});p=p.join(",");if(x[p])m=x[p].attr("id");else{w.id=m=C();var f=x[p]=e.createElement(a).attr(w).add(e.defs);f.radAttr=n;f.stops=[];E.forEach(function(q){0===q[1].indexOf("rgba")?(l=K.parse(q[1]),k=l.get("rgb"),t=l.get("a")):(k=q[1],t=1);q=e.createElement("stop").attr({offset:q[0],
+"stop-color":k,"stop-opacity":t}).add(f);f.stops.push(q)})}c="url("+e.url+"#"+m+")";z.setAttribute(q,c);z.gradient=p;b.toString=function(){return c}}})};x.prototype.css=function(b){var q=this.styles,z={},l=this.element,f=["textOutline","textOverflow","width"],w="",n=!q;b&&b.color&&(b.fill=b.color);q&&g(b,function(b,g){q&&q[g]!==b&&(z[g]=b,n=!0)});if(n){q&&(b=t(q,z));if(b)if(null===b.width||"auto"===b.width)delete this.textWidth;else if("text"===l.nodeName.toLowerCase()&&b.width)var v=this.textWidth=
+e(b.width);this.styles=b;v&&!a&&this.renderer.forExport&&delete b.width;if(l.namespaceURI===this.SVG_NS){var C=function(b,q){return"-"+q.toLowerCase()};g(b,function(b,q){-1===f.indexOf(q)&&(w+=q.replace(/([A-Z])/g,C)+":"+b+";")});w&&O(l,"style",w)}else m(l,b);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),b&&b.textOutline&&this.applyTextOutline(b.textOutline))}return this};x.prototype.dashstyleSetter=function(b){var q=this["stroke-width"];"inherit"===q&&(q=1);if(b=b&&b.toLowerCase()){var z=
+b.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(b=z.length;b--;)z[b]=""+e(z[b])*n(q,NaN);b=z.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",b)}};x.prototype.destroy=function(){var b=this,q=b.element||{},z=b.renderer,e=q.ownerSVGElement,l=z.isSVG&&"SPAN"===q.nodeName&&b.parentGroup||
+void 0;q.onclick=q.onmouseout=q.onmouseover=q.onmousemove=q.point=null;D(b);if(b.clipPath&&e){var a=b.clipPath;[].forEach.call(e.querySelectorAll("[clip-path],[CLIP-PATH]"),function(b){-1<b.getAttribute("clip-path").indexOf(a.element.id)&&b.removeAttribute("clip-path")});b.clipPath=a.destroy()}if(b.stops){for(e=0;e<b.stops.length;e++)b.stops[e].destroy();b.stops.length=0;b.stops=void 0}b.safeRemoveChild(q);for(z.styledMode||b.destroyShadows();l&&l.div&&0===l.div.childNodes.length;)q=l.parentGroup,
+b.safeRemoveChild(l.div),delete l.div,l=q;b.alignTo&&A(z.alignedObjects,b);g(b,function(q,z){b[z]&&b[z].parentGroup===b&&b[z].destroy&&b[z].destroy();delete b[z]})};x.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(b){this.safeRemoveChild(b)},this);this.shadows=void 0};x.prototype.destroyTextPath=function(b,q){var z=b.getElementsByTagName("text")[0];if(z){if(z.removeAttribute("dx"),z.removeAttribute("dy"),q.element.setAttribute("id",""),this.textPathWrapper&&z.getElementsByTagName("textPath").length){for(b=
+this.textPathWrapper.element.childNodes;b.length;)z.appendChild(b[0]);z.removeChild(this.textPathWrapper.element)}}else if(b.getAttribute("dx")||b.getAttribute("dy"))b.removeAttribute("dx"),b.removeAttribute("dy");this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())};x.prototype.dSetter=function(b,q,z){v(b)&&("string"===typeof b[0]&&(b=this.renderer.pathToSegments(b)),this.pathArray=b,b=b.reduce(function(b,q,z){return q&&q.join?(z?b+" ":"")+q.join(" "):(q||"").toString()},""));
+/(NaN| {2}|^$)/.test(b)&&(b="M 0 0");this[q]!==b&&(z.setAttribute(q,b),this[q]=b)};x.prototype.fadeOut=function(b){var q=this;q.animate({opacity:0},{duration:n(b,150),complete:function(){q.attr({y:-9999}).hide()}})};x.prototype.fillSetter=function(b,q,z){"string"===typeof b?z.setAttribute(q,b):b&&this.complexColor(b,q,z)};x.prototype.getBBox=function(e,q){var z=this.renderer,g=this.element,l=this.styles,a=this.textStr,f=z.cache,w=z.cacheKeys,v=g.namespaceURI===this.SVG_NS;q=n(q,this.rotation,0);var C=
+z.styledMode?g&&x.prototype.getStyle.call(g,"font-size"):l&&l.fontSize,E;if(L(a)){var k=a.toString();-1===k.indexOf("<")&&(k=k.replace(/[0-9]/g,"0"));k+=["",q,C,this.textWidth,l&&l.textOverflow,l&&l.fontWeight].join()}k&&!e&&(E=f[k]);if(!E){if(v||z.forExport){try{var H=this.fakeTS&&function(b){var q=g.querySelector(".highcharts-text-outline");q&&m(q,{display:b})};b(H)&&H("none");E=g.getBBox?t({},g.getBBox()):{width:g.offsetWidth,height:g.offsetHeight};b(H)&&H("")}catch(Z){""}if(!E||0>E.width)E={width:0,
+height:0}}else E=this.htmlGetBBox();z.isSVG&&(e=E.width,z=E.height,v&&(E.height=z={"11px,17":14,"13px,20":16}[l&&l.fontSize+","+Math.round(z)]||z),q&&(l=q*B,E.width=Math.abs(z*Math.sin(l))+Math.abs(e*Math.cos(l)),E.height=Math.abs(z*Math.cos(l))+Math.abs(e*Math.sin(l))));if(k&&0<E.height){for(;250<w.length;)delete f[w.shift()];f[k]||w.push(k);f[k]=E}}return E};x.prototype.getStyle=function(b){return y.getComputedStyle(this.element||this,"").getPropertyValue(b)};x.prototype.hasClass=function(b){return-1!==
+(""+this.attr("class")).split(" ").indexOf(b)};x.prototype.hide=function(b){b?this.attr({y:-9999}):this.attr({visibility:"hidden"});return this};x.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};x.prototype.init=function(b,q){this.element="span"===q?k(q):u.createElementNS(this.SVG_NS,q);this.renderer=b;f(this,"afterInit")};x.prototype.invert=function(b){this.inverted=b;this.updateTransform();return this};x.prototype.on=function(b,q){var z=this.onEvents;if(z[b])z[b]();z[b]=p(this.element,
+b,q);return this};x.prototype.opacitySetter=function(b,q,z){this.opacity=b=Number(Number(b).toFixed(3));z.setAttribute(q,b)};x.prototype.removeClass=function(b){return this.attr("class",(""+this.attr("class")).replace(P(b)?new RegExp("(^| )"+b+"( |$)"):b," ").replace(/ +/g," ").trim())};x.prototype.removeTextOutline=function(){var b=this.element.querySelector("tspan.highcharts-text-outline");b&&this.safeRemoveChild(b)};x.prototype.safeRemoveChild=function(b){var q=b.parentNode;q&&q.removeChild(b)};
+x.prototype.setRadialReference=function(b){var q=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=b;q&&q.radAttr&&q.animate(this.renderer.getRadialAttr(b,q.radAttr));return this};x.prototype.setTextPath=function(b,q){var z=this.element,e=this.text?this.text.element:z,l={textAnchor:"text-anchor"},a=!1,f=this.textPathWrapper,n=!f;q=H(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},q);var v=h.filterUserAttributes(q.attributes);
+if(b&&q&&q.enabled){f&&null===f.element.parentNode?(n=!0,f=f.destroy()):f&&this.removeTextOutline.call(f.parentGroup);this.options&&this.options.padding&&(v.dx=-this.options.padding);f||(this.textPathWrapper=f=this.renderer.createElement("textPath"),a=!0);var w=f.element;(q=b.element.getAttribute("id"))||b.element.setAttribute("id",q=C());if(n)for(e.setAttribute("y",0),E(v.dx)&&e.setAttribute("x",-v.dx),b=[].slice.call(e.childNodes),n=0;n<b.length;n++){var k=b[n];k.nodeType!==Node.TEXT_NODE&&"tspan"!==
+k.nodeName||w.appendChild(k)}a&&f&&f.add({element:e});w.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+q);L(v.dy)&&(w.parentNode.setAttribute("dy",v.dy),delete v.dy);L(v.dx)&&(w.parentNode.setAttribute("dx",v.dx),delete v.dx);g(v,function(b,q){w.setAttribute(l[q]||q,b)});z.removeAttribute("transform");this.removeTextOutline.call(f);this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0});this.applyTextOutline=this.updateTransform=c}else f&&(delete this.updateTransform,
+delete this.applyTextOutline,this.destroyTextPath(z,b),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this};x.prototype.shadow=function(b,q,z){var e=[],l=this.element,a=this.oldShadowOptions,f={color:J.neutralColor100,offsetX:1,offsetY:1,opacity:.15,width:3},n=!1,v;!0===b?v=f:"object"===typeof b&&(v=t(f,b));v&&(v&&a&&g(v,function(b,q){b!==a[q]&&(n=!0)}),n&&this.destroyShadows(),this.oldShadowOptions=v);if(!v)this.destroyShadows();
+else if(!this.shadows){var w=v.opacity/v.width;var E=this.parentInverted?"translate(-1,-1)":"translate("+v.offsetX+", "+v.offsetY+")";for(f=1;f<=v.width;f++){var k=l.cloneNode(!1);var C=2*v.width+1-2*f;O(k,{stroke:b.color||J.neutralColor100,"stroke-opacity":w*f,"stroke-width":C,transform:E,fill:"none"});k.setAttribute("class",(k.getAttribute("class")||"")+" highcharts-shadow");z&&(O(k,"height",Math.max(O(k,"height")-C,0)),k.cutHeight=C);q?q.element.appendChild(k):l.parentNode&&l.parentNode.insertBefore(k,
+l);e.push(k)}this.shadows=e}return this};x.prototype.show=function(b){return this.attr({visibility:b?"inherit":"visible"})};x.prototype.strokeSetter=function(b,q,z){this[q]=b;this.stroke&&this["stroke-width"]?(x.prototype.fillSetter.call(this,this.stroke,"stroke",z),z.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===q&&0===b&&this.hasStroke?(z.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(z.setAttribute("stroke-width",
+this["stroke-width"]),this.hasStroke=!0)};x.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var b=this.getStyle("stroke-width"),q=0;if(b.indexOf("px")===b.length-2)q=e(b);else if(""!==b){var z=u.createElementNS(r,"rect");O(z,{width:b,"stroke-width":0});this.element.parentNode.appendChild(z);q=z.getBBox().width;z.parentNode.removeChild(z)}return q};x.prototype.symbolAttr=function(b){var q=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(z){q[z]=
+n(b[z],q[z])});q.attr({d:q.renderer.symbols[q.symbolName](q.x,q.y,q.width,q.height,q)})};x.prototype.textSetter=function(b){b!==this.textStr&&(delete this.textPxLength,this.textStr=b,this.added&&this.renderer.buildText(this))};x.prototype.titleSetter=function(b){var q=this.element,z=q.getElementsByTagName("title")[0]||u.createElementNS(this.SVG_NS,"title");q.insertBefore?q.insertBefore(z,q.firstChild):q.appendChild(z);z.textContent=String(n(b,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,
+">")};x.prototype.toFront=function(){var b=this.element;b.parentNode.appendChild(b);return this};x.prototype.translate=function(b,q){return this.attr({translateX:b,translateY:q})};x.prototype.updateShadows=function(b,q,z){var e=this.shadows;if(e)for(var g=e.length;g--;)z.call(e[g],"height"===b?Math.max(q-(e[g].cutHeight||0),0):"d"===b?this.d:q,b,e[g])};x.prototype.updateTransform=function(){var b=this.scaleX,q=this.scaleY,z=this.inverted,e=this.rotation,g=this.matrix,l=this.element,a=this.translateX||
+0,f=this.translateY||0;z&&(a+=this.width,f+=this.height);a=["translate("+a+","+f+")"];L(g)&&a.push("matrix("+g.join(",")+")");z?a.push("rotate(90) scale(-1,1)"):e&&a.push("rotate("+e+" "+n(this.rotationOriginX,l.getAttribute("x"),0)+" "+n(this.rotationOriginY,l.getAttribute("y")||0)+")");(L(b)||L(q))&&a.push("scale("+n(b,1)+" "+n(q,1)+")");a.length&&l.setAttribute("transform",a.join(" "))};x.prototype.visibilitySetter=function(b,q,z){"inherit"===b?z.removeAttribute(q):this[q]!==b&&z.setAttribute(q,
+b);this[q]=b};x.prototype.xGetter=function(b){"circle"===this.element.nodeName&&("x"===b?b="cx":"y"===b&&(b="cy"));return this._defaultGetter(b)};x.prototype.zIndexSetter=function(b,q){var z=this.renderer,g=this.parentGroup,l=(g||z).element||z.box,a=this.element;z=l===z.box;var f=!1;var n=this.added;var v;L(b)?(a.setAttribute("data-z-index",b),b=+b,this[q]===b&&(n=!1)):L(this[q])&&a.removeAttribute("data-z-index");this[q]=b;if(n){(b=this.zIndex)&&g&&(g.handleZ=!0);q=l.childNodes;for(v=q.length-1;0<=
+v&&!f;v--){g=q[v];n=g.getAttribute("data-z-index");var k=!L(n);if(g!==a)if(0>b&&k&&!z&&!v)l.insertBefore(a,q[v]),f=!0;else if(e(n)<=b||k&&(!L(b)||0<=b))l.insertBefore(a,q[v+1]||null),f=!0}f||(l.insertBefore(a,q[z?3:0]||null),f=!0)}return f};return x}();d.prototype["stroke-widthSetter"]=d.prototype.strokeSetter;d.prototype.yGetter=d.prototype.xGetter;d.prototype.matrixSetter=d.prototype.rotationOriginXSetter=d.prototype.rotationOriginYSetter=d.prototype.rotationSetter=d.prototype.scaleXSetter=d.prototype.scaleYSetter=
+d.prototype.translateXSetter=d.prototype.translateYSetter=d.prototype.verticalAlignSetter=function(b,e){this[e]=b;this.doTransform=!0};"";return d});Q(d,"Core/Renderer/SVG/SVGLabel.js",[d["Core/Renderer/SVG/SVGElement.js"],d["Core/Utilities.js"]],function(d,h){function N(u,c){G(u)?u!==this[c]&&(this[c]=u,this.updateTextPadding()):this[c]=void 0}var F=this&&this.__extends||function(){var u=function(c,a){u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,
+c){for(var p in c)c.hasOwnProperty(p)&&(a[p]=c[p])};return u(c,a)};return function(c,a){function r(){this.constructor=c}u(c,a);c.prototype=null===a?Object.create(a):(r.prototype=a.prototype,new r)}}(),J=h.defined,M=h.extend,G=h.isNumber,I=h.merge,D=h.pick,B=h.removeEvent;return function(u){function c(a,r,y,p,O,k,m,L,A,t){var f=u.call(this)||this;f.paddingSetter=N;f.paddingLeftSetter=N;f.paddingRightSetter=N;f.init(a,"g");f.textStr=r;f.x=y;f.y=p;f.anchorX=k;f.anchorY=m;f.baseline=A;f.className=t;"button"!==
+t&&f.addClass("highcharts-label");t&&f.addClass("highcharts-"+t);f.text=a.text("",0,0,L).attr({zIndex:1});if("string"===typeof O){var v=/^url\((.*?)\)$/.test(O);if(f.renderer.symbols[O]||v)f.symbolKey=O}f.bBox=c.emptyBBox;f.padding=3;f.baselineOffset=0;f.needsBox=a.styledMode||v;f.deferredAttr={};f.alignFactor=0;return f}F(c,u);c.prototype.alignSetter=function(a){a={left:0,center:.5,right:1}[a];a!==this.alignFactor&&(this.alignFactor=a,this.bBox&&G(this.xSetting)&&this.attr({x:this.xSetting}))};c.prototype.anchorXSetter=
+function(a,c){this.anchorX=a;this.boxAttr(c,Math.round(a)-this.getCrispAdjust()-this.xSetting)};c.prototype.anchorYSetter=function(a,c){this.anchorY=a;this.boxAttr(c,a-this.ySetting)};c.prototype.boxAttr=function(a,c){this.box?this.box.attr(a,c):this.deferredAttr[a]=c};c.prototype.css=function(a){if(a){var r={},y=void 0;a=I(a);c.textProps.forEach(function(c){"undefined"!==typeof a[c]&&(r[c]=a[c],delete a[c])});this.text.css(r);y="width"in r;"fontSize"in r||"fontWeight"in r?this.updateTextPadding():
+y&&this.updateBoxSize()}return d.prototype.css.call(this,a)};c.prototype.destroy=function(){B(this.element,"mouseenter");B(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());d.prototype.destroy.call(this)};c.prototype.fillSetter=function(a,c){a&&(this.needsBox=!0);this.fill=a;this.boxAttr(c,a)};c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var a=this.padding,c=D(this.paddingLeft,a);return{width:this.width,
+height:this.height,x:this.bBox.x-c,y:this.bBox.y-a}};c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};c.prototype.heightSetter=function(a){this.heightSetting=a};c.prototype.on=function(a,c){var r=this,p=r.text,O=p&&"SPAN"===p.element.tagName?p:void 0;if(O){var k=function(k){("mouseenter"===a||"mouseleave"===a)&&k.relatedTarget instanceof Element&&(r.element.compareDocumentPosition(k.relatedTarget)&
+Node.DOCUMENT_POSITION_CONTAINED_BY||O.element.compareDocumentPosition(k.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||c.call(r.element,k)};O.on(a,k)}d.prototype.on.call(r,a,k||c);return r};c.prototype.onAdd=function(){var a=this.textStr;this.text.add(this);this.attr({text:J(a)?a:"",x:this.x,y:this.y});this.box&&J(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};c.prototype.rSetter=function(a,c){this.boxAttr(c,a)};c.prototype.shadow=function(a){a&&!this.renderer.styledMode&&
+(this.updateBoxSize(),this.box&&this.box.shadow(a));return this};c.prototype.strokeSetter=function(a,c){this.stroke=a;this.boxAttr(c,a)};c.prototype["stroke-widthSetter"]=function(a,c){a&&(this.needsBox=!0);this["stroke-width"]=a;this.boxAttr(c,a)};c.prototype["text-alignSetter"]=function(a){this.textAlign=a};c.prototype.textSetter=function(a){"undefined"!==typeof a&&this.text.attr({text:a});this.updateTextPadding()};c.prototype.updateBoxSize=function(){var a=this.text.element.style,r={},y=this.padding,
+p=this.bBox=G(this.widthSetting)&&G(this.heightSetting)&&!this.textAlign||!J(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||p.height||0)+2*y;this.baselineOffset=y+Math.min(this.renderer.fontMetrics(a&&a.fontSize,this.text).b,p.height||Infinity);this.needsBox&&(this.box||(a=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),a.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?
+" highcharts-"+this.className+"-box":"")),a.add(this)),a=this.getCrispAdjust(),r.x=a,r.y=(this.baseline?-this.baselineOffset:0)+a,r.width=Math.round(this.width),r.height=Math.round(this.height),this.box.attr(M(r,this.deferredAttr)),this.deferredAttr={})};c.prototype.updateTextPadding=function(){var a=this.text;this.updateBoxSize();var c=this.baseline?0:this.baselineOffset,y=D(this.paddingLeft,this.padding);J(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(y+=
+{center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(y!==a.x||c!==a.y)a.attr("x",y),a.hasBoxWidthChanged&&(this.bBox=a.getBBox(!0)),"undefined"!==typeof c&&a.attr("y",c);a.x=y;a.y=c};c.prototype.widthSetter=function(a){this.widthSetting=G(a)?a:void 0};c.prototype.getPaddedWidth=function(){var a=this.padding,c=D(this.paddingLeft,a);a=D(this.paddingRight,a);return(this.widthSetting||this.bBox.width||0)+c+a};c.prototype.xSetter=function(a){this.x=a;this.alignFactor&&(a-=this.alignFactor*
+this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(a);this.attr("translateX",this.xSetting)};c.prototype.ySetter=function(a){this.ySetting=this.y=Math.round(a);this.attr("translateY",this.ySetting)};c.emptyBBox={width:0,height:0,x:0,y:0};c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return c}(d)});Q(d,"Core/Renderer/SVG/TextBuilder.js",[d["Core/Globals.js"],d["Core/Utilities.js"],
+d["Core/Renderer/HTML/AST.js"]],function(d,h,K){var N=d.doc,J=d.SVG_NS,M=h.attr,G=h.isString,I=h.objectEach,D=h.pick;return function(){function B(u){var c=u.styles;this.renderer=u.renderer;this.svgElement=u;this.width=u.textWidth;this.textLineHeight=c&&c.lineHeight;this.textOutline=c&&c.textOutline;this.ellipsis=!(!c||"ellipsis"!==c.textOverflow);this.noWrap=!(!c||"nowrap"!==c.whiteSpace);this.fontSize=c&&c.fontSize}B.prototype.buildSVG=function(){var u=this.svgElement,c=u.element,a=u.renderer,r=
+D(u.textStr,"").toString(),y=-1!==r.indexOf("<"),p=c.childNodes,O=p.length;a=this.width&&!u.added&&a.box;var k=/<br.*?>/g;var m=[r,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(m!==u.textCache){u.textCache=m;for(delete u.actualWidth;O--;)c.removeChild(p[O]);y||this.ellipsis||this.width||-1!==r.indexOf(" ")&&(!this.noWrap||k.test(r))?""!==r&&(a&&a.appendChild(c),r=new K(r),this.modifyTree(r.nodes),r.addToDOM(u.element),this.modifyDOM(),this.ellipsis&&
+-1!==(c.textContent||"").indexOf("\u2026")&&u.attr("title",this.unescapeEntities(u.textStr||"",["&lt;","&gt;"])),a&&a.removeChild(c)):c.appendChild(N.createTextNode(this.unescapeEntities(r)));G(this.textOutline)&&u.applyTextOutline&&u.applyTextOutline(this.textOutline)}};B.prototype.modifyDOM=function(){var u=this,c=this.svgElement,a=M(c.element,"x");[].forEach.call(c.element.querySelectorAll("tspan.highcharts-br"),function(c){c.nextSibling&&c.previousSibling&&M(c,{dy:u.getLineHeight(c.nextSibling),
+x:a})});var r=this.width||0;if(r){var y=function(p,k){var m=p.textContent||"",L=m.replace(/([^\^])-/g,"$1- ").split(" "),A=!u.noWrap&&(1<L.length||1<c.element.childNodes.length),t=u.getLineHeight(k),f=0,v=c.actualWidth;if(u.ellipsis)m&&u.truncate(p,m,void 0,0,Math.max(0,r-parseInt(u.fontSize||12,10)),function(b,a){return b.substring(0,a)+"\u2026"});else if(A){m=[];for(A=[];k.firstChild&&k.firstChild!==p;)A.push(k.firstChild),k.removeChild(k.firstChild);for(;L.length;)L.length&&!u.noWrap&&0<f&&(m.push(p.textContent||
+""),p.textContent=L.join(" ").replace(/- /g,"-")),u.truncate(p,void 0,L,0===f?v||0:0,r,function(b,a){return L.slice(0,a).join(" ").replace(/- /g,"-")}),v=c.actualWidth,f++;A.forEach(function(b){k.insertBefore(b,p)});m.forEach(function(b){k.insertBefore(N.createTextNode(b),p);b=N.createElementNS(J,"tspan");b.textContent="\u200b";M(b,{dy:t,x:a});k.insertBefore(b,p)})}},p=function(a){[].slice.call(a.childNodes).forEach(function(k){k.nodeType===Node.TEXT_NODE?y(k,a):(-1!==k.className.baseVal.indexOf("highcharts-br")&&
+(c.actualWidth=0),p(k))})};p(c.element)}};B.prototype.getLineHeight=function(u){var c;u=u.nodeType===Node.TEXT_NODE?u.parentElement:u;this.renderer.styledMode||(c=u&&/(px|em)$/.test(u.style.fontSize)?u.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(c,u||this.svgElement.element).h};B.prototype.modifyTree=function(u){var c=this,a=function(r,y){var p=r.tagName,O=c.renderer.styledMode,k=r.attributes||
+{};if("b"===p||"strong"===p)O?k["class"]="highcharts-strong":k.style="font-weight:bold;"+(k.style||"");else if("i"===p||"em"===p)O?k["class"]="highcharts-emphasized":k.style="font-style:italic;"+(k.style||"");G(k.style)&&(k.style=k.style.replace(/(;| |^)color([ :])/,"$1fill$2"));"br"===p&&(k["class"]="highcharts-br",r.textContent="\u200b",(y=u[y+1])&&y.textContent&&(y.textContent=y.textContent.replace(/^ +/gm,"")));"#text"!==p&&"a"!==p&&(r.tagName="tspan");r.attributes=k;r.children&&r.children.filter(function(a){return"#text"!==
+a.tagName}).forEach(a)};for(u.forEach(a);u[0]&&"tspan"===u[0].tagName&&!u[0].children;)u.splice(0,1)};B.prototype.truncate=function(u,c,a,r,y,p){var O=this.svgElement,k=O.renderer,m=O.rotation,L=[],A=a?1:0,t=(c||a||"").length,f=t,v,b=function(b,f){f=f||b;var g=u.parentNode;if(g&&"undefined"===typeof L[f])if(g.getSubStringLength)try{L[f]=r+g.getSubStringLength(0,a?f+1:f)}catch(n){""}else k.getSpanWidth&&(u.textContent=p(c||a,b),L[f]=r+k.getSpanWidth(O,u));return L[f]};O.rotation=0;var E=b(u.textContent.length);
+if(r+E>y){for(;A<=t;)f=Math.ceil((A+t)/2),a&&(v=p(a,f)),E=b(f,v&&v.length-1),A===t?A=t+1:E>y?t=f-1:A=f;0===t?u.textContent="":c&&t===c.length-1||(u.textContent=v||p(c||a,f))}a&&a.splice(0,f);O.actualWidth=E;O.rotation=m};B.prototype.unescapeEntities=function(u,c){I(this.renderer.escapes,function(a,r){c&&-1!==c.indexOf(a)||(u=u.toString().replace(new RegExp(a,"g"),r))});return u};return B}()});Q(d,"Core/Renderer/SVG/SVGRenderer.js",[d["Core/Color/Color.js"],d["Core/Globals.js"],d["Core/Color/Palette.js"],
+d["Core/Renderer/SVG/SVGElement.js"],d["Core/Renderer/SVG/SVGLabel.js"],d["Core/Renderer/HTML/AST.js"],d["Core/Renderer/SVG/TextBuilder.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M,G,I){var D=I.addEvent,B=I.attr,u=I.createElement,c=I.css,a=I.defined,r=I.destroyObjectProperties,y=I.extend,p=I.isArray,O=I.isNumber,k=I.isObject,m=I.isString,L=I.merge,A=I.pick,t=I.pInt,f=I.uniqueKey,v=h.charts,b=h.deg2rad,E=h.doc,P=h.isFirefox,H=h.isMS,g=h.isWebKit,n=h.noop,e=h.SVG_NS,l=h.symbolSizes,C=h.win,x;I=
+function(){function q(b,q,e,g,l,a,f){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(b,q,e,g,l,a,f)}q.prototype.init=function(b,q,e,g,l,a,f){var z=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"});f||z.css(this.getStyle(g));g=z.element;b.appendChild(g);B(b,"dir","ltr");-1===b.innerHTML.indexOf("xmlns")&&B(g,
+"xmlns",this.SVG_NS);this.isSVG=!0;this.box=g;this.boxWrapper=z;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(E.createTextNode("Created with Highcharts 9.1.0"));this.defs=this.createElement("defs").add();this.allowHTML=a;this.forExport=l;this.styledMode=f;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(q,e,!1);var n;P&&b.getBoundingClientRect&&(q=function(){c(b,{left:0,top:0});n=b.getBoundingClientRect();
+c(b,{left:Math.ceil(n.left)-n.left+"px",top:Math.ceil(n.top)-n.top+"px"})},q(),this.unSubPixelFix=D(C,"resize",q))};q.prototype.definition=function(b){return(new M([b])).addToDOM(this.defs.element)};q.prototype.getReferenceURL=function(){if((P||g)&&E.getElementsByTagName("base").length){if(!a(x)){var b=f();b=(new M([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:b},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",
+attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+b+")",fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(E.body);c(b,{position:"fixed",top:0,left:0,zIndex:9E5});var q=E.elementFromPoint(6,6);x="hitme"===(q&&q.id);E.body.removeChild(b)}if(x)return C.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};q.prototype.getStyle=function(b){return this.style=y({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},
+b)};q.prototype.setStyle=function(b){this.boxWrapper.css(this.getStyle(b))};q.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};q.prototype.destroy=function(){var b=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();r(this.gradients||{});this.gradients=null;b&&(this.defs=b.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};q.prototype.createElement=function(b){var q=new this.Element;q.init(this,b);return q};q.prototype.getRadialAttr=
+function(b,q){return{cx:b[0]-b[2]/2+(q.cx||0)*b[2],cy:b[1]-b[2]/2+(q.cy||0)*b[2],r:(q.r||0)*b[2]}};q.prototype.buildText=function(b){(new G(b)).buildSVG()};q.prototype.getContrast=function(b){b=d.parse(b).rgba;b[0]*=1;b[1]*=1.2;b[2]*=.5;return 459<b[0]+b[1]+b[2]?"#000000":"#FFFFFF"};q.prototype.button=function(b,q,g,e,l,a,f,n,v,k){var z=this.label(b,q,g,v,void 0,void 0,k,void 0,"button"),E=0,C=this.styledMode,x=l?L(l):{};b=x&&x.style||{};x=M.filterUserAttributes(x);z.attr(L({padding:8,r:2},x));if(!C){x=
+L({fill:K.neutralColor3,stroke:K.neutralColor20,"stroke-width":1,style:{color:K.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:b},x);var R=x.style;delete x.style;a=L(x,{fill:K.neutralColor10},M.filterUserAttributes(a||{}));var w=a.style;delete a.style;f=L(x,{fill:K.highlightColor10,style:{color:K.neutralColor100,fontWeight:"bold"}},M.filterUserAttributes(f||{}));var c=f.style;delete f.style;n=L(x,{style:{color:K.neutralColor20}},M.filterUserAttributes(n||{}));var t=n.style;delete n.style}D(z.element,
+H?"mouseover":"mouseenter",function(){3!==E&&z.setState(1)});D(z.element,H?"mouseout":"mouseleave",function(){3!==E&&z.setState(E)});z.setState=function(b){1!==b&&(z.state=E=b);z.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][b||0]);C||z.attr([x,a,f,n][b||0]).css([R,w,c,t][b||0])};C||z.attr(x).css(y({cursor:"default"},R));return z.on("touchstart",function(b){return b.stopPropagation()}).on("click",function(b){3!==
+E&&e.call(z,b)})};q.prototype.crispLine=function(b,q,g){void 0===g&&(g="round");var z=b[0],e=b[1];z[1]===e[1]&&(z[1]=e[1]=Math[g](z[1])-q%2/2);z[2]===e[2]&&(z[2]=e[2]=Math[g](z[2])+q%2/2);return b};q.prototype.path=function(b){var q=this.styledMode?{}:{fill:"none"};p(b)?q.d=b:k(b)&&y(q,b);return this.createElement("path").attr(q)};q.prototype.circle=function(b,q,g){b=k(b)?b:"undefined"===typeof b?{}:{x:b,y:q,r:g};q=this.createElement("circle");q.xSetter=q.ySetter=function(b,q,z){z.setAttribute("c"+
+q,b)};return q.attr(b)};q.prototype.arc=function(b,q,g,e,a,l){k(b)?(e=b,q=e.y,g=e.r,b=e.x):e={innerR:e,start:a,end:l};b=this.symbol("arc",b,q,g,g,e);b.r=g;return b};q.prototype.rect=function(b,q,g,e,a,l){a=k(b)?b.r:a;var z=this.createElement("rect");b=k(b)?b:"undefined"===typeof b?{}:{x:b,y:q,width:Math.max(g,0),height:Math.max(e,0)};this.styledMode||("undefined"!==typeof l&&(b["stroke-width"]=l,b=z.crisp(b)),b.fill="none");a&&(b.r=a);z.rSetter=function(b,q,g){z.r=b;B(g,{rx:b,ry:b})};z.rGetter=function(){return z.r||
+0};return z.attr(b)};q.prototype.setSize=function(b,q,g){this.width=b;this.height=q;this.boxWrapper.animate({width:b,height:q},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:A(g,!0)?void 0:0});this.alignElements()};q.prototype.g=function(b){var q=this.createElement("g");return b?q.attr({"class":"highcharts-"+b}):q};q.prototype.image=function(b,q,g,e,a,l){var z={preserveAspectRatio:"none"},f=function(b,q){b.setAttributeNS?b.setAttributeNS("http://www.w3.org/1999/xlink",
+"href",q):b.setAttribute("hc-svg-href",q)},n=function(q){f(v.element,b);l.call(v,q)};1<arguments.length&&y(z,{x:q,y:g,width:e,height:a});var v=this.createElement("image").attr(z);l?(f(v.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),z=new C.Image,D(z,"load",n),z.src=b,z.complete&&n({})):f(v.element,b);return v};q.prototype.symbol=function(b,q,g,e,f,n){var z=this,k=/^url\((.*?)\)$/,C=k.test(b),x=!C&&(this.symbols[b]?b:"circle"),R=x&&this.symbols[x],w;if(R){"number"===
+typeof q&&(w=R.call(this.symbols,Math.round(q||0),Math.round(g||0),e||0,f||0,n));var t=this.path(w);z.styledMode||t.attr("fill","none");y(t,{symbolName:x,x:q,y:g,width:e,height:f});n&&y(t,n)}else if(C){var H=b.match(k)[1];t=this.image(H);t.imgwidth=A(l[H]&&l[H].width,n&&n.width);t.imgheight=A(l[H]&&l[H].height,n&&n.height);var p=function(){t.attr({width:t.width,height:t.height})};["width","height"].forEach(function(b){t[b+"Setter"]=function(b,q){var z=this["img"+q];this[q]=b;a(z)&&(n&&"within"===
+n.backgroundSize&&this.width&&this.height&&(z=Math.round(z*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(q,z),this.alignByTranslate||(b=((this[q]||0)-z)/2,this.attr("width"===q?{translateX:b}:{translateY:b})))}});a(q)&&t.attr({x:q,y:g});t.isImg=!0;a(t.imgwidth)&&a(t.imgheight)?p():(t.attr({width:0,height:0}),u("img",{onload:function(){var b=v[z.chartIndex];0===this.width&&(c(this,{position:"absolute",top:"-999em"}),E.body.appendChild(this));
+l[H]={width:this.width,height:this.height};t.imgwidth=this.width;t.imgheight=this.height;t.element&&p();this.parentNode&&this.parentNode.removeChild(this);z.imgCount--;if(!z.imgCount&&b&&!b.hasLoaded)b.onload()},src:H}),this.imgCount++)}return t};q.prototype.clipRect=function(b,q,g,e){var z=f()+"-",a=this.createElement("clipPath").attr({id:z}).add(this.defs);b=this.rect(b,q,g,e,0).add(a);b.id=z;b.clipPath=a;b.count=0;return b};q.prototype.text=function(b,q,g,e){var z={};if(e&&(this.allowHTML||!this.forExport))return this.html(b,
+q,g);z.x=Math.round(q||0);g&&(z.y=Math.round(g));a(b)&&(z.text=b);b=this.createElement("text").attr(z);e||(b.xSetter=function(b,q,z){var g=z.getElementsByTagName("tspan"),e=z.getAttribute(q),a;for(a=0;a<g.length;a++){var l=g[a];l.getAttribute(q)===e&&l.setAttribute(q,b)}z.setAttribute(q,b)});return b};q.prototype.fontMetrics=function(b,q){b=!this.styledMode&&/px/.test(b)||!C.getComputedStyle?b||q&&q.style&&q.style.fontSize||this.style&&this.style.fontSize:q&&F.prototype.getStyle.call(q,"font-size");
+b=/px/.test(b)?t(b):12;q=24>b?b+3:Math.round(1.2*b);return{h:q,b:Math.round(.8*q),f:b}};q.prototype.rotCorr=function(q,g,e){var z=q;g&&e&&(z=Math.max(z*Math.cos(g*b),4));return{x:-q/3*Math.sin(g*b),y:z}};q.prototype.pathToSegments=function(b){for(var q=[],z=[],g={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},e=0;e<b.length;e++)m(z[0])&&O(b[e])&&z.length===g[z[0].toUpperCase()]&&b.splice(e,0,z[0].replace("M","L").replace("m","l")),"string"===typeof b[e]&&(z.length&&q.push(z.slice(0)),z.length=0),z.push(b[e]);
+q.push(z.slice(0));return q};q.prototype.label=function(b,q,g,e,a,l,f,n,v){return new J(this,b,q,g,e,a,l,f,n,v)};q.prototype.alignElements=function(){this.alignedObjects.forEach(function(b){return b.align()})};return q}();I.prototype.Element=F;I.prototype.SVG_NS=e;I.prototype.draw=n;I.prototype.escapes={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};var w=function(b,z,g,e,a){a=a&&a.r||0;return[["M",b+a,z],["L",b+g-a,z],["C",b+g,z,b+g,z,b+g,z+a],["L",b+g,z+e-a],["C",b+g,z+e,b+g,z+e,b+
+g-a,z+e],["L",b+a,z+e],["C",b,z+e,b,z+e,b,z+e-a],["L",b,z+a],["C",b,z,b,z,b+a,z]]};n=function(b,z,g,e,a){return a&&a.r?w(b,z,g,e,a):[["M",b,z],["L",b+g,z],["L",b+g,z+e],["L",b,z+e],["Z"]]};I.prototype.symbols={circle:function(b,z,g,e){return this.arc(b+g/2,z+e/2,g/2,e/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},rect:n,square:n,triangle:function(b,z,g,e){return[["M",b+g/2,z],["L",b+g,z+e],["L",b,z+e],["Z"]]},"triangle-down":function(b,z,g,e){return[["M",b,z],["L",b+g,z],["L",b+g/2,z+e],["Z"]]},
+diamond:function(b,z,g,e){return[["M",b+g/2,z],["L",b+g,z+e/2],["L",b+g/2,z+e],["L",b,z+e/2],["Z"]]},arc:function(b,z,g,e,l){var q=[];if(l){var f=l.start||0,n=A(l.r,g);g=A(l.r,e||g);var v=(l.end||0)-.001;e=l.innerR;var k=A(l.open,.001>Math.abs((l.end||0)-f-2*Math.PI)),E=Math.cos(f),x=Math.sin(f),C=Math.cos(v),t=Math.sin(v);f=A(l.longArc,.001>v-f-Math.PI?0:1);q.push(["M",b+n*E,z+g*x],["A",n,g,0,f,A(l.clockwise,1),b+n*C,z+g*t]);a(e)&&q.push(k?["M",b+e*C,z+e*t]:["L",b+e*C,z+e*t],["A",e,e,0,f,a(l.clockwise)?
+1-l.clockwise:0,b+e*E,z+e*x]);k||q.push(["Z"])}return q},callout:function(b,g,e,a,l){var q=Math.min(l&&l.r||0,e,a),z=q+6,f=l&&l.anchorX;l=l&&l.anchorY||0;var n=w(b,g,e,a,{r:q});if(!O(f))return n;b+f>=e?l>g+z&&l<g+a-z?n.splice(3,1,["L",b+e,l-6],["L",b+e+6,l],["L",b+e,l+6],["L",b+e,g+a-q]):n.splice(3,1,["L",b+e,a/2],["L",f,l],["L",b+e,a/2],["L",b+e,g+a-q]):0>=b+f?l>g+z&&l<g+a-z?n.splice(7,1,["L",b,l+6],["L",b-6,l],["L",b,l-6],["L",b,g+q]):n.splice(7,1,["L",b,a/2],["L",f,l],["L",b,a/2],["L",b,g+q]):
+l&&l>a&&f>b+z&&f<b+e-z?n.splice(5,1,["L",f+6,g+a],["L",f,g+a+6],["L",f-6,g+a],["L",b+q,g+a]):l&&0>l&&f>b+z&&f<b+e-z&&n.splice(1,1,["L",f-6,g],["L",f,g-6],["L",f+6,g],["L",e-q,g]);return n}};h.SVGRenderer=I;h.Renderer=h.SVGRenderer;return h.Renderer});Q(d,"Core/Renderer/HTML/HTMLElement.js",[d["Core/Globals.js"],d["Core/Renderer/SVG/SVGElement.js"],d["Core/Utilities.js"]],function(d,h,K){var N=d.isFirefox,J=d.isMS,M=d.isWebKit,G=d.win,I=K.css,D=K.defined,B=K.extend,u=K.pick,c=K.pInt;B(h.prototype,
+{htmlCss:function(a){var c="SPAN"===this.element.tagName&&a&&"width"in a,y=u(c&&a.width,void 0);if(c){delete a.width;this.textWidth=y;var p=!0}a&&"ellipsis"===a.textOverflow&&(a.whiteSpace="nowrap",a.overflow="hidden");this.styles=B(this.styles,a);I(this.element,a);p&&this.htmlUpdateTransform();return this},htmlGetBBox:function(){var a=this.element;return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var a=this.renderer,r=this.element,
+y=this.translateX||0,p=this.translateY||0,u=this.x||0,k=this.y||0,m=this.textAlign||"left",L={left:0,center:.5,right:1}[m],A=this.styles;A=A&&A.whiteSpace;I(r,{marginLeft:y,marginTop:p});!a.styledMode&&this.shadows&&this.shadows.forEach(function(b){I(b,{marginLeft:y+1,marginTop:p+1})});this.inverted&&[].forEach.call(r.childNodes,function(b){a.invertChild(b,r)});if("SPAN"===r.tagName){var t=this.rotation,f=void 0;f=this.textWidth&&c(this.textWidth);var v=[t,m,r.innerHTML,this.textWidth,this.textAlign].join(),
+b;(b=f!==this.oldTextWidth)&&!(b=f>this.oldTextWidth)&&((b=this.textPxLength)||(I(r,{width:"",whiteSpace:A||"nowrap"}),b=r.offsetWidth),b=b>f);b&&(/[ \-]/.test(r.textContent||r.innerText)||"ellipsis"===r.style.textOverflow)?(I(r,{width:f+"px",display:"block",whiteSpace:A||"normal"}),this.oldTextWidth=f,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1;v!==this.cTT&&(f=a.fontMetrics(r.style.fontSize,r).b,!D(t)||t===(this.oldRotation||0)&&m===this.oldAlign||this.setSpanRotation(t,L,f),this.getSpanCorrection(!D(t)&&
+this.textPxLength||r.offsetWidth,f,L,t,m));I(r,{left:u+(this.xCorr||0)+"px",top:k+(this.yCorr||0)+"px"});this.cTT=v;this.oldRotation=t;this.oldAlign=m}}else this.alignOnAdd=!0},setSpanRotation:function(a,c,y){var p={},r=J&&!/Edge/.test(G.navigator.userAgent)?"-ms-transform":M?"-webkit-transform":N?"MozTransform":G.opera?"-o-transform":void 0;r&&(p[r]=p.transform="rotate("+a+"deg)",p[r+(N?"Origin":"-origin")]=p.transformOrigin=100*c+"% "+y+"px",I(this.element,p))},getSpanCorrection:function(a,c,y){this.xCorr=
+-a*y;this.yCorr=-c}});return h});Q(d,"Core/Renderer/HTML/HTMLRenderer.js",[d["Core/Renderer/HTML/AST.js"],d["Core/Renderer/SVG/SVGElement.js"],d["Core/Renderer/SVG/SVGRenderer.js"],d["Core/Utilities.js"]],function(d,h,K,F){var N=F.attr,M=F.createElement,G=F.extend,I=F.pick;G(K.prototype,{html:function(D,B,u){var c=this.createElement("span"),a=c.element,r=c.renderer,y=r.isSVG,p=function(a,k){["opacity","visibility"].forEach(function(c){a[c+"Setter"]=function(p,m,t){var f=a.div?a.div.style:k;h.prototype[c+
+"Setter"].call(this,p,m,t);f&&(f[m]=p)}});a.addedSetters=!0};c.textSetter=function(a){a!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,d.setElementHTML(this.element,I(a,"")),this.textStr=a,c.doTransform=!0)};y&&p(c,c.element.style);c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(a,k){"align"===k?c.alignValue=c.textAlign=a:c[k]=a;c.doTransform=!0};c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};c.attr({text:D,x:Math.round(B),y:Math.round(u)}).css({position:"absolute"});
+r.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});a.style.whiteSpace="nowrap";c.css=c.htmlCss;y&&(c.add=function(y){var k=r.box.parentNode,m=[];if(this.parentGroup=y){var L=y.div;if(!L){for(;y;)m.push(y),y=y.parentGroup;m.reverse().forEach(function(a){function t(f,v){a[v]=f;"translateX"===v?b.left=f+"px":b.top=f+"px";a.doTransform=!0}var f=N(a.element,"class"),v=a.styles||{};L=a.div=a.div||M("div",f?{className:f}:void 0,{position:"absolute",left:(a.translateX||0)+
+"px",top:(a.translateY||0)+"px",display:a.display,opacity:a.opacity,cursor:v.cursor,pointerEvents:v.pointerEvents},L||k);var b=L.style;G(a,{classSetter:function(b){return function(a){this.element.setAttribute("class",a);b.className=a}}(L),on:function(){m[0].div&&c.on.apply({element:m[0].div,onEvents:c.onEvents},arguments);return a},translateXSetter:t,translateYSetter:t});a.addedSetters||p(a)})}}else L=k;L.appendChild(a);c.added=!0;c.alignOnAdd&&c.htmlUpdateTransform();return c});return c}});return K});
+Q(d,"Core/Axis/Tick.js",[d["Core/FormatUtilities.js"],d["Core/Globals.js"],d["Core/Utilities.js"]],function(d,h,K){var N=h.deg2rad,J=K.clamp,M=K.correctFloat,G=K.defined,I=K.destroyObjectProperties,D=K.extend,B=K.fireEvent,u=K.isNumber,c=K.merge,a=K.objectEach,r=K.pick;"";K=function(){function y(a,c,k,m,L){this.isNewLabel=this.isNew=!0;this.axis=a;this.pos=c;this.type=k||"";this.parameters=L||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;B(this,"init");
+k||m||this.addLabel()}y.prototype.addLabel=function(){var a=this,c=a.axis,k=c.options,m=c.chart,L=c.categories,A=c.logarithmic,t=c.names,f=a.pos,v=r(a.options&&a.options.labels,k.labels),b=c.tickPositions,E=f===b[0],P=f===b[b.length-1],H=a.label,g=(!v.step||1===v.step)&&1===c.tickInterval;b=b.info;var n,e;L=this.parameters.category||(L?r(L[f],t[f],f):f);A&&u(L)&&(L=M(A.lin2log(L)));if(c.dateTime&&b){var l=m.time.resolveDTLFormat(k.dateTimeLabelFormats[!k.grid&&b.higherRanks[f]||b.unitName]);var C=
+l.main}a.isFirst=E;a.isLast=P;var x={axis:c,chart:m,dateTimeLabelFormat:C,isFirst:E,isLast:P,pos:f,tick:a,tickPositionInfo:b,value:L};B(this,"labelFormat",x);var w=function(b){return v.formatter?v.formatter.call(b,b):v.format?(b.text=c.defaultLabelFormatter.call(b),d.format(v.format,b,m)):c.defaultLabelFormatter.call(b,b)};k=w.call(x,x);if(e=l&&l.list)a.shortenLabel=function(){for(n=0;n<e.length;n++)if(D(x,{dateTimeLabelFormat:e[n]}),H.attr({text:w.call(x,x)}),H.getBBox().width<c.getSlotWidth(a)-
+2*v.padding)return;H.attr({text:""})};g&&c._addedPlotLB&&a.moveLabel(k,v);G(H)||a.movedLabel?H&&H.textStr!==k&&!g&&(!H.textWidth||v.style.width||H.styles.width||H.css({width:null}),H.attr({text:k}),H.textPxLength=H.getBBox().width):(a.label=H=a.createLabel({x:0,y:0},k,v),a.rotation=0)};y.prototype.createLabel=function(a,y,k){var m=this.axis,p=m.chart;if(a=G(y)&&k.enabled?p.renderer.text(y,a.x,a.y,k.useHTML).add(m.labelGroup):null)p.styledMode||a.css(c(k.style)),a.textPxLength=a.getBBox().width;return a};
+y.prototype.destroy=function(){I(this,this.axis)};y.prototype.getPosition=function(a,c,k,m){var p=this.axis,A=p.chart,t=m&&A.oldChartHeight||A.chartHeight;a={x:a?M(p.translate(c+k,null,null,m)+p.transB):p.left+p.offset+(p.opposite?(m&&A.oldChartWidth||A.chartWidth)-p.right-p.left:0),y:a?t-p.bottom+p.offset-(p.opposite?p.height:0):M(t-p.translate(c+k,null,null,m)-p.transB)};a.y=J(a.y,-1E5,1E5);B(this,"afterGetPosition",{pos:a});return a};y.prototype.getLabelPosition=function(a,c,k,m,L,A,t,f){var v=
+this.axis,b=v.transA,E=v.isLinked&&v.linkedParent?v.linkedParent.reversed:v.reversed,P=v.staggerLines,H=v.tickRotCorr||{x:0,y:0},g=L.y,n=m||v.reserveSpaceDefault?0:-v.labelOffset*("center"===v.labelAlign?.5:1),e={};G(g)||(g=0===v.side?k.rotation?-8:-k.getBBox().height:2===v.side?H.y+8:Math.cos(k.rotation*N)*(H.y-k.getBBox(!1,0).height/2));a=a+L.x+n+H.x-(A&&m?A*b*(E?-1:1):0);c=c+g-(A&&!m?A*b*(E?1:-1):0);P&&(k=t/(f||1)%P,v.opposite&&(k=P-k-1),c+=v.labelOffset/P*k);e.x=a;e.y=Math.round(c);B(this,"afterGetLabelPosition",
+{pos:e,tickmarkOffset:A,index:t});return e};y.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};y.prototype.getMarkPath=function(a,c,k,m,L,A){return A.crispLine([["M",a,c],["L",a+(L?0:-k),c+(L?k:0)]],m)};y.prototype.handleOverflow=function(a){var c=this.axis,k=c.options.labels,m=a.x,p=c.chart.chartWidth,A=c.chart.spacing,t=r(c.labelLeft,Math.min(c.pos,A[3]));A=r(c.labelRight,Math.max(c.isRadial?0:c.pos+c.len,p-A[1]));var f=this.label,v=this.rotation,
+b={left:0,center:.5,right:1}[c.labelAlign||f.attr("align")],E=f.getBBox().width,P=c.getSlotWidth(this),H=P,g=1,n,e={};if(v||"justify"!==k.overflow)0>v&&m-b*E<t?n=Math.round(m/Math.cos(v*N)-t):0<v&&m+b*E>A&&(n=Math.round((p-m)/Math.cos(v*N)));else if(p=m+(1-b)*E,m-b*E<t?H=a.x+H*(1-b)-t:p>A&&(H=A-a.x+H*b,g=-1),H=Math.min(P,H),H<P&&"center"===c.labelAlign&&(a.x+=g*(P-H-b*(P-Math.min(E,H)))),E>H||c.autoRotation&&(f.styles||{}).width)n=H;n&&(this.shortenLabel?this.shortenLabel():(e.width=Math.floor(n)+
+"px",(k.style||{}).textOverflow||(e.textOverflow="ellipsis"),f.css(e)))};y.prototype.moveLabel=function(c,y){var k=this,m=k.label,p=!1,A=k.axis,t=A.reversed;m&&m.textStr===c?(k.movedLabel=m,p=!0,delete k.label):a(A.ticks,function(a){p||a.isNew||a===k||!a.label||a.label.textStr!==c||(k.movedLabel=a.label,p=!0,a.labelPos=k.movedLabel.xy,delete a.label)});if(!p&&(k.labelPos||m)){var f=k.labelPos||m.xy;m=A.horiz?t?0:A.width+A.left:f.x;A=A.horiz?f.y:t?A.width+A.left:0;k.movedLabel=k.createLabel({x:m,y:A},
+c,y);k.movedLabel&&k.movedLabel.attr({opacity:0})}};y.prototype.render=function(a,c,k){var m=this.axis,p=m.horiz,A=this.pos,t=r(this.tickmarkOffset,m.tickmarkOffset);A=this.getPosition(p,A,t,c);t=A.x;var f=A.y;m=p&&t===m.pos+m.len||!p&&f===m.pos?-1:1;p=r(k,this.label&&this.label.newOpacity,1);k=r(k,1);this.isActive=!0;this.renderGridLine(c,k,m);this.renderMark(A,k,m);this.renderLabel(A,c,p,a);this.isNew=!1;B(this,"afterRender")};y.prototype.renderGridLine=function(a,c,k){var m=this.axis,p=m.options,
+A=this.gridLine,t={},f=this.pos,v=this.type,b=r(this.tickmarkOffset,m.tickmarkOffset),E=m.chart.renderer,P=p.gridLineWidth,H=p.gridLineColor,g=p.gridLineDashStyle;"minor"===this.type&&(P=p.minorGridLineWidth,H=p.minorGridLineColor,g=p.minorGridLineDashStyle);A||(m.chart.styledMode||(t.stroke=H,t["stroke-width"]=P||0,t.dashstyle=g),v||(t.zIndex=1),a&&(c=0),this.gridLine=A=E.path().attr(t).addClass("highcharts-"+(v?v+"-":"")+"grid-line").add(m.gridGroup));if(A&&(k=m.getPlotLinePath({value:f+b,lineWidth:A.strokeWidth()*
+k,force:"pass",old:a})))A[a||this.isNew?"attr":"animate"]({d:k,opacity:c})};y.prototype.renderMark=function(a,c,k){var m=this.axis,p=m.options,A=m.chart.renderer,t=this.type,f=m.tickSize(t?t+"Tick":"tick"),v=this.mark,b=!v,E=a.x;a=a.y;var P=r(p["minor"!==t?"tickWidth":"minorTickWidth"],!t&&m.isXAxis?1:0);p=p["minor"!==t?"tickColor":"minorTickColor"];f&&(m.opposite&&(f[0]=-f[0]),b&&(this.mark=v=A.path().addClass("highcharts-"+(t?t+"-":"")+"tick").add(m.axisGroup),m.chart.styledMode||v.attr({stroke:p,
+"stroke-width":P})),v[b?"attr":"animate"]({d:this.getMarkPath(E,a,f[0],v.strokeWidth()*k,m.horiz,A),opacity:c}))};y.prototype.renderLabel=function(a,c,k,m){var p=this.axis,A=p.horiz,t=p.options,f=this.label,v=t.labels,b=v.step;p=r(this.tickmarkOffset,p.tickmarkOffset);var E=!0,P=a.x;a=a.y;f&&u(P)&&(f.xy=a=this.getLabelPosition(P,a,f,A,v,p,m,b),this.isFirst&&!this.isLast&&!t.showFirstLabel||this.isLast&&!this.isFirst&&!t.showLastLabel?E=!1:!A||v.step||v.rotation||c||0===k||this.handleOverflow(a),b&&
+m%b&&(E=!1),E&&u(a.y)?(a.opacity=k,f[this.isNewLabel?"attr":"animate"](a),this.isNewLabel=!1):(f.attr("y",-9999),this.isNewLabel=!0))};y.prototype.replaceMovedLabel=function(){var a=this.label,c=this.axis,k=c.reversed;if(a&&!this.isNew){var m=c.horiz?k?c.left:c.width+c.left:a.xy.x;k=c.horiz?a.xy.y:k?c.width+c.top:c.top;a.animate({x:m,y:k,opacity:0},void 0,a.destroy);delete this.label}c.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return y}();h.Tick=K;return h.Tick});Q(d,"Core/Axis/Axis.js",
+[d["Core/Animation/AnimationUtilities.js"],d["Core/Color/Color.js"],d["Core/Globals.js"],d["Core/Color/Palette.js"],d["Core/Options.js"],d["Core/Axis/Tick.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M,G){var I=d.animObject,D=J.defaultOptions,B=G.addEvent,u=G.arrayMax,c=G.arrayMin,a=G.clamp,r=G.correctFloat,y=G.defined,p=G.destroyObjectProperties,O=G.erase,k=G.error,m=G.extend,L=G.fireEvent,A=G.getMagnitude,t=G.isArray,f=G.isFunction,v=G.isNumber,b=G.isString,E=G.merge,P=G.normalizeTickInterval,
+H=G.objectEach,g=G.pick,n=G.relativeLength,e=G.removeEvent,l=G.splat,C=G.syncTimeout;"";var x=K.deg2rad;d=function(){function w(b,a){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=
+this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0;this.init(b,a)}w.prototype.init=function(b,a){var q=a.isX,e=this;e.chart=b;e.horiz=b.inverted&&!e.isZAxis?!q:q;e.isXAxis=q;
+e.coll=e.coll||(q?"xAxis":"yAxis");L(this,"init",{userOptions:a});e.opposite=g(a.opposite,e.opposite);e.side=g(a.side,e.side,e.horiz?e.opposite?0:2:e.opposite?1:3);e.setOptions(a);var z=this.options,n=z.labels,c=z.type;e.userOptions=a;e.minPixelPadding=0;e.reversed=g(z.reversed,e.reversed);e.visible=z.visible;e.zoomEnabled=z.zoomEnabled;e.hasNames="category"===c||!0===z.categories;e.categories=z.categories||e.hasNames;e.names||(e.names=[],e.names.keys={});e.plotLinesAndBandsGroups={};e.positiveValuesOnly=
+!!e.logarithmic;e.isLinked=y(z.linkedTo);e.ticks={};e.labelEdge=[];e.minorTicks={};e.plotLinesAndBands=[];e.alternateBands={};e.len=0;e.minRange=e.userMinRange=z.minRange||z.maxZoom;e.range=z.range;e.offset=z.offset||0;e.max=null;e.min=null;a=g(z.crosshair,l(b.options.tooltip.crosshairs)[q?0:1]);e.crosshair=!0===a?{}:a;a=e.options.events;-1===b.axes.indexOf(e)&&(q?b.axes.splice(b.xAxis.length,0,e):b.axes.push(e),b[e.coll].push(e));e.series=e.series||[];b.inverted&&!e.isZAxis&&q&&"undefined"===typeof e.reversed&&
+(e.reversed=!0);e.labelRotation=v(n.rotation)?n.rotation:void 0;H(a,function(b,q){f(b)&&B(e,q,b)});L(this,"afterInit")};w.prototype.setOptions=function(b){this.options=E(w.defaultOptions,"yAxis"===this.coll&&w.defaultYAxisOptions,[w.defaultTopAxisOptions,w.defaultRightAxisOptions,w.defaultBottomAxisOptions,w.defaultLeftAxisOptions][this.side],E(D[this.coll],b));L(this,"afterSetOptions",{userOptions:b})};w.prototype.defaultLabelFormatter=function(){var b=this.axis,a=v(this.value)?this.value:NaN,e=
+b.chart.time,g=this.dateTimeLabelFormat,l=D.lang,f=l.numericSymbols;l=l.numericSymbolMagnitude||1E3;var n=f&&f.length,c=b.logarithmic?Math.abs(a):b.tickInterval,k=this.chart.numberFormatter;if(b.categories)var C=""+this.value;else if(g)C=e.dateFormat(g,a);else if(n&&1E3<=c)for(;n--&&"undefined"===typeof C;)b=Math.pow(l,n+1),c>=b&&0===10*a%b&&null!==f[n]&&0!==a&&(C=k(a/b,-1)+f[n]);"undefined"===typeof C&&(C=1E4<=Math.abs(a)?k(a,-1):k(a,-1,void 0,""));return C};w.prototype.getSeriesExtremes=function(){var b=
+this,a=b.chart,e;L(this,"getSeriesExtremes",null,function(){b.hasVisibleSeries=!1;b.dataMin=b.dataMax=b.threshold=null;b.softThreshold=!b.isXAxis;b.stacking&&b.stacking.buildStacks();b.series.forEach(function(q){if(q.visible||!a.options.chart.ignoreHiddenSeries){var z=q.options,l=z.threshold;b.hasVisibleSeries=!0;b.positiveValuesOnly&&0>=l&&(l=null);if(b.isXAxis){if(z=q.xData,z.length){z=b.logarithmic?z.filter(b.validatePositiveValue):z;e=q.getXExtremes(z);var f=e.min;var n=e.max;v(f)||f instanceof
+Date||(z=z.filter(v),e=q.getXExtremes(z),f=e.min,n=e.max);z.length&&(b.dataMin=Math.min(g(b.dataMin,f),f),b.dataMax=Math.max(g(b.dataMax,n),n))}}else if(q=q.applyExtremes(),v(q.dataMin)&&(f=q.dataMin,b.dataMin=Math.min(g(b.dataMin,f),f)),v(q.dataMax)&&(n=q.dataMax,b.dataMax=Math.max(g(b.dataMax,n),n)),y(l)&&(b.threshold=l),!z.softThreshold||b.positiveValuesOnly)b.softThreshold=!1}})});L(this,"afterGetSeriesExtremes")};w.prototype.translate=function(b,a,e,g,l,f){var q=this.linkedParent||this,z=1,n=
+0,c=g&&q.old?q.old.transA:q.transA;g=g&&q.old?q.old.min:q.min;var k=q.minPixelPadding;l=(q.isOrdinal||q.brokenAxis&&q.brokenAxis.hasBreaks||q.logarithmic&&l)&&q.lin2val;c||(c=q.transA);e&&(z*=-1,n=q.len);q.reversed&&(z*=-1,n-=z*(q.sector||q.len));a?(b=(b*z+n-k)/c+g,l&&(b=q.lin2val(b))):(l&&(b=q.val2lin(b)),b=v(g)?z*(b-g)*c+n+z*k+(v(f)?c*f:0):void 0);return b};w.prototype.toPixels=function(b,a){return this.translate(b,!1,!this.horiz,null,!0)+(a?0:this.pos)};w.prototype.toValue=function(b,a){return this.translate(b-
+(a?0:this.pos),!0,!this.horiz,null,!0)};w.prototype.getPlotLinePath=function(b){function q(b,q,e){if("pass"!==E&&b<q||b>e)E?b=a(b,q,e):A=!0;return b}var e=this,l=e.chart,f=e.left,n=e.top,c=b.old,k=b.value,C=b.translatedValue,x=b.lineWidth,E=b.force,t,w,H,m,P=c&&l.oldChartHeight||l.chartHeight,p=c&&l.oldChartWidth||l.chartWidth,A,y=e.transB;b={value:k,lineWidth:x,old:c,force:E,acrossPanes:b.acrossPanes,translatedValue:C};L(this,"getPlotLinePath",b,function(b){C=g(C,e.translate(k,null,null,c));C=a(C,
+-1E5,1E5);t=H=Math.round(C+y);w=m=Math.round(P-C-y);v(C)?e.horiz?(w=n,m=P-e.bottom,t=H=q(t,f,f+e.width)):(t=f,H=p-e.right,w=m=q(w,n,n+e.height)):(A=!0,E=!1);b.path=A&&!E?null:l.renderer.crispLine([["M",t,w],["L",H,m]],x||1)});return b.path};w.prototype.getLinearTickPositions=function(b,a,e){var q=r(Math.floor(a/b)*b);e=r(Math.ceil(e/b)*b);var g=[],l;r(q+b)===q&&(l=20);if(this.single)return[a];for(a=q;a<=e;){g.push(a);a=r(a+b,l);if(a===z)break;var z=a}return g};w.prototype.getMinorTickInterval=function(){var b=
+this.options;return!0===b.minorTicks?g(b.minorTickInterval,"auto"):!1===b.minorTicks?null:b.minorTickInterval};w.prototype.getMinorTickPositions=function(){var b=this.options,a=this.tickPositions,e=this.minorTickInterval,g=[],l=this.pointRangePadding||0,f=this.min-l;l=this.max+l;var n=l-f;if(n&&n/e<this.len/3){var v=this.logarithmic;if(v)this.paddedTicks.forEach(function(b,a,q){a&&g.push.apply(g,v.getLogTickPositions(e,q[a-1],q[a],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())g=
+g.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(e),f,l,b.startOfWeek));else for(b=f+(a[0]-f)%e;b<=l&&b!==g[0];b+=e)g.push(b)}0!==g.length&&this.trimTicks(g);return g};w.prototype.adjustForMinRange=function(){var b=this.options,a=this.min,e=this.max,l=this.logarithmic,f=0,n,v,k,C;this.isXAxis&&"undefined"===typeof this.minRange&&!l&&(y(b.min)||y(b.max)?this.minRange=null:(this.series.forEach(function(b){k=b.xData;C=b.xIncrement?1:k.length-1;if(1<k.length)for(n=C;0<n;n--)if(v=k[n]-
+k[n-1],!f||v<f)f=v}),this.minRange=Math.min(5*f,this.dataMax-this.dataMin)));if(e-a<this.minRange){var x=this.dataMax-this.dataMin>=this.minRange;var E=this.minRange;var t=(E-e+a)/2;t=[a-t,g(b.min,a-t)];x&&(t[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);a=u(t);e=[a+E,g(b.max,a+E)];x&&(e[2]=l?l.log2lin(this.dataMax):this.dataMax);e=c(e);e-a<E&&(t[0]=e-E,t[1]=g(b.min,e-E),a=u(t))}this.min=a;this.max=e};w.prototype.getClosest=function(){var b;this.categories?b=1:this.series.forEach(function(a){var e=
+a.closestPointRange,q=a.visible||!a.chart.options.chart.ignoreHiddenSeries;!a.noSharedTooltip&&y(e)&&q&&(b=y(b)?Math.min(b,e):e)});return b};w.prototype.nameToX=function(b){var a=t(this.categories),e=a?this.categories:this.names,q=b.options.x;b.series.requireSorting=!1;y(q)||(q=this.options.uniqueNames?a?e.indexOf(b.name):g(e.keys[b.name],-1):b.series.autoIncrement());if(-1===q){if(!a)var l=e.length}else l=q;"undefined"!==typeof l&&(this.names[l]=b.name,this.names.keys[b.name]=l);return l};w.prototype.updateNames=
+function(){var b=this,a=this.names;0<a.length&&(Object.keys(a.keys).forEach(function(b){delete a.keys[b]}),a.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(a){a.xIncrement=null;if(!a.points||a.isDirtyData)b.max=Math.max(b.max,a.xData.length-1),a.processData(),a.generatePoints();a.data.forEach(function(e,q){if(e&&e.options&&"undefined"!==typeof e.name){var g=b.nameToX(e);"undefined"!==typeof g&&g!==e.x&&(e.x=g,a.xData[q]=g)}})}))};w.prototype.setAxisTranslation=function(){var a=
+this,e=a.max-a.min,l=a.axisPointRange||0,f=0,n=0,v=a.linkedParent,c=!!a.categories,k=a.transA,C=a.isXAxis;if(C||c||l){var x=a.getClosest();v?(f=v.minPointOffset,n=v.pointRangePadding):a.series.forEach(function(e){var q=c?1:C?g(e.options.pointRange,x,0):a.axisPointRange||0,z=e.options.pointPlacement;l=Math.max(l,q);if(!a.single||c)e=e.is("xrange")?!C:C,f=Math.max(f,e&&b(z)?0:q/2),n=Math.max(n,e&&"on"===z?0:q)});v=a.ordinal&&a.ordinal.slope&&x?a.ordinal.slope/x:1;a.minPointOffset=f*=v;a.pointRangePadding=
+n*=v;a.pointRange=Math.min(l,a.single&&c?1:e);C&&(a.closestPointRange=x)}a.translationSlope=a.transA=k=a.staticScale||a.len/(e+n||1);a.transB=a.horiz?a.left:a.bottom;a.minPixelPadding=k*f;L(this,"afterSetAxisTranslation")};w.prototype.minFromRange=function(){return this.max-this.range};w.prototype.setTickInterval=function(b){var a=this,e=a.chart,q=a.logarithmic,l=a.options,f=a.isXAxis,n=a.isLinked,c=l.maxPadding,C=l.minPadding,x=l.tickInterval,E=l.tickPixelInterval,t=a.categories,w=v(a.threshold)?
+a.threshold:null,H=a.softThreshold;a.dateTime||t||n||this.getTickAmount();var m=g(a.userMin,l.min);var p=g(a.userMax,l.max);if(n){a.linkedParent=e[a.coll][l.linkedTo];var u=a.linkedParent.getExtremes();a.min=g(u.min,u.dataMin);a.max=g(u.max,u.dataMax);l.type!==a.linkedParent.options.type&&k(11,1,e)}else{if(H&&y(w))if(a.dataMin>=w)u=w,C=0;else if(a.dataMax<=w){var B=w;c=0}a.min=g(m,u,a.dataMin);a.max=g(p,B,a.dataMax)}q&&(a.positiveValuesOnly&&!b&&0>=Math.min(a.min,g(a.dataMin,a.min))&&k(10,1,e),a.min=
+r(q.log2lin(a.min),16),a.max=r(q.log2lin(a.max),16));a.range&&y(a.max)&&(a.userMin=a.min=m=Math.max(a.dataMin,a.minFromRange()),a.userMax=p=a.max,a.range=null);L(a,"foundExtremes");a.beforePadding&&a.beforePadding();a.adjustForMinRange();!(t||a.axisPointRange||a.stacking&&a.stacking.usePercentage||n)&&y(a.min)&&y(a.max)&&(e=a.max-a.min)&&(!y(m)&&C&&(a.min-=e*C),!y(p)&&c&&(a.max+=e*c));v(a.userMin)||(v(l.softMin)&&l.softMin<a.min&&(a.min=m=l.softMin),v(l.floor)&&(a.min=Math.max(a.min,l.floor)));v(a.userMax)||
+(v(l.softMax)&&l.softMax>a.max&&(a.max=p=l.softMax),v(l.ceiling)&&(a.max=Math.min(a.max,l.ceiling)));H&&y(a.dataMin)&&(w=w||0,!y(m)&&a.min<w&&a.dataMin>=w?a.min=a.options.minRange?Math.min(w,a.max-a.minRange):w:!y(p)&&a.max>w&&a.dataMax<=w&&(a.max=a.options.minRange?Math.max(w,a.min+a.minRange):w));v(a.min)&&v(a.max)&&!this.chart.polar&&a.min>a.max&&(y(a.options.min)?a.max=a.min:y(a.options.max)&&(a.min=a.max));a.tickInterval=a.min===a.max||"undefined"===typeof a.min||"undefined"===typeof a.max?1:
+n&&a.linkedParent&&!x&&E===a.linkedParent.options.tickPixelInterval?x=a.linkedParent.tickInterval:g(x,this.tickAmount?(a.max-a.min)/Math.max(this.tickAmount-1,1):void 0,t?1:(a.max-a.min)*E/Math.max(a.len,E));f&&!b&&a.series.forEach(function(b){b.processData(a.min!==(a.old&&a.old.min)||a.max!==(a.old&&a.old.max))});a.setAxisTranslation();L(this,"initialAxisTranslation");a.pointRange&&!x&&(a.tickInterval=Math.max(a.pointRange,a.tickInterval));b=g(l.minTickInterval,a.dateTime&&!a.series.some(function(b){return b.noSharedTooltip})?
+a.closestPointRange:0);!x&&a.tickInterval<b&&(a.tickInterval=b);a.dateTime||a.logarithmic||x||(a.tickInterval=P(a.tickInterval,void 0,A(a.tickInterval),g(l.allowDecimals,.5>a.tickInterval||void 0!==this.tickAmount),!!this.tickAmount));this.tickAmount||(a.tickInterval=a.unsquish());this.setTickPositions()};w.prototype.setTickPositions=function(){var b=this.options,a=b.tickPositions;var e=this.getMinorTickInterval();var g=b.tickPositioner,l=this.hasVerticalPanning(),f="colorAxis"===this.coll,n=(f||
+!l)&&b.startOnTick;l=(f||!l)&&b.endOnTick;this.tickmarkOffset=this.categories&&"between"===b.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===e&&this.tickInterval?this.tickInterval/5:e;this.single=this.min===this.max&&y(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==b.allowDecimals);this.tickPositions=e=a&&a.slice();!e&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?e=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,
+b.units),this.min,this.max,b.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(e=[this.min,this.max],k(19,!1,this.chart)),e.length>this.len&&(e=[e[0],e.pop()],e[0]===e[1]&&(e.length=1)),this.tickPositions=e,g&&(g=g.apply(this,[this.min,this.max])))&&(this.tickPositions=e=g);this.paddedTicks=e.slice(0);this.trimTicks(e,
+n,l);this.isLinked||(this.single&&2>e.length&&!this.categories&&!this.series.some(function(b){return b.is("heatmap")&&"between"===b.options.pointPlacement})&&(this.min-=.5,this.max+=.5),a||g||this.adjustTickAmount());L(this,"afterSetTickPositions")};w.prototype.trimTicks=function(b,a,e){var g=b[0],l=b[b.length-1],q=!this.isOrdinal&&this.minPointOffset||0;L(this,"trimTicks");if(!this.isLinked){if(a&&-Infinity!==g)this.min=g;else for(;this.min-q>b[0];)b.shift();if(e)this.max=l;else for(;this.max+q<
+b[b.length-1];)b.pop();0===b.length&&y(g)&&!this.options.tickPositions&&b.push((l+g)/2)}};w.prototype.alignToOthers=function(){var b={},a,e=this.options;!1!==this.chart.options.chart.alignTicks&&e.alignTicks&&!1!==e.startOnTick&&!1!==e.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach(function(e){var g=e.options;g=[e.horiz?g.left:g.top,g.width,g.height,g.pane].join();e.series.length&&(b[g]?a=!0:b[g]=1)});return a};w.prototype.getTickAmount=function(){var b=this.options,a=b.tickAmount,e=
+b.tickPixelInterval;!y(b.tickInterval)&&!a&&this.len<e&&!this.isRadial&&!this.logarithmic&&b.startOnTick&&b.endOnTick&&(a=2);!a&&this.alignToOthers()&&(a=Math.ceil(this.len/e)+1);4>a&&(this.finalTickAmt=a,a=5);this.tickAmount=a};w.prototype.adjustTickAmount=function(){var b=this.options,a=this.tickInterval,e=this.tickPositions,l=this.tickAmount,f=this.finalTickAmt,n=e&&e.length,c=g(this.threshold,this.softThreshold?0:null);if(this.hasData()&&v(this.min)&&v(this.max)){if(n<l){for(;e.length<l;)e.length%
+2||this.min===c?e.push(r(e[e.length-1]+a)):e.unshift(r(e[0]-a));this.transA*=(n-1)/(l-1);this.min=b.startOnTick?e[0]:Math.min(this.min,e[0]);this.max=b.endOnTick?e[e.length-1]:Math.max(this.max,e[e.length-1])}else n>l&&(this.tickInterval*=2,this.setTickPositions());if(y(f)){for(a=b=e.length;a--;)(3===f&&1===a%2||2>=f&&0<a&&a<b-1)&&e.splice(a,1);this.finalTickAmt=void 0}}};w.prototype.setScale=function(){var b,a=!1,e=!1;this.series.forEach(function(b){a=a||b.isDirtyData||b.isDirty;e=e||b.xAxis&&b.xAxis.isDirty||
+!1});this.setAxisSize();(b=this.len!==(this.old&&this.old.len))||a||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=b||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks();a&&this.panningState&&(this.panningState.isDirty=
+!0);L(this,"afterSetScale")};w.prototype.setExtremes=function(b,a,e,l,f){var q=this,n=q.chart;e=g(e,!0);q.series.forEach(function(b){delete b.kdTree});f=m(f,{min:b,max:a});L(q,"setExtremes",f,function(){q.userMin=b;q.userMax=a;q.eventArgs=f;e&&n.redraw(l)})};w.prototype.zoom=function(b,a){var e=this,l=this.dataMin,q=this.dataMax,f=this.options,n=Math.min(l,g(f.min,l)),v=Math.max(q,g(f.max,q));b={newMin:b,newMax:a};L(this,"zoom",b,function(b){var a=b.newMin,g=b.newMax;if(a!==e.min||g!==e.max)e.allowZoomOutside||
+(y(l)&&(a<n&&(a=n),a>v&&(a=v)),y(q)&&(g<n&&(g=n),g>v&&(g=v))),e.displayBtn="undefined"!==typeof a||"undefined"!==typeof g,e.setExtremes(a,g,!1,void 0,{trigger:"zoom"});b.zoomed=!0});return b.zoomed};w.prototype.setAxisSize=function(){var b=this.chart,a=this.options,e=a.offsets||[0,0,0,0],l=this.horiz,f=this.width=Math.round(n(g(a.width,b.plotWidth-e[3]+e[1]),b.plotWidth)),v=this.height=Math.round(n(g(a.height,b.plotHeight-e[0]+e[2]),b.plotHeight)),c=this.top=Math.round(n(g(a.top,b.plotTop+e[0]),b.plotHeight,
+b.plotTop));a=this.left=Math.round(n(g(a.left,b.plotLeft+e[3]),b.plotWidth,b.plotLeft));this.bottom=b.chartHeight-v-c;this.right=b.chartWidth-f-a;this.len=Math.max(l?f:v,0);this.pos=l?a:c};w.prototype.getExtremes=function(){var b=this.logarithmic;return{min:b?r(b.lin2log(this.min)):this.min,max:b?r(b.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};w.prototype.getThreshold=function(b){var a=this.logarithmic,e=a?a.lin2log(this.min):this.min;
+a=a?a.lin2log(this.max):this.max;null===b||-Infinity===b?b=e:Infinity===b?b=a:e>b?b=e:a<b&&(b=a);return this.translate(b,0,1,0,1)};w.prototype.autoLabelAlign=function(b){var a=(g(b,0)-90*this.side+720)%360;b={align:"center"};L(this,"autoLabelAlign",b,function(b){15<a&&165>a?b.align="right":195<a&&345>a&&(b.align="left")});return b.align};w.prototype.tickSize=function(b){var a=this.options,e=a["tick"===b?"tickLength":"minorTickLength"],l=g(a["tick"===b?"tickWidth":"minorTickWidth"],"tick"===b&&this.isXAxis&&
+!this.categories?1:0);if(l&&e){"inside"===a[b+"Position"]&&(e=-e);var f=[e,l]}b={tickSize:f};L(this,"afterTickSize",b);return b.tickSize};w.prototype.labelMetrics=function(){var b=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[b]&&this.ticks[b].label)};w.prototype.unsquish=function(){var b=this.options.labels,a=this.horiz,e=this.tickInterval,l=e,f=this.len/(((this.categories?1:0)+this.max-this.min)/e),n,c=b.rotation,
+k=this.labelMetrics(),C,E=Number.MAX_VALUE,t=Math.max(this.max-this.min,0),w=function(b){var a=b/(f||1);a=1<a?Math.ceil(a):1;a*e>t&&Infinity!==b&&Infinity!==f&&t&&(a=Math.ceil(t/e));return r(a*e)};if(a){if(!b.staggerLines&&!b.step)if(v(c))var H=[c];else f<b.autoRotationLimit&&(H=b.autoRotation);H&&H.forEach(function(b){if(b===c||b&&-90<=b&&90>=b){C=w(Math.abs(k.h/Math.sin(x*b)));var a=C+Math.abs(b/360);a<E&&(E=a,n=b,l=C)}})}else b.step||(l=w(k.h));this.autoRotation=H;this.labelRotation=g(n,v(c)?c:
+0);return l};w.prototype.getSlotWidth=function(b){var a=this.chart,e=this.horiz,g=this.options.labels,l=Math.max(this.tickPositions.length-(this.categories?0:1),1),f=a.margin[3];if(b&&v(b.slotWidth))return b.slotWidth;if(e&&2>g.step)return g.rotation?0:(this.staggerLines||1)*this.len/l;if(!e){b=g.style.width;if(void 0!==b)return parseInt(String(b),10);if(f)return f-a.spacing[3]}return.33*a.chartWidth};w.prototype.renderUnsquish=function(){var a=this.chart,e=a.renderer,g=this.tickPositions,l=this.ticks,
+f=this.options.labels,n=f.style,v=this.horiz,c=this.getSlotWidth(),k=Math.max(1,Math.round(c-2*f.padding)),C={},x=this.labelMetrics(),E=n.textOverflow,t=0;b(f.rotation)||(C.rotation=f.rotation||0);g.forEach(function(b){b=l[b];b.movedLabel&&b.replaceMovedLabel();b&&b.label&&b.label.textPxLength>t&&(t=b.label.textPxLength)});this.maxLabelLength=t;if(this.autoRotation)t>k&&t>x.h?C.rotation=this.labelRotation:this.labelRotation=0;else if(c){var w=k;if(!E){var H="clip";for(k=g.length;!v&&k--;){var m=g[k];
+if(m=l[m].label)m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>c&&m.css({width:c+"px"}),m.getBBox().height>this.len/g.length-(x.h-x.f)&&(m.specificTextOverflow="ellipsis")}}}C.rotation&&(w=t>.5*a.chartHeight?.33*a.chartHeight:t,E||(H="ellipsis"));if(this.labelAlign=f.align||this.autoLabelAlign(this.labelRotation))C.align=this.labelAlign;g.forEach(function(b){var a=(b=l[b])&&b.label,e=n.width,g={};a&&(a.attr(C),b.shortenLabel?b.shortenLabel():w&&!e&&"nowrap"!==
+n.whiteSpace&&(w<a.textPxLength||"SPAN"===a.element.tagName)?(g.width=w+"px",E||(g.textOverflow=a.specificTextOverflow||H),a.css(g)):a.styles&&a.styles.width&&!g.width&&!e&&a.css({width:null}),delete a.specificTextOverflow,b.rotation=C.rotation)},this);this.tickRotCorr=e.rotCorr(x.b,this.labelRotation||0,0!==this.side)};w.prototype.hasData=function(){return this.series.some(function(b){return b.hasData()})||this.options.showEmpty&&y(this.min)&&y(this.max)};w.prototype.addTitle=function(b){var a=this.chart.renderer,
+e=this.horiz,g=this.opposite,l=this.options.title,f,n=this.chart.styledMode;this.axisTitle||((f=l.textAlign)||(f=(e?{low:"left",middle:"center",high:"right"}:{low:g?"right":"left",middle:"center",high:g?"left":"right"})[l.align]),this.axisTitle=a.text(l.text||"",0,0,l.useHTML).attr({zIndex:7,rotation:l.rotation,align:f}).addClass("highcharts-axis-title"),n||this.axisTitle.css(E(l.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);n||l.style.width||this.isRadial||this.axisTitle.css({width:this.len+
+"px"});this.axisTitle[b?"show":"hide"](b)};w.prototype.generateTick=function(b){var a=this.ticks;a[b]?a[b].addLabel():a[b]=new M(this,b)};w.prototype.getOffset=function(){var b=this,a=this,e=a.chart,l=e.renderer,f=a.options,n=a.tickPositions,v=a.ticks,c=a.horiz,k=a.side,C=e.inverted&&!a.isZAxis?[1,0,3,2][k]:k,x,E=0,t=0,w=f.title,m=f.labels,P=0,p=e.axisOffset;e=e.clipOffset;var A=[-1,1,1,-1][k],r=f.className,u=a.axisParent;var B=a.hasData();a.showAxis=x=B||f.showEmpty;a.staggerLines=a.horiz&&m.staggerLines||
+void 0;if(!a.axisGroup){var h=function(a,e,g){return l.g(a).attr({zIndex:g}).addClass("highcharts-"+b.coll.toLowerCase()+e+" "+(b.isRadial?"highcharts-radial-axis"+e+" ":"")+(r||"")).add(u)};a.gridGroup=h("grid","-grid",f.gridZIndex);a.axisGroup=h("axis","",f.zIndex);a.labelGroup=h("axis-labels","-labels",m.zIndex)}B||a.isLinked?(n.forEach(function(b,e){a.generateTick(b,e)}),a.renderUnsquish(),a.reserveSpaceDefault=0===k||2===k||{1:"left",3:"right"}[k]===a.labelAlign,g(m.reserveSpace,"center"===a.labelAlign?
+!0:null,a.reserveSpaceDefault)&&n.forEach(function(b){P=Math.max(v[b].getLabelSize(),P)}),a.staggerLines&&(P*=a.staggerLines),a.labelOffset=P*(a.opposite?-1:1)):H(v,function(b,a){b.destroy();delete v[a]});if(w&&w.text&&!1!==w.enabled&&(a.addTitle(x),x&&!1!==w.reserveSpace)){a.titleOffset=E=a.axisTitle.getBBox()[c?"height":"width"];var d=w.offset;t=y(d)?0:g(w.margin,c?5:10)}a.renderLine();a.offset=A*g(f.offset,p[k]?p[k]+(f.margin||0):0);a.tickRotCorr=a.tickRotCorr||{x:0,y:0};w=0===k?-a.labelMetrics().h:
+2===k?a.tickRotCorr.y:0;t=Math.abs(P)+t;P&&(t=t-w+A*(c?g(m.y,a.tickRotCorr.y+8*A):m.x));a.axisTitleMargin=g(d,t);a.getMaxLabelDimensions&&(a.maxLabelDimensions=a.getMaxLabelDimensions(v,n));c=this.tickSize("tick");p[k]=Math.max(p[k],(a.axisTitleMargin||0)+E+A*a.offset,t,n&&n.length&&c?c[0]+A*a.offset:0);f=f.offset?0:2*Math.floor(a.axisLine.strokeWidth()/2);e[C]=Math.max(e[C],f);L(this,"afterGetOffset")};w.prototype.getLinePath=function(b){var a=this.chart,e=this.opposite,g=this.offset,l=this.horiz,
+f=this.left+(e?this.width:0)+g;g=a.chartHeight-this.bottom-(e?this.height:0)+g;e&&(b*=-1);return a.renderer.crispLine([["M",l?this.left:f,l?g:this.top],["L",l?a.chartWidth-this.right:f,l?g:a.chartHeight-this.bottom]],b)};w.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))};w.prototype.getTitlePosition=
+function(){var b=this.horiz,a=this.left,e=this.top,g=this.len,l=this.options.title,f=b?a:e,n=this.opposite,v=this.offset,c=l.x,k=l.y,C=this.axisTitle,x=this.chart.renderer.fontMetrics(l.style.fontSize,C);C=Math.max(C.getBBox(null,0).height-x.h-1,0);g={low:f+(b?0:g),middle:f+g/2,high:f+(b?g:0)}[l.align];a=(b?e+this.height:a)+(b?1:-1)*(n?-1:1)*this.axisTitleMargin+[-C,C,x.f,-C][this.side];b={x:b?g+c:a+(n?this.width:0)+v+c,y:b?a+k-(n?this.height:0)+v:g+k};L(this,"afterGetTitlePosition",{titlePosition:b});
+return b};w.prototype.renderMinorTick=function(b){var a=this.chart.hasRendered&&this.old,e=this.minorTicks;e[b]||(e[b]=new M(this,b,"minor"));a&&e[b].isNew&&e[b].render(null,!0);e[b].render(null,!1,1)};w.prototype.renderTick=function(b,a){var e=this.ticks,g=this.chart.hasRendered&&this.old;if(!this.isLinked||b>=this.min&&b<=this.max||this.grid&&this.grid.isColumn)e[b]||(e[b]=new M(this,b)),g&&e[b].isNew&&e[b].render(a,!0,-1),e[b].render(a)};w.prototype.render=function(){var b=this,a=b.chart,e=b.logarithmic,
+g=b.options,l=b.isLinked,f=b.tickPositions,n=b.axisTitle,c=b.ticks,k=b.minorTicks,x=b.alternateBands,E=g.stackLabels,t=g.alternateGridColor,w=b.tickmarkOffset,m=b.axisLine,P=b.showAxis,p=I(a.renderer.globalAnimation),A,y;b.labelEdge.length=0;b.overlap=!1;[c,k,x].forEach(function(b){H(b,function(b){b.isActive=!1})});if(b.hasData()||l)b.minorTickInterval&&!b.categories&&b.getMinorTickPositions().forEach(function(a){b.renderMinorTick(a)}),f.length&&(f.forEach(function(a,e){b.renderTick(a,e)}),w&&(0===
+b.min||b.single)&&(c[-1]||(c[-1]=new M(b,-1,null,!0)),c[-1].render(-1))),t&&f.forEach(function(g,l){y="undefined"!==typeof f[l+1]?f[l+1]+w:b.max-w;0===l%2&&g<b.max&&y<=b.max+(a.polar?-w:w)&&(x[g]||(x[g]=new K.PlotLineOrBand(b)),A=g+w,x[g].options={from:e?e.lin2log(A):A,to:e?e.lin2log(y):y,color:t,className:"highcharts-alternate-grid"},x[g].render(),x[g].isActive=!0)}),b._addedPlotLB||(b._addedPlotLB=!0,(g.plotLines||[]).concat(g.plotBands||[]).forEach(function(a){b.addPlotBandOrLine(a)}));[c,k,x].forEach(function(b){var e,
+g=[],l=p.duration;H(b,function(b,a){b.isActive||(b.render(a,!1,0),b.isActive=!1,g.push(a))});C(function(){for(e=g.length;e--;)b[g[e]]&&!b[g[e]].isActive&&(b[g[e]].destroy(),delete b[g[e]])},b!==x&&a.hasRendered&&l?l:0)});m&&(m[m.isPlaced?"animate":"attr"]({d:this.getLinePath(m.strokeWidth())}),m.isPlaced=!0,m[P?"show":"hide"](P));n&&P&&(g=b.getTitlePosition(),v(g.y)?(n[n.isNew?"attr":"animate"](g),n.isNew=!1):(n.attr("y",-9999),n.isNew=!0));E&&E.enabled&&b.stacking&&b.stacking.renderStackTotals();
+b.old={len:b.len,max:b.max,min:b.min,transA:b.transA,userMax:b.userMax,userMin:b.userMin};b.isDirty=!1;L(this,"afterRender")};w.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(b){b.render()}));this.series.forEach(function(b){b.isDirty=!0})};w.prototype.getKeepProps=function(){return this.keepProps||w.keepProps};w.prototype.destroy=function(b){var a=this,g=a.plotLinesAndBands,l;L(this,"destroy",{keepEvents:b});b||e(a);[a.ticks,a.minorTicks,a.alternateBands].forEach(function(b){p(b)});
+if(g)for(b=g.length;b--;)g[b].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(b){a[b]&&(a[b]=a[b].destroy())});for(l in a.plotLinesAndBandsGroups)a.plotLinesAndBandsGroups[l]=a.plotLinesAndBandsGroups[l].destroy();H(a,function(b,e){-1===a.getKeepProps().indexOf(e)&&delete a[e]})};w.prototype.drawCrosshair=function(b,a){var e=this.crosshair,l=g(e&&e.snap,!0),f,n=this.cross,q=this.chart;L(this,"drawCrosshair",{e:b,point:a});b||(b=this.cross&&
+this.cross.e);if(e&&!1!==(y(a)||!l)){l?y(a)&&(f=g("colorAxis"!==this.coll?a.crosshairPos:null,this.isXAxis?a.plotX:this.len-a.plotY)):f=b&&(this.horiz?b.chartX-this.pos:this.len-b.chartY+this.pos);if(y(f)){var v={value:a&&(this.isXAxis?a.x:g(a.stackY,a.y)),translatedValue:f};q.polar&&m(v,{isCrosshair:!0,chartX:b&&b.chartX,chartY:b&&b.chartY,point:a});v=this.getPlotLinePath(v)||null}if(!y(v)){this.hideCrosshair();return}l=this.categories&&!this.isRadial;n||(this.cross=n=q.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+
+(l?"category ":"thin ")+(e.className||"")).attr({zIndex:g(e.zIndex,2)}).add(),q.styledMode||(n.attr({stroke:e.color||(l?h.parse(F.highlightColor20).setOpacity(.25).get():F.neutralColor20),"stroke-width":g(e.width,1)}).css({"pointer-events":"none"}),e.dashStyle&&n.attr({dashstyle:e.dashStyle})));n.show().attr({d:v});l&&!e.width&&n.attr({"stroke-width":this.transA});this.cross.e=b}else this.hideCrosshair();L(this,"afterDrawCrosshair",{e:b,point:a})};w.prototype.hideCrosshair=function(){this.cross&&
+this.cross.hide();L(this,"afterHideCrosshair")};w.prototype.hasVerticalPanning=function(){var b=this.chart.options.chart.panning;return!!(b&&b.enabled&&/y/.test(b.type))};w.prototype.validatePositiveValue=function(b){return v(b)&&0<b};w.prototype.update=function(b,a){var e=this.chart,l=b&&b.events||{};b=E(this.userOptions,b);H(e.options[this.coll].events,function(b,a){"undefined"===typeof l[a]&&(l[a]=void 0)});this.destroy(!0);this.init(e,m(b,{events:l}));e.isDirtyBox=!0;g(a,!0)&&e.redraw()};w.prototype.remove=
+function(b){for(var a=this.chart,e=this.coll,l=this.series,f=l.length;f--;)l[f]&&l[f].remove(!1);O(a.axes,this);O(a[e],this);a[e].forEach(function(b,a){b.options.index=b.userOptions.index=a});this.destroy();a.isDirtyBox=!0;g(b,!0)&&a.redraw()};w.prototype.setTitle=function(b,a){this.update({title:b},a)};w.prototype.setCategories=function(b,a){this.update({categories:b},a)};w.defaultOptions={alignTicks:!0,allowDecimals:void 0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",
+range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:F.neutralColor60,cursor:"default",fontSize:"11px"}},
+maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:F.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:F.neutralColor5,minorGridLineWidth:1,
+minorTickColor:F.neutralColor40,lineColor:F.highlightColor20,lineWidth:1,gridLineColor:F.neutralColor10,gridLineWidth:void 0,tickColor:F.highlightColor20};w.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var b=this.axis.chart.numberFormatter;return b(this.total,-1)},
+style:{color:F.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};w.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}};w.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};w.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};w.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};w.keepProps="extKey hcEvents names series userMax userMin".split(" ");return w}();
+K.Axis=d;return K.Axis});Q(d,"Core/Axis/DateTimeAxis.js",[d["Core/Axis/Axis.js"],d["Core/Utilities.js"]],function(d,h){var N=h.addEvent,F=h.getMagnitude,J=h.normalizeTickInterval,M=h.timeUnits,G=function(){function h(h){this.axis=h}h.prototype.normalizeTimeTickInterval=function(h,B){var u=B||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];B=u[u.length-
+1];var c=M[B[0]],a=B[1],r;for(r=0;r<u.length&&!(B=u[r],c=M[B[0]],a=B[1],u[r+1]&&h<=(c*a[a.length-1]+M[u[r+1][0]])/2);r++);c===M.year&&h<5*c&&(a=[1,2,5]);h=J(h/c,a,"year"===B[0]?Math.max(F(h/c),1):1);return{unitRange:c,count:h,unitName:B[0]}};return h}();h=function(){function h(){}h.compose=function(h){h.keepProps.push("dateTime");h.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)};N(h,"init",function(h){"datetime"!==h.userOptions.type?this.dateTime=
+void 0:this.dateTime||(this.dateTime=new G(this))})};h.AdditionsClass=G;return h}();h.compose(d);return h});Q(d,"Core/Axis/LogarithmicAxis.js",[d["Core/Axis/Axis.js"],d["Core/Utilities.js"]],function(d,h){var N=h.addEvent,F=h.getMagnitude,J=h.normalizeTickInterval,M=h.pick,G=function(){function h(h){this.axis=h}h.prototype.getLogTickPositions=function(h,d,u,c){var a=this.axis,r=a.len,y=a.options,p=[];c||(this.minorAutoInterval=void 0);if(.5<=h)h=Math.round(h),p=a.getLinearTickPositions(h,d,u);else if(.08<=
+h){var B=Math.floor(d),k,m=y=void 0;for(r=.3<h?[1,2,4]:.15<h?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];B<u+1&&!m;B++){var L=r.length;for(k=0;k<L&&!m;k++){var A=this.log2lin(this.lin2log(B)*r[k]);A>d&&(!c||y<=u)&&"undefined"!==typeof y&&p.push(y);y>u&&(m=!0);y=A}}}else d=this.lin2log(d),u=this.lin2log(u),h=c?a.getMinorTickInterval():y.tickInterval,h=M("auto"===h?null:h,this.minorAutoInterval,y.tickPixelInterval/(c?5:1)*(u-d)/((c?r/a.tickPositions.length:r)||1)),h=J(h,void 0,F(h)),p=a.getLinearTickPositions(h,
+d,u).map(this.log2lin),c||(this.minorAutoInterval=h/5);c||(a.tickInterval=h);return p};h.prototype.lin2log=function(h){return Math.pow(10,h)};h.prototype.log2lin=function(h){return Math.log(h)/Math.LN10};return h}();h=function(){function h(){}h.compose=function(h){h.keepProps.push("logarithmic");N(h,"init",function(h){var u=this.logarithmic;"logarithmic"!==h.userOptions.type?this.logarithmic=void 0:u||(this.logarithmic=new G(this))});N(h,"afterInit",function(){var h=this.logarithmic;h&&(this.lin2val=
+function(u){return h.lin2log(u)},this.val2lin=function(u){return h.log2lin(u)})})};return h}();h.compose(d);return h});Q(d,"Core/Axis/PlotLineOrBand.js",[d["Core/Axis/Axis.js"],d["Core/Globals.js"],d["Core/Color/Palette.js"],d["Core/Utilities.js"]],function(d,h,K,F){var N=F.arrayMax,M=F.arrayMin,G=F.defined,I=F.destroyObjectProperties,D=F.erase,B=F.extend,u=F.fireEvent,c=F.isNumber,a=F.merge,r=F.objectEach,y=F.pick;F=function(){function c(a,c){this.axis=a;c&&(this.options=c,this.id=c.id)}c.prototype.render=
+function(){u(this,"render");var c=this,k=c.axis,m=k.horiz,p=k.logarithmic,A=c.options,t=A.label,f=c.label,v=A.to,b=A.from,E=A.value,P=G(b)&&G(v),H=G(E),g=c.svgElem,n=!g,e=[],l=A.color,C=y(A.zIndex,0),x=A.events;e={"class":"highcharts-plot-"+(P?"band ":"line ")+(A.className||"")};var w={},q=k.chart.renderer,z=P?"bands":"lines";p&&(b=p.log2lin(b),v=p.log2lin(v),E=p.log2lin(E));k.chart.styledMode||(H?(e.stroke=l||K.neutralColor40,e["stroke-width"]=y(A.width,1),A.dashStyle&&(e.dashstyle=A.dashStyle)):
+P&&(e.fill=l||K.highlightColor10,A.borderWidth&&(e.stroke=A.borderColor,e["stroke-width"]=A.borderWidth)));w.zIndex=C;z+="-"+C;(p=k.plotLinesAndBandsGroups[z])||(k.plotLinesAndBandsGroups[z]=p=q.g("plot-"+z).attr(w).add());n&&(c.svgElem=g=q.path().attr(e).add(p));if(H)e=k.getPlotLinePath({value:E,lineWidth:g.strokeWidth(),acrossPanes:A.acrossPanes});else if(P)e=k.getPlotBandPath(b,v,A);else return;!c.eventsAdded&&x&&(r(x,function(b,a){g.on(a,function(b){x[a].apply(c,[b])})}),c.eventsAdded=!0);(n||
+!g.d)&&e&&e.length?g.attr({d:e}):g&&(e?(g.show(!0),g.animate({d:e})):g.d&&(g.hide(),f&&(c.label=f=f.destroy())));t&&(G(t.text)||G(t.formatter))&&e&&e.length&&0<k.width&&0<k.height&&!e.isFlat?(t=a({align:m&&P&&"center",x:m?!P&&4:10,verticalAlign:!m&&P&&"middle",y:m?P?16:10:P?6:-4,rotation:m&&!P&&90},t),this.renderLabel(t,e,P,C)):f&&f.hide();return c};c.prototype.renderLabel=function(a,c,m,p){var k=this.label,t=this.axis.chart.renderer;k||(k={align:a.textAlign||a.align,rotation:a.rotation,"class":"highcharts-plot-"+
+(m?"band":"line")+"-label "+(a.className||"")},k.zIndex=p,p=this.getLabelText(a),this.label=k=t.text(p,0,0,a.useHTML).attr(k).add(),this.axis.chart.styledMode||k.css(a.style));t=c.xBounds||[c[0][1],c[1][1],m?c[2][1]:c[0][1]];c=c.yBounds||[c[0][2],c[1][2],m?c[2][2]:c[0][2]];m=M(t);p=M(c);k.align(a,!1,{x:m,y:p,width:N(t)-m,height:N(c)-p});k.show(!0)};c.prototype.getLabelText=function(a){return G(a.formatter)?a.formatter.call(this):a.text};c.prototype.destroy=function(){D(this.axis.plotLinesAndBands,
+this);delete this.axis;I(this)};return c}();B(d.prototype,{getPlotBandPath:function(a,h,k){void 0===k&&(k=this.options);var m=this.getPlotLinePath({value:h,force:!0,acrossPanes:k.acrossPanes});k=this.getPlotLinePath({value:a,force:!0,acrossPanes:k.acrossPanes});var p=[],A=this.horiz,t=1;a=!c(this.min)||!c(this.max)||a<this.min&&h<this.min||a>this.max&&h>this.max;if(k&&m){if(a){var f=k.toString()===m.toString();t=0}for(a=0;a<k.length;a+=2){h=k[a];var v=k[a+1],b=m[a],E=m[a+1];"M"!==h[0]&&"L"!==h[0]||
+"M"!==v[0]&&"L"!==v[0]||"M"!==b[0]&&"L"!==b[0]||"M"!==E[0]&&"L"!==E[0]||(A&&b[1]===h[1]?(b[1]+=t,E[1]+=t):A||b[2]!==h[2]||(b[2]+=t,E[2]+=t),p.push(["M",h[1],h[2]],["L",v[1],v[2]],["L",E[1],E[2]],["L",b[1],b[2]],["Z"]));p.isFlat=f}}return p},addPlotBand:function(a){return this.addPlotBandOrLine(a,"plotBands")},addPlotLine:function(a){return this.addPlotBandOrLine(a,"plotLines")},addPlotBandOrLine:function(a,c){var k=this,m=new h.PlotLineOrBand(this,a),p=this.userOptions;this.visible&&(m=m.render());
+if(m){this._addedPlotLB||(this._addedPlotLB=!0,(p.plotLines||[]).concat(p.plotBands||[]).forEach(function(a){k.addPlotBandOrLine(a)}));if(c){var A=p[c]||[];A.push(a);p[c]=A}this.plotLinesAndBands.push(m)}return m},removePlotBandOrLine:function(a){for(var c=this.plotLinesAndBands,k=this.options,m=this.userOptions,p=c.length;p--;)c[p].id===a&&c[p].destroy();[k.plotLines||[],m.plotLines||[],k.plotBands||[],m.plotBands||[]].forEach(function(c){for(p=c.length;p--;)(c[p]||{}).id===a&&D(c,c[p])})},removePlotBand:function(a){this.removePlotBandOrLine(a)},
+removePlotLine:function(a){this.removePlotBandOrLine(a)}});h.PlotLineOrBand=F;return h.PlotLineOrBand});Q(d,"Core/Tooltip.js",[d["Core/FormatUtilities.js"],d["Core/Globals.js"],d["Core/Color/Palette.js"],d["Core/Utilities.js"]],function(d,h,K,F){var N=d.format,M=h.doc,G=F.clamp,I=F.css,D=F.defined,B=F.discardElement,u=F.extend,c=F.fireEvent,a=F.isArray,r=F.isNumber,y=F.isString,p=F.merge,O=F.pick,k=F.splat,m=F.syncTimeout,L=F.timeUnits;"";d=function(){function A(a,f){this.container=void 0;this.crosshairs=
+[];this.distance=0;this.isHidden=!0;this.isSticky=!1;this.now={};this.options={};this.outside=!1;this.chart=a;this.init(a,f)}A.prototype.applyFilter=function(){var a=this.chart;a.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+a.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{"in":"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",
+children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{"in":"SourceGraphic"}}]}]});a.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+a.index+"{filter:url(#drop-shadow-"+a.index+")}"})};A.prototype.bodyFormatter=function(a){return a.map(function(a){var f=a.series.tooltipOptions;return(f[(a.point.formatPrefix||"point")+"Formatter"]||a.point.tooltipFormatter).call(a.point,f[(a.point.formatPrefix||"point")+"Format"]||"")})};A.prototype.cleanSplit=function(a){this.chart.series.forEach(function(f){var c=
+f&&f.tt;c&&(!c.isActive||a?f.tt=c.destroy():c.isActive=!1)})};A.prototype.defaultFormatter=function(a){var f=this.points||k(this);var c=[a.tooltipFooterHeaderFormatter(f[0])];c=c.concat(a.bodyFormatter(f));c.push(a.tooltipFooterHeaderFormatter(f[0],!0));return c};A.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),B(this.container));F.clearTimeout(this.hideTimer);
+F.clearTimeout(this.tooltipTimeout)};A.prototype.getAnchor=function(a,f){var c=this.chart;var b=c.pointer;var E=c.inverted,t=c.plotTop,H=c.plotLeft,g=0,n=0,e,l;a=k(a);this.followPointer&&f?("undefined"===typeof f.chartX&&(f=b.normalize(f)),b=[f.chartX-H,f.chartY-t]):a[0].tooltipPos?b=a[0].tooltipPos:(a.forEach(function(b){e=b.series.yAxis;l=b.series.xAxis;g+=b.plotX||0;n+=b.plotLow?(b.plotLow+(b.plotHigh||0))/2:b.plotY||0;l&&e&&(E?(g+=t+c.plotHeight-l.len-l.pos,n+=H+c.plotWidth-e.len-e.pos):(g+=l.pos-
+H,n+=e.pos-t))}),g/=a.length,n/=a.length,b=[E?c.plotWidth-n:g,E?c.plotHeight-g:n],this.shared&&1<a.length&&f&&(E?b[0]=f.chartX-H:b[1]=f.chartY-t));return b.map(Math.round)};A.prototype.getDateFormat=function(a,f,c,b){var v=this.chart.time,k=v.dateFormat("%m-%d %H:%M:%S.%L",f),t={millisecond:15,second:12,minute:9,hour:6,day:3},g="millisecond";for(n in L){if(a===L.week&&+v.dateFormat("%w",f)===c&&"00:00:00.000"===k.substr(6)){var n="week";break}if(L[n]>a){n=g;break}if(t[n]&&k.substr(t[n])!=="01-01 00:00:00.000".substr(t[n]))break;
+"week"!==n&&(g=n)}if(n)var e=v.resolveDTLFormat(b[n]).main;return e};A.prototype.getLabel=function(){var a=this,f=this.chart.renderer,c=this.chart.styledMode,b=this.options,k="tooltip"+(D(b.className)?" "+b.className:""),m=b.style&&b.style.pointerEvents||(!this.followPointer&&b.stickOnContact?"auto":"none"),H,g=function(){a.inContact=!0},n=function(){var b=a.chart.hoverSeries;a.inContact=!1;if(b&&b.onMouseOut)b.onMouseOut()};if(!this.label){if(this.outside){var e=this.chart.options.chart.style;this.container=
+H=h.doc.createElement("div");H.className="highcharts-tooltip-container";I(H,{position:"absolute",top:"1px",pointerEvents:m,zIndex:Math.max(this.options.style&&this.options.style.zIndex||0,(e&&e.zIndex||0)+3)});h.doc.body.appendChild(H);this.renderer=f=new h.Renderer(H,0,0,e,void 0,void 0,f.styledMode)}this.split?this.label=f.g(k):(this.label=f.label("",0,0,b.shape||"callout",null,null,b.useHTML,null,k).attr({padding:b.padding,r:b.borderRadius}),c||this.label.attr({fill:b.backgroundColor,"stroke-width":b.borderWidth}).css(b.style).css({pointerEvents:m}).shadow(b.shadow));
+c&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index));if(a.outside&&!a.split){var l=this.label,C=l.xSetter,x=l.ySetter;l.xSetter=function(b){C.call(l,a.distance);H.style.left=b+"px"};l.ySetter=function(b){x.call(l,a.distance);H.style.top=b+"px"}}this.label.on("mouseenter",g).on("mouseleave",n).attr({zIndex:8}).add()}return this.label};A.prototype.getPosition=function(a,f,c){var b=this.chart,v=this.distance,k={},t=b.inverted&&c.h||0,g,n=this.outside,e=n?M.documentElement.clientWidth-
+2*v:b.chartWidth,l=n?Math.max(M.body.scrollHeight,M.documentElement.scrollHeight,M.body.offsetHeight,M.documentElement.offsetHeight,M.documentElement.clientHeight):b.chartHeight,C=b.pointer.getChartPosition(),x=function(g){var q="x"===g;return[g,q?e:l,q?a:f].concat(n?[q?a*C.scaleX:f*C.scaleY,q?C.left-v+(c.plotX+b.plotLeft)*C.scaleX:C.top-v+(c.plotY+b.plotTop)*C.scaleY,0,q?e:l]:[q?a:f,q?c.plotX+b.plotLeft:c.plotY+b.plotTop,q?b.plotLeft:b.plotTop,q?b.plotLeft+b.plotWidth:b.plotTop+b.plotHeight])},w=
+x("y"),q=x("x"),m=!this.followPointer&&O(c.ttBelow,!b.inverted===!!c.negative),p=function(b,a,e,g,l,f,c){var q=n?"y"===b?v*C.scaleY:v*C.scaleX:v,x=(e-g)/2,E=g<l-v,w=l+v+g<a,H=l-q-e+x;l=l+q-x;if(m&&w)k[b]=l;else if(!m&&E)k[b]=H;else if(E)k[b]=Math.min(c-g,0>H-t?H:H-t);else if(w)k[b]=Math.max(f,l+t+e>a?l:l+t);else return!1},h=function(b,a,e,g,l){var f;l<v||l>a-v?f=!1:k[b]=l<e/2?1:l>a-g/2?a-g-2:l-e/2;return f},A=function(b){var a=w;w=q;q=a;g=b},y=function(){!1!==p.apply(0,w)?!1!==h.apply(0,q)||g||(A(!0),
+y()):g?k.x=k.y=0:(A(!0),y())};(b.inverted||1<this.len)&&A();y();return k};A.prototype.getXDateFormat=function(a,f,c){f=f.dateTimeLabelFormats;var b=c&&c.closestPointRange;return(b?this.getDateFormat(b,a.x,c.options.startOfWeek,f):f.day)||f.year};A.prototype.hide=function(a){var f=this;F.clearTimeout(this.hideTimer);a=O(a,this.options.hideDelay,500);this.isHidden||(this.hideTimer=m(function(){f.getLabel().fadeOut(a?void 0:a);f.isHidden=!0},a))};A.prototype.init=function(a,f){this.chart=a;this.options=
+f;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=f.split&&!a.inverted&&!a.polar;this.shared=f.shared||this.split;this.outside=O(f.outside,!(!a.scrollablePixelsX&&!a.scrollablePixelsY))};A.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)};A.prototype.move=function(a,f,c,b){var v=this,k=v.now,t=!1!==v.options.animation&&!v.isHidden&&(1<Math.abs(a-k.x)||1<Math.abs(f-k.y)),g=v.followPointer||1<v.len;u(k,{x:t?(2*k.x+a)/
+3:a,y:t?(k.y+f)/2:f,anchorX:g?void 0:t?(2*k.anchorX+c)/3:c,anchorY:g?void 0:t?(k.anchorY+b)/2:b});v.getLabel().attr(k);v.drawTracker();t&&(F.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){v&&v.move(a,f,c,b)},32))};A.prototype.refresh=function(t,f){var v=this.chart,b=this.options,E=k(t),m=E[0],H={},g=[],n=b.formatter||this.defaultFormatter;H=this.shared;var e=v.styledMode;if(b.enabled){F.clearTimeout(this.hideTimer);this.followPointer=!this.split&&m.series.tooltipOptions.followPointer;
+var l=this.getAnchor(t,f);var C=l[0];var x=l[1];!H||!a(t)&&t.series&&t.series.noSharedTooltip?H=m.getLabelConfig():(v.pointer.applyInactiveState(E),E.forEach(function(b){b.setState("hover");g.push(b.getLabelConfig())}),H={x:m.category,y:m.y},H.points=g);this.len=g.length;t=n.call(H,this);n=m.series;this.distance=O(n.tooltipOptions.distance,16);if(!1===t)this.hide();else{if(this.split)this.renderSplit(t,E);else if(E=C,H=x,f&&v.pointer.isDirectTouch&&(E=f.chartX-v.plotLeft,H=f.chartY-v.plotTop),v.polar||
+!1===n.options.clip||n.shouldShowTooltip(E,H))f=this.getLabel(),b.style.width&&!e||f.css({width:this.chart.spacingBox.width+"px"}),f.attr({text:t&&t.join?t.join(""):t}),f.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+O(m.colorIndex,n.colorIndex)),e||f.attr({stroke:b.borderColor||m.color||n.color||K.neutralColor60}),this.updatePosition({plotX:C,plotY:x,negative:m.negative,ttBelow:m.ttBelow,h:l[2]||0});else{this.hide();return}this.isHidden&&this.label&&this.label.attr({opacity:1}).show();
+this.isHidden=!1}c(this,"refresh")}};A.prototype.renderSplit=function(a,f){function c(a,e,g,l,f){void 0===f&&(f=!0);g?(e=B?0:F,a=G(a-l/2,d.left,d.right-l-(b.outside?D:0))):(e-=I,a=f?a-l-A:a+A,a=G(a,f?a:d.left,d.right));return{x:a,y:e}}var b=this,k=b.chart,m=b.chart,H=m.chartWidth,g=m.chartHeight,n=m.plotHeight,e=m.plotLeft,l=m.plotTop,C=m.pointer,x=m.scrollablePixelsY;x=void 0===x?0:x;var w=m.scrollablePixelsX,q=m.scrollingContainer;q=void 0===q?{scrollLeft:0,scrollTop:0}:q;var t=q.scrollLeft;q=q.scrollTop;
+var p=m.styledMode,A=b.distance,r=b.options,R=b.options.positioner,d=b.outside&&"number"!==typeof w?M.documentElement.getBoundingClientRect():{left:t,right:t+H,top:q,bottom:q+g},W=b.getLabel(),L=this.renderer||k.renderer,B=!(!k.xAxis[0]||!k.xAxis[0].opposite);k=C.getChartPosition();var D=k.left;k=k.top;var I=l+q,N=0,F=n-x;y(a)&&(a=[!1,a]);a=a.slice(0,f.length+1).reduce(function(a,g,q){if(!1!==g&&""!==g){q=f[q-1]||{isHeader:!0,plotX:f[0].plotX,plotY:n,series:{}};var v=q.isHeader,k=v?b:q.series;g=g.toString();
+var C=k.tt,x=q.isHeader;var w=q.series;var E="highcharts-color-"+O(q.colorIndex,w.colorIndex,"none");C||(C={padding:r.padding,r:r.borderRadius},p||(C.fill=r.backgroundColor,C["stroke-width"]=r.borderWidth),C=L.label("",0,0,r[x?"headerShape":"shape"]||"callout",void 0,void 0,r.useHTML).addClass((x?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+E).attr(C).add(W));C.isActive=!0;C.attr({text:g});p||C.css(r.style).shadow(r.shadow).attr({stroke:r.borderColor||q.color||w.color||K.neutralColor80});
+k=k.tt=C;x=k.getBBox();g=x.width+k.strokeWidth();v&&(N=x.height,F+=N,B&&(I-=N));w=q.plotX;w=void 0===w?0:w;E=q.plotY;E=void 0===E?0:E;C=q.series;if(q.isHeader){w=e+w;var m=l+n/2}else{var t=C.xAxis,H=C.yAxis;w=t.pos+G(w,-A,t.len+A);C.shouldShowTooltip(0,H.pos-l+E,{ignoreX:!0})&&(m=H.pos+E)}w=G(w,d.left-A,d.right+A);"number"===typeof m?(x=x.height+1,E=R?R.call(b,g,x,q):c(w,m,v,g),a.push({align:R?0:void 0,anchorX:w,anchorY:m,boxWidth:g,point:q,rank:O(E.rank,v?1:0),size:x,target:E.y,tt:k,x:E.x})):k.isActive=
+!1}return a},[]);!R&&a.some(function(a){var e=(b.outside?D:0)+a.anchorX;return e<d.left&&e+a.boxWidth<d.right?!0:e<D-d.left+a.boxWidth&&d.right-e>e})&&(a=a.map(function(b){var a=c(b.anchorX,b.anchorY,b.point.isHeader,b.boxWidth,!1);return u(b,{target:a.y,x:a.x})}));b.cleanSplit();h.distribute(a,F);var J=D,Y=D;a.forEach(function(a){var e=a.x,g=a.boxWidth;a=a.isHeader;a||(b.outside&&D+e<J&&(J=D+e),!a&&b.outside&&J+g>Y&&(Y=D+e))});a.forEach(function(a){var e=a.x,g=a.anchorX,l=a.pos,f=a.point.isHeader;
+l={visibility:"undefined"===typeof l?"hidden":"inherit",x:e,y:l+I,anchorX:g,anchorY:a.anchorY};if(b.outside&&e<g){var n=D-J;0<n&&(f||(l.x=e+n,l.anchorX=g+n),f&&(l.x=(Y-J)/2,l.anchorX=g+n))}a.tt.attr(l)});a=b.container;x=b.renderer;b.outside&&a&&x&&(m=W.getBBox(),x.setSize(m.width+m.x,m.height+m.y,!1),a.style.left=J+"px",a.style.top=k+"px")};A.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var a=this.chart,f=this.label,
+c=a.hoverPoint;if(f&&c){var b={x:0,y:0,width:0,height:0};c=this.getAnchor(c);var k=f.getBBox();c[0]+=a.plotLeft-f.translateX;c[1]+=a.plotTop-f.translateY;b.x=Math.min(0,c[0]);b.y=Math.min(0,c[1]);b.width=0>c[0]?Math.max(Math.abs(c[0]),k.width-c[0]):Math.max(Math.abs(c[0]),k.width);b.height=0>c[1]?Math.max(Math.abs(c[1]),k.height-Math.abs(c[1])):Math.max(Math.abs(c[1]),k.height);this.tracker?this.tracker.attr(b):(this.tracker=f.renderer.rect(b).addClass("highcharts-tracker").add(f),a.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}};
+A.prototype.styledModeFormat=function(a){return a.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')};A.prototype.tooltipFooterHeaderFormatter=function(a,f){var k=f?"footer":"header",b=a.series,E=b.tooltipOptions,m=E.xDateFormat,H=b.xAxis,g=H&&"datetime"===H.options.type&&r(a.key),n=E[k+"Format"];f={isFooter:f,labelConfig:a};c(this,"headerFormatter",f,function(e){g&&!m&&(m=this.getXDateFormat(a,
+E,H));g&&m&&(a.point&&a.point.tooltipDateKeys||["key"]).forEach(function(b){n=n.replace("{point."+b+"}","{point."+b+":"+m+"}")});b.chart.styledMode&&(n=this.styledModeFormat(n));e.text=N(n,{point:a,series:b},this.chart)});return f.text};A.prototype.update=function(a){this.destroy();p(!0,this.chart.options.tooltip.userOptions,a);this.init(this.chart,p(!0,this.options,a))};A.prototype.updatePosition=function(a){var f=this.chart,c=f.pointer,b=this.getLabel(),k=a.plotX+f.plotLeft;f=a.plotY+f.plotTop;
+c=c.getChartPosition();a=(this.options.positioner||this.getPosition).call(this,b.width,b.height,a);if(this.outside){var m=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(b.width+m,b.height+m,!1);if(1!==c.scaleX||1!==c.scaleY)I(this.container,{transform:"scale("+c.scaleX+", "+c.scaleY+")"}),k*=c.scaleX,f*=c.scaleY;k+=c.left-a.x;f+=c.top-a.y}this.move(Math.round(a.x),Math.round(a.y||0),k,f)};return A}();h.Tooltip=d;return h.Tooltip});Q(d,"Core/Pointer.js",[d["Core/Color/Color.js"],
+d["Core/Globals.js"],d["Core/Color/Palette.js"],d["Core/Tooltip.js"],d["Core/Utilities.js"]],function(d,h,K,F,J){var N=d.parse,G=h.charts,I=h.noop,D=J.addEvent,B=J.attr,u=J.css,c=J.defined,a=J.extend,r=J.find,y=J.fireEvent,p=J.isNumber,O=J.isObject,k=J.objectEach,m=J.offset,L=J.pick,A=J.splat;"";d=function(){function t(a,c){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.eventsToUnbind=[];this.chart=a;this.hasDragged=!1;this.options=c;this.init(a,c)}t.prototype.applyInactiveState=
+function(a){var f=[],b;(a||[]).forEach(function(a){b=a.series;f.push(b);b.linkedParent&&f.push(b.linkedParent);b.linkedSeries&&(f=f.concat(b.linkedSeries));b.navigatorSeries&&f.push(b.navigatorSeries)});this.chart.series.forEach(function(b){-1===f.indexOf(b)?b.setState("inactive",!0):b.options.inactiveOtherPoints&&b.setAllPointsToState("inactive")})};t.prototype.destroy=function(){var a=this;this.eventsToUnbind.forEach(function(a){return a()});this.eventsToUnbind=[];h.chartCount||(h.unbindDocumentMouseUp&&
+(h.unbindDocumentMouseUp=h.unbindDocumentMouseUp()),h.unbindDocumentTouchEnd&&(h.unbindDocumentTouchEnd=h.unbindDocumentTouchEnd()));clearInterval(a.tooltipTimeout);k(a,function(f,b){a[b]=void 0})};t.prototype.drag=function(a){var f=this.chart,b=f.options.chart,c=a.chartX,k=a.chartY,m=this.zoomHor,g=this.zoomVert,n=f.plotLeft,e=f.plotTop,l=f.plotWidth,C=f.plotHeight,x=this.selectionMarker,w=this.mouseDownX||0,q=this.mouseDownY||0,t=O(b.panning)?b.panning&&b.panning.enabled:b.panning,p=b.panKey&&a[b.panKey+
+"Key"];if(!x||!x.touch)if(c<n?c=n:c>n+l&&(c=n+l),k<e?k=e:k>e+C&&(k=e+C),this.hasDragged=Math.sqrt(Math.pow(w-c,2)+Math.pow(q-k,2)),10<this.hasDragged){var A=f.isInsidePlot(w-n,q-e,{visiblePlotOnly:!0});f.hasCartesianSeries&&(this.zoomX||this.zoomY)&&A&&!p&&!x&&(this.selectionMarker=x=f.renderer.rect(n,e,m?1:l,g?1:C,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),f.styledMode||x.attr({fill:b.selectionMarkerFill||N(K.highlightColor80).setOpacity(.25).get()}));x&&m&&(c-=w,x.attr({width:Math.abs(c),
+x:(0<c?0:c)+w}));x&&g&&(c=k-q,x.attr({height:Math.abs(c),y:(0<c?0:c)+q}));A&&!x&&t&&f.pan(a,b.panning)}};t.prototype.dragStart=function(a){var f=this.chart;f.mouseIsDown=a.type;f.cancelClick=!1;f.mouseDownX=this.mouseDownX=a.chartX;f.mouseDownY=this.mouseDownY=a.chartY};t.prototype.drop=function(f){var k=this,b=this.chart,m=this.hasPinched;if(this.selectionMarker){var t={originalEvent:f,xAxis:[],yAxis:[]},H=this.selectionMarker,g=H.attr?H.attr("x"):H.x,n=H.attr?H.attr("y"):H.y,e=H.attr?H.attr("width"):
+H.width,l=H.attr?H.attr("height"):H.height,C;if(this.hasDragged||m)b.axes.forEach(function(b){if(b.zoomEnabled&&c(b.min)&&(m||k[{xAxis:"zoomX",yAxis:"zoomY"}[b.coll]])&&p(g)&&p(n)){var a=b.horiz,q="touchend"===f.type?b.minPixelPadding:0,x=b.toValue((a?g:n)+q);a=b.toValue((a?g+e:n+l)-q);t[b.coll].push({axis:b,min:Math.min(x,a),max:Math.max(x,a)});C=!0}}),C&&y(b,"selection",t,function(e){b.zoom(a(e,m?{animation:!1}:null))});p(b.index)&&(this.selectionMarker=this.selectionMarker.destroy());m&&this.scaleGroups()}b&&
+p(b.index)&&(u(b.container,{cursor:b._cursor}),b.cancelClick=10<this.hasDragged,b.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])};t.prototype.findNearestKDPoint=function(a,c,b){var f=this.chart,k=f.hoverPoint;f=f.tooltip;if(k&&f&&f.isStickyOnContact())return k;var v;a.forEach(function(a){var g=!(a.noSharedTooltip&&c)&&0>a.options.findNearestPointBy.indexOf("y");a=a.searchPoint(b,g);if((g=O(a,!0)&&a.series)&&!(g=!O(v,!0))){g=v.distX-a.distX;var e=v.dist-a.dist,l=(a.series.group&&
+a.series.group.zIndex)-(v.series.group&&v.series.group.zIndex);g=0<(0!==g&&c?g:0!==e?e:0!==l?l:v.series.index>a.series.index?-1:1)}g&&(v=a)});return v};t.prototype.getChartCoordinatesFromPoint=function(a,c){var b=a.series,f=b.xAxis;b=b.yAxis;var k=a.shapeArgs;if(f&&b){var v=L(a.clientX,a.plotX),g=a.plotY||0;a.isNode&&k&&p(k.x)&&p(k.y)&&(v=k.x,g=k.y);return c?{chartX:b.len+b.pos-g,chartY:f.len+f.pos-v}:{chartX:v+f.pos,chartY:g+b.pos}}if(k&&k.x&&k.y)return{chartX:k.x,chartY:k.y}};t.prototype.getChartPosition=
+function(){if(this.chartPosition)return this.chartPosition;var a=this.chart.container,c=m(a);this.chartPosition={left:c.left,top:c.top,scaleX:1,scaleY:1};var b=a.offsetWidth;a=a.offsetHeight;2<b&&2<a&&(this.chartPosition.scaleX=c.width/b,this.chartPosition.scaleY=c.height/a);return this.chartPosition};t.prototype.getCoordinates=function(a){var f={xAxis:[],yAxis:[]};this.chart.axes.forEach(function(b){f[b.isXAxis?"xAxis":"yAxis"].push({axis:b,value:b.toValue(a[b.horiz?"chartX":"chartY"])})});return f};
+t.prototype.getHoverData=function(a,c,b,k,m,H){var g,f=[];k=!(!k||!a);var e=c&&!c.stickyTracking,l={chartX:H?H.chartX:void 0,chartY:H?H.chartY:void 0,shared:m};y(this,"beforeGetHoverData",l);e=e?[c]:b.filter(function(b){return l.filter?l.filter(b):b.visible&&!(!m&&b.directTouch)&&L(b.options.enableMouseTracking,!0)&&b.stickyTracking});c=(g=k||!H?a:this.findNearestKDPoint(e,m,H))&&g.series;g&&(m&&!c.noSharedTooltip?(e=b.filter(function(b){return l.filter?l.filter(b):b.visible&&!(!m&&b.directTouch)&&
+L(b.options.enableMouseTracking,!0)&&!b.noSharedTooltip}),e.forEach(function(b){var a=r(b.points,function(b){return b.x===g.x&&!b.isNull});O(a)&&(b.chart.isBoosting&&(a=b.getPoint(a)),f.push(a))})):f.push(g));l={hoverPoint:g};y(this,"afterGetHoverData",l);return{hoverPoint:l.hoverPoint,hoverSeries:c,hoverPoints:f}};t.prototype.getPointFromEvent=function(a){a=a.target;for(var f;a&&!f;)f=a.point,a=a.parentNode;return f};t.prototype.onTrackerMouseOut=function(a){a=a.relatedTarget||a.toElement;var f=
+this.chart.hoverSeries;this.isDirectTouch=!1;if(!(!f||!a||f.stickyTracking||this.inClass(a,"highcharts-tooltip")||this.inClass(a,"highcharts-series-"+f.index)&&this.inClass(a,"highcharts-tracker")))f.onMouseOut()};t.prototype.inClass=function(a,c){for(var b;a;){if(b=B(a,"class")){if(-1!==b.indexOf(c))return!0;if(-1!==b.indexOf("highcharts-container"))return!1}a=a.parentNode}};t.prototype.init=function(a,c){this.options=c;this.chart=a;this.runChartClick=!(!c.chart.events||!c.chart.events.click);this.pinchDown=
+[];this.lastValidTouch={};F&&(a.tooltip=new F(a,c.tooltip),this.followTouchMove=L(c.tooltip.followTouchMove,!0));this.setDOMEvents()};t.prototype.normalize=function(f,c){var b=f.touches,k=b?b.length?b.item(0):L(b.changedTouches,f.changedTouches)[0]:f;c||(c=this.getChartPosition());b=k.pageX-c.left;k=k.pageY-c.top;b/=c.scaleX;k/=c.scaleY;return a(f,{chartX:Math.round(b),chartY:Math.round(k)})};t.prototype.onContainerClick=function(f){var c=this.chart,b=c.hoverPoint;f=this.normalize(f);var k=c.plotLeft,
+m=c.plotTop;c.cancelClick||(b&&this.inClass(f.target,"highcharts-tracker")?(y(b.series,"click",a(f,{point:b})),c.hoverPoint&&b.firePointEvent("click",f)):(a(f,this.getCoordinates(f)),c.isInsidePlot(f.chartX-k,f.chartY-m,{visiblePlotOnly:!0})&&y(c,"click",f)))};t.prototype.onContainerMouseDown=function(a){var f=1===((a.buttons||a.button)&1);a=this.normalize(a);if(h.isFirefox&&0!==a.button)this.onContainerMouseMove(a);if("undefined"===typeof a.button||f)this.zoomOption(a),f&&a.preventDefault&&a.preventDefault(),
+this.dragStart(a)};t.prototype.onContainerMouseLeave=function(a){var f=G[L(h.hoverChartIndex,-1)],b=this.chart.tooltip;a=this.normalize(a);f&&(a.relatedTarget||a.toElement)&&(f.pointer.reset(),f.pointer.chartPosition=void 0);b&&!b.isHidden&&this.reset()};t.prototype.onContainerMouseEnter=function(a){delete this.chartPosition};t.prototype.onContainerMouseMove=function(a){var f=this.chart;a=this.normalize(a);this.setHoverChartIndex();a.preventDefault||(a.returnValue=!1);("mousedown"===f.mouseIsDown||
+this.touchSelect(a))&&this.drag(a);f.openMenu||!this.inClass(a.target,"highcharts-tracker")&&!f.isInsidePlot(a.chartX-f.plotLeft,a.chartY-f.plotTop,{visiblePlotOnly:!0})||this.runPointActions(a)};t.prototype.onDocumentTouchEnd=function(a){G[h.hoverChartIndex]&&G[h.hoverChartIndex].pointer.drop(a)};t.prototype.onContainerTouchMove=function(a){if(this.touchSelect(a))this.onContainerMouseMove(a);else this.touch(a)};t.prototype.onContainerTouchStart=function(a){if(this.touchSelect(a))this.onContainerMouseDown(a);
+else this.zoomOption(a),this.touch(a,!0)};t.prototype.onDocumentMouseMove=function(a){var f=this.chart,b=this.chartPosition;a=this.normalize(a,b);var c=f.tooltip;!b||c&&c.isStickyOnContact()||f.isInsidePlot(a.chartX-f.plotLeft,a.chartY-f.plotTop,{visiblePlotOnly:!0})||this.inClass(a.target,"highcharts-tracker")||this.reset()};t.prototype.onDocumentMouseUp=function(a){var f=G[L(h.hoverChartIndex,-1)];f&&f.pointer.drop(a)};t.prototype.pinch=function(f){var c=this,b=c.chart,k=c.pinchDown,m=f.touches||
+[],H=m.length,g=c.lastValidTouch,n=c.hasZoom,e=c.selectionMarker,l={},C=1===H&&(c.inClass(f.target,"highcharts-tracker")&&b.runTrackerClick||c.runChartClick),x={};1<H&&(c.initiated=!0);n&&c.initiated&&!C&&!1!==f.cancelable&&f.preventDefault();[].map.call(m,function(b){return c.normalize(b)});"touchstart"===f.type?([].forEach.call(m,function(b,a){k[a]={chartX:b.chartX,chartY:b.chartY}}),g.x=[k[0].chartX,k[1]&&k[1].chartX],g.y=[k[0].chartY,k[1]&&k[1].chartY],b.axes.forEach(function(a){if(a.zoomEnabled){var e=
+b.bounds[a.horiz?"h":"v"],g=a.minPixelPadding,l=a.toPixels(Math.min(L(a.options.min,a.dataMin),a.dataMin)),f=a.toPixels(Math.max(L(a.options.max,a.dataMax),a.dataMax)),c=Math.max(l,f);e.min=Math.min(a.pos,Math.min(l,f)-g);e.max=Math.max(a.pos+a.len,c+g)}}),c.res=!0):c.followTouchMove&&1===H?this.runPointActions(c.normalize(f)):k.length&&(e||(c.selectionMarker=e=a({destroy:I,touch:!0},b.plotBox)),c.pinchTranslate(k,m,l,e,x,g),c.hasPinched=n,c.scaleGroups(l,x),c.res&&(c.res=!1,this.reset(!1,0)))};t.prototype.pinchTranslate=
+function(a,c,b,k,m,H){this.zoomHor&&this.pinchTranslateDirection(!0,a,c,b,k,m,H);this.zoomVert&&this.pinchTranslateDirection(!1,a,c,b,k,m,H)};t.prototype.pinchTranslateDirection=function(a,c,b,k,m,H,g,n){var e=this.chart,l=a?"x":"y",f=a?"X":"Y",x="chart"+f,w=a?"width":"height",q=e["plot"+(a?"Left":"Top")],t,v,E=n||1,p=e.inverted,A=e.bounds[a?"h":"v"],h=1===c.length,y=c[0][x],r=b[0][x],P=!h&&c[1][x],d=!h&&b[1][x];b=function(){"number"===typeof d&&20<Math.abs(y-P)&&(E=n||Math.abs(r-d)/Math.abs(y-P));
+v=(q-r)/E+y;t=e["plot"+(a?"Width":"Height")]/E};b();c=v;if(c<A.min){c=A.min;var u=!0}else c+t>A.max&&(c=A.max-t,u=!0);u?(r-=.8*(r-g[l][0]),"number"===typeof d&&(d-=.8*(d-g[l][1])),b()):g[l]=[r,d];p||(H[l]=v-q,H[w]=t);H=p?1/E:E;m[w]=t;m[l]=c;k[p?a?"scaleY":"scaleX":"scale"+f]=E;k["translate"+f]=H*q+(r-H*y)};t.prototype.reset=function(a,c){var b=this.chart,f=b.hoverSeries,k=b.hoverPoint,m=b.hoverPoints,g=b.tooltip,n=g&&g.shared?m:k;a&&n&&A(n).forEach(function(b){b.series.isCartesian&&"undefined"===
+typeof b.plotX&&(a=!1)});if(a)g&&n&&A(n).length&&(g.refresh(n),g.shared&&m?m.forEach(function(b){b.setState(b.state,!0);b.series.isCartesian&&(b.series.xAxis.crosshair&&b.series.xAxis.drawCrosshair(null,b),b.series.yAxis.crosshair&&b.series.yAxis.drawCrosshair(null,b))}):k&&(k.setState(k.state,!0),b.axes.forEach(function(b){b.crosshair&&k.series[b.coll]===b&&b.drawCrosshair(null,k)})));else{if(k)k.onMouseOut();m&&m.forEach(function(b){b.setState()});if(f)f.onMouseOut();g&&g.hide(c);this.unDocMouseMove&&
+(this.unDocMouseMove=this.unDocMouseMove());b.axes.forEach(function(b){b.hideCrosshair()});this.hoverX=b.hoverPoints=b.hoverPoint=null}};t.prototype.runPointActions=function(a,c){var b=this.chart,f=b.tooltip&&b.tooltip.options.enabled?b.tooltip:void 0,k=f?f.shared:!1,m=c||b.hoverPoint,g=m&&m.series||b.hoverSeries;g=this.getHoverData(m,g,b.series,(!a||"touchmove"!==a.type)&&(!!c||g&&g.directTouch&&this.isDirectTouch),k,a);m=g.hoverPoint;var n=g.hoverPoints;c=(g=g.hoverSeries)&&g.tooltipOptions.followPointer&&
+!g.tooltipOptions.split;k=k&&g&&!g.noSharedTooltip;if(m&&(m!==b.hoverPoint||f&&f.isHidden)){(b.hoverPoints||[]).forEach(function(b){-1===n.indexOf(b)&&b.setState()});if(b.hoverSeries!==g)g.onMouseOver();this.applyInactiveState(n);(n||[]).forEach(function(b){b.setState("hover")});b.hoverPoint&&b.hoverPoint.firePointEvent("mouseOut");if(!m.series)return;b.hoverPoints=n;b.hoverPoint=m;m.firePointEvent("mouseOver");f&&f.refresh(k?n:m,a)}else c&&f&&!f.isHidden&&(m=f.getAnchor([{}],a),b.isInsidePlot(m[0],
+m[1],{visiblePlotOnly:!0})&&f.updatePosition({plotX:m[0],plotY:m[1]}));this.unDocMouseMove||(this.unDocMouseMove=D(b.container.ownerDocument,"mousemove",function(b){var a=G[h.hoverChartIndex];if(a)a.pointer.onDocumentMouseMove(b)}),this.eventsToUnbind.push(this.unDocMouseMove));b.axes.forEach(function(e){var g=L((e.crosshair||{}).snap,!0),c;g&&((c=b.hoverPoint)&&c.series[e.coll]===e||(c=r(n,function(b){return b.series[e.coll]===e})));c||!g?e.drawCrosshair(a,c):e.hideCrosshair()})};t.prototype.scaleGroups=
+function(a,c){var b=this.chart,f;b.series.forEach(function(k){f=a||k.getPlotBox();k.xAxis&&k.xAxis.zoomEnabled&&k.group&&(k.group.attr(f),k.markerGroup&&(k.markerGroup.attr(f),k.markerGroup.clip(c?b.clipRect:null)),k.dataLabelsGroup&&k.dataLabelsGroup.attr(f))});b.clipRect.attr(c||b.clipBox)};t.prototype.setDOMEvents=function(){var a=this,c=this.chart.container,b=c.ownerDocument;c.onmousedown=this.onContainerMouseDown.bind(this);c.onmousemove=this.onContainerMouseMove.bind(this);c.onclick=this.onContainerClick.bind(this);
+this.eventsToUnbind.push(D(c,"mouseenter",this.onContainerMouseEnter.bind(this)));this.eventsToUnbind.push(D(c,"mouseleave",this.onContainerMouseLeave.bind(this)));h.unbindDocumentMouseUp||(h.unbindDocumentMouseUp=D(b,"mouseup",this.onDocumentMouseUp.bind(this)));for(var k=this.chart.renderTo.parentElement;k&&"BODY"!==k.tagName;)this.eventsToUnbind.push(D(k,"scroll",function(){delete a.chartPosition})),k=k.parentElement;h.hasTouch&&(this.eventsToUnbind.push(D(c,"touchstart",this.onContainerTouchStart.bind(this),
+{passive:!1})),this.eventsToUnbind.push(D(c,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),h.unbindDocumentTouchEnd||(h.unbindDocumentTouchEnd=D(b,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};t.prototype.setHoverChartIndex=function(){var a=this.chart,c=h.charts[L(h.hoverChartIndex,-1)];if(c&&c!==a)c.pointer.onContainerMouseLeave({relatedTarget:!0});c&&c.mouseIsDown||(h.hoverChartIndex=a.index)};t.prototype.touch=function(a,c){var b=this.chart,f;this.setHoverChartIndex();
+if(1===a.touches.length)if(a=this.normalize(a),(f=b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop,{visiblePlotOnly:!0}))&&!b.openMenu){c&&this.runPointActions(a);if("touchmove"===a.type){c=this.pinchDown;var k=c[0]?4<=Math.sqrt(Math.pow(c[0].chartX-a.chartX,2)+Math.pow(c[0].chartY-a.chartY,2)):!1}L(k,!0)&&this.pinch(a)}else c&&this.reset();else 2===a.touches.length&&this.pinch(a)};t.prototype.touchSelect=function(a){return!(!this.chart.options.chart.zoomBySingleTouch||!a.touches||1!==a.touches.length)};
+t.prototype.zoomOption=function(a){var c=this.chart,b=c.options.chart,f=b.zoomType||"";c=c.inverted;/touch/.test(a.type)&&(f=L(b.pinchType,f));this.zoomX=a=/x/.test(f);this.zoomY=f=/y/.test(f);this.zoomHor=a&&!c||f&&c;this.zoomVert=f&&!c||a&&c;this.hasZoom=a||f};return t}();return h.Pointer=d});Q(d,"Core/MSPointer.js",[d["Core/Globals.js"],d["Core/Pointer.js"],d["Core/Utilities.js"]],function(d,h,K){function N(){var a=[];a.item=function(a){return this[a]};c(r,function(c){a.push({pageX:c.pageX,pageY:c.pageY,
+target:c.target})});return a}function J(a,c,k,m){"touch"!==a.pointerType&&a.pointerType!==a.MSPOINTER_TYPE_TOUCH||!G[d.hoverChartIndex]||(m(a),m=G[d.hoverChartIndex].pointer,m[c]({type:k,target:a.currentTarget,preventDefault:D,touches:N()}))}var M=this&&this.__extends||function(){var a=function(c,k){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var k in c)c.hasOwnProperty(k)&&(a[k]=c[k])};return a(c,k)};return function(c,k){function m(){this.constructor=
+c}a(c,k);c.prototype=null===k?Object.create(k):(m.prototype=k.prototype,new m)}}(),G=d.charts,I=d.doc,D=d.noop,B=K.addEvent,u=K.css,c=K.objectEach,a=K.removeEvent,r={},y=!!d.win.PointerEvent;return function(c){function p(){return null!==c&&c.apply(this,arguments)||this}M(p,c);p.prototype.batchMSEvents=function(a){a(this.chart.container,y?"pointerdown":"MSPointerDown",this.onContainerPointerDown);a(this.chart.container,y?"pointermove":"MSPointerMove",this.onContainerPointerMove);a(I,y?"pointerup":
+"MSPointerUp",this.onDocumentPointerUp)};p.prototype.destroy=function(){this.batchMSEvents(a);c.prototype.destroy.call(this)};p.prototype.init=function(a,m){c.prototype.init.call(this,a,m);this.hasZoom&&u(a.container,{"-ms-touch-action":"none","touch-action":"none"})};p.prototype.onContainerPointerDown=function(a){J(a,"onContainerTouchStart","touchstart",function(a){r[a.pointerId]={pageX:a.pageX,pageY:a.pageY,target:a.currentTarget}})};p.prototype.onContainerPointerMove=function(a){J(a,"onContainerTouchMove",
+"touchmove",function(a){r[a.pointerId]={pageX:a.pageX,pageY:a.pageY};r[a.pointerId].target||(r[a.pointerId].target=a.currentTarget)})};p.prototype.onDocumentPointerUp=function(a){J(a,"onDocumentTouchEnd","touchend",function(a){delete r[a.pointerId]})};p.prototype.setDOMEvents=function(){c.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(B)};return p}(h)});Q(d,"Core/Series/Point.js",[d["Core/Renderer/HTML/AST.js"],d["Core/Animation/AnimationUtilities.js"],
+d["Core/FormatUtilities.js"],d["Core/Globals.js"],d["Core/Options.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M){var G=h.animObject,I=K.format,D=J.defaultOptions,B=M.addEvent,u=M.defined,c=M.erase,a=M.extend,r=M.fireEvent,y=M.getNestedProperty,p=M.isArray,O=M.isFunction,k=M.isNumber,m=M.isObject,L=M.merge,A=M.objectEach,t=M.pick,f=M.syncTimeout,v=M.removeEvent,b=M.uniqueKey;"";h=function(){function E(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;
+this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=this.series=void 0;this.visible=!0;this.x=void 0}E.prototype.animateBeforeDestroy=function(){var b=this,c={x:b.startXPos,opacity:0},g,f=b.getGraphicalProps();f.singular.forEach(function(a){g="dataLabel"===a;b[a]=b[a].animate(g?{x:b[a].startXPos,y:b[a].startYPos,opacity:0}:c)});f.plural.forEach(function(e){b[e].forEach(function(e){e.element&&e.animate(a({x:b.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))})})};E.prototype.applyOptions=
+function(b,c){var g=this.series,f=g.options.pointValKey||g.pointValKey;b=E.prototype.optionsToObject.call(this,b);a(this,b);this.options=this.options?a(this.options,b):b;b.group&&delete this.group;b.dataLabels&&delete this.dataLabels;f&&(this.y=E.prototype.getNestedProperty.call(this,f));this.formatPrefix=(this.isNull=t(this.isValid&&!this.isValid(),null===this.x||!k(this.y)))?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof c&&g.xAxis&&g.xAxis.hasNames&&(this.x=
+g.xAxis.nameToX(this));"undefined"===typeof this.x&&g&&(this.x="undefined"===typeof c?g.autoIncrement(this):c);return this};E.prototype.destroy=function(){function b(){if(a.graphic||a.dataLabel||a.dataLabels)v(a),a.destroyElements();for(k in a)a[k]=null}var a=this,g=a.series,n=g.chart;g=g.options.dataSorting;var e=n.hoverPoints,l=G(a.series.chart.renderer.globalAnimation),k;a.legendItem&&n.legend.destroyItem(a);e&&(a.setState(),c(e,a),e.length||(n.hoverPoints=null));if(a===n.hoverPoint)a.onMouseOut();
+g&&g.enabled?(this.animateBeforeDestroy(),f(b,l.duration)):b();n.pointCount--};E.prototype.destroyElements=function(b){var a=this;b=a.getGraphicalProps(b);b.singular.forEach(function(b){a[b]=a[b].destroy()});b.plural.forEach(function(b){a[b].forEach(function(b){b.element&&b.destroy()});delete a[b]})};E.prototype.firePointEvent=function(b,a,g){var c=this,e=this.series.options;(e.point.events[b]||c.options&&c.options.events&&c.options.events[b])&&c.importEvents();"click"===b&&e.allowPointSelect&&(g=
+function(b){c.select&&c.select(null,b.ctrlKey||b.metaKey||b.shiftKey)});r(c,b,a,g)};E.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};
+E.prototype.getGraphicalProps=function(b){var a=this,g=[],c,e={singular:[],plural:[]};b=b||{graphic:1,dataLabel:1};b.graphic&&g.push("graphic","upperGraphic","shadowGroup");b.dataLabel&&g.push("dataLabel","dataLabelUpper","connector");for(c=g.length;c--;){var l=g[c];a[l]&&e.singular.push(l)}["dataLabel","connector"].forEach(function(g){var l=g+"s";b[g]&&a[l]&&e.plural.push(l)});return e};E.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,
+key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}};E.prototype.getNestedProperty=function(b){if(b)return 0===b.indexOf("custom.")?y(b,this.options):this[b]};E.prototype.getZone=function(){var b=this.series,a=b.zones;b=b.zoneAxis||"y";var g=0,c;for(c=a[g];this[b]>=c.value;)c=a[++g];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=c&&c.color&&!this.options.color?c.color:this.nonZonedColor;return c};E.prototype.hasNewShapeType=
+function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};E.prototype.init=function(a,c,g){this.series=a;this.applyOptions(c,g);this.id=u(this.id)?this.id:b();this.resolveColor();a.chart.pointCount++;r(this,"afterInit");return this};E.prototype.optionsToObject=function(b){var a={},g=this.series,c=g.options.keys,e=c||g.pointArrayMap||["y"],l=e.length,f=0,x=0;if(k(b)||null===b)a[e[0]]=b;else if(p(b))for(!c&&b.length>l&&(g=typeof b[0],"string"===g?a.name=
+b[0]:"number"===g&&(a.x=b[0]),f++);x<l;)c&&"undefined"===typeof b[f]||(0<e[x].indexOf(".")?E.prototype.setNestedProperty(a,b[f],e[x]):a[e[x]]=b[f]),f++,x++;else"object"===typeof b&&(a=b,b.dataLabels&&(g._hasPointLabels=!0),b.marker&&(g._hasPointMarkers=!0));return a};E.prototype.resolveColor=function(){var b=this.series;var a=b.chart.options.chart.colorCount;var g=b.chart.styledMode;delete this.nonZonedColor;if(b.options.colorByPoint){if(!g){a=b.options.colors||b.chart.options.colors;var c=a[b.colorCounter];
+a=a.length}g=b.colorCounter;b.colorCounter++;b.colorCounter===a&&(b.colorCounter=0)}else g||(c=b.color),g=b.colorIndex;this.colorIndex=t(this.options.colorIndex,g);this.color=t(this.options.color,c)};E.prototype.setNestedProperty=function(b,a,g){g.split(".").reduce(function(b,e,g,c){b[e]=c.length-1===g?a:m(b[e],!0)?b[e]:{};return b[e]},b);return b};E.prototype.tooltipFormatter=function(b){var a=this.series,g=a.tooltipOptions,c=t(g.valueDecimals,""),e=g.valuePrefix||"",l=g.valueSuffix||"";a.chart.styledMode&&
+(b=a.chart.tooltip.styledModeFormat(b));(a.pointArrayMap||["y"]).forEach(function(a){a="{point."+a;if(e||l)b=b.replace(RegExp(a+"}","g"),e+a+"}"+l);b=b.replace(RegExp(a+"}","g"),a+":,."+c+"f}")});return I(b,{point:this,series:this.series},a.chart)};E.prototype.update=function(b,a,g,c){function e(){l.applyOptions(b);var e=n&&l.hasDummyGraphic;e=null===l.y?!e:e;n&&e&&(l.graphic=n.destroy(),delete l.hasDummyGraphic);m(b,!0)&&(n&&n.element&&b&&b.marker&&"undefined"!==typeof b.marker.symbol&&(l.graphic=
+n.destroy()),b&&b.dataLabels&&l.dataLabel&&(l.dataLabel=l.dataLabel.destroy()),l.connector&&(l.connector=l.connector.destroy()));k=l.index;f.updateParallelArrays(l,k);p.data[k]=m(p.data[k],!0)||m(b,!0)?l.options:t(b,p.data[k]);f.isDirty=f.isDirtyData=!0;!f.fixedBox&&f.hasCartesianSeries&&(q.isDirtyBox=!0);"point"===p.legendType&&(q.isDirtyLegend=!0);a&&q.redraw(g)}var l=this,f=l.series,n=l.graphic,k,q=f.chart,p=f.options;a=t(a,!0);!1===c?e():l.firePointEvent("update",{options:b},e)};E.prototype.remove=
+function(b,a){this.series.removePoint(this.series.data.indexOf(this),b,a)};E.prototype.select=function(b,a){var g=this,c=g.series,e=c.chart;this.selectedStaging=b=t(b,!g.selected);g.firePointEvent(b?"select":"unselect",{accumulate:a},function(){g.selected=g.options.selected=b;c.options.data[c.data.indexOf(g)]=g.options;g.setState(b&&"select");a||e.getSelectedPoints().forEach(function(b){var a=b.series;b.selected&&b!==g&&(b.selected=b.options.selected=!1,a.options.data[a.data.indexOf(b)]=b.options,
+b.setState(e.hoverPoints&&a.options.inactiveOtherPoints?"inactive":""),b.firePointEvent("unselect"))})});delete this.selectedStaging};E.prototype.onMouseOver=function(b){var a=this.series.chart,g=a.pointer;b=b?g.normalize(b):g.getChartCoordinatesFromPoint(this,a.inverted);g.runPointActions(b,this)};E.prototype.onMouseOut=function(){var b=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(b.hoverPoints||[]).forEach(function(b){b.setState()});b.hoverPoints=b.hoverPoint=
+null};E.prototype.importEvents=function(){if(!this.hasImportedEvents){var b=this,a=L(b.series.options.point,b.options).events;b.events=a;A(a,function(a,c){O(a)&&B(b,c,a)});this.hasImportedEvents=!0}};E.prototype.setState=function(b,c){var g=this.series,f=this.state,e=g.options.states[b||"normal"]||{},l=D.plotOptions[g.type].marker&&g.options.marker,m=l&&!1===l.enabled,x=l&&l.states&&l.states[b||"normal"]||{},w=!1===x.enabled,q=g.stateMarkerGraphic,p=this.marker||{},v=g.chart,E=g.halo,A,h=l&&g.markerAttribs;
+b=b||"";if(!(b===this.state&&!c||this.selected&&"select"!==b||!1===e.enabled||b&&(w||m&&!1===x.enabled)||b&&p.states&&p.states[b]&&!1===p.states[b].enabled)){this.state=b;h&&(A=g.markerAttribs(this,b));if(this.graphic&&!this.hasDummyGraphic){f&&this.graphic.removeClass("highcharts-point-"+f);b&&this.graphic.addClass("highcharts-point-"+b);if(!v.styledMode){var y=g.pointAttribs(this,b);var H=t(v.options.chart.animation,e.animation);g.options.inactiveOtherPoints&&k(y.opacity)&&((this.dataLabels||[]).forEach(function(b){b&&
+b.animate({opacity:y.opacity},H)}),this.connector&&this.connector.animate({opacity:y.opacity},H));this.graphic.animate(y,H)}A&&this.graphic.animate(A,t(v.options.chart.animation,x.animation,l.animation));q&&q.hide()}else{if(b&&x){f=p.symbol||g.symbol;q&&q.currentSymbol!==f&&(q=q.destroy());if(A)if(q)q[c?"animate":"attr"]({x:A.x,y:A.y});else f&&(g.stateMarkerGraphic=q=v.renderer.symbol(f,A.x,A.y,A.width,A.height).add(g.markerGroup),q.currentSymbol=f);!v.styledMode&&q&&q.attr(g.pointAttribs(this,b))}q&&
+(q[b&&this.isInside?"show":"hide"](),q.element.point=this)}e=e.halo;A=(q=this.graphic||q)&&q.visibility||"inherit";e&&e.size&&q&&"hidden"!==A&&!this.isCluster?(E||(g.halo=E=v.renderer.path().add(q.parentGroup)),E.show()[c?"animate":"attr"]({d:this.haloPath(e.size)}),E.attr({"class":"highcharts-halo highcharts-color-"+t(this.colorIndex,g.colorIndex)+(this.className?" "+this.className:""),visibility:A,zIndex:-1}),E.point=this,v.styledMode||E.attr(a({fill:this.color||g.color,"fill-opacity":e.opacity},
+d.filterUserAttributes(e.attributes||{})))):E&&E.point&&E.point.haloPath&&E.animate({d:E.point.haloPath(0)},null,E.hide);r(this,"afterSetState",{state:b})}};E.prototype.haloPath=function(b){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-b,this.plotY-b,2*b,2*b)};return E}();return F.Point=h});Q(d,"Core/Legend.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/FormatUtilities.js"],d["Core/Globals.js"],d["Core/Series/Point.js"],d["Core/Utilities.js"]],function(d,h,K,F,J){var N=
+d.animObject,G=d.setAnimation,I=h.format;d=K.isFirefox;var D=K.marginNames;h=K.win;var B=J.addEvent,u=J.createElement,c=J.css,a=J.defined,r=J.discardElement,y=J.find,p=J.fireEvent,O=J.isNumber,k=J.merge,m=J.pick,L=J.relativeLength,A=J.stableSort,t=J.syncTimeout;J=J.wrap;var f=function(){function f(b,a){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=
+this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options={};this.padding=0;this.pages=[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=b;this.init(b,a)}f.prototype.init=function(b,a){this.chart=b;this.setOptions(a);a.enabled&&(this.render(),B(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=B(this.chart,
+"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};f.prototype.setOptions=function(b){var a=m(b.padding,8);this.options=b;this.chart.styledMode||(this.itemStyle=b.itemStyle,this.itemHiddenStyle=k(this.itemStyle,b.itemHiddenStyle));this.itemMarginTop=b.itemMarginTop||0;this.itemMarginBottom=b.itemMarginBottom||0;this.padding=a;this.initialItemY=a-5;this.symbolWidth=m(b.symbolWidth,16);this.pages=[];this.proximate="proximate"===
+b.layout&&!this.chart.inverted;this.baseline=void 0};f.prototype.update=function(b,a){var c=this.chart;this.setOptions(k(!0,this.options,b));this.destroy();c.isDirtyLegend=c.isDirtyBox=!0;m(a,!0)&&c.redraw();p(this,"afterUpdate")};f.prototype.colorizeItem=function(b,a){b.legendGroup[a?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var c=this.options,f=b.legendItem,g=b.legendLine,k=b.legendSymbol,e=this.itemHiddenStyle.color;c=a?c.itemStyle.color:e;var l=a?b.color||
+e:e,m=b.options&&b.options.marker,x={fill:l};f&&f.css({fill:c,color:c});g&&g.attr({stroke:l});k&&(m&&k.isMarker&&(x=b.pointAttribs(),a||(x.stroke=x.fill=e)),k.attr(x))}p(this,"afterColorizeItem",{item:b,visible:a})};f.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};f.prototype.positionItem=function(b){var c=this,f=this.options,k=f.symbolPadding,g=!f.rtl,n=b._legendItemPos;f=n[0];n=n[1];var e=b.checkbox,l=b.legendGroup;
+l&&l.element&&(k={translateX:g?f:this.legendWidth-f-2*k-4,translateY:n},g=function(){p(c,"afterPositionItem",{item:b})},a(l.translateY)?l.animate(k,void 0,g):(l.attr(k),g()));e&&(e.x=f,e.y=n)};f.prototype.destroyItem=function(b){var a=b.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(a){b[a]&&(b[a]=b[a].destroy())});a&&r(b.checkbox)};f.prototype.destroy=function(){function b(b){this[b]&&(this[b]=this[b].destroy())}this.getAllItems().forEach(function(a){["legendItem",
+"legendGroup"].forEach(b,a)});"clipRect up down pager nav box title group".split(" ").forEach(b,this);this.display=null};f.prototype.positionCheckboxes=function(){var b=this.group&&this.group.alignAttr,a=this.clipHeight||this.legendHeight,f=this.titleHeight;if(b){var k=b.translateY;this.allItems.forEach(function(g){var n=g.checkbox;if(n){var e=k+f+n.y+(this.scrollOffset||0)+3;c(n,{left:b.translateX+g.checkboxOffset+n.x-20+"px",top:e+"px",display:this.proximate||e>k-6&&e<k+a-6?"":"none"})}},this)}};
+f.prototype.renderTitle=function(){var b=this.options,a=this.padding,c=b.title,f=0;c.text&&(this.title||(this.title=this.chart.renderer.label(c.text,a-3,a-4,null,null,null,b.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(c.style),this.title.add(this.group)),c.width||this.title.css({width:this.maxLegendWidth+"px"}),b=this.title.getBBox(),f=b.height,this.offsetWidth=b.width,this.contentGroup.attr({translateY:f}));this.titleHeight=f};f.prototype.setText=function(b){var a=
+this.options;b.legendItem.attr({text:a.labelFormat?I(a.labelFormat,b,this.chart):a.labelFormatter.call(b)})};f.prototype.renderItem=function(b){var a=this.chart,c=a.renderer,f=this.options,g=this.symbolWidth,n=f.symbolPadding||0,e=this.itemStyle,l=this.itemHiddenStyle,C="horizontal"===f.layout?m(f.itemDistance,20):0,x=!f.rtl,w=b.legendItem,q=!b.series,t=!q&&b.series.drawLegendSymbol?b.series:b,p=t.options,v=this.createCheckboxForItem&&p&&p.showCheckbox;p=g+n+C+(v?20:0);var A=f.useHTML,h=b.options.className;
+w||(b.legendGroup=c.g("legend-item").addClass("highcharts-"+t.type+"-series highcharts-color-"+b.colorIndex+(h?" "+h:"")+(q?" highcharts-series-"+b.index:"")).attr({zIndex:1}).add(this.scrollGroup),b.legendItem=w=c.text("",x?g+n:-n,this.baseline||0,A),a.styledMode||w.css(k(b.visible?e:l)),w.attr({align:x?"left":"right",zIndex:2}).add(b.legendGroup),this.baseline||(this.fontMetrics=c.fontMetrics(a.styledMode?12:e.fontSize,w),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,w.attr("y",this.baseline),
+this.symbolHeight=f.symbolHeight||this.fontMetrics.f,f.squareSymbol&&(this.symbolWidth=m(f.symbolWidth,Math.max(this.symbolHeight,16)),p=this.symbolWidth+n+C+(v?20:0),x&&w.attr("x",this.symbolWidth+n))),t.drawLegendSymbol(this,b),this.setItemEvents&&this.setItemEvents(b,w,A));v&&!b.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(b);this.colorizeItem(b,b.visible);!a.styledMode&&e.width||w.css({width:(f.itemWidth||this.widthOption||a.spacingBox.width)-p+"px"});this.setText(b);a=w.getBBox();
+b.itemWidth=b.checkboxOffset=f.itemWidth||b.legendItemWidth||a.width+p;this.maxItemWidth=Math.max(this.maxItemWidth,b.itemWidth);this.totalItemWidth+=b.itemWidth;this.itemHeight=b.itemHeight=Math.round(b.legendItemHeight||a.height||this.symbolHeight)};f.prototype.layoutItem=function(b){var a=this.options,c=this.padding,f="horizontal"===a.layout,g=b.itemHeight,k=this.itemMarginBottom,e=this.itemMarginTop,l=f?m(a.itemDistance,20):0,C=this.maxLegendWidth;a=a.alignColumns&&this.totalItemWidth>C?this.maxItemWidth:
+b.itemWidth;f&&this.itemX-c+a>C&&(this.itemX=c,this.lastLineHeight&&(this.itemY+=e+this.lastLineHeight+k),this.lastLineHeight=0);this.lastItemY=e+this.itemY+k;this.lastLineHeight=Math.max(g,this.lastLineHeight);b._legendItemPos=[this.itemX,this.itemY];f?this.itemX+=a:(this.itemY+=e+g+k,this.lastLineHeight=g);this.offsetWidth=this.widthOption||Math.max((f?this.itemX-c-(b.checkbox?0:l):a)+c,this.offsetWidth)};f.prototype.getAllItems=function(){var b=[];this.chart.series.forEach(function(c){var f=c&&
+c.options;c&&m(f.showInLegend,a(f.linkedTo)?!1:void 0,!0)&&(b=b.concat(c.legendItems||("point"===f.legendType?c.data:c)))});p(this,"afterGetAllItems",{allItems:b});return b};f.prototype.getAlignment=function(){var b=this.options;return this.proximate?b.align.charAt(0)+"tv":b.floating?"":b.align.charAt(0)+b.verticalAlign.charAt(0)+b.layout.charAt(0)};f.prototype.adjustMargins=function(b,c){var f=this.chart,k=this.options,g=this.getAlignment();g&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(n,
+e){n.test(g)&&!a(b[e])&&(f[D[e]]=Math.max(f[D[e]],f.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*k[e%2?"x":"y"]+m(k.margin,12)+c[e]+(f.titleOffset[e]||0)))})};f.prototype.proximatePositions=function(){var b=this.chart,a=[],c="left"===this.options.align;this.allItems.forEach(function(f){var g;var k=c;if(f.yAxis){f.xAxis.options.reversed&&(k=!k);f.points&&(g=y(k?f.points:f.points.slice(0).reverse(),function(b){return O(b.plotY)}));k=this.itemMarginTop+f.legendItem.getBBox().height+this.itemMarginBottom;
+var e=f.yAxis.top-b.plotTop;f.visible?(g=g?g.plotY:f.yAxis.height,g+=e-.3*k):g=e+f.yAxis.height;a.push({target:g,size:k,item:f})}},this);K.distribute(a,b.plotHeight);a.forEach(function(a){a.item._legendItemPos[1]=b.plotTop-b.spacing[0]+a.pos})};f.prototype.render=function(){var b=this.chart,a=b.renderer,c=this.group,f=this.box,g=this.options,k=this.padding;this.itemX=k;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=L(g.width,b.spacingBox.width-k);var e=b.spacingBox.width-
+2*k-g.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(e/=2);this.maxLegendWidth=this.widthOption||e;c||(this.group=c=a.g("legend").attr({zIndex:7}).add(),this.contentGroup=a.g().attr({zIndex:1}).add(c),this.scrollGroup=a.g().add(this.contentGroup));this.renderTitle();var l=this.getAllItems();A(l,function(b,a){return(b.options&&b.options.legendIndex||0)-(a.options&&a.options.legendIndex||0)});g.reversed&&l.reverse();this.allItems=l;this.display=e=!!l.length;this.itemHeight=this.totalItemWidth=
+this.maxItemWidth=this.lastLineHeight=0;l.forEach(this.renderItem,this);l.forEach(this.layoutItem,this);l=(this.widthOption||this.offsetWidth)+k;var m=this.lastItemY+this.lastLineHeight+this.titleHeight;m=this.handleOverflow(m);m+=k;f||(this.box=f=a.rect().addClass("highcharts-legend-box").attr({r:g.borderRadius}).add(c),f.isNew=!0);b.styledMode||f.attr({stroke:g.borderColor,"stroke-width":g.borderWidth||0,fill:g.backgroundColor||"none"}).shadow(g.shadow);0<l&&0<m&&(f[f.isNew?"attr":"animate"](f.crisp.call({},
+{x:0,y:0,width:l,height:m},f.strokeWidth())),f.isNew=!1);f[e?"show":"hide"]();b.styledMode&&"none"===c.getStyle("display")&&(l=m=0);this.legendWidth=l;this.legendHeight=m;e&&this.align();this.proximate||this.positionItems();p(this,"afterRender")};f.prototype.align=function(b){void 0===b&&(b=this.chart.spacingBox);var a=this.chart,c=this.options,f=b.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<a.titleOffset[0]?f+=a.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<a.titleOffset[2]&&(f-=a.titleOffset[2]);
+f!==b.y&&(b=k(b,{y:f}));this.group.align(k(c,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":c.verticalAlign}),!0,b)};f.prototype.handleOverflow=function(b){var a=this,c=this.chart,f=c.renderer,g=this.options,k=g.y,e=this.padding;k=c.spacingBox.height+("top"===g.verticalAlign?-k:k)-e;var l=g.maxHeight,C,x=this.clipRect,w=g.navigation,q=m(w.animation,!0),t=w.arrowSize||12,p=this.nav,v=this.pages,A,h=this.allItems,y=function(b){"number"===typeof b?x.attr({height:b}):
+x&&(a.clipRect=x.destroy(),a.contentGroup.clip());a.contentGroup.div&&(a.contentGroup.div.style.clip=b?"rect("+e+"px,9999px,"+(e+b)+"px,0)":"auto")},r=function(b){a[b]=f.circle(0,0,1.3*t).translate(t/2,t/2).add(p);c.styledMode||a[b].attr("fill","rgba(0,0,0,0.0001)");return a[b]};"horizontal"!==g.layout||"middle"===g.verticalAlign||g.floating||(k/=2);l&&(k=Math.min(k,l));v.length=0;b&&0<k&&b>k&&!1!==w.enabled?(this.clipHeight=C=Math.max(k-20-this.titleHeight-e,0),this.currentPage=m(this.currentPage,
+1),this.fullHeight=b,h.forEach(function(b,a){var e=b._legendItemPos[1],c=Math.round(b.legendItem.getBBox().height),g=v.length;if(!g||e-v[g-1]>C&&(A||e)!==v[g-1])v.push(A||e),g++;b.pageIx=g-1;A&&(h[a-1].pageIx=g-1);a===h.length-1&&e+c-v[g-1]>C&&e!==A&&(v.push(e),b.pageIx=g);e!==A&&(A=e)}),x||(x=a.clipRect=f.clipRect(0,e,9999,0),a.contentGroup.clip(x)),y(C),p||(this.nav=p=f.g().attr({zIndex:1}).add(this.group),this.up=f.symbol("triangle",0,0,t,t).add(p),r("upTracker").on("click",function(){a.scroll(-1,
+q)}),this.pager=f.text("",15,10).addClass("highcharts-legend-navigation"),c.styledMode||this.pager.css(w.style),this.pager.add(p),this.down=f.symbol("triangle-down",0,0,t,t).add(p),r("downTracker").on("click",function(){a.scroll(1,q)})),a.scroll(0),b=k):p&&(y(),this.nav=p.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return b};f.prototype.scroll=function(b,a){var c=this,f=this.chart,g=this.pages,k=g.length,e=this.currentPage+b;b=this.clipHeight;var l=this.options.navigation,C=
+this.pager,x=this.padding;e>k&&(e=k);0<e&&("undefined"!==typeof a&&G(a,f),this.nav.attr({translateX:x,translateY:b+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(b){b.attr({"class":1===e?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),C.attr({text:e+"/"+k}),[this.down,this.downTracker].forEach(function(b){b.attr({x:18+this.pager.getBBox().width,"class":e===k?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),
+f.styledMode||(this.up.attr({fill:1===e?l.inactiveColor:l.activeColor}),this.upTracker.css({cursor:1===e?"default":"pointer"}),this.down.attr({fill:e===k?l.inactiveColor:l.activeColor}),this.downTracker.css({cursor:e===k?"default":"pointer"})),this.scrollOffset=-g[e-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=e,this.positionCheckboxes(),a=N(m(a,f.renderer.globalAnimation,!0)),t(function(){p(c,"afterScroll",{currentPage:e})},a.duration))};f.prototype.setItemEvents=
+function(b,a,c){var f=this,g=f.chart.renderer.boxWrapper,n=b instanceof F,e="highcharts-legend-"+(n?"point":"series")+"-active",l=f.chart.styledMode;(c?[a,b.legendSymbol]:[b.legendGroup]).forEach(function(c){if(c)c.on("mouseover",function(){b.visible&&f.allItems.forEach(function(a){b!==a&&a.setState("inactive",!n)});b.setState("hover");b.visible&&g.addClass(e);l||a.css(f.options.itemHoverStyle)}).on("mouseout",function(){f.chart.styledMode||a.css(k(b.visible?f.itemStyle:f.itemHiddenStyle));f.allItems.forEach(function(a){b!==
+a&&a.setState("",!n)});g.removeClass(e);b.setState()}).on("click",function(a){var c=function(){b.setVisible&&b.setVisible();f.allItems.forEach(function(a){b!==a&&a.setState(b.visible?"inactive":"",!n)})};g.removeClass(e);a={browserEvent:a};b.firePointEvent?b.firePointEvent("legendItemClick",a,c):p(b,"legendItemClick",a,c)})})};f.prototype.createCheckboxForItem=function(b){b.checkbox=u("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:b.selected,defaultChecked:b.selected},this.options.itemCheckboxStyle,
+this.chart.container);B(b.checkbox,"click",function(a){p(b.series||b,"checkboxClick",{checked:a.target.checked,item:b},function(){b.select()})})};return f}();(/Trident\/7\.0/.test(h.navigator&&h.navigator.userAgent)||d)&&J(f.prototype,"positionItem",function(a,b){var c=this,f=function(){b._legendItemPos&&a.call(c,b)};f();c.bubbleLegend||setTimeout(f)});K.Legend=f;return K.Legend});Q(d,"Core/Series/SeriesRegistry.js",[d["Core/Globals.js"],d["Core/Options.js"],d["Core/Series/Point.js"],d["Core/Utilities.js"]],
+function(d,h,K,F){var J=h.defaultOptions,N=F.error,G=F.extendClass,I=F.merge,D;(function(h){function u(c,a){var r=J.plotOptions||{},y=a.defaultOptions;a.prototype.pointClass||(a.prototype.pointClass=K);a.prototype.type=c;y&&(r[c]=y);h.seriesTypes[c]=a}h.seriesTypes=d.seriesTypes;h.getSeries=function(c,a){void 0===a&&(a={});var r=c.options.chart;r=a.type||r.type||r.defaultSeriesType||"";var y=h.seriesTypes[r];h||N(17,!0,c,{missingModuleFor:r});r=new y;"function"===typeof r.init&&r.init(c,a);return r};
+h.registerSeriesType=u;h.seriesType=function(c,a,r,y,p){var d=J.plotOptions||{};a=a||"";d[c]=I(d[a],r);u(c,G(h.seriesTypes[a]||function(){},y));h.seriesTypes[c].prototype.type=c;p&&(h.seriesTypes[c].prototype.pointClass=G(K,p));return h.seriesTypes[c]}})(D||(D={}));d.seriesType=D.seriesType;return D});Q(d,"Core/Chart/Chart.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/Axis/Axis.js"],d["Core/FormatUtilities.js"],d["Core/Globals.js"],d["Core/Legend.js"],d["Core/MSPointer.js"],d["Core/Options.js"],
+d["Core/Color/Palette.js"],d["Core/Pointer.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Time.js"],d["Core/Utilities.js"],d["Core/Renderer/HTML/AST.js"]],function(d,h,K,F,J,M,G,I,D,B,u,c,a){var r=d.animate,y=d.animObject,p=d.setAnimation,O=K.numberFormat,k=F.charts,m=F.doc,L=F.win,A=G.defaultOptions,t=G.defaultTime,f=B.seriesTypes,v=c.addEvent,b=c.attr,E=c.cleanRecursively,P=c.createElement,H=c.css,g=c.defined,n=c.discardElement,e=c.erase,l=c.error,C=c.extend,x=c.find,w=c.fireEvent,q=c.getStyle,
+z=c.isArray,N=c.isFunction,V=c.isNumber,aa=c.isObject,R=c.isString,U=c.merge,W=c.objectEach,S=c.pick,ba=c.pInt,ca=c.relativeLength,da=c.removeEvent,Z=c.splat,ea=c.syncTimeout,fa=c.uniqueKey,Y=F.marginNames,X=function(){function d(b,a,e){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=
+this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0;this.sharedClips={};this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0;this.getArgs(b,a,e)}d.prototype.getArgs=function(b,a,e){R(b)||b.nodeName?(this.renderTo=b,this.init(a,e)):this.init(b,a)};d.prototype.init=function(b,a){var e=b.plotOptions||{};w(this,"init",{args:arguments},function(){var c=U(A,b),g=c.chart;W(c.plotOptions,function(b,
+a){aa(b)&&(b.tooltip=e[a]&&U(e[a].tooltip)||void 0)});c.tooltip.userOptions=b.chart&&b.chart.forExport&&b.tooltip.userOptions||b.tooltip;this.userOptions=b;var f=g.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=a;this.isResizing=0;this.options=c;this.axes=[];this.series=[];this.time=b.time&&Object.keys(b.time).length?new u(b.time):F.time;this.numberFormatter=g.numberFormatter||O;this.styledMode=g.styledMode;this.hasCartesianSeries=g.showAxes;var l=
+this;l.index=k.length;k.push(l);F.chartCount++;f&&W(f,function(b,a){N(b)&&v(l,a,b)});l.xAxis=[];l.yAxis=[];l.pointCount=l.colorCounter=l.symbolCounter=0;w(l,"afterInit");l.firstRender()})};d.prototype.initSeries=function(b){var a=this.options.chart;a=b.type||a.type||a.defaultSeriesType;var e=f[a];e||l(17,!0,this,{missingModuleFor:a});a=new e;"function"===typeof a.init&&a.init(this,b);return a};d.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(b){b.points||b.data||
+!b.enabledDataSorting||b.setData(b.options.data,!1)})};d.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(b,a){return b.linkedSeries.length||a.linkedSeries.length?a.linkedSeries.length-b.linkedSeries.length:0})};d.prototype.orderSeries=function(b){var a=this.series;for(b=b||0;b<a.length;b++)a[b]&&(a[b].index=b,a[b].name=a[b].getName())};d.prototype.isInsidePlot=function(b,a,e){void 0===e&&(e={});var c=this.inverted,g=this.plotBox,f=this.plotLeft,l=this.plotTop,
+k=this.scrollablePlotBox,n=this.scrollingContainer;n=void 0===n?{scrollLeft:0,scrollTop:0}:n;var q=n.scrollLeft;n=n.scrollTop;var m=e.series;g=e.visiblePlotOnly&&k||g;k=e.inverted?a:b;a=e.inverted?b:a;b={x:k,y:a,isInsidePlot:!0};if(!e.ignoreX){var x=m&&(c?m.yAxis:m.xAxis)||{pos:f,len:Infinity};k=e.paneCoordinates?x.pos+k:f+k;k>=Math.max(q+f,x.pos)&&k<=Math.min(q+f+g.width,x.pos+x.len)||(b.isInsidePlot=!1)}!e.ignoreY&&b.isInsidePlot&&(c=m&&(c?m.xAxis:m.yAxis)||{pos:l,len:Infinity},e=e.paneCoordinates?
+c.pos+a:l+a,e>=Math.max(n+l,c.pos)&&e<=Math.min(n+l+g.height,c.pos+c.len)||(b.isInsidePlot=!1));w(this,"afterIsInsidePlot",b);return b.isInsidePlot};d.prototype.redraw=function(b){w(this,"beforeRedraw");var a=this.hasCartesianSeries?this.axes:this.colorAxis||[],e=this.series,c=this.pointer,g=this.legend,f=this.userOptions.legend,l=this.isDirtyLegend,k=this.isDirtyBox,n=this.renderer,q=n.isHidden(),m=[];this.setResponsive&&this.setResponsive(!1);p(this.hasRendered?b:!1,this);q&&this.temporaryDisplay();
+this.layOutTitles();for(b=e.length;b--;){var x=e[b];if(x.options.stacking||x.options.centerInCategory){var t=!0;if(x.isDirty){var v=!0;break}}}if(v)for(b=e.length;b--;)x=e[b],x.options.stacking&&(x.isDirty=!0);e.forEach(function(b){b.isDirty&&("point"===b.options.legendType?("function"===typeof b.updateTotals&&b.updateTotals(),l=!0):f&&(f.labelFormatter||f.labelFormat)&&(l=!0));b.isDirtyData&&w(b,"updatedData")});l&&g&&g.options.enabled&&(g.render(),this.isDirtyLegend=!1);t&&this.getStacks();a.forEach(function(b){b.updateNames();
+b.setScale()});this.getMargins();a.forEach(function(b){b.isDirty&&(k=!0)});a.forEach(function(b){var a=b.min+","+b.max;b.extKey!==a&&(b.extKey=a,m.push(function(){w(b,"afterSetExtremes",C(b.eventArgs,b.getExtremes()));delete b.eventArgs}));(k||t)&&b.redraw()});k&&this.drawChartBox();w(this,"predraw");e.forEach(function(b){(k||b.isDirty)&&b.visible&&b.redraw();b.isDirtyData=!1});c&&c.reset(!0);n.draw();w(this,"redraw");w(this,"render");q&&this.temporaryDisplay(!0);m.forEach(function(b){b.call()})};
+d.prototype.get=function(b){function a(a){return a.id===b||a.options&&a.options.id===b}var e=this.series,c;var g=x(this.axes,a)||x(this.series,a);for(c=0;!g&&c<e.length;c++)g=x(e[c].points||[],a);return g};d.prototype.getAxes=function(){var b=this,a=this.options,e=a.xAxis=Z(a.xAxis||{});a=a.yAxis=Z(a.yAxis||{});w(this,"getAxes");e.forEach(function(b,a){b.index=a;b.isX=!0});a.forEach(function(b,a){b.index=a});e.concat(a).forEach(function(a){new h(b,a)});w(this,"afterGetAxes")};d.prototype.getSelectedPoints=
+function(){var b=[];this.series.forEach(function(a){b=b.concat(a.getPointsCollection().filter(function(b){return S(b.selectedStaging,b.selected)}))});return b};d.prototype.getSelectedSeries=function(){return this.series.filter(function(b){return b.selected})};d.prototype.setTitle=function(b,a,e){this.applyDescription("title",b);this.applyDescription("subtitle",a);this.applyDescription("caption",void 0);this.layOutTitles(e)};d.prototype.applyDescription=function(b,a){var e=this,c="title"===b?{color:I.neutralColor80,
+fontSize:this.options.isStock?"16px":"18px"}:{color:I.neutralColor60};c=this.options[b]=U(!this.styledMode&&{style:c},this.options[b],a);var g=this[b];g&&a&&(this[b]=g=g.destroy());c&&!g&&(g=this.renderer.text(c.text,0,0,c.useHTML).attr({align:c.align,"class":"highcharts-"+b,zIndex:c.zIndex||4}).add(),g.update=function(a){e[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[b]](a)},this.styledMode||g.css(c.style),this[b]=g)};d.prototype.layOutTitles=function(b){var a=[0,0,0],e=this.renderer,
+c=this.spacingBox;["title","subtitle","caption"].forEach(function(b){var g=this[b],f=this.options[b],l=f.verticalAlign||"top";b="title"===b?-3:"top"===l?a[0]+2:0;if(g){if(!this.styledMode)var k=f.style.fontSize;k=e.fontMetrics(k,g).b;g.css({width:(f.width||c.width+(f.widthAdjust||0))+"px"});var n=Math.round(g.getBBox(f.useHTML).height);g.align(C({y:"bottom"===l?k:b+k,height:n},f),!1,"spacingBox");f.floating||("top"===l?a[0]=Math.ceil(a[0]+n):"bottom"===l&&(a[2]=Math.ceil(a[2]+n)))}},this);a[0]&&"top"===
+(this.options.title.verticalAlign||"top")&&(a[0]+=this.options.title.margin);a[2]&&"bottom"===this.options.caption.verticalAlign&&(a[2]+=this.options.caption.margin);var g=!this.titleOffset||this.titleOffset.join(",")!==a.join(",");this.titleOffset=a;w(this,"afterLayOutTitles");!this.isDirtyBox&&g&&(this.isDirtyBox=this.isDirtyLegend=g,this.hasRendered&&S(b,!0)&&this.isDirtyBox&&this.redraw())};d.prototype.getChartSize=function(){var b=this.options.chart,a=b.width;b=b.height;var e=this.renderTo;g(a)||
+(this.containerWidth=q(e,"width"));g(b)||(this.containerHeight=q(e,"height"));this.chartWidth=Math.max(0,a||this.containerWidth||600);this.chartHeight=Math.max(0,ca(b,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))};d.prototype.temporaryDisplay=function(b){var a=this.renderTo;if(b)for(;a&&a.style;)a.hcOrigStyle&&(H(a,a.hcOrigStyle),delete a.hcOrigStyle),a.hcOrigDetached&&(m.body.removeChild(a),a.hcOrigDetached=!1),a=a.parentNode;else for(;a&&a.style;){m.body.contains(a)||a.parentNode||
+(a.hcOrigDetached=!0,m.body.appendChild(a));if("none"===q(a,"display",!1)||a.hcOricDetached)a.hcOrigStyle={display:a.style.display,height:a.style.height,overflow:a.style.overflow},b={display:"block",overflow:"hidden"},a!==this.renderTo&&(b.height=0),H(a,b),a.offsetWidth||a.style.setProperty("display","block","important");a=a.parentNode;if(a===m.body)break}};d.prototype.setClassName=function(b){this.container.className="highcharts-container "+(b||"")};d.prototype.getContainer=function(){var a=this.options,
+e=a.chart;var c=this.renderTo;var g=fa(),f,n;c||(this.renderTo=c=e.renderTo);R(c)&&(this.renderTo=c=m.getElementById(c));c||l(13,!0,this);var q=ba(b(c,"data-highcharts-chart"));V(q)&&k[q]&&k[q].hasRendered&&k[q].destroy();b(c,"data-highcharts-chart",this.index);c.innerHTML="";e.skipClone||c.offsetWidth||this.temporaryDisplay();this.getChartSize();q=this.chartWidth;var x=this.chartHeight;H(c,{overflow:"hidden"});this.styledMode||(f=C({position:"relative",overflow:"hidden",width:q+"px",height:x+"px",
+textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},e.style||{}));this.container=c=P("div",{id:g},f,c);this._cursor=c.style.cursor;this.renderer=new (F[e.renderer]||F.Renderer)(c,q,x,null,e.forExport,a.exporting&&a.exporting.allowHTML,this.styledMode);p(void 0,this);this.setClassName(e.className);if(this.styledMode)for(n in a.defs)this.renderer.definition(a.defs[n]);else this.renderer.setStyle(e.style);
+this.renderer.chartIndex=this.index;w(this,"afterGetContainer")};d.prototype.getMargins=function(b){var a=this.spacing,e=this.margin,c=this.titleOffset;this.resetMargins();c[0]&&!g(e[0])&&(this.plotTop=Math.max(this.plotTop,c[0]+a[0]));c[2]&&!g(e[2])&&(this.marginBottom=Math.max(this.marginBottom,c[2]+a[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(e,a);w(this,"getMargins");b||this.getAxisMargins()};d.prototype.getAxisMargins=function(){var b=this,a=b.axisOffset=[0,0,0,0],e=b.colorAxis,
+c=b.margin,f=function(b){b.forEach(function(b){b.visible&&b.getOffset()})};b.hasCartesianSeries?f(b.axes):e&&e.length&&f(e);Y.forEach(function(e,f){g(c[f])||(b[e]+=a[f])});b.setChartSize()};d.prototype.reflow=function(b){var a=this,e=a.options.chart,f=a.renderTo,l=g(e.width)&&g(e.height),k=e.width||q(f,"width");e=e.height||q(f,"height");f=b?b.target:L;delete a.pointer.chartPosition;if(!l&&!a.isPrinting&&k&&e&&(f===L||f===m)){if(k!==a.containerWidth||e!==a.containerHeight)c.clearTimeout(a.reflowTimeout),
+a.reflowTimeout=ea(function(){a.container&&a.setSize(void 0,void 0,!1)},b?100:0);a.containerWidth=k;a.containerHeight=e}};d.prototype.setReflow=function(b){var a=this;!1===b||this.unbindReflow?!1===b&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=v(L,"resize",function(b){a.options&&a.reflow(b)}),v(this,"destroy",this.unbindReflow))};d.prototype.setSize=function(b,a,e){var c=this,g=c.renderer;c.isResizing+=1;p(e,c);e=g.globalAnimation;c.oldChartHeight=c.chartHeight;
+c.oldChartWidth=c.chartWidth;"undefined"!==typeof b&&(c.options.chart.width=b);"undefined"!==typeof a&&(c.options.chart.height=a);c.getChartSize();c.styledMode||(e?r:H)(c.container,{width:c.chartWidth+"px",height:c.chartHeight+"px"},e);c.setChartSize(!0);g.setSize(c.chartWidth,c.chartHeight,e);c.axes.forEach(function(b){b.isDirty=!0;b.setScale()});c.isDirtyLegend=!0;c.isDirtyBox=!0;c.layOutTitles();c.getMargins();c.redraw(e);c.oldChartHeight=null;w(c,"resize");ea(function(){c&&w(c,"endResize",null,
+function(){--c.isResizing})},y(e).duration)};d.prototype.setChartSize=function(b){var a=this.inverted,e=this.renderer,c=this.chartWidth,g=this.chartHeight,f=this.options.chart,l=this.spacing,k=this.clipOffset,n,q,m,x;this.plotLeft=n=Math.round(this.plotLeft);this.plotTop=q=Math.round(this.plotTop);this.plotWidth=m=Math.max(0,Math.round(c-n-this.marginRight));this.plotHeight=x=Math.max(0,Math.round(g-q-this.marginBottom));this.plotSizeX=a?x:m;this.plotSizeY=a?m:x;this.plotBorderWidth=f.plotBorderWidth||
+0;this.spacingBox=e.spacingBox={x:l[3],y:l[0],width:c-l[3]-l[1],height:g-l[0]-l[2]};this.plotBox=e.plotBox={x:n,y:q,width:m,height:x};g=2*Math.floor(this.plotBorderWidth/2);a=Math.ceil(Math.max(g,k[3])/2);c=Math.ceil(Math.max(g,k[0])/2);this.clipBox={x:a,y:c,width:Math.floor(this.plotSizeX-Math.max(g,k[1])/2-a),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(g,k[2])/2-c))};b||(this.axes.forEach(function(b){b.setAxisSize();b.setAxisTranslation()}),e.alignElements());w(this,"afterSetChartSize",
+{skipAxes:b})};d.prototype.resetMargins=function(){w(this,"resetMargins");var b=this,a=b.options.chart;["margin","spacing"].forEach(function(e){var c=a[e],g=aa(c)?c:[c,c,c,c];["Top","Right","Bottom","Left"].forEach(function(c,f){b[e][f]=S(a[e+c],g[f])})});Y.forEach(function(a,e){b[a]=S(b.margin[e],b.spacing[e])});b.axisOffset=[0,0,0,0];b.clipOffset=[0,0,0,0]};d.prototype.drawChartBox=function(){var b=this.options.chart,a=this.renderer,e=this.chartWidth,c=this.chartHeight,g=this.chartBackground,f=
+this.plotBackground,l=this.plotBorder,k=this.styledMode,n=this.plotBGImage,q=b.backgroundColor,m=b.plotBackgroundColor,x=b.plotBackgroundImage,C,t=this.plotLeft,p=this.plotTop,v=this.plotWidth,d=this.plotHeight,A=this.plotBox,h=this.clipRect,z=this.clipBox,y="animate";g||(this.chartBackground=g=a.rect().addClass("highcharts-background").add(),y="attr");if(k)var r=C=g.strokeWidth();else{r=b.borderWidth||0;C=r+(b.shadow?8:0);q={fill:q||"none"};if(r||g["stroke-width"])q.stroke=b.borderColor,q["stroke-width"]=
+r;g.attr(q).shadow(b.shadow)}g[y]({x:C/2,y:C/2,width:e-C-r%2,height:c-C-r%2,r:b.borderRadius});y="animate";f||(y="attr",this.plotBackground=f=a.rect().addClass("highcharts-plot-background").add());f[y](A);k||(f.attr({fill:m||"none"}).shadow(b.plotShadow),x&&(n?(x!==n.attr("href")&&n.attr("href",x),n.animate(A)):this.plotBGImage=a.image(x,t,p,v,d).add()));h?h.animate({width:z.width,height:z.height}):this.clipRect=a.clipRect(z);y="animate";l||(y="attr",this.plotBorder=l=a.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());
+k||l.attr({stroke:b.plotBorderColor,"stroke-width":b.plotBorderWidth||0,fill:"none"});l[y](l.crisp({x:t,y:p,width:v,height:d},-l.strokeWidth()));this.isDirtyBox=!1;w(this,"afterDrawChartBox")};d.prototype.propFromSeries=function(){var b=this,a=b.options.chart,e,c=b.options.series,g,l;["inverted","angular","polar"].forEach(function(k){e=f[a.type||a.defaultSeriesType];l=a[k]||e&&e.prototype[k];for(g=c&&c.length;!l&&g--;)(e=f[c[g].type])&&e.prototype[k]&&(l=!0);b[k]=l})};d.prototype.linkSeries=function(){var b=
+this,a=b.series;a.forEach(function(b){b.linkedSeries.length=0});a.forEach(function(a){var e=a.options.linkedTo;R(e)&&(e=":previous"===e?b.series[a.index-1]:b.get(e))&&e.linkedParent!==a&&(e.linkedSeries.push(a),a.linkedParent=e,e.enabledDataSorting&&a.setDataSortingOptions(),a.visible=S(a.options.visible,e.options.visible,a.visible))});w(this,"afterLinkSeries")};d.prototype.renderSeries=function(){this.series.forEach(function(b){b.translate();b.render()})};d.prototype.renderLabels=function(){var b=
+this,a=b.options.labels;a.items&&a.items.forEach(function(e){var c=C(a.style,e.style),g=ba(c.left)+b.plotLeft,f=ba(c.top)+b.plotTop+12;delete c.left;delete c.top;b.renderer.text(e.html,g,f).attr({zIndex:2}).css(c).add()})};d.prototype.render=function(){var b=this.axes,a=this.colorAxis,e=this.renderer,c=this.options,g=0,f=function(b){b.forEach(function(b){b.visible&&b.render()})};this.setTitle();this.legend=new J(this,c.legend);this.getStacks&&this.getStacks();this.getMargins(!0);this.setChartSize();
+c=this.plotWidth;b.some(function(b){if(b.horiz&&b.visible&&b.options.labels.enabled&&b.series.length)return g=21,!0});var l=this.plotHeight=Math.max(this.plotHeight-g,0);b.forEach(function(b){b.setScale()});this.getAxisMargins();var k=1.1<c/this.plotWidth;var n=1.05<l/this.plotHeight;if(k||n)b.forEach(function(b){(b.horiz&&k||!b.horiz&&n)&&b.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries?f(b):a&&a.length&&f(a);this.seriesGroup||(this.seriesGroup=e.g("series-group").attr({zIndex:3}).add());
+this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0};d.prototype.addCredits=function(b){var a=this,e=U(!0,this.options.credits,b);e.enabled&&!this.credits&&(this.credits=this.renderer.text(e.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){e.href&&(L.location.href=e.href)}).attr({align:e.position.align,zIndex:8}),a.styledMode||this.credits.css(e.style),this.credits.add().align(e.position),this.credits.update=
+function(b){a.credits=a.credits.destroy();a.addCredits(b)})};d.prototype.destroy=function(){var b=this,a=b.axes,c=b.series,g=b.container,f,l=g&&g.parentNode;w(b,"destroy");b.renderer.forExport?e(k,b):k[b.index]=void 0;F.chartCount--;b.renderTo.removeAttribute("data-highcharts-chart");da(b);for(f=a.length;f--;)a[f]=a[f].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(f=c.length;f--;)c[f]=c[f].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(a){var e=
+b[a];e&&e.destroy&&(b[a]=e.destroy())});g&&(g.innerHTML="",da(g),l&&n(g));W(b,function(a,e){delete b[e]})};d.prototype.firstRender=function(){var b=this,a=b.options;if(!b.isReadyToRender||b.isReadyToRender()){b.getContainer();b.resetMargins();b.setChartSize();b.propFromSeries();b.getAxes();(z(a.series)?a.series:[]).forEach(function(a){b.initSeries(a)});b.linkSeries();b.setSeriesData();w(b,"beforeRender");D&&(b.pointer=F.hasTouch||!L.PointerEvent&&!L.MSPointerEvent?new D(b,a):new M(b,a));b.render();
+b.pointer.getChartPosition();if(!b.renderer.imgCount&&!b.hasLoaded)b.onload();b.temporaryDisplay(!0)}};d.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(b){b&&"undefined"!==typeof this.index&&b.apply(this,[this])},this);w(this,"load");w(this,"render");g(this.index)&&this.setReflow(this.options.chart.reflow);this.hasLoaded=!0};d.prototype.addSeries=function(b,a,e){var c,g=this;b&&(a=S(a,!0),w(g,"addSeries",{options:b},function(){c=g.initSeries(b);g.isDirtyLegend=
+!0;g.linkSeries();c.enabledDataSorting&&c.setData(b.data,!1);w(g,"afterAddSeries",{series:c});a&&g.redraw(e)}));return c};d.prototype.addAxis=function(b,a,e,c){return this.createAxis(a?"xAxis":"yAxis",{axis:b,redraw:e,animation:c})};d.prototype.addColorAxis=function(b,a,e){return this.createAxis("colorAxis",{axis:b,redraw:a,animation:e})};d.prototype.createAxis=function(b,a){var e="colorAxis"===b,c=a.redraw,g=a.animation;b=U(a.axis,{index:this[b].length,isX:"xAxis"===b});b=e?new F.ColorAxis(this,
+b):new h(this,b);e&&(this.isDirtyLegend=!0,this.axes.forEach(function(b){b.series=[]}),this.series.forEach(function(b){b.bindAxes();b.isDirtyData=!0}));S(c,!0)&&this.redraw(g);return b};d.prototype.showLoading=function(b){var e=this,c=e.options,g=e.loadingDiv,f=e.loadingSpan,l=c.loading,k=function(){g&&H(g,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})};g||(e.loadingDiv=g=P("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container));
+f||(e.loadingSpan=f=P("span",{className:"highcharts-loading-inner"},null,g),v(e,"redraw",k));g.className="highcharts-loading";a.setElementHTML(f,S(b,c.lang.loading,""));e.styledMode||(H(g,C(l.style,{zIndex:10})),H(f,l.labelStyle),e.loadingShown||(H(g,{opacity:0,display:""}),r(g,{opacity:l.style.opacity||.5},{duration:l.showDuration||0})));e.loadingShown=!0;k()};d.prototype.hideLoading=function(){var b=this.options,a=this.loadingDiv;a&&(a.className="highcharts-loading highcharts-loading-hidden",this.styledMode||
+r(a,{opacity:0},{duration:b.loading.hideDuration||100,complete:function(){H(a,{display:"none"})}}));this.loadingShown=!1};d.prototype.update=function(b,a,e,c){var f=this,l={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},k,n,q,m=b.isResponsiveOptions,x=[];w(f,"update",{options:b});m||f.setResponsive(!1,!0);b=E(b,f.options);f.userOptions=U(f.userOptions,b);if(k=b.chart){U(!0,f.options.chart,k);"className"in k&&f.setClassName(k.className);"reflow"in k&&f.setReflow(k.reflow);
+if("inverted"in k||"polar"in k||"type"in k){f.propFromSeries();var C=!0}"alignTicks"in k&&(C=!0);W(k,function(b,a){-1!==f.propsRequireUpdateSeries.indexOf("chart."+a)&&(n=!0);-1!==f.propsRequireDirtyBox.indexOf(a)&&(f.isDirtyBox=!0);-1!==f.propsRequireReflow.indexOf(a)&&(m?f.isDirtyBox=!0:q=!0)});!f.styledMode&&"style"in k&&f.renderer.setStyle(k.style)}!f.styledMode&&b.colors&&(this.options.colors=b.colors);b.time&&(this.time===t&&(this.time=new u(b.time)),U(!0,f.options.time,b.time));W(b,function(a,
+e){if(f[e]&&"function"===typeof f[e].update)f[e].update(a,!1);else if("function"===typeof f[l[e]])f[l[e]](a);else"colors"!==e&&-1===f.collectionsWithUpdate.indexOf(e)&&U(!0,f.options[e],b[e]);"chart"!==e&&-1!==f.propsRequireUpdateSeries.indexOf(e)&&(n=!0)});this.collectionsWithUpdate.forEach(function(a){if(b[a]){var c=[];f[a].forEach(function(b,a){b.options.isInternal||c.push(S(b.options.index,a))});Z(b[a]).forEach(function(b,l){var k=g(b.id),n;k&&(n=f.get(b.id));!n&&f[a]&&(n=f[a][c?c[l]:l])&&k&&
+g(n.options.id)&&(n=void 0);n&&n.coll===a&&(n.update(b,!1),e&&(n.touched=!0));!n&&e&&f.collectionsWithInit[a]&&(f.collectionsWithInit[a][0].apply(f,[b].concat(f.collectionsWithInit[a][1]||[]).concat([!1])).touched=!0)});e&&f[a].forEach(function(b){b.touched||b.options.isInternal?delete b.touched:x.push(b)})}});x.forEach(function(b){b.chart&&b.remove(!1)});C&&f.axes.forEach(function(b){b.update({},!1)});n&&f.getSeriesOrderByLinks().forEach(function(b){b.chart&&b.update({},!1)},this);C=k&&k.width;k=
+k&&k.height;R(k)&&(k=ca(k,C||f.chartWidth));q||V(C)&&C!==f.chartWidth||V(k)&&k!==f.chartHeight?f.setSize(C,k,c):S(a,!0)&&f.redraw(c);w(f,"afterUpdate",{options:b,redraw:a,animation:c})};d.prototype.setSubtitle=function(b,a){this.applyDescription("subtitle",b);this.layOutTitles(a)};d.prototype.setCaption=function(b,a){this.applyDescription("caption",b);this.layOutTitles(a)};d.prototype.showResetZoom=function(){function b(){a.zoomOut()}var a=this,e=A.lang,c=a.options.chart.resetZoomButton,g=c.theme,
+f=g.states,l="chart"===c.relativeTo||"spacingBox"===c.relativeTo?null:"scrollablePlotBox";w(this,"beforeShowResetZoom",null,function(){a.resetZoomButton=a.renderer.button(e.resetZoom,null,null,b,g,f&&f.hover).attr({align:c.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(c.position,!1,l)});w(this,"afterShowResetZoom")};d.prototype.zoomOut=function(){w(this,"selection",{resetSelection:!0},this.zoom)};d.prototype.zoom=function(b){var a=this,e,c=a.pointer,f=!1,l=
+a.inverted?c.mouseDownX:c.mouseDownY;!b||b.resetSelection?(a.axes.forEach(function(b){e=b.zoom()}),c.initiated=!1):b.xAxis.concat(b.yAxis).forEach(function(b){var k=b.axis,n=a.inverted?k.left:k.top,q=a.inverted?n+k.width:n+k.height,m=k.isXAxis,x=!1;if(!m&&l>=n&&l<=q||m||!g(l))x=!0;c[m?"zoomX":"zoomY"]&&x&&(e=k.zoom(b.min,b.max),k.displayBtn&&(f=!0))});var k=a.resetZoomButton;f&&!k?a.showResetZoom():!f&&aa(k)&&(a.resetZoomButton=k.destroy());e&&a.redraw(S(a.options.chart.animation,b&&b.animation,100>
+a.pointCount))};d.prototype.pan=function(b,a){var e=this,c=e.hoverPoints,g=e.options.chart,f=e.options.mapNavigation&&e.options.mapNavigation.enabled,l;a="object"===typeof a?a:{enabled:a,type:"x"};g&&g.panning&&(g.panning=a);var k=a.type;w(this,"pan",{originalEvent:b},function(){c&&c.forEach(function(b){b.setState()});var a=[1];"xy"===k?a=[1,0]:"y"===k&&(a=[0]);a.forEach(function(a){var c=e[a?"xAxis":"yAxis"][0],g=c.horiz,n=b[g?"chartX":"chartY"];g=g?"mouseDownX":"mouseDownY";var q=e[g],m=(c.pointRange||
+0)/2,x=c.reversed&&!e.inverted||!c.reversed&&e.inverted?-1:1,C=c.getExtremes(),w=c.toValue(q-n,!0)+m*x;x=c.toValue(q+c.len-n,!0)-m*x;var t=x<w;q=t?x:w;w=t?w:x;x=c.hasVerticalPanning();var p=c.panningState;!x||a||p&&!p.isDirty||c.series.forEach(function(b){var a=b.getProcessedData(!0);a=b.getExtremes(a.yData,!0);p||(p={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});V(a.dataMin)&&V(a.dataMax)&&(p.startMin=Math.min(S(b.options.threshold,Infinity),a.dataMin,p.startMin),p.startMax=Math.max(S(b.options.threshold,
+-Infinity),a.dataMax,p.startMax))});a=Math.min(S(p&&p.startMin,C.dataMin),m?C.min:c.toValue(c.toPixels(C.min)-c.minPixelPadding));m=Math.max(S(p&&p.startMax,C.dataMax),m?C.max:c.toValue(c.toPixels(C.max)+c.minPixelPadding));c.panningState=p;c.isOrdinal||(x=a-q,0<x&&(w+=x,q=a),x=w-m,0<x&&(w=m,q-=x),c.series.length&&q!==C.min&&w!==C.max&&q>=a&&w<=m&&(c.setExtremes(q,w,!1,!1,{trigger:"pan"}),e.resetZoomButton||f||q===a||w===m||!k.match("y")||(e.showResetZoom(),c.displayBtn=!1),l=!0),e[g]=n)});l&&e.redraw(!1);
+H(e.container,{cursor:"move"})})};return d}();C(X.prototype,{callbacks:[],collectionsWithInit:{xAxis:[X.prototype.addAxis,[!0]],yAxis:[X.prototype.addAxis,[!1]],series:[X.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),
+propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});F.chart=function(b,a,e){return new X(b,a,e)};F.Chart=X;"";return X});Q(d,"Mixins/LegendSymbol.js",[d["Core/Globals.js"],d["Core/Utilities.js"]],function(d,h){var N=h.merge,F=h.pick;return d.LegendSymbolMixin={drawRectangle:function(d,h){var G=d.symbolHeight,I=d.options.squareSymbol;h.legendSymbol=this.chart.renderer.rect(I?(d.symbolWidth-G)/2:0,d.baseline-G+1,I?G:
+d.symbolWidth,G,F(d.options.symbolRadius,G/2)).addClass("highcharts-point").attr({zIndex:3}).add(h.legendGroup)},drawLineMarker:function(d){var h=this.options,G=h.marker,I=d.symbolWidth,D=d.symbolHeight,B=D/2,u=this.chart.renderer,c=this.legendGroup;d=d.baseline-Math.round(.3*d.fontMetrics.b);var a={};this.chart.styledMode||(a={"stroke-width":h.lineWidth||0},h.dashStyle&&(a.dashstyle=h.dashStyle));this.legendLine=u.path([["M",0,d],["L",I,d]]).addClass("highcharts-graph").attr(a).add(c);G&&!1!==G.enabled&&
+I&&(h=Math.min(F(G.radius,B),B),0===this.symbol.indexOf("url")&&(G=N(G,{width:D,height:D}),h=0),this.legendSymbol=G=u.symbol(this.symbol,I/2-h,d-h,2*h,2*h,G).addClass("highcharts-point").add(c),G.isMarker=!0)}}});Q(d,"Core/Series/Series.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/Globals.js"],d["Mixins/LegendSymbol.js"],d["Core/Options.js"],d["Core/Color/Palette.js"],d["Core/Series/Point.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Renderer/SVG/SVGElement.js"],d["Core/Utilities.js"]],
+function(d,h,K,F,J,M,G,I,D){var B=d.animObject,u=d.setAnimation,c=h.hasTouch,a=h.svg,r=h.win,y=F.defaultOptions,p=G.seriesTypes,O=D.addEvent,k=D.arrayMax,m=D.arrayMin,L=D.clamp,A=D.cleanRecursively,t=D.correctFloat,f=D.defined,v=D.erase,b=D.error,E=D.extend,P=D.find,H=D.fireEvent,g=D.getNestedProperty,n=D.isArray,e=D.isFunction,l=D.isNumber,C=D.isString,x=D.merge,w=D.objectEach,q=D.pick,z=D.removeEvent,N=D.splat,V=D.syncTimeout;d=function(){function d(){this.zones=this.yAxis=this.xAxis=this.userOptions=
+this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}d.prototype.init=function(b,a){H(this,"init",{options:a});var c=this,g=b.series,f;this.eventOptions=this.eventOptions||{};this.eventsToUnbind=[];c.chart=b;c.options=c.setOptions(a);var l=c.options;c.linkedSeries=[];c.bindAxes();E(c,{name:l.name,state:"",visible:!1!==l.visible,selected:!0===l.selected});a=l.events;
+w(a,function(b,a){e(b)&&c.eventOptions[a]!==b&&(e(c.eventOptions[a])&&z(c,a,c.eventOptions[a]),c.eventOptions[a]=b,O(c,a,b))});if(a&&a.click||l.point&&l.point.events&&l.point.events.click||l.allowPointSelect)b.runTrackerClick=!0;c.getColor();c.getSymbol();c.parallelArrays.forEach(function(b){c[b+"Data"]||(c[b+"Data"]=[])});c.isCartesian&&(b.hasCartesianSeries=!0);g.length&&(f=g[g.length-1]);c._i=q(f&&f._i,-1)+1;c.opacity=c.options.opacity;b.orderSeries(this.insert(g));l.dataSorting&&l.dataSorting.enabled?
+c.setDataSortingOptions():c.points||c.data||c.setData(l.data,!1);H(this,"afterInit")};d.prototype.is=function(b){return p[b]&&this instanceof p[b]};d.prototype.insert=function(b){var a=this.options.index,e;if(l(a)){for(e=b.length;e--;)if(a>=q(b[e].options.index,b[e]._i)){b.splice(e+1,0,this);break}-1===e&&b.unshift(this);e+=1}else b.push(this);return q(e,b.length-1)};d.prototype.bindAxes=function(){var a=this,e=a.options,c=a.chart,g;H(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(f){var l=
+0;c[f].forEach(function(b){g=b.options;if(e[f]===l&&!g.isInternal||"undefined"!==typeof e[f]&&e[f]===g.id||"undefined"===typeof e[f]&&0===g.index)a.insert(b.series),a[f]=b,b.isDirty=!0;g.isInternal||l++});a[f]||a.optionalAxis===f||b(18,!0,c)})});H(this,"afterBindAxes")};d.prototype.updateParallelArrays=function(b,a){var e=b.series,c=arguments,g=l(a)?function(c){var g="y"===c&&e.toYData?e.toYData(b):b[c];e[c+"Data"][a]=g}:function(b){Array.prototype[a].apply(e[b+"Data"],Array.prototype.slice.call(c,
+2))};e.parallelArrays.forEach(g)};d.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length};d.prototype.autoIncrement=function(){var b=this.options,a=this.xIncrement,e,c=b.pointIntervalUnit,g=this.chart.time;a=q(a,b.pointStart,0);this.pointInterval=e=q(this.pointInterval,b.pointInterval,1);c&&(b=new g.Date(a),"day"===c?g.set("Date",b,g.get("Date",b)+e):"month"===c?g.set("Month",b,g.get("Month",
+b)+e):"year"===c&&g.set("FullYear",b,g.get("FullYear",b)+e),e=b.getTime()-a);this.xIncrement=a+e;return a};d.prototype.setDataSortingOptions=function(){var b=this.options;E(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});f(b.pointRange)||(b.pointRange=1)};d.prototype.setOptions=function(b){var a=this.chart,e=a.options,c=e.plotOptions,g=a.userOptions||{};b=x(b);a=a.styledMode;var l={plotOptions:c,userOptions:b};H(this,"setOptions",l);var k=l.plotOptions[this.type],n=g.plotOptions||
+{};this.userOptions=l.userOptions;g=x(k,c.series,g.plotOptions&&g.plotOptions[this.type],b);this.tooltipOptions=x(y.tooltip,y.plotOptions.series&&y.plotOptions.series.tooltip,y.plotOptions[this.type].tooltip,e.tooltip.userOptions,c.series&&c.series.tooltip,c[this.type].tooltip,b.tooltip);this.stickyTracking=q(b.stickyTracking,n[this.type]&&n[this.type].stickyTracking,n.series&&n.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:g.stickyTracking);null===k.marker&&delete g.marker;
+this.zoneAxis=g.zoneAxis;e=this.zones=(g.zones||[]).slice();!g.negativeColor&&!g.negativeFillColor||g.zones||(c={value:g[this.zoneAxis+"Threshold"]||g.threshold||0,className:"highcharts-negative"},a||(c.color=g.negativeColor,c.fillColor=g.negativeFillColor),e.push(c));e.length&&f(e[e.length-1].value)&&e.push(a?{}:{color:this.color,fillColor:this.fillColor});H(this,"afterSetOptions",{options:g});return g};d.prototype.getName=function(){return q(this.options.name,"Series "+(this.index+1))};d.prototype.getCyclic=
+function(b,a,e){var c=this.chart,g=this.userOptions,l=b+"Index",k=b+"Counter",n=e?e.length:q(c.options.chart[b+"Count"],c[b+"Count"]);if(!a){var m=q(g[l],g["_"+l]);f(m)||(c.series.length||(c[k]=0),g["_"+l]=m=c[k]%n,c[k]+=1);e&&(a=e[m])}"undefined"!==typeof m&&(this[l]=m);this[b]=a};d.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color=J.neutralColor20:this.getCyclic("color",this.options.color||y.plotOptions[this.type].color,this.chart.options.colors)};
+d.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]};d.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};d.prototype.findPointIndex=function(b,a){var e=b.id,c=b.x,g=this.points,f,k=this.options.dataSorting;if(e)var n=this.chart.get(e);else if(this.linkedParent||this.enabledDataSorting){var q=k&&k.matchByName?"name":"index";n=P(g,function(a){return!a.touched&&a[q]===b[q]});if(!n)return}if(n){var m=
+n&&n.index;"undefined"!==typeof m&&(f=!0)}"undefined"===typeof m&&l(c)&&(m=this.xData.indexOf(c,a));-1!==m&&"undefined"!==typeof m&&this.cropped&&(m=m>=this.cropStart?m-this.cropStart:m);!f&&g[m]&&g[m].touched&&(m=void 0);return m};d.prototype.updateData=function(b,a){var e=this.options,c=e.dataSorting,g=this.points,n=[],q,m,x,C=this.requireSorting,d=b.length===g.length,w=!0;this.xIncrement=null;b.forEach(function(b,a){var k=f(b)&&this.pointClass.prototype.optionsToObject.call({series:this},b)||{};
+var m=k.x;if(k.id||l(m)){if(m=this.findPointIndex(k,x),-1===m||"undefined"===typeof m?n.push(b):g[m]&&b!==e.data[m]?(g[m].update(b,!1,null,!1),g[m].touched=!0,C&&(x=m+1)):g[m]&&(g[m].touched=!0),!d||a!==m||c&&c.enabled||this.hasDerivedData)q=!0}else n.push(b)},this);if(q)for(b=g.length;b--;)(m=g[b])&&!m.touched&&m.remove&&m.remove(!1,a);else!d||c&&c.enabled?w=!1:(b.forEach(function(b,a){g[a].update&&b!==g[a].y&&g[a].update(b,!1,null,!1)}),n.length=0);g.forEach(function(b){b&&(b.touched=!1)});if(!w)return!1;
+n.forEach(function(b){this.addPoint(b,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=k(this.xData),this.autoIncrement());return!0};d.prototype.setData=function(a,e,c,g){var f=this,k=f.points,m=k&&k.length||0,x,d=f.options,w=f.chart,t=d.dataSorting,p=null,v=f.xAxis;p=d.turboThreshold;var h=this.xData,A=this.yData,z=(x=f.pointArrayMap)&&x.length,y=d.keys,r=0,u=1,E;a=a||[];x=a.length;e=q(e,!0);t&&t.enabled&&(a=this.sortData(a));!1!==g&&x&&m&&!f.cropped&&
+!f.hasGroupedData&&f.visible&&!f.isSeriesBoosting&&(E=this.updateData(a,c));if(!E){f.xIncrement=null;f.colorCounter=0;this.parallelArrays.forEach(function(b){f[b+"Data"].length=0});if(p&&x>p)if(p=f.getFirstValidPoint(a),l(p))for(c=0;c<x;c++)h[c]=this.autoIncrement(),A[c]=a[c];else if(n(p))if(z)for(c=0;c<x;c++)g=a[c],h[c]=g[0],A[c]=g.slice(1,z+1);else for(y&&(r=y.indexOf("x"),u=y.indexOf("y"),r=0<=r?r:0,u=0<=u?u:1),c=0;c<x;c++)g=a[c],h[c]=g[r],A[c]=g[u];else b(12,!1,w);else for(c=0;c<x;c++)"undefined"!==
+typeof a[c]&&(g={series:f},f.pointClass.prototype.applyOptions.apply(g,[a[c]]),f.updateParallelArrays(g,c));A&&C(A[0])&&b(14,!0,w);f.data=[];f.options.data=f.userOptions.data=a;for(c=m;c--;)k[c]&&k[c].destroy&&k[c].destroy();v&&(v.minRange=v.userMinRange);f.isDirty=w.isDirtyBox=!0;f.isDirtyData=!!k;c=!1}"point"===d.legendType&&(this.processData(),this.generatePoints());e&&w.redraw(c)};d.prototype.sortData=function(b){var a=this,e=a.options.dataSorting.sortKey||"y",c=function(b,a){return f(a)&&b.pointClass.prototype.optionsToObject.call({series:b},
+a)||{}};b.forEach(function(e,g){b[g]=c(a,e);b[g].index=g},this);b.concat().sort(function(b,a){b=g(e,b);a=g(e,a);return a<b?-1:a>b?1:0}).forEach(function(b,a){b.x=a},this);a.linkedSeries&&a.linkedSeries.forEach(function(a){var e=a.options,g=e.data;e.dataSorting&&e.dataSorting.enabled||!g||(g.forEach(function(e,f){g[f]=c(a,e);b[f]&&(g[f].x=b[f].x,g[f].index=f)}),a.setData(g,!1))});return b};d.prototype.getProcessedData=function(a){var e=this.xData,c=this.yData,g=e.length;var f=0;var l=this.xAxis,k=
+this.options;var n=k.cropThreshold;var q=a||this.getExtremesFromAll||k.getExtremesFromAll,m=this.isCartesian;a=l&&l.val2lin;k=!(!l||!l.logarithmic);var x=this.requireSorting;if(l){l=l.getExtremes();var C=l.min;var d=l.max}if(m&&this.sorted&&!q&&(!n||g>n||this.forceCrop))if(e[g-1]<C||e[0]>d)e=[],c=[];else if(this.yData&&(e[0]<C||e[g-1]>d)){f=this.cropData(this.xData,this.yData,C,d);e=f.xData;c=f.yData;f=f.start;var w=!0}for(n=e.length||1;--n;)if(g=k?a(e[n])-a(e[n-1]):e[n]-e[n-1],0<g&&("undefined"===
+typeof t||g<t))var t=g;else 0>g&&x&&(b(15,!1,this.chart),x=!1);return{xData:e,yData:c,cropped:w,cropStart:f,closestPointRange:t}};d.prototype.processData=function(b){var a=this.xAxis;if(this.isCartesian&&!this.isDirty&&!a.isDirty&&!this.yAxis.isDirty&&!b)return!1;b=this.getProcessedData();this.cropped=b.cropped;this.cropStart=b.cropStart;this.processedXData=b.xData;this.processedYData=b.yData;this.closestPointRange=this.basePointRange=b.closestPointRange};d.prototype.cropData=function(b,a,e,c,g){var f=
+b.length,l=0,k=f,n;g=q(g,this.cropShoulder);for(n=0;n<f;n++)if(b[n]>=e){l=Math.max(0,n-g);break}for(e=n;e<f;e++)if(b[e]>c){k=e+g;break}return{xData:b.slice(l,k),yData:a.slice(l,k),start:l,end:k}};d.prototype.generatePoints=function(){var b=this.options,a=b.data,e=this.data,c,g=this.processedXData,f=this.processedYData,l=this.pointClass,k=g.length,n=this.cropStart||0,q=this.hasGroupedData,m=b.keys,x=[],C;b=b.dataGrouping&&b.dataGrouping.groupAll?n:0;e||q||(e=[],e.length=a.length,e=this.data=e);m&&
+q&&(this.options.keys=!1);for(C=0;C<k;C++){var d=n+C;if(q){var w=(new l).init(this,[g[C]].concat(N(f[C])));w.dataGroup=this.groupMap[b+C];w.dataGroup.options&&(w.options=w.dataGroup.options,E(w,w.dataGroup.options),delete w.dataLabels)}else(w=e[d])||"undefined"===typeof a[d]||(e[d]=w=(new l).init(this,a[d],g[C]));w&&(w.index=q?b+C:d,x[C]=w)}this.options.keys=m;if(e&&(k!==(c=e.length)||q))for(C=0;C<c;C++)C!==n||q||(C+=k),e[C]&&(e[C].destroyElements(),e[C].plotX=void 0);this.data=e;this.points=x;H(this,
+"afterGeneratePoints")};d.prototype.getXExtremes=function(b){return{min:m(b),max:k(b)}};d.prototype.getExtremes=function(b,a){var e=this.xAxis,c=this.yAxis,g=this.processedXData||this.xData,f=[],q=0,x=0;var C=0;var d=this.requireSorting?this.cropShoulder:0,w=c?c.positiveValuesOnly:!1,t;b=b||this.stackedYData||this.processedYData||[];c=b.length;e&&(C=e.getExtremes(),x=C.min,C=C.max);for(t=0;t<c;t++){var p=g[t];var v=b[t];var h=(l(v)||n(v))&&(v.length||0<v||!w);p=a||this.getExtremesFromAll||this.options.getExtremesFromAll||
+this.cropped||!e||(g[t+d]||p)>=x&&(g[t-d]||p)<=C;if(h&&p)if(h=v.length)for(;h--;)l(v[h])&&(f[q++]=v[h]);else f[q++]=v}b={dataMin:m(f),dataMax:k(f)};H(this,"afterGetExtremes",{dataExtremes:b});return b};d.prototype.applyExtremes=function(){var b=this.getExtremes();this.dataMin=b.dataMin;this.dataMax=b.dataMax;return b};d.prototype.getFirstValidPoint=function(b){for(var a=null,e=b.length,c=0;null===a&&c<e;)a=b[c],c++;return a};d.prototype.translate=function(){this.processedXData||this.processData();
+this.generatePoints();var b=this.options,a=b.stacking,e=this.xAxis,c=e.categories,g=this.enabledDataSorting,k=this.yAxis,m=this.points,x=m.length,C=!!this.modifyValue,d,w=this.pointPlacementToXValue(),p=!!w,v=b.threshold,h=b.startFromThreshold?v:0,A,z=this.zoneAxis||"y",y=Number.MAX_VALUE;for(d=0;d<x;d++){var r=m[d],u=r.x,E=r.y,B=r.low,D=a&&k.stacking&&k.stacking.stacks[(this.negStacks&&E<(h?0:v)?"-":"")+this.stackKey],O=void 0,P=void 0;if(k.positiveValuesOnly&&!k.validatePositiveValue(E)||e.positiveValuesOnly&&
+!e.validatePositiveValue(u))r.isNull=!0;r.plotX=A=t(L(e.translate(u,0,0,0,1,w,"flags"===this.type),-1E5,1E5));if(a&&this.visible&&D&&D[u]){var I=this.getStackIndicator(I,u,this.index);r.isNull||(O=D[u],P=O.points[I.key])}n(P)&&(B=P[0],E=P[1],B===h&&I.key===D[u].base&&(B=q(l(v)&&v,k.min)),k.positiveValuesOnly&&0>=B&&(B=null),r.total=r.stackTotal=O.total,r.percentage=O.total&&r.y/O.total*100,r.stackY=E,this.irregularWidths||O.setOffset(this.pointXOffset||0,this.barW||0));r.yBottom=f(B)?L(k.translate(B,
+0,1,0,1),-1E5,1E5):null;C&&(E=this.modifyValue(E,r));r.plotY=void 0;l(E)&&(E=k.translate(E,!1,!0,!1,!0),"undefined"!==typeof E&&(r.plotY=L(E,-1E5,1E5)));r.isInside=this.isPointInside(r);r.clientX=p?t(e.translate(u,0,0,0,1,w)):A;r.negative=r[z]<(b[z+"Threshold"]||v||0);r.category=c&&"undefined"!==typeof c[r.x]?c[r.x]:r.x;if(!r.isNull&&!1!==r.visible){"undefined"!==typeof G&&(y=Math.min(y,Math.abs(A-G)));var G=A}r.zone=this.zones.length&&r.getZone();!r.graphic&&this.group&&g&&(r.isNew=!0)}this.closestPointRangePx=
+y;H(this,"afterTranslate")};d.prototype.getValidPoints=function(b,a,e){var c=this.chart;return(b||this.points||[]).filter(function(b){return a&&!c.isInsidePlot(b.plotX,b.plotY,{inverted:c.inverted})?!1:!1!==b.visible&&(e||!b.isNull)})};d.prototype.getClipBox=function(b,a){var e=this.options,c=this.chart,g=c.inverted,f=this.xAxis,l=f&&this.yAxis,k=c.options.chart.scrollablePlotArea||{};b&&!1===e.clip&&l?b=g?{y:-c.chartWidth+l.len+l.pos,height:c.chartWidth,width:c.chartHeight,x:-c.chartHeight+f.len+
+f.pos}:{y:-l.pos,height:c.chartHeight,width:c.chartWidth,x:-f.pos}:(b=this.clipBox||c.clipBox,a&&(b.width=c.plotSizeX,b.x=(c.scrollablePixelsX||0)*(k.scrollPositionX||0)));return a?{width:b.width,x:b.x}:b};d.prototype.getSharedClipKey=function(b){if(this.sharedClipKey)return this.sharedClipKey;var a=[b&&b.duration,b&&b.easing,b&&b.defer,this.getClipBox(b).height,this.options.xAxis,this.options.yAxis].join();if(!1!==this.options.clip||b)this.sharedClipKey=a;return a};d.prototype.setClip=function(b){var a=
+this.chart,e=this.options,c=a.renderer,g=a.inverted,f=this.clipBox,l=this.getClipBox(b),k=this.getSharedClipKey(b),n=a.sharedClips[k],q=a.sharedClips[k+"m"];b&&(l.width=0,g&&(l.x=a.plotHeight+(!1!==e.clip?0:a.plotTop)));n?a.hasLoaded||n.attr(l):(b&&(a.sharedClips[k+"m"]=q=c.clipRect(g?(a.plotSizeX||0)+99:-99,g?-a.plotLeft:-a.plotTop,99,g?a.chartWidth:a.chartHeight)),a.sharedClips[k]=n=c.clipRect(l),n.count={length:0});b&&!n.count[this.index]&&(n.count[this.index]=!0,n.count.length+=1);if(!1!==e.clip||
+b)this.group.clip(b||f?n:a.clipRect),this.markerGroup.clip(q);b||(n.count[this.index]&&(delete n.count[this.index],--n.count.length),0===n.count.length&&(f||(a.sharedClips[k]=n.destroy()),q&&(a.sharedClips[k+"m"]=q.destroy())))};d.prototype.animate=function(b){var a=this.chart,e=B(this.options.animation),c=this.sharedClipKey;if(b)this.setClip(e);else if(c){b=a.sharedClips[c];c=a.sharedClips[c+"m"];var g=this.getClipBox(e,!0);b&&b.animate(g,e);c&&c.animate({width:g.width+99,x:g.x-(a.inverted?0:99)},
+e)}};d.prototype.afterAnimate=function(){this.setClip();H(this,"afterAnimate");this.finishedAnimating=!0};d.prototype.drawPoints=function(){var b=this.points,a=this.chart,e,c,g=this.options.marker,f=this[this.specialGroup]||this.markerGroup,l=this.xAxis,k=q(g.enabled,!l||l.isRadial?!0:null,this.closestPointRangePx>=g.enabledThreshold*g.radius);if(!1!==g.enabled||this._hasPointMarkers)for(e=0;e<b.length;e++){var n=b[e];var m=(c=n.graphic)?"animate":"attr";var x=n.marker||{};var C=!!n.marker;if((k&&
+"undefined"===typeof x.enabled||x.enabled)&&!n.isNull&&!1!==n.visible){var d=q(x.symbol,this.symbol);var w=this.markerAttribs(n,n.selected&&"select");this.enabledDataSorting&&(n.startXPos=l.reversed?-(w.width||0):l.width);var t=!1!==n.isInside;c?c[t?"show":"hide"](t).animate(w):t&&(0<(w.width||0)||n.hasImage)&&(n.graphic=c=a.renderer.symbol(d,w.x,w.y,w.width,w.height,C?x:g).add(f),this.enabledDataSorting&&a.hasRendered&&(c.attr({x:n.startXPos}),m="animate"));c&&"animate"===m&&c[t?"show":"hide"](t).animate(w);
+if(c&&!a.styledMode)c[m](this.pointAttribs(n,n.selected&&"select"));c&&c.addClass(n.getClassName(),!0)}else c&&(n.graphic=c.destroy())}};d.prototype.markerAttribs=function(b,a){var e=this.options,c=e.marker,g=b.marker||{},f=g.symbol||c.symbol,l=q(g.radius,c.radius);a&&(c=c.states[a],a=g.states&&g.states[a],l=q(a&&a.radius,c&&c.radius,l+(c&&c.radiusPlus||0)));b.hasImage=f&&0===f.indexOf("url");b.hasImage&&(l=0);b={x:e.crisp?Math.floor(b.plotX-l):b.plotX-l,y:b.plotY-l};l&&(b.width=b.height=2*l);return b};
+d.prototype.pointAttribs=function(b,a){var e=this.options.marker,c=b&&b.options,g=c&&c.marker||{},f=this.color,l=c&&c.color,k=b&&b.color;c=q(g.lineWidth,e.lineWidth);var n=b&&b.zone&&b.zone.color;b=1;f=l||n||k||f;l=g.fillColor||e.fillColor||f;f=g.lineColor||e.lineColor||f;a=a||"normal";e=e.states[a];a=g.states&&g.states[a]||{};c=q(a.lineWidth,e.lineWidth,c+q(a.lineWidthPlus,e.lineWidthPlus,0));l=a.fillColor||e.fillColor||l;f=a.lineColor||e.lineColor||f;b=q(a.opacity,e.opacity,b);return{stroke:f,"stroke-width":c,
+fill:l,opacity:b}};d.prototype.destroy=function(b){var a=this,e=a.chart,c=/AppleWebKit\/533/.test(r.navigator.userAgent),g,f,l=a.data||[],k,n;H(a,"destroy");this.removeEvents(b);(a.axisTypes||[]).forEach(function(b){(n=a[b])&&n.series&&(v(n.series,a),n.isDirty=n.forceRedraw=!0)});a.legendItem&&a.chart.legend.destroyItem(a);for(f=l.length;f--;)(k=l[f])&&k.destroy&&k.destroy();a.clips&&a.clips.forEach(function(b){return b.destroy()});D.clearTimeout(a.animationTimeout);w(a,function(b,a){b instanceof
+I&&!b.survive&&(g=c&&"group"===a?"hide":"destroy",b[g]())});e.hoverSeries===a&&(e.hoverSeries=void 0);v(e.series,a);e.orderSeries();w(a,function(e,c){b&&"hcEvents"===c||delete a[c]})};d.prototype.applyZones=function(){var b=this,a=this.chart,e=a.renderer,c=this.zones,g,f,l=this.clips||[],k,n=this.graph,m=this.area,x=Math.max(a.chartWidth,a.chartHeight),C=this[(this.zoneAxis||"y")+"Axis"],w=a.inverted,d,t,p,v=!1,h,A;if(c.length&&(n||m)&&C&&"undefined"!==typeof C.min){var r=C.reversed;var z=C.horiz;
+n&&!this.showLine&&n.hide();m&&m.hide();var y=C.getExtremes();c.forEach(function(c,E){g=r?z?a.plotWidth:0:z?0:C.toPixels(y.min)||0;g=L(q(f,g),0,x);f=L(Math.round(C.toPixels(q(c.value,y.max),!0)||0),0,x);v&&(g=f=C.toPixels(y.max));d=Math.abs(g-f);t=Math.min(g,f);p=Math.max(g,f);C.isXAxis?(k={x:w?p:t,y:0,width:d,height:x},z||(k.x=a.plotHeight-k.x)):(k={x:0,y:w?p:t,width:x,height:d},z&&(k.y=a.plotWidth-k.y));w&&e.isVML&&(k=C.isXAxis?{x:0,y:r?t:p,height:k.width,width:a.chartWidth}:{x:k.y-a.plotLeft-a.spacingBox.x,
+y:0,width:k.height,height:a.chartHeight});l[E]?l[E].animate(k):l[E]=e.clipRect(k);h=b["zone-area-"+E];A=b["zone-graph-"+E];n&&A&&A.clip(l[E]);m&&h&&h.clip(l[E]);v=c.value>y.max;b.resetZones&&0===f&&(f=void 0)});this.clips=l}else b.visible&&(n&&n.show(!0),m&&m.show(!0))};d.prototype.invertGroups=function(b){function a(){["group","markerGroup"].forEach(function(a){e[a]&&(c.renderer.isVML&&e[a].attr({width:e.yAxis.len,height:e.xAxis.len}),e[a].width=e.yAxis.len,e[a].height=e.xAxis.len,e[a].invert(e.isRadialSeries?
+!1:b))})}var e=this,c=e.chart;e.xAxis&&(e.eventsToUnbind.push(O(c,"resize",a)),a(),e.invertGroups=a)};d.prototype.plotGroup=function(b,a,e,c,g){var l=this[b],k=!l;e={visibility:e,zIndex:c||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(e.opacity=this.opacity);k&&(this[b]=l=this.chart.renderer.g().add(g));l.addClass("highcharts-"+a+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(f(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":
+"")+(this.options.className||"")+(l.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0);l.attr(e)[k?"attr":"animate"](this.getPlotBox());return l};d.prototype.getPlotBox=function(){var b=this.chart,a=this.xAxis,e=this.yAxis;b.inverted&&(a=e,e=this.xAxis);return{translateX:a?a.left:b.plotLeft,translateY:e?e.top:b.plotTop,scaleX:1,scaleY:1}};d.prototype.removeEvents=function(b){b||z(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(b){b()}),this.eventsToUnbind.length=
+0)};d.prototype.render=function(){var b=this,a=b.chart,e=b.options,c=B(e.animation),g=!b.finishedAnimating&&a.renderer.isSVG&&c.duration,f=b.visible?"inherit":"hidden",l=e.zIndex,k=b.hasRendered,n=a.seriesGroup,m=a.inverted;H(this,"render");var x=b.plotGroup("group","series",f,l,n);b.markerGroup=b.plotGroup("markerGroup","markers",f,l,n);g&&b.animate&&b.animate(!0);x.inverted=q(b.invertible,b.isCartesian)?m:!1;b.drawGraph&&(b.drawGraph(),b.applyZones());b.visible&&b.drawPoints();b.drawDataLabels&&
+b.drawDataLabels();b.redrawPoints&&b.redrawPoints();b.drawTracker&&!1!==b.options.enableMouseTracking&&b.drawTracker();b.invertGroups(m);!1===e.clip||b.sharedClipKey||k||x.clip(a.clipRect);g&&b.animate&&b.animate();k||(g&&c.defer&&(g+=c.defer),b.animationTimeout=V(function(){b.afterAnimate()},g||0));b.isDirty=!1;b.hasRendered=!0;H(b,"afterRender")};d.prototype.redraw=function(){var b=this.chart,a=this.isDirty||this.isDirtyData,e=this.group,c=this.xAxis,g=this.yAxis;e&&(b.inverted&&e.attr({width:b.plotWidth,
+height:b.plotHeight}),e.animate({translateX:q(c&&c.left,b.plotLeft),translateY:q(g&&g.top,b.plotTop)}));this.translate();this.render();a&&delete this.kdTree};d.prototype.searchPoint=function(b,a){var e=this.xAxis,c=this.yAxis,g=this.chart.inverted;return this.searchKDTree({clientX:g?e.len-b.chartY+e.pos:b.chartX-e.pos,plotY:g?c.len-b.chartX+c.pos:b.chartY-c.pos},a,b)};d.prototype.buildKDTree=function(b){function a(b,c,g){var f;if(f=b&&b.length){var l=e.kdAxisArray[c%g];b.sort(function(b,a){return b[l]-
+a[l]});f=Math.floor(f/2);return{point:b[f],left:a(b.slice(0,f),c+1,g),right:a(b.slice(f+1),c+1,g)}}}this.buildingKdTree=!0;var e=this,c=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree;V(function(){e.kdTree=a(e.getValidPoints(null,!e.directTouch),c,c);e.buildingKdTree=!1},e.options.kdNow||b&&"touchstart"===b.type?0:1)};d.prototype.searchKDTree=function(b,a,e){function c(b,a,e,q){var m=a.point,x=g.kdAxisArray[e%q],C=m;var w=f(b[l])&&f(m[l])?Math.pow(b[l]-m[l],2):null;var d=f(b[k])&&
+f(m[k])?Math.pow(b[k]-m[k],2):null;d=(w||0)+(d||0);m.dist=f(d)?Math.sqrt(d):Number.MAX_VALUE;m.distX=f(w)?Math.sqrt(w):Number.MAX_VALUE;x=b[x]-m[x];d=0>x?"left":"right";w=0>x?"right":"left";a[d]&&(d=c(b,a[d],e+1,q),C=d[n]<C[n]?d:m);a[w]&&Math.sqrt(x*x)<C[n]&&(b=c(b,a[w],e+1,q),C=b[n]<C[n]?b:C);return C}var g=this,l=this.kdAxisArray[0],k=this.kdAxisArray[1],n=a?"distX":"dist";a=-1<g.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(e);if(this.kdTree)return c(b,
+this.kdTree,a,a)};d.prototype.pointPlacementToXValue=function(){var b=this.options,a=b.pointRange,e=this.xAxis;b=b.pointPlacement;"between"===b&&(b=e.reversed?-.5:.5);return l(b)?b*(a||e.pointRange):0};d.prototype.isPointInside=function(b){return"undefined"!==typeof b.plotY&&"undefined"!==typeof b.plotX&&0<=b.plotY&&b.plotY<=this.yAxis.len&&0<=b.plotX&&b.plotX<=this.xAxis.len};d.prototype.drawTracker=function(){var b=this,e=b.options,g=e.trackByArea,f=[].concat(g?b.areaPath:b.graphPath),l=b.chart,
+k=l.pointer,n=l.renderer,q=l.options.tooltip.snap,m=b.tracker,x=function(a){if(l.hoverSeries!==b)b.onMouseOver()},C="rgba(192,192,192,"+(a?.0001:.002)+")";m?m.attr({d:f}):b.graph&&(b.tracker=n.path(f).attr({visibility:b.visible?"visible":"hidden",zIndex:2}).addClass(g?"highcharts-tracker-area":"highcharts-tracker-line").add(b.group),l.styledMode||b.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:C,fill:g?C:"none","stroke-width":b.graph.strokeWidth()+(g?0:2*q)}),[b.tracker,
+b.markerGroup,b.dataLabelsGroup].forEach(function(b){if(b&&(b.addClass("highcharts-tracker").on("mouseover",x).on("mouseout",function(b){k.onTrackerMouseOut(b)}),e.cursor&&!l.styledMode&&b.css({cursor:e.cursor}),c))b.on("touchstart",x)}));H(this,"afterDrawTracker")};d.prototype.addPoint=function(b,a,e,c,g){var f=this.options,l=this.data,k=this.chart,n=this.xAxis;n=n&&n.hasNames&&n.names;var m=f.data,x=this.xData,C;a=q(a,!0);var d={series:this};this.pointClass.prototype.applyOptions.apply(d,[b]);var w=
+d.x;var t=x.length;if(this.requireSorting&&w<x[t-1])for(C=!0;t&&x[t-1]>w;)t--;this.updateParallelArrays(d,"splice",t,0,0);this.updateParallelArrays(d,t);n&&d.name&&(n[w]=d.name);m.splice(t,0,b);C&&(this.data.splice(t,0,null),this.processData());"point"===f.legendType&&this.generatePoints();e&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(d,"shift"),m.shift()));!1!==g&&H(this,"addPoint",{point:d});this.isDirtyData=this.isDirty=!0;a&&k.redraw(c)};d.prototype.removePoint=function(b,
+a,e){var c=this,g=c.data,f=g[b],l=c.points,k=c.chart,n=function(){l&&l.length===g.length&&l.splice(b,1);g.splice(b,1);c.options.data.splice(b,1);c.updateParallelArrays(f||{series:c},"splice",b,1);f&&f.destroy();c.isDirty=!0;c.isDirtyData=!0;a&&k.redraw()};u(e,k);a=q(a,!0);f?f.firePointEvent("remove",null,n):n()};d.prototype.remove=function(b,a,e,c){function g(){f.destroy(c);l.isDirtyLegend=l.isDirtyBox=!0;l.linkSeries();q(b,!0)&&l.redraw(a)}var f=this,l=f.chart;!1!==e?H(f,"remove",null,g):g()};d.prototype.update=
+function(a,e){a=A(a,this.userOptions);H(this,"update",{options:a});var c=this,g=c.chart,f=c.userOptions,l=c.initialType||c.type,k=g.options.plotOptions,n=a.type||f.type||g.options.chart.type,m=!(this.hasDerivedData||n&&n!==this.type||"undefined"!==typeof a.pointStart||"undefined"!==typeof a.pointInterval||c.hasOptionChanged("dataGrouping")||c.hasOptionChanged("pointStart")||c.hasOptionChanged("pointInterval")||c.hasOptionChanged("pointIntervalUnit")||c.hasOptionChanged("keys")),C=p[l].prototype,d,
+w=["eventOptions","navigatorSeries","baseSeries"],t=c.finishedAnimating&&{animation:!1},v={};n=n||l;m&&(w.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==a.visible&&w.push("area","graph"),c.parallelArrays.forEach(function(b){w.push(b+"Data")}),a.data&&(a.dataSorting&&E(c.options.dataSorting,a.dataSorting),this.setData(a.data,!1)));a=x(f,t,{index:"undefined"===
+typeof f.index?c.index:f.index,pointStart:q(k&&k.series&&k.series.pointStart,f.pointStart,c.xData[0])},!m&&{data:c.options.data},a);m&&a.data&&(a.data=c.options.data);w=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(w);w.forEach(function(b){w[b]=c[b];delete c[b]});f=!1;if(p[n]){if(f=n!==c.type,c.remove(!1,!1,!1,!0),f)if(Object.setPrototypeOf)Object.setPrototypeOf(c,p[n].prototype);else{k=Object.hasOwnProperty.call(c,"hcEvents")&&c.hcEvents;for(d in C)c[d]=void 0;E(c,p[n].prototype);
+k?c.hcEvents=k:delete c.hcEvents}}else b(17,!0,g,{missingModuleFor:n});w.forEach(function(b){c[b]=w[b]});c.init(g,a);if(m&&this.points){var h=c.options;!1===h.visible?(v.graphic=1,v.dataLabel=1):c._hasPointLabels||(a=h.marker,n=h.dataLabels,a&&(!1===a.enabled||"symbol"in a)&&(v.graphic=1),n&&!1===n.enabled&&(v.dataLabel=1));this.points.forEach(function(b){b&&b.series&&(b.resolveColor(),Object.keys(v).length&&b.destroyElements(v),!1===h.showInLegend&&b.legendItem&&g.legend.destroyItem(b))},this)}c.initialType=
+l;g.linkSeries();f&&c.linkedSeries.length&&(c.isDirtyData=!0);H(this,"afterUpdate");q(e,!0)&&g.redraw(m?void 0:!1)};d.prototype.setName=function(b){this.name=this.options.name=this.userOptions.name=b;this.chart.isDirtyLegend=!0};d.prototype.hasOptionChanged=function(b){var a=this.options[b],e=this.chart.options.plotOptions,c=this.userOptions[b];return c?a!==c:a!==q(e&&e[this.type]&&e[this.type][b],e&&e.series&&e.series[b],a)};d.prototype.onMouseOver=function(){var b=this.chart,a=b.hoverSeries;b.pointer.setHoverChartIndex();
+if(a&&a!==this)a.onMouseOut();this.options.events.mouseOver&&H(this,"mouseOver");this.setState("hover");b.hoverSeries=this};d.prototype.onMouseOut=function(){var b=this.options,a=this.chart,e=a.tooltip,c=a.hoverPoint;a.hoverSeries=null;if(c)c.onMouseOut();this&&b.events.mouseOut&&H(this,"mouseOut");!e||this.stickyTracking||e.shared&&!this.noSharedTooltip||e.hide();a.series.forEach(function(b){b.setState("",!0)})};d.prototype.setState=function(b,a){var e=this,c=e.options,g=e.graph,f=c.inactiveOtherPoints,
+l=c.states,k=c.lineWidth,n=c.opacity,m=q(l[b||"normal"]&&l[b||"normal"].animation,e.chart.options.chart.animation);c=0;b=b||"";if(e.state!==b&&([e.group,e.markerGroup,e.dataLabelsGroup].forEach(function(a){a&&(e.state&&a.removeClass("highcharts-series-"+e.state),b&&a.addClass("highcharts-series-"+b))}),e.state=b,!e.chart.styledMode)){if(l[b]&&!1===l[b].enabled)return;b&&(k=l[b].lineWidth||k+(l[b].lineWidthPlus||0),n=q(l[b].opacity,n));if(g&&!g.dashstyle)for(l={"stroke-width":k},g.animate(l,m);e["zone-graph-"+
+c];)e["zone-graph-"+c].animate(l,m),c+=1;f||[e.group,e.markerGroup,e.dataLabelsGroup,e.labelBySeries].forEach(function(b){b&&b.animate({opacity:n},m)})}a&&f&&e.points&&e.setAllPointsToState(b||void 0)};d.prototype.setAllPointsToState=function(b){this.points.forEach(function(a){a.setState&&a.setState(b)})};d.prototype.setVisible=function(b,a){var e=this,c=e.chart,g=e.legendItem,f=c.options.chart.ignoreHiddenSeries,l=e.visible;var k=(e.visible=b=e.options.visible=e.userOptions.visible="undefined"===
+typeof b?!l:b)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(b){if(e[b])e[b][k]()});if(c.hoverSeries===e||(c.hoverPoint&&c.hoverPoint.series)===e)e.onMouseOut();g&&c.legend.colorizeItem(e,b);e.isDirty=!0;e.options.stacking&&c.series.forEach(function(b){b.options.stacking&&b.visible&&(b.isDirty=!0)});e.linkedSeries.forEach(function(a){a.setVisible(b,!1)});f&&(c.isDirtyBox=!0);H(e,k);!1!==a&&c.redraw()};d.prototype.show=function(){this.setVisible(!0)};d.prototype.hide=
+function(){this.setVisible(!1)};d.prototype.select=function(b){this.selected=b=this.options.selected="undefined"===typeof b?!this.selected:b;this.checkbox&&(this.checkbox.checked=b);H(this,b?"select":"unselect")};d.prototype.shouldShowTooltip=function(b,a,e){void 0===e&&(e={});e.series=this;e.visiblePlotOnly=!0;return this.chart.isInsidePlot(b,a,e)};d.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:J.backgroundColor,
+lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:J.neutralColor20,lineColor:J.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var b=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":b(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},
+cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"};return d}();E(d.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:K.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],
+parallelArrays:["x","y"],pointClass:M,requireSorting:!0,sorted:!0});G.series=d;"";"";return d});Q(d,"Extensions/ScrollablePlotArea.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/Axis/Axis.js"],d["Core/Chart/Chart.js"],d["Core/Series/Series.js"],d["Core/Globals.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M){var G=d.stop,I=M.addEvent,D=M.createElement,B=M.merge,u=M.pick;"";I(K,"afterSetChartSize",function(c){var a=this.options.chart.scrollablePlotArea,d=a&&a.minWidth;a=a&&a.minHeight;if(!this.renderer.forExport){if(d){if(this.scrollablePixelsX=
+d=Math.max(0,d-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=B(this.plotBox);this.plotBox.width=this.plotWidth+=d;this.inverted?this.clipBox.height+=d:this.clipBox.width+=d;var h={1:{name:"right",value:d}}}}else a&&(this.scrollablePixelsY=d=Math.max(0,a-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=B(this.plotBox),this.plotBox.height=this.plotHeight+=d,this.inverted?this.clipBox.width+=d:this.clipBox.height+=d,h={2:{name:"bottom",value:d}});
+h&&!c.skipAxes&&this.axes.forEach(function(a){h[a.side]?a.getPlotLinePath=function(){var c=h[a.side].name,k=this[c];this[c]=k-h[a.side].value;var m=J.Axis.prototype.getPlotLinePath.apply(this,arguments);this[c]=k;return m}:(a.setAxisSize(),a.setAxisTranslation())})}});I(K,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});K.prototype.setUpScrolling=function(){var c=this,a={WebkitOverflowScrolling:"touch",
+overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(a.overflowX="auto");this.scrollablePixelsY&&(a.overflowY="auto");this.scrollingParent=D("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=D("div",{className:"highcharts-scrolling"},a,this.scrollingParent);I(this.scrollingContainer,"scroll",function(){c.pointer&&delete c.pointer.chartPosition});this.innerContainer=D("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);
+this.innerContainer.appendChild(this.container);this.setUpScrolling=null};K.prototype.moveFixedElements=function(){var c=this.container,a=this.fixedRenderer,d=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),h;this.scrollablePixelsX&&
+!this.inverted?h=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?h=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?h=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(h=".highcharts-yaxis");h&&d.push(h+":not(.highcharts-radial-axis)",h+"-labels:not(.highcharts-radial-axis-labels)");d.forEach(function(d){[].forEach.call(c.querySelectorAll(d),function(c){(c.namespaceURI===a.SVG_NS?a.box:a.box.parentNode).appendChild(c);c.style.pointerEvents="auto"})})};K.prototype.applyFixed=
+function(){var c=!this.fixedDiv;var a=this.options.chart;var d=a.scrollablePlotArea;c?(this.fixedDiv=D("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(a.style&&a.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=a=new J.Renderer(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),
+this.scrollableMask=a.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":u(d.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),I(this,"afterShowResetZoom",this.moveFixedElements),I(this,"afterDrilldown",this.moveFixedElements),I(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);if(this.scrollableDirty||c)this.scrollableDirty=!1,this.moveFixedElements();a=this.chartWidth+(this.scrollablePixelsX||
+0);var h=this.chartHeight+(this.scrollablePixelsY||0);G(this.container);this.container.style.width=a+"px";this.container.style.height=h+"px";this.renderer.boxWrapper.attr({width:a,height:h,viewBox:[0,0,a,h].join(" ")});this.chartBackground.attr({width:a,height:h});this.scrollingContainer.style.height=this.chartHeight+"px";c&&(d.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*d.scrollPositionX),d.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*
+d.scrollPositionY));h=this.axisOffset;c=this.plotTop-h[0]-1;d=this.plotLeft-h[3]-1;a=this.plotTop+this.plotHeight+h[2]+1;h=this.plotLeft+this.plotWidth+h[1]+1;var p=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),B=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);c=this.scrollablePixelsX?[["M",0,c],["L",this.plotLeft-1,c],["L",this.plotLeft-1,a],["L",0,a],["Z"],["M",p,c],["L",this.chartWidth,c],["L",this.chartWidth,a],["L",p,a],["Z"]]:this.scrollablePixelsY?[["M",d,0],["L",d,this.plotTop-
+1],["L",h,this.plotTop-1],["L",h,0],["Z"],["M",d,B],["L",d,this.chartHeight],["L",h,this.chartHeight],["L",h,B],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:c})};I(h,"afterInit",function(){this.chart.scrollableDirty=!0});I(F,"show",function(){this.chart.scrollableDirty=!0})});Q(d,"Core/Axis/StackingAxis.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/Utilities.js"]],function(d,h){var N=d.getDeferredAnimation,F=h.addEvent,J=h.destroyObjectProperties,M=
+h.fireEvent,G=h.isNumber,I=h.objectEach,D=function(){function d(d){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=d}d.prototype.buildStacks=function(){var d=this.axis,c=d.series,a=d.options.reversedStacks,h=c.length,y;if(!d.isXAxis){this.usePercentage=!1;for(y=h;y--;){var p=c[a?y:h-y-1];p.setStackedPoints();p.setGroupedPoints()}for(y=0;y<h;y++)c[y].modifyStacks();M(d,"afterBuildStacks")}};d.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var d=this.stacks=
+this.oldStacks;I(d,function(c){I(c,function(a){a.cumulative=a.total})})}};d.prototype.resetStacks=function(){var d=this,c=this.stacks;this.axis.isXAxis||I(c,function(a){I(a,function(c,h){G(c.touched)&&c.touched<d.stacksTouched?(c.destroy(),delete a[h]):(c.total=null,c.cumulative=null)})})};d.prototype.renderStackTotals=function(){var d=this.axis,c=d.chart,a=c.renderer,h=this.stacks;d=N(c,d.options.stackLabels&&d.options.stackLabels.animation||!1);var y=this.stackTotalGroup=this.stackTotalGroup||a.g("stack-labels").attr({visibility:"visible",
+zIndex:6,opacity:0}).add();y.translate(c.plotLeft,c.plotTop);I(h,function(a){I(a,function(a){a.render(y)})});y.animate({opacity:1},d)};return d}();return function(){function d(){}d.compose=function(h){F(h,"init",d.onInit);F(h,"destroy",d.onDestroy)};d.onDestroy=function(){var d=this.stacking;if(d){var c=d.stacks;I(c,function(a,d){J(a);c[d]=null});d&&d.stackTotalGroup&&d.stackTotalGroup.destroy()}};d.onInit=function(){this.stacking||(this.stacking=new D(this))};return d}()});Q(d,"Extensions/Stacking.js",
+[d["Core/Axis/Axis.js"],d["Core/Chart/Chart.js"],d["Core/FormatUtilities.js"],d["Core/Globals.js"],d["Core/Series/Series.js"],d["Core/Axis/StackingAxis.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M,G){var I=K.format,D=G.correctFloat,B=G.defined,u=G.destroyObjectProperties,c=G.isArray,a=G.isNumber,r=G.objectEach,y=G.pick;"";var p=function(){function c(a,c,d,p,t){var f=a.chart.inverted;this.axis=a;this.isNegative=d;this.options=c=c||{};this.x=p;this.total=null;this.points={};this.hasValidPoints=
+!1;this.stack=t;this.rightCliff=this.leftCliff=0;this.alignOptions={align:c.align||(f?d?"left":"right":"center"),verticalAlign:c.verticalAlign||(f?"middle":d?"bottom":"top"),y:c.y,x:c.x};this.textAlign=c.textAlign||(f?d?"right":"left":"center")}c.prototype.destroy=function(){u(this,this.axis)};c.prototype.render=function(a){var c=this.axis.chart,k=this.options,d=k.format;d=d?I(d,this,c):k.formatter.call(this);this.label?this.label.attr({text:d,visibility:"hidden"}):(this.label=c.renderer.label(d,
+null,null,k.shape,null,null,k.useHTML,!1,"stack-labels"),d={r:k.borderRadius||0,text:d,rotation:k.rotation,padding:y(k.padding,5),visibility:"hidden"},c.styledMode||(d.fill=k.backgroundColor,d.stroke=k.borderColor,d["stroke-width"]=k.borderWidth,this.label.css(k.style)),this.label.attr(d),this.label.added||this.label.add(a));this.label.labelrank=c.plotSizeY};c.prototype.setOffset=function(c,m,d,p,t){var f=this.axis,k=f.chart;p=f.translate(f.stacking.usePercentage?100:p?p:this.total,0,0,0,1);d=f.translate(d?
+d:0);d=B(p)&&Math.abs(p-d);c=y(t,k.xAxis[0].translate(this.x))+c;f=B(p)&&this.getStackBox(k,this,c,p,m,d,f);m=this.label;d=this.isNegative;c="justify"===y(this.options.overflow,"justify");var b=this.textAlign;m&&f&&(t=m.getBBox(),p=m.padding,b="left"===b?k.inverted?-p:p:"right"===b?t.width:k.inverted&&"center"===b?t.width/2:k.inverted?d?t.width+p:-p:t.width/2,d=k.inverted?t.height/2:d?-p:t.height,this.alignOptions.x=y(this.options.x,0),this.alignOptions.y=y(this.options.y,0),f.x-=b,f.y-=d,m.align(this.alignOptions,
+null,f),k.isInsidePlot(m.alignAttr.x+b-this.alignOptions.x,m.alignAttr.y+d-this.alignOptions.y)?m.show():(m.alignAttr.y=-9999,c=!1),c&&J.prototype.justifyDataLabel.call(this.axis,m,this.alignOptions,m.alignAttr,t,f),m.attr({x:m.alignAttr.x,y:m.alignAttr.y}),y(!c&&this.options.crop,!0)&&((k=a(m.x)&&a(m.y)&&k.isInsidePlot(m.x-p+m.width,m.y)&&k.isInsidePlot(m.x+p,m.y))||m.hide()))};c.prototype.getStackBox=function(a,c,d,p,t,f,h){var b=c.axis.reversed,k=a.inverted,m=h.height+h.pos-(k?a.plotLeft:a.plotTop);
+c=c.isNegative&&!b||!c.isNegative&&b;return{x:k?c?p-h.right:p-f+h.pos-a.plotLeft:d+a.xAxis[0].transB-a.plotLeft,y:k?h.height-d-t:c?m-p-f:m-p,width:k?f:t,height:k?t:f}};return c}();h.prototype.getStacks=function(){var a=this,c=a.inverted;a.yAxis.forEach(function(a){a.stacking&&a.stacking.stacks&&a.hasVisibleSeries&&(a.stacking.oldStacks=a.stacking.stacks)});a.series.forEach(function(k){var d=k.xAxis&&k.xAxis.options||{};!k.options.stacking||!0!==k.visible&&!1!==a.options.chart.ignoreHiddenSeries||
+(k.stackKey=[k.type,y(k.options.stack,""),c?d.top:d.left,c?d.height:d.width].join())})};M.compose(d);J.prototype.setGroupedPoints=function(){var a=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?J.prototype.setStackedPoints.call(this,"group"):a&&r(a.stacks,function(c,d){"group"===d.slice(-5)&&(r(c,function(a){return a.destroy()}),delete a.stacks[d])})};J.prototype.setStackedPoints=function(a){var k=
+a||this.options.stacking;if(k&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var d=this.processedXData,h=this.processedYData,A=[],t=h.length,f=this.options,v=f.threshold,b=y(f.startFromThreshold&&v,0);f=f.stack;a=a?this.type+","+k:this.stackKey;var r="-"+a,u=this.negStacks,H=this.yAxis,g=H.stacking.stacks,n=H.stacking.oldStacks,e,l;H.stacking.stacksTouched+=1;for(l=0;l<t;l++){var C=d[l];var x=h[l];var w=this.getStackIndicator(w,C,this.index);var q=w.key;var z=(e=u&&x<(b?0:
+v))?r:a;g[z]||(g[z]={});g[z][C]||(n[z]&&n[z][C]?(g[z][C]=n[z][C],g[z][C].total=null):g[z][C]=new p(H,H.options.stackLabels,e,C,f));z=g[z][C];null!==x?(z.points[q]=z.points[this.index]=[y(z.cumulative,b)],B(z.cumulative)||(z.base=q),z.touched=H.stacking.stacksTouched,0<w.index&&!1===this.singleStacks&&(z.points[q][0]=z.points[this.index+","+C+",0"][0])):z.points[q]=z.points[this.index]=null;"percent"===k?(e=e?a:r,u&&g[e]&&g[e][C]?(e=g[e][C],z.total=e.total=Math.max(e.total,z.total)+Math.abs(x)||0):
+z.total=D(z.total+(Math.abs(x)||0))):"group"===k?(c(x)&&(x=x[0]),null!==x&&(z.total=(z.total||0)+1)):z.total=D(z.total+(x||0));z.cumulative="group"===k?(z.total||1)-1:y(z.cumulative,b)+(x||0);null!==x&&(z.points[q].push(z.cumulative),A[l]=z.cumulative,z.hasValidPoints=!0)}"percent"===k&&(H.stacking.usePercentage=!0);"group"!==k&&(this.stackedYData=A);H.stacking.oldStacks={}}};J.prototype.modifyStacks=function(){var a=this,c=a.stackKey,d=a.yAxis.stacking.stacks,p=a.processedXData,h,t=a.options.stacking;
+a[t+"Stacker"]&&[c,"-"+c].forEach(function(c){for(var f=p.length,b,k;f--;)if(b=p[f],h=a.getStackIndicator(h,b,a.index,c),k=(b=d[c]&&d[c][b])&&b.points[h.key])a[t+"Stacker"](k,b,f)})};J.prototype.percentStacker=function(a,c,d){c=c.total?100/c.total:0;a[0]=D(a[0]*c);a[1]=D(a[1]*c);this.stackedYData[d]=a[1]};J.prototype.getStackIndicator=function(a,c,d,p){!B(a)||a.x!==c||p&&a.key!==p?a={x:c,index:0,key:p}:a.index++;a.key=[d,c,a.index].join();return a};F.StackItem=p;return F.StackItem});Q(d,"Series/Line/LineSeries.js",
+[d["Core/Color/Palette.js"],d["Core/Series/Series.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,h,K,F){var N=this&&this.__extends||function(){var d=function(h,B){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var a in c)c.hasOwnProperty(a)&&(d[a]=c[a])};return d(h,B)};return function(h,B){function u(){this.constructor=h}d(h,B);h.prototype=null===B?Object.create(B):(u.prototype=B.prototype,new u)}}(),M=F.defined,
+G=F.merge;F=function(I){function D(){var d=null!==I&&I.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;return d}N(D,I);D.prototype.drawGraph=function(){var h=this,u=this.options,c=(this.gappedPath||this.getGraphPath).call(this),a=this.chart.styledMode,r=[["graph","highcharts-graph"]];a||r[0].push(u.lineColor||this.color||d.neutralColor20,u.dashStyle);r=h.getZonesGraphs(r);r.forEach(function(d,p){var r=d[0],k=h[r],m=k?"animate":"attr";k?(k.endX=h.preventGraphAnimation?null:
+c.xMap,k.animate({d:c})):c.length&&(h[r]=k=h.chart.renderer.path(c).addClass(d[1]).attr({zIndex:1}).add(h.group));k&&!a&&(r={stroke:d[2],"stroke-width":u.lineWidth,fill:h.fillGraph&&h.color||"none"},d[3]?r.dashstyle=d[3]:"square"!==u.linecap&&(r["stroke-linecap"]=r["stroke-linejoin"]="round"),k[m](r).shadow(2>p&&u.shadow));k&&(k.startX=c.xMap,k.isArea=c.isArea)})};D.prototype.getGraphPath=function(d,h,c){var a=this,r=a.options,y=r.step,p,u=[],k=[],m;d=d||a.points;(p=d.reversed)&&d.reverse();(y={right:1,
+center:2}[y]||y&&3)&&p&&(y=4-y);d=this.getValidPoints(d,!1,!(r.connectNulls&&!h&&!c));d.forEach(function(p,A){var t=p.plotX,f=p.plotY,v=d[A-1];(p.leftCliff||v&&v.rightCliff)&&!c&&(m=!0);p.isNull&&!M(h)&&0<A?m=!r.connectNulls:p.isNull&&!h?m=!0:(0===A||m?A=[["M",p.plotX,p.plotY]]:a.getPointSpline?A=[a.getPointSpline(d,p,A)]:y?(A=1===y?[["L",v.plotX,f]]:2===y?[["L",(v.plotX+t)/2,v.plotY],["L",(v.plotX+t)/2,f]]:[["L",t,v.plotY]],A.push(["L",t,f])):A=[["L",t,f]],k.push(p.x),y&&(k.push(p.x),2===y&&k.push(p.x)),
+u.push.apply(u,A),m=!1)});u.xMap=k;return a.graphPath=u};D.prototype.getZonesGraphs=function(d){this.zones.forEach(function(h,c){c=["zone-graph-"+c,"highcharts-graph highcharts-zone-graph-"+c+" "+(h.className||"")];this.chart.styledMode||c.push(h.color||this.color,h.dashStyle||this.options.dashStyle);d.push(c)},this);return d};D.defaultOptions=G(h.defaultOptions,{});return D}(h);K.registerSeriesType("line",F);"";return F});Q(d,"Series/Area/AreaSeries.js",[d["Core/Color/Color.js"],d["Mixins/LegendSymbol.js"],
+d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,h,K,F){var N=this&&this.__extends||function(){var d=function(c,a){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};return d(c,a)};return function(c,a){function h(){this.constructor=c}d(c,a);c.prototype=null===a?Object.create(a):(h.prototype=a.prototype,new h)}}(),M=d.parse,G=K.seriesTypes.line;d=F.extend;var I=F.merge,D=F.objectEach,
+B=F.pick;F=function(d){function c(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}N(c,d);c.prototype.drawGraph=function(){this.areaPath=[];d.prototype.drawGraph.apply(this);var a=this,c=this.areaPath,h=this.options,p=[["area","highcharts-area",this.color,h.fillColor]];this.zones.forEach(function(c,k){p.push(["zone-area-"+k,"highcharts-area highcharts-zone-area-"+k+" "+c.className,c.color||a.color,c.fillColor||h.fillColor])});p.forEach(function(d){var k=
+d[0],m=a[k],p=m?"animate":"attr",A={};m?(m.endX=a.preventGraphAnimation?null:c.xMap,m.animate({d:c})):(A.zIndex=0,m=a[k]=a.chart.renderer.path(c).addClass(d[1]).add(a.group),m.isArea=!0);a.chart.styledMode||(A.fill=B(d[3],M(d[2]).setOpacity(B(h.fillOpacity,.75)).get()));m[p](A);m.startX=c.xMap;m.shiftUnit=h.step?2:1})};c.prototype.getGraphPath=function(a){var c=G.prototype.getGraphPath,d=this.options,p=d.stacking,h=this.yAxis,k,m=[],u=[],A=this.index,t=h.stacking.stacks[this.stackKey],f=d.threshold,
+v=Math.round(h.getThreshold(d.threshold));d=B(d.connectNulls,"percent"===p);var b=function(b,c,e){var g=a[b];b=p&&t[g.x].points[A];var k=g[e+"Null"]||0;e=g[e+"Cliff"]||0;g=!0;if(e||k){var n=(k?b[0]:b[1])+e;var d=b[0]+e;g=!!k}else!p&&a[c]&&a[c].isNull&&(n=d=f);"undefined"!==typeof n&&(u.push({plotX:D,plotY:null===n?v:h.getThreshold(n),isNull:g,isCliff:!0}),m.push({plotX:D,plotY:null===d?v:h.getThreshold(d),doCurve:!1}))};a=a||this.points;p&&(a=this.getStackPoints(a));for(k=0;k<a.length;k++){p||(a[k].leftCliff=
+a[k].rightCliff=a[k].leftNull=a[k].rightNull=void 0);var E=a[k].isNull;var D=B(a[k].rectPlotX,a[k].plotX);var H=p?B(a[k].yBottom,v):v;if(!E||d)d||b(k,k-1,"left"),E&&!p&&d||(u.push(a[k]),m.push({x:k,plotX:D,plotY:H})),d||b(k,k+1,"right")}k=c.call(this,u,!0,!0);m.reversed=!0;E=c.call(this,m,!0,!0);(H=E[0])&&"M"===H[0]&&(E[0]=["L",H[1],H[2]]);E=k.concat(E);E.length&&E.push(["Z"]);c=c.call(this,u,!1,d);E.xMap=k.xMap;this.areaPath=E;return c};c.prototype.getStackPoints=function(a){var c=this,d=[],h=[],
+u=this.xAxis,k=this.yAxis,m=k.stacking.stacks[this.stackKey],L={},A=k.series,t=A.length,f=k.options.reversedStacks?1:-1,v=A.indexOf(c);a=a||this.points;if(this.options.stacking){for(var b=0;b<a.length;b++)a[b].leftNull=a[b].rightNull=void 0,L[a[b].x]=a[b];D(m,function(b,a){null!==b.total&&h.push(a)});h.sort(function(b,a){return b-a});var E=A.map(function(b){return b.visible});h.forEach(function(b,a){var g=0,n,e;if(L[b]&&!L[b].isNull)d.push(L[b]),[-1,1].forEach(function(g){var l=1===g?"rightNull":
+"leftNull",k=0,d=m[h[a+g]];if(d)for(var C=v;0<=C&&C<t;){var p=A[C].index;n=d.points[p];n||(p===c.index?L[b][l]=!0:E[C]&&(e=m[b].points[p])&&(k-=e[1]-e[0]));C+=f}L[b][1===g?"rightCliff":"leftCliff"]=k});else{for(var l=v;0<=l&&l<t;){if(n=m[b].points[A[l].index]){g=n[1];break}l+=f}g=B(g,0);g=k.translate(g,0,1,0,1);d.push({isNull:!0,plotX:u.translate(b,0,0,0,1),x:b,plotY:g,yBottom:g})}})}return d};c.defaultOptions=I(G.defaultOptions,{threshold:0});return c}(G);d(F.prototype,{singleStacks:!1,drawLegendSymbol:h.drawRectangle});
+K.registerSeriesType("area",F);"";return F});Q(d,"Series/Spline/SplineSeries.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,h){var N=this&&this.__extends||function(){var d=function(h,D){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var c in h)h.hasOwnProperty(c)&&(d[c]=h[c])};return d(h,D)};return function(h,D){function B(){this.constructor=h}d(h,D);h.prototype=null===D?Object.create(D):(B.prototype=D.prototype,
+new B)}}(),F=d.seriesTypes.line,J=h.merge,M=h.pick;h=function(d){function h(){var h=null!==d&&d.apply(this,arguments)||this;h.data=void 0;h.options=void 0;h.points=void 0;return h}N(h,d);h.prototype.getPointSpline=function(d,h,u){var c=h.plotX||0,a=h.plotY||0,r=d[u-1];u=d[u+1];if(r&&!r.isNull&&!1!==r.doCurve&&!h.isCliff&&u&&!u.isNull&&!1!==u.doCurve&&!h.isCliff){d=r.plotY||0;var y=u.plotX||0;u=u.plotY||0;var p=0;var B=(1.5*c+(r.plotX||0))/2.5;var k=(1.5*a+d)/2.5;y=(1.5*c+y)/2.5;var m=(1.5*a+u)/2.5;
+y!==B&&(p=(m-k)*(y-c)/(y-B)+a-m);k+=p;m+=p;k>d&&k>a?(k=Math.max(d,a),m=2*a-k):k<d&&k<a&&(k=Math.min(d,a),m=2*a-k);m>u&&m>a?(m=Math.max(u,a),k=2*a-m):m<u&&m<a&&(m=Math.min(u,a),k=2*a-m);h.rightContX=y;h.rightContY=m}h=["C",M(r.rightContX,r.plotX,0),M(r.rightContY,r.plotY,0),M(B,c,0),M(k,a,0),c,a];r.rightContX=r.rightContY=void 0;return h};h.defaultOptions=J(F.defaultOptions);return h}(F);d.registerSeriesType("spline",h);"";return h});Q(d,"Series/AreaSpline/AreaSplineSeries.js",[d["Series/Area/AreaSeries.js"],
+d["Series/Spline/SplineSeries.js"],d["Mixins/LegendSymbol.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,h,K,F,J){var N=this&&this.__extends||function(){var d=function(h,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};return d(h,c)};return function(h,c){function a(){this.constructor=h}d(h,c);h.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),G=
+d.prototype,I=J.extend,D=J.merge;J=function(B){function u(){var c=null!==B&&B.apply(this,arguments)||this;c.data=void 0;c.points=void 0;c.options=void 0;return c}N(u,B);u.defaultOptions=D(h.defaultOptions,d.defaultOptions);return u}(h);I(J.prototype,{getGraphPath:G.getGraphPath,getStackPoints:G.getStackPoints,drawGraph:G.drawGraph,drawLegendSymbol:K.drawRectangle});F.registerSeriesType("areaspline",J);"";return J});Q(d,"Series/Column/ColumnSeries.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/Color/Color.js"],
+d["Core/Globals.js"],d["Mixins/LegendSymbol.js"],d["Core/Color/Palette.js"],d["Core/Series/Series.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M,G,I){var D=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return a(c,b)};return function(c,b){function f(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):
+(f.prototype=b.prototype,new f)}}(),B=d.animObject,u=h.parse,c=K.hasTouch;d=K.noop;var a=I.clamp,r=I.css,y=I.defined,p=I.extend,O=I.fireEvent,k=I.isArray,m=I.isNumber,L=I.merge,A=I.pick,t=I.objectEach;I=function(f){function d(){var b=null!==f&&f.apply(this,arguments)||this;b.borderWidth=void 0;b.data=void 0;b.group=void 0;b.options=void 0;b.points=void 0;return b}D(d,f);d.prototype.animate=function(b){var c=this,f=this.yAxis,k=c.options,g=this.chart.inverted,n={},e=g?"translateX":"translateY";if(b)n.scaleY=
+.001,b=a(f.toPixels(k.threshold),f.pos,f.pos+f.len),g?n.translateX=b-f.len:n.translateY=b,c.clipBox&&c.setClip(),c.group.attr(n);else{var l=Number(c.group.attr(e));c.group.animate({scaleY:1},p(B(c.options.animation),{step:function(b,a){c.group&&(n[e]=l+a.pos*(f.pos-l),c.group.attr(n))}}))}};d.prototype.init=function(b,a){f.prototype.init.apply(this,arguments);var c=this;b=c.chart;b.hasRendered&&b.series.forEach(function(b){b.type===c.type&&(b.isDirty=!0)})};d.prototype.getColumnMetrics=function(){var b=
+this,a=b.options,c=b.xAxis,f=b.yAxis,g=c.options.reversedStacks;g=c.reversed&&!g||!c.reversed&&g;var k,e={},l=0;!1===a.grouping?l=1:b.chart.series.forEach(function(a){var c=a.yAxis,g=a.options;if(a.type===b.type&&(a.visible||!b.chart.options.chart.ignoreHiddenSeries)&&f.len===c.len&&f.pos===c.pos){if(g.stacking&&"group"!==g.stacking){k=a.stackKey;"undefined"===typeof e[k]&&(e[k]=l++);var n=e[k]}else!1!==g.grouping&&(n=l++);a.columnIndex=n}});var d=Math.min(Math.abs(c.transA)*(c.ordinal&&c.ordinal.slope||
+a.pointRange||c.closestPointRange||c.tickInterval||1),c.len),m=d*a.groupPadding,h=(d-2*m)/(l||1);a=Math.min(a.maxPointWidth||c.len,A(a.pointWidth,h*(1-2*a.pointPadding)));b.columnMetrics={width:a,offset:(h-a)/2+(m+((b.columnIndex||0)+(g?1:0))*h-d/2)*(g?-1:1),paddedWidth:h,columnCount:l};return b.columnMetrics};d.prototype.crispCol=function(b,a,c,f){var g=this.chart,k=this.borderWidth,e=-(k%2?.5:0);k=k%2?.5:1;g.inverted&&g.renderer.isVML&&(k+=1);this.options.crisp&&(c=Math.round(b+c)+e,b=Math.round(b)+
+e,c-=b);f=Math.round(a+f)+k;e=.5>=Math.abs(a)&&.5<f;a=Math.round(a)+k;f-=a;e&&f&&(--a,f+=1);return{x:b,y:a,width:c,height:f}};d.prototype.adjustForMissingColumns=function(b,a,c,f){var g=this,n=this.options.stacking;if(!c.isNull&&1<f.columnCount){var e=0,l=0;t(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(b){if("number"===typeof c.x&&(b=b[c.x.toString()])){var a=b.points[g.index],f=b.total;n?(a&&(e=l),b.hasValidPoints&&l++):k(a)&&(e=a[1],l=f||0)}});b=(c.plotX||0)+((l-1)*f.paddedWidth+a)/
+2-a-e*f.paddedWidth}return b};d.prototype.translate=function(){var b=this,c=b.chart,f=b.options,k=b.dense=2>b.closestPointRange*b.xAxis.transA;k=b.borderWidth=A(f.borderWidth,k?0:1);var g=b.xAxis,n=b.yAxis,e=f.threshold,l=b.translatedThreshold=n.getThreshold(e),d=A(f.minPointLength,5),x=b.getColumnMetrics(),h=x.width,q=b.barW=Math.max(h,1+2*k),p=b.pointXOffset=x.offset,t=b.dataMin,v=b.dataMax;c.inverted&&(l-=.5);f.pointPadding&&(q=Math.ceil(q));M.prototype.translate.apply(b);b.points.forEach(function(k){var C=
+A(k.yBottom,l),w=999+Math.abs(C),z=h,r=k.plotX||0;w=a(k.plotY,-w,n.len+w);r+=p;var u=q,E=Math.min(w,C),H=Math.max(w,C)-E;if(d&&Math.abs(H)<d){H=d;var B=!n.reversed&&!k.negative||n.reversed&&k.negative;m(e)&&m(v)&&k.y===e&&v<=e&&(n.min||0)<e&&(t!==v||(n.max||0)<=e)&&(B=!B);E=Math.abs(E-l)>d?C-d:l-(B?d:0)}y(k.options.pointWidth)&&(z=u=Math.ceil(k.options.pointWidth),r-=Math.round((z-h)/2));f.centerInCategory&&(r=b.adjustForMissingColumns(r,z,k,x));k.barX=r;k.pointWidth=z;k.tooltipPos=c.inverted?[a(n.len+
+n.pos-c.plotLeft-w,n.pos-c.plotLeft,n.len+n.pos-c.plotLeft),g.len+g.pos-c.plotTop-r-u/2,H]:[g.left-c.plotLeft+r+u/2,a(w+n.pos-c.plotTop,n.pos-c.plotTop,n.len+n.pos-c.plotTop),H];k.shapeType=b.pointClass.prototype.shapeType||"rect";k.shapeArgs=b.crispCol.apply(b,k.isNull?[r,l,u,0]:[r,E,u,H])})};d.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};d.prototype.pointAttribs=function(b,a){var c=this.options,f=this.pointAttrToOptions||{};var g=f.stroke||
+"borderColor";var k=f["stroke-width"]||"borderWidth",e=b&&b.color||this.color,l=b&&b[g]||c[g]||e,d=b&&b[k]||c[k]||this[k]||0;f=b&&b.options.dashStyle||c.dashStyle;var m=A(b&&b.opacity,c.opacity,1);if(b&&this.zones.length){var h=b.getZone();e=b.options.color||h&&(h.color||b.nonZonedColor)||this.color;h&&(l=h.borderColor||l,f=h.dashStyle||f,d=h.borderWidth||d)}a&&b&&(b=L(c.states[a],b.options.states&&b.options.states[a]||{}),a=b.brightness,e=b.color||"undefined"!==typeof a&&u(e).brighten(b.brightness).get()||
+e,l=b[g]||l,d=b[k]||d,f=b.dashStyle||f,m=A(b.opacity,m));g={fill:e,stroke:l,"stroke-width":d,opacity:m};f&&(g.dashstyle=f);return g};d.prototype.drawPoints=function(){var b=this,a=this.chart,c=b.options,f=a.renderer,g=c.animationLimit||250,k;b.points.forEach(function(e){var l=e.graphic,d=!!l,n=l&&a.pointCount<g?"animate":"attr";if(m(e.plotY)&&null!==e.y){k=e.shapeArgs;l&&e.hasNewShapeType()&&(l=l.destroy());b.enabledDataSorting&&(e.startXPos=b.xAxis.reversed?-(k?k.width||0:0):b.xAxis.width);l||(e.graphic=
+l=f[e.shapeType](k).add(e.group||b.group))&&b.enabledDataSorting&&a.hasRendered&&a.pointCount<g&&(l.attr({x:e.startXPos}),d=!0,n="animate");if(l&&d)l[n](L(k));if(c.borderRadius)l[n]({r:c.borderRadius});a.styledMode||l[n](b.pointAttribs(e,e.selected&&"select")).shadow(!1!==e.allowShadow&&c.shadow,null,c.stacking&&!c.borderRadius);l&&(l.addClass(e.getClassName(),!0),l.attr({visibility:e.visible?"inherit":"hidden"}))}else l&&(e.graphic=l.destroy())})};d.prototype.drawTracker=function(){var b=this,a=
+b.chart,f=a.pointer,d=function(b){var a=f.getPointFromEvent(b);"undefined"!==typeof a&&(f.isDirectTouch=!0,a.onMouseOver(b))},g;b.points.forEach(function(b){g=k(b.dataLabels)?b.dataLabels:b.dataLabel?[b.dataLabel]:[];b.graphic&&(b.graphic.element.point=b);g.forEach(function(a){a.div?a.div.point=b:a.element.point=b})});b._hasTracking||(b.trackerGroups.forEach(function(g){if(b[g]){b[g].addClass("highcharts-tracker").on("mouseover",d).on("mouseout",function(b){f.onTrackerMouseOut(b)});if(c)b[g].on("touchstart",
+d);!a.styledMode&&b.options.cursor&&b[g].css(r).css({cursor:b.options.cursor})}}),b._hasTracking=!0);O(this,"afterDrawTracker")};d.prototype.remove=function(){var b=this,a=b.chart;a.hasRendered&&a.series.forEach(function(a){a.type===b.type&&(a.isDirty=!0)});M.prototype.remove.apply(b,arguments)};d.defaultOptions=L(M.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},
+select:{color:J.neutralColor20,borderColor:J.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:J.backgroundColor});return d}(M);p(I.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:F.drawRectangle,getSymbol:d,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]});G.registerSeriesType("column",I);"";"";return I});Q(d,"Series/Bar/BarSeries.js",[d["Series/Column/ColumnSeries.js"],d["Core/Series/SeriesRegistry.js"],
+d["Core/Utilities.js"]],function(d,h,K){var F=this&&this.__extends||function(){var d=function(h,D){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var c in h)h.hasOwnProperty(c)&&(d[c]=h[c])};return d(h,D)};return function(h,D){function B(){this.constructor=h}d(h,D);h.prototype=null===D?Object.create(D):(B.prototype=D.prototype,new B)}}(),J=K.extend,N=K.merge;K=function(h){function G(){var d=null!==h&&h.apply(this,arguments)||this;d.data=void 0;
+d.options=void 0;d.points=void 0;return d}F(G,h);G.defaultOptions=N(d.defaultOptions,{});return G}(d);J(K.prototype,{inverted:!0});h.registerSeriesType("bar",K);"";return K});Q(d,"Series/Scatter/ScatterSeries.js",[d["Series/Column/ColumnSeries.js"],d["Series/Line/LineSeries.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,h,K,F){var J=this&&this.__extends||function(){var d=function(h,u){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||
+function(c,a){for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d])};return d(h,u)};return function(h,u){function c(){this.constructor=h}d(h,u);h.prototype=null===u?Object.create(u):(c.prototype=u.prototype,new c)}}(),N=F.addEvent,G=F.extend,I=F.merge;F=function(d){function B(){var h=null!==d&&d.apply(this,arguments)||this;h.data=void 0;h.options=void 0;h.points=void 0;return h}J(B,d);B.prototype.applyJitter=function(){var d=this,c=this.options.jitter,a=this.points.length;c&&this.points.forEach(function(h,
+y){["x","y"].forEach(function(p,r){var k="plot"+p.toUpperCase();if(c[p]&&!h.isNull){var m=d[p+"Axis"];var u=c[p]*m.transA;if(m&&!m.isLog){var A=Math.max(0,h[k]-u);m=Math.min(m.len,h[k]+u);r=1E4*Math.sin(y+r*a);h[k]=A+(m-A)*(r-Math.floor(r));"x"===p&&(h.clientX=h.plotX)}}})})};B.prototype.drawGraph=function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&d.prototype.drawGraph.call(this)};B.defaultOptions=I(h.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",
+jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}});return B}(h);G(F.prototype,{drawTracker:d.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});N(F,"afterTranslate",function(){this.applyJitter()});K.registerSeriesType("scatter",
+F);"";return F});Q(d,"Mixins/CenteredSeries.js",[d["Core/Globals.js"],d["Core/Series/Series.js"],d["Core/Utilities.js"]],function(d,h,K){var F=K.isNumber,J=K.pick,N=K.relativeLength,G=d.deg2rad;return d.CenteredSeriesMixin={getCenter:function(){var d=this.options,D=this.chart,B=2*(d.slicedOffset||0),u=D.plotWidth-2*B,c=D.plotHeight-2*B,a=d.center,r=Math.min(u,c),y=d.size,p=d.innerSize||0;"string"===typeof y&&(y=parseFloat(y));"string"===typeof p&&(p=parseFloat(p));d=[J(a[0],"50%"),J(a[1],"50%"),J(y&&
+0>y?void 0:d.size,"100%"),J(p&&0>p?void 0:d.innerSize||0,"0%")];!D.angular||this instanceof h||(d[3]=0);for(a=0;4>a;++a)y=d[a],D=2>a||2===a&&/%$/.test(y),d[a]=N(y,[u,c,r,d[2]][a])+(D?B:0);d[3]>d[2]&&(d[3]=d[2]);return d},getStartAndEndRadians:function(d,h){d=F(d)?d:0;h=F(h)&&h>d&&360>h-d?h:d+360;return{start:G*(d+-90),end:G*(h+-90)}}}});Q(d,"Series/Pie/PiePoint.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/Series/Point.js"],d["Core/Utilities.js"]],function(d,h,K){var F=this&&this.__extends||
+function(){var d=function(c,a){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};return d(c,a)};return function(c,a){function h(){this.constructor=c}d(c,a);c.prototype=null===a?Object.create(a):(h.prototype=a.prototype,new h)}}(),J=d.setAnimation,N=K.addEvent,G=K.defined;d=K.extend;var I=K.isNumber,D=K.pick,B=K.relativeLength;K=function(d){function c(){var a=null!==d&&d.apply(this,arguments)||this;
+a.labelDistance=void 0;a.options=void 0;a.series=void 0;return a}F(c,d);c.prototype.getConnectorPath=function(){var a=this.labelPosition,c=this.series.options.dataLabels,d=c.connectorShape,h=this.connectorShapes;h[d]&&(d=h[d]);return d.call(this,{x:a.final.x,y:a.final.y,alignment:a.alignment},a.connectorPosition,c)};c.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};c.prototype.haloPath=function(a){var c=this.shapeArgs;return this.sliced||!this.visible?
+[]:this.series.chart.renderer.symbols.arc(c.x,c.y,c.r+a,c.r+a,{innerR:c.r-1,start:c.start,end:c.end})};c.prototype.init=function(){h.prototype.init.apply(this,arguments);var a=this;a.name=D(a.name,"Slice");var c=function(c){a.slice("select"===c.type)};N(a,"select",c);N(a,"unselect",c);return a};c.prototype.isValid=function(){return I(this.y)&&0<=this.y};c.prototype.setVisible=function(a,c){var d=this,h=d.series,r=h.chart,k=h.options.ignoreHiddenPoint;c=D(c,k);a!==d.visible&&(d.visible=d.options.visible=
+a="undefined"===typeof a?!d.visible:a,h.options.data[h.data.indexOf(d)]=d.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(c){if(d[c])d[c][a?"show":"hide"](a)}),d.legendItem&&r.legend.colorizeItem(d,a),a||"hover"!==d.state||d.setState(""),k&&(h.isDirty=!0),c&&r.redraw())};c.prototype.slice=function(a,c,d){var h=this.series;J(d,h.chart);D(c,!0);this.sliced=this.options.sliced=G(a)?a:!this.sliced;h.options.data[h.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());
+this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return c}(h);d(K.prototype,{connectorShapes:{fixedOffset:function(d,c,a){var h=c.breakAt;c=c.touchingSliceAt;return[["M",d.x,d.y],a.softConnector?["C",d.x+("left"===d.alignment?-5:5),d.y,2*h.x-c.x,2*h.y-c.y,h.x,h.y]:["L",h.x,h.y],["L",c.x,c.y]]},straight:function(d,c){c=c.touchingSliceAt;return[["M",d.x,d.y],["L",c.x,c.y]]},crookedLine:function(d,c,a){c=c.touchingSliceAt;var h=this.series,y=h.center[0],p=h.chart.plotWidth,u=h.chart.plotLeft;
+h=d.alignment;var k=this.shapeArgs.r;a=B(a.crookDistance,1);p="left"===h?y+k+(p+u-y-k)*(1-a):u+(y-k)*a;a=["L",p,d.y];y=!0;if("left"===h?p>d.x||p<c.x:p<d.x||p>c.x)y=!1;d=[["M",d.x,d.y]];y&&d.push(a);d.push(["L",c.x,c.y]);return d}}});return K});Q(d,"Series/Pie/PieSeries.js",[d["Mixins/CenteredSeries.js"],d["Series/Column/ColumnSeries.js"],d["Core/Globals.js"],d["Mixins/LegendSymbol.js"],d["Core/Color/Palette.js"],d["Series/Pie/PiePoint.js"],d["Core/Series/Series.js"],d["Core/Series/SeriesRegistry.js"],
+d["Core/Renderer/SVG/SVGRenderer.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M,G,I,D,B){var u=this&&this.__extends||function(){var a=function(c,k){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var f in c)c.hasOwnProperty(f)&&(a[f]=c[f])};return a(c,k)};return function(c,k){function d(){this.constructor=c}a(c,k);c.prototype=null===k?Object.create(k):(d.prototype=k.prototype,new d)}}(),c=d.getStartAndEndRadians;K=K.noop;var a=B.clamp,r=
+B.extend,y=B.fireEvent,p=B.merge,O=B.pick,k=B.relativeLength;B=function(d){function h(){var a=null!==d&&d.apply(this,arguments)||this;a.center=void 0;a.data=void 0;a.maxLabelDistance=void 0;a.options=void 0;a.points=void 0;return a}u(h,d);h.prototype.animate=function(a){var c=this,f=c.points,k=c.startAngleRad;a||f.forEach(function(b){var a=b.graphic,f=b.shapeArgs;a&&f&&(a.attr({r:O(b.startR,c.center&&c.center[3]/2),start:k,end:k}),a.animate({r:f.r,start:f.start,end:f.end},c.options.animation))})};
+h.prototype.drawEmpty=function(){var a=this.startAngleRad,c=this.endAngleRad,f=this.options;if(0===this.total&&this.center){var k=this.center[0];var b=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(k,b,this.center[1]/2,0,a,c).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:D.prototype.symbols.arc(k,b,this.center[2]/2,0,{start:a,end:c,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":f.borderWidth,fill:f.fillColor||"none",stroke:f.color||
+J.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())};h.prototype.drawPoints=function(){var a=this.chart.renderer;this.points.forEach(function(c){c.graphic&&c.hasNewShapeType()&&(c.graphic=c.graphic.destroy());c.graphic||(c.graphic=a[c.shapeType](c.shapeArgs).add(c.series.group),c.delayedRendering=!0)})};h.prototype.generatePoints=function(){d.prototype.generatePoints.call(this);this.updateTotals()};h.prototype.getX=function(c,k,f){var d=this.center,b=this.radii?this.radii[f.index]||
+0:d[2]/2;c=Math.asin(a((c-d[1])/(b+f.labelDistance),-1,1));return d[0]+(k?-1:1)*Math.cos(c)*(b+f.labelDistance)+(0<f.labelDistance?(k?-1:1)*this.options.dataLabels.padding:0)};h.prototype.hasData=function(){return!!this.processedXData.length};h.prototype.redrawPoints=function(){var a=this,c=a.chart,f=c.renderer,k,b,d,h,m=a.options.shadow;this.drawEmpty();!m||a.shadowGroup||c.styledMode||(a.shadowGroup=f.g("shadow").attr({zIndex:-1}).add(a.group));a.points.forEach(function(g){var n={};b=g.graphic;
+if(!g.isNull&&b){var e=void 0;h=g.shapeArgs;k=g.getTranslate();c.styledMode||(e=g.shadowGroup,m&&!e&&(e=g.shadowGroup=f.g("shadow").add(a.shadowGroup)),e&&e.attr(k),d=a.pointAttribs(g,g.selected&&"select"));g.delayedRendering?(b.setRadialReference(a.center).attr(h).attr(k),c.styledMode||b.attr(d).attr({"stroke-linejoin":"round"}).shadow(m,e),g.delayedRendering=!1):(b.setRadialReference(a.center),c.styledMode||p(!0,n,d),p(!0,n,h,k),b.animate(n));b.attr({visibility:g.visible?"inherit":"hidden"});b.addClass(g.getClassName(),
+!0)}else b&&(g.graphic=b.destroy())})};h.prototype.sortByAngle=function(a,c){a.sort(function(a,k){return"undefined"!==typeof a.angle&&(k.angle-a.angle)*c})};h.prototype.translate=function(a){this.generatePoints();var d=0,f=this.options,h=f.slicedOffset,b=h+(f.borderWidth||0),m=c(f.startAngle,f.endAngle),p=this.startAngleRad=m.start;m=(this.endAngleRad=m.end)-p;var A=this.points,g=f.dataLabels.distance;f=f.ignoreHiddenPoint;var n,e=A.length;a||(this.center=a=this.getCenter());for(n=0;n<e;n++){var l=
+A[n];var C=p+d*m;!l.isValid()||f&&!l.visible||(d+=l.percentage/100);var x=p+d*m;var w={x:a[0],y:a[1],r:a[2]/2,innerR:a[3]/2,start:Math.round(1E3*C)/1E3,end:Math.round(1E3*x)/1E3};l.shapeType="arc";l.shapeArgs=w;l.labelDistance=O(l.options.dataLabels&&l.options.dataLabels.distance,g);l.labelDistance=k(l.labelDistance,w.r);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,l.labelDistance);x=(x+C)/2;x>1.5*Math.PI?x-=2*Math.PI:x<-Math.PI/2&&(x+=2*Math.PI);l.slicedTranslation={translateX:Math.round(Math.cos(x)*
+h),translateY:Math.round(Math.sin(x)*h)};w=Math.cos(x)*a[2]/2;var q=Math.sin(x)*a[2]/2;l.tooltipPos=[a[0]+.7*w,a[1]+.7*q];l.half=x<-Math.PI/2||x>Math.PI/2?1:0;l.angle=x;C=Math.min(b,l.labelDistance/5);l.labelPosition={natural:{x:a[0]+w+Math.cos(x)*l.labelDistance,y:a[1]+q+Math.sin(x)*l.labelDistance},"final":{},alignment:0>l.labelDistance?"center":l.half?"right":"left",connectorPosition:{breakAt:{x:a[0]+w+Math.cos(x)*C,y:a[1]+q+Math.sin(x)*C},touchingSliceAt:{x:a[0]+w,y:a[1]+q}}}}y(this,"afterTranslate")};
+h.prototype.updateTotals=function(){var a,c=0,f=this.points,k=f.length,b=this.options.ignoreHiddenPoint;for(a=0;a<k;a++){var d=f[a];!d.isValid()||b&&!d.visible||(c+=d.y)}this.total=c;for(a=0;a<k;a++)d=f[a],d.percentage=0<c&&(d.visible||!b)?d.y/c*100:0,d.total=c};h.defaultOptions=p(G.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?
+void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:J.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}});return h}(G);r(B.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:F.drawRectangle,drawTracker:h.prototype.drawTracker,getCenter:d.getCenter,getSymbol:K,isCartesian:!1,
+noSharedTooltip:!0,pointAttribs:h.prototype.pointAttribs,pointClass:M,requireSorting:!1,searchPoint:K,trackerGroups:["group","dataLabelsGroup"]});I.registerSeriesType("pie",B);"";return B});Q(d,"Core/Series/DataLabels.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/FormatUtilities.js"],d["Core/Globals.js"],d["Core/Color/Palette.js"],d["Core/Series/Series.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M,G){var I=d.getDeferredAnimation,D=h.format;d=K.noop;
+M=M.seriesTypes;var B=G.arrayMax,u=G.clamp,c=G.defined,a=G.extend,r=G.fireEvent,y=G.isArray,p=G.merge,O=G.objectEach,k=G.pick,m=G.relativeLength,L=G.splat,A=G.stableSort;"";K.distribute=function(a,c,d){function b(b,a){return b.target-a.target}var f,h=!0,m=a,g=[];var n=0;var e=m.reducedLen||c;for(f=a.length;f--;)n+=a[f].size;if(n>e){A(a,function(b,a){return(a.rank||0)-(b.rank||0)});for(n=f=0;n<=e;)n+=a[f].size,f++;g=a.splice(f-1,a.length)}A(a,b);for(a=a.map(function(b){return{size:b.size,targets:[b.target],
+align:k(b.align,.5)}});h;){for(f=a.length;f--;)h=a[f],n=(Math.min.apply(0,h.targets)+Math.max.apply(0,h.targets))/2,h.pos=u(n-h.size*h.align,0,c-h.size);f=a.length;for(h=!1;f--;)0<f&&a[f-1].pos+a[f-1].size>a[f].pos&&(a[f-1].size+=a[f].size,a[f-1].targets=a[f-1].targets.concat(a[f].targets),a[f-1].align=.5,a[f-1].pos+a[f-1].size>c&&(a[f-1].pos=c-a[f-1].size),a.splice(f,1),h=!0)}m.push.apply(m,g);f=0;a.some(function(b){var a=0;if(b.targets.some(function(){m[f].pos=b.pos+a;if("undefined"!==typeof d&&
+Math.abs(m[f].pos-m[f].target)>d)return m.slice(0,f+1).forEach(function(b){delete b.pos}),m.reducedLen=(m.reducedLen||c)-.1*c,m.reducedLen>.1*c&&K.distribute(m,c,d),!0;a+=m[f].size;f++}))return!0});A(m,b)};J.prototype.drawDataLabels=function(){function a(b,a){var c=a.filter;return c?(a=c.operator,b=b[c.property],c=c.value,">"===a&&b>c||"<"===a&&b<c||">="===a&&b>=c||"<="===a&&b<=c||"=="===a&&b==c||"==="===a&&b===c?!0:!1):!0}function f(b,a){var c=[],e;if(y(b)&&!y(a))c=b.map(function(b){return p(b,a)});
+else if(y(a)&&!y(b))c=a.map(function(a){return p(b,a)});else if(y(b)||y(a))for(e=Math.max(b.length,a.length);e--;)c[e]=p(b[e],a[e]);else c=p(b,a);return c}var d=this,b=d.chart,h=d.options,m=h.dataLabels,A=d.points,g,n=d.hasRendered||0,e=m.animation;e=m.defer?I(b,e,d):{defer:0,duration:0};var l=b.renderer;m=f(f(b.options.plotOptions&&b.options.plotOptions.series&&b.options.plotOptions.series.dataLabels,b.options.plotOptions&&b.options.plotOptions[d.type]&&b.options.plotOptions[d.type].dataLabels),
+m);r(this,"drawDataLabels");if(y(m)||m.enabled||d._hasPointLabels){var C=d.plotGroup("dataLabelsGroup","data-labels",n?"inherit":"hidden",m.zIndex||6);C.attr({opacity:+n});!n&&(n=d.dataLabelsGroup)&&(d.visible&&C.show(!0),n[h.animation?"animate":"attr"]({opacity:1},e));A.forEach(function(e){g=L(f(m,e.dlOptions||e.options&&e.options.dataLabels));g.forEach(function(g,f){var n=g.enabled&&(!e.isNull||e.dataLabelOnNull)&&a(e,g),q=e.dataLabels?e.dataLabels[f]:e.dataLabel,m=e.connectors?e.connectors[f]:
+e.connector,x=k(g.distance,e.labelDistance),p=!q;if(n){var w=e.getLabelConfig();var t=k(g[e.formatPrefix+"Format"],g.format);w=c(t)?D(t,w,b):(g[e.formatPrefix+"Formatter"]||g.formatter).call(w,g);t=g.style;var v=g.rotation;b.styledMode||(t.color=k(g.color,t.color,d.color,F.neutralColor100),"contrast"===t.color?(e.contrastColor=l.getContrast(e.color||d.color),t.color=!c(x)&&g.inside||0>x||h.stacking?e.contrastColor:F.neutralColor100):delete e.contrastColor,h.cursor&&(t.cursor=h.cursor));var A={r:g.borderRadius||
+0,rotation:v,padding:g.padding,zIndex:1};b.styledMode||(A.fill=g.backgroundColor,A.stroke=g.borderColor,A["stroke-width"]=g.borderWidth);O(A,function(b,a){"undefined"===typeof b&&delete A[a]})}!q||n&&c(w)?n&&c(w)&&(q?A.text=w:(e.dataLabels=e.dataLabels||[],q=e.dataLabels[f]=v?l.text(w,0,-9999,g.useHTML).addClass("highcharts-data-label"):l.label(w,0,-9999,g.shape,null,null,g.useHTML,null,"data-label"),f||(e.dataLabel=q),q.addClass(" highcharts-data-label-color-"+e.colorIndex+" "+(g.className||"")+
+(g.useHTML?" highcharts-tracker":""))),q.options=g,q.attr(A),b.styledMode||q.css(t).shadow(g.shadow),q.added||q.add(C),g.textPath&&!g.useHTML&&(q.setTextPath(e.getDataLabelPath&&e.getDataLabelPath(q)||e.graphic,g.textPath),e.dataLabelPath&&!g.textPath.enabled&&(e.dataLabelPath=e.dataLabelPath.destroy())),d.alignDataLabel(e,q,g,null,p)):(e.dataLabel=e.dataLabel&&e.dataLabel.destroy(),e.dataLabels&&(1===e.dataLabels.length?delete e.dataLabels:delete e.dataLabels[f]),f||delete e.dataLabel,m&&(e.connector=
+e.connector.destroy(),e.connectors&&(1===e.connectors.length?delete e.connectors:delete e.connectors[f])))})})}r(this,"afterDrawDataLabels")};J.prototype.alignDataLabel=function(c,f,d,b,h){var m=this,p=this.chart,g=this.isCartesian&&p.inverted,n=this.enabledDataSorting,e=k(c.dlBox&&c.dlBox.centerX,c.plotX,-9999),l=k(c.plotY,-9999),C=f.getBBox(),x=d.rotation,w=d.align,q=p.isInsidePlot(e,Math.round(l),{inverted:g,paneCoordinates:!0,series:m}),t="justify"===k(d.overflow,n?"none":"justify"),v=this.visible&&
+!1!==c.visible&&(c.series.forceDL||n&&!t||q||k(d.inside,!!this.options.stacking)&&b&&p.isInsidePlot(e,g?b.x+1:b.y+b.height-1,{inverted:g,paneCoordinates:!0,series:m}));var A=function(b){n&&m.xAxis&&!t&&m.setDataLabelStartPos(c,f,h,q,b)};if(v){var r=p.renderer.fontMetrics(p.styledMode?void 0:d.style.fontSize,f).b;b=a({x:g?this.yAxis.len-l:e,y:Math.round(g?this.xAxis.len-e:l),width:0,height:0},b);a(d,{width:C.width,height:C.height});x?(t=!1,e=p.renderer.rotCorr(r,x),e={x:b.x+(d.x||0)+b.width/2+e.x,
+y:b.y+(d.y||0)+{top:0,middle:.5,bottom:1}[d.verticalAlign]*b.height},A(e),f[h?"attr":"animate"](e).attr({align:w}),A=(x+720)%360,A=180<A&&360>A,"left"===w?e.y-=A?C.height:0:"center"===w?(e.x-=C.width/2,e.y-=C.height/2):"right"===w&&(e.x-=C.width,e.y-=A?0:C.height),f.placed=!0,f.alignAttr=e):(A(b),f.align(d,void 0,b),e=f.alignAttr);t&&0<=b.height?this.justifyDataLabel(f,d,e,C,b,h):k(d.crop,!0)&&(v=p.isInsidePlot(e.x,e.y,{paneCoordinates:!0,series:m})&&p.isInsidePlot(e.x+C.width,e.y+C.height,{paneCoordinates:!0,
+series:m}));if(d.shape&&!x)f[h?"attr":"animate"]({anchorX:g?p.plotWidth-c.plotY:c.plotX,anchorY:g?p.plotHeight-c.plotX:c.plotY})}h&&n&&(f.placed=!1);v||n&&!t||(f.hide(!0),f.placed=!1)};J.prototype.setDataLabelStartPos=function(a,c,k,b,d){var f=this.chart,h=f.inverted,g=this.xAxis,n=g.reversed,e=h?c.height/2:c.width/2;a=(a=a.pointWidth)?a/2:0;g=h?d.x:n?-e-a:g.width-e+a;d=h?n?this.yAxis.height-e+a:-e-a:d.y;c.startXPos=g;c.startYPos=d;b?"hidden"===c.visibility&&(c.show(),c.attr({opacity:0}).animate({opacity:1})):
+c.attr({opacity:1}).animate({opacity:0},void 0,c.hide);f.hasRendered&&(k&&c.attr({x:c.startXPos,y:c.startYPos}),c.placed=!0)};J.prototype.justifyDataLabel=function(a,c,k,b,d,h){var f=this.chart,g=c.align,n=c.verticalAlign,e=a.box?0:a.padding||0,l=c.x;l=void 0===l?0:l;var m=c.y;var x=void 0===m?0:m;m=(k.x||0)+e;if(0>m){"right"===g&&0<=l?(c.align="left",c.inside=!0):l-=m;var p=!0}m=(k.x||0)+b.width-e;m>f.plotWidth&&("left"===g&&0>=l?(c.align="right",c.inside=!0):l+=f.plotWidth-m,p=!0);m=k.y+e;0>m&&
+("bottom"===n&&0<=x?(c.verticalAlign="top",c.inside=!0):x-=m,p=!0);m=(k.y||0)+b.height-e;m>f.plotHeight&&("top"===n&&0>=x?(c.verticalAlign="bottom",c.inside=!0):x+=f.plotHeight-m,p=!0);p&&(c.x=l,c.y=x,a.placed=!h,a.align(c,void 0,d));return p};M.pie&&(M.pie.prototype.dataLabelPositioners={radialDistributionY:function(a){return a.top+a.distributeBox.pos},radialDistributionX:function(a,c,k,b){return a.getX(k<c.top+2||k>c.bottom-2?b:k,c.half,c)},justify:function(a,c,k){return k[0]+(a.half?-1:1)*(c+a.labelDistance)},
+alignToPlotEdges:function(a,c,k,b){a=a.getBBox().width;return c?a+b:k-a-b},alignToConnectors:function(a,c,k,b){var f=0,d;a.forEach(function(b){d=b.dataLabel.getBBox().width;d>f&&(f=d)});return c?f+b:k-f-b}},M.pie.prototype.drawDataLabels=function(){var a=this,f=a.data,d,b=a.chart,h=a.options.dataLabels||{},m=h.connectorPadding,A,g=b.plotWidth,n=b.plotHeight,e=b.plotLeft,l=Math.round(b.chartWidth/3),C,x=a.center,w=x[2]/2,q=x[1],z,r,y,u,L=[[],[]],D,G,I,O,N=[0,0,0,0],M=a.dataLabelPositioners,Q;a.visible&&
+(h.enabled||a._hasPointLabels)&&(f.forEach(function(b){b.dataLabel&&b.visible&&b.dataLabel.shortened&&(b.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),b.dataLabel.shortened=!1)}),J.prototype.drawDataLabels.apply(a),f.forEach(function(b){b.dataLabel&&(b.visible?(L[b.half].push(b),b.dataLabel._pos=null,!c(h.style.width)&&!c(b.options.dataLabels&&b.options.dataLabels.style&&b.options.dataLabels.style.width)&&b.dataLabel.getBBox().width>l&&(b.dataLabel.css({width:Math.round(.7*
+l)+"px"}),b.dataLabel.shortened=!0)):(b.dataLabel=b.dataLabel.destroy(),b.dataLabels&&1===b.dataLabels.length&&delete b.dataLabels))}),L.forEach(function(f,l){var C=f.length,p=[],t;if(C){a.sortByAngle(f,l-.5);if(0<a.maxLabelDistance){var A=Math.max(0,q-w-a.maxLabelDistance);var v=Math.min(q+w+a.maxLabelDistance,b.plotHeight);f.forEach(function(a){0<a.labelDistance&&a.dataLabel&&(a.top=Math.max(0,q-w-a.labelDistance),a.bottom=Math.min(q+w+a.labelDistance,b.plotHeight),t=a.dataLabel.getBBox().height||
+21,a.distributeBox={target:a.labelPosition.natural.y-a.top+t/2,size:t,rank:a.y},p.push(a.distributeBox))});A=v+t-A;K.distribute(p,A,A/5)}for(O=0;O<C;O++){d=f[O];y=d.labelPosition;z=d.dataLabel;I=!1===d.visible?"hidden":"inherit";G=A=y.natural.y;p&&c(d.distributeBox)&&("undefined"===typeof d.distributeBox.pos?I="hidden":(u=d.distributeBox.size,G=M.radialDistributionY(d)));delete d.positionIndex;if(h.justify)D=M.justify(d,w,x);else switch(h.alignTo){case "connectors":D=M.alignToConnectors(f,l,g,e);
+break;case "plotEdges":D=M.alignToPlotEdges(z,l,g,e);break;default:D=M.radialDistributionX(a,d,G,A)}z._attr={visibility:I,align:y.alignment};Q=d.options.dataLabels||{};z._pos={x:D+k(Q.x,h.x)+({left:m,right:-m}[y.alignment]||0),y:G+k(Q.y,h.y)-10};y.final.x=D;y.final.y=G;k(h.crop,!0)&&(r=z.getBBox().width,A=null,D-r<m&&1===l?(A=Math.round(r-D+m),N[3]=Math.max(A,N[3])):D+r>g-m&&0===l&&(A=Math.round(D+r-g+m),N[1]=Math.max(A,N[1])),0>G-u/2?N[0]=Math.max(Math.round(-G+u/2),N[0]):G+u/2>n&&(N[2]=Math.max(Math.round(G+
+u/2-n),N[2])),z.sideOverflow=A)}}}),0===B(N)||this.verifyDataLabelOverflow(N))&&(this.placeDataLabels(),this.points.forEach(function(c){Q=p(h,c.options.dataLabels);if(A=k(Q.connectorWidth,1)){var e;C=c.connector;if((z=c.dataLabel)&&z._pos&&c.visible&&0<c.labelDistance){I=z._attr.visibility;if(e=!C)c.connector=C=b.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+c.colorIndex+(c.className?" "+c.className:"")).add(a.dataLabelsGroup),b.styledMode||C.attr({"stroke-width":A,
+stroke:Q.connectorColor||c.color||F.neutralColor60});C[e?"attr":"animate"]({d:c.getConnectorPath()});C.attr("visibility",I)}else C&&(c.connector=C.destroy())}}))},M.pie.prototype.placeDataLabels=function(){this.points.forEach(function(a){var c=a.dataLabel,k;c&&a.visible&&((k=c._pos)?(c.sideOverflow&&(c._attr.width=Math.max(c.getBBox().width-c.sideOverflow,0),c.css({width:c._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),c.shortened=!0),c.attr(c._attr),
+c[c.moved?"animate":"attr"](k),c.moved=!0):c&&c.attr({y:-9999}));delete a.distributeBox},this)},M.pie.prototype.alignDataLabel=d,M.pie.prototype.verifyDataLabelOverflow=function(a){var c=this.center,k=this.options,b=k.center,d=k.minSize||80,h=null!==k.size;if(!h){if(null!==b[0])var p=Math.max(c[2]-Math.max(a[1],a[3]),d);else p=Math.max(c[2]-a[1]-a[3],d),c[0]+=(a[3]-a[1])/2;null!==b[1]?p=u(p,d,c[2]-Math.max(a[0],a[2])):(p=u(p,d,c[2]-a[0]-a[2]),c[1]+=(a[0]-a[2])/2);p<c[2]?(c[2]=p,c[3]=Math.min(m(k.innerSize||
+0,p),p),this.translate(c),this.drawDataLabels&&this.drawDataLabels()):h=!0}return h});M.column&&(M.column.prototype.alignDataLabel=function(a,c,d,b,h){var f=this.chart.inverted,m=a.series,g=a.dlBox||a.shapeArgs,n=k(a.below,a.plotY>k(this.translatedThreshold,m.yAxis.len)),e=k(d.inside,!!this.options.stacking);g&&(b=p(g),0>b.y&&(b.height+=b.y,b.y=0),g=b.y+b.height-m.yAxis.len,0<g&&g<b.height&&(b.height-=g),f&&(b={x:m.yAxis.len-b.y-b.height,y:m.xAxis.len-b.x-b.width,width:b.height,height:b.width}),e||
+(f?(b.x+=n?0:b.width,b.width=0):(b.y+=n?b.height:0,b.height=0)));d.align=k(d.align,!f||e?"center":n?"right":"left");d.verticalAlign=k(d.verticalAlign,f||e?"middle":n?"top":"bottom");J.prototype.alignDataLabel.call(this,a,c,d,b,h);d.inside&&a.contrastColor&&c.css({color:a.contrastColor})})});Q(d,"Extensions/OverlappingDataLabels.js",[d["Core/Chart/Chart.js"],d["Core/Utilities.js"]],function(d,h){function N(d,h){var c=!1;if(d){var a=d.newOpacity;d.oldOpacity!==a&&(d.alignAttr&&d.placed?(d[a?"removeClass":
+"addClass"]("highcharts-data-label-hidden"),c=!0,d.alignAttr.opacity=a,d[d.isOld?"animate":"attr"](d.alignAttr,null,function(){h.styledMode||d.css({pointerEvents:a?"auto":"none"});d.visibility=a?"inherit":"hidden"}),J(h,"afterHideOverlappingLabel")):d.attr({opacity:a}));d.isOld=!0}return c}var F=h.addEvent,J=h.fireEvent,M=h.isArray,G=h.isNumber,I=h.objectEach,D=h.pick;F(d,"render",function(){var d=this,h=[];(this.labelCollectors||[]).forEach(function(c){h=h.concat(c())});(this.yAxis||[]).forEach(function(c){c.stacking&&
+c.options.stackLabels&&!c.options.stackLabels.allowOverlap&&I(c.stacking.stacks,function(a){I(a,function(a){h.push(a.label)})})});(this.series||[]).forEach(function(c){var a=c.options.dataLabels;c.visible&&(!1!==a.enabled||c._hasPointLabels)&&(a=function(a){return a.forEach(function(a){a.visible&&(M(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[]).forEach(function(c){var p=c.options;c.labelrank=D(p.labelrank,a.labelrank,a.shapeArgs&&a.shapeArgs.height);p.allowOverlap?(c.oldOpacity=c.opacity,
+c.newOpacity=1,N(c,d)):h.push(c)})})},a(c.nodes||[]),a(c.points))});this.hideOverlappingLabels(h)});d.prototype.hideOverlappingLabels=function(d){var h=this,c=d.length,a=h.renderer,r,y,p,B=!1;var k=function(c){var d,f=c.box?0:c.padding||0,k=d=0,b;if(c&&(!c.alignAttr||c.placed)){var h=c.alignAttr||{x:c.attr("x"),y:c.attr("y")};var m=c.parentGroup;c.width||(d=c.getBBox(),c.width=d.width,c.height=d.height,d=a.fontMetrics(null,c.element).h);var p=c.width-2*f;(b={left:"0",center:"0.5",right:"1"}[c.alignValue])?
+k=+b*p:G(c.x)&&Math.round(c.x)!==c.translateX&&(k=c.x-c.translateX);return{x:h.x+(m.translateX||0)+f-(k||0),y:h.y+(m.translateY||0)+f-d,width:c.width-2*f,height:c.height-2*f}}};for(y=0;y<c;y++)if(r=d[y])r.oldOpacity=r.opacity,r.newOpacity=1,r.absoluteBox=k(r);d.sort(function(a,c){return(c.labelrank||0)-(a.labelrank||0)});for(y=0;y<c;y++){var m=(k=d[y])&&k.absoluteBox;for(r=y+1;r<c;++r){var L=(p=d[r])&&p.absoluteBox;!m||!L||k===p||0===k.newOpacity||0===p.newOpacity||L.x>=m.x+m.width||L.x+L.width<=
+m.x||L.y>=m.y+m.height||L.y+L.height<=m.y||((k.labelrank<p.labelrank?k:p).newOpacity=0)}}d.forEach(function(a){N(a,h)&&(B=!0)});B&&J(h,"afterHideAllOverlappingLabels")}});Q(d,"Core/Responsive.js",[d["Core/Chart/Chart.js"],d["Core/Utilities.js"]],function(d,h){var N=h.find,F=h.isArray,J=h.isObject,M=h.merge,G=h.objectEach,I=h.pick,D=h.splat,B=h.uniqueKey;d.prototype.setResponsive=function(d,c){var a=this.options.responsive,h=[],y=this.currentResponsive;!c&&a&&a.rules&&a.rules.forEach(function(a){"undefined"===
+typeof a._id&&(a._id=B());this.matchResponsiveRule(a,h)},this);c=M.apply(0,h.map(function(c){return N(a.rules,function(a){return a._id===c}).chartOptions}));c.isResponsiveOptions=!0;h=h.toString()||void 0;h!==(y&&y.ruleIds)&&(y&&this.update(y.undoOptions,d,!0),h?(y=this.currentOptions(c),y.isResponsiveOptions=!0,this.currentResponsive={ruleIds:h,mergedOptions:c,undoOptions:y},this.update(c,d,!0)):this.currentResponsive=void 0)};d.prototype.matchResponsiveRule=function(d,c){var a=d.condition;(a.callback||
+function(){return this.chartWidth<=I(a.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=I(a.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=I(a.minWidth,0)&&this.chartHeight>=I(a.minHeight,0)}).call(this)&&c.push(d._id)};d.prototype.currentOptions=function(d){function c(d,h,r,k){var m;G(d,function(d,p){if(!k&&-1<a.collectionsWithUpdate.indexOf(p)&&h[p])for(d=D(d),r[p]=[],m=0;m<Math.max(d.length,h[p].length);m++)h[p][m]&&(void 0===d[m]?r[p][m]=h[p][m]:(r[p][m]={},c(d[m],h[p][m],r[p][m],k+1)));else J(d)?
+(r[p]=F(d)?[]:{},c(d,h[p]||{},r[p],k+1)):r[p]="undefined"===typeof h[p]?null:h[p]})}var a=this,h={};c(d,this.options,h,0);return h}});Q(d,"masters/highcharts.src.js",[d["Core/Globals.js"],d["Core/Utilities.js"],d["Core/Options.js"],d["Core/Animation/Fx.js"],d["Core/Animation/AnimationUtilities.js"],d["Core/Renderer/HTML/AST.js"],d["Core/FormatUtilities.js"],d["Core/Renderer/SVG/SVGElement.js"],d["Core/Series/Series.js"]],function(d,h,K,F,J,M,G,I,D){d.animate=J.animate;d.animObject=J.animObject;d.getDeferredAnimation=
+J.getDeferredAnimation;d.setAnimation=J.setAnimation;d.stop=J.stop;d.timers=F.timers;d.AST=M;d.Fx=F;d.Series=D;d.SVGElement=I;d.dateFormat=G.dateFormat;d.format=G.format;d.numberFormat=G.numberFormat;d.defaultOptions=K.defaultOptions;d.getOptions=K.getOptions;d.time=K.defaultTime;d.setOptions=K.setOptions;d.addEvent=h.addEvent;d.arrayMax=h.arrayMax;d.arrayMin=h.arrayMin;d.attr=h.attr;d.clearTimeout=h.clearTimeout;d.correctFloat=h.correctFloat;d.createElement=h.createElement;d.css=h.css;d.defined=
+h.defined;d.destroyObjectProperties=h.destroyObjectProperties;d.discardElement=h.discardElement;d.erase=h.erase;d.error=h.error;d.extend=h.extend;d.extendClass=h.extendClass;d.find=h.find;d.fireEvent=h.fireEvent;d.getMagnitude=h.getMagnitude;d.getStyle=h.getStyle;d.inArray=h.inArray;d.isArray=h.isArray;d.isClass=h.isClass;d.isDOMElement=h.isDOMElement;d.isFunction=h.isFunction;d.isNumber=h.isNumber;d.isObject=h.isObject;d.isString=h.isString;d.keys=h.keys;d.merge=h.merge;d.normalizeTickInterval=h.normalizeTickInterval;
+d.objectEach=h.objectEach;d.offset=h.offset;d.pad=h.pad;d.pick=h.pick;d.pInt=h.pInt;d.relativeLength=h.relativeLength;d.removeEvent=h.removeEvent;d.splat=h.splat;d.stableSort=h.stableSort;d.syncTimeout=h.syncTimeout;d.timeUnits=h.timeUnits;d.uniqueKey=h.uniqueKey;d.useSerialIds=h.useSerialIds;d.wrap=h.wrap;return d});Q(d,"Core/Axis/NavigatorAxis.js",[d["Core/Globals.js"],d["Core/Utilities.js"]],function(d,h){var K=d.isTouchDevice,F=h.addEvent,J=h.correctFloat,M=h.defined,G=h.isNumber,I=h.pick,D=function(){function d(d){this.axis=
+d}d.prototype.destroy=function(){this.axis=void 0};d.prototype.toFixedRange=function(d,c,a,h){var r=this.axis,p=r.chart;p=p&&p.fixedRange;var u=(r.pointRange||0)/2;d=I(a,r.translate(d,!0,!r.horiz));c=I(h,r.translate(c,!0,!r.horiz));r=p&&(c-d)/p;M(a)||(d=J(d+u));M(h)||(c=J(c-u));.7<r&&1.3>r&&(h?d=c-p:c=d+p);G(d)&&G(c)||(d=c=void 0);return{min:d,max:c}};return d}();return function(){function d(){}d.compose=function(d){d.keepProps.push("navigatorAxis");F(d,"init",function(){this.navigatorAxis||(this.navigatorAxis=
+new D(this))});F(d,"zoom",function(c){var a=this.chart.options,d=a.navigator,h=this.navigatorAxis,p=a.chart.pinchType,u=a.rangeSelector;a=a.chart.zoomType;this.isXAxis&&(d&&d.enabled||u&&u.enabled)&&("y"===a?c.zoomed=!1:(!K&&"xy"===a||K&&"xy"===p)&&this.options.range&&(d=h.previousZoom,M(c.newMin)?h.previousZoom=[this.min,this.max]:d&&(c.newMin=d[0],c.newMax=d[1],h.previousZoom=void 0)));"undefined"!==typeof c.zoomed&&c.preventDefault()})};d.AdditionsClass=D;return d}()});Q(d,"Core/Axis/ScrollbarAxis.js",
+[d["Core/Utilities.js"]],function(d){var h=d.addEvent,K=d.defined,F=d.pick;return function(){function d(){}d.compose=function(d,G){var I=function(d){var h=F(d.options&&d.options.min,d.min),u=F(d.options&&d.options.max,d.max);return{axisMin:h,axisMax:u,scrollMin:K(d.dataMin)?Math.min(h,d.min,d.dataMin,F(d.threshold,Infinity)):h,scrollMax:K(d.dataMax)?Math.max(u,d.max,d.dataMax,F(d.threshold,-Infinity)):u}};h(d,"afterInit",function(){var d=this;d.options&&d.options.scrollbar&&d.options.scrollbar.enabled&&
+(d.options.scrollbar.vertical=!d.horiz,d.options.startOnTick=d.options.endOnTick=!1,d.scrollbar=new G(d.chart.renderer,d.options.scrollbar,d.chart),h(d.scrollbar,"changed",function(h){var u=I(d),c=u.axisMax,a=u.scrollMin,r=u.scrollMax-a;K(u.axisMin)&&K(c)&&(d.horiz&&!d.reversed||!d.horiz&&d.reversed?(u=a+r*this.to,a+=r*this.from):(u=a+r*(1-this.from),a+=r*(1-this.to)),this.shouldUpdateExtremes(h.DOMType)?d.setExtremes(a,u,!0,"mousemove"!==h.DOMType&&"touchmove"!==h.DOMType,h):this.setRange(this.from,
+this.to))}))});h(d,"afterRender",function(){var d=I(this),h=d.scrollMin,u=d.scrollMax;d=this.scrollbar;var c=this.axisTitleMargin+(this.titleOffset||0),a=this.chart.scrollbarsOffsets,r=this.options.margin||0;d&&(this.horiz?(this.opposite||(a[1]+=c),d.position(this.left,this.top+this.height+2+a[1]-(this.opposite?r:0),this.width,this.height),this.opposite||(a[1]+=r),c=1):(this.opposite&&(a[0]+=c),d.position(this.left+this.width+2+a[0]-(this.opposite?0:r),this.top,this.width,this.height),this.opposite&&
+(a[0]+=r),c=0),a[c]+=d.size+d.options.margin,isNaN(h)||isNaN(u)||!K(this.min)||!K(this.max)||this.min===this.max?d.setRange(0,1):(a=(this.min-h)/(u-h),h=(this.max-h)/(u-h),this.horiz&&!this.reversed||!this.horiz&&this.reversed?d.setRange(a,h):d.setRange(1-h,1-a)))});h(d,"afterGetOffset",function(){var d=this.horiz?2:1,h=this.scrollbar;h&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[d]+=h.size+h.options.margin)})};return d}()});Q(d,"Core/Scrollbar.js",[d["Core/Axis/Axis.js"],d["Core/Globals.js"],
+d["Core/Color/Palette.js"],d["Core/Axis/ScrollbarAxis.js"],d["Core/Utilities.js"],d["Core/Options.js"]],function(d,h,K,F,J,M){var G=J.addEvent,I=J.correctFloat,D=J.defined,B=J.destroyObjectProperties,u=J.fireEvent,c=J.merge,a=J.pick,r=J.removeEvent;J=M.defaultOptions;var y=h.isTouchDevice,p=h.swapXY=function(a,c){c&&a.forEach(function(a){for(var c=a.length,d,k=0;k<c;k+=2)d=a[k+1],"number"===typeof d&&(a[k+1]=a[k+2],a[k+2]=d)});return a};M=function(){function d(a,c,d){this._events=[];this.from=this.chartY=
+this.chartX=0;this.scrollbar=this.group=void 0;this.scrollbarButtons=[];this.scrollbarGroup=void 0;this.scrollbarLeft=0;this.scrollbarRifles=void 0;this.scrollbarStrokeWidth=1;this.to=this.size=this.scrollbarTop=0;this.track=void 0;this.trackBorderWidth=1;this.userOptions={};this.y=this.x=0;this.chart=d;this.options=c;this.renderer=d.renderer;this.init(a,c,d)}d.prototype.addEvents=function(){var a=this.options.inverted?[1,0]:[0,1],c=this.scrollbarButtons,d=this.scrollbarGroup.element,p=this.track.element,
+t=this.mouseDownHandler.bind(this),f=this.mouseMoveHandler.bind(this),r=this.mouseUpHandler.bind(this);a=[[c[a[0]].element,"click",this.buttonToMinClick.bind(this)],[c[a[1]].element,"click",this.buttonToMaxClick.bind(this)],[p,"click",this.trackClick.bind(this)],[d,"mousedown",t],[d.ownerDocument,"mousemove",f],[d.ownerDocument,"mouseup",r]];h.hasTouch&&a.push([d,"touchstart",t],[d.ownerDocument,"touchmove",f],[d.ownerDocument,"touchend",r]);a.forEach(function(b){G.apply(null,b)});this._events=a};
+d.prototype.buttonToMaxClick=function(c){var d=(this.to-this.from)*a(this.options.step,.2);this.updatePosition(this.from+d,this.to+d);u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:c})};d.prototype.buttonToMinClick=function(c){var d=I(this.to-this.from)*a(this.options.step,.2);this.updatePosition(I(this.from-d),I(this.to-d));u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:c})};d.prototype.cursorToScrollbarPosition=function(a){var c=this.options;c=
+c.minWidth>this.calculatedWidth?c.minWidth:0;return{chartX:(a.chartX-this.x-this.xOffset)/(this.barWidth-c),chartY:(a.chartY-this.y-this.yOffset)/(this.barWidth-c)}};d.prototype.destroy=function(){var a=this.chart.scroller;this.removeEvents();["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(a){this[a]&&this[a].destroy&&(this[a]=this[a].destroy())},this);a&&this===a.scrollbar&&(a.scrollbar=null,B(a.scrollbarButtons))};d.prototype.drawScrollbarButton=function(a){var c=
+this.renderer,d=this.scrollbarButtons,k=this.options,h=this.size;var f=c.g().add(this.group);d.push(f);f=c.rect().addClass("highcharts-scrollbar-button").add(f);this.chart.styledMode||f.attr({stroke:k.buttonBorderColor,"stroke-width":k.buttonBorderWidth,fill:k.buttonBackgroundColor});f.attr(f.crisp({x:-.5,y:-.5,width:h+1,height:h+1,r:k.buttonBorderRadius},f.strokeWidth()));f=c.path(p([["M",h/2+(a?-1:1),h/2-3],["L",h/2+(a?-1:1),h/2+3],["L",h/2+(a?2:-2),h/2]],k.vertical)).addClass("highcharts-scrollbar-arrow").add(d[a]);
+this.chart.styledMode||f.attr({fill:k.buttonArrowColor})};d.prototype.init=function(k,h,p){this.scrollbarButtons=[];this.renderer=k;this.userOptions=h;this.options=c(d.defaultOptions,h);this.chart=p;this.size=a(this.options.size,this.options.height);h.enabled&&(this.render(),this.addEvents())};d.prototype.mouseDownHandler=function(a){a=this.chart.pointer.normalize(a);a=this.cursorToScrollbarPosition(a);this.chartX=a.chartX;this.chartY=a.chartY;this.initPositions=[this.from,this.to];this.grabbedCenter=
+!0};d.prototype.mouseMoveHandler=function(a){var c=this.chart.pointer.normalize(a),d=this.options.vertical?"chartY":"chartX",k=this.initPositions||[];!this.grabbedCenter||a.touches&&0===a.touches[0][d]||(c=this.cursorToScrollbarPosition(c)[d],d=this[d],d=c-d,this.hasDragged=!0,this.updatePosition(k[0]+d,k[1]+d),this.hasDragged&&u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:a.type,DOMEvent:a}))};d.prototype.mouseUpHandler=function(a){this.hasDragged&&u(this,"changed",{from:this.from,
+to:this.to,trigger:"scrollbar",DOMType:a.type,DOMEvent:a});this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null};d.prototype.position=function(a,c,d,h){var k=this.options.vertical,f=0,m=this.rendered?"animate":"attr";this.x=a;this.y=c+this.trackBorderWidth;this.width=d;this.xOffset=this.height=h;this.yOffset=f;k?(this.width=this.yOffset=d=f=this.size,this.xOffset=c=0,this.barWidth=h-2*d,this.x=a+=this.options.margin):(this.height=this.xOffset=h=c=this.size,this.barWidth=d-2*h,this.y+=this.options.margin);
+this.group[m]({translateX:a,translateY:this.y});this.track[m]({width:d,height:h});this.scrollbarButtons[1][m]({translateX:k?0:d-c,translateY:k?h-f:0})};d.prototype.removeEvents=function(){this._events.forEach(function(a){r.apply(null,a)});this._events.length=0};d.prototype.render=function(){var a=this.renderer,c=this.options,d=this.size,h=this.chart.styledMode,t;this.group=t=a.g("scrollbar").attr({zIndex:c.zIndex,translateY:-99999}).add();this.track=a.rect().addClass("highcharts-scrollbar-track").attr({x:0,
+r:c.trackBorderRadius||0,height:d,width:d}).add(t);h||this.track.attr({fill:c.trackBackgroundColor,stroke:c.trackBorderColor,"stroke-width":c.trackBorderWidth});this.trackBorderWidth=this.track.strokeWidth();this.track.attr({y:-this.trackBorderWidth%2/2});this.scrollbarGroup=a.g().add(t);this.scrollbar=a.rect().addClass("highcharts-scrollbar-thumb").attr({height:d,width:d,r:c.barBorderRadius||0}).add(this.scrollbarGroup);this.scrollbarRifles=a.path(p([["M",-3,d/4],["L",-3,2*d/3],["M",0,d/4],["L",
+0,2*d/3],["M",3,d/4],["L",3,2*d/3]],c.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup);h||(this.scrollbar.attr({fill:c.barBackgroundColor,stroke:c.barBorderColor,"stroke-width":c.barBorderWidth}),this.scrollbarRifles.attr({stroke:c.rifleColor,"stroke-width":1}));this.scrollbarStrokeWidth=this.scrollbar.strokeWidth();this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2);this.drawScrollbarButton(0);this.drawScrollbarButton(1)};d.prototype.setRange=
+function(a,c){var d=this.options,k=d.vertical,h=d.minWidth,f=this.barWidth,m,b=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(D(f)){a=Math.max(a,0);var p=Math.ceil(f*a);this.calculatedWidth=m=I(f*Math.min(c,1)-p);m<h&&(p=(f-h+m)*a,m=h);h=Math.floor(p+this.xOffset+this.yOffset);f=m/2-.5;this.from=a;this.to=c;k?(this.scrollbarGroup[b]({translateY:h}),this.scrollbar[b]({height:m}),this.scrollbarRifles[b]({translateY:f}),this.scrollbarTop=h,
+this.scrollbarLeft=0):(this.scrollbarGroup[b]({translateX:h}),this.scrollbar[b]({width:m}),this.scrollbarRifles[b]({translateX:f}),this.scrollbarLeft=h,this.scrollbarTop=0);12>=m?this.scrollbarRifles.hide():this.scrollbarRifles.show(!0);!1===d.showFull&&(0>=a&&1<=c?this.group.hide():this.group.show());this.rendered=!0}};d.prototype.shouldUpdateExtremes=function(c){return a(this.options.liveRedraw,h.svg&&!h.isTouchDevice&&!this.chart.isBoosting)||"mouseup"===c||"touchend"===c||!D(c)};d.prototype.trackClick=
+function(a){var c=this.chart.pointer.normalize(a),d=this.to-this.from,k=this.y+this.scrollbarTop,h=this.x+this.scrollbarLeft;this.options.vertical&&c.chartY>k||!this.options.vertical&&c.chartX>h?this.updatePosition(this.from+d,this.to+d):this.updatePosition(this.from-d,this.to-d);u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:a})};d.prototype.update=function(a){this.destroy();this.init(this.chart.renderer,c(!0,this.options,a),this.chart)};d.prototype.updatePosition=function(a,
+c){1<c&&(a=I(1-I(c-a)),c=1);0>a&&(c=I(c-a),a=0);this.from=a;this.to=c};d.defaultOptions={height:y?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,margin:10,minWidth:6,step:.2,zIndex:3,barBackgroundColor:K.neutralColor20,barBorderWidth:1,barBorderColor:K.neutralColor20,buttonArrowColor:K.neutralColor80,buttonBackgroundColor:K.neutralColor10,buttonBorderColor:K.neutralColor20,buttonBorderWidth:1,rifleColor:K.neutralColor80,trackBackgroundColor:K.neutralColor5,trackBorderColor:K.neutralColor5,
+trackBorderWidth:1};return d}();h.Scrollbar||(J.scrollbar=c(!0,M.defaultOptions,J.scrollbar),h.Scrollbar=M,F.compose(d,M));return h.Scrollbar});Q(d,"Core/Navigator.js",[d["Core/Axis/Axis.js"],d["Core/Chart/Chart.js"],d["Core/Color/Color.js"],d["Core/Globals.js"],d["Core/Axis/NavigatorAxis.js"],d["Core/Options.js"],d["Core/Color/Palette.js"],d["Core/Scrollbar.js"],d["Core/Series/Series.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M,G,I,D,B,u){K=K.parse;var c=F.hasTouch,
+a=F.isTouchDevice,r=M.defaultOptions,y=u.addEvent,p=u.clamp,O=u.correctFloat,k=u.defined,m=u.destroyObjectProperties,L=u.erase,A=u.extend,t=u.find,f=u.isArray,v=u.isNumber,b=u.merge,E=u.pick,N=u.removeEvent,H=u.splat,g=function(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];b=[].filter.call(b,v);if(b.length)return Math[a].apply(0,b)};M="undefined"===typeof B.seriesTypes.areaspline?"line":"areaspline";A(r,{navigator:{height:40,margin:25,maskInside:!0,handles:{width:7,height:15,symbols:["navigator-handle",
+"navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:G.neutralColor5,borderColor:G.neutralColor40},maskFill:K(G.highlightColor60).setOpacity(.3).get(),outlineColor:G.neutralColor20,outlineWidth:1,series:{type:M,fillOpacity:.05,lineWidth:1,compare:null,dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",
+[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{overscroll:0,className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:G.neutralColor10,gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:G.neutralColor40},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",
+gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}});F.Renderer.prototype.symbols["navigator-handle"]=function(a,b,c,d,g){a=(g&&g.width||0)/2;b=Math.round(a/3)+.5;g=g&&g.height||0;return[["M",-a-1,.5],["L",a,.5],["L",a,g+.5],["L",-a-1,g+.5],["L",-a-1,.5],["M",-b,4],["L",-b,g-3],["M",b-1,4],["L",b-1,g-3]]};var n=function(){function e(a){this.zoomedMin=this.zoomedMax=this.yAxis=this.xAxis=this.top=this.size=
+this.shades=this.rendered=this.range=this.outlineHeight=this.outline=this.opposite=this.navigatorSize=this.navigatorSeries=this.navigatorOptions=this.navigatorGroup=this.navigatorEnabled=this.left=this.height=this.handles=this.chart=this.baseSeries=void 0;this.init(a)}e.prototype.drawHandle=function(a,b,c,e){var d=this.navigatorOptions.handles.height;this.handles[b][e](c?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(a,10)+.5-d)}:{translateX:Math.round(this.left+
+parseInt(a,10)),translateY:Math.round(this.top+this.height/2-d/2-1)})};e.prototype.drawOutline=function(a,b,c,e){var d=this.navigatorOptions.maskInside,g=this.outline.strokeWidth(),f=g/2,l=g%2/2;g=this.outlineHeight;var k=this.scrollbarHeight||0,h=this.size,n=this.left-k,m=this.top;c?(n-=f,c=m+b+l,b=m+a+l,l=[["M",n+g,m-k-l],["L",n+g,c],["L",n,c],["L",n,b],["L",n+g,b],["L",n+g,m+h+k]],d&&l.push(["M",n+g,c-f],["L",n+g,b+f])):(a+=n+k-l,b+=n+k-l,m+=f,l=[["M",n,m],["L",a,m],["L",a,m+g],["L",b,m+g],["L",
+b,m],["L",n+h+2*k,m]],d&&l.push(["M",a-f,m],["L",b+f,m]));this.outline[e]({d:l})};e.prototype.drawMasks=function(a,b,c,e){var d=this.left,g=this.top,f=this.height;if(c){var l=[d,d,d];var k=[g,g+a,g+b];var n=[f,f,f];var h=[a,b-a,this.size-b]}else l=[d,d+a,d+b],k=[g,g,g],n=[a,b-a,this.size-b],h=[f,f,f];this.shades.forEach(function(a,b){a[e]({x:l[b],y:k[b],width:n[b],height:h[b]})})};e.prototype.renderElements=function(){var a=this,b=a.navigatorOptions,c=b.maskInside,e=a.chart,d=e.renderer,g,f={cursor:e.inverted?
+"ns-resize":"ew-resize"};a.navigatorGroup=g=d.g("navigator").attr({zIndex:8,visibility:"hidden"}).add();[!c,c,!c].forEach(function(c,l){a.shades[l]=d.rect().addClass("highcharts-navigator-mask"+(1===l?"-inside":"-outside")).add(g);e.styledMode||a.shades[l].attr({fill:c?b.maskFill:"rgba(0,0,0,0)"}).css(1===l&&f)});a.outline=d.path().addClass("highcharts-navigator-outline").add(g);e.styledMode||a.outline.attr({"stroke-width":b.outlineWidth,stroke:b.outlineColor});b.handles.enabled&&[0,1].forEach(function(c){b.handles.inverted=
+e.inverted;a.handles[c]=d.symbol(b.handles.symbols[c],-b.handles.width/2-1,0,b.handles.width,b.handles.height,b.handles);a.handles[c].attr({zIndex:7-c}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][c]).add(g);if(!e.styledMode){var l=b.handles;a.handles[c].attr({fill:l.backgroundColor,stroke:l.borderColor,"stroke-width":l.lineWidth}).css(f)}})};e.prototype.update=function(a){(this.series||[]).forEach(function(a){a.baseSeries&&delete a.baseSeries.navigatorSeries});
+this.destroy();b(!0,this.chart.options.navigator,this.options,a);this.init(this.chart)};e.prototype.render=function(a,b,c,e){var d=this.chart,g=this.scrollbarHeight,f,l=this.xAxis,n=l.pointRange||0;var h=l.navigatorAxis.fake?d.xAxis[0]:l;var m=this.navigatorEnabled,x,C=this.rendered;var w=d.inverted;var t=d.xAxis[0].minRange,r=d.xAxis[0].options.maxRange;if(!this.hasDragged||k(c)){a=O(a-n/2);b=O(b+n/2);if(!v(a)||!v(b))if(C)c=0,e=E(l.width,h.width);else return;this.left=E(l.left,d.plotLeft+g+(w?d.plotWidth:
+0));this.size=x=f=E(l.len,(w?d.plotHeight:d.plotWidth)-2*g);d=w?g:f+2*g;c=E(c,l.toPixels(a,!0));e=E(e,l.toPixels(b,!0));v(c)&&Infinity!==Math.abs(c)||(c=0,e=d);a=l.toValue(c,!0);b=l.toValue(e,!0);var y=Math.abs(O(b-a));y<t?this.grabbedLeft?c=l.toPixels(b-t-n,!0):this.grabbedRight&&(e=l.toPixels(a+t+n,!0)):k(r)&&O(y-n)>r&&(this.grabbedLeft?c=l.toPixels(b-r-n,!0):this.grabbedRight&&(e=l.toPixels(a+r+n,!0)));this.zoomedMax=p(Math.max(c,e),0,x);this.zoomedMin=p(this.fixedWidth?this.zoomedMax-this.fixedWidth:
+Math.min(c,e),0,x);this.range=this.zoomedMax-this.zoomedMin;x=Math.round(this.zoomedMax);c=Math.round(this.zoomedMin);m&&(this.navigatorGroup.attr({visibility:"visible"}),C=C&&!this.hasDragged?"animate":"attr",this.drawMasks(c,x,w,C),this.drawOutline(c,x,w,C),this.navigatorOptions.handles.enabled&&(this.drawHandle(c,0,w,C),this.drawHandle(x,1,w,C)));this.scrollbar&&(w?(w=this.top-g,h=this.left-g+(m||!h.opposite?0:(h.titleOffset||0)+h.axisTitleMargin),g=f+2*g):(w=this.top+(m?this.height:-g),h=this.left-
+g),this.scrollbar.position(h,w,d,g),this.scrollbar.setRange(this.zoomedMin/(f||1),this.zoomedMax/(f||1)));this.rendered=!0}};e.prototype.addMouseEvents=function(){var a=this,b=a.chart,e=b.container,d=[],g,f;a.mouseMoveHandler=g=function(b){a.onMouseMove(b)};a.mouseUpHandler=f=function(b){a.onMouseUp(b)};d=a.getPartsEvents("mousedown");d.push(y(b.renderTo,"mousemove",g),y(e.ownerDocument,"mouseup",f));c&&(d.push(y(b.renderTo,"touchmove",g),y(e.ownerDocument,"touchend",f)),d.concat(a.getPartsEvents("touchstart")));
+a.eventsToUnbind=d;a.series&&a.series[0]&&d.push(y(a.series[0].xAxis,"foundExtremes",function(){b.navigator.modifyNavigatorAxisExtremes()}))};e.prototype.getPartsEvents=function(a){var b=this,c=[];["shades","handles"].forEach(function(e){b[e].forEach(function(d,g){c.push(y(d.element,a,function(a){b[e+"Mousedown"](a,g)}))})});return c};e.prototype.shadesMousedown=function(a,b){a=this.chart.pointer.normalize(a);var c=this.chart,e=this.xAxis,d=this.zoomedMin,g=this.left,f=this.size,l=this.range,n=a.chartX;
+c.inverted&&(n=a.chartY,g=this.top);if(1===b)this.grabbedCenter=n,this.fixedWidth=l,this.dragOffset=n-d;else{a=n-g-l/2;if(0===b)a=Math.max(0,a);else if(2===b&&a+l>=f)if(a=f-l,this.reversedExtremes){a-=l;var h=this.getUnionExtremes().dataMin}else var m=this.getUnionExtremes().dataMax;a!==d&&(this.fixedWidth=l,b=e.navigatorAxis.toFixedRange(a,a+l,h,m),k(b.min)&&c.xAxis[0].setExtremes(Math.min(b.min,b.max),Math.max(b.min,b.max),!0,null,{trigger:"navigator"}))}};e.prototype.handlesMousedown=function(a,
+b){this.chart.pointer.normalize(a);a=this.chart;var c=a.xAxis[0],e=this.reversedExtremes;0===b?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=e?c.min:c.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=e?c.max:c.min);a.fixedRange=null};e.prototype.onMouseMove=function(b){var c=this,e=c.chart,d=c.left,g=c.navigatorSize,f=c.range,l=c.dragOffset,k=e.inverted;b.touches&&0===b.touches[0].pageX||(b=e.pointer.normalize(b),e=b.chartX,k&&(d=c.top,e=
+b.chartY),c.grabbedLeft?(c.hasDragged=!0,c.render(0,0,e-d,c.otherHandlePos)):c.grabbedRight?(c.hasDragged=!0,c.render(0,0,c.otherHandlePos,e-d)):c.grabbedCenter&&(c.hasDragged=!0,e<l?e=l:e>g+l-f&&(e=g+l-f),c.render(0,0,e-l,e-l+f)),c.hasDragged&&c.scrollbar&&E(c.scrollbar.options.liveRedraw,F.svg&&!a&&!this.chart.isBoosting)&&(b.DOMType=b.type,setTimeout(function(){c.onMouseUp(b)},0)))};e.prototype.onMouseUp=function(a){var b=this.chart,c=this.xAxis,e=this.scrollbar,d=a.DOMEvent||a,g=b.inverted,f=
+this.rendered&&!this.hasDragged?"animate":"attr";if(this.hasDragged&&(!e||!e.hasDragged)||"scrollbar"===a.trigger){e=this.getUnionExtremes();if(this.zoomedMin===this.otherHandlePos)var l=this.fixedExtreme;else if(this.zoomedMax===this.otherHandlePos)var n=this.fixedExtreme;this.zoomedMax===this.size&&(n=this.reversedExtremes?e.dataMin:e.dataMax);0===this.zoomedMin&&(l=this.reversedExtremes?e.dataMax:e.dataMin);c=c.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,l,n);k(c.min)&&b.xAxis[0].setExtremes(Math.min(c.min,
+c.max),Math.max(c.min,c.max),!0,this.hasDragged?!1:null,{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:d})}"mousemove"!==a.DOMType&&"touchmove"!==a.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null);this.navigatorEnabled&&v(this.zoomedMin)&&v(this.zoomedMax)&&(b=Math.round(this.zoomedMin),a=Math.round(this.zoomedMax),this.shades&&this.drawMasks(b,a,g,f),this.outline&&this.drawOutline(b,
+a,g,f),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(b,0,g,f),this.drawHandle(a,1,g,f)))};e.prototype.removeEvents=function(){this.eventsToUnbind&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind=void 0);this.removeBaseSeriesEvents()};e.prototype.removeBaseSeriesEvents=function(){var a=this.baseSeries||[];this.navigatorEnabled&&a[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&a.forEach(function(a){N(a,"updatedData",
+this.updatedDataHandler)},this),a[0].xAxis&&N(a[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))};e.prototype.init=function(a){var c=a.options,e=c.navigator,f=e.enabled,k=c.scrollbar,l=k.enabled;c=f?e.height:0;var n=l?k.height:0;this.handles=[];this.shades=[];this.chart=a;this.setBaseSeries();this.height=c;this.scrollbarHeight=n;this.scrollbarEnabled=l;this.navigatorEnabled=f;this.navigatorOptions=e;this.scrollbarOptions=k;this.outlineHeight=c+n;this.opposite=E(e.opposite,!(f||!a.inverted));
+var h=this;f=h.baseSeries;k=a.xAxis.length;l=a.yAxis.length;var m=f&&f[0]&&f[0].xAxis||a.xAxis[0]||{options:{}};a.isDirtyBox=!0;h.navigatorEnabled?(h.xAxis=new d(a,b({breaks:m.options.breaks,ordinal:m.options.ordinal},e.xAxis,{id:"navigator-x-axis",yAxis:"navigator-y-axis",isX:!0,type:"datetime",index:k,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},a.inverted?{offsets:[n,0,-n,0],width:c}:{offsets:[0,-n,0,n],height:c})),h.yAxis=new d(a,
+b(e.yAxis,{id:"navigator-y-axis",alignTicks:!1,offset:0,index:l,isInternal:!0,reversed:E(e.yAxis&&e.yAxis.reversed,a.yAxis[0]&&a.yAxis[0].reversed,!1),zoomEnabled:!1},a.inverted?{width:c}:{height:c})),f||e.series.data?h.updateNavigatorSeries(!1):0===a.series.length&&(h.unbindRedraw=y(a,"beforeRedraw",function(){0<a.series.length&&!h.series&&(h.setBaseSeries(),h.unbindRedraw())})),h.reversedExtremes=a.inverted&&!h.xAxis.reversed||!a.inverted&&h.xAxis.reversed,h.renderElements(),h.addMouseEvents()):
+(h.xAxis={chart:a,navigatorAxis:{fake:!0},translate:function(b,c){var e=a.xAxis[0],d=e.getExtremes(),f=e.len-2*n,k=g("min",e.options.min,d.dataMin);e=g("max",e.options.max,d.dataMax)-k;return c?b*e/f+k:f*(b-k)/e},toPixels:function(a){return this.translate(a)},toValue:function(a){return this.translate(a,!0)}},h.xAxis.navigatorAxis.axis=h.xAxis,h.xAxis.navigatorAxis.toFixedRange=J.AdditionsClass.prototype.toFixedRange.bind(h.xAxis.navigatorAxis));a.options.scrollbar.enabled&&(a.scrollbar=h.scrollbar=
+new I(a.renderer,b(a.options.scrollbar,{margin:h.navigatorEnabled?0:10,vertical:a.inverted}),a),y(h.scrollbar,"changed",function(a){var b=h.size,c=b*this.to;b*=this.from;h.hasDragged=h.scrollbar.hasDragged;h.render(0,0,b,c);this.shouldUpdateExtremes(a.DOMType)&&setTimeout(function(){h.onMouseUp(a)})}));h.addBaseSeriesEvents();h.addChartEvents()};e.prototype.getUnionExtremes=function(a){var b=this.chart.xAxis[0],c=this.xAxis,e=c.options,d=b.options,f;a&&null===b.dataMin||(f={dataMin:E(e&&e.min,g("min",
+d.min,b.dataMin,c.dataMin,c.min)),dataMax:E(e&&e.max,g("max",d.max,b.dataMax,c.dataMax,c.max))});return f};e.prototype.setBaseSeries=function(a,b){var c=this.chart,e=this.baseSeries=[];a=a||c.options&&c.options.navigator.baseSeries||(c.series.length?t(c.series,function(a){return!a.options.isInternal}).index:0);(c.series||[]).forEach(function(b,c){b.options.isInternal||!b.options.showInNavigator&&(c!==a&&b.options.id!==a||!1===b.options.showInNavigator)||e.push(b)});this.xAxis&&!this.xAxis.navigatorAxis.fake&&
+this.updateNavigatorSeries(!0,b)};e.prototype.updateNavigatorSeries=function(a,c){var e=this,d=e.chart,g=e.baseSeries,k,l,h=e.navigatorOptions.series,n,m={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:"navigator-x-axis",yAxis:"navigator-y-axis",showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},p=e.series=(e.series||[]).filter(function(a){var b=a.baseSeries;return 0>g.indexOf(b)?(b&&(N(b,"updatedData",e.updatedDataHandler),delete b.navigatorSeries),
+a.chart&&a.destroy(),!1):!0});g&&g.length&&g.forEach(function(a){var q=a.navigatorSeries,x=A({color:a.color,visible:a.visible},f(h)?r.navigator.series:h);q&&!1===e.navigatorOptions.adaptToUpdatedData||(m.name="Navigator "+g.length,k=a.options||{},n=k.navigatorOptions||{},x.dataLabels=H(x.dataLabels),l=b(k,m,x,n),l.pointRange=E(x.pointRange,n.pointRange,r.plotOptions[l.type||"line"].pointRange),x=n.data||x.data,e.hasNavigatorData=e.hasNavigatorData||!!x,l.data=x||k.data&&k.data.slice(0),q&&q.options?
+q.update(l,c):(a.navigatorSeries=d.initSeries(l),a.navigatorSeries.baseSeries=a,p.push(a.navigatorSeries)))});if(h.data&&(!g||!g.length)||f(h))e.hasNavigatorData=!1,h=H(h),h.forEach(function(a,c){m.name="Navigator "+(p.length+1);l=b(r.navigator.series,{color:d.series[c]&&!d.series[c].options.isInternal&&d.series[c].color||d.options.colors[c]||d.options.colors[0]},m,a);l.data=a.data;l.data&&(e.hasNavigatorData=!0,p.push(d.initSeries(l)))});a&&this.addBaseSeriesEvents()};e.prototype.addBaseSeriesEvents=
+function(){var a=this,b=a.baseSeries||[];b[0]&&b[0].xAxis&&b[0].eventsToUnbind.push(y(b[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes));b.forEach(function(b){b.eventsToUnbind.push(y(b,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)}));b.eventsToUnbind.push(y(b,"hide",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)}));!1!==this.navigatorOptions.adaptToUpdatedData&&b.xAxis&&b.eventsToUnbind.push(y(b,"updatedData",this.updatedDataHandler));
+b.eventsToUnbind.push(y(b,"remove",function(){this.navigatorSeries&&(L(a.series,this.navigatorSeries),k(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)}))},this)};e.prototype.getBaseSeriesMin=function(a){return this.baseSeries.reduce(function(a,b){return Math.min(a,b.xData?b.xData[0]:a)},a)};e.prototype.modifyNavigatorAxisExtremes=function(){var a=this.xAxis,b;"undefined"!==typeof a.getExtremes&&(!(b=this.getUnionExtremes(!0))||b.dataMin===a.min&&b.dataMax===
+a.max||(a.min=b.dataMin,a.max=b.dataMax))};e.prototype.modifyBaseAxisExtremes=function(){var a=this.chart.navigator,b=this.getExtremes(),c=b.dataMin,e=b.dataMax;b=b.max-b.min;var d=a.stickToMin,g=a.stickToMax,f=E(this.options.overscroll,0),k=a.series&&a.series[0],h=!!this.setExtremes;if(!this.eventArgs||"rangeSelectorButton"!==this.eventArgs.trigger){if(d){var n=c;var m=n+b}g&&(m=e+f,d||(n=Math.max(c,m-b,a.getBaseSeriesMin(k&&k.xData?k.xData[0]:-Number.MAX_VALUE))));h&&(d||g)&&v(n)&&(this.min=this.userMin=
+n,this.max=this.userMax=m)}a.stickToMin=a.stickToMax=null};e.prototype.updatedDataHandler=function(){var a=this.chart.navigator,b=this.navigatorSeries,c=a.getBaseSeriesMin(this.xData[0]);a.stickToMax=a.reversedExtremes?0===Math.round(a.zoomedMin):Math.round(a.zoomedMax)>=Math.round(a.size);a.stickToMin=v(this.xAxis.min)&&this.xAxis.min<=c&&(!this.chart.fixedRange||!a.stickToMax);b&&!a.hasNavigatorData&&(b.options.pointStart=this.xData[0],b.setData(this.options.data,!1,null,!1))};e.prototype.addChartEvents=
+function(){this.eventsToUnbind||(this.eventsToUnbind=[]);this.eventsToUnbind.push(y(this.chart,"redraw",function(){var a=this.navigator,b=a&&(a.baseSeries&&a.baseSeries[0]&&a.baseSeries[0].xAxis||this.xAxis[0]);b&&a.render(b.min,b.max)}),y(this.chart,"getMargins",function(){var a=this.navigator,b=a.opposite?"plotTop":"marginBottom";this.inverted&&(b=a.opposite?"marginRight":"plotLeft");this[b]=(this[b]||0)+(a.navigatorEnabled||!this.inverted?a.outlineHeight:0)+a.navigatorOptions.margin}))};e.prototype.destroy=
+function(){this.removeEvents();this.xAxis&&(L(this.chart.xAxis,this.xAxis),L(this.chart.axes,this.xAxis));this.yAxis&&(L(this.chart.yAxis,this.yAxis),L(this.chart.axes,this.yAxis));(this.series||[]).forEach(function(a){a.destroy&&a.destroy()});"series xAxis yAxis shades outline scrollbarTrack scrollbarRifles scrollbarGroup scrollbar navigatorGroup rendered".split(" ").forEach(function(a){this[a]&&this[a].destroy&&this[a].destroy();this[a]=null},this);[this.handles].forEach(function(a){m(a)},this)};
+return e}();F.Navigator||(F.Navigator=n,J.compose(d),y(h,"beforeShowResetZoom",function(){var b=this.options,c=b.navigator,d=b.rangeSelector;if((c&&c.enabled||d&&d.enabled)&&(!a&&"x"===b.chart.zoomType||a&&"x"===b.chart.pinchType))return!1}),y(h,"beforeRender",function(){var a=this.options;if(a.navigator.enabled||a.scrollbar.enabled)this.scroller=this.navigator=new n(this)}),y(h,"afterSetChartSize",function(){var a=this.legend,b=this.navigator;if(b){var c=a&&a.options;var d=b.xAxis;var g=b.yAxis;
+var f=b.scrollbarHeight;this.inverted?(b.left=b.opposite?this.chartWidth-f-b.height:this.spacing[3]+f,b.top=this.plotTop+f):(b.left=this.plotLeft+f,b.top=b.navigatorOptions.top||this.chartHeight-b.height-f-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(c&&"bottom"===c.verticalAlign&&"proximate"!==c.layout&&c.enabled&&!c.floating?a.legendHeight+E(c.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0));d&&g&&(this.inverted?d.options.left=g.options.left=
+b.left:d.options.top=g.options.top=b.top,d.setAxisSize(),g.setAxisSize())}}),y(h,"update",function(a){var c=a.options.navigator||{},e=a.options.scrollbar||{};this.navigator||this.scroller||!c.enabled&&!e.enabled||(b(!0,this.options.navigator,c),b(!0,this.options.scrollbar,e),delete a.options.navigator,delete a.options.scrollbar)}),y(h,"afterUpdate",function(a){this.navigator||this.scroller||!this.options.navigator.enabled&&!this.options.scrollbar.enabled||(this.scroller=this.navigator=new n(this),
+E(a.redraw,!0)&&this.redraw(a.animation))}),y(h,"afterAddSeries",function(){this.navigator&&this.navigator.setBaseSeries(null,!1)}),y(D,"afterUpdate",function(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}),h.prototype.callbacks.push(function(a){var b=a.navigator;b&&a.xAxis[0]&&(a=a.xAxis[0].getExtremes(),b.render(a.min,a.max))}));F.Navigator=n;return F.Navigator});Q(d,"Core/Axis/OrdinalAxis.js",[d["Core/Axis/Axis.js"],d["Core/Globals.js"],d["Core/Series/Series.js"],
+d["Core/Utilities.js"],d["Core/Chart/Chart.js"]],function(d,h,K,F,J){var M=F.addEvent,G=F.css,I=F.defined,D=F.error,B=F.pick,u=F.timeUnits,c;(function(a){var c=function(){function a(a){this.index={};this.axis=a}a.prototype.beforeSetTickPositions=function(){var a=this.axis,c=a.ordinal,d=[],h,r=!1,A=a.getExtremes(),t=A.min,f=A.max,v,b=a.isXAxis&&!!a.options.breaks;A=a.options.ordinal;var y=Number.MAX_VALUE,u=a.chart.options.chart.ignoreHiddenSeries,H;if(A||b){a.series.forEach(function(a,c){h=[];if(!(u&&
+!1===a.visible||!1===a.takeOrdinalPosition&&!b)&&(d=d.concat(a.processedXData),g=d.length,d.sort(function(a,b){return a-b}),y=Math.min(y,B(a.closestPointRange,y)),g)){for(c=0;c<g-1;)d[c]!==d[c+1]&&h.push(d[c+1]),c++;h[0]!==d[0]&&h.unshift(d[0]);d=h}a.isSeriesBoosting&&(H=!0)});H&&(d.length=0);var g=d.length;if(2<g){var n=d[1]-d[0];for(v=g-1;v--&&!r;)d[v+1]-d[v]!==n&&(r=!0);!a.options.keepOrdinalPadding&&(d[0]-t>n||f-d[d.length-1]>n)&&(r=!0)}else a.options.overscroll&&(2===g?y=d[1]-d[0]:1===g?(y=a.options.overscroll,
+d=[d[0],d[0]+y]):y=c.overscrollPointsRange);r||a.forceOrdinal?(a.options.overscroll&&(c.overscrollPointsRange=y,d=d.concat(c.getOverscrollPositions())),c.positions=d,n=a.ordinal2lin(Math.max(t,d[0]),!0),v=Math.max(a.ordinal2lin(Math.min(f,d[d.length-1]),!0),1),c.slope=f=(f-t)/(v-n),c.offset=t-n*f):(c.overscrollPointsRange=B(a.closestPointRange,c.overscrollPointsRange),c.positions=a.ordinal.slope=c.offset=void 0)}a.isOrdinal=A&&r;c.groupIntervalFactor=null};a.prototype.getExtendedPositions=function(){var a=
+this,c=a.axis,d=c.constructor.prototype,m=c.chart,r=c.series[0].currentDataGrouping,y=a.index,t=r?r.count+r.unitName:"raw",f=c.options.overscroll,v=c.getExtremes(),b;y||(y=a.index={});if(!y[t]){var u={series:[],chart:m,forceOrdinal:!1,getExtremes:function(){return{min:v.dataMin,max:v.dataMax+f}},getGroupPixelWidth:d.getGroupPixelWidth,getTimeTicks:d.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:d.ordinal2lin,val2lin:d.val2lin};u.ordinal.axis=
+u;c.series.forEach(function(c){b={xAxis:u,xData:c.xData.slice(),chart:m,destroyGroupedData:h.noop,getProcessedData:K.prototype.getProcessedData};b.xData=b.xData.concat(a.getOverscrollPositions());b.options={dataGrouping:r?{enabled:!0,forced:!0,approximation:"open",units:[[r.unitName,[r.count]]]}:{enabled:!1}};u.series.push(b);c.processData.apply(b);b.closestPointRange!==b.basePointRange&&b.currentDataGrouping&&(u.forceOrdinal=!0)});c.ordinal.beforeSetTickPositions.apply({axis:u});y[t]=u.ordinal.positions}return y[t]};
+a.prototype.getGroupIntervalFactor=function(a,c,d){d=d.processedXData;var k=d.length,h=[];var p=this.groupIntervalFactor;if(!p){for(p=0;p<k-1;p++)h[p]=d[p+1]-d[p];h.sort(function(a,c){return a-c});h=h[Math.floor(k/2)];a=Math.max(a,d[0]);c=Math.min(c,d[k-1]);this.groupIntervalFactor=p=k*h/(c-a)}return p};a.prototype.getOverscrollPositions=function(){var a=this.axis,c=a.options.overscroll,d=this.overscrollPointsRange,h=[],r=a.dataMax;if(I(d))for(h.push(r);r<=a.dataMax+c;)r+=d,h.push(r);return h};a.prototype.postProcessTickInterval=
+function(a){var c=this.axis,d=this.slope;return d?c.options.breaks?c.closestPointRange||a:a/(d/c.closestPointRange):a};return a}();a.Composition=c;a.compose=function(c,d,h){c.keepProps.push("ordinal");var k=c.prototype;c.prototype.getTimeTicks=function(a,c,d,k,f,h,b){void 0===f&&(f=[]);void 0===h&&(h=0);var m=0,p,t,g={},n=[],e=-Number.MAX_VALUE,l=this.options.tickPixelInterval,C=this.chart.time,x=[];if(!this.options.ordinal&&!this.options.breaks||!f||3>f.length||"undefined"===typeof c)return C.getTimeTicks.apply(C,
+arguments);var w=f.length;for(p=0;p<w;p++){var q=p&&f[p-1]>d;f[p]<c&&(m=p);if(p===w-1||f[p+1]-f[p]>5*h||q){if(f[p]>e){for(t=C.getTimeTicks(a,f[m],f[p],k);t.length&&t[0]<=e;)t.shift();t.length&&(e=t[t.length-1]);x.push(n.length);n=n.concat(t)}m=p+1}if(q)break}if(t){t=t.info;if(b&&t.unitRange<=u.hour){p=n.length-1;for(m=1;m<p;m++)if(C.dateFormat("%d",n[m])!==C.dateFormat("%d",n[m-1])){g[n[m]]="day";var r=!0}r&&(g[n[0]]="day");t.higherRanks=g}t.segmentStarts=x;n.info=t}else D(12,!1,this.chart);if(b&&
+I(l)){m=t=n.length;r=[];C=void 0;for(x=[];m--;)p=this.translate(n[m]),C&&(x[m]=C-p),r[m]=C=p;x.sort();x=x[Math.floor(x.length/2)];x<.6*l&&(x=null);m=n[t-1]>d?t-1:t;for(C=void 0;m--;)p=r[m],t=Math.abs(C-p),C&&t<.8*l&&(null===x||t<.8*x)?(g[n[m]]&&!g[n[m+1]]?(t=m+1,C=p):t=m,n.splice(t,1)):C=p}return n};k.lin2val=function(a,c){var d=this.ordinal,k=d.positions;if(k){var f=d.slope,h=d.offset;d=k.length-1;var b=void 0;if(c)0>a?a=k[0]:a>d?a=k[d]:(d=Math.floor(a),b=a-d);else for(;d--;)if(c=f*d+h,a>=c){f=f*
+(d+1)+h;b=(a-c)/(f-c);break}return"undefined"!==typeof b&&"undefined"!==typeof k[d]?k[d]+(b?b*(k[d+1]-k[d]):0):a}return a};k.val2lin=function(a,c){var d=this.ordinal,k=d.positions;if(k){var f=k.length,h,b=void 0;for(h=f;h--;)if(k[h]===a){b=h;break}for(h=f-1;h--;)if(a>k[h]||0===h){a=(a-k[h])/(k[h+1]-k[h]);b=h+a;break}c=c?b:d.slope*(b||0)+d.offset}else c=a;return c};k.ordinal2lin=k.val2lin;M(c,"afterInit",function(){this.ordinal||(this.ordinal=new a.Composition(this))});M(c,"foundExtremes",function(){this.isXAxis&&
+I(this.options.overscroll)&&this.max===this.dataMax&&(!this.chart.mouseIsDown||this.isInternal)&&(!this.eventArgs||this.eventArgs&&"navigator"!==this.eventArgs.trigger)&&(this.max+=this.options.overscroll,!this.isInternal&&I(this.userMin)&&(this.min+=this.options.overscroll))});M(c,"afterSetScale",function(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)});M(c,"initialAxisTranslation",function(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),
+this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))});M(d,"pan",function(a){var c=this.xAxis[0],d=c.options.overscroll,k=a.originalEvent.chartX,f=this.options.chart.panning,h=!1;if(f&&"y"!==f.type&&c.options.ordinal&&c.series.length){var b=this.mouseDownX,m=c.getExtremes(),p=m.dataMax,r=m.min,g=m.max,n=void 0;n=this.hoverPoints;var e=c.closestPointRange||c.ordinal&&c.ordinal.overscrollPointsRange;b=(b-k)/(c.translationSlope*(c.ordinal.slope||e));e={ordinal:{positions:c.ordinal.getExtendedPositions()}};
+var l=void 0,C=void 0,x=c.lin2val,w=c.val2lin,q=void 0;e.ordinal.positions?1<Math.abs(b)&&(n&&n.forEach(function(a){a.setState()}),0>b?(C=e,q=c.ordinal.positions?c:e):(C=c.ordinal.positions?c:e,q=e),l=q.ordinal.positions,p>l[l.length-1]&&l.push(p),this.fixedRange=g-r,n=c.navigatorAxis.toFixedRange(null,null,x.apply(C,[w.apply(C,[r,!0])+b,!0]),x.apply(q,[w.apply(q,[g,!0])+b,!0])),n.min>=Math.min(m.dataMin,r)&&n.max<=Math.max(p,g)+d&&c.setExtremes(n.min,n.max,!0,!1,{trigger:"pan"}),this.mouseDownX=
+k,G(this.container,{cursor:"move"})):h=!0}else h=!0;h||f&&/y/.test(f.type)?d&&(c.max=c.dataMax+d):a.preventDefault()});M(h,"updatedData",function(){var a=this.xAxis;a&&a.options.ordinal&&delete a.ordinal.index})}})(c||(c={}));c.compose(d,J,K);return c});Q(d,"Core/Axis/BrokenAxis.js",[d["Core/Axis/Axis.js"],d["Core/Series/Series.js"],d["Extensions/Stacking.js"],d["Core/Utilities.js"]],function(d,h,K,F){var J=F.addEvent,M=F.find,G=F.fireEvent,I=F.isArray,D=F.isNumber,B=F.pick,u=function(){function c(a){this.hasBreaks=
+!1;this.axis=a}c.isInBreak=function(a,c){var d=a.repeat||Infinity,h=a.from,r=a.to-a.from;c=c>=h?(c-h)%d:d-(h-c)%d;return a.inclusive?c<=r:c<r&&0!==c};c.lin2Val=function(a){var d=this.brokenAxis;d=d&&d.breakArray;if(!d||!D(a))return a;var h;for(h=0;h<d.length;h++){var p=d[h];if(p.from>=a)break;else p.to<a?a+=p.len:c.isInBreak(p,a)&&(a+=p.len)}return a};c.val2Lin=function(a){var d=this.brokenAxis;d=d&&d.breakArray;if(!d||!D(a))return a;var h=a,p;for(p=0;p<d.length;p++){var u=d[p];if(u.to<=a)h-=u.len;
+else if(u.from>=a)break;else if(c.isInBreak(u,a)){h-=a-u.from;break}}return h};c.prototype.findBreakAt=function(a,c){return M(c,function(c){return c.from<a&&a<c.to})};c.prototype.isInAnyBreak=function(a,d){var h=this.axis,p=h.options.breaks||[],r=p.length,k;if(r&&D(a)){for(;r--;)if(c.isInBreak(p[r],a)){var m=!0;k||(k=B(p[r].showPoints,!h.isXAxis))}var u=m&&d?m&&!k:m}return u};c.prototype.setBreaks=function(a,h){var r=this,p=r.axis,u=I(a)&&!!a.length;p.isDirty=r.hasBreaks!==u;r.hasBreaks=u;p.options.breaks=
+p.userOptions.breaks=a;p.forceRedraw=!0;p.series.forEach(function(a){a.isDirty=!0});u||p.val2lin!==c.val2Lin||(delete p.val2lin,delete p.lin2val);u&&(p.userOptions.ordinal=!1,p.lin2val=c.lin2Val,p.val2lin=c.val2Lin,p.setExtremes=function(a,c,h,p,t){if(r.hasBreaks){for(var f,k=this.options.breaks;f=r.findBreakAt(a,k);)a=f.to;for(;f=r.findBreakAt(c,k);)c=f.from;c<a&&(c=a)}d.prototype.setExtremes.call(this,a,c,h,p,t)},p.setAxisTranslation=function(){d.prototype.setAxisTranslation.call(this);r.unitLength=
+void 0;if(r.hasBreaks){var a=p.options.breaks||[],h=[],u=[],y=0,t,f=p.userMin||p.min,v=p.userMax||p.max,b=B(p.pointRangePadding,0),E;a.forEach(function(a){t=a.repeat||Infinity;D(f)&&D(v)&&(c.isInBreak(a,f)&&(f+=a.to%t-f%t),c.isInBreak(a,v)&&(v-=v%t-a.from%t))});a.forEach(function(a){H=a.from;t=a.repeat||Infinity;if(D(f)&&D(v)){for(;H-t>f;)H-=t;for(;H<f;)H+=t;for(E=H;E<v;E+=t)h.push({value:E,move:"in"}),h.push({value:E+a.to-a.from,move:"out",size:a.breakSize})}});h.sort(function(a,b){return a.value===
+b.value?("in"===a.move?0:1)-("in"===b.move?0:1):a.value-b.value});var F=0;var H=f;h.forEach(function(a){F+="in"===a.move?1:-1;1===F&&"in"===a.move&&(H=a.value);0===F&&D(H)&&(u.push({from:H,to:a.value,len:a.value-H-(a.size||0)}),y+=a.value-H-(a.size||0))});r.breakArray=u;D(f)&&D(v)&&D(p.min)&&(r.unitLength=v-f-y+b,G(p,"afterBreaks"),p.staticScale?p.transA=p.staticScale:r.unitLength&&(p.transA*=(v-p.min+b)/r.unitLength),b&&(p.minPixelPadding=p.transA*(p.minPointOffset||0)),p.min=f,p.max=v)}});B(h,!0)&&
+p.chart.redraw()};return c}();F=function(){function c(){}c.compose=function(a,c){a.keepProps.push("brokenAxis");var d=h.prototype;d.drawBreaks=function(a,c){var d=this,h=d.points,p,r,t,f;if(a&&a.brokenAxis&&a.brokenAxis.hasBreaks){var u=a.brokenAxis;c.forEach(function(b){p=u&&u.breakArray||[];r=a.isXAxis?a.min:B(d.options.threshold,a.min);h.forEach(function(c){f=B(c["stack"+b.toUpperCase()],c[b]);p.forEach(function(b){if(D(r)&&D(f)){t=!1;if(r<b.from&&f>b.to||r>b.from&&f<b.from)t="pointBreak";else if(r<
+b.from&&f>b.from&&f<b.to||r>b.from&&f>b.to&&f<b.from)t="pointInBreak";t&&G(a,t,{point:c,brk:b})}})})})}};d.gappedPath=function(){var a=this.currentDataGrouping,c=a&&a.gapSize;a=this.options.gapSize;var d=this.points.slice(),h=d.length-1,r=this.yAxis,u;if(a&&0<h)for("value"!==this.options.gapUnit&&(a*=this.basePointRange),c&&c>a&&c>=this.basePointRange&&(a=c),u=void 0;h--;)u&&!1!==u.visible||(u=d[h+1]),c=d[h],!1!==u.visible&&!1!==c.visible&&(u.x-c.x>a&&(u=(c.x+u.x)/2,d.splice(h+1,0,{isNull:!0,x:u}),
+r.stacking&&this.options.stacking&&(u=r.stacking.stacks[this.stackKey][u]=new K(r,r.options.stackLabels,!1,u,this.stack),u.total=0)),u=c);return this.getGraphPath(d)};J(a,"init",function(){this.brokenAxis||(this.brokenAxis=new u(this))});J(a,"afterInit",function(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)});J(a,"afterSetTickPositions",function(){var a=this.brokenAxis;if(a&&a.hasBreaks){var c=this.tickPositions,d=this.tickPositions.info,h=[],r;for(r=0;r<
+c.length;r++)a.isInAnyBreak(c[r])||h.push(c[r]);this.tickPositions=h;this.tickPositions.info=d}});J(a,"afterSetOptions",function(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)});J(c,"afterGeneratePoints",function(){var a=this.options.connectNulls,c=this.points,d=this.xAxis,h=this.yAxis;if(this.isDirty)for(var r=c.length;r--;){var u=c[r],t=!(null===u.y&&!1===a)&&(d&&d.brokenAxis&&d.brokenAxis.isInAnyBreak(u.x,!0)||h&&h.brokenAxis&&h.brokenAxis.isInAnyBreak(u.y,!0));u.visible=
+t?!1:!1!==u.options.visible}});J(c,"afterRender",function(){this.drawBreaks(this.xAxis,["x"]);this.drawBreaks(this.yAxis,B(this.pointArrayMap,["y"]))})};return c}();F.compose(d,h);return F});Q(d,"masters/modules/broken-axis.src.js",[],function(){});Q(d,"Extensions/DataGrouping.js",[d["Core/Axis/Axis.js"],d["Core/Axis/DateTimeAxis.js"],d["Core/FormatUtilities.js"],d["Core/Globals.js"],d["Core/Series/Point.js"],d["Core/Series/Series.js"],d["Core/Tooltip.js"],d["Core/Options.js"],d["Core/Utilities.js"]],
+function(d,h,K,F,J,M,G,I,D){var B=K.format,u=M.prototype;K=D.addEvent;var c=D.arrayMax,a=D.arrayMin,r=D.correctFloat,y=D.defined,p=D.error,N=D.extend,k=D.isNumber,m=D.merge,L=D.pick;"";var A=F.approximations={sum:function(a){var b=a.length;if(!b&&a.hasNulls)var c=null;else if(b)for(c=0;b--;)c+=a[b];return c},average:function(a){var b=a.length;a=A.sum(a);k(a)&&b&&(a=r(a/b));return a},averages:function(){var a=[];[].forEach.call(arguments,function(b){a.push(A.average(b))});return"undefined"===typeof a[0]?
+void 0:a},open:function(a){return a.length?a[0]:a.hasNulls?null:void 0},high:function(a){return a.length?c(a):a.hasNulls?null:void 0},low:function(b){return b.length?a(b):b.hasNulls?null:void 0},close:function(a){return a.length?a[a.length-1]:a.hasNulls?null:void 0},ohlc:function(a,b,c,e){a=A.open(a);b=A.high(b);c=A.low(c);e=A.close(e);if(k(a)||k(b)||k(c)||k(e))return[a,b,c,e]},range:function(a,b){a=A.low(a);b=A.high(b);if(k(a)||k(b))return[a,b];if(null===a&&null===b)return null}};D=function(a,b,
+c,e){var d=this,g=d.data,f=d.options&&d.options.data,h=[],n=[],p=[],r=a.length,t=!!b,u=[],v=d.pointArrayMap,B=v&&v.length,E=["x"].concat(v||["y"]),D=this.options.dataGrouping&&this.options.dataGrouping.groupAll,H=0,G=0,F;e="function"===typeof e?e:A[e]?A[e]:A[d.getDGApproximation&&d.getDGApproximation()||"average"];B?v.forEach(function(){u.push([])}):u.push([]);var L=B||1;for(F=0;F<=r&&!(a[F]>=c[0]);F++);for(F;F<=r;F++){for(;"undefined"!==typeof c[H+1]&&a[F]>=c[H+1]||F===r;){var I=c[H];d.dataGroupInfo=
+{start:D?G:d.cropStart+G,length:u[0].length};var J=e.apply(d,u);d.pointClass&&!y(d.dataGroupInfo.options)&&(d.dataGroupInfo.options=m(d.pointClass.prototype.optionsToObject.call({series:d},d.options.data[d.cropStart+G])),E.forEach(function(a){delete d.dataGroupInfo.options[a]}));"undefined"!==typeof J&&(h.push(I),n.push(J),p.push(d.dataGroupInfo));G=F;for(I=0;I<L;I++)u[I].length=0,u[I].hasNulls=!1;H+=1;if(F===r)break}if(F===r)break;if(v){I=d.options.dataGrouping&&d.options.dataGrouping.groupAll?F:
+d.cropStart+F;J=g&&g[I]||d.pointClass.prototype.applyOptions.apply({series:d},[f[I]]);var K=void 0;for(I=0;I<B;I++)K=J[v[I]],k(K)?u[I].push(K):null===K&&(u[I].hasNulls=!0)}else I=t?b[F]:null,k(I)?u[0].push(I):null===I&&(u[0].hasNulls=!0)}return{groupedXData:h,groupedYData:n,groupMap:p}};var t={approximations:A,groupData:D},f=u.processData,v=u.generatePoints,b={groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %b %e, %H:%M:%S.%L","%A, %b %e, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %b %e, %H:%M:%S",
+"%A, %b %e, %H:%M:%S","-%H:%M:%S"],minute:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],hour:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],day:["%A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],week:["Week from %A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},E={line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5}},P=F.defaultDataGroupingUnits=
+[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]];u.getDGApproximation=function(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("column")?"sum":"average"};u.groupData=D;u.processData=function(){var a=this.chart,b=this.options.dataGrouping,c=!1!==this.allowDG&&b&&L(b.enabled,a.options.isStock),e=this.visible||!a.options.chart.ignoreHiddenSeries,
+d,m=this.currentDataGrouping,x=!1;this.forceCrop=c;this.groupPixelWidth=null;this.hasProcessed=!0;c&&!this.requireSorting&&(this.requireSorting=x=!0);c=!1===f.apply(this,arguments)||!c;x&&(this.requireSorting=!1);if(!c){this.destroyGroupedData();var w=b.groupAll?this.xData:this.processedXData,q=b.groupAll?this.yData:this.processedYData;c=a.plotSizeX;x=this.xAxis;var r=x.options.ordinal,t=this.groupPixelWidth=x.getGroupPixelWidth&&x.getGroupPixelWidth();if(t&&w&&w.length){this.isDirty=d=!0;this.points=
+null;var v=x.getExtremes();var A=v.min;v=v.max;r=r&&x.ordinal&&x.ordinal.getGroupIntervalFactor(A,v,this)||1;c=x.getTimeTicks(h.AdditionsClass.prototype.normalizeTimeTickInterval(t*(v-A)/c*r,b.units||P),Math.min(A,w[0]),Math.max(v,w[w.length-1]),x.options.startOfWeek,w,this.closestPointRange);t=u.groupData.apply(this,[w,q,c,b.approximation]);w=t.groupedXData;q=t.groupedYData;r=0;b&&b.smoothed&&w.length&&(b.firstAnchor="firstPoint",b.anchor="middle",b.lastAnchor="lastPoint",p(32,!1,a,{"dataGrouping.smoothed":"use dataGrouping.anchor"}));
+a=w;var B=this.options.dataGrouping;A=this.currentDataGrouping&&this.currentDataGrouping.gapSize;if(B&&this.xData&&A&&this.groupMap){var E=a.length-1;var D=B.anchor;var G=L(B.firstAnchor,D);B=L(B.lastAnchor,D);if(D&&"start"!==D){var F=A*{middle:.5,end:1}[D];for(D=a.length-1;D--&&0<D;)a[D]+=F}if(G&&"start"!==G&&this.xData[0]>=a[0]){D=this.groupMap[0].start;F=this.groupMap[0].length;var I=void 0;k(D)&&k(F)&&(I=D+(F-1));a[0]={middle:a[0]+.5*A,end:a[0]+A,firstPoint:this.xData[0],lastPoint:I&&this.xData[I]}[G]}B&&
+"start"!==B&&A&&a[E]>=v-A&&(v=this.groupMap[this.groupMap.length-1].start,a[E]={middle:a[E]+.5*A,end:a[E]+A,firstPoint:v&&this.xData[v],lastPoint:this.xData[this.xData.length-1]}[B])}for(v=1;v<c.length;v++)c.info.segmentStarts&&-1!==c.info.segmentStarts.indexOf(v)||(r=Math.max(c[v]-c[v-1],r));v=c.info;v.gapSize=r;this.closestPointRange=c.info.totalRange;this.groupMap=t.groupMap;if(e){e=w;if(y(e[0])&&k(x.min)&&k(x.dataMin)&&e[0]<x.min){if(!y(x.options.min)&&x.min<=x.dataMin||x.min===x.dataMin)x.min=
+Math.min(e[0],x.min);x.dataMin=Math.min(e[0],x.dataMin)}if(y(e[e.length-1])&&k(x.max)&&k(x.dataMax)&&e[e.length-1]>x.max){if(!y(x.options.max)&&k(x.dataMax)&&x.max>=x.dataMax||x.max===x.dataMax)x.max=Math.max(e[e.length-1],x.max);x.dataMax=Math.max(e[e.length-1],x.dataMax)}}b.groupAll&&(b=this.cropData(w,q,x.min,x.max,1),w=b.xData,q=b.yData,this.cropStart=b.start);this.processedXData=w;this.processedYData=q}else this.groupMap=null;this.hasGroupedData=d;this.currentDataGrouping=v;this.preventGraphAnimation=
+(m&&m.totalRange)!==(v&&v.totalRange)}};u.destroyGroupedData=function(){this.groupedData&&(this.groupedData.forEach(function(a,b){a&&(this.groupedData[b]=a.destroy?a.destroy():null)},this),this.groupedData.length=0)};u.generatePoints=function(){v.apply(this);this.destroyGroupedData();this.groupedData=this.hasGroupedData?this.points:null};K(J,"update",function(){if(this.dataGroup)return p(24,!1,this.series.chart),!1});K(G,"headerFormatter",function(a){var c=this.chart,d=c.time,e=a.labelConfig,f=e.series,
+h=f.tooltipOptions,m=f.options.dataGrouping,p=h.xDateFormat,q=f.xAxis,r=h[(a.isFooter?"footer":"header")+"Format"];if(q&&"datetime"===q.options.type&&m&&k(e.key)){var t=f.currentDataGrouping;m=m.dateTimeLabelFormats||b.dateTimeLabelFormats;if(t)if(h=m[t.unitName],1===t.count)p=h[0];else{p=h[1];var u=h[2]}else!p&&m&&(p=this.getXDateFormat(e,h,q));p=d.dateFormat(p,e.key);u&&(p+=d.dateFormat(u,e.key+t.totalRange-1));f.chart.styledMode&&(r=this.styledModeFormat(r));a.text=B(r,{point:N(e.point,{key:p}),
+series:f},c);a.preventDefault()}});K(M,"destroy",u.destroyGroupedData);K(M,"afterSetOptions",function(a){a=a.options;var c=this.type,d=this.chart.options.plotOptions,e=I.defaultOptions.plotOptions[c].dataGrouping,f=this.useCommonDataGrouping&&b;if(E[c]||f){e||(e=m(b,E[c]));var h=this.chart.rangeSelector;a.dataGrouping=m(f,e,d.series&&d.series.dataGrouping,d[c].dataGrouping,this.userOptions.dataGrouping,!a.isInternal&&h&&k(h.selected)&&h.buttonOptions[h.selected].dataGrouping)}});K(d,"afterSetScale",
+function(){this.series.forEach(function(a){a.hasProcessed=!1})});d.prototype.getGroupPixelWidth=function(){var a=this.series,c=a.length,d,e=0,f=!1,k;for(d=c;d--;)(k=a[d].options.dataGrouping)&&(e=Math.max(e,L(k.groupPixelWidth,b.groupPixelWidth)));for(d=c;d--;)(k=a[d].options.dataGrouping)&&a[d].hasProcessed&&(c=(a[d].processedXData||a[d].data).length,a[d].groupPixelWidth||c>this.chart.plotSizeX/e||c&&k.forced)&&(f=!0);return f?e:0};d.prototype.setDataGrouping=function(a,b){var c;b=L(b,!0);a||(a=
+{forced:!1,units:null});if(this instanceof d)for(c=this.series.length;c--;)this.series[c].update({dataGrouping:a},!1);else this.chart.options.series.forEach(function(b){b.dataGrouping=a},!1);this.ordinal&&(this.ordinal.slope=void 0);b&&this.chart.redraw()};F.dataGrouping=t;"";return t});Q(d,"Series/OHLC/OHLCPoint.js",[d["Core/Series/SeriesRegistry.js"]],function(d){var h=this&&this.__extends||function(){var d=function(h,J){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=
+h}||function(d,h){for(var G in h)h.hasOwnProperty(G)&&(d[G]=h[G])};return d(h,J)};return function(h,J){function F(){this.constructor=h}d(h,J);h.prototype=null===J?Object.create(J):(F.prototype=J.prototype,new F)}}();return function(d){function F(){var h=null!==d&&d.apply(this,arguments)||this;h.close=void 0;h.high=void 0;h.low=void 0;h.open=void 0;h.options=void 0;h.plotClose=void 0;h.plotOpen=void 0;h.series=void 0;return h}h(F,d);F.prototype.getClassName=function(){return d.prototype.getClassName.call(this)+
+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")};F.prototype.resolveUpColor=function(){this.open<this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)};F.prototype.resolveColor=function(){d.prototype.resolveColor.call(this);this.resolveUpColor()};F.prototype.getZone=function(){var h=d.prototype.getZone.call(this);this.resolveUpColor();return h};return F}(d.seriesTypes.column.prototype.pointClass)});Q(d,"Series/OHLC/OHLCSeries.js",
+[d["Series/OHLC/OHLCPoint.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,h,K){var F=this&&this.__extends||function(){var d=function(h,B){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var a in c)c.hasOwnProperty(a)&&(d[a]=c[a])};return d(h,B)};return function(h,B){function u(){this.constructor=h}d(h,B);h.prototype=null===B?Object.create(B):(u.prototype=B.prototype,new u)}}(),J=h.seriesTypes.column,M=K.extend,G=K.merge;
+K=function(d){function h(){var h=null!==d&&d.apply(this,arguments)||this;h.data=void 0;h.options=void 0;h.points=void 0;h.yData=void 0;return h}F(h,d);h.prototype.drawPoints=function(){var d=this,h=d.chart,c=function(a,c,d){var h=a[0];a=a[1];"number"===typeof h[2]&&(h[2]=Math.max(d+c,h[2]));"number"===typeof a[2]&&(a[2]=Math.min(d-c,a[2]))};d.points.forEach(function(a){var r=a.graphic,u=!r;if("undefined"!==typeof a.plotY){r||(a.graphic=r=h.renderer.path().add(d.group));h.styledMode||r.attr(d.pointAttribs(a,
+a.selected&&"select"));var p=r.strokeWidth();var B=p%2/2;var k=Math.round(a.plotX)-B;var m=Math.round(a.shapeArgs.width/2);var D=[["M",k,Math.round(a.yBottom)],["L",k,Math.round(a.plotHigh)]];if(null!==a.open){var A=Math.round(a.plotOpen)+B;D.push(["M",k,A],["L",k-m,A]);c(D,p/2,A)}null!==a.close&&(A=Math.round(a.plotClose)+B,D.push(["M",k,A],["L",k+m,A]),c(D,p/2,A));r[u?"attr":"animate"]({d:D}).addClass(a.getClassName(),!0)}})};h.prototype.init=function(){d.prototype.init.apply(this,arguments);this.options.stacking=
+void 0};h.prototype.pointAttribs=function(h,u){u=d.prototype.pointAttribs.call(this,h,u);var c=this.options;delete u.fill;!h.options.color&&c.upColor&&h.open<h.close&&(u.stroke=c.upColor);return u};h.prototype.toYData=function(d){return[d.open,d.high,d.low,d.close]};h.prototype.translate=function(){var h=this,u=h.yAxis,c=!!h.modifyValue,a=["plotOpen","plotHigh","plotLow","plotClose","yBottom"];d.prototype.translate.apply(h);h.points.forEach(function(d){[d.open,d.high,d.low,d.close,d.low].forEach(function(r,
+p){null!==r&&(c&&(r=h.modifyValue(r)),d[a[p]]=u.toPixels(r,!0))});d.tooltipPos[1]=d.plotHigh+u.pos-h.chart.plotTop})};h.defaultOptions=G(J.defaultOptions,{lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Open: {point.open}<br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0});return h}(J);M(K.prototype,{animate:null,directTouch:!1,pointArrayMap:["open","high",
+"low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"});K.prototype.pointClass=d;h.registerSeriesType("ohlc",K);"";return K});Q(d,"Series/Candlestick/CandlestickSeries.js",[d["Core/Options.js"],d["Core/Color/Palette.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,h,K,F){var J=this&&this.__extends||function(){var d=function(h,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&
+(a[d]=c[d])};return d(h,c)};return function(h,c){function a(){this.constructor=h}d(h,c);h.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),M=d.defaultOptions;d=K.seriesTypes;var G=d.column,I=d.ohlc,D=F.merge;F=function(d){function u(){var c=null!==d&&d.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}J(u,d);u.prototype.pointAttribs=function(c,a){var d=G.prototype.pointAttribs.call(this,c,a),h=this.options,p=c.open<c.close,u=h.lineColor||this.color,
+k=c.color||this.color;d["stroke-width"]=h.lineWidth;d.fill=c.options.color||(p?h.upColor||k:k);d.stroke=c.options.lineColor||(p?h.upLineColor||u:u);a&&(c=h.states[a],d.fill=c.color||d.fill,d.stroke=c.lineColor||d.stroke,d["stroke-width"]=c.lineWidth||d["stroke-width"]);return d};u.prototype.drawPoints=function(){var c=this,a=c.chart,d=c.yAxis.reversed;c.points.forEach(function(h){var p=h.graphic,r=!p;if("undefined"!==typeof h.plotY){p||(h.graphic=p=a.renderer.path().add(c.group));c.chart.styledMode||
+p.attr(c.pointAttribs(h,h.selected&&"select")).shadow(c.options.shadow);var k=p.strokeWidth()%2/2;var m=Math.round(h.plotX)-k;var u=h.plotOpen;var A=h.plotClose;var t=Math.min(u,A);u=Math.max(u,A);var f=Math.round(h.shapeArgs.width/2);A=d?u!==h.yBottom:Math.round(t)!==Math.round(h.plotHigh);var v=d?Math.round(t)!==Math.round(h.plotHigh):u!==h.yBottom;t=Math.round(t)+k;u=Math.round(u)+k;k=[];k.push(["M",m-f,u],["L",m-f,t],["L",m+f,t],["L",m+f,u],["Z"],["M",m,t],["L",m,A?Math.round(d?h.yBottom:h.plotHigh):
+t],["M",m,u],["L",m,v?Math.round(d?h.plotHigh:h.yBottom):u]);p[r?"attr":"animate"]({d:k}).addClass(h.getClassName(),!0)}})};u.defaultOptions=D(I.defaultOptions,M.plotOptions,{states:{hover:{lineWidth:2}},tooltip:M.plotOptions.ohlc.tooltip,threshold:null,lineColor:h.neutralColor100,lineWidth:1,upColor:h.backgroundColor,stickyTracking:!0});return u}(I);K.registerSeriesType("candlestick",F);"";return F});Q(d,"Series/Flags/FlagsPoint.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,
+h){var K=this&&this.__extends||function(){var d=function(h,G){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var B in h)h.hasOwnProperty(B)&&(d[B]=h[B])};return d(h,G)};return function(h,G){function F(){this.constructor=h}d(h,G);h.prototype=null===G?Object.create(G):(F.prototype=G.prototype,new F)}}(),F=h.isNumber;return function(d){function h(){var h=null!==d&&d.apply(this,arguments)||this;h.options=void 0;h.series=void 0;return h}K(h,d);
+h.prototype.isValid=function(){return F(this.y)||"undefined"===typeof this.y};h.prototype.hasNewShapeType=function(){var d=this.options.shape||this.series.options.shape;return this.graphic&&d&&d!==this.graphic.symbolKey};return h}(d.seriesTypes.column.prototype.pointClass)});Q(d,"Mixins/OnSeries.js",[d["Series/Column/ColumnSeries.js"],d["Core/Series/Series.js"],d["Core/Utilities.js"]],function(d,h,K){var F=d.prototype,J=h.prototype,M=K.defined,G=K.stableSort;return{getPlotBox:function(){return J.getPlotBox.call(this.options.onSeries&&
+this.chart.get(this.options.onSeries)||this)},translate:function(){F.translate.apply(this);var d=this,h=d.options,B=d.chart,u=d.points,c=u.length-1,a,r=h.onSeries;r=r&&B.get(r);h=h.onKey||"y";var y=r&&r.options.step,p=r&&r.points,J=p&&p.length,k=B.inverted,m=d.xAxis,L=d.yAxis,A=0,t;if(r&&r.visible&&J){A=(r.pointXOffset||0)+(r.barW||0)/2;B=r.currentDataGrouping;var f=p[J-1].x+(B?B.totalRange:0);G(u,function(a,b){return a.x-b.x});for(h="plot"+h[0].toUpperCase()+h.substr(1);J--&&u[c];){var v=p[J];B=
+u[c];B.y=v.y;if(v.x<=B.x&&"undefined"!==typeof v[h]){if(B.x<=f&&(B.plotY=v[h],v.x<B.x&&!y&&(t=p[J+1])&&"undefined"!==typeof t[h])){var b=(B.x-v.x)/(t.x-v.x);B.plotY+=b*(t[h]-v[h]);B.y+=b*(t.y-v.y)}c--;J++;if(0>c)break}}}u.forEach(function(b,c){b.plotX+=A;if("undefined"===typeof b.plotY||k)0<=b.plotX&&b.plotX<=m.len?k?(b.plotY=m.translate(b.x,0,1,0,1),b.plotX=M(b.y)?L.translate(b.y,0,0,0,1):0):b.plotY=(m.opposite?0:d.yAxis.len)+m.offset:b.shapeArgs={};if((a=u[c-1])&&a.plotX===b.plotX){"undefined"===
+typeof a.stackIndex&&(a.stackIndex=0);var f=a.stackIndex+1}b.stackIndex=f});this.onSeries=r}}});Q(d,"Series/Flags/FlagsSymbols.js",[d["Core/Globals.js"],d["Core/Renderer/SVG/SVGRenderer.js"]],function(d,h){function K(d){M[d+"pin"]=function(h,D,B,u,c){var a=c&&c.anchorX;c=c&&c.anchorY;"circle"===d&&u>B&&(h-=Math.round((u-B)/2),B=u);var r=M[d](h,D,B,u);if(a&&c){var y=a;"circle"===d?y=h+B/2:(h=r[0],B=r[1],"M"===h[0]&&"L"===B[0]&&(y=(h[1]+B[1])/2));r.push(["M",y,D>c?D:D+u],["L",a,c]);r=r.concat(M.circle(a-
+1,c-1,2,2))}return r}}var F=d.Renderer,J=d.VMLRenderer,M=h.prototype.symbols;M.flag=function(d,h,D,B,u){var c=u&&u.anchorX||d;u=u&&u.anchorY||h;var a=M.circle(c-1,u-1,2,2);a.push(["M",c,u],["L",d,h+B],["L",d,h],["L",d+D,h],["L",d+D,h+B],["L",d,h+B],["Z"]);return a};K("circle");K("square");F===J&&["circlepin","flag","squarepin"].forEach(function(d){J.prototype.symbols[d]=M[d]});return M});Q(d,"Series/Flags/FlagsSeries.js",[d["Series/Flags/FlagsPoint.js"],d["Core/Globals.js"],d["Mixins/OnSeries.js"],
+d["Core/Color/Palette.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Renderer/SVG/SVGElement.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M,G){var I=this&&this.__extends||function(){var a=function(c,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};return a(c,d)};return function(c,d){function h(){this.constructor=c}a(c,d);c.prototype=null===d?Object.create(d):(h.prototype=d.prototype,new h)}}(),
+D=h.noop,B=J.series,u=J.seriesTypes.column,c=G.addEvent,a=G.defined,r=G.extend,y=G.merge,p=G.objectEach,N=G.wrap;G=function(d){function k(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}I(k,d);k.prototype.animate=function(a){a&&this.setClip()};k.prototype.drawPoints=function(){var c=this.points,d=this.chart,k=d.renderer,f=d.inverted,m=this.options,b=m.y,r,u=this.yAxis,B={},g=[];for(r=c.length;r--;){var n=c[r];var e=(f?n.plotY:n.plotX)>this.xAxis.len;
+var l=n.plotX;var C=n.stackIndex;var x=n.options.shape||m.shape;var w=n.plotY;"undefined"!==typeof w&&(w=n.plotY+b-("undefined"!==typeof C&&C*m.stackDistance));n.anchorX=C?void 0:n.plotX;var q=C?void 0:n.plotY;var z="flag"!==x;C=n.graphic;"undefined"!==typeof w&&0<=l&&!e?(C&&n.hasNewShapeType()&&(C=C.destroy()),C||(C=n.graphic=k.label("",null,null,x,null,null,m.useHTML).addClass("highcharts-point").add(this.markerGroup),n.graphic.div&&(n.graphic.div.point=n),C.isNew=!0),C.attr({align:z?"center":"left",
+width:m.width,height:m.height,"text-align":m.textAlign}),d.styledMode||C.attr(this.pointAttribs(n)).css(y(m.style,n.style)).shadow(m.shadow),0<l&&(l-=C.strokeWidth()%2),x={y:w,anchorY:q},m.allowOverlapX&&(x.x=l,x.anchorX=n.anchorX),C.attr({text:n.options.title||m.title||"A"})[C.isNew?"attr":"animate"](x),m.allowOverlapX||(B[n.plotX]?B[n.plotX].size=Math.max(B[n.plotX].size,C.width):B[n.plotX]={align:z?.5:0,size:C.width,target:l,anchorX:l}),n.tooltipPos=[l,w+u.pos-d.plotTop]):C&&(n.graphic=C.destroy())}m.allowOverlapX||
+(p(B,function(a){a.plotX=a.anchorX;g.push(a)}),h.distribute(g,f?u.len:this.xAxis.len,100),c.forEach(function(b){var c=b.graphic&&B[b.plotX];c&&(b.graphic[b.graphic.isNew?"attr":"animate"]({x:c.pos+c.align*c.size,anchorX:b.anchorX}),a(c.pos)?b.graphic.isNew=!1:(b.graphic.attr({x:-9999,anchorX:-9999}),b.graphic.isNew=!0))}));m.useHTML&&N(this.markerGroup,"on",function(a){return M.prototype.on.apply(a.apply(this,[].slice.call(arguments,1)),[].slice.call(arguments,1))})};k.prototype.drawTracker=function(){var a=
+this.points;d.prototype.drawTracker.call(this);a.forEach(function(d){var h=d.graphic;h&&(d.unbindMouseOver&&d.unbindMouseOver(),d.unbindMouseOver=c(h.element,"mouseover",function(){0<d.stackIndex&&!d.raised&&(d._y=h.y,h.attr({y:d._y-8}),d.raised=!0);a.forEach(function(a){a!==d&&a.raised&&a.graphic&&(a.graphic.attr({y:a._y}),a.raised=!1)})}))})};k.prototype.pointAttribs=function(a,c){var d=this.options,f=a&&a.color||this.color,h=d.lineColor,b=a&&a.lineWidth;a=a&&a.fillColor||d.fillColor;c&&(a=d.states[c].fillColor,
+h=d.states[c].lineColor,b=d.states[c].lineWidth);return{fill:a||f,stroke:h||f,"stroke-width":b||d.lineWidth||0}};k.prototype.setClip=function(){B.prototype.setClip.apply(this,arguments);!1!==this.options.clip&&this.sharedClipKey&&this.markerGroup&&this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey])};k.defaultOptions=y(u.defaultOptions,{pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}"},threshold:null,y:-30,fillColor:F.backgroundColor,
+lineWidth:1,states:{hover:{lineColor:F.neutralColor100,fillColor:F.highlightColor20}},style:{fontSize:"11px",fontWeight:"bold"}});return k}(u);r(G.prototype,{allowDG:!1,buildKDTree:D,forceCrop:!0,getPlotBox:K.getPlotBox,init:B.prototype.init,invertGroups:D,invertible:!1,noSharedTooltip:!0,pointClass:d,sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],translate:K.translate});J.registerSeriesType("flags",G);"";"";return G});Q(d,"Extensions/RangeSelector.js",[d["Core/Axis/Axis.js"],d["Core/Chart/Chart.js"],
+d["Core/Globals.js"],d["Core/Options.js"],d["Core/Color/Palette.js"],d["Core/Renderer/SVG/SVGElement.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M,G){function I(a){if(-1!==a.indexOf("%L"))return"text";var b="aAdewbBmoyY".split("").some(function(b){return-1!==a.indexOf("%"+b)}),c="HkIlMS".split("").some(function(b){return-1!==a.indexOf("%"+b)});return b&&c?"datetime-local":b?"date":c?"time":"text"}var D=F.defaultOptions,B=G.addEvent,u=G.createElement,c=G.css,a=G.defined,r=G.destroyObjectProperties,
+y=G.discardElement,p=G.extend,N=G.find,k=G.fireEvent,m=G.isNumber,L=G.merge,A=G.objectEach,t=G.pad,f=G.pick,v=G.pInt,b=G.splat;p(D,{rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,
+inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:J.highlightColor80,cursor:"pointer"},labelStyle:{color:J.neutralColor60}}});p(D.lang,{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"\u2192"});var E=function(){function g(a){this.buttons=void 0;this.buttonOptions=g.prototype.defaultButtons;this.initialButtonGroupWidth=0;this.options=void 0;this.chart=a;this.init(a)}g.prototype.clickButton=function(c,e){var g=
+this.chart,h=this.buttonOptions[c],n=g.xAxis[0],p=g.scroller&&g.scroller.getUnionExtremes()||n||{},q=p.dataMin,r=p.dataMax,t=n&&Math.round(Math.min(n.max,f(r,n.max))),u=h.type;p=h._range;var v,y=h.dataGrouping;if(null!==q&&null!==r){g.fixedRange=p;this.setSelected(c);y&&(this.forcedDataGrouping=!0,d.prototype.setDataGrouping.call(n||{chart:this.chart},y,!1),this.frozenStates=h.preserveDataGrouping);if("month"===u||"year"===u)if(n){u={range:h,max:t,chart:g,dataMin:q,dataMax:r};var A=n.minFromRange.call(u);
+m(u.newMax)&&(t=u.newMax)}else p=h;else if(p)A=Math.max(t-p,q),t=Math.min(A+p,r);else if("ytd"===u)if(n)"undefined"===typeof r&&(q=Number.MAX_VALUE,r=Number.MIN_VALUE,g.series.forEach(function(a){a=a.xData;q=Math.min(a[0],q);r=Math.max(a[a.length-1],r)}),e=!1),t=this.getYTDExtremes(r,q,g.time.useUTC),A=v=t.min,t=t.max;else{this.deferredYTDClick=c;return}else"all"===u&&n&&(A=q,t=r);a(A)&&(A+=h._offsetMin);a(t)&&(t+=h._offsetMax);this.dropdown&&(this.dropdown.selectedIndex=c+1);if(n)n.setExtremes(A,
+t,f(e,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:h});else{var E=b(g.options.xAxis)[0];var D=E.range;E.range=p;var F=E.min;E.min=v;B(g,"load",function(){E.range=D;E.min=F})}k(this,"afterBtnClick")}};g.prototype.setSelected=function(a){this.selected=this.options.selected=a};g.prototype.init=function(a){var b=this,c=a.options.rangeSelector,d=c.buttons||b.defaultButtons.slice(),g=c.selected,f=function(){var a=b.minInput,c=b.maxInput;a&&a.blur&&k(a,"blur");c&&c.blur&&k(c,"blur")};b.chart=
+a;b.options=c;b.buttons=[];b.buttonOptions=d;this.eventsToUnbind=[];this.eventsToUnbind.push(B(a.container,"mousedown",f));this.eventsToUnbind.push(B(a,"resize",f));d.forEach(b.computeButtonRange);"undefined"!==typeof g&&d[g]&&this.clickButton(g,!1);this.eventsToUnbind.push(B(a,"load",function(){a.xAxis&&a.xAxis[0]&&B(a.xAxis[0],"setExtremes",function(c){this.max-this.min!==a.fixedRange&&"rangeSelectorButton"!==c.trigger&&"updatedData"!==c.trigger&&b.forcedDataGrouping&&!b.frozenStates&&this.setDataGrouping(!1,
+!1)})}))};g.prototype.updateButtonStates=function(){var a=this,b=this.chart,c=this.dropdown,d=b.xAxis[0],g=Math.round(d.max-d.min),f=!d.hasVisibleSeries,h=b.scroller&&b.scroller.getUnionExtremes()||d,k=h.dataMin,p=h.dataMax;b=a.getYTDExtremes(p,k,b.time.useUTC);var r=b.min,t=b.max,u=a.selected,v=m(u),y=a.options.allButtonsEnabled,A=a.buttons;a.buttonOptions.forEach(function(b,e){var h=b._range,l=b.type,n=b.count||1,m=A[e],q=0,x=b._offsetMax-b._offsetMin;b=e===u;var w=h>p-k,C=h<d.minRange,z=!1,B=!1;
+h=h===g;("month"===l||"year"===l)&&g+36E5>=864E5*{month:28,year:365}[l]*n-x&&g-36E5<=864E5*{month:31,year:366}[l]*n+x?h=!0:"ytd"===l?(h=t-r+x===g,z=!b):"all"===l&&(h=d.max-d.min>=p-k,B=!b&&v&&h);l=!y&&(w||C||B||f);n=b&&h||h&&!v&&!z||b&&a.frozenStates;l?q=3:n&&(v=!0,q=2);m.state!==q&&(m.setState(q),c&&(c.options[e+1].disabled=l,2===q&&(c.selectedIndex=e+1)),0===q&&u===e&&a.setSelected())})};g.prototype.computeButtonRange=function(a){var b=a.type,c=a.count||1,d={millisecond:1,second:1E3,minute:6E4,
+hour:36E5,day:864E5,week:6048E5};if(d[b])a._range=d[b]*c;else if("month"===b||"year"===b)a._range=864E5*{month:30,year:365}[b]*c;a._offsetMin=f(a.offsetMin,0);a._offsetMax=f(a.offsetMax,0);a._range+=a._offsetMax-a._offsetMin};g.prototype.getInputValue=function(a){a="min"===a?this.minInput:this.maxInput;var b=this.chart.options.rangeSelector,c=this.chart.time;return a?("text"===a.type&&b.inputDateParser||this.defaultInputDateParser)(a.value,c.useUTC,c):0};g.prototype.setInputValue=function(b,c){var d=
+this.options,e=this.chart.time,g="min"===b?this.minInput:this.maxInput;b="min"===b?this.minDateBox:this.maxDateBox;if(g){var f=g.getAttribute("data-hc-time");f=a(f)?Number(f):void 0;a(c)&&(a(f)&&g.setAttribute("data-hc-time-previous",f),g.setAttribute("data-hc-time",c),f=c);g.value=e.dateFormat(this.inputTypeFormats[g.type]||d.inputEditDateFormat,f);b&&b.attr({text:e.dateFormat(d.inputDateFormat,f)})}};g.prototype.setInputExtremes=function(a,b,c){if(a="min"===a?this.minInput:this.maxInput){var d=
+this.inputTypeFormats[a.type],e=this.chart.time;d&&(b=e.dateFormat(d,b),a.min!==b&&(a.min=b),c=e.dateFormat(d,c),a.max!==c&&(a.max=c))}};g.prototype.showInput=function(a){var b="min"===a?this.minDateBox:this.maxDateBox;if((a="min"===a?this.minInput:this.maxInput)&&b&&this.inputGroup){var d="text"===a.type,g=this.inputGroup,f=g.translateX;g=g.translateY;var h=this.options.inputBoxWidth;c(a,{width:d?b.width+(h?-2:20)+"px":"auto",height:d?b.height-2+"px":"auto",border:"2px solid silver"});d&&h?c(a,{left:f+
+b.x+"px",top:g+"px"}):c(a,{left:Math.min(Math.round(b.x+f-(a.offsetWidth-b.width)/2),this.chart.chartWidth-a.offsetWidth)+"px",top:g-1-(a.offsetHeight-b.height)/2+"px"})}};g.prototype.hideInput=function(a){(a="min"===a?this.minInput:this.maxInput)&&c(a,{top:"-9999em",border:0,width:"1px",height:"1px"})};g.prototype.defaultInputDateParser=function(a,b,c){var d=a.split("/").join("-").split(" ").join("T");-1===d.indexOf("T")&&(d+="T00:00");if(b)d+="Z";else{var e;if(e=K.isSafari)e=d,e=!(6<e.length&&(e.lastIndexOf("-")===
+e.length-6||e.lastIndexOf("+")===e.length-6));e&&(e=(new Date(d)).getTimezoneOffset()/60,d+=0>=e?"+"+t(-e)+":00":"-"+t(e)+":00")}d=Date.parse(d);m(d)||(a=a.split("-"),d=Date.UTC(v(a[0]),v(a[1])-1,v(a[2])));c&&b&&m(d)&&(d+=c.getTimezoneOffset(d));return d};g.prototype.drawInput=function(a){function b(){var b=h.getInputValue(a),c=d.xAxis[0],e=d.scroller&&d.scroller.xAxis?d.scroller.xAxis:c,g=e.dataMin;e=e.dataMax;var f=h.maxInput,k=h.minInput;b!==Number(y.getAttribute("data-hc-time-previous"))&&m(b)&&
+(y.setAttribute("data-hc-time-previous",b),t&&f&&m(g)?b>Number(f.getAttribute("data-hc-time"))?b=void 0:b<g&&(b=g):k&&m(e)&&(b<Number(k.getAttribute("data-hc-time"))?b=void 0:b>e&&(b=e)),"undefined"!==typeof b&&c.setExtremes(t?b:c.min,t?c.max:b,void 0,void 0,{trigger:"rangeSelectorInput"}))}var d=this.chart,g=this.div,f=this.inputGroup,h=this,k=d.renderer.style||{},n=d.renderer,r=d.options.rangeSelector,t="min"===a,v=D.lang[t?"rangeSelectorFrom":"rangeSelectorTo"];v=n.label(v,0).addClass("highcharts-range-label").attr({padding:v?
+2:0}).add(f);n=n.label("",0).addClass("highcharts-range-input").attr({padding:2,width:r.inputBoxWidth,height:r.inputBoxHeight,"text-align":"center"}).on("click",function(){h.showInput(a);h[a+"Input"].focus()});d.styledMode||n.attr({stroke:r.inputBoxBorderColor,"stroke-width":1});n.add(f);var y=u("input",{name:a,className:"highcharts-range-selector"},void 0,g);y.setAttribute("type",I(r.inputDateFormat||"%b %e, %Y"));d.styledMode||(v.css(L(k,r.labelStyle)),n.css(L({color:J.neutralColor80},k,r.inputStyle)),
+c(y,p({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:k.fontSize,fontFamily:k.fontFamily,top:"-9999em"},r.inputStyle)));y.onfocus=function(){h.showInput(a)};y.onblur=function(){y===K.doc.activeElement&&b();h.hideInput(a);h.setInputValue(a);y.blur()};var A=!1;y.onchange=function(){A||(b(),h.hideInput(a),y.blur())};y.onkeypress=function(a){13===a.keyCode&&b()};y.onkeydown=function(a){A=!0;38!==a.keyCode&&40!==a.keyCode||
+b()};y.onkeyup=function(){A=!1};return{dateBox:n,input:y,label:v}};g.prototype.getPosition=function(){var a=this.chart,b=a.options.rangeSelector;a="top"===b.verticalAlign?a.plotTop-a.axisOffset[0]:0;return{buttonTop:a+b.buttonPosition.y,inputTop:a+b.inputPosition.y-10}};g.prototype.getYTDExtremes=function(a,b,c){var d=this.chart.time,e=new d.Date(a),g=d.get("FullYear",e);c=c?d.Date.UTC(g,0,1):+new d.Date(g,0,1);b=Math.max(b,c);e=e.getTime();return{max:Math.min(a||e,e),min:b}};g.prototype.render=function(b,
+c){var d=this.chart,e=d.renderer,g=d.container,h=d.options,k=h.rangeSelector,n=f(h.chart.style&&h.chart.style.zIndex,0)+1;h=k.inputEnabled;if(!1!==k.enabled){this.rendered||(this.group=e.g("range-selector-group").attr({zIndex:7}).add(),this.div=u("div",void 0,{position:"relative",height:0,zIndex:n}),this.buttonOptions.length&&this.renderButtons(),g.parentNode&&g.parentNode.insertBefore(this.div,g),h&&(this.inputGroup=e.g("input-group").add(this.group),e=this.drawInput("min"),this.minDateBox=e.dateBox,
+this.minLabel=e.label,this.minInput=e.input,e=this.drawInput("max"),this.maxDateBox=e.dateBox,this.maxLabel=e.label,this.maxInput=e.input));if(h&&(this.setInputValue("min",b),this.setInputValue("max",c),b=d.scroller&&d.scroller.getUnionExtremes()||d.xAxis[0]||{},a(b.dataMin)&&a(b.dataMax)&&(d=d.xAxis[0].minRange||0,this.setInputExtremes("min",b.dataMin,Math.min(b.dataMax,this.getInputValue("max"))-d),this.setInputExtremes("max",Math.max(b.dataMin,this.getInputValue("min"))+d,b.dataMax)),this.inputGroup)){var m=
+0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach(function(a){if(a){var b=a.getBBox().width;b&&(a.attr({x:m}),m+=b+k.inputSpacing)}})}this.alignElements();this.rendered=!0}};g.prototype.renderButtons=function(){var a=this,b=this.buttons,c=this.options,d=D.lang,g=this.chart.renderer,h=L(c.buttonTheme),m=h&&h.states,p=h.width||28;delete h.width;delete h.states;this.buttonGroup=g.g("range-selector-buttons").add(this.group);var r=this.dropdown=u("select",void 0,{position:"absolute",
+width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:.0001},this.div);B(r,"touchstart",function(){r.style.fontSize="16px"});[[K.isMS?"mouseover":"mouseenter"],[K.isMS?"mouseout":"mouseleave"],["change","click"]].forEach(function(c){var d=c[0],e=c[1];B(r,d,function(){var c=b[a.currentButtonIndex()];c&&k(c.element,e||d)})});this.zoomText=g.text(d.rangeSelectorZoom,0,15).add(this.buttonGroup);this.chart.styledMode||(this.zoomText.css(c.labelStyle),h["stroke-width"]=f(h["stroke-width"],
+0));u("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,r);this.buttonOptions.forEach(function(c,d){u("option",{textContent:c.title||c.text},void 0,r);b[d]=g.button(c.text,0,0,function(b){var e=c.events&&c.events.click,g;e&&(g=e.call(c,b));!1!==g&&a.clickButton(d);a.isActive=!0},h,m&&m.hover,m&&m.select,m&&m.disabled).attr({"text-align":"center",width:p}).add(a.buttonGroup);c.title&&b[d].attr("title",c.title)})};g.prototype.alignElements=function(){var a=this,b=this.buttonGroup,c=this.buttons,
+d=this.chart,g=this.group,h=this.inputGroup,k=this.options,m=this.zoomText,p=d.options,r=p.exporting&&!1!==p.exporting.enabled&&p.navigation&&p.navigation.buttonOptions;p=k.buttonPosition;var t=k.inputPosition,u=k.verticalAlign,v=function(b,c){return r&&a.titleCollision(d)&&"top"===u&&"right"===c.align&&c.y-b.getBBox().height-12<(r.y||0)+(r.height||0)+d.spacing[0]?-40:0},y=d.plotLeft;if(g&&p&&t){var A=p.x-d.spacing[3];if(b){this.positionButtons();if(!this.initialButtonGroupWidth){var B=0;m&&(B+=m.getBBox().width+
+5);c.forEach(function(a,b){B+=a.width;b!==c.length-1&&(B+=k.buttonSpacing)});this.initialButtonGroupWidth=B}y-=d.spacing[3];this.updateButtonStates();m=v(b,p);this.alignButtonGroup(m);g.placed=b.placed=d.hasLoaded}b=0;h&&(b=v(h,t),"left"===t.align?A=y:"right"===t.align&&(A=-Math.max(d.axisOffset[1],-b)),h.align({y:t.y,width:h.getBBox().width,align:t.align,x:t.x+A-2},!0,d.spacingBox),h.placed=d.hasLoaded);this.handleCollision(b);g.align({verticalAlign:u},!0,d.spacingBox);h=g.alignAttr.translateY;b=
+g.getBBox().height+20;v=0;"bottom"===u&&(v=(v=d.legend&&d.legend.options)&&"bottom"===v.verticalAlign&&v.enabled&&!v.floating?d.legend.legendHeight+f(v.margin,10):0,b=b+v-20,v=h-b-(k.floating?0:k.y)-(d.titleOffset?d.titleOffset[2]:0)-10);if("top"===u)k.floating&&(v=0),d.titleOffset&&d.titleOffset[0]&&(v=d.titleOffset[0]),v+=d.margin[0]-d.spacing[0]||0;else if("middle"===u)if(t.y===p.y)v=h;else if(t.y||p.y)v=0>t.y||0>p.y?v-Math.min(t.y,p.y):h-b;g.translate(k.x,k.y+Math.floor(v));p=this.minInput;t=
+this.maxInput;h=this.dropdown;k.inputEnabled&&p&&t&&(p.style.marginTop=g.translateY+"px",t.style.marginTop=g.translateY+"px");h&&(h.style.marginTop=g.translateY+"px")}};g.prototype.alignButtonGroup=function(a,b){var c=this.chart,d=this.buttonGroup,e=this.options.buttonPosition,g=c.plotLeft-c.spacing[3],h=e.x-c.spacing[3];"right"===e.align?h+=a-g:"center"===e.align&&(h-=g/2);d&&d.align({y:e.y,width:f(b,this.initialButtonGroupWidth),align:e.align,x:h},!0,c.spacingBox)};g.prototype.positionButtons=function(){var a=
+this.buttons,b=this.chart,c=this.options,d=this.zoomText,g=b.hasLoaded?"animate":"attr",h=c.buttonPosition,k=b.plotLeft,m=k;d&&"hidden"!==d.visibility&&(d[g]({x:f(k+h.x,k)}),m+=h.x+d.getBBox().width+5);this.buttonOptions.forEach(function(b,d){if("hidden"!==a[d].visibility)a[d][g]({x:m}),m+=a[d].width+c.buttonSpacing;else a[d][g]({x:k})})};g.prototype.handleCollision=function(a){var b=this,c=this.chart,d=this.buttonGroup,g=this.inputGroup,f=this.options,h=f.buttonPosition,k=f.dropdown,n=f.inputPosition;
+f=function(){var a=0;b.buttons.forEach(function(b){b=b.getBBox();b.width>a&&(a=b.width)});return a};var m=function(b){if(g&&d){var c=g.alignAttr.translateX+g.alignOptions.x-a+g.getBBox().x+2,e=g.alignOptions.width,f=d.alignAttr.translateX+d.getBBox().x;return f+b>c&&c+e>f&&h.y<n.y+g.getBBox().height}return!1},p=function(){g&&d&&g.attr({translateX:g.alignAttr.translateX+(c.axisOffset[1]>=-a?0:-a),translateY:g.alignAttr.translateY+d.getBBox().height+10})};if(d){if("always"===k){this.collapseButtons(a);
+m(f())&&p();return}"never"===k&&this.expandButtons()}g&&d?n.align===h.align||m(this.initialButtonGroupWidth+20)?"responsive"===k?(this.collapseButtons(a),m(f())&&p()):p():"responsive"===k&&this.expandButtons():d&&"responsive"===k&&(this.initialButtonGroupWidth>c.plotWidth?this.collapseButtons(a):this.expandButtons())};g.prototype.collapseButtons=function(a){var b=this.buttons,c=this.buttonOptions,d=this.dropdown,g=this.options,f=this.zoomText,h=function(a){return{text:a?a+" \u25be":"\u25be",width:"auto",
+paddingLeft:8,paddingRight:8}};f&&f.hide();var k=!1;c.forEach(function(a,c){c=b[c];2!==c.state?c.hide():(c.show(),c.attr(h(a.text)),k=!0)});k||(d&&(d.selectedIndex=0),b[0].show(),b[0].attr(h(this.zoomText&&this.zoomText.textStr)));c=g.buttonPosition.align;this.positionButtons();"right"!==c&&"center"!==c||this.alignButtonGroup(a,b[this.currentButtonIndex()].getBBox().width);this.showDropdown()};g.prototype.expandButtons=function(){var a=this.buttons,b=this.buttonOptions,c=this.options,d=this.zoomText;
+this.hideDropdown();d&&d.show();b.forEach(function(b,d){d=a[d];d.show();d.attr({text:b.text,width:c.buttonTheme.width||28,paddingLeft:"unset",paddingRight:"unset"});2>d.state&&d.setState(0)});this.positionButtons()};g.prototype.currentButtonIndex=function(){var a=this.dropdown;return a&&0<a.selectedIndex?a.selectedIndex-1:0};g.prototype.showDropdown=function(){var a=this.buttonGroup,b=this.buttons,d=this.chart,g=this.dropdown;if(a&&g){var f=a.translateX;a=a.translateY;b=b[this.currentButtonIndex()].getBBox();
+c(g,{left:d.plotLeft+f+"px",top:a+.5+"px",width:b.width+"px",height:b.height+"px"});this.hasVisibleDropdown=!0}};g.prototype.hideDropdown=function(){var a=this.dropdown;a&&(c(a,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)};g.prototype.getHeight=function(){var a=this.options,b=this.group,c=a.y,d=a.buttonPosition.y,g=a.inputPosition.y;if(a.height)return a.height;this.alignElements();a=b?b.getBBox(!0).height+13+c:0;b=Math.min(g,d);if(0>g&&0>d||0<g&&0<d)a+=Math.abs(b);return a};
+g.prototype.titleCollision=function(a){return!(a.options.title.text||a.options.subtitle.text)};g.prototype.update=function(a){var b=this.chart;L(!0,b.options.rangeSelector,a);this.destroy();this.init(b);this.render()};g.prototype.destroy=function(){var a=this,b=a.minInput,c=a.maxInput;a.eventsToUnbind&&(a.eventsToUnbind.forEach(function(a){return a()}),a.eventsToUnbind=void 0);r(a.buttons);b&&(b.onfocus=b.onblur=b.onchange=null);c&&(c.onfocus=c.onblur=c.onchange=null);A(a,function(b,c){b&&"chart"!==
+c&&(b instanceof M?b.destroy():b instanceof window.HTMLElement&&y(b));b!==g.prototype[c]&&(a[c]=null)},this)};return g}();E.prototype.defaultButtons=[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}];E.prototype.inputTypeFormats={"datetime-local":"%Y-%m-%dT%H:%M:%S",
+date:"%Y-%m-%d",time:"%H:%M:%S"};d.prototype.minFromRange=function(){var a=this.range,b=a.type,c=this.max,d=this.chart.time,h=function(a,c){var e="year"===b?"FullYear":"Month",g=new d.Date(a),f=d.get(e,g);d.set(e,g,f+c);f===d.get(e,g)&&d.set("Date",g,0);return g.getTime()-a};if(m(a)){var k=c-a;var p=a}else k=c+h(c,-a.count),this.chart&&(this.chart.fixedRange=c-k);var q=f(this.dataMin,Number.MIN_VALUE);m(k)||(k=q);k<=q&&(k=q,"undefined"===typeof p&&(p=h(k,a.count)),this.newMax=Math.min(k+p,this.dataMax));
+m(c)||(k=void 0);return k};if(!K.RangeSelector){var P=[],H=function(a){function b(){d&&(c=a.xAxis[0].getExtremes(),g=a.legend,h=d&&d.options.verticalAlign,m(c.min)&&d.render(c.min,c.max),g.display&&"top"===h&&h===g.options.verticalAlign&&(f=L(a.spacingBox),f.y="vertical"===g.options.layout?a.plotTop:f.y+d.getHeight(),g.group.placed=!1,g.align(f)))}var c,d=a.rangeSelector,g,f,h;d&&(N(P,function(b){return b[0]===a})||P.push([a,[B(a.xAxis[0],"afterSetExtremes",function(a){d&&d.render(a.min,a.max)}),
+B(a,"redraw",b)]]),b())};B(h,"afterGetContainer",function(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new E(this))});B(h,"beforeRender",function(){var a=this.axes,b=this.rangeSelector;b&&(m(b.deferredYTDClick)&&(b.clickButton(b.deferredYTDClick),delete b.deferredYTDClick),a.forEach(function(a){a.updateNames();a.setScale()}),this.getAxisMargins(),b.render(),a=b.options.verticalAlign,b.options.floating||("bottom"===a?this.extraBottomMargin=!0:"middle"!==a&&
+(this.extraTopMargin=!0)))});B(h,"update",function(b){var c=b.options.rangeSelector;b=this.rangeSelector;var d=this.extraBottomMargin,g=this.extraTopMargin;c&&c.enabled&&!a(b)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=b=new E(this));this.extraTopMargin=this.extraBottomMargin=!1;b&&(H(this),c=c&&c.verticalAlign||b.options&&b.options.verticalAlign,b.options.floating||("bottom"===c?this.extraBottomMargin=!0:"middle"!==c&&(this.extraTopMargin=!0)),this.extraBottomMargin!==
+d||this.extraTopMargin!==g)&&(this.isDirtyBox=!0)});B(h,"render",function(){var a=this.rangeSelector;a&&!a.options.floating&&(a.render(),a=a.options.verticalAlign,"bottom"===a?this.extraBottomMargin=!0:"middle"!==a&&(this.extraTopMargin=!0))});B(h,"getMargins",function(){var a=this.rangeSelector;a&&(a=a.getHeight(),this.extraTopMargin&&(this.plotTop+=a),this.extraBottomMargin&&(this.marginBottom+=a))});h.prototype.callbacks.push(H);B(h,"destroy",function(){for(var a=0;a<P.length;a++){var b=P[a];if(b[0]===
+this){b[1].forEach(function(a){return a()});P.splice(a,1);break}}});K.RangeSelector=E}return K.RangeSelector});Q(d,"Core/Chart/StockChart.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/Axis/Axis.js"],d["Core/Chart/Chart.js"],d["Core/FormatUtilities.js"],d["Core/Options.js"],d["Core/Color/Palette.js"],d["Core/Series/Point.js"],d["Core/Series/Series.js"],d["Core/Renderer/SVG/SVGRenderer.js"],d["Core/Utilities.js"]],function(d,h,K,F,J,M,G,I,D,B){function u(a,b){return"xAxis"===a?{minPadding:0,
+maxPadding:0,overscroll:0,ordinal:!0,title:{text:null},labels:{overflow:"justify"},showLastLabel:!0}:"yAxis"===a?{labels:{y:-2},opposite:g(b.opposite,!0),showLastLabel:!(!b.categories&&"category"!==b.type),title:{text:null}}:{}}function c(a,b){if("xAxis"===a){a=p();var c={type:"datetime",categories:void 0};g(b.navigator&&b.navigator.enabled,a.navigator.enabled,!0)&&(c.startOnTick=!1,c.endOnTick=!1);return c}return{}}var a=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||
+{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),r=d.animObject,y=F.format,p=J.getOptions,N=G.prototype.tooltipFormatter;d=I.prototype;var k=d.init,m=d.processData;d=B.addEvent;var L=B.arrayMax,A=B.arrayMin,t=B.clamp,f=B.defined,v=B.extend,b=B.find,E=B.isNumber,P=B.isString,H=
+B.merge,g=B.pick,n=B.splat;B=function(b){function d(){return null!==b&&b.apply(this,arguments)||this}a(d,b);d.prototype.init=function(a,d){var e=p(),f=a.xAxis,h=a.yAxis,k=g(a.navigator&&a.navigator.enabled,e.navigator.enabled,!0);a.xAxis=a.yAxis=void 0;k=H({chart:{panning:{enabled:!0,type:"x"},pinchType:"x"},navigator:{enabled:k},scrollbar:{enabled:g(e.scrollbar.enabled,!0)},rangeSelector:{enabled:g(e.rangeSelector.enabled,!0)},title:{text:null},tooltip:{split:g(e.tooltip.split,!0),crosshairs:!0},
+legend:{enabled:!1}},a,{isStock:!0});a.xAxis=f;a.yAxis=h;k.xAxis=n(a.xAxis||{}).map(function(b,d){return H(u("xAxis",b),e.xAxis,e.xAxis&&e.xAxis[d],b,c("xAxis",a))});k.yAxis=n(a.yAxis||{}).map(function(a,b){return H(u("yAxis",a),e.yAxis,e.yAxis&&e.yAxis[b],a)});b.prototype.init.call(this,k,d)};d.prototype.createAxis=function(a,d){d.axis=H(u(a,d.axis),d.axis,c(a,this.userOptions));return b.prototype.createAxis.call(this,a,d)};return d}(K);(function(a){a.stockChart=function(b,c,d){return new a(b,c,
+d)}})(B||(B={}));d(I,"setOptions",function(a){var b;this.chart.options.isStock&&(this.is("column")||this.is("columnrange")?b={borderWidth:0,shadow:!1}:this.is("scatter")||this.is("sma")||(b={marker:{enabled:!1,radius:2}}),b&&(a.plotOptions[this.type]=H(a.plotOptions[this.type],b)))});d(h,"autoLabelAlign",function(a){var b=this.chart,c=this.options;b=b._labelPanes=b._labelPanes||{};var d=this.options.labels;this.chart.options.isStock&&"yAxis"===this.coll&&(c=c.top+","+c.height,!b[c]&&d.enabled&&(15===
+d.x&&(d.x=0),"undefined"===typeof d.align&&(d.align="right"),b[c]=this,a.align="right",a.preventDefault()))});d(h,"destroy",function(){var a=this.chart,b=this.options&&this.options.top+","+this.options.height;b&&a._labelPanes&&a._labelPanes[b]===this&&delete a._labelPanes[b]});d(h,"getPlotLinePath",function(a){function c(a){var b="xAxis"===a?"yAxis":"xAxis";a=d.options[b];return E(a)?[h[b][a]]:P(a)?[h.get(a)]:e.map(function(a){return a[b]})}var d=this,e=this.isLinked&&!this.series?this.linkedParent.series:
+this.series,h=d.chart,k=h.renderer,m=d.left,n=d.top,p,r,u,v,y=[],A=[],B=a.translatedValue,D=a.value,F=a.force;if(h.options.isStock&&!1!==a.acrossPanes&&"xAxis"===d.coll||"yAxis"===d.coll){a.preventDefault();A=c(d.coll);var G=d.isXAxis?h.yAxis:h.xAxis;G.forEach(function(a){if(f(a.options.id)?-1===a.options.id.indexOf("navigator"):1){var b=a.isXAxis?"yAxis":"xAxis";b=f(a.options[b])?h[b][a.options[b]]:h[b][0];d===b&&A.push(a)}});var H=A.length?[]:[d.isXAxis?h.yAxis[0]:h.xAxis[0]];A.forEach(function(a){-1!==
+H.indexOf(a)||b(H,function(b){return b.pos===a.pos&&b.len===a.len})||H.push(a)});var I=g(B,d.translate(D,null,null,a.old));E(I)&&(d.horiz?H.forEach(function(a){var b;r=a.pos;v=r+a.len;p=u=Math.round(I+d.transB);"pass"!==F&&(p<m||p>m+d.width)&&(F?p=u=t(p,m,m+d.width):b=!0);b||y.push(["M",p,r],["L",u,v])}):H.forEach(function(a){var b;p=a.pos;u=p+a.len;r=v=Math.round(n+d.height-I);"pass"!==F&&(r<n||r>n+d.height)&&(F?r=v=t(r,n,n+d.height):b=!0);b||y.push(["M",p,r],["L",u,v])}));a.path=0<y.length?k.crispPolyLine(y,
+a.lineWidth||1):null}});D.prototype.crispPolyLine=function(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1];d[1]===e[1]&&(d[1]=e[1]=Math.round(d[1])-b%2/2);d[2]===e[2]&&(d[2]=e[2]=Math.round(d[2])+b%2/2)}return a};d(h,"afterHideCrosshair",function(){this.crossLabel&&(this.crossLabel=this.crossLabel.hide())});d(h,"afterDrawCrosshair",function(a){var b,c;if(this.crosshair&&this.crosshair.label&&this.crosshair.label.enabled&&this.cross&&E(this.min)&&E(this.max)){var d=this.chart,e=this.logarithmic,
+f=this.crosshair.label,h=this.horiz,k=this.opposite,m=this.left,n=this.top,p=this.crossLabel,r=f.format,t="",u="inside"===this.options.tickPosition,A=!1!==this.crosshair.snap,B=0,D=a.e||this.cross&&this.cross.e;a=a.point;var F=this.min,G=this.max;e&&(F=e.lin2log(F),G=e.lin2log(G));e=h?"center":k?"right"===this.labelAlign?"right":"left":"left"===this.labelAlign?"left":"center";p||(p=this.crossLabel=d.renderer.label("",0,void 0,f.shape||"callout").addClass("highcharts-crosshair-label"+(this.series[0]&&
+" highcharts-color-"+this.series[0].colorIndex)).attr({align:f.align||e,padding:g(f.padding,8),r:g(f.borderRadius,3),zIndex:2}).add(this.labelGroup),d.styledMode||p.attr({fill:f.backgroundColor||a&&a.series&&a.series.color||M.neutralColor60,stroke:f.borderColor||"","stroke-width":f.borderWidth||0}).css(v({color:M.backgroundColor,fontWeight:"normal",fontSize:"11px",textAlign:"center"},f.style||{})));h?(e=A?(a.plotX||0)+m:D.chartX,n+=k?0:this.height):(e=k?this.width+m:0,n=A?(a.plotY||0)+n:D.chartY);
+r||f.formatter||(this.dateTime&&(t="%b %d, %Y"),r="{value"+(t?":"+t:"")+"}");t=A?this.isXAxis?a.x:a.y:this.toValue(h?D.chartX:D.chartY);A=a?a.series.isPointInside(a):E(t)&&t>F&&t<G;D="";r?D=y(r,{value:t},d):f.formatter&&E(t)&&(D=f.formatter.call(this,t));p.attr({text:D,x:e,y:n,visibility:A?"visible":"hidden"});f=p.getBBox();if(E(p.y))if(h){if(u&&!k||!u&&k)n=p.y-f.height}else n=p.y-f.height/2;h?(b=m-f.x,c=m+this.width-f.x):(b="left"===this.labelAlign?m:0,c="right"===this.labelAlign?m+this.width:d.chartWidth);
+p.translateX<b&&(B=b-p.translateX);p.translateX+f.width>=c&&(B=-(p.translateX+f.width-c));p.attr({x:e+B,y:n,anchorX:h?e:this.opposite?0:d.chartWidth,anchorY:h?this.opposite?d.chartHeight:0:n+f.height/2})}});I.prototype.init=function(){k.apply(this,arguments);this.initCompare(this.options.compare)};I.prototype.setCompare=function(a){this.initCompare(a);this.userOptions.compare=a};I.prototype.initCompare=function(a){this.modifyValue="value"===a||"percent"===a?function(b,c){var d=this.compareValue;return"undefined"!==
+typeof b&&"undefined"!==typeof d?(b="value"===a?b-d:b/d*100-(100===this.options.compareBase?0:100),c&&(c.change=b),b):0}:null;this.chart.hasRendered&&(this.isDirty=!0)};I.prototype.processData=function(a){var b,c=-1,d=!0===this.options.compareStart?0:1;m.apply(this,arguments);if(this.xAxis&&this.processedYData){var e=this.processedXData;var f=this.processedYData;var g=f.length;this.pointArrayMap&&(c=this.pointArrayMap.indexOf(this.options.pointValKey||this.pointValKey||"y"));for(b=0;b<g-d;b++){var h=
+f[b]&&-1<c?f[b][c]:f[b];if(E(h)&&e[b+d]>=this.xAxis.min&&0!==h){this.compareValue=h;break}}}};d(I,"afterGetExtremes",function(a){a=a.dataExtremes;if(this.modifyValue&&a){var b=[this.modifyValue(a.dataMin),this.modifyValue(a.dataMax)];a.dataMin=A(b);a.dataMax=L(b)}});h.prototype.setCompare=function(a,b){this.isXAxis||(this.series.forEach(function(b){b.setCompare(a)}),g(b,!0)&&this.chart.redraw())};G.prototype.tooltipFormatter=function(a){var b=this.series.chart.numberFormatter;a=a.replace("{point.change}",
+(0<this.change?"+":"")+b(this.change,g(this.series.tooltipOptions.changeDecimals,2)));return N.apply(this,[a])};d(I,"render",function(){var a=this.chart;if(!(a.is3d&&a.is3d()||a.polar)&&this.xAxis&&!this.xAxis.isRadial&&!1!==this.options.clip){var b=this.yAxis.len;if(this.xAxis.axisLine){var c=a.plotTop+a.plotHeight-this.yAxis.pos-this.yAxis.len,d=Math.floor(this.xAxis.axisLine.strokeWidth()/2);0<=c&&(b-=Math.max(d-c,0))}if(!a.hasRendered||!this.clipBox&&this.isDirty&&!this.isDirtyData)this.clipBox=
+this.clipBox||H(a.clipBox),this.clipBox.width=this.xAxis.len,this.clipBox.height=b;a.hasRendered&&(c=r(this.options.animation),c=this.getSharedClipKey(c),d=a.sharedClips[c])&&(d.animate({width:this.xAxis.len,height:b}),(a=a.sharedClips[c+"m"])&&a.animate({width:this.xAxis.len}))}});d(K,"update",function(a){a=a.options;"scrollbar"in a&&this.navigator&&(H(!0,this.options.scrollbar,a.scrollbar),this.navigator.update({},!1),delete a.scrollbar)});"";return B});Q(d,"masters/modules/stock.src.js",[d["Core/Globals.js"],
+d["Core/Chart/StockChart.js"]],function(d,h){d.StockChart=d.stockChart=h.stockChart});Q(d,"masters/highstock.src.js",[d["masters/highcharts.src.js"]],function(d){d.product="Highstock";return d});d["masters/highstock.src.js"]._modules=d;return d["masters/highstock.src.js"]});
 //# sourceMappingURL=highstock.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/highstock.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 329 - 956
node_modules/highcharts/highstock.src.js


+ 2 - 2
node_modules/highcharts/indicators/acceleration-bands.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Daniel Studencki
 

+ 2 - 2
node_modules/highcharts/indicators/acceleration-bands.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Daniel Studencki
  *

+ 3 - 3
node_modules/highcharts/indicators/accumulation-distribution.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Sebastian Bochan
 
@@ -10,5 +10,5 @@
 (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/accumulation-distribution",["highcharts","highcharts/modules/stock"],function(e){a(e);a.Highcharts=e;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function e(a,c,e,k){a.hasOwnProperty(c)||(a[c]=k.apply(null,e))}a=a?a._modules:{};e(a,"Stock/Indicators/AD/ADIndicator.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],
 function(a,c){var e=this&&this.__extends||function(){var a=function(f,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return a(f,b)};return function(f,b){function d(){this.constructor=f}a(f,b);f.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),k=a.seriesTypes.sma,p=c.error,q=c.extend,r=c.merge;c=function(a){function f(){var b=null!==a&&a.apply(this,arguments)||this;b.data=
 void 0;b.options=void 0;b.points=void 0;return b}e(f,a);f.populateAverage=function(a,d,f,c,g){g=d[c][1];var b=d[c][2];d=d[c][3];f=f[c];return[a[c],d===g&&d===b||g===b?0:(2*d-b-g)/(g-b)*f]};f.prototype.getValues=function(a,d){var b=d.period,c=a.xData,g=a.yData,e=d.volumeSeriesID,h=a.chart.get(e);d=h&&h.yData;var k=g?g.length:0,l=[],m=[],n=[];if(!(c.length<=b&&k&&4!==g[0].length)){if(h){for(e=b;e<k;e++)a=l.length,h=f.populateAverage(c,g,d,e,b),0<a&&(h[1]+=l[a-1][1]),l.push(h),m.push(h[0]),n.push(h[1]);
-return{values:l,xData:m,yData:n}}p("Series "+e+" not found! Check `volumeSeriesID`.",!0,a.chart)}};f.defaultOptions=r(k.defaultOptions,{params:{volumeSeriesID:"volume"}});return f}(k);q(c.prototype,{nameComponents:!1,nameBase:"Accumulation/Distribution"});a.registerSeriesType("ad",c);"";return c});e(a,"masters/indicators/accumulation-distribution.src.js",[],function(){})});
+return{values:l,xData:m,yData:n}}p("Series "+e+" not found! Check `volumeSeriesID`.",!0,a.chart)}};f.defaultOptions=r(k.defaultOptions,{params:{index:void 0,volumeSeriesID:"volume"}});return f}(k);q(c.prototype,{nameComponents:!1,nameBase:"Accumulation/Distribution"});a.registerSeriesType("ad",c);"";return c});e(a,"masters/indicators/accumulation-distribution.src.js",[],function(){})});
 //# sourceMappingURL=accumulation-distribution.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/accumulation-distribution.js.map


+ 6 - 2
node_modules/highcharts/indicators/accumulation-distribution.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Sebastian Bochan
  *
@@ -163,7 +163,11 @@
              * @optionparent plotOptions.ad
              */
             ADIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
+                /**
+                 * @excluding index
+                 */
                 params: {
+                    index: void 0,
                     /**
                      * The id of volume series which is mandatory.
                      * For example using OHLC data, volumeSeriesID='volume' means

+ 7 - 7
node_modules/highcharts/indicators/ao.js

@@ -1,15 +1,15 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Wojciech Chmiel
 
  License: www.highcharts.com/license
 */
-(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/ao",["highcharts","highcharts/modules/stock"],function(b){a(b);a.Highcharts=b;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function b(a,b,e,p){a.hasOwnProperty(b)||(a[b]=p.apply(null,e))}a=a?a._modules:{};b(a,"Stock/Indicators/AO/AOIndicator.js",[a["Core/Globals.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],
-function(a,b,e){var p=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var c in a)a.hasOwnProperty(c)&&(d[c]=a[c])};return a(b,d)};return function(b,d){function q(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(q.prototype=d.prototype,new q)}}();a=a.noop;var h=b.seriesTypes,r=h.sma;h=h.column;var t=e.extend,u=e.merge,k=e.correctFloat,v=e.isArray;e=function(a){function b(){var d=
-null!==a&&a.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;return d}p(b,a);b.prototype.drawGraph=function(){var a=this.options,b=this.points,e=a.greaterBarColor;a=a.lowerBarColor;var c=b[0];if(!this.userOptions.color&&c)for(c.color=e,c=1;c<b.length;c++)b[c].color=b[c].y>b[c-1].y?e:b[c].y<b[c-1].y?a:b[c-1].color};b.prototype.getValues=function(a){var b=a.xData||[];a=a.yData||[];var d=a.length,c=[],e=[],h=[],l=0,m=0,f;if(!(34>=b.length)&&v(a[0])&&4===a[0].length){for(f=0;33>
-f;f++){var g=(a[f][1]+a[f][2])/2;29<=f&&(l=k(l+g));m=k(m+g)}for(f=33;f<d;f++){g=(a[f][1]+a[f][2])/2;l=k(l+g);m=k(m+g);g=l/5;var n=m/34;g=k(g-n);c.push([b[f],g]);e.push(b[f]);h.push(g);g=f+1-5;n=f+1-34;l=k(l-(a[g][1]+a[g][2])/2);m=k(m-(a[n][1]+a[n][2])/2)}return{values:c,xData:e,yData:h}}};b.defaultOptions=u(r.defaultOptions,{greaterBarColor:"#06B535",lowerBarColor:"#F21313",threshold:0,groupPadding:.2,pointPadding:.2,crisp:!1,states:{hover:{halo:{size:0}}}});return b}(r);t(e.prototype,{nameBase:"AO",
-nameComponents:!1,markerAttribs:a,getColumnMetrics:h.prototype.getColumnMetrics,crispCol:h.prototype.crispCol,translate:h.prototype.translate,drawPoints:h.prototype.drawPoints});b.registerSeriesType("ao",e);"";return e});b(a,"masters/indicators/ao.src.js",[],function(){})});
+(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/ao",["highcharts","highcharts/modules/stock"],function(b){a(b);a.Highcharts=b;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function b(a,b,e,k){a.hasOwnProperty(b)||(a[b]=k.apply(null,e))}a=a?a._modules:{};b(a,"Stock/Indicators/AO/AOIndicator.js",[a["Core/Globals.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"],
+a["Core/Color/Palette.js"]],function(a,b,e,k){var r=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var c in a)a.hasOwnProperty(c)&&(d[c]=a[c])};return a(b,d)};return function(b,d){function p(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)}}();a=a.noop;var h=b.seriesTypes,q=h.sma;h=h.column;var t=e.extend,u=e.merge,l=e.correctFloat,v=e.isArray;
+e=function(a){function b(){var d=null!==a&&a.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;return d}r(b,a);b.prototype.drawGraph=function(){var a=this.options,b=this.points,e=a.greaterBarColor;a=a.lowerBarColor;var c=b[0];if(!this.userOptions.color&&c)for(c.color=e,c=1;c<b.length;c++)b[c].color=b[c].y>b[c-1].y?e:b[c].y<b[c-1].y?a:b[c-1].color};b.prototype.getValues=function(a){var b=a.xData||[];a=a.yData||[];var d=a.length,c=[],e=[],h=[],m=0,n=0,f;if(!(34>=b.length)&&
+v(a[0])&&4===a[0].length){for(f=0;33>f;f++){var g=(a[f][1]+a[f][2])/2;29<=f&&(m=l(m+g));n=l(n+g)}for(f=33;f<d;f++){g=(a[f][1]+a[f][2])/2;m=l(m+g);n=l(n+g);g=m/5;var k=n/34;g=l(g-k);c.push([b[f],g]);e.push(b[f]);h.push(g);g=f+1-5;k=f+1-34;m=l(m-(a[g][1]+a[g][2])/2);n=l(n-(a[k][1]+a[k][2])/2)}return{values:c,xData:e,yData:h}}};b.defaultOptions=u(q.defaultOptions,{params:{index:void 0,period:void 0},greaterBarColor:k.positiveColor,lowerBarColor:k.negativeColor,threshold:0,groupPadding:.2,pointPadding:.2,
+crisp:!1,states:{hover:{halo:{size:0}}}});return b}(q);t(e.prototype,{nameBase:"AO",nameComponents:!1,markerAttribs:a,getColumnMetrics:h.prototype.getColumnMetrics,crispCol:h.prototype.crispCol,translate:h.prototype.translate,drawPoints:h.prototype.drawPoints});b.registerSeriesType("ao",e);"";return e});b(a,"masters/indicators/ao.src.js",[],function(){})});
 //# sourceMappingURL=ao.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/ao.js.map


+ 10 - 5
node_modules/highcharts/indicators/ao.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Wojciech Chmiel
  *
@@ -28,7 +28,7 @@
             obj[path] = fn.apply(null, args);
         }
     }
-    _registerModule(_modules, 'Stock/Indicators/AO/AOIndicator.js', [_modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (H, SeriesRegistry, U) {
+    _registerModule(_modules, 'Stock/Indicators/AO/AOIndicator.js', [_modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js'], _modules['Core/Color/Palette.js']], function (H, SeriesRegistry, U, palette) {
         /* *
          *
          *  License: www.highcharts.com/license
@@ -194,6 +194,11 @@
              * @optionparent plotOptions.ao
              */
             AOIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
+                params: {
+                    // Index and period are unchangeable, do not inherit (#15362)
+                    index: void 0,
+                    period: void 0
+                },
                 /**
                  * Color of the Awesome oscillator series bar that is greater than the
                  * previous one. Note that if a `color` is defined, the `color`
@@ -205,7 +210,7 @@
                  * @type  {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
                  * @since 7.0.0
                  */
-                greaterBarColor: '#06B535',
+                greaterBarColor: palette.positiveColor,
                 /**
                  * Color of the Awesome oscillator series bar that is lower than the
                  * previous one. Note that if a `color` is defined, the `color`
@@ -217,7 +222,7 @@
                  * @type  {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
                  * @since 7.0.0
                  */
-                lowerBarColor: '#F21313',
+                lowerBarColor: palette.negativeColor,
                 threshold: 0,
                 groupPadding: 0.2,
                 pointPadding: 0.2,

+ 3 - 3
node_modules/highcharts/indicators/apo.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Wojciech Chmiel
 
@@ -11,5 +11,5 @@
 f,g,b,l){if(a)return b?b(a):!0;e(l||this.generateMessage(g,f));return!1},generateMessage:function(a,b){return'Error: "'+a+'" indicator type requires "'+b+'" indicator loaded before. Please read docs: https://api.highcharts.com/highstock/plotOptions.'+a}}});b(a,"Stock/Indicators/APO/APOIndicator.js",[a["Mixins/IndicatorRequired.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,b,c){var f=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof
 Array&&function(a,d){a.__proto__=d}||function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return a(b,d)};return function(b,d){function k(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(k.prototype=d.prototype,new k)}}(),g=b.seriesTypes.ema,e=c.extend,l=c.merge,m=c.error;c=function(b){function c(){var a=null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}f(c,b);c.prototype.getValues=function(a,b){var c=b.periods,d=b.index;b=[];
 var e=[],f=[],h;if(2!==c.length||c[1]<=c[0])m('Error: "APO requires two periods. Notice, first period should be lower than the second one."');else{var k=g.prototype.getValues.call(this,a,{index:d,period:c[0]});a=g.prototype.getValues.call(this,a,{index:d,period:c[1]});if(k&&a){c=c[1]-c[0];for(h=0;h<a.yData.length;h++)d=k.yData[h+c]-a.yData[h],b.push([a.xData[h],d]),e.push(a.xData[h]),f.push(d);return{values:b,xData:e,yData:f}}}};c.prototype.init=function(){var b=arguments,c=this;a.isParentLoaded(g,
-"ema",c.type,function(a){a.prototype.init.apply(c,b)})};c.defaultOptions=l(g.defaultOptions,{params:{periods:[10,20]}});return c}(g);e(c.prototype,{nameBase:"APO",nameComponents:["periods"]});b.registerSeriesType("apo",c);"";return c});b(a,"masters/indicators/apo.src.js",[],function(){})});
+"ema",c.type,function(a){a.prototype.init.apply(c,b)})};c.defaultOptions=l(g.defaultOptions,{params:{period:void 0,periods:[10,20]}});return c}(g);e(c.prototype,{nameBase:"APO",nameComponents:["periods"]});b.registerSeriesType("apo",c);"";return c});b(a,"masters/indicators/apo.src.js",[],function(){})});
 //# sourceMappingURL=apo.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/apo.js.map


+ 3 - 2
node_modules/highcharts/indicators/apo.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Wojciech Chmiel
  *
@@ -233,6 +233,7 @@
                  * @excluding period
                  */
                 params: {
+                    period: void 0,
                     /**
                      * Periods for Absolute Price Oscillator calculations.
                      *

+ 3 - 3
node_modules/highcharts/indicators/aroon-oscillator.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Wojciech Chmiel
 
@@ -13,6 +13,6 @@ arguments);a.points.forEach(function(g){c.forEach(function(b,l){k=g[b];null!==k&
 b+' in DOCS options declared. Check if linesApiNames are consistent with your DOCS line names." at mixin/multiple-line.js:34'),a.graph=a["graph"+b],h.prototype.drawGraph.call(a),a["graph"+b]=a.graph):c('Error: "'+b+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")});a.points=d;a.options=p;a.graph=b;h.prototype.drawGraph.call(a)}}});e(a,"Mixins/IndicatorRequired.js",[a["Core/Utilities.js"]],function(a){var f=a.error;return{isParentLoaded:function(a,
 c,e,h,g){if(a)return h?h(a):!0;f(g||this.generateMessage(e,c));return!1},generateMessage:function(a,c){return'Error: "'+a+'" indicator type requires "'+c+'" indicator loaded before. Please read docs: https://api.highcharts.com/highstock/plotOptions.'+a}}});e(a,"Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js",[a["Mixins/MultipleLines.js"],a["Mixins/IndicatorRequired.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,f,e,c){var m=this&&this.__extends||function(){var a=
 function(d,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return a(d,b)};return function(d,b){function l(){this.constructor=d}a(d,b);d.prototype=null===b?Object.create(b):(l.prototype=b.prototype,new l)}}(),h=e.seriesTypes.aroon,g=c.extend,r=c.merge,d=e.seriesTypes.aroon;c=function(a){function c(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}
-m(c,a);c.prototype.getValues=function(a,c){var b=[],e=[],f=[];a=d.prototype.getValues.call(this,a,c);for(c=0;c<a.yData.length;c++){var g=a.yData[c][0];var h=a.yData[c][1];g-=h;b.push([a.xData[c],g]);e.push(a.xData[c]);f.push(g)}return{values:b,xData:e,yData:f}};c.prototype.init=function(){var a=arguments,c=this;f.isParentLoaded(d,"aroon",c.type,function(b){b.prototype.init.apply(c,a)})};c.defaultOptions=r(h.defaultOptions,{params:{period:25},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b>: {point.y}'}});
+m(c,a);c.prototype.getValues=function(a,c){var b=[],e=[],f=[];a=d.prototype.getValues.call(this,a,c);for(c=0;c<a.yData.length;c++){var g=a.yData[c][0];var h=a.yData[c][1];g-=h;b.push([a.xData[c],g]);e.push(a.xData[c]);f.push(g)}return{values:b,xData:e,yData:f}};c.prototype.init=function(){var a=arguments,c=this;f.isParentLoaded(d,"aroon",c.type,function(b){b.prototype.init.apply(c,a)})};c.defaultOptions=r(h.defaultOptions,{tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b>: {point.y}'}});
 return c}(h);g(c.prototype,r(a,{nameBase:"Aroon Oscillator",pointArrayMap:["y"],pointValKey:"y",linesApiNames:[]}));e.registerSeriesType("aroonoscillator",c);"";return c});e(a,"masters/indicators/aroon-oscillator.src.js",[],function(){})});
 //# sourceMappingURL=aroon-oscillator.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/aroon-oscillator.js.map


+ 2 - 16
node_modules/highcharts/indicators/aroon-oscillator.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Wojciech Chmiel
  *
@@ -395,20 +395,6 @@
              * @optionparent plotOptions.aroonoscillator
              */
             AroonOscillatorIndicator.defaultOptions = merge(AroonIndicator.defaultOptions, {
-                /**
-                 * Paramters used in calculation of aroon oscillator series points.
-                 *
-                 * @excluding periods, index
-                 */
-                params: {
-                    /**
-                     * Period for Aroon Oscillator
-                     *
-                     * @since   7.0.0
-                     * @product highstock
-                     */
-                    period: 25
-                },
                 tooltip: {
                     pointFormat: '<span style="color:{point.color}">\u25CF</span><b> {series.name}</b>: {point.y}'
                 }

+ 4 - 4
node_modules/highcharts/indicators/aroon.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Wojciech Chmiel
 
@@ -13,6 +13,6 @@ arguments);a.points.forEach(function(m){e.forEach(function(b,q){g=m[b];null!==g&
 b+' in DOCS options declared. Check if linesApiNames are consistent with your DOCS line names." at mixin/multiple-line.js:34'),a.graph=a["graph"+b],l.prototype.drawGraph.call(a),a["graph"+b]=a.graph):t('Error: "'+b+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")});a.points=d;a.options=c;a.graph=b;l.prototype.drawGraph.call(a)}}});k(a,"Stock/Indicators/Aroon/AroonIndicator.js",[a["Mixins/MultipleLines.js"],a["Core/Series/SeriesRegistry.js"],
 a["Core/Utilities.js"]],function(a,f,e){function k(a,c){var b=a[0],q=0,h;for(h=1;h<a.length;h++)if("max"===c&&a[h]>=b||"min"===c&&a[h]<=b)b=a[h],q=h;return q}var u=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(c,b)};return function(c,b){function d(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,
 new d)}}(),l=f.seriesTypes.sma,m=e.extend,v=e.merge,d=e.pick;e=function(a){function c(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}u(c,a);c.prototype.getValues=function(a,c){c=c.period;var b=a.xData,e=(a=a.yData)?a.length:0,f=[],g=[],m=[],n;for(n=c-1;n<e;n++){var p=a.slice(n-c+1,n+2);var l=k(p.map(function(a){return d(a[2],a)}),"min");p=k(p.map(function(a){return d(a[1],a)}),"max");p=p/c*100;l=l/c*100;b[n+1]&&(f.push([b[n+1],p,l]),g.push(b[n+
-1]),m.push([p,l]))}return{values:f,xData:g,yData:m}};c.defaultOptions=v(l.defaultOptions,{params:{period:25},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Aroon Up: {point.y}<br/>Aroon Down: {point.aroonDown}<br/>'},aroonDown:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}});return c}(l);m(e.prototype,{linesApiNames:["aroonDown"],nameBase:"Aroon",pointArrayMap:["y","aroonDown"],pointValKey:"y",drawGraph:a.drawGraph,
-getTranslatedLinesNames:a.getTranslatedLinesNames,toYData:a.toYData,translate:a.translate});f.registerSeriesType("aroon",e);"";return e});k(a,"masters/indicators/aroon.src.js",[],function(){})});
+1]),m.push([p,l]))}return{values:f,xData:g,yData:m}};c.defaultOptions=v(l.defaultOptions,{params:{index:void 0,period:25},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Aroon Up: {point.y}<br/>Aroon Down: {point.aroonDown}<br/>'},aroonDown:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}});return c}(l);m(e.prototype,{linesApiNames:["aroonDown"],nameBase:"Aroon",pointArrayMap:["y","aroonDown"],pointValKey:"y",
+drawGraph:a.drawGraph,getTranslatedLinesNames:a.getTranslatedLinesNames,toYData:a.toYData,translate:a.translate});f.registerSeriesType("aroon",e);"";return e});k(a,"masters/indicators/aroon.src.js",[],function(){})});
 //# sourceMappingURL=aroon.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/aroon.js.map


+ 4 - 6
node_modules/highcharts/indicators/aroon.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Wojciech Chmiel
  *
@@ -363,12 +363,10 @@
                 /**
                  * Paramters used in calculation of aroon series points.
                  *
-                 * @excluding periods, index
+                 * @excluding index
                  */
                 params: {
-                    /**
-                     * Period for Aroon indicator
-                     */
+                    index: void 0,
                     period: 25
                 },
                 marker: {

+ 3 - 3
node_modules/highcharts/indicators/atr.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Sebastian Bochan
 
@@ -10,5 +10,5 @@
 (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/atr",["highcharts","highcharts/modules/stock"],function(d){a(d);a.Highcharts=d;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function d(a,f,d,g){a.hasOwnProperty(f)||(a[f]=g.apply(null,d))}a=a?a._modules:{};d(a,"Stock/Indicators/ATR/ATRIndicator.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,
 f){function d(a,b){return Math.max(a[1]-a[2],"undefined"===typeof b?0:Math.abs(a[1]-b[3]),"undefined"===typeof b?0:Math.abs(a[2]-b[3]))}var g=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),k=a.seriesTypes.sma,
 r=f.isArray,m=f.merge;f=function(a){function b(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.points=void 0;c.options=void 0;return c}g(b,a);b.prototype.getValues=function(a,b){b=b.period;var c=a.xData,f=(a=a.yData)?a.length:0,g=1,l=0,k=0,n=[],p=[],q=[],e;var m=[[c[0],a[0]]];if(!(c.length<=b)&&r(a[0])&&4===a[0].length){for(e=1;e<=f;e++)if(m.push([c[e],a[e]]),b<g){var h=b;var t=c[e-1],u=d(a[e-1],a[e-2]);h=[t,(l*(h-1)+u)/h];l=h[1];n.push(h);p.push(h[0]);q.push(h[1])}else b===g?(l=k/
-(e-1),n.push([c[e-1],l]),p.push(c[e-1]),q.push(l)):k+=d(a[e-1],a[e-2]),g++;return{values:n,xData:p,yData:q}}};b.defaultOptions=m(k.defaultOptions,{params:{period:14}});return b}(k);a.registerSeriesType("atr",f);"";return f});d(a,"masters/indicators/atr.src.js",[],function(){})});
+(e-1),n.push([c[e-1],l]),p.push(c[e-1]),q.push(l)):k+=d(a[e-1],a[e-2]),g++;return{values:n,xData:p,yData:q}}};b.defaultOptions=m(k.defaultOptions,{params:{index:void 0}});return b}(k);a.registerSeriesType("atr",f);"";return f});d(a,"masters/indicators/atr.src.js",[],function(){})});
 //# sourceMappingURL=atr.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/atr.js.map


+ 6 - 3
node_modules/highcharts/indicators/atr.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Sebastian Bochan
  *
@@ -182,8 +182,11 @@
              * @optionparent plotOptions.atr
              */
             ATRIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
+                /**
+                 * @excluding index
+                 */
                 params: {
-                    period: 14
+                    index: void 0 // unused index, do not inherit (#15362)
                 }
             });
             return ATRIndicator;

+ 2 - 2
node_modules/highcharts/indicators/bollinger-bands.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Pawe Fus
 

+ 2 - 2
node_modules/highcharts/indicators/bollinger-bands.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Paweł Fus
  *

+ 3 - 3
node_modules/highcharts/indicators/cci.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Sebastian Bochan
 
@@ -10,5 +10,5 @@
 (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/cci",["highcharts","highcharts/modules/stock"],function(g){a(g);a.Highcharts=g;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function g(a,e,g,k){a.hasOwnProperty(e)||(a[e]=k.apply(null,g))}a=a?a._modules:{};g(a,"Stock/Indicators/CCI/CCIIndicator.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,
 e){function g(a){return a.reduce(function(a,b){return a+b},0)}var k=this&&this.__extends||function(){var a=function(f,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(f,b)};return function(f,b){function c(){this.constructor=f}a(f,b);f.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)}}(),l=a.seriesTypes.sma,u=e.isArray,q=e.merge;e=function(a){function f(){var b=null!==
 a&&a.apply(this,arguments)||this;b.data=void 0;b.points=void 0;b.options=void 0;return b}k(f,a);f.prototype.getValues=function(a,c){c=c.period;var b=a.xData,f=(a=a.yData)?a.length:0,e=[],h=1,k=[],l=[],r=[];if(!(b.length<=c)&&u(a[0])&&4===a[0].length){for(;h<c;){var d=a[h-1];e.push((d[1]+d[2]+d[3])/3);h++}for(h=c;h<=f;h++){d=a[h-1];d=(d[1]+d[2]+d[3])/3;var n=e.push(d);var m=e.slice(n-c);n=g(m)/c;var p,q=m.length,t=0;for(p=0;p<q;p++)t+=Math.abs(n-m[p]);m=t/c;d=(d-n)/(.015*m);k.push([b[h-1],d]);l.push(b[h-
-1]);r.push(d)}return{values:k,xData:l,yData:r}}};f.defaultOptions=q(l.defaultOptions,{params:{period:14}});return f}(l);a.registerSeriesType("cci",e);"";return e});g(a,"masters/indicators/cci.src.js",[],function(){})});
+1]);r.push(d)}return{values:k,xData:l,yData:r}}};f.defaultOptions=q(l.defaultOptions,{params:{index:void 0}});return f}(l);a.registerSeriesType("cci",e);"";return e});g(a,"masters/indicators/cci.src.js",[],function(){})});
 //# sourceMappingURL=cci.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/cci.js.map


+ 6 - 3
node_modules/highcharts/indicators/cci.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Sebastian Bochan
  *
@@ -174,8 +174,11 @@
              * @optionparent plotOptions.cci
              */
             CCIIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
+                /**
+                 * @excluding index
+                 */
                 params: {
-                    period: 14
+                    index: void 0 // unused index, do not inherit (#15362)
                 }
             });
             return CCIIndicator;

+ 7 - 7
node_modules/highcharts/indicators/chaikin.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Wojciech Chmiel
 
@@ -10,9 +10,9 @@
 (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/chaikin",["highcharts","highcharts/modules/stock"],function(e){a(e);a.Highcharts=e;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function e(a,b,f,r){a.hasOwnProperty(b)||(a[b]=r.apply(null,f))}a=a?a._modules:{};e(a,"Mixins/IndicatorRequired.js",[a["Core/Utilities.js"]],function(a){var b=a.error;return{isParentLoaded:function(a,
 r,n,e,h){if(a)return e?e(a):!0;b(h||this.generateMessage(n,r));return!1},generateMessage:function(a,b){return'Error: "'+a+'" indicator type requires "'+b+'" indicator loaded before. Please read docs: https://api.highcharts.com/highstock/plotOptions.'+a}}});e(a,"Stock/Indicators/AD/ADIndicator.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,b){var f=this&&this.__extends||function(){var a=function(b,p){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=
 d}||function(a,d){for(var c in d)d.hasOwnProperty(c)&&(a[c]=d[c])};return a(b,p)};return function(b,p){function q(){this.constructor=b}a(b,p);b.prototype=null===p?Object.create(p):(q.prototype=p.prototype,new q)}}(),e=a.seriesTypes.sma,n=b.error,t=b.extend,h=b.merge;b=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}f(b,a);b.populateAverage=function(a,b,d,c,g){g=b[c][1];var k=b[c][2];b=b[c][3];d=d[c];return[a[c],b===g&&
-b===k||g===k?0:(2*b-k-g)/(g-k)*d]};b.prototype.getValues=function(a,q){var d=q.period,c=a.xData,g=a.yData,k=q.volumeSeriesID,m=a.chart.get(k);q=m&&m.yData;var e=g?g.length:0,f=[],h=[],l=[];if(!(c.length<=d&&e&&4!==g[0].length)){if(m){for(k=d;k<e;k++)a=f.length,m=b.populateAverage(c,g,q,k,d),0<a&&(m[1]+=f[a-1][1]),f.push(m),h.push(m[0]),l.push(m[1]);return{values:f,xData:h,yData:l}}n("Series "+k+" not found! Check `volumeSeriesID`.",!0,a.chart)}};b.defaultOptions=h(e.defaultOptions,{params:{volumeSeriesID:"volume"}});
-return b}(e);t(b.prototype,{nameComponents:!1,nameBase:"Accumulation/Distribution"});a.registerSeriesType("ad",b);"";return b});e(a,"Stock/Indicators/Chaikin/ChaikinIndicator.js",[a["Mixins/IndicatorRequired.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,b,f){var e=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,
-c)};return function(b,c){function g(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}(),n=b.seriesTypes,t=n.ad,h=n.ema,v=f.correctFloat;n=f.extend;var u=f.merge,p=f.error;f=function(b){function d(){var a=null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}e(d,b);d.prototype.init=function(){var b=arguments,g=this;a.isParentLoaded(h,"ema",g.type,function(a){a.prototype.init.apply(g,b)})};d.prototype.getValues=
-function(a,b){var c=b.periods,d=b.period,e=[],f=[],g=[],l;if(2!==c.length||c[1]<=c[0])p('Error: "Chaikin requires two periods. Notice, first period should be lower than the second one."');else if(b=t.prototype.getValues.call(this,a,{volumeSeriesID:b.volumeSeriesID,period:d}))if(a=h.prototype.getValues.call(this,b,{period:c[0]}),b=h.prototype.getValues.call(this,b,{period:c[1]}),a&&b){c=c[1]-c[0];for(l=0;l<b.yData.length;l++)d=v(a.yData[l+c]-b.yData[l]),e.push([b.xData[l],d]),f.push(b.xData[l]),g.push(d);
-return{values:e,xData:f,yData:g}}};d.defaultOptions=u(h.defaultOptions,{params:{volumeSeriesID:"volume",periods:[3,10]}});return d}(h);n(f.prototype,{nameBase:"Chaikin Osc",nameComponents:["periods"]});b.registerSeriesType("chaikin",f);"";return f});e(a,"masters/indicators/chaikin.src.js",[],function(){})});
+b===k||g===k?0:(2*b-k-g)/(g-k)*d]};b.prototype.getValues=function(a,q){var d=q.period,c=a.xData,g=a.yData,k=q.volumeSeriesID,m=a.chart.get(k);q=m&&m.yData;var e=g?g.length:0,f=[],h=[],l=[];if(!(c.length<=d&&e&&4!==g[0].length)){if(m){for(k=d;k<e;k++)a=f.length,m=b.populateAverage(c,g,q,k,d),0<a&&(m[1]+=f[a-1][1]),f.push(m),h.push(m[0]),l.push(m[1]);return{values:f,xData:h,yData:l}}n("Series "+k+" not found! Check `volumeSeriesID`.",!0,a.chart)}};b.defaultOptions=h(e.defaultOptions,{params:{index:void 0,
+volumeSeriesID:"volume"}});return b}(e);t(b.prototype,{nameComponents:!1,nameBase:"Accumulation/Distribution"});a.registerSeriesType("ad",b);"";return b});e(a,"Stock/Indicators/Chaikin/ChaikinIndicator.js",[a["Mixins/IndicatorRequired.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,b,f){var e=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&
+(a[c]=b[c])};return a(b,c)};return function(b,c){function g(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}(),n=b.seriesTypes,t=n.ad,h=n.ema,v=f.correctFloat;n=f.extend;var u=f.merge,p=f.error;f=function(b){function d(){var a=null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}e(d,b);d.prototype.init=function(){var b=arguments,g=this;a.isParentLoaded(h,"ema",g.type,function(a){a.prototype.init.apply(g,
+b)})};d.prototype.getValues=function(a,b){var c=b.periods,d=b.period,e=[],f=[],g=[],l;if(2!==c.length||c[1]<=c[0])p('Error: "Chaikin requires two periods. Notice, first period should be lower than the second one."');else if(b=t.prototype.getValues.call(this,a,{volumeSeriesID:b.volumeSeriesID,period:d}))if(a=h.prototype.getValues.call(this,b,{period:c[0]}),b=h.prototype.getValues.call(this,b,{period:c[1]}),a&&b){c=c[1]-c[0];for(l=0;l<b.yData.length;l++)d=v(a.yData[l+c]-b.yData[l]),e.push([b.xData[l],
+d]),f.push(b.xData[l]),g.push(d);return{values:e,xData:f,yData:g}}};d.defaultOptions=u(h.defaultOptions,{params:{index:void 0,volumeSeriesID:"volume",period:9,periods:[3,10]}});return d}(h);n(f.prototype,{nameBase:"Chaikin Osc",nameComponents:["periods"]});b.registerSeriesType("chaikin",f);"";return f});e(a,"masters/indicators/chaikin.src.js",[],function(){})});
 //# sourceMappingURL=chaikin.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/chaikin.js.map


+ 14 - 3
node_modules/highcharts/indicators/chaikin.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Wojciech Chmiel
  *
@@ -225,7 +225,11 @@
              * @optionparent plotOptions.ad
              */
             ADIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
+                /**
+                 * @excluding index
+                 */
                 params: {
+                    index: void 0,
                     /**
                      * The id of volume series which is mandatory.
                      * For example using OHLC data, volumeSeriesID='volume' means
@@ -420,15 +424,22 @@
                  * Paramters used in calculation of Chaikin Oscillator
                  * series points.
                  *
-                 * @excluding index, period
+                 * @excluding index
                  */
                 params: {
+                    index: void 0,
                     /**
                      * The id of volume series which is mandatory.
                      * For example using OHLC data, volumeSeriesID='volume' means
                      * the indicator will be calculated using OHLC and volume values.
                      */
                     volumeSeriesID: 'volume',
+                    /**
+                     * Parameter used indirectly for calculating the `AD` indicator.
+                     * Decides about the number of data points that are taken
+                     * into account for the indicator calculations.
+                     */
+                    period: 9,
                     /**
                      * Periods for Chaikin Oscillator calculations.
                      *

+ 2 - 2
node_modules/highcharts/indicators/cmf.js

@@ -1,5 +1,5 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
  (c) 2010-2021 Highsoft AS
  Author: Sebastian Domas
@@ -10,5 +10,5 @@
 b){var h=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return a(b,c)};return function(b,c){function t(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(t.prototype=c.prototype,new t)}}(),f=a.seriesTypes.sma,u=b.merge;b=function(a){function b(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=
 void 0;c.volumeSeries=void 0;c.linkedParent=void 0;c.yData=void 0;c.nameBase="Chaikin Money Flow";return c}h(b,a);b.prototype.isValid=function(){var a=this.chart,b=this.options,e=this.linkedParent;a=this.volumeSeries||(this.volumeSeries=a.get(b.params.volumeSeriesID));var g=e&&e.yData&&4===e.yData[0].length;return!!(e&&a&&e.xData&&e.xData.length>=b.params.period&&a.xData&&a.xData.length>=b.params.period&&g)};b.prototype.getValues=function(a,b){if(this.isValid())return this.getMoneyFlow(a.xData,a.yData,
 this.volumeSeries.yData,b.period)};b.prototype.getMoneyFlow=function(a,b,e,g){function c(a,b){var c=a[1],e=a[2];a=a[3];return null!==b&&null!==c&&null!==e&&null!==a&&c!==e?(a-e-(c-a))/(c-e)*b:(q=d,null)}var h=b.length,l=[],k=0,m=0,f=[],n=[],r=[],d,q=-1;if(0<g&&g<=h){for(d=0;d<g;d++)l[d]=c(b[d],e[d]),k+=e[d],m+=l[d];f.push(a[d-1]);n.push(d-q>=g&&0!==k?m/k:null);for(r.push([f[0],n[0]]);d<h;d++){l[d]=c(b[d],e[d]);k-=e[d-g];k+=e[d];m-=l[d-g];m+=l[d];var p=[a[d],d-q>=g?m/k:null];f.push(p[0]);n.push(p[1]);
-r.push([p[0],p[1]])}}return{values:r,xData:f,yData:n}};b.defaultOptions=u(f.defaultOptions,{params:{period:14,volumeSeriesID:"volume"}});return b}(f);a.registerSeriesType("cmf",b);"";return b});b(a,"masters/indicators/cmf.src.js",[],function(){})});
+r.push([p[0],p[1]])}}return{values:r,xData:f,yData:n}};b.defaultOptions=u(f.defaultOptions,{params:{index:void 0,volumeSeriesID:"volume"}});return b}(f);a.registerSeriesType("cmf",b);"";return b});b(a,"masters/indicators/cmf.src.js",[],function(){})});
 //# sourceMappingURL=cmf.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/cmf.js.map


+ 6 - 3
node_modules/highcharts/indicators/cmf.src.js

@@ -1,5 +1,5 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
  * (c) 2010-2021 Highsoft AS
  * Author: Sebastian Domas
@@ -34,7 +34,7 @@
          *
          *  Author: Sebastian Domas
          *
-         *  Chaikin Money Flow indicator for Highstock
+         *  Chaikin Money Flow indicator for Highcharts Stock
          *
          *  License: www.highcharts.com/license
          *
@@ -234,8 +234,11 @@
              * @optionparent plotOptions.cmf
              */
             CMFIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
+                /**
+                 * @excluding index
+                 */
                 params: {
-                    period: 14,
+                    index: void 0,
                     /**
                      * The id of another series to use its data as volume data for the
                      * indiator calculation.

+ 2 - 2
node_modules/highcharts/indicators/dema.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Rafa Sebestjaski
 

+ 4 - 4
node_modules/highcharts/indicators/dema.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Rafał Sebestjański
  *
@@ -251,10 +251,10 @@
          *
          * */
         /**
-         * A `DEMA` series. If the [type](#series.ema.type) option is not
+         * A `DEMA` series. If the [type](#series.dema.type) option is not
          * specified, it is inherited from [chart.type](#chart.type).
          *
-         * @extends   series,plotOptions.ema
+         * @extends   series,plotOptions.dema
          * @since     7.0.0
          * @product   highstock
          * @excluding allAreas, colorAxis, compare, compareBase, dataParser, dataURL,

+ 3 - 3
node_modules/highcharts/indicators/dpo.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Wojciech Chmiel
 
@@ -10,5 +10,5 @@
 (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/dpo",["highcharts","highcharts/modules/stock"],function(e){a(e);a.Highcharts=e;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function e(a,d,e,l){a.hasOwnProperty(d)||(a[d]=l.apply(null,e))}a=a?a._modules:{};e(a,"Stock/Indicators/DPO/DPOIndicator.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,
 d){function e(a,b,c,g,t){b=q(b[c][g],b[c]);return t?m(a-b):m(a+b)}var l=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(b,c)};return function(b,c){function g(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}(),n=a.seriesTypes.sma,u=d.extend,v=d.merge,m=d.correctFloat,q=d.pick;d=function(a){function b(){var c=
 null!==a&&a.apply(this,arguments)||this;c.options=void 0;c.data=void 0;c.points=void 0;return c}l(b,a);b.prototype.getValues=function(a,b){var c=b.period;b=b.index;var d=c+Math.floor(c/2+1),g=a.xData||[];a=a.yData||[];var l=a.length,m=[],n=[],r=[],h=0,f,k;if(!(g.length<=d)){for(f=0;f<c-1;f++)h=e(h,a,f,b);for(k=0;k<=l-d;k++){var p=k+c-1;f=k+d-1;h=e(h,a,p,b);p=q(a[f][b],a[f]);p-=h/c;h=e(h,a,k,b,!0);m.push([g[f],p]);n.push(g[f]);r.push(p)}return{values:m,xData:n,yData:r}}};b.defaultOptions=v(n.defaultOptions,
-{params:{period:21}});return b}(n);u(d.prototype,{nameBase:"DPO"});a.registerSeriesType("dpo",d);"";return d});e(a,"masters/indicators/dpo.src.js",[],function(){})});
+{params:{index:0,period:21}});return b}(n);u(d.prototype,{nameBase:"DPO"});a.registerSeriesType("dpo",d);"";return d});e(a,"masters/indicators/dpo.src.js",[],function(){})});
 //# sourceMappingURL=dpo.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/dpo.js.map


+ 3 - 2
node_modules/highcharts/indicators/dpo.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Wojciech Chmiel
  *
@@ -178,6 +178,7 @@
                  * points.
                  */
                 params: {
+                    index: 0,
                     /**
                      * Period for Detrended Price Oscillator
                      */

+ 2 - 2
node_modules/highcharts/indicators/ema.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Sebastian Bochan
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/ema.js.map


+ 6 - 5
node_modules/highcharts/indicators/ema.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Sebastian Bochan
  *
@@ -174,9 +174,10 @@
                      * example using OHLC data, index=2 means the indicator will be
                      * calculated using Low values.
                      *
-                     * By default index value used to be set to 0. Since Highstock 7
-                     * by default index is set to 3 which means that the ema
-                     * indicator will be calculated using Close values.
+                     * By default index value used to be set to 0. Since
+                     * Highcharts Stock 7 by default index is set to 3
+                     * which means that the ema indicator will be
+                     * calculated using Close values.
                      */
                     index: 3,
                     period: 9 // @merge 14 in v6.2

+ 15 - 15
node_modules/highcharts/indicators/ichimoku-kinko-hyo.js

@@ -1,25 +1,25 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Sebastian Bochan
 
  License: www.highcharts.com/license
 */
-(function(f){"object"===typeof module&&module.exports?(f["default"]=f,module.exports=f):"function"===typeof define&&define.amd?define("highcharts/indicators/ichimoku-kinko-hyo",["highcharts","highcharts/modules/stock"],function(m){f(m);f.Highcharts=m;return f}):f("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(f){function m(f,m,p,h){f.hasOwnProperty(m)||(f[m]=h.apply(null,p))}f=f?f._modules:{};m(f,"Stock/Indicators/IKH/IKHIndicator.js",[f["Core/Color/Color.js"],f["Core/Globals.js"],
-f["Core/Series/SeriesRegistry.js"],f["Core/Utilities.js"]],function(f,m,p,h){function G(d){return d.reduce(function(b,a){return Math.max(b,a[1])},-Infinity)}function H(d){return d.reduce(function(b,a){return Math.min(b,a[2])},Infinity)}function y(d){return{high:G(d),low:H(d)}}function I(d){var b,a,n,c,q;d.series.forEach(function(d){if(d.xData)for(c=d.xData,q=a=d.xIncrement?1:c.length-1;0<q;q--)if(n=c[q]-c[q-1],"undefined"===typeof b||n<b)b=n});return b}function J(d,b,a,n){if(d&&b&&a&&n){var c=b.plotX-
-d.plotX;b=b.plotY-d.plotY;var q=n.plotX-a.plotX;n=n.plotY-a.plotY;var f=d.plotX-a.plotX,z=d.plotY-a.plotY;a=(-b*f+c*z)/(-q*b+c*n);q=(q*z-n*f)/(-q*b+c*n);if(0<=a&&1>=a&&0<=q&&1>=q)return{plotX:d.plotX+q*c,plotY:d.plotY+q*b}}return!1}function D(d){var b=d.indicator;b.points=d.points;b.nextPoints=d.nextPoints;b.color=d.color;b.options=B(d.options.senkouSpan.styles,d.gap);b.graph=d.graph;b.fillGraph=!0;p.seriesTypes.sma.prototype.drawGraph.call(b)}var K=this&&this.__extends||function(){var d=function(b,
-a){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return d(b,a)};return function(b,a){function n(){this.constructor=b}d(b,a);b.prototype=null===a?Object.create(a):(n.prototype=a.prototype,new n)}}(),v=f.parse,E=p.seriesTypes.sma,F=h.defined;f=h.extend;var L=h.isArray,B=h.merge,M=h.objectEach;m.approximations["ichimoku-averages"]=function(){var d=[],b;[].forEach.call(arguments,function(a,n){d.push(m.approximations.average(a));
-b=!b&&"undefined"===typeof d[n]});return b?void 0:d};h=function(d){function b(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;a.graphCollection=void 0;a.graphsenkouSpan=void 0;a.ikhMap=void 0;a.nextPoints=void 0;return a}K(b,d);b.prototype.init=function(){p.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=B({tenkanLine:{styles:{lineColor:this.color}},kijunLine:{styles:{lineColor:this.color}},chikouLine:{styles:{lineColor:this.color}},
-senkouSpanA:{styles:{lineColor:this.color,fill:v(this.color).setOpacity(.5).get()}},senkouSpanB:{styles:{lineColor:this.color,fill:v(this.color).setOpacity(.5).get()}},senkouSpan:{styles:{fill:v(this.color).setOpacity(.2).get()}}},this.options)};b.prototype.toYData=function(a){return[a.tenkanSen,a.kijunSen,a.chikouSpan,a.senkouSpanA,a.senkouSpanB]};b.prototype.translate=function(){var a=this;p.seriesTypes.sma.prototype.translate.apply(a);a.points.forEach(function(b){a.pointArrayMap.forEach(function(c){F(b[c])&&
-(b["plot"+c]=a.yAxis.toPixels(b[c],!0),b.plotY=b["plot"+c],b.tooltipPos=[b.plotX,b["plot"+c]],b.isNull=!1)})})};b.prototype.drawGraph=function(){var a=this,b=a.points,c=b.length,d=a.options,f=a.graph,z=a.color,m={options:{gapSize:d.gapSize}},l=a.pointArrayMap.length,w=[[],[],[],[],[],[]],e={tenkanLine:w[0],kijunLine:w[1],chikouLine:w[2],senkouSpanA:w[3],senkouSpanB:w[4],senkouSpan:w[5]},h=[],g=a.options.senkouSpan,u=g.color||g.styles.fill,C=g.negativeColor,r=[[],[]],x=[[],[]],y=0,t,v,A;for(a.ikhMap=
-e;c--;){var k=b[c];for(t=0;t<l;t++)g=a.pointArrayMap[t],F(k[g])&&w[t].push({plotX:k.plotX,plotY:k["plot"+g],isNull:!1});C&&c!==b.length-1&&(g=e.senkouSpanB.length-1,k=J(e.senkouSpanA[g-1],e.senkouSpanA[g],e.senkouSpanB[g-1],e.senkouSpanB[g]),t={plotX:k.plotX,plotY:k.plotY,isNull:!1,intersectPoint:!0},k&&(e.senkouSpanA.splice(g,0,t),e.senkouSpanB.splice(g,0,t),h.push(g)))}M(e,function(b,c){d[c]&&"senkouSpan"!==c&&(a.points=w[y],a.options=B(d[c].styles,m),a.graph=a["graph"+c],a.fillGraph=!1,a.color=
+(function(f){"object"===typeof module&&module.exports?(f["default"]=f,module.exports=f):"function"===typeof define&&define.amd?define("highcharts/indicators/ichimoku-kinko-hyo",["highcharts","highcharts/modules/stock"],function(h){f(h);f.Highcharts=h;return f}):f("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(f){function h(f,h,p,n){f.hasOwnProperty(h)||(f[h]=n.apply(null,p))}f=f?f._modules:{};h(f,"Stock/Indicators/IKH/IKHIndicator.js",[f["Core/Color/Color.js"],f["Core/Globals.js"],
+f["Core/Series/SeriesRegistry.js"],f["Core/Utilities.js"]],function(f,h,p,n){function F(d){return d.reduce(function(b,a){return Math.max(b,a[1])},-Infinity)}function G(d){return d.reduce(function(b,a){return Math.min(b,a[2])},Infinity)}function y(d){return{high:F(d),low:G(d)}}function H(d){var b,a,m,c,q;d.series.forEach(function(d){if(d.xData)for(c=d.xData,q=a=d.xIncrement?1:c.length-1;0<q;q--)if(m=c[q]-c[q-1],"undefined"===typeof b||m<b)b=m});return b}function I(d,b,a,m){if(d&&b&&a&&m){var c=b.plotX-
+d.plotX;b=b.plotY-d.plotY;var q=m.plotX-a.plotX;m=m.plotY-a.plotY;var f=d.plotX-a.plotX,z=d.plotY-a.plotY;a=(-b*f+c*z)/(-q*b+c*m);q=(q*z-m*f)/(-q*b+c*m);if(0<=a&&1>=a&&0<=q&&1>=q)return{plotX:d.plotX+q*c,plotY:d.plotY+q*b}}return!1}function D(d){var b=d.indicator;b.points=d.points;b.nextPoints=d.nextPoints;b.color=d.color;b.options=B(d.options.senkouSpan.styles,d.gap);b.graph=d.graph;b.fillGraph=!0;p.seriesTypes.sma.prototype.drawGraph.call(b)}var J=this&&this.__extends||function(){var d=function(b,
+a){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return d(b,a)};return function(b,a){function m(){this.constructor=b}d(b,a);b.prototype=null===a?Object.create(a):(m.prototype=a.prototype,new m)}}(),v=f.parse,E=p.seriesTypes.sma,K=n.defined;f=n.extend;var L=n.isArray,M=n.isNumber,B=n.merge,N=n.objectEach;h.approximations["ichimoku-averages"]=function(){var d=[],b;[].forEach.call(arguments,function(a,
+m){d.push(h.approximations.average(a));b=!b&&"undefined"===typeof d[m]});return b?void 0:d};n=function(d){function b(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;a.graphCollection=void 0;a.graphsenkouSpan=void 0;a.ikhMap=void 0;a.nextPoints=void 0;return a}J(b,d);b.prototype.init=function(){p.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=B({tenkanLine:{styles:{lineColor:this.color}},kijunLine:{styles:{lineColor:this.color}},chikouLine:{styles:{lineColor:this.color}},
+senkouSpanA:{styles:{lineColor:this.color,fill:v(this.color).setOpacity(.5).get()}},senkouSpanB:{styles:{lineColor:this.color,fill:v(this.color).setOpacity(.5).get()}},senkouSpan:{styles:{fill:v(this.color).setOpacity(.2).get()}}},this.options)};b.prototype.toYData=function(a){return[a.tenkanSen,a.kijunSen,a.chikouSpan,a.senkouSpanA,a.senkouSpanB]};b.prototype.translate=function(){var a=this;p.seriesTypes.sma.prototype.translate.apply(a);a.points.forEach(function(b){a.pointArrayMap.forEach(function(c){var d=
+b[c];M(d)&&(b["plot"+c]=a.yAxis.toPixels(d,!0),b.plotY=b["plot"+c],b.tooltipPos=[b.plotX,b["plot"+c]],b.isNull=!1)})})};b.prototype.drawGraph=function(){var a=this,b=a.points,c=b.length,d=a.options,f=a.graph,z=a.color,n={options:{gapSize:d.gapSize}},l=a.pointArrayMap.length,w=[[],[],[],[],[],[]],e={tenkanLine:w[0],kijunLine:w[1],chikouLine:w[2],senkouSpanA:w[3],senkouSpanB:w[4],senkouSpan:w[5]},h=[],g=a.options.senkouSpan,u=g.color||g.styles.fill,C=g.negativeColor,r=[[],[]],x=[[],[]],y=0,t,v,A;for(a.ikhMap=
+e;c--;){var k=b[c];for(t=0;t<l;t++)g=a.pointArrayMap[t],K(k[g])&&w[t].push({plotX:k.plotX,plotY:k["plot"+g],isNull:!1});C&&c!==b.length-1&&(g=e.senkouSpanB.length-1,k=I(e.senkouSpanA[g-1],e.senkouSpanA[g],e.senkouSpanB[g-1],e.senkouSpanB[g]),t={plotX:k.plotX,plotY:k.plotY,isNull:!1,intersectPoint:!0},k&&(e.senkouSpanA.splice(g,0,t),e.senkouSpanB.splice(g,0,t),h.push(g)))}N(e,function(b,c){d[c]&&"senkouSpan"!==c&&(a.points=w[y],a.options=B(d[c].styles,n),a.graph=a["graph"+c],a.fillGraph=!1,a.color=
 z,p.seriesTypes.sma.prototype.drawGraph.call(a),a["graph"+c]=a.graph);y++});a.graphCollection&&a.graphCollection.forEach(function(c){a[c].destroy();delete a[c]});a.graphCollection=[];if(C&&e.senkouSpanA[0]&&e.senkouSpanB[0]){h.unshift(0);h.push(e.senkouSpanA.length-1);for(l=0;l<h.length-1;l++){g=h[l];k=h[l+1];c=e.senkouSpanB.slice(g,k+1);g=e.senkouSpanA.slice(g,k+1);if(1<=Math.floor(c.length/2))if(k=Math.floor(c.length/2),c[k].plotY===g[k].plotY){for(A=t=k=0;A<c.length;A++)k+=c[A].plotY,t+=g[A].plotY;
-k=k>t?0:1}else k=c[k].plotY>g[k].plotY?0:1;else k=c[0].plotY>g[0].plotY?0:1;r[k]=r[k].concat(c);x[k]=x[k].concat(g)}["graphsenkouSpanColor","graphsenkouSpanNegativeColor"].forEach(function(c,b){r[b].length&&x[b].length&&(v=0===b?u:C,D({indicator:a,points:r[b],nextPoints:x[b],color:v,options:d,gap:m,graph:a[c]}),a[c]=a.graph,a.graphCollection.push(c))})}else D({indicator:a,points:e.senkouSpanB,nextPoints:e.senkouSpanA,color:u,options:d,gap:m,graph:a.graphsenkouSpan}),a.graphsenkouSpan=a.graph;delete a.nextPoints;
+k=k>t?0:1}else k=c[k].plotY>g[k].plotY?0:1;else k=c[0].plotY>g[0].plotY?0:1;r[k]=r[k].concat(c);x[k]=x[k].concat(g)}["graphsenkouSpanColor","graphsenkouSpanNegativeColor"].forEach(function(c,b){r[b].length&&x[b].length&&(v=0===b?u:C,D({indicator:a,points:r[b],nextPoints:x[b],color:v,options:d,gap:n,graph:a[c]}),a[c]=a.graph,a.graphCollection.push(c))})}else D({indicator:a,points:e.senkouSpanB,nextPoints:e.senkouSpanA,color:u,options:d,gap:n,graph:a.graphsenkouSpan}),a.graphsenkouSpan=a.graph;delete a.nextPoints;
 delete a.fillGraph;a.points=b;a.options=d;a.graph=f;a.color=z};b.prototype.getGraphPath=function(a){var b=[],c;a=a||this.points;if(this.fillGraph&&this.nextPoints){if((c=p.seriesTypes.sma.prototype.getGraphPath.call(this,this.nextPoints))&&c.length){c[0][0]="L";b=p.seriesTypes.sma.prototype.getGraphPath.call(this,a);c=c.slice(0,b.length);for(var d=c.length-1;0<=d;d--)b.push(c[d])}}else b=p.seriesTypes.sma.prototype.getGraphPath.apply(this,arguments);return b};b.prototype.getValues=function(a,b){var c=
-b.period,d=b.periodTenkan;b=b.periodSenkouSpanB;var f=a.xData,h=a.yData,n=h&&h.length||0;a=I(a.xAxis);var l=[],m=[],e;if(!(f.length<=c)&&L(h[0])&&4===h[0].length){var p=f[0]-c*a;for(e=0;e<c;e++)m.push(p+e*a);for(e=0;e<n;e++){if(e>=d){var g=h.slice(e-d,e);g=y(g);g=(g.high+g.low)/2}if(e>=c){var u=h.slice(e-c,e);u=y(u);u=(u.high+u.low)/2;var v=(g+u)/2}if(e>=b){var r=h.slice(e-b,e);r=y(r);r=(r.high+r.low)/2}p=h[e][3];var x=f[e];"undefined"===typeof l[e]&&(l[e]=[]);"undefined"===typeof l[e+c]&&(l[e+c]=
-[]);l[e+c][0]=g;l[e+c][1]=u;l[e+c][2]=void 0;l[e][2]=p;e<=c&&(l[e+c][3]=void 0,l[e+c][4]=void 0);"undefined"===typeof l[e+2*c]&&(l[e+2*c]=[]);l[e+2*c][3]=v;l[e+2*c][4]=r;m.push(x)}for(e=1;e<=c;e++)m.push(x+e*a);return{values:l,xData:m,yData:l}}};b.defaultOptions=B(E.defaultOptions,{params:{period:26,periodTenkan:9,periodSenkouSpanB:52},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>TENKAN SEN: {point.tenkanSen:.3f}<br/>KIJUN SEN: {point.kijunSen:.3f}<br/>CHIKOU SPAN: {point.chikouSpan:.3f}<br/>SENKOU SPAN A: {point.senkouSpanA:.3f}<br/>SENKOU SPAN B: {point.senkouSpanB:.3f}<br/>'},
-tenkanLine:{styles:{lineWidth:1,lineColor:void 0}},kijunLine:{styles:{lineWidth:1,lineColor:void 0}},chikouLine:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanA:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanB:{styles:{lineWidth:1,lineColor:void 0}},senkouSpan:{styles:{fill:"rgba(255, 0, 0, 0.5)"}},dataGrouping:{approximation:"ichimoku-averages"}});return b}(E);f(h.prototype,{pointArrayMap:["tenkanSen","kijunSen","chikouSpan","senkouSpanA","senkouSpanB"],pointValKey:"tenkanSen",nameComponents:["periodSenkouSpanB",
-"period","periodTenkan"]});p.registerSeriesType("ikh",h);"";return h});m(f,"masters/indicators/ichimoku-kinko-hyo.src.js",[],function(){})});
+b.period,d=b.periodTenkan;b=b.periodSenkouSpanB;var f=a.xData,h=a.yData,n=h&&h.length||0;a=H(a.xAxis);var l=[],m=[],e;if(!(f.length<=c)&&L(h[0])&&4===h[0].length){var p=f[0]-c*a;for(e=0;e<c;e++)m.push(p+e*a);for(e=0;e<n;e++){if(e>=d){var g=h.slice(e-d,e);g=y(g);g=(g.high+g.low)/2}if(e>=c){var u=h.slice(e-c,e);u=y(u);u=(u.high+u.low)/2;var v=(g+u)/2}if(e>=b){var r=h.slice(e-b,e);r=y(r);r=(r.high+r.low)/2}p=h[e][3];var x=f[e];"undefined"===typeof l[e]&&(l[e]=[]);"undefined"===typeof l[e+c]&&(l[e+c]=
+[]);l[e+c][0]=g;l[e+c][1]=u;l[e+c][2]=void 0;l[e][2]=p;e<=c&&(l[e+c][3]=void 0,l[e+c][4]=void 0);"undefined"===typeof l[e+2*c]&&(l[e+2*c]=[]);l[e+2*c][3]=v;l[e+2*c][4]=r;m.push(x)}for(e=1;e<=c;e++)m.push(x+e*a);return{values:l,xData:m,yData:l}}};b.defaultOptions=B(E.defaultOptions,{params:{index:void 0,period:26,periodTenkan:9,periodSenkouSpanB:52},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>TENKAN SEN: {point.tenkanSen:.3f}<br/>KIJUN SEN: {point.kijunSen:.3f}<br/>CHIKOU SPAN: {point.chikouSpan:.3f}<br/>SENKOU SPAN A: {point.senkouSpanA:.3f}<br/>SENKOU SPAN B: {point.senkouSpanB:.3f}<br/>'},
+tenkanLine:{styles:{lineWidth:1,lineColor:void 0}},kijunLine:{styles:{lineWidth:1,lineColor:void 0}},chikouLine:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanA:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanB:{styles:{lineWidth:1,lineColor:void 0}},senkouSpan:{styles:{fill:"rgba(255, 0, 0, 0.5)"}},dataGrouping:{approximation:"ichimoku-averages"}});return b}(E);f(n.prototype,{pointArrayMap:["tenkanSen","kijunSen","chikouSpan","senkouSpanA","senkouSpanB"],pointValKey:"tenkanSen",nameComponents:["periodSenkouSpanB",
+"period","periodTenkan"]});p.registerSeriesType("ikh",n);"";return n});h(f,"masters/indicators/ichimoku-kinko-hyo.src.js",[],function(){})});
 //# sourceMappingURL=ichimoku-kinko-hyo.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/ichimoku-kinko-hyo.js.map


+ 15 - 9
node_modules/highcharts/indicators/ichimoku-kinko-hyo.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Sebastian Bochan
  *
@@ -57,6 +57,7 @@
         var defined = U.defined,
             extend = U.extend,
             isArray = U.isArray,
+            isNumber = U.isNumber,
             merge = U.merge,
             objectEach = U.objectEach;
         /* eslint-disable require-jsdoc */
@@ -109,8 +110,8 @@
                     sabX = a1.plotX - b1.plotX, // Auxiliary section a1-b1 X
                     sabY = a1.plotY - b1.plotY, // Auxiliary section a1-b1 Y
                     // First degree Bézier parameters
-                    u,
-                    t;
+                    u = void 0,
+                    t = void 0;
                 u = (-saY * sabX + saX * sabY) / (-sbX * saY + saX * sbY);
                 t = (sbX * sabY - sbY * sabX) / (-sbX * saY + saX * sbY);
                 if (u >= 0 && u <= 1 && t >= 0 && t <= 1) {
@@ -238,15 +239,16 @@
                 var indicator = this;
                 SeriesRegistry.seriesTypes.sma.prototype.translate.apply(indicator);
                 indicator.points.forEach(function (point) {
-                    indicator.pointArrayMap.forEach(function (value) {
-                        if (defined(point[value])) {
-                            point['plot' + value] = indicator.yAxis.toPixels(point[value], true);
+                    indicator.pointArrayMap.forEach(function (key) {
+                        var pointValue = point[key];
+                        if (isNumber(pointValue)) {
+                            point['plot' + key] = indicator.yAxis.toPixels(pointValue, true);
                             // Add extra parameters for support tooltip in moved
                             // lines
-                            point.plotY = point['plot' + value];
+                            point.plotY = point['plot' + key];
                             point.tooltipPos = [
                                 point.plotX,
-                                point['plot' + value]
+                                point['plot' + key]
                             ];
                             point.isNull = false;
                         }
@@ -594,7 +596,11 @@
              * @optionparent plotOptions.ikh
              */
             IKHIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
+                /**
+                 * @excluding index
+                 */
                 params: {
+                    index: void 0,
                     period: 26,
                     /**
                      * The base period for Tenkan calculations.

+ 201 - 180
node_modules/highcharts/indicators/indicators-all.js

@@ -1,188 +1,209 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- All technical indicators for Highstock
+ All technical indicators for Highcharts Stock
 
  (c) 2010-2021 Pawel Fus
 
  License: www.highcharts.com/license
 */
-(function(d){"object"===typeof module&&module.exports?(d["default"]=d,module.exports=d):"function"===typeof define&&define.amd?define("highcharts/indicators/indicators-all",["highcharts","highcharts/modules/stock"],function(t){d(t);d.Highcharts=t;return d}):d("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(d){function t(d,f,g,h){d.hasOwnProperty(f)||(d[f]=h.apply(null,g))}d=d?d._modules:{};t(d,"Mixins/IndicatorRequired.js",[d["Core/Utilities.js"]],function(d){var f=d.error;return{isParentLoaded:function(g,
-d,m,n,q){if(g)return n?n(g):!0;f(q||this.generateMessage(m,d));return!1},generateMessage:function(f,d){return'Error: "'+f+'" indicator type requires "'+d+'" indicator loaded before. Please read docs: https://api.highcharts.com/highstock/plotOptions.'+f}}});t(d,"Stock/Indicators/SMA/SMAComposition.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=d.series,h=d.seriesTypes.ohlc.prototype;d=f.addEvent;var m=f.extend;d(g,"init",function(f){f=f.options;f.useOhlcData&&"highcharts-navigator-series"!==
-f.id&&m(this,{pointValKey:h.pointValKey,keys:h.keys,pointArrayMap:h.pointArrayMap,toYData:h.toYData})});d(g,"afterSetOptions",function(f){f=f.options;var g=f.dataGrouping;g&&f.useOhlcData&&"highcharts-navigator-series"!==f.id&&(g.approximation="ohlc")})});t(d,"Stock/Indicators/SMA/SMAIndicator.js",[d["Mixins/IndicatorRequired.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var a=function(c,k){a=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(a,c){a.__proto__=c}||function(a,c){for(var k in c)c.hasOwnProperty(k)&&(a[k]=c[k])};return a(c,k)};return function(c,k){function b(){this.constructor=c}a(c,k);c.prototype=null===k?Object.create(k):(b.prototype=k.prototype,new b)}}(),m=f.seriesTypes.line,n=g.addEvent,q=g.error,l=g.extend,e=g.isArray,b=g.merge,a=g.pick,c=g.splat,k=d.generateMessage;d=function(y){function v(){var a=null!==y&&y.apply(this,arguments)||this;a.data=void 0;a.dataEventsToUnbind=void 0;a.linkedParent=void 0;
-a.options=void 0;a.points=void 0;return a}h(v,y);v.prototype.destroy=function(){this.dataEventsToUnbind.forEach(function(a){a()});y.prototype.destroy.apply(this,arguments)};v.prototype.getName=function(){var c=this.name,k=[];c||((this.nameComponents||[]).forEach(function(c,b){k.push(this.options.params[c]+a(this.nameSuffixes[b],""))},this),c=(this.nameBase||this.type.toUpperCase())+(this.nameComponents?" ("+k.join(", ")+")":""));return c};v.prototype.getValues=function(a,c){var k=c.period,b=a.xData;
-a=a.yData;var y=a.length,v=0,A=0,l=[],f=[],g=[],J=-1;if(!(b.length<k)){for(e(a[0])&&(J=c.index?c.index:0);v<k-1;)A+=0>J?a[v]:a[v][J],v++;for(c=v;c<y;c++){A+=0>J?a[c]:a[c][J];var d=[b[c],A/k];l.push(d);f.push(d[0]);g.push(d[1]);A-=0>J?a[c-v]:a[c-v][J]}return{values:l,xData:f,yData:g}}};v.prototype.init=function(a,b){function e(){var a=v.points||[],k=(v.xData||[]).length,b=v.getValues(v.linkedParent,v.options.params)||{values:[],xData:[],yData:[]},e=[],y=!0;if(k&&!v.hasGroupedData&&v.visible&&v.points)if(v.cropped){if(v.xAxis){var p=
-v.xAxis.min;var A=v.xAxis.max}k=v.cropData(b.xData,b.yData,p,A);for(p=0;p<k.xData.length;p++)e.push([k.xData[p]].concat(c(k.yData[p])));k=b.xData.indexOf(v.xData[0]);p=b.xData.indexOf(v.xData[v.xData.length-1]);-1===k&&p===b.xData.length-2&&e[0][0]===a[0].x&&e.shift();v.updateData(e)}else b.xData.length!==k-1&&b.xData.length!==k+1&&(y=!1,v.updateData(b.values));y&&(v.xData=b.xData,v.yData=b.yData,v.options.data=b.values);!1===v.bindTo.series&&(delete v.processedXData,v.isDirty=!0,v.redraw());v.isDirtyData=
-!1}var v=this,p=v.requireIndicators();if(!p.allLoaded)return q(k(v.type,p.needed));y.prototype.init.call(v,a,b);a.linkSeries();v.dataEventsToUnbind=[];if(!v.linkedParent)return q("Series "+v.options.linkedTo+" not found! Check `linkedTo`.",!1,a);v.dataEventsToUnbind.push(n(v.bindTo.series?v.linkedParent:v.linkedParent.xAxis,v.bindTo.eventName,e));if("init"===v.calculateOn)e();else var A=n(v.chart,v.calculateOn,function(){e();A()})};v.prototype.processData=function(){var a=this.options.compareToMain,
-c=this.linkedParent;y.prototype.processData.apply(this,arguments);c&&c.compareValue&&a&&(this.compareValue=c.compareValue)};v.prototype.requireIndicators=function(){var a={allLoaded:!0};this.requiredIndicators.forEach(function(c){f.seriesTypes[c]?f.seriesTypes[c].prototype.requireIndicators():(a.allLoaded=!1,a.needed=c)});return a};v.defaultOptions=b(m.defaultOptions,{name:void 0,tooltip:{valueDecimals:4},linkedTo:void 0,compareToMain:!1,params:{index:0,period:14}});return v}(m);l(d.prototype,{bindTo:{series:!0,
-eventName:"updatedData"},calculateOn:"init",hasDerivedData:!0,nameComponents:["period"],nameSuffixes:[],requiredIndicators:[],useCommonDataGrouping:!0});f.registerSeriesType("sma",d);"";return d});t(d,"Stock/Indicators/AD/ADIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var l=function(e,b){l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var k in c)c.hasOwnProperty(k)&&
-(a[k]=c[k])};return l(e,b)};return function(e,b){function a(){this.constructor=e}l(e,b);e.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),h=d.seriesTypes.sma,m=f.error,n=f.extend,q=f.merge;f=function(l){function e(){var b=null!==l&&l.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}g(e,l);e.populateAverage=function(b,a,c,k,e){e=a[k][1];var y=a[k][2];a=a[k][3];c=c[k];return[b[k],a===e&&a===y||e===y?0:(2*a-y-e)/(e-y)*c]};e.prototype.getValues=
-function(b,a){var c=a.period,k=b.xData,y=b.yData,v=a.volumeSeriesID,A=b.chart.get(v);a=A&&A.yData;var l=y?y.length:0,f=[],u=[],p=[];if(!(k.length<=c&&l&&4!==y[0].length)){if(A){for(v=c;v<l;v++)b=f.length,A=e.populateAverage(k,y,a,v,c),0<b&&(A[1]+=f[b-1][1]),f.push(A),u.push(A[0]),p.push(A[1]);return{values:f,xData:u,yData:p}}m("Series "+v+" not found! Check `volumeSeriesID`.",!0,b.chart)}};e.defaultOptions=q(h.defaultOptions,{params:{volumeSeriesID:"volume"}});return e}(h);n(f.prototype,{nameComponents:!1,
-nameBase:"Accumulation/Distribution"});d.registerSeriesType("ad",f);"";return f});t(d,"Stock/Indicators/AO/AOIndicator.js",[d["Core/Globals.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var a=function(c,k){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var k in c)c.hasOwnProperty(k)&&(a[k]=c[k])};return a(c,k)};return function(c,k){function b(){this.constructor=c}a(c,
-k);c.prototype=null===k?Object.create(k):(b.prototype=k.prototype,new b)}}();d=d.noop;var m=f.seriesTypes,n=m.sma;m=m.column;var q=g.extend,l=g.merge,e=g.correctFloat,b=g.isArray;g=function(a){function c(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}h(c,a);c.prototype.drawGraph=function(){var a=this.options,c=this.points,b=a.greaterBarColor;a=a.lowerBarColor;var e=c[0];if(!this.userOptions.color&&e)for(e.color=b,e=1;e<c.length;e++)c[e].color=
-c[e].y>c[e-1].y?b:c[e].y<c[e-1].y?a:c[e-1].color};c.prototype.getValues=function(c){var a=c.xData||[];c=c.yData||[];var k=c.length,A=[],f=[],l=[],u=0,p=0,w;if(!(34>=a.length)&&b(c[0])&&4===c[0].length){for(w=0;33>w;w++){var r=(c[w][1]+c[w][2])/2;29<=w&&(u=e(u+r));p=e(p+r)}for(w=33;w<k;w++){r=(c[w][1]+c[w][2])/2;u=e(u+r);p=e(p+r);r=u/5;var g=p/34;r=e(r-g);A.push([a[w],r]);f.push(a[w]);l.push(r);r=w+1-5;g=w+1-34;u=e(u-(c[r][1]+c[r][2])/2);p=e(p-(c[g][1]+c[g][2])/2)}return{values:A,xData:f,yData:l}}};
-c.defaultOptions=l(n.defaultOptions,{greaterBarColor:"#06B535",lowerBarColor:"#F21313",threshold:0,groupPadding:.2,pointPadding:.2,crisp:!1,states:{hover:{halo:{size:0}}}});return c}(n);q(g.prototype,{nameBase:"AO",nameComponents:!1,markerAttribs:d,getColumnMetrics:m.prototype.getColumnMetrics,crispCol:m.prototype.crispCol,translate:m.prototype.translate,drawPoints:m.prototype.drawPoints});f.registerSeriesType("ao",g);"";return g});t(d,"Mixins/MultipleLines.js",[d["Core/Globals.js"],d["Core/Utilities.js"]],
-function(d,f){var g=f.defined,h=f.error,m=f.merge,n=d.seriesTypes.sma;return{pointArrayMap:["top","bottom"],pointValKey:"top",linesApiNames:["bottomLine"],getTranslatedLinesNames:function(f){var l=[];(this.pointArrayMap||[]).forEach(function(e){e!==f&&l.push("plot"+e.charAt(0).toUpperCase()+e.slice(1))});return l},toYData:function(f){var l=[];(this.pointArrayMap||[]).forEach(function(e){l.push(f[e])});return l},translate:function(){var f=this,l=f.pointArrayMap,e=[],b;e=f.getTranslatedLinesNames();
-n.prototype.translate.apply(f,arguments);f.points.forEach(function(a){l.forEach(function(c,k){b=a[c];null!==b&&(a[e[k]]=f.yAxis.toPixels(b,!0))})})},drawGraph:function(){var f=this,l=f.linesApiNames,e=f.points,b=e.length,a=f.options,c=f.graph,k={options:{gapSize:a.gapSize}},y=[],v;f.getTranslatedLinesNames(f.pointValKey).forEach(function(c,a){for(y[a]=[];b--;)v=e[b],y[a].push({x:v.x,plotX:v.plotX,plotY:v[c],isNull:!g(v[c])});b=e.length});l.forEach(function(c,b){y[b]?(f.points=y[b],a[c]?f.options=
-m(a[c].styles,k):h('Error: "There is no '+c+' in DOCS options declared. Check if linesApiNames are consistent with your DOCS line names." at mixin/multiple-line.js:34'),f.graph=f["graph"+c],n.prototype.drawGraph.call(f),f["graph"+c]=f.graph):h('Error: "'+c+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")});f.points=e;f.options=a;f.graph=c;n.prototype.drawGraph.call(f)}}});t(d,"Stock/Indicators/Aroon/AroonIndicator.js",[d["Mixins/MultipleLines.js"],
-d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){function h(b,a){var c=b[0],k=0,e;for(e=1;e<b.length;e++)if("max"===a&&b[e]>=c||"min"===a&&b[e]<=c)c=b[e],k=e;return k}var m=this&&this.__extends||function(){var b=function(a,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var k in a)a.hasOwnProperty(k)&&(c[k]=a[k])};return b(a,c)};return function(a,c){function k(){this.constructor=a}b(a,c);a.prototype=null===c?Object.create(c):
-(k.prototype=c.prototype,new k)}}(),n=f.seriesTypes.sma,q=g.extend,l=g.merge,e=g.pick;g=function(b){function a(){var c=null!==b&&b.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}m(a,b);a.prototype.getValues=function(c,a){a=a.period;var k=c.xData,b=(c=c.yData)?c.length:0,f=[],l=[],g=[],u;for(u=a-1;u<b;u++){var p=c.slice(u-a+1,u+2);var w=h(p.map(function(c){return e(c[2],c)}),"min");p=h(p.map(function(c){return e(c[1],c)}),"max");p=p/a*100;w=w/a*100;k[u+1]&&(f.push([k[u+
-1],p,w]),l.push(k[u+1]),g.push([p,w]))}return{values:f,xData:l,yData:g}};a.defaultOptions=l(n.defaultOptions,{params:{period:25},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Aroon Up: {point.y}<br/>Aroon Down: {point.aroonDown}<br/>'},aroonDown:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}});return a}(n);q(g.prototype,{linesApiNames:["aroonDown"],nameBase:"Aroon",pointArrayMap:["y","aroonDown"],
-pointValKey:"y",drawGraph:d.drawGraph,getTranslatedLinesNames:d.getTranslatedLinesNames,toYData:d.toYData,translate:d.translate});f.registerSeriesType("aroon",g);"";return g});t(d,"Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js",[d["Mixins/MultipleLines.js"],d["Mixins/IndicatorRequired.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g,h){var m=this&&this.__extends||function(){var b=function(a,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,
-a){c.__proto__=a}||function(c,a){for(var k in a)a.hasOwnProperty(k)&&(c[k]=a[k])};return b(a,c)};return function(a,c){function k(){this.constructor=a}b(a,c);a.prototype=null===c?Object.create(c):(k.prototype=c.prototype,new k)}}(),n=g.seriesTypes.aroon,q=h.extend,l=h.merge,e=g.seriesTypes.aroon;h=function(b){function a(){var c=null!==b&&b.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}m(a,b);a.prototype.getValues=function(c,a){var k=[],b=[],f=[];c=e.prototype.getValues.call(this,
-c,a);for(a=0;a<c.yData.length;a++){var l=c.yData[a][0];var g=c.yData[a][1];l-=g;k.push([c.xData[a],l]);b.push(c.xData[a]);f.push(l)}return{values:k,xData:b,yData:f}};a.prototype.init=function(){var c=arguments,a=this;f.isParentLoaded(e,"aroon",a.type,function(k){k.prototype.init.apply(a,c)})};a.defaultOptions=l(n.defaultOptions,{params:{period:25},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b>: {point.y}'}});return a}(n);q(h.prototype,l(d,{nameBase:"Aroon Oscillator",
-pointArrayMap:["y"],pointValKey:"y",linesApiNames:[]}));g.registerSeriesType("aroonoscillator",h);"";return h});t(d,"Stock/Indicators/ATR/ATRIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){function g(f,e){return Math.max(f[1]-f[2],"undefined"===typeof e?0:Math.abs(f[1]-e[3]),"undefined"===typeof e?0:Math.abs(f[2]-e[3]))}var h=this&&this.__extends||function(){var f=function(e,b){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=
-c}||function(a,c){for(var k in c)c.hasOwnProperty(k)&&(a[k]=c[k])};return f(e,b)};return function(e,b){function a(){this.constructor=e}f(e,b);e.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),m=d.seriesTypes.sma,n=f.isArray,q=f.merge;f=function(f){function e(){var b=null!==f&&f.apply(this,arguments)||this;b.data=void 0;b.points=void 0;b.options=void 0;return b}h(e,f);e.prototype.getValues=function(b,a){a=a.period;var c=b.xData,k=(b=b.yData)?b.length:0,e=1,v=0,f=0,l=[],d=[],
-u=[],p;var w=[[c[0],b[0]]];if(!(c.length<=a)&&n(b[0])&&4===b[0].length){for(p=1;p<=k;p++)if(w.push([c[p],b[p]]),a<e){var r=a;var O=c[p-1],h=g(b[p-1],b[p-2]);r=[O,(v*(r-1)+h)/r];v=r[1];l.push(r);d.push(r[0]);u.push(r[1])}else a===e?(v=f/(p-1),l.push([c[p-1],v]),d.push(c[p-1]),u.push(v)):f+=g(b[p-1],b[p-2]),e++;return{values:l,xData:d,yData:u}}};e.defaultOptions=q(m.defaultOptions,{params:{period:14}});return e}(m);d.registerSeriesType("atr",f);"";return f});t(d,"Stock/Indicators/BB/BBIndicator.js",
-[d["Mixins/MultipleLines.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var e=function(b,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return e(b,a)};return function(b,a){function c(){this.constructor=b}e(b,a);b.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),m=f.seriesTypes.sma,n=g.extend,q=g.isArray,
-l=g.merge;g=function(e){function b(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}h(b,e);b.prototype.init=function(){f.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=l({topLine:{styles:{lineColor:this.color}},bottomLine:{styles:{lineColor:this.color}}},this.options)};b.prototype.getValues=function(a,c){var b=c.period,e=c.standardDeviation,v=a.xData,A=(a=a.yData)?a.length:0,l=[],g=[],u=[],p;if(!(v.length<b)){var w=q(a[0]);
-for(p=b;p<=A;p++){var r=v.slice(p-b,p);var d=a.slice(p-b,p);var h=f.seriesTypes.sma.prototype.getValues.call(this,{xData:r,yData:d},c);r=h.xData[0];h=h.yData[0];for(var m=0,x=d.length,n=0;n<x;n++){var z=(w?d[n][c.index]:d[n])-h;m+=z*z}z=Math.sqrt(m/(x-1));d=h+e*z;z=h-e*z;l.push([r,d,h,z]);g.push(r);u.push([d,h,z])}return{values:l,xData:g,yData:u}}};b.defaultOptions=l(m.defaultOptions,{params:{period:20,standardDeviation:2,index:3},bottomLine:{styles:{lineWidth:1,lineColor:void 0}},topLine:{styles:{lineWidth:1,
-lineColor:void 0}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Top: {point.top}<br/>Middle: {point.middle}<br/>Bottom: {point.bottom}<br/>'},marker:{enabled:!1},dataGrouping:{approximation:"averages"}});return b}(m);n(g.prototype,{pointArrayMap:["top","middle","bottom"],pointValKey:"middle",nameComponents:["period","standardDeviation"],linesApiNames:["topLine","bottomLine"],drawGraph:d.drawGraph,getTranslatedLinesNames:d.getTranslatedLinesNames,translate:d.translate,
-toYData:d.toYData});f.registerSeriesType("bb",g);"";return g});t(d,"Stock/Indicators/CCI/CCIIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){function g(f){return f.reduce(function(e,b){return e+b},0)}var h=this&&this.__extends||function(){var f=function(e,b){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return f(e,b)};return function(e,b){function a(){this.constructor=
-e}f(e,b);e.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),m=d.seriesTypes.sma,n=f.isArray,q=f.merge;f=function(f){function e(){var b=null!==f&&f.apply(this,arguments)||this;b.data=void 0;b.points=void 0;b.options=void 0;return b}h(e,f);e.prototype.getValues=function(b,a){a=a.period;var c=b.xData,k=(b=b.yData)?b.length:0,e=[],v=1,f=[],l=[],d=[];if(!(c.length<=a)&&n(b[0])&&4===b[0].length){for(;v<a;){var u=b[v-1];e.push((u[1]+u[2]+u[3])/3);v++}for(v=a;v<=k;v++){u=b[v-1];u=(u[1]+
-u[2]+u[3])/3;var p=e.push(u);var w=e.slice(p-a);p=g(w)/a;var r,O=w.length,h=0;for(r=0;r<O;r++)h+=Math.abs(p-w[r]);w=h/a;u=(u-p)/(.015*w);f.push([c[v-1],u]);l.push(c[v-1]);d.push(u)}return{values:f,xData:l,yData:d}}};e.defaultOptions=q(m.defaultOptions,{params:{period:14}});return e}(m);d.registerSeriesType("cci",f);"";return f});t(d,"Stock/Indicators/CMF/CMFIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var f=function(d,
-l){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var a in b)b.hasOwnProperty(a)&&(e[a]=b[a])};return f(d,l)};return function(d,l){function e(){this.constructor=d}f(d,l);d.prototype=null===l?Object.create(l):(e.prototype=l.prototype,new e)}}(),h=d.seriesTypes.sma,m=f.merge;f=function(f){function d(){var l=null!==f&&f.apply(this,arguments)||this;l.data=void 0;l.options=void 0;l.points=void 0;l.volumeSeries=void 0;l.linkedParent=void 0;l.yData=
-void 0;l.nameBase="Chaikin Money Flow";return l}g(d,f);d.prototype.isValid=function(){var f=this.chart,e=this.options,b=this.linkedParent;f=this.volumeSeries||(this.volumeSeries=f.get(e.params.volumeSeriesID));var a=b&&b.yData&&4===b.yData[0].length;return!!(b&&f&&b.xData&&b.xData.length>=e.params.period&&f.xData&&f.xData.length>=e.params.period&&a)};d.prototype.getValues=function(f,e){if(this.isValid())return this.getMoneyFlow(f.xData,f.yData,this.volumeSeries.yData,e.period)};d.prototype.getMoneyFlow=
-function(f,e,b,a){function c(a,c){var b=a[1],k=a[2];a=a[3];return null!==c&&null!==b&&null!==k&&null!==a&&b!==k?(a-k-(b-a))/(b-k)*c:(w=p,null)}var k=e.length,y=[],v=0,A=0,d=[],l=[],u=[],p,w=-1;if(0<a&&a<=k){for(p=0;p<a;p++)y[p]=c(e[p],b[p]),v+=b[p],A+=y[p];d.push(f[p-1]);l.push(p-w>=a&&0!==v?A/v:null);for(u.push([d[0],l[0]]);p<k;p++){y[p]=c(e[p],b[p]);v-=b[p-a];v+=b[p];A-=y[p-a];A+=y[p];var r=[f[p],p-w>=a?A/v:null];d.push(r[0]);l.push(r[1]);u.push([r[0],r[1]])}}return{values:u,xData:d,yData:l}};d.defaultOptions=
-m(h.defaultOptions,{params:{period:14,volumeSeriesID:"volume"}});return d}(h);d.registerSeriesType("cmf",f);"";return f});t(d,"Stock/Indicators/DPO/DPOIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){function g(b,a,c,k,y){a=e(a[c][k],a[c]);return y?l(b-a):l(b+a)}var h=this&&this.__extends||function(){var b=function(a,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=
-c[b])};return b(a,c)};return function(a,c){function k(){this.constructor=a}b(a,c);a.prototype=null===c?Object.create(c):(k.prototype=c.prototype,new k)}}(),m=d.seriesTypes.sma,n=f.extend,q=f.merge,l=f.correctFloat,e=f.pick;f=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.options=void 0;a.data=void 0;a.points=void 0;return a}h(a,b);a.prototype.getValues=function(a,b){var c=b.period;b=b.index;var k=c+Math.floor(c/2+1),f=a.xData||[];a=a.yData||[];var d=a.length,l=[],u=[],p=
-[],w=0,r,h;if(!(f.length<=k)){for(r=0;r<c-1;r++)w=g(w,a,r,b);for(h=0;h<=d-k;h++){var m=h+c-1;r=h+k-1;w=g(w,a,m,b);m=e(a[r][b],a[r]);m-=w/c;w=g(w,a,h,b,!0);l.push([f[r],m]);u.push(f[r]);p.push(m)}return{values:l,xData:u,yData:p}}};a.defaultOptions=q(m.defaultOptions,{params:{period:21}});return a}(m);n(f.prototype,{nameBase:"DPO"});d.registerSeriesType("dpo",f);"";return f});t(d,"Stock/Indicators/EMA/EMAIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&
-this.__extends||function(){var f=function(e,b){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return f(e,b)};return function(e,b){function a(){this.constructor=e}f(e,b);e.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),h=d.seriesTypes.sma,m=f.correctFloat,n=f.isArray,q=f.merge;f=function(f){function e(){var b=null!==f&&f.apply(this,arguments)||this;b.data=void 0;b.options=
-void 0;b.points=void 0;return b}g(e,f);e.prototype.accumulatePeriodPoints=function(b,a,c){for(var k=0,e=0,f;e<b;)f=0>a?c[e]:c[e][a],k+=f,e++;return k};e.prototype.calculateEma=function(b,a,c,k,e,f,d){b=b[c-1];a=0>f?a[c-1]:a[c-1][f];k="undefined"===typeof e?d:m(a*k+e*(1-k));return[b,k]};e.prototype.getValues=function(b,a){var c=a.period,k=b.xData,e=(b=b.yData)?b.length:0,f=2/(c+1),d=[],l=[],g=[],u=-1;if(!(e<c)){n(b[0])&&(u=a.index?a.index:0);a=this.accumulatePeriodPoints(c,u,b);for(a/=c;c<e+1;c++){var p=
-this.calculateEma(k,b,c,f,p,u,a);d.push(p);l.push(p[0]);g.push(p[1]);p=p[1]}return{values:d,xData:l,yData:g}}};e.defaultOptions=q(h.defaultOptions,{params:{index:3,period:9}});return e}(h);d.registerSeriesType("ema",f);"";return f});t(d,"Stock/Indicators/Chaikin/ChaikinIndicator.js",[d["Mixins/IndicatorRequired.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(c,b)};return function(c,b){function k(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(k.prototype=b.prototype,new k)}}(),m=f.seriesTypes,n=m.ad,q=m.ema,l=g.correctFloat;m=g.extend;var e=g.merge,b=g.error;g=function(a){function c(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}h(c,a);c.prototype.init=function(){var a=
-arguments,c=this;d.isParentLoaded(q,"ema",c.type,function(b){b.prototype.init.apply(c,a)})};c.prototype.getValues=function(a,c){var k=c.periods,e=c.period,f=[],y=[],d=[],p;if(2!==k.length||k[1]<=k[0])b('Error: "Chaikin requires two periods. Notice, first period should be lower than the second one."');else if(c=n.prototype.getValues.call(this,a,{volumeSeriesID:c.volumeSeriesID,period:e}))if(a=q.prototype.getValues.call(this,c,{period:k[0]}),c=q.prototype.getValues.call(this,c,{period:k[1]}),a&&c){k=
-k[1]-k[0];for(p=0;p<c.yData.length;p++)e=l(a.yData[p+k]-c.yData[p]),f.push([c.xData[p],e]),y.push(c.xData[p]),d.push(e);return{values:f,xData:y,yData:d}}};c.defaultOptions=e(q.defaultOptions,{params:{volumeSeriesID:"volume",periods:[3,10]}});return c}(q);m(g.prototype,{nameBase:"Chaikin Osc",nameComponents:["periods"]});f.registerSeriesType("chaikin",g);"";return g});t(d,"Stock/Indicators/DEMA/DEMAIndicator.js",[d["Mixins/IndicatorRequired.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],
-function(d,f,g){var h=this&&this.__extends||function(){var e=function(b,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return e(b,a)};return function(b,a){function c(){this.constructor=b}e(b,a);b.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),m=f.seriesTypes.ema,n=g.correctFloat,q=g.isArray,l=g.merge;g=function(e){function b(){var a=null!==e&&e.apply(this,arguments)||
-this;a.EMApercent=void 0;a.data=void 0;a.options=void 0;a.points=void 0;return a}h(b,e);b.prototype.init=function(){var a=arguments,c=this;d.isParentLoaded(m,"ema",c.type,function(b){b.prototype.init.apply(c,a)})};b.prototype.getEMA=function(a,c,b,e,f,d){return m.prototype.calculateEma(d||[],a,"undefined"===typeof f?1:f,this.EMApercent,c,"undefined"===typeof e?-1:e,b)};b.prototype.getValues=function(a,c){var b=c.period,e=2*b,f=a.xData,d=(a=a.yData)?a.length:0,l=-1,g=[],u=[],p=[],w=0,r=[],h;this.EMApercent=
-2/(b+1);if(!(d<2*b-1)){q(a[0])&&(l=c.index?c.index:0);c=m.prototype.accumulatePeriodPoints(b,l,a);var L=c/b;c=0;for(h=b;h<d+2;h++){h<d+1&&(w=this.getEMA(a,z,L,l,h)[1],r.push(w));var z=w;if(h<e)c+=w;else{h===e&&(L=c/b);w=r[h-b-1];var x=this.getEMA([w],x,L)[1];var C=[f[h-2],n(2*w-x)];g.push(C);u.push(C[0]);p.push(C[1])}}return{values:g,xData:u,yData:p}}};b.defaultOptions=l(m.defaultOptions);return b}(m);f.registerSeriesType("dema",g);"";return g});t(d,"Stock/Indicators/TEMA/TEMAIndicator.js",[d["Mixins/IndicatorRequired.js"],
-d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var e=function(b,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return e(b,a)};return function(b,a){function c(){this.constructor=b}e(b,a);b.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),m=f.seriesTypes.ema,n=g.correctFloat,q=g.isArray,l=g.merge;g=function(e){function b(){var a=
-null!==e&&e.apply(this,arguments)||this;a.EMApercent=void 0;a.data=void 0;a.options=void 0;a.points=void 0;return a}h(b,e);b.prototype.init=function(){var a=arguments,c=this;d.isParentLoaded(m,"ema",c.type,function(b){b.prototype.init.apply(c,a)})};b.prototype.getEMA=function(a,c,b,e,f,d){return m.prototype.calculateEma(d||[],a,"undefined"===typeof f?1:f,this.EMApercent,c,"undefined"===typeof e?-1:e,b)};b.prototype.getTemaPoint=function(a,c,b,e){return[a[e-3],n(3*b.level1-3*b.level2+b.level3)]};b.prototype.getValues=
-function(a,c){var b=c.period,e=2*b,f=3*b,d=a.xData,l=(a=a.yData)?a.length:0,g=-1,u=[],p=[],w=[],r=[],h=[],n,z,x={};this.EMApercent=2/(b+1);if(!(l<3*b-2)){q(a[0])&&(g=c.index?c.index:0);c=m.prototype.accumulatePeriodPoints(b,g,a);var C=c/b;c=0;for(n=b;n<l+3;n++){n<l+1&&(x.level1=this.getEMA(a,R,C,g,n)[1],r.push(x.level1));var R=x.level1;if(n<e)c+=x.level1;else{n===e&&(C=c/b,c=0);x.level1=r[n-b-1];x.level2=this.getEMA([x.level1],D,C)[1];h.push(x.level2);var D=x.level2;if(n<f)c+=x.level2;else{n===f&&
-(C=c/b);n===l+1&&(x.level1=r[n-b-1],x.level2=this.getEMA([x.level1],D,C)[1],h.push(x.level2));x.level1=r[n-b-2];x.level2=h[n-2*b-1];x.level3=this.getEMA([x.level2],x.prevLevel3,C)[1];if(z=this.getTemaPoint(d,f,x,n))u.push(z),p.push(z[0]),w.push(z[1]);x.prevLevel3=x.level3}}}return{values:u,xData:p,yData:w}}};b.defaultOptions=l(m.defaultOptions);return b}(m);f.registerSeriesType("tema",g);"";return g});t(d,"Stock/Indicators/TRIX/TRIXIndicator.js",[d["Mixins/IndicatorRequired.js"],d["Core/Series/SeriesRegistry.js"],
-d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var f=function(e,b){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return f(e,b)};return function(e,b){function a(){this.constructor=e}f(e,b);e.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),m=f.seriesTypes.tema,n=g.correctFloat,q=g.merge;g=function(l){function e(){var b=null!==l&&l.apply(this,
-arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}h(e,l);e.prototype.init=function(){var b=arguments,a=this;d.isParentLoaded(f.seriesTypes.tema,"tema",a.type,function(c){c.prototype.init.apply(a,b)})};e.prototype.getTemaPoint=function(b,a,c,k){if(k>a)var e=[b[k-3],0!==c.prevLevel3?n(c.level3-c.prevLevel3)/c.prevLevel3*100:null];return e};e.defaultOptions=q(m.defaultOptions);return e}(m);f.registerSeriesType("trix",g);"";return g});t(d,"Stock/Indicators/APO/APOIndicator.js",
-[d["Mixins/IndicatorRequired.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var e=function(b,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return e(b,a)};return function(b,a){function c(){this.constructor=b}e(b,a);b.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),m=f.seriesTypes.ema,n=g.extend,q=g.merge,
-l=g.error;g=function(e){function b(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}h(b,e);b.prototype.getValues=function(a,c){var b=c.periods,e=c.index;c=[];var f=[],d=[],g;if(2!==b.length||b[1]<=b[0])l('Error: "APO requires two periods. Notice, first period should be lower than the second one."');else{var h=m.prototype.getValues.call(this,a,{index:e,period:b[0]});a=m.prototype.getValues.call(this,a,{index:e,period:b[1]});if(h&&a){b=b[1]-b[0];
-for(g=0;g<a.yData.length;g++)e=h.yData[g+b]-a.yData[g],c.push([a.xData[g],e]),f.push(a.xData[g]),d.push(e);return{values:c,xData:f,yData:d}}}};b.prototype.init=function(){var a=arguments,c=this;d.isParentLoaded(m,"ema",c.type,function(b){b.prototype.init.apply(c,a)})};b.defaultOptions=q(m.defaultOptions,{params:{periods:[10,20]}});return b}(m);n(g.prototype,{nameBase:"APO",nameComponents:["periods"]});f.registerSeriesType("apo",g);"";return g});t(d,"Stock/Indicators/IKH/IKHIndicator.js",[d["Core/Color/Color.js"],
-d["Core/Globals.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g,h){function m(a){return a.reduce(function(a,c){return Math.max(a,c[1])},-Infinity)}function n(a){return a.reduce(function(a,c){return Math.min(a,c[2])},Infinity)}function q(a){return{high:m(a),low:n(a)}}function l(a){var c,b,k,e,f;a.series.forEach(function(a){if(a.xData)for(e=a.xData,f=b=a.xIncrement?1:e.length-1;0<f;f--)if(k=e[f]-e[f-1],"undefined"===typeof c||k<c)c=k});return c}function e(a,c,b,k){if(a&&
-c&&b&&k){var e=c.plotX-a.plotX;c=c.plotY-a.plotY;var f=k.plotX-b.plotX;k=k.plotY-b.plotY;var p=a.plotX-b.plotX,v=a.plotY-b.plotY;b=(-c*p+e*v)/(-f*c+e*k);f=(f*v-k*p)/(-f*c+e*k);if(0<=b&&1>=b&&0<=f&&1>=f)return{plotX:a.plotX+f*e,plotY:a.plotY+f*c}}return!1}function b(a){var c=a.indicator;c.points=a.points;c.nextPoints=a.nextPoints;c.color=a.color;c.options=A(a.options.senkouSpan.styles,a.gap);c.graph=a.graph;c.fillGraph=!0;g.seriesTypes.sma.prototype.drawGraph.call(c)}var a=this&&this.__extends||function(){var a=
-function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(c,b)};return function(c,b){function k(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(k.prototype=b.prototype,new k)}}(),c=d.parse,k=g.seriesTypes.sma,y=h.defined;d=h.extend;var v=h.isArray,A=h.merge,J=h.objectEach;f.approximations["ichimoku-averages"]=function(){var a=[],c;[].forEach.call(arguments,function(b,
-k){a.push(f.approximations.average(b));c=!c&&"undefined"===typeof a[k]});return c?void 0:a};h=function(f){function d(){var a=null!==f&&f.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;a.graphCollection=void 0;a.graphsenkouSpan=void 0;a.ikhMap=void 0;a.nextPoints=void 0;return a}a(d,f);d.prototype.init=function(){g.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=A({tenkanLine:{styles:{lineColor:this.color}},kijunLine:{styles:{lineColor:this.color}},chikouLine:{styles:{lineColor:this.color}},
-senkouSpanA:{styles:{lineColor:this.color,fill:c(this.color).setOpacity(.5).get()}},senkouSpanB:{styles:{lineColor:this.color,fill:c(this.color).setOpacity(.5).get()}},senkouSpan:{styles:{fill:c(this.color).setOpacity(.2).get()}}},this.options)};d.prototype.toYData=function(a){return[a.tenkanSen,a.kijunSen,a.chikouSpan,a.senkouSpanA,a.senkouSpanB]};d.prototype.translate=function(){var a=this;g.seriesTypes.sma.prototype.translate.apply(a);a.points.forEach(function(c){a.pointArrayMap.forEach(function(b){y(c[b])&&
-(c["plot"+b]=a.yAxis.toPixels(c[b],!0),c.plotY=c["plot"+b],c.tooltipPos=[c.plotX,c["plot"+b]],c.isNull=!1)})})};d.prototype.drawGraph=function(){var a=this,c=a.points,k=c.length,f=a.options,d=a.graph,v=a.color,l={options:{gapSize:f.gapSize}},u=a.pointArrayMap.length,h=[[],[],[],[],[],[]],m={tenkanLine:h[0],kijunLine:h[1],chikouLine:h[2],senkouSpanA:h[3],senkouSpanB:h[4],senkouSpan:h[5]},n=[],q=a.options.senkouSpan,K=q.color||q.styles.fill,z=q.negativeColor,t=[[],[]],N=[[],[]],P=0,F,Q,M;for(a.ikhMap=
-m;k--;){var E=c[k];for(F=0;F<u;F++)q=a.pointArrayMap[F],y(E[q])&&h[F].push({plotX:E.plotX,plotY:E["plot"+q],isNull:!1});z&&k!==c.length-1&&(q=m.senkouSpanB.length-1,E=e(m.senkouSpanA[q-1],m.senkouSpanA[q],m.senkouSpanB[q-1],m.senkouSpanB[q]),F={plotX:E.plotX,plotY:E.plotY,isNull:!1,intersectPoint:!0},E&&(m.senkouSpanA.splice(q,0,F),m.senkouSpanB.splice(q,0,F),n.push(q)))}J(m,function(c,b){f[b]&&"senkouSpan"!==b&&(a.points=h[P],a.options=A(f[b].styles,l),a.graph=a["graph"+b],a.fillGraph=!1,a.color=
-v,g.seriesTypes.sma.prototype.drawGraph.call(a),a["graph"+b]=a.graph);P++});a.graphCollection&&a.graphCollection.forEach(function(c){a[c].destroy();delete a[c]});a.graphCollection=[];if(z&&m.senkouSpanA[0]&&m.senkouSpanB[0]){n.unshift(0);n.push(m.senkouSpanA.length-1);for(u=0;u<n.length-1;u++){q=n[u];E=n[u+1];k=m.senkouSpanB.slice(q,E+1);q=m.senkouSpanA.slice(q,E+1);if(1<=Math.floor(k.length/2))if(E=Math.floor(k.length/2),k[E].plotY===q[E].plotY){for(M=F=E=0;M<k.length;M++)E+=k[M].plotY,F+=q[M].plotY;
-E=E>F?0:1}else E=k[E].plotY>q[E].plotY?0:1;else E=k[0].plotY>q[0].plotY?0:1;t[E]=t[E].concat(k);N[E]=N[E].concat(q)}["graphsenkouSpanColor","graphsenkouSpanNegativeColor"].forEach(function(c,k){t[k].length&&N[k].length&&(Q=0===k?K:z,b({indicator:a,points:t[k],nextPoints:N[k],color:Q,options:f,gap:l,graph:a[c]}),a[c]=a.graph,a.graphCollection.push(c))})}else b({indicator:a,points:m.senkouSpanB,nextPoints:m.senkouSpanA,color:K,options:f,gap:l,graph:a.graphsenkouSpan}),a.graphsenkouSpan=a.graph;delete a.nextPoints;
-delete a.fillGraph;a.points=c;a.options=f;a.graph=d;a.color=v};d.prototype.getGraphPath=function(a){var c=[],b;a=a||this.points;if(this.fillGraph&&this.nextPoints){if((b=g.seriesTypes.sma.prototype.getGraphPath.call(this,this.nextPoints))&&b.length){b[0][0]="L";c=g.seriesTypes.sma.prototype.getGraphPath.call(this,a);b=b.slice(0,c.length);for(var k=b.length-1;0<=k;k--)c.push(b[k])}}else c=g.seriesTypes.sma.prototype.getGraphPath.apply(this,arguments);return c};d.prototype.getValues=function(a,c){var b=
-c.period,k=c.periodTenkan;c=c.periodSenkouSpanB;var e=a.xData,f=a.yData,d=f&&f.length||0;a=l(a.xAxis);var y=[],p=[],g;if(!(e.length<=b)&&v(f[0])&&4===f[0].length){var A=e[0]-b*a;for(g=0;g<b;g++)p.push(A+g*a);for(g=0;g<d;g++){if(g>=k){var u=f.slice(g-k,g);u=q(u);u=(u.high+u.low)/2}if(g>=b){var h=f.slice(g-b,g);h=q(h);h=(h.high+h.low)/2;var w=(u+h)/2}if(g>=c){var m=f.slice(g-c,g);m=q(m);m=(m.high+m.low)/2}A=f[g][3];var n=e[g];"undefined"===typeof y[g]&&(y[g]=[]);"undefined"===typeof y[g+b]&&(y[g+b]=
-[]);y[g+b][0]=u;y[g+b][1]=h;y[g+b][2]=void 0;y[g][2]=A;g<=b&&(y[g+b][3]=void 0,y[g+b][4]=void 0);"undefined"===typeof y[g+2*b]&&(y[g+2*b]=[]);y[g+2*b][3]=w;y[g+2*b][4]=m;p.push(n)}for(g=1;g<=b;g++)p.push(n+g*a);return{values:y,xData:p,yData:y}}};d.defaultOptions=A(k.defaultOptions,{params:{period:26,periodTenkan:9,periodSenkouSpanB:52},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>TENKAN SEN: {point.tenkanSen:.3f}<br/>KIJUN SEN: {point.kijunSen:.3f}<br/>CHIKOU SPAN: {point.chikouSpan:.3f}<br/>SENKOU SPAN A: {point.senkouSpanA:.3f}<br/>SENKOU SPAN B: {point.senkouSpanB:.3f}<br/>'},
-tenkanLine:{styles:{lineWidth:1,lineColor:void 0}},kijunLine:{styles:{lineWidth:1,lineColor:void 0}},chikouLine:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanA:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanB:{styles:{lineWidth:1,lineColor:void 0}},senkouSpan:{styles:{fill:"rgba(255, 0, 0, 0.5)"}},dataGrouping:{approximation:"ichimoku-averages"}});return d}(k);d(h.prototype,{pointArrayMap:["tenkanSen","kijunSen","chikouSpan","senkouSpanA","senkouSpanB"],pointValKey:"tenkanSen",nameComponents:["periodSenkouSpanB",
-"period","periodTenkan"]});g.registerSeriesType("ikh",h);"";return h});t(d,"Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js",[d["Mixins/MultipleLines.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var e=function(b,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return e(b,a)};return function(b,a){function c(){this.constructor=
-b}e(b,a);b.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),m=f.seriesTypes.sma,n=g.correctFloat,q=g.extend,l=g.merge;g=function(e){function b(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}h(b,e);b.prototype.init=function(){f.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=l({topLine:{styles:{lineColor:this.color}},bottomLine:{styles:{lineColor:this.color}}},this.options)};b.prototype.getValues=function(a,
-c){var b=c.period,e=c.periodATR,d=c.multiplierATR,g=a.yData;g=g?g.length:0;var l=[];c=f.seriesTypes.ema.prototype.getValues(a,{period:b,index:c.index});var h=f.seriesTypes.atr.prototype.getValues(a,{period:e}),u=[],p=[],w;if(!(g<b)){for(w=b;w<=g;w++){var r=c.values[w-b];var m=h.values[w-e];var q=r[0];a=n(r[1]+d*m[1]);m=n(r[1]-d*m[1]);r=r[1];l.push([q,a,r,m]);u.push(q);p.push([a,r,m])}return{values:l,xData:u,yData:p}}};b.defaultOptions=l(m.defaultOptions,{params:{period:20,periodATR:10,multiplierATR:2},
-bottomLine:{styles:{lineWidth:1,lineColor:void 0}},topLine:{styles:{lineWidth:1,lineColor:void 0}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Upper Channel: {point.top}<br/>EMA({series.options.params.period}): {point.middle}<br/>Lower Channel: {point.bottom}<br/>'},marker:{enabled:!1},dataGrouping:{approximation:"averages"},lineWidth:1});return b}(m);q(g.prototype,{pointArrayMap:["top","middle","bottom"],pointValKey:"middle",nameBase:"Keltner Channels",
-nameComponents:["period","periodATR","multiplierATR"],linesApiNames:["topLine","bottomLine"],requiredIndicators:["ema","atr"],drawGraph:d.drawGraph,getTranslatedLinesNames:d.getTranslatedLinesNames,translate:d.translate,toYData:d.toYData});f.registerSeriesType("keltnerchannels",g);"";return g});t(d,"Stock/Indicators/MACD/MACDIndicator.js",[d["Core/Globals.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||
-{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(c,b)};return function(c,b){function k(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(k.prototype=b.prototype,new k)}}(),m=d.noop,n=f.seriesTypes.sma,q=g.extend,l=g.correctFloat,e=g.defined,b=g.merge;g=function(a){function c(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;c.currentLineZone=void 0;c.graphmacd=
-void 0;c.graphsignal=void 0;c.macdZones=void 0;c.signalZones=void 0;return c}h(c,a);c.prototype.init=function(){f.seriesTypes.sma.prototype.init.apply(this,arguments);this.options&&(this.options=b({signalLine:{styles:{lineColor:this.color}},macdLine:{styles:{color:this.color}}},this.options),this.macdZones={zones:this.options.macdLine.zones,startIndex:0},this.signalZones={zones:this.macdZones.zones.concat(this.options.signalLine.zones),startIndex:this.macdZones.zones.length},this.resetZones=!0)};
-c.prototype.toYData=function(a){return[a.y,a.signal,a.MACD]};c.prototype.translate=function(){var a=this,c=["plotSignal","plotMACD"];d.seriesTypes.column.prototype.translate.apply(a);a.points.forEach(function(b){[b.signal,b.MACD].forEach(function(k,e){null!==k&&(b[c[e]]=a.yAxis.toPixels(k,!0))})})};c.prototype.destroy=function(){this.graph=null;this.graphmacd=this.graphmacd&&this.graphmacd.destroy();this.graphsignal=this.graphsignal&&this.graphsignal.destroy();f.seriesTypes.sma.prototype.destroy.apply(this,
-arguments)};c.prototype.drawGraph=function(){for(var a=this,c=a.points,d=c.length,g=a.options,l=a.zones,h={options:{gapSize:g.gapSize}},u=[[],[]],p;d--;)p=c[d],e(p.plotMACD)&&u[0].push({plotX:p.plotX,plotY:p.plotMACD,isNull:!e(p.plotMACD)}),e(p.plotSignal)&&u[1].push({plotX:p.plotX,plotY:p.plotSignal,isNull:!e(p.plotMACD)});["macd","signal"].forEach(function(c,e){a.points=u[e];a.options=b(g[c+"Line"].styles,h);a.graph=a["graph"+c];a.currentLineZone=c+"Zones";a.zones=a[a.currentLineZone].zones;f.seriesTypes.sma.prototype.drawGraph.call(a);
-a["graph"+c]=a.graph});a.points=c;a.options=g;a.zones=l;a.currentLineZone=null};c.prototype.getZonesGraphs=function(c){var b=a.prototype.getZonesGraphs.call(this,c),e=b;this.currentLineZone&&(e=b.splice(this[this.currentLineZone].startIndex+1),e.length?e.splice(0,0,c[0]):e=[c[0]]);return e};c.prototype.applyZones=function(){var a=this.zones;this.zones=this.signalZones.zones;f.seriesTypes.sma.prototype.applyZones.call(this);this.graphmacd&&this.options.macdLine.zones.length&&this.graphmacd.hide();
-this.zones=a};c.prototype.getValues=function(a,c){var b=0,k=[],d=[],g=[];if(!(a.xData.length<c.longPeriod+c.signalPeriod)){var y=f.seriesTypes.ema.prototype.getValues(a,{period:c.shortPeriod,index:c.index});var p=f.seriesTypes.ema.prototype.getValues(a,{period:c.longPeriod,index:c.index});y=y.values;p=p.values;for(a=1;a<=y.length;a++)e(p[a-1])&&e(p[a-1][1])&&e(y[a+c.shortPeriod+1])&&e(y[a+c.shortPeriod+1][0])&&k.push([y[a+c.shortPeriod+1][0],0,null,y[a+c.shortPeriod+1][1]-p[a-1][1]]);for(a=0;a<k.length;a++)d.push(k[a][0]),
-g.push([0,null,k[a][3]]);c=f.seriesTypes.ema.prototype.getValues({xData:d,yData:g},{period:c.signalPeriod,index:2});c=c.values;for(a=0;a<k.length;a++)k[a][0]>=c[0][0]&&(k[a][2]=c[b][1],g[a]=[0,c[b][1],k[a][3]],null===k[a][3]?(k[a][1]=0,g[a][0]=0):(k[a][1]=l(k[a][3]-c[b][1]),g[a][0]=l(k[a][3]-c[b][1])),b++);return{values:k,xData:d,yData:g}}};c.defaultOptions=b(n.defaultOptions,{params:{shortPeriod:12,longPeriod:26,signalPeriod:9,period:26},signalLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},
-macdLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},threshold:0,groupPadding:.1,pointPadding:.1,crisp:!1,states:{hover:{halo:{size:0}}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Value: {point.MACD}<br/>Signal: {point.signal}<br/>Histogram: {point.y}<br/>'},dataGrouping:{approximation:"averages"},minPointLength:0});return c}(n);q(g.prototype,{nameComponents:["longPeriod","shortPeriod","signalPeriod"],requiredIndicators:["ema"],pointArrayMap:["y",
-"signal","MACD"],parallelArrays:["x","y","signal","MACD"],pointValKey:"y",markerAttribs:m,getColumnMetrics:d.seriesTypes.column.prototype.getColumnMetrics,crispCol:d.seriesTypes.column.prototype.crispCol,drawPoints:d.seriesTypes.column.prototype.drawPoints});f.registerSeriesType("macd",g);"";return g});t(d,"Stock/Indicators/MFI/MFIIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){function g(a){return a.reduce(function(a,b){return a+b})}function h(a){return(a[1]+
-a[2]+a[3])/3}var m=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(c,b)};return function(c,b){function e(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}}(),n=d.seriesTypes.sma,q=f.extend,l=f.merge,e=f.error,b=f.isArray;f=function(a){function c(){var c=null!==a&&a.apply(this,arguments)||
-this;c.data=void 0;c.options=void 0;c.points=void 0;return c}m(c,a);c.prototype.getValues=function(a,c){var k=c.period,f=a.xData,d=a.yData,l=d?d.length:0,y=c.decimals,p=1,w=a.chart.get(c.volumeSeriesID),r=w&&w.yData,m=[],q=[],n=[],x=[],z=[];if(!w)e("Series "+c.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,a.chart);else if(!(f.length<=k)&&b(d[0])&&4===d[0].length&&r){for(a=h(d[p]);p<k+1;)c=a,a=h(d[p]),c=a>=c,w=a*r[p],x.push(c?w:0),z.push(c?0:w),p++;for(k=p-1;k<l;k++)k>p-1&&(x.shift(),z.shift(),
-c=a,a=h(d[k]),c=a>c,w=a*r[k],x.push(c?w:0),z.push(c?0:w)),c=g(z),w=g(x),c=w/c,c=parseFloat((100-100/(1+c)).toFixed(y)),m.push([f[k],c]),q.push(f[k]),n.push(c);return{values:m,xData:q,yData:n}}};c.defaultOptions=l(n.defaultOptions,{params:{period:14,volumeSeriesID:"volume",decimals:4}});return c}(n);q(f.prototype,{nameBase:"Money Flow Index"});d.registerSeriesType("mfi",f);"";return f});t(d,"Stock/Indicators/Momentum/MomentumIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],
-function(d,f){function g(e,b,a,c,k){a=a[c-1][3]-a[c-k-1][3];b=b[c-1];e.shift();return[b,a]}var h=this&&this.__extends||function(){var e=function(b,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return e(b,a)};return function(b,a){function c(){this.constructor=b}e(b,a);b.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),m=d.seriesTypes.sma,n=f.extend,q=f.isArray,l=f.merge;
-f=function(e){function b(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}h(b,e);b.prototype.getValues=function(a,c){c=c.period;var b=a.xData,e=(a=a.yData)?a.length:0,f=b[0],d=[],l=[],h=[];if(!(b.length<=c)&&q(a[0])){var u=a[0][3];u=[[f,u]];for(f=c+1;f<e;f++){var p=g(u,b,a,f,c,void 0);d.push(p);l.push(p[0]);h.push(p[1])}p=g(u,b,a,f,c,void 0);d.push(p);l.push(p[0]);h.push(p[1]);return{values:d,xData:l,yData:h}}};b.defaultOptions=l(m.defaultOptions,
-{params:{period:14}});return b}(m);n(f.prototype,{nameBase:"Momentum"});d.registerSeriesType("momentum",f);"";return f});t(d,"Stock/Indicators/NATR/NATRIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var f=function(d,e){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return f(d,e)};return function(d,e){function b(){this.constructor=
-d}f(d,e);d.prototype=null===e?Object.create(e):(b.prototype=e.prototype,new b)}}(),h=d.seriesTypes.atr,m=f.merge;f=f.extend;var n=function(f){function d(){var e=null!==f&&f.apply(this,arguments)||this;e.data=void 0;e.points=void 0;e.options=void 0;return e}g(d,f);d.prototype.getValues=function(e,b){var a=h.prototype.getValues.apply(this,arguments),c=a.values.length,k=b.period-1,f=e.yData,d=0;if(a){for(;d<c;d++)a.yData[d]=a.values[d][1]/f[k][3]*100,a.values[d][1]=a.yData[d],k++;return a}};d.defaultOptions=
-m(h.defaultOptions,{tooltip:{valueSuffix:"%"}});return d}(h);f(n.prototype,{requiredIndicators:["atr"]});d.registerSeriesType("natr",n);"";return n});t(d,"Stock/Indicators/PivotPoints/PivotPointsPoint.js",[d["Core/Series/SeriesRegistry.js"]],function(d){function f(f,g){var h=f.series.pointArrayMap,m=h.length;for(d.seriesTypes.sma.prototype.pointClass.prototype[g].call(f);m--;)g="dataLabel"+h[m],f[g]&&f[g].element&&f[g].destroy(),f[g]=null}var g=this&&this.__extends||function(){var f=function(d,g){f=
-Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,d){f.__proto__=d}||function(f,d){for(var e in d)d.hasOwnProperty(e)&&(f[e]=d[e])};return f(d,g)};return function(d,g){function h(){this.constructor=d}f(d,g);d.prototype=null===g?Object.create(g):(h.prototype=g.prototype,new h)}}();return function(d){function h(){var f=null!==d&&d.apply(this,arguments)||this;f.P=void 0;f.pivotLine=void 0;f.series=void 0;return f}g(h,d);h.prototype.destroyElements=function(){f(this,"destroyElements")};
-h.prototype.destroy=function(){f(this,"destroyElements")};return h}(d.seriesTypes.sma.prototype.pointClass)});t(d,"Stock/Indicators/PivotPoints/PivotPointsIndicator.js",[d["Stock/Indicators/PivotPoints/PivotPointsPoint.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var b=function(a,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=
-c[b])};return b(a,c)};return function(a,c){function e(){this.constructor=a}b(a,c);a.prototype=null===c?Object.create(c):(e.prototype=c.prototype,new e)}}(),m=f.seriesTypes.sma,n=g.merge,q=g.extend,l=g.defined,e=g.isArray;g=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;a.endPoint=void 0;a.plotEndPoint=void 0;return a}h(a,b);a.prototype.toYData=function(a){return[a.P]};a.prototype.translate=function(){var a=this;f.seriesTypes.sma.prototype.translate.apply(a);
-a.points.forEach(function(c){a.pointArrayMap.forEach(function(b){l(c[b])&&(c["plot"+b]=a.yAxis.toPixels(c[b],!0))})});a.plotEndPoint=a.xAxis.toPixels(a.endPoint,!0)};a.prototype.getGraphPath=function(a){for(var c=this,b=a.length,e=[[],[],[],[],[],[],[],[],[]],d=[],g=c.plotEndPoint,h=c.pointArrayMap.length,u,p,m;b--;){p=a[b];for(m=0;m<h;m++)u=c.pointArrayMap[m],l(p[u])&&e[m].push({plotX:p.plotX,plotY:p["plot"+u],isNull:!1},{plotX:g,plotY:p["plot"+u],isNull:!1},{plotX:g,plotY:null,isNull:!0});g=p.plotX}e.forEach(function(a){d=
-d.concat(f.seriesTypes.sma.prototype.getGraphPath.call(c,a))});return d};a.prototype.drawDataLabels=function(){var a=this,b=a.pointArrayMap,e,d,g;if(a.options.dataLabels.enabled){var l=a.points.length;b.concat([!1]).forEach(function(c,k){for(g=l;g--;)d=a.points[g],c?(d.y=d[c],d.pivotLine=c,d.plotY=d["plot"+c],e=d["dataLabel"+c],k&&(d["dataLabel"+b[k-1]]=d.dataLabel),d.dataLabels||(d.dataLabels=[]),d.dataLabels[0]=d.dataLabel=e=e&&e.element?e:null):d["dataLabel"+b[k-1]]=d.dataLabel;f.seriesTypes.sma.prototype.drawDataLabels.apply(a,
-arguments)})}};a.prototype.getValues=function(a,b){var c=b.period,f=a.xData,k=(a=a.yData)?a.length:0;b=this[b.algorithm+"Placement"];var d=[],g=[],l=[],p;if(!(f.length<c)&&e(a[0])&&4===a[0].length){for(p=c+1;p<=k+c;p+=c){var h=f.slice(p-c-1,p);var r=a.slice(p-c-1,p);var m=h.length;var q=h[m-1];r=this.getPivotAndHLC(r);r=b(r);r=d.push([q].concat(r));g.push(q);l.push(d[r-1].slice(1))}this.endPoint=h[0]+(q-h[0])/m*c;return{values:d,xData:g,yData:l}}};a.prototype.getPivotAndHLC=function(a){var c=-Infinity,
-b=Infinity,e=a[a.length-1][3];a.forEach(function(a){c=Math.max(c,a[1]);b=Math.min(b,a[2])});return[(c+b+e)/3,c,b,e]};a.prototype.standardPlacement=function(a){var c=a[1]-a[2];return[null,null,a[0]+c,2*a[0]-a[2],a[0],2*a[0]-a[1],a[0]-c,null,null]};a.prototype.camarillaPlacement=function(a){var c=a[1]-a[2];return[a[3]+1.5*c,a[3]+1.25*c,a[3]+1.1666*c,a[3]+1.0833*c,a[0],a[3]-1.0833*c,a[3]-1.1666*c,a[3]-1.25*c,a[3]-1.5*c]};a.prototype.fibonacciPlacement=function(a){var c=a[1]-a[2];return[null,a[0]+c,a[0]+
-.618*c,a[0]+.382*c,a[0],a[0]-.382*c,a[0]-.618*c,a[0]-c,null]};a.defaultOptions=n(m.defaultOptions,{params:{period:28,algorithm:"standard"},marker:{enabled:!1},enableMouseTracking:!1,dataLabels:{enabled:!0,format:"{point.pivotLine}"},dataGrouping:{approximation:"averages"}});return a}(m);q(g.prototype,{nameBase:"Pivot Points",pointArrayMap:"R4 R3 R2 R1 P S1 S2 S3 S4".split(" "),pointValKey:"P",pointClass:d});f.registerSeriesType("pivotpoints",g);"";return g});t(d,"Stock/Indicators/PPO/PPOIndicator.js",
-[d["Mixins/IndicatorRequired.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var b=function(a,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return b(a,c)};return function(a,c){function e(){this.constructor=a}b(a,c);a.prototype=null===c?Object.create(c):(e.prototype=c.prototype,new e)}}(),m=f.seriesTypes.ema,n=g.correctFloat,
-q=g.extend,l=g.merge,e=g.error;g=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}h(a,b);a.prototype.init=function(){var a=arguments,b=this;d.isParentLoaded(m,"ema",b.type,function(c){c.prototype.init.apply(b,a)})};a.prototype.getValues=function(a,b){var c=b.periods,f=b.index;b=[];var d=[],k=[],g;if(2!==c.length||c[1]<=c[0])e('Error: "PPO requires two periods. Notice, first period should be lower than the second one."');
-else{var l=m.prototype.getValues.call(this,a,{index:f,period:c[0]});a=m.prototype.getValues.call(this,a,{index:f,period:c[1]});if(l&&a){c=c[1]-c[0];for(g=0;g<a.yData.length;g++)f=n((l.yData[g+c]-a.yData[g])/a.yData[g]*100),b.push([a.xData[g],f]),d.push(a.xData[g]),k.push(f);return{values:b,xData:d,yData:k}}}};a.defaultOptions=l(m.defaultOptions,{params:{periods:[12,26]}});return a}(m);q(g.prototype,{nameBase:"PPO",nameComponents:["periods"]});f.registerSeriesType("ppo",g);"";return g});t(d,"Mixins/ReduceArray.js",
-[],function(){return{minInArray:function(d,f){return d.reduce(function(d,h){return Math.min(d,h[f])},Number.MAX_VALUE)},maxInArray:function(d,f){return d.reduce(function(d,h){return Math.max(d,h[f])},-Number.MAX_VALUE)},getArrayExtremes:function(d,f,g){return d.reduce(function(d,m){return[Math.min(d[0],m[f]),Math.max(d[1],m[g])]},[Number.MAX_VALUE,-Number.MAX_VALUE])}}});t(d,"Stock/Indicators/PC/PCIndicator.js",[d["Core/Color/Palette.js"],d["Mixins/MultipleLines.js"],d["Mixins/ReduceArray.js"],d["Core/Series/SeriesRegistry.js"],
-d["Core/Utilities.js"]],function(d,f,g,h,z){var m=this&&this.__extends||function(){var b=function(a,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return b(a,c)};return function(a,c){function e(){this.constructor=a}b(a,c);a.prototype=null===c?Object.create(c):(e.prototype=c.prototype,new e)}}(),q=h.seriesTypes.sma,l=z.merge;z=z.extend;var e=g.getArrayExtremes;g=function(b){function a(){var a=
-null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}m(a,b);a.prototype.getValues=function(a,b){b=b.period;var c=a.xData,f=(a=a.yData)?a.length:0,d=[],k=[],g=[],l;if(!(f<b)){for(l=b;l<=f;l++){var p=c[l-1];var h=a.slice(l-b,l);var r=e(h,2,1);h=r[1];var m=r[0];r=(h+m)/2;d.push([p,h,r,m]);k.push(p);g.push([h,r,m])}return{values:d,xData:k,yData:g}}};a.defaultOptions=l(q.defaultOptions,{params:{period:20},lineWidth:1,topLine:{styles:{lineColor:d.colors[2],lineWidth:1}},
-bottomLine:{styles:{lineColor:d.colors[8],lineWidth:1}},dataGrouping:{approximation:"averages"}});return a}(q);z(g.prototype,{getTranslatedLinesNames:f.getTranslatedLinesNames,drawGraph:f.drawGraph,toYData:f.toYData,pointArrayMap:["top","middle","bottom"],pointValKey:"middle",nameBase:"Price Channel",nameComponents:["period"],linesApiNames:["topLine","bottomLine"],translate:f.translate});h.registerSeriesType("pc",g);"";return g});t(d,"Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js",[d["Core/Series/SeriesRegistry.js"],
-d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var f=function(e,b){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return f(e,b)};return function(e,b){function a(){this.constructor=e}f(e,b);e.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),h=d.seriesTypes.sma,m=f.extend,n=f.isArray,q=f.merge;f=function(f){function e(){var b=null!==f&&f.apply(this,
-arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}g(e,f);e.prototype.init=function(){d.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=q({topLine:{styles:{lineColor:this.color}},bottomLine:{styles:{lineColor:this.color}}},this.options)};e.prototype.toYData=function(b){return[b.top,b.middle,b.bottom]};e.prototype.translate=function(){var b=this,a=["plotTop","plotMiddle","plotBottom"];d.seriesTypes.sma.prototype.translate.apply(b);b.points.forEach(function(c){[c.top,
-c.middle,c.bottom].forEach(function(e,f){null!==e&&(c[a[f]]=b.yAxis.toPixels(e,!0))})})};e.prototype.drawGraph=function(){for(var b=this,a=b.points,c=a.length,e=b.options,f=b.graph,g={options:{gapSize:e.gapSize}},l=[[],[]],h;c--;)h=a[c],l[0].push({plotX:h.plotX,plotY:h.plotTop,isNull:h.isNull}),l[1].push({plotX:h.plotX,plotY:h.plotBottom,isNull:h.isNull});["topLine","bottomLine"].forEach(function(a,c){b.points=l[c];b.options=q(e[a].styles,g);b.graph=b["graph"+a];d.seriesTypes.sma.prototype.drawGraph.call(b);
-b["graph"+a]=b.graph});b.points=a;b.options=e;b.graph=f;d.seriesTypes.sma.prototype.drawGraph.call(b)};e.prototype.getValues=function(b,a){var c=a.period,e=a.topBand,f=a.bottomBand,g=b.xData,l=(b=b.yData)?b.length:0,h=[],m=[],u=[],p;if(!(g.length<c)&&n(b[0])&&4===b[0].length){for(p=c;p<=l;p++){var w=g.slice(p-c,p);var r=b.slice(p-c,p);r=d.seriesTypes.sma.prototype.getValues.call(this,{xData:w,yData:r},a);w=r.xData[0];r=r.yData[0];var q=r*(1+e);var L=r*(1-f);h.push([w,q,r,L]);m.push(w);u.push([q,r,
-L])}return{values:h,xData:m,yData:u}}};e.defaultOptions=q(h.defaultOptions,{marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Top: {point.top}<br/>Middle: {point.middle}<br/>Bottom: {point.bottom}<br/>'},params:{period:20,topBand:.1,bottomBand:.1},bottomLine:{styles:{lineWidth:1,lineColor:void 0}},topLine:{styles:{lineWidth:1}},dataGrouping:{approximation:"averages"}});return e}(h);m(f.prototype,{nameComponents:["period","topBand","bottomBand"],
-nameBase:"Price envelopes",pointArrayMap:["top","middle","bottom"],parallelArrays:["x","y","top","bottom"],pointValKey:"middle"});d.registerSeriesType("priceenvelopes",f);"";return f});t(d,"Stock/Indicators/PSAR/PSARIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var f=function(d,e){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=
-a[c])};return f(d,e)};return function(d,e){function b(){this.constructor=d}f(d,e);d.prototype=null===e?Object.create(e):(b.prototype=e.prototype,new b)}}(),h=d.seriesTypes.sma,m=f.merge;f=f.extend;var n=function(f){function d(){var e=null!==f&&f.apply(this,arguments)||this;e.data=void 0;e.points=void 0;e.options=void 0;return e}g(d,f);d.prototype.getValues=function(e,b){var a=e.xData;e=e.yData;var c=e[0][1],f=b.maxAccelerationFactor,d=b.increment,g=b.initialAccelerationFactor,l=e[0][2],h=b.decimals,
-m=b.index,u=[],p=[],w=[],r=1,q;if(!(m>=e.length)){for(q=0;q<m;q++)c=Math.max(e[q][1],c),l=Math.min(e[q][2],parseFloat(l.toFixed(h)));var n=e[q][1]>l?1:-1;b=b.initialAccelerationFactor;var B=b*(c-l);u.push([a[m],l]);p.push(a[m]);w.push(parseFloat(l.toFixed(h)));for(q=m+1;q<e.length;q++){m=e[q-1][2];var x=e[q-2][2];var C=e[q-1][1];var z=e[q-2][1];var D=e[q][1];var t=e[q][2];null!==x&&null!==z&&null!==m&&null!==C&&null!==D&&null!==t&&(l=n===r?1===n?l+B<Math.min(x,m)?l+B:Math.min(x,m):l+B>Math.max(z,
-C)?l+B:Math.max(z,C):c,m=1===n?D>c?D:c:t<c?t:c,D=1===r&&t>l||-1===r&&D>l?1:-1,r=D,B=m,t=d,x=f,C=g,b=r===n?1===r&&B>c?b===x?x:parseFloat((b+t).toFixed(2)):-1===r&&B<c?b===x?x:parseFloat((b+t).toFixed(2)):b:C,c=m-l,B=b*c,u.push([a[q],parseFloat(l.toFixed(h))]),p.push(a[q]),w.push(parseFloat(l.toFixed(h))),r=n,n=D,c=m)}return{values:u,xData:p,yData:w}}};d.defaultOptions=m(h.defaultOptions,{lineWidth:0,marker:{enabled:!0},states:{hover:{lineWidthPlus:0}},params:{initialAccelerationFactor:.02,maxAccelerationFactor:.2,
-increment:.02,index:2,decimals:4}});return d}(h);f(n.prototype,{nameComponents:!1});d.registerSeriesType("psar",n);"";return n});t(d,"Stock/Indicators/ROC/ROCIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var f=function(e,b){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return f(e,b)};return function(e,b){function a(){this.constructor=
-e}f(e,b);e.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),h=d.seriesTypes.sma,m=f.isArray,n=f.merge;f=f.extend;var q=function(f){function e(){var b=null!==f&&f.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}g(e,f);e.prototype.getValues=function(b,a){var c=a.period,e=b.xData,f=(b=b.yData)?b.length:0,d=[],g=[],l=[],h=-1;if(!(e.length<=c)){m(b[0])&&(h=a.index);for(a=c;a<f;a++){var u=0>h?(u=b[a-c])?(b[a]-u)/u*100:null:(u=b[a-c][h])?(b[a][h]-
-u)/u*100:null;u=[e[a],u];d.push(u);g.push(u[0]);l.push(u[1])}return{values:d,xData:g,yData:l}}};e.defaultOptions=n(h.defaultOptions,{params:{index:3,period:9}});return e}(h);f(q.prototype,{nameBase:"Rate of Change"});d.registerSeriesType("roc",q);"";return q});t(d,"Stock/Indicators/RSI/RSIIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var f=function(d,e){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,
-a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return f(d,e)};return function(d,e){function b(){this.constructor=d}f(d,e);d.prototype=null===e?Object.create(e):(b.prototype=e.prototype,new b)}}(),h=d.seriesTypes.sma,m=f.isArray,n=f.merge;f=function(f){function d(){var e=null!==f&&f.apply(this,arguments)||this;e.data=void 0;e.points=void 0;e.options=void 0;return e}g(d,f);d.prototype.getValues=function(e,b){var a=b.period,c=e.xData,f=(e=e.yData)?e.length:0;b=b.decimals;
-var d=1,g=[],l=[],h=[],q=0,u=0,p;if(!(c.length<a)&&m(e[0])&&4===e[0].length){for(;d<a;){var w=parseFloat((e[d][3]-e[d-1][3]).toFixed(b));0<w?q+=w:u+=Math.abs(w);d++}var r=parseFloat((q/(a-1)).toFixed(b));for(p=parseFloat((u/(a-1)).toFixed(b));d<f;d++)w=parseFloat((e[d][3]-e[d-1][3]).toFixed(b)),0<w?(q=w,u=0):(q=0,u=Math.abs(w)),r=parseFloat(((r*(a-1)+q)/a).toFixed(b)),p=parseFloat(((p*(a-1)+u)/a).toFixed(b)),q=0===p?100:0===r?0:parseFloat((100-100/(1+r/p)).toFixed(b)),g.push([c[d],q]),l.push(c[d]),
-h.push(q);return{values:g,xData:l,yData:h}}};d.defaultOptions=n(h.defaultOptions,{params:{period:14,decimals:4}});return d}(h);d.registerSeriesType("rsi",f);"";return f});t(d,"Stock/Indicators/Stochastic/StochasticIndicator.js",[d["Mixins/MultipleLines.js"],d["Mixins/ReduceArray.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g,h){var m=this&&this.__extends||function(){var b=function(a,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=
-c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return b(a,c)};return function(a,c){function e(){this.constructor=a}b(a,c);a.prototype=null===c?Object.create(c):(e.prototype=c.prototype,new e)}}(),n=g.seriesTypes.sma,q=h.extend,l=h.isArray,e=h.merge;h=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}m(a,b);a.prototype.init=function(){g.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=
-e({smoothedLine:{styles:{lineColor:this.color}}},this.options)};a.prototype.getValues=function(a,b){var c=b.periods[0];b=b.periods[1];var e=a.xData,d=(a=a.yData)?a.length:0,k=[],h=[],m=[],p=null,w;if(!(d<c)&&l(a[0])&&4===a[0].length){for(w=c-1;w<d;w++){var r=a.slice(w-c+1,w+1);var q=f.getArrayExtremes(r,2,1);var n=q[0];r=a[w][3]-n;n=q[1]-n;r=r/n*100;h.push(e[w]);m.push([r,null]);w>=c-1+(b-1)&&(p=g.seriesTypes.sma.prototype.getValues.call(this,{xData:h.slice(-b),yData:m.slice(-b)},{period:b}),p=p.yData[0]);
-k.push([e[w],r,p]);m[m.length-1][1]=p}return{values:k,xData:h,yData:m}}};a.defaultOptions=e(n.defaultOptions,{params:{periods:[14,3]},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>%K: {point.y}<br/>%D: {point.smoothed}<br/>'},smoothedLine:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}});return a}(n);q(h.prototype,{nameComponents:["periods"],nameBase:"Stochastic",pointArrayMap:["y","smoothed"],parallelArrays:["x",
-"y","smoothed"],pointValKey:"y",linesApiNames:["smoothedLine"],drawGraph:d.drawGraph,getTranslatedLinesNames:d.getTranslatedLinesNames,translate:d.translate,toYData:d.toYData});g.registerSeriesType("stochastic",h);"";return h});t(d,"Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js",[d["Mixins/IndicatorRequired.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var e=function(b,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return e(b,a)};return function(b,a){function c(){this.constructor=b}e(b,a);b.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),m=f.seriesTypes.stochastic,n=f.seriesTypes,q=g.extend,l=g.merge;g=function(e){function b(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}h(b,e);b.prototype.init=function(){var a=arguments,b=this;d.isParentLoaded(n.stochastic,
-"stochastic",b.type,function(c){c.prototype.init.apply(b,a)})};b.prototype.getValues=function(a,b){var c=b.periods,e=n.stochastic.prototype.getValues.call(this,a,b);a={values:[],xData:[],yData:[]};b=0;if(e){a.xData=e.xData.slice(c[1]-1);e=e.yData.slice(c[1]-1);var f=n.sma.prototype.getValues.call(this,{xData:a.xData,yData:e},{index:1,period:c[2]});if(f){for(var d=a.xData.length;b<d;b++)a.yData[b]=[e[b][1],f.yData[b-c[2]+1]||null],a.values[b]=[a.xData[b],e[b][1],f.yData[b-c[2]+1]||null];return a}}};
-b.defaultOptions=l(m.defaultOptions,{params:{periods:[14,3,3]}});return b}(m);q(g.prototype,{nameBase:"Slow Stochastic"});f.registerSeriesType("slowstochastic",g);"";return g});t(d,"Stock/Indicators/Supertrend/SupertrendIndicator.js",[d["Core/Color/Palette.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){function h(a,b,c){return{index:b,close:a.yData[b][c],x:a.xData[b]}}var m=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function e(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(e.prototype=c.prototype,new e)}}(),n=f.seriesTypes,q=n.atr,l=n.sma,e=g.correctFloat,b=g.isArray;n=g.extend;var a=g.merge,c=g.objectEach;g=function(f){function g(){var a=null!==f&&f.apply(this,arguments)||this;a.data=void 0;a.linkedParent=void 0;a.options=void 0;a.points=void 0;return a}
-m(g,f);g.prototype.init=function(){l.prototype.init.apply(this,arguments);var a=this.options;a.cropThreshold=this.linkedParent.options.cropThreshold-(a.params.period-1)};g.prototype.drawGraph=function(){var b=this,e=b.options,f=b.linkedParent,d=f?f.points:[],g=b.points,k=b.graph,m=g.length,r=d.length-m;r=0<r?r:0;for(var q={options:{gapSize:e.gapSize}},n={top:[],bottom:[],intersect:[]},y={top:{styles:{lineWidth:e.lineWidth,lineColor:e.fallingTrendColor||e.color,dashStyle:e.dashStyle}},bottom:{styles:{lineWidth:e.lineWidth,
-lineColor:e.risingTrendColor||e.color,dashStyle:e.dashStyle}},intersect:e.changeTrendLine},x,C,t,D,z,G,H,I;m--;)x=g[m],C=g[m-1],t=d[m-1+r],D=d[m-2+r],z=d[m+r],G=d[m+r+1],H=x.options.color,I={x:x.x,plotX:x.plotX,plotY:x.plotY,isNull:!1},!D&&t&&f.yData[t.index-1]&&(D=h(f,t.index-1,3)),!G&&z&&f.yData[z.index+1]&&(G=h(f,z.index+1,3)),!t&&D&&f.yData[D.index+1]?t=h(f,D.index+1,3):!t&&z&&f.yData[z.index-1]&&(t=h(f,z.index-1,3)),x&&t&&z&&D&&x.x!==t.x&&(x.x===z.x?(D=t,t=z):x.x===D.x?(t=D,D={close:f.yData[t.index-
-1][3],x:f.xData[t.index-1]}):G&&x.x===G.x&&(t=G,D=z)),C&&D&&t?(z={x:C.x,plotX:C.plotX,plotY:C.plotY,isNull:!1},x.y>=t.close&&C.y>=D.close?(x.color=H||e.fallingTrendColor||e.color,n.top.push(I)):x.y<t.close&&C.y<D.close?(x.color=H||e.risingTrendColor||e.color,n.bottom.push(I)):(n.intersect.push(I),n.intersect.push(z),n.intersect.push(a(z,{isNull:!0})),x.y>=t.close&&C.y<D.close?(x.color=H||e.fallingTrendColor||e.color,C.color=H||e.risingTrendColor||e.color,n.top.push(I),n.top.push(a(z,{isNull:!0}))):
-x.y<t.close&&C.y>=D.close&&(x.color=H||e.risingTrendColor||e.color,C.color=H||e.fallingTrendColor||e.color,n.bottom.push(I),n.bottom.push(a(z,{isNull:!0}))))):t&&(x.y>=t.close?(x.color=H||e.fallingTrendColor||e.color,n.top.push(I)):(x.color=H||e.risingTrendColor||e.color,n.bottom.push(I)));c(n,function(c,e){b.points=c;b.options=a(y[e].styles,q);b.graph=b["graph"+e+"Line"];l.prototype.drawGraph.call(b);b["graph"+e+"Line"]=b.graph});b.points=g;b.options=e;b.graph=k};g.prototype.getValues=function(a,
-c){var f=c.period;c=c.multiplier;var d=a.xData,g=a.yData,k=[],h=[],l=[],m=0===f?0:f-1,n=[],v=[],x;if(!(d.length<=f||!b(g[0])||4!==g[0].length||0>f)){a=q.prototype.getValues.call(this,a,{period:f}).yData;for(x=0;x<a.length;x++){var y=g[m+x];var A=g[m+x-1]||[];var t=n[x-1];var z=v[x-1];var G=l[x-1];0===x&&(t=z=G=0);f=e((y[1]+y[2])/2+c*a[x]);var H=e((y[1]+y[2])/2-c*a[x]);n[x]=f<t||A[3]>t?f:t;v[x]=H>z||A[3]<z?H:z;if(G===t&&y[3]<n[x]||G===z&&y[3]<v[x])var I=n[x];else if(G===t&&y[3]>n[x]||G===z&&y[3]>v[x])I=
-v[x];k.push([d[m+x],I]);h.push(d[m+x]);l.push(I)}return{values:k,xData:h,yData:l}}};g.defaultOptions=a(l.defaultOptions,{params:{multiplier:3,period:10},risingTrendColor:d.indicatorPositiveLine,fallingTrendColor:d.indicatorNegativeLine,changeTrendLine:{styles:{lineWidth:1,lineColor:d.neutralColor80,dashStyle:"LongDash"}}});return g}(l);n(g.prototype,{nameBase:"Supertrend",nameComponents:["multiplier","period"],requiredIndicators:["atr"]});f.registerSeriesType("supertrend",g);"";return g});t(d,"Stock/Indicators/VBP/VBPIndicator.js",
-[d["Core/Animation/AnimationUtilities.js"],d["Core/Globals.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g,h){var m=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function e(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(e.prototype=c.prototype,new e)}}(),n=
-d.animObject;d=f.noop;var q=g.seriesTypes.sma,l=h.addEvent,e=h.arrayMax,b=h.arrayMin,a=h.correctFloat,c=h.error,k=h.extend,y=h.isArray,v=h.merge,A=Math.abs,t=g.seriesTypes.column.prototype;h=function(d){function g(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.negWidths=void 0;a.options=void 0;a.points=void 0;a.posWidths=void 0;a.priceZones=void 0;a.rangeStep=void 0;a.volumeDataArray=void 0;a.zoneStarts=void 0;a.zoneLinesSVG=void 0;return a}m(g,d);g.prototype.init=function(a){f.seriesTypes.sma.prototype.init.apply(this,
-arguments);var b=this.options.params;var c=this.linkedParent;b=a.get(b.volumeSeriesID);this.addCustomEvents(c,b);return this};g.prototype.addCustomEvents=function(a,b){function c(){e.chart.redraw();e.setData([]);e.zoneStarts=[];e.zoneLinesSVG&&(e.zoneLinesSVG.destroy(),delete e.zoneLinesSVG)}var e=this;e.dataEventsToUnbind.push(l(a,"remove",function(){c()}));b&&e.dataEventsToUnbind.push(l(b,"remove",function(){c()}));return e};g.prototype.animate=function(a){var b=this,c=b.chart.inverted,e=b.group,
-f={};!a&&e&&(a=c?"translateY":"translateX",c=c?b.yAxis.top:b.xAxis.left,e["forceAnimate:"+a]=!0,f[a]=c,e.animate(f,k(n(b.options.animation),{step:function(a,c){b.group.attr({scaleX:Math.max(.001,c.pos)})}})))};g.prototype.drawPoints=function(){this.options.volumeDivision.enabled&&(this.posNegVolume(!0,!0),t.drawPoints.apply(this,arguments),this.posNegVolume(!1,!1));t.drawPoints.apply(this,arguments)};g.prototype.posNegVolume=function(a,b){var c=b?["positive","negative"]:["negative","positive"],e=
-this.options.volumeDivision,f=this.points.length,d=[],g=[],k=0,h;a?(this.posWidths=d,this.negWidths=g):(d=this.posWidths,g=this.negWidths);for(;k<f;k++){var l=this.points[k];l[c[0]+"Graphic"]=l.graphic;l.graphic=l[c[1]+"Graphic"];if(a){var p=l.shapeArgs.width;var m=this.priceZones[k];(h=m.wholeVolumeData)?(d.push(p/h*m.positiveVolumeData),g.push(p/h*m.negativeVolumeData)):(d.push(0),g.push(0))}l.color=b?e.styles.positiveColor:e.styles.negativeColor;l.shapeArgs.width=b?this.posWidths[k]:this.negWidths[k];
-l.shapeArgs.x=b?l.shapeArgs.x:this.posWidths[k]}};g.prototype.translate=function(){var b=this,c=b.options,f=b.chart,d=b.yAxis,g=d.min,k=b.options.zoneLines,l=b.priceZones,h=0,m,q,n;t.translate.apply(b);var u=b.points;if(u.length){var v=.5>c.pointPadding?c.pointPadding:.1;c=b.volumeDataArray;var y=e(c);var z=f.plotWidth/2;var J=f.plotTop;var K=A(d.toPixels(g)-d.toPixels(g+b.rangeStep));var F=A(d.toPixels(g)-d.toPixels(g+b.rangeStep));v&&(g=A(K*(1-2*v)),h=A((K-g)/2),K=A(g));u.forEach(function(c,e){q=
-c.barX=c.plotX=0;n=c.plotY=d.toPixels(l[e].start)-J-(d.reversed?K-F:K)-h;m=a(z*l[e].wholeVolumeData/y);c.pointWidth=m;c.shapeArgs=b.crispCol.apply(b,[q,n,m,K]);c.volumeNeg=l[e].negativeVolumeData;c.volumePos=l[e].positiveVolumeData;c.volumeAll=l[e].wholeVolumeData});k.enabled&&b.drawZones(f,d,b.zoneStarts,k.styles)}};g.prototype.getValues=function(a,b){var e=a.processedXData,f=a.processedYData,d=this.chart,g=b.ranges,k=[],l=[],h=[],m;if(a.chart)if(m=d.get(b.volumeSeriesID))if((b=y(f[0]))&&4!==f[0].length)c("Type of "+
-a.name+" series is different than line, OHLC or candlestick.",!0,d);else return(this.priceZones=this.specifyZones(b,e,f,g,m)).forEach(function(a,b){k.push([a.x,a.end]);l.push(k[b][0]);h.push(k[b][1])}),{values:k,xData:l,yData:h};else c("Series "+b.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,d);else c("Base series not found! In case it has been removed, add a new one.",!0,d)};g.prototype.specifyZones=function(c,f,d,g,k){if(c){var l=d.length;for(var h=d[0][3],m=h,p=1,q;p<l;p++)q=d[p][3],
-q<h&&(h=q),q>m&&(m=q);l={min:h,max:m}}else l=!1;l=(h=l)?h.min:b(d);q=h?h.max:e(d);h=this.zoneStarts=[];m=[];var n=0;p=1;if(!l||!q)return this.points.length&&(this.setData([]),this.zoneStarts=[],this.zoneLinesSVG.destroy()),[];var r=this.rangeStep=a(q-l)/g;for(h.push(l);n<g-1;n++)h.push(a(h[n]+r));h.push(q);for(g=h.length;p<g;p++)m.push({index:p-1,x:f[0],start:h[p-1],end:h[p]});return this.volumePerZone(c,m,k,f,d)};g.prototype.volumePerZone=function(a,b,c,e,f){var d=this,g=c.processedXData,k=c.processedYData,
-l=b.length-1,h=f.length;c=k.length;var m,p,q,n,r;A(h-c)&&(e[0]!==g[0]&&k.unshift(0),e[h-1]!==g[c-1]&&k.push(0));d.volumeDataArray=[];b.forEach(function(b){b.wholeVolumeData=0;b.positiveVolumeData=0;for(r=b.negativeVolumeData=0;r<h;r++)q=p=!1,n=a?f[r][3]:f[r],m=r?a?f[r-1][3]:f[r-1]:n,n<=b.start&&0===b.index&&(p=!0),n>=b.end&&b.index===l&&(q=!0),(n>b.start||p)&&(n<b.end||q)&&(b.wholeVolumeData+=k[r],m>n?b.negativeVolumeData+=k[r]:b.positiveVolumeData+=k[r]);d.volumeDataArray.push(b.wholeVolumeData)});
-return b};g.prototype.drawZones=function(a,b,c,e){var f=a.renderer,d=this.zoneLinesSVG,g=[],k=a.plotWidth,h=a.plotTop,l;c.forEach(function(c){l=b.toPixels(c)-h;g=g.concat(a.renderer.crispLine([["M",0,l],["L",k,l]],e.lineWidth))});d?d.animate({d:g}):d=this.zoneLinesSVG=f.path(g).attr({"stroke-width":e.lineWidth,stroke:e.color,dashstyle:e.dashStyle,zIndex:this.group.zIndex+.1}).add(this.group)};g.defaultOptions=v(q.defaultOptions,{params:{ranges:12,volumeSeriesID:"volume"},zoneLines:{enabled:!0,styles:{color:"#0A9AC9",
-dashStyle:"LongDash",lineWidth:1}},volumeDivision:{enabled:!0,styles:{positiveColor:"rgba(144, 237, 125, 0.8)",negativeColor:"rgba(244, 91, 91, 0.8)"}},animationLimit:1E3,enableMouseTracking:!1,pointPadding:0,zIndex:-1,crisp:!0,dataGrouping:{enabled:!1},dataLabels:{allowOverlap:!0,enabled:!0,format:"P: {point.volumePos:.2f} | N: {point.volumeNeg:.2f}",padding:0,style:{fontSize:"7px"},verticalAlign:"top"}});return g}(q);k(h.prototype,{nameBase:"Volume by Price",bindTo:{series:!1,eventName:"afterSetExtremes"},
-calculateOn:"render",markerAttribs:d,drawGraph:d,getColumnMetrics:t.getColumnMetrics,crispCol:t.crispCol});g.registerSeriesType("vbp",h);"";return h});t(d,"Stock/Indicators/VWAP/VWAPIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var f=function(e,b){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return f(e,b)};return function(e,
-b){function a(){this.constructor=e}f(e,b);e.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),h=d.seriesTypes.sma,m=f.error,n=f.isArray,q=f.merge;f=function(f){function e(){var b=null!==f&&f.apply(this,arguments)||this;b.data=void 0;b.points=void 0;b.options=void 0;return b}g(e,f);e.prototype.getValues=function(b,a){var c=b.chart,e=b.xData;b=b.yData;var f=a.period,d=!0,g;if(g=c.get(a.volumeSeriesID))return n(b[0])||(d=!1),this.calculateVWAPValues(d,e,b,g,f);m("Series "+a.volumeSeriesID+
-" not found! Check `volumeSeriesID`.",!0,c)};e.prototype.calculateVWAPValues=function(b,a,c,e,f){var d=e.yData,g=e.xData.length,k=a.length;e=[];var h=[],l=[],m=[],q=[],n;g=k<=g?k:g;for(n=k=0;k<g;k++){var y=b?(c[k][1]+c[k][2]+c[k][3])/3:c[k];y*=d[k];y=n?e[k-1]+y:y;var t=n?h[k-1]+d[k]:d[k];e.push(y);h.push(t);q.push([a[k],y/t]);l.push(q[k][0]);m.push(q[k][1]);n++;n===f&&(n=0)}return{values:q,xData:l,yData:m}};e.defaultOptions=q(h.defaultOptions,{params:{period:30,volumeSeriesID:"volume"}});return e}(h);
-d.registerSeriesType("vwap",f);"";return f});t(d,"Stock/Indicators/WilliamsR/WilliamsRIndicator.js",[d["Mixins/ReduceArray.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var e=function(b,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return e(b,a)};return function(b,a){function c(){this.constructor=b}e(b,a);b.prototype=null===
-a?Object.create(a):(c.prototype=a.prototype,new c)}}(),m=d.getArrayExtremes,n=f.seriesTypes.sma;d=g.extend;var q=g.isArray,l=g.merge;g=function(e){function b(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}h(b,e);b.prototype.getValues=function(a,b){b=b.period;var c=a.xData,e=(a=a.yData)?a.length:0,f=[],d=[],g=[],h;if(!(c.length<b)&&q(a[0])&&4===a[0].length){for(h=b-1;h<e;h++){var l=a.slice(h-b+1,h+1);var p=m(l,2,1);l=p[0];p=p[1];var n=a[h][3];
-l=(p-n)/(p-l)*-100;c[h]&&(f.push([c[h],l]),d.push(c[h]),g.push(l))}return{values:f,xData:d,yData:g}}};b.defaultOptions=l(n.defaultOptions,{params:{period:14}});return b}(n);d(g.prototype,{nameBase:"Williams %R"});f.registerSeriesType("williamsr",g);"";return g});t(d,"Stock/Indicators/WMA/WMAIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){function g(e,b){b*=(b+1)/2;return e.reduce(function(a,b,e){return[null,a[1]+b[1]*(e+1)]})[1]/b}function h(e,b,a,c){a=g(e,
-e.length);b=b[c-1];e.shift();return[b,a]}var m=this&&this.__extends||function(){var e=function(b,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return e(b,a)};return function(b,a){function c(){this.constructor=b}e(b,a);b.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),n=d.seriesTypes.sma,q=f.isArray,l=f.merge;f=function(e){function b(){var a=null!==e&&e.apply(this,arguments)||
-this;a.data=void 0;a.options=void 0;a.points=void 0;return a}m(b,e);b.prototype.getValues=function(a,b){var c=b.period,e=a.xData,f=(a=a.yData)?a.length:0,d=1,g=e[0],l=a[0],m=[],p=[],n=[],r=-1;if(!(e.length<c)){q(a[0])&&(r=b.index,l=a[0][r]);for(b=[[g,l]];d!==c;)b.push([e[d],0>r?a[d]:a[d][r]]),d++;for(c=d;c<f;c++)d=h(b,e,a,c),m.push(d),p.push(d[0]),n.push(d[1]),b.push([e[c],0>r?a[c]:a[c][r]]);d=h(b,e,a,c);m.push(d);p.push(d[0]);n.push(d[1]);return{values:m,xData:p,yData:n}}};b.defaultOptions=l(n.defaultOptions,
-{params:{index:3,period:9}});return b}(n);d.registerSeriesType("wma",f);"";return f});t(d,"Stock/Indicators/Zigzag/ZigzagIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var d=function(f,e){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return d(f,e)};return function(f,e){function b(){this.constructor=f}d(f,e);f.prototype=
-null===e?Object.create(e):(b.prototype=e.prototype,new b)}}(),h=d.seriesTypes.sma,m=f.merge;f=f.extend;var n=function(d){function f(){var e=null!==d&&d.apply(this,arguments)||this;e.data=void 0;e.points=void 0;e.options=void 0;return e}g(f,d);f.prototype.getValues=function(e,b){var a=b.lowIndex,c=b.highIndex,d=b.deviation/100;b=1+d;var f=1-d;d=e.xData;var g=e.yData;e=g?g.length:0;var h=[],l=[],m=[],n,p,q=!1,r=!1;if(!(!d||1>=d.length||e&&("undefined"===typeof g[0][a]||"undefined"===typeof g[0][c]))){var t=
-g[0][a];var z=g[0][c];for(n=1;n<e;n++){if(g[n][a]<=z*f){h.push([d[0],z]);var B=[d[n],g[n][a]];q=p=!0}else g[n][c]>=t*b&&(h.push([d[0],t]),B=[d[n],g[n][c]],p=!1,q=!0);if(q){l.push(h[0][0]);m.push(h[0][1]);var x=n++;n=e}}for(n=x;n<e;n++)p?(g[n][a]<=B[1]&&(B=[d[n],g[n][a]]),g[n][c]>=B[1]*b&&(r=c)):(g[n][c]>=B[1]&&(B=[d[n],g[n][c]]),g[n][a]<=B[1]*f&&(r=a)),!1!==r&&(h.push(B),l.push(B[0]),m.push(B[1]),B=[d[n],g[n][r]],p=!p,r=!1);a=h.length;0!==a&&h[a-1][0]<d[e-1]&&(h.push(B),l.push(B[0]),m.push(B[1]));
-return{values:h,xData:l,yData:m}}};f.defaultOptions=m(h.defaultOptions,{params:{lowIndex:2,highIndex:1,deviation:1}});return f}(h);f(n.prototype,{nameComponents:["deviation"],nameSuffixes:["%"],nameBase:"Zig Zag"});d.registerSeriesType("zigzag",n);"";return n});t(d,"Stock/Indicators/LinearRegression/LinearRegression.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var d=function(e,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return d(e,b)};return function(e,b){function a(){this.constructor=e}d(e,b);e.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),h=d.seriesTypes.sma,m=f.isArray,n=f.extend,q=f.merge;f=function(d){function e(){var b=null!==d&&d.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}g(e,d);e.prototype.getRegressionLineParameters=function(b,a){var c=this.options.params.index,
-e=function(a,b){return m(a)?a[b]:a},d=b.reduce(function(a,b){return b+a},0),f=a.reduce(function(a,b){return e(b,c)+a},0);d/=b.length;f/=a.length;var g=0,h=0,l;for(l=0;l<b.length;l++){var n=b[l]-d;var p=e(a[l],c)-f;g+=n*p;h+=Math.pow(n,2)}b=h?g/h:0;return{slope:b,intercept:f-b*d}};e.prototype.getEndPointY=function(b,a){return b.slope*a+b.intercept};e.prototype.transformXData=function(b,a){var c=b[0];return b.map(function(b){return(b-c)/a})};e.prototype.findClosestDistance=function(b){var a,c;for(c=
-1;c<b.length-1;c++){var e=b[c]-b[c-1];0<e&&("undefined"===typeof a||e<a)&&(a=e)}return a};e.prototype.getValues=function(b,a){var c=b.xData;b=b.yData;a=a.period;var e,d={xData:[],yData:[],values:[]},f=this.options.params.xAxisUnit||this.findClosestDistance(c);for(e=a-1;e<=c.length-1;e++){var g=e-a+1;var h=e+1;var l=c[e];var m=c.slice(g,h);g=b.slice(g,h);h=this.transformXData(m,f);m=this.getRegressionLineParameters(h,g);g=this.getEndPointY(m,h[h.length-1]);d.values.push({regressionLineParameters:m,
-x:l,y:g});d.xData.push(l);d.yData.push(g)}return d};e.defaultOptions=q(h.defaultOptions,{params:{xAxisUnit:void 0},tooltip:{valueDecimals:4}});return e}(h);n(f.prototype,{nameBase:"Linear Regression Indicator"});d.registerSeriesType("linearRegression",f);"";return f});t(d,"Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var d=function(f,e){d=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return d(f,e)};return function(f,e){function b(){this.constructor=f}d(f,e);f.prototype=null===e?Object.create(e):(b.prototype=e.prototype,new b)}}(),h=d.seriesTypes.linearRegression,m=f.extend,n=f.merge;f=function(d){function f(){var e=null!==d&&d.apply(this,arguments)||this;e.data=void 0;e.options=void 0;e.points=void 0;return e}g(f,d);f.prototype.getEndPointY=function(e){return e.slope};f.defaultOptions=
-n(h.defaultOptions);return f}(h);m(f.prototype,{nameBase:"Linear Regression Slope Indicator"});d.registerSeriesType("linearRegressionSlope",f);"";return f});t(d,"Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var d=function(f,e){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&
-(b[c]=a[c])};return d(f,e)};return function(f,e){function b(){this.constructor=f}d(f,e);f.prototype=null===e?Object.create(e):(b.prototype=e.prototype,new b)}}(),h=d.seriesTypes.linearRegression,m=f.extend,n=f.merge;f=function(d){function f(){var e=null!==d&&d.apply(this,arguments)||this;e.data=void 0;e.options=void 0;e.points=void 0;return e}g(f,d);f.prototype.getEndPointY=function(e){return e.intercept};f.defaultOptions=n(h.defaultOptions);return f}(h);m(f.prototype,{nameBase:"Linear Regression Intercept Indicator"});
-d.registerSeriesType("linearRegressionIntercept",f);"";return f});t(d,"Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var d=function(e,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return d(e,b)};return function(e,b){function a(){this.constructor=e}d(e,b);e.prototype=
-null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),h=d.seriesTypes,m=h.sma,n=f.extend,q=f.merge;f=function(d){function e(){var b=null!==d&&d.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}g(e,d);e.prototype.slopeToAngle=function(b){return 180/Math.PI*Math.atan(b)};e.prototype.getEndPointY=function(b){return this.slopeToAngle(b.slope)};e.defaultOptions=q(m.defaultOptions,{tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span>{series.name}: <b>{point.y}\u00b0</b><br/>'}});
-return e}(h.linearRegression);n(f.prototype,{nameBase:"Linear Regression Angle Indicator"});d.registerSeriesType("linearRegressionAngle",f);"";return f});t(d,"Stock/Indicators/ABands/ABandsIndicator.js",[d["Mixins/MultipleLines.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f,g){var h=this&&this.__extends||function(){var e=function(b,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&
-(a[c]=b[c])};return e(b,a)};return function(b,a){function c(){this.constructor=b}e(b,a);b.prototype=null===a?Object.create(a):(c.prototype=a.prototype,new c)}}(),m=f.seriesTypes.sma,n=g.correctFloat,q=g.extend,l=g.merge;g=function(e){function b(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}h(b,e);b.prototype.getValues=function(a,b){var c=b.period,d=b.factor;b=b.index;var f=a.xData,g=(a=a.yData)?a.length:0,h=[],l=[],m=[],p=[],q=[],r;if(!(g<
-c)){for(r=0;r<=g;r++){if(r<g){var t=a[r][2];var z=a[r][1];var B=d;t=n(z-t)/(n(z+t)/2)*1E3*B;h.push(a[r][1]*n(1+2*t));l.push(a[r][2]*n(1-2*t))}if(r>=c){t=f.slice(r-c,r);var x=a.slice(r-c,r);B=e.prototype.getValues.call(this,{xData:t,yData:h.slice(r-c,r)},{period:c});z=e.prototype.getValues.call(this,{xData:t,yData:l.slice(r-c,r)},{period:c});x=e.prototype.getValues.call(this,{xData:t,yData:x},{period:c,index:b});t=x.xData[0];B=B.yData[0];z=z.yData[0];x=x.yData[0];m.push([t,B,x,z]);p.push(t);q.push([B,
-x,z])}}return{values:m,xData:p,yData:q}}};b.defaultOptions=l(m.defaultOptions,{params:{period:20,factor:.001,index:3},lineWidth:1,topLine:{styles:{lineWidth:1}},bottomLine:{styles:{lineWidth:1}},dataGrouping:{approximation:"averages"}});return b}(m);q(g.prototype,{drawGraph:d.drawGraph,getTranslatedLinesNames:d.getTranslatedLinesNames,linesApiNames:["topLine","bottomLine"],nameBase:"Acceleration Bands",nameComponents:["period","factor"],pointArrayMap:["top","middle","bottom"],pointValKey:"middle",
-toYData:d.toYData,translate:d.translate});f.registerSeriesType("abands",g);"";return g});t(d,"Stock/Indicators/TrendLine/TrendLineIndicator.js",[d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,f){var g=this&&this.__extends||function(){var d=function(e,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return d(e,b)};return function(e,b){function a(){this.constructor=e}d(e,b);
-e.prototype=null===b?Object.create(b):(a.prototype=b.prototype,new a)}}(),h=d.seriesTypes.sma,m=f.extend,n=f.merge,q=f.isArray;f=function(d){function e(){var b=null!==d&&d.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}g(e,d);e.prototype.getValues=function(b,a){var c=b.xData,d=b.yData;b=[];var e=[],f=[],g=0,h=0,l=0,m=0,n=c.length,t=a.index;for(a=0;a<n;a++){var r=c[a];var z=q(d[a])?d[a][t]:d[a];g+=r;h+=z;l+=r*z;m+=r*r}d=(n*l-g*h)/(n*m-g*g);isNaN(d)&&(d=0);g=(h-
-d*g)/n;for(a=0;a<n;a++)r=c[a],z=d*r+g,b[a]=[r,z],e[a]=r,f[a]=z;return{xData:e,yData:f,values:b}};e.defaultOptions=n(h.defaultOptions,{params:{index:3}});return e}(h);m(f.prototype,{nameBase:"Trendline",nameComponents:!1});d.registerSeriesType("trendline",f);"";return f});t(d,"masters/indicators/indicators-all.src.js",[],function(){})});
+(function(e){"object"===typeof module&&module.exports?(e["default"]=e,module.exports=e):"function"===typeof define&&define.amd?define("highcharts/indicators/indicators-all",["highcharts","highcharts/modules/stock"],function(v){e(v);e.Highcharts=v;return e}):e("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(e){function v(e,d,h,k){e.hasOwnProperty(d)||(e[d]=k.apply(null,h))}e=e?e._modules:{};v(e,"Mixins/IndicatorRequired.js",[e["Core/Utilities.js"]],function(e){var d=e.error;return{isParentLoaded:function(h,
+e,m,p,r){if(h)return p?p(h):!0;d(r||this.generateMessage(m,e));return!1},generateMessage:function(d,e){return'Error: "'+d+'" indicator type requires "'+e+'" indicator loaded before. Please read docs: https://api.highcharts.com/highstock/plotOptions.'+d}}});v(e,"Stock/Indicators/SMA/SMAComposition.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=e.series,k=e.seriesTypes.ohlc.prototype;e=d.addEvent;var m=d.extend;e(h,"init",function(d){d=d.options;d.useOhlcData&&"highcharts-navigator-series"!==
+d.id&&m(this,{pointValKey:k.pointValKey,pointArrayMap:k.pointArrayMap,toYData:k.toYData})});e(h,"afterSetOptions",function(d){d=d.options;var h=d.dataGrouping;h&&d.useOhlcData&&"highcharts-navigator-series"!==d.id&&(h.approximation="ohlc")})});v(e,"Stock/Indicators/SMA/SMAIndicator.js",[e["Mixins/IndicatorRequired.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var f=function(a,b){f=Object.setPrototypeOf||{__proto__:[]}instanceof
+Array&&function(f,a){f.__proto__=a}||function(f,a){for(var b in a)a.hasOwnProperty(b)&&(f[b]=a[b])};return f(a,b)};return function(a,b){function c(){this.constructor=a}f(a,b);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)}}(),m=d.seriesTypes.line,p=h.addEvent,r=h.error,l=h.extend,g=h.isArray,c=h.merge,a=h.pick,b=h.splat,f=e.generateMessage;e=function(x){function t(){var f=null!==x&&x.apply(this,arguments)||this;f.data=void 0;f.dataEventsToUnbind=void 0;f.linkedParent=void 0;
+f.options=void 0;f.points=void 0;return f}k(t,x);t.prototype.destroy=function(){this.dataEventsToUnbind.forEach(function(f){f()});x.prototype.destroy.apply(this,arguments)};t.prototype.getName=function(){var f=this.name,b=[];f||((this.nameComponents||[]).forEach(function(f,c){b.push(this.options.params[f]+a(this.nameSuffixes[c],""))},this),f=(this.nameBase||this.type.toUpperCase())+(this.nameComponents?" ("+b.join(", ")+")":""));return f};t.prototype.getValues=function(f,a){var b=a.period,c=f.xData;
+f=f.yData;var x=f.length,t=0,u=0,F=[],l=[],d=[],h=-1;if(!(c.length<b)){for(g(f[0])&&(h=a.index?a.index:0);t<b-1;)u+=0>h?f[t]:f[t][h],t++;for(a=t;a<x;a++){u+=0>h?f[a]:f[a][h];var e=[c[a],u/b];F.push(e);l.push(e[0]);d.push(e[1]);u-=0>h?f[a-t]:f[a-t][h]}return{values:F,xData:l,yData:d}}};t.prototype.init=function(a,c){function g(){var f=t.points||[],a=(t.xData||[]).length,c=t.getValues(t.linkedParent,t.options.params)||{values:[],xData:[],yData:[]},x=[],g=!0;if(a&&!t.hasGroupedData&&t.visible&&t.points)if(t.cropped){if(t.xAxis){var u=
+t.xAxis.min;var n=t.xAxis.max}a=t.cropData(c.xData,c.yData,u,n);for(u=0;u<a.xData.length;u++)x.push([a.xData[u]].concat(b(a.yData[u])));a=c.xData.indexOf(t.xData[0]);u=c.xData.indexOf(t.xData[t.xData.length-1]);-1===a&&u===c.xData.length-2&&x[0][0]===f[0].x&&x.shift();t.updateData(x)}else c.xData.length!==a-1&&c.xData.length!==a+1&&(g=!1,t.updateData(c.values));g&&(t.xData=c.xData,t.yData=c.yData,t.options.data=c.values);!1===t.bindTo.series&&(delete t.processedXData,t.isDirty=!0,t.redraw());t.isDirtyData=
+!1}var t=this,u=t.requireIndicators();if(!u.allLoaded)return r(f(t.type,u.needed));x.prototype.init.call(t,a,c);a.linkSeries();t.dataEventsToUnbind=[];if(!t.linkedParent)return r("Series "+t.options.linkedTo+" not found! Check `linkedTo`.",!1,a);t.dataEventsToUnbind.push(p(t.bindTo.series?t.linkedParent:t.linkedParent.xAxis,t.bindTo.eventName,g));if("init"===t.calculateOn)g();else var w=p(t.chart,t.calculateOn,function(){g();w()})};t.prototype.processData=function(){var f=this.options.compareToMain,
+a=this.linkedParent;x.prototype.processData.apply(this,arguments);a&&a.compareValue&&f&&(this.compareValue=a.compareValue)};t.prototype.requireIndicators=function(){var f={allLoaded:!0};this.requiredIndicators.forEach(function(a){d.seriesTypes[a]?d.seriesTypes[a].prototype.requireIndicators():(f.allLoaded=!1,f.needed=a)});return f};t.defaultOptions=c(m.defaultOptions,{name:void 0,tooltip:{valueDecimals:4},linkedTo:void 0,compareToMain:!1,params:{index:0,period:14}});return t}(m);l(e.prototype,{bindTo:{series:!0,
+eventName:"updatedData"},calculateOn:"init",hasDerivedData:!0,nameComponents:["period"],nameSuffixes:[],requiredIndicators:[],useCommonDataGrouping:!0});d.registerSeriesType("sma",e);"";return e});v(e,"Stock/Indicators/AD/ADIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var l=function(g,c){l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&
+(a[f]=b[f])};return l(g,c)};return function(g,c){function a(){this.constructor=g}l(g,c);g.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),k=e.seriesTypes.sma,m=d.error,p=d.extend,r=d.merge;d=function(l){function g(){var c=null!==l&&l.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}h(g,l);g.populateAverage=function(c,a,b,f,x){x=a[f][1];var t=a[f][2];a=a[f][3];b=b[f];return[c[f],a===x&&a===t||x===t?0:(2*a-t-x)/(x-t)*b]};g.prototype.getValues=
+function(c,a){var b=a.period,f=c.xData,x=c.yData,t=a.volumeSeriesID,u=c.chart.get(t);a=u&&u.yData;var F=x?x.length:0,l=[],d=[],n=[];if(!(f.length<=b&&F&&4!==x[0].length)){if(u){for(t=b;t<F;t++)c=l.length,u=g.populateAverage(f,x,a,t,b),0<c&&(u[1]+=l[c-1][1]),l.push(u),d.push(u[0]),n.push(u[1]);return{values:l,xData:d,yData:n}}m("Series "+t+" not found! Check `volumeSeriesID`.",!0,c.chart)}};g.defaultOptions=r(k.defaultOptions,{params:{index:void 0,volumeSeriesID:"volume"}});return g}(k);p(d.prototype,
+{nameComponents:!1,nameBase:"Accumulation/Distribution"});e.registerSeriesType("ad",d);"";return d});v(e,"Stock/Indicators/AO/AOIndicator.js",[e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Core/Color/Palette.js"]],function(e,d,h,k){var m=this&&this.__extends||function(){var a=function(f,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,a){f.__proto__=a}||function(f,a){for(var b in a)a.hasOwnProperty(b)&&(f[b]=a[b])};return a(f,b)};return function(f,
+b){function c(){this.constructor=f}a(f,b);f.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)}}();e=e.noop;var p=d.seriesTypes,r=p.sma;p=p.column;var l=h.extend,g=h.merge,c=h.correctFloat,a=h.isArray;h=function(b){function f(){var f=null!==b&&b.apply(this,arguments)||this;f.data=void 0;f.options=void 0;f.points=void 0;return f}m(f,b);f.prototype.drawGraph=function(){var f=this.options,a=this.points,b=f.greaterBarColor;f=f.lowerBarColor;var c=a[0];if(!this.userOptions.color&&c)for(c.color=
+b,c=1;c<a.length;c++)a[c].color=a[c].y>a[c-1].y?b:a[c].y<a[c-1].y?f:a[c-1].color};f.prototype.getValues=function(f){var b=f.xData||[];f=f.yData||[];var x=f.length,g=[],l=[],d=[],n=0,w=0,q;if(!(34>=b.length)&&a(f[0])&&4===f[0].length){for(q=0;33>q;q++){var B=(f[q][1]+f[q][2])/2;29<=q&&(n=c(n+B));w=c(w+B)}for(q=33;q<x;q++){B=(f[q][1]+f[q][2])/2;n=c(n+B);w=c(w+B);B=n/5;var h=w/34;B=c(B-h);g.push([b[q],B]);l.push(b[q]);d.push(B);B=q+1-5;h=q+1-34;n=c(n-(f[B][1]+f[B][2])/2);w=c(w-(f[h][1]+f[h][2])/2)}return{values:g,
+xData:l,yData:d}}};f.defaultOptions=g(r.defaultOptions,{params:{index:void 0,period:void 0},greaterBarColor:k.positiveColor,lowerBarColor:k.negativeColor,threshold:0,groupPadding:.2,pointPadding:.2,crisp:!1,states:{hover:{halo:{size:0}}}});return f}(r);l(h.prototype,{nameBase:"AO",nameComponents:!1,markerAttribs:e,getColumnMetrics:p.prototype.getColumnMetrics,crispCol:p.prototype.crispCol,translate:p.prototype.translate,drawPoints:p.prototype.drawPoints});d.registerSeriesType("ao",h);"";return h});
+v(e,"Mixins/MultipleLines.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,d){var h=d.defined,k=d.error,m=d.merge,p=e.seriesTypes.sma;return{pointArrayMap:["top","bottom"],pointValKey:"top",linesApiNames:["bottomLine"],getTranslatedLinesNames:function(d){var l=[];(this.pointArrayMap||[]).forEach(function(g){g!==d&&l.push("plot"+g.charAt(0).toUpperCase()+g.slice(1))});return l},toYData:function(d){var l=[];(this.pointArrayMap||[]).forEach(function(g){l.push(d[g])});return l},translate:function(){var d=
+this,l=d.pointArrayMap,g=[],c;g=d.getTranslatedLinesNames();p.prototype.translate.apply(d,arguments);d.points.forEach(function(a){l.forEach(function(b,f){c=a[b];null!==c&&(a[g[f]]=d.yAxis.toPixels(c,!0))})})},drawGraph:function(){var d=this,l=d.linesApiNames,g=d.points,c=g.length,a=d.options,b=d.graph,f={options:{gapSize:a.gapSize}},x=[],t;d.getTranslatedLinesNames(d.pointValKey).forEach(function(f,a){for(x[a]=[];c--;)t=g[c],x[a].push({x:t.x,plotX:t.plotX,plotY:t[f],isNull:!h(t[f])});c=g.length});
+l.forEach(function(b,c){x[c]?(d.points=x[c],a[b]?d.options=m(a[b].styles,f):k('Error: "There is no '+b+' in DOCS options declared. Check if linesApiNames are consistent with your DOCS line names." at mixin/multiple-line.js:34'),d.graph=d["graph"+b],p.prototype.drawGraph.call(d),d["graph"+b]=d.graph):k('Error: "'+b+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")});d.points=g;d.options=a;d.graph=b;p.prototype.drawGraph.call(d)}}});v(e,"Stock/Indicators/Aroon/AroonIndicator.js",
+[e["Mixins/MultipleLines.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){function k(c,a){var b=c[0],f=0,x;for(x=1;x<c.length;x++)if("max"===a&&c[x]>=b||"min"===a&&c[x]<=b)b=c[x],f=x;return f}var m=this&&this.__extends||function(){var c=function(a,b){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,a){f.__proto__=a}||function(f,a){for(var b in a)a.hasOwnProperty(b)&&(f[b]=a[b])};return c(a,b)};return function(a,b){function f(){this.constructor=a}c(a,
+b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),p=d.seriesTypes.sma,r=h.extend,l=h.merge,g=h.pick;h=function(c){function a(){var a=null!==c&&c.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}m(a,c);a.prototype.getValues=function(a,f){f=f.period;var b=a.xData,c=(a=a.yData)?a.length:0,u=[],d=[],l=[],A;for(A=f-1;A<c;A++){var n=a.slice(A-f+1,A+2);var w=k(n.map(function(a){return g(a[2],a)}),"min");n=k(n.map(function(a){return g(a[1],a)}),
+"max");n=n/f*100;w=w/f*100;b[A+1]&&(u.push([b[A+1],n,w]),d.push(b[A+1]),l.push([n,w]))}return{values:u,xData:d,yData:l}};a.defaultOptions=l(p.defaultOptions,{params:{index:void 0,period:25},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Aroon Up: {point.y}<br/>Aroon Down: {point.aroonDown}<br/>'},aroonDown:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}});return a}(p);r(h.prototype,{linesApiNames:["aroonDown"],
+nameBase:"Aroon",pointArrayMap:["y","aroonDown"],pointValKey:"y",drawGraph:e.drawGraph,getTranslatedLinesNames:e.getTranslatedLinesNames,toYData:e.toYData,translate:e.translate});d.registerSeriesType("aroon",h);"";return h});v(e,"Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js",[e["Mixins/MultipleLines.js"],e["Mixins/IndicatorRequired.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,k){var m=this&&this.__extends||function(){var c=function(a,b){c=Object.setPrototypeOf||
+{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return c(a,b)};return function(a,b){function f(){this.constructor=a}c(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),p=h.seriesTypes.aroon,r=k.extend,l=k.merge,g=h.seriesTypes.aroon;k=function(c){function a(){var a=null!==c&&c.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}m(a,c);a.prototype.getValues=function(a,
+f){var b=[],c=[],u=[];a=g.prototype.getValues.call(this,a,f);for(f=0;f<a.yData.length;f++){var d=a.yData[f][0];var l=a.yData[f][1];d-=l;b.push([a.xData[f],d]);c.push(a.xData[f]);u.push(d)}return{values:b,xData:c,yData:u}};a.prototype.init=function(){var a=arguments,f=this;d.isParentLoaded(g,"aroon",f.type,function(b){b.prototype.init.apply(f,a)})};a.defaultOptions=l(p.defaultOptions,{tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b>: {point.y}'}});return a}(p);
+r(k.prototype,l(e,{nameBase:"Aroon Oscillator",pointArrayMap:["y"],pointValKey:"y",linesApiNames:[]}));h.registerSeriesType("aroonoscillator",k);"";return k});v(e,"Stock/Indicators/ATR/ATRIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){function h(d,g){return Math.max(d[1]-d[2],"undefined"===typeof g?0:Math.abs(d[1]-g[3]),"undefined"===typeof g?0:Math.abs(d[2]-g[3]))}var k=this&&this.__extends||function(){var d=function(g,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof
+Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return d(g,c)};return function(g,c){function a(){this.constructor=g}d(g,c);g.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),m=e.seriesTypes.sma,p=d.isArray,r=d.merge;d=function(d){function g(){var c=null!==d&&d.apply(this,arguments)||this;c.data=void 0;c.points=void 0;c.options=void 0;return c}k(g,d);g.prototype.getValues=function(c,a){a=a.period;var b=c.xData,f=(c=c.yData)?
+c.length:0,g=1,t=0,d=0,l=[],e=[],A=[],n;var w=[[b[0],c[0]]];if(!(b.length<=a)&&p(c[0])&&4===c[0].length){for(n=1;n<=f;n++)if(w.push([b[n],c[n]]),a<g){var q=a;var B=b[n-1],k=h(c[n-1],c[n-2]);q=[B,(t*(q-1)+k)/q];t=q[1];l.push(q);e.push(q[0]);A.push(q[1])}else a===g?(t=d/(n-1),l.push([b[n-1],t]),e.push(b[n-1]),A.push(t)):d+=h(c[n-1],c[n-2]),g++;return{values:l,xData:e,yData:A}}};g.defaultOptions=r(m.defaultOptions,{params:{index:void 0}});return g}(m);e.registerSeriesType("atr",d);"";return d});v(e,
+"Stock/Indicators/BB/BBIndicator.js",[e["Mixins/MultipleLines.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var g=function(c,a){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var b in f)f.hasOwnProperty(b)&&(a[b]=f[b])};return g(c,a)};return function(c,a){function b(){this.constructor=c}g(c,a);c.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),m=
+d.seriesTypes.sma,p=h.extend,r=h.isArray,l=h.merge;h=function(g){function c(){var a=null!==g&&g.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}k(c,g);c.prototype.init=function(){d.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=l({topLine:{styles:{lineColor:this.color}},bottomLine:{styles:{lineColor:this.color}}},this.options)};c.prototype.getValues=function(a,b){var f=b.period,c=b.standardDeviation,g=a.xData,u=(a=a.yData)?a.length:0,l=[],h=[],
+A=[],n;if(!(g.length<f)){var w=r(a[0]);for(n=f;n<=u;n++){var q=g.slice(n-f,n);var B=a.slice(n-f,n);var e=d.seriesTypes.sma.prototype.getValues.call(this,{xData:q,yData:B},b);q=e.xData[0];e=e.yData[0];for(var k=0,z=B.length,m=0;m<z;m++){var p=(w?B[m][b.index]:B[m])-e;k+=p*p}p=Math.sqrt(k/(z-1));B=e+c*p;p=e-c*p;l.push([q,B,e,p]);h.push(q);A.push([B,e,p])}return{values:l,xData:h,yData:A}}};c.defaultOptions=l(m.defaultOptions,{params:{period:20,standardDeviation:2,index:3},bottomLine:{styles:{lineWidth:1,
+lineColor:void 0}},topLine:{styles:{lineWidth:1,lineColor:void 0}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Top: {point.top}<br/>Middle: {point.middle}<br/>Bottom: {point.bottom}<br/>'},marker:{enabled:!1},dataGrouping:{approximation:"averages"}});return c}(m);p(h.prototype,{pointArrayMap:["top","middle","bottom"],pointValKey:"middle",nameComponents:["period","standardDeviation"],linesApiNames:["topLine","bottomLine"],drawGraph:e.drawGraph,getTranslatedLinesNames:e.getTranslatedLinesNames,
+translate:e.translate,toYData:e.toYData});d.registerSeriesType("bb",h);"";return h});v(e,"Stock/Indicators/CCI/CCIIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){function h(d){return d.reduce(function(g,c){return g+c},0)}var k=this&&this.__extends||function(){var d=function(g,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return d(g,c)};return function(g,
+c){function a(){this.constructor=g}d(g,c);g.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),m=e.seriesTypes.sma,p=d.isArray,r=d.merge;d=function(d){function g(){var c=null!==d&&d.apply(this,arguments)||this;c.data=void 0;c.points=void 0;c.options=void 0;return c}k(g,d);g.prototype.getValues=function(c,a){a=a.period;var b=c.xData,f=(c=c.yData)?c.length:0,g=[],t=1,d=[],l=[],e=[];if(!(b.length<=a)&&p(c[0])&&4===c[0].length){for(;t<a;){var A=c[t-1];g.push((A[1]+A[2]+A[3])/3);t++}for(t=
+a;t<=f;t++){A=c[t-1];A=(A[1]+A[2]+A[3])/3;var n=g.push(A);var w=g.slice(n-a);n=h(w)/a;var q,B=w.length,k=0;for(q=0;q<B;q++)k+=Math.abs(n-w[q]);w=k/a;A=(A-n)/(.015*w);d.push([b[t-1],A]);l.push(b[t-1]);e.push(A)}return{values:d,xData:l,yData:e}}};g.defaultOptions=r(m.defaultOptions,{params:{index:void 0}});return g}(m);e.registerSeriesType("cci",d);"";return d});v(e,"Stock/Indicators/CMF/CMFIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||
+function(){var d=function(e,l){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,c){g.__proto__=c}||function(g,c){for(var a in c)c.hasOwnProperty(a)&&(g[a]=c[a])};return d(e,l)};return function(e,l){function g(){this.constructor=e}d(e,l);e.prototype=null===l?Object.create(l):(g.prototype=l.prototype,new g)}}(),k=e.seriesTypes.sma,m=d.merge;d=function(d){function e(){var l=null!==d&&d.apply(this,arguments)||this;l.data=void 0;l.options=void 0;l.points=void 0;l.volumeSeries=void 0;
+l.linkedParent=void 0;l.yData=void 0;l.nameBase="Chaikin Money Flow";return l}h(e,d);e.prototype.isValid=function(){var d=this.chart,g=this.options,c=this.linkedParent;d=this.volumeSeries||(this.volumeSeries=d.get(g.params.volumeSeriesID));var a=c&&c.yData&&4===c.yData[0].length;return!!(c&&d&&c.xData&&c.xData.length>=g.params.period&&d.xData&&d.xData.length>=g.params.period&&a)};e.prototype.getValues=function(d,g){if(this.isValid())return this.getMoneyFlow(d.xData,d.yData,this.volumeSeries.yData,
+g.period)};e.prototype.getMoneyFlow=function(d,g,c,a){function b(a,f){var b=a[1],c=a[2];a=a[3];return null!==f&&null!==b&&null!==c&&null!==a&&b!==c?(a-c-(b-a))/(b-c)*f:(w=n,null)}var f=g.length,x=[],t=0,u=0,l=[],e=[],A=[],n,w=-1;if(0<a&&a<=f){for(n=0;n<a;n++)x[n]=b(g[n],c[n]),t+=c[n],u+=x[n];l.push(d[n-1]);e.push(n-w>=a&&0!==t?u/t:null);for(A.push([l[0],e[0]]);n<f;n++){x[n]=b(g[n],c[n]);t-=c[n-a];t+=c[n];u-=x[n-a];u+=x[n];var q=[d[n],n-w>=a?u/t:null];l.push(q[0]);e.push(q[1]);A.push([q[0],q[1]])}}return{values:A,
+xData:l,yData:e}};e.defaultOptions=m(k.defaultOptions,{params:{index:void 0,volumeSeriesID:"volume"}});return e}(k);e.registerSeriesType("cmf",d);"";return d});v(e,"Stock/Indicators/DMI/DMIIndicator.js",[e["Mixins/MultipleLines.js"],e["Core/Color/Palette.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,k){var m=this&&this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var b in f)f.hasOwnProperty(b)&&
+(a[b]=f[b])};return a(b,f)};return function(b,f){function c(){this.constructor=b}a(b,f);b.prototype=null===f?Object.create(f):(c.prototype=f.prototype,new c)}}(),p=h.seriesTypes.sma,r=k.correctFloat,l=k.extend,g=k.isArray,c=k.merge;k=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}m(b,a);b.prototype.calculateDM=function(a,b,c){var f=a[b][1],g=a[b][2],t=a[b-1][1];a=a[b-1][2];return r(f-t>a-g?c?Math.max(f-t,0):0:c?0:Math.max(a-g,0))};b.prototype.calculateDI=function(a,b){return a/
+b*100};b.prototype.calculateDX=function(a,b){return r(Math.abs(a-b)/Math.abs(a+b)*100)};b.prototype.smoothValues=function(a,b,c){return r(a-a/c+b)};b.prototype.getTR=function(a,b){return r(Math.max(a[1]-a[2],b?Math.abs(a[1]-b[3]):0,b?Math.abs(a[2]-b[3]):0))};b.prototype.getValues=function(a,b){b=b.period;var f=a.xData,c=(a=a.yData)?a.length:0,x=[],d=[],e=[];if(!(f.length<=b)&&g(a[0])&&4===a[0].length){var n=0,w=0,q=0,l;for(l=1;l<c;l++)if(l<=b){var h=this.calculateDM(a,l,!0);var k=this.calculateDM(a,
+l);var r=this.getTR(a[l],a[l-1]);n+=h;w+=k;q+=r;l===b&&(r=this.calculateDI(n,q),k=this.calculateDI(w,q),h=this.calculateDX(n,w),x.push([f[l],h,r,k]),d.push(f[l]),e.push([h,r,k]))}else h=this.calculateDM(a,l,!0),k=this.calculateDM(a,l),r=this.getTR(a[l],a[l-1]),n=this.smoothValues(n,h,b),w=this.smoothValues(w,k,b),q=this.smoothValues(q,r,b),r=this.calculateDI(n,q),k=this.calculateDI(w,q),h=this.calculateDX(n,w),x.push([f[l],h,r,k]),d.push(f[l]),e.push([h,r,k]);return{values:x,xData:d,yData:e}}};b.defaultOptions=
+c(p.defaultOptions,{params:{index:void 0},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color: {point.color}">\u25cf</span><b> {series.name}</b><br/><span style="color: {point.color}">DX</span>: {point.y}<br/><span style="color: {point.series.options.plusDILine.styles.lineColor}">+DI</span>: {point.plusDI}<br/><span style="color: {point.series.options.minusDILine.styles.lineColor}">-DI</span>: {point.minusDI}<br/>'},plusDILine:{styles:{lineWidth:1,lineColor:d.positiveColor}},minusDILine:{styles:{lineWidth:1,
+lineColor:d.negativeColor}},dataGrouping:{approximation:"averages"}});return b}(p);l(k.prototype,{nameBase:"DMI",pointArrayMap:["y","plusDI","minusDI"],parallelArrays:["x","y","plusDI","minusDI"],pointValKey:"y",linesApiNames:["plusDILine","minusDILine"],drawGraph:e.drawGraph,getTranslatedLinesNames:e.getTranslatedLinesNames,translate:e.translate,toYData:e.toYData});h.registerSeriesType("dmi",k);"";return k});v(e,"Stock/Indicators/DPO/DPOIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],
+function(e,d){function h(c,a,b,f,x){a=g(a[b][f],a[b]);return x?l(c-a):l(c+a)}var k=this&&this.__extends||function(){var c=function(a,b){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return c(a,b)};return function(a,b){function f(){this.constructor=a}c(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),m=e.seriesTypes.sma,p=d.extend,r=d.merge,l=d.correctFloat,g=d.pick;
+d=function(c){function a(){var a=null!==c&&c.apply(this,arguments)||this;a.options=void 0;a.data=void 0;a.points=void 0;return a}k(a,c);a.prototype.getValues=function(a,f){var b=f.period;f=f.index;var c=b+Math.floor(b/2+1),d=a.xData||[];a=a.yData||[];var l=a.length,e=[],A=[],n=[],w=0,q,B;if(!(d.length<=c)){for(q=0;q<b-1;q++)w=h(w,a,q,f);for(B=0;B<=l-c;B++){var k=B+b-1;q=B+c-1;w=h(w,a,k,f);k=g(a[q][f],a[q]);k-=w/b;w=h(w,a,B,f,!0);e.push([d[q],k]);A.push(d[q]);n.push(k)}return{values:e,xData:A,yData:n}}};
+a.defaultOptions=r(m.defaultOptions,{params:{index:0,period:21}});return a}(m);p(d.prototype,{nameBase:"DPO"});e.registerSeriesType("dpo",d);"";return d});v(e,"Stock/Indicators/EMA/EMAIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(g,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return d(g,c)};return function(g,
+c){function a(){this.constructor=g}d(g,c);g.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),k=e.seriesTypes.sma,m=d.correctFloat,p=d.isArray,r=d.merge;d=function(d){function g(){var c=null!==d&&d.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}h(g,d);g.prototype.accumulatePeriodPoints=function(c,a,b){for(var f=0,g=0,t;g<c;)t=0>a?b[g]:b[g][a],f+=t,g++;return f};g.prototype.calculateEma=function(c,a,b,f,g,t,d){c=c[b-1];a=0>t?a[b-1]:a[b-1][t];
+f="undefined"===typeof g?d:m(a*f+g*(1-f));return[c,f]};g.prototype.getValues=function(c,a){var b=a.period,f=c.xData,g=(c=c.yData)?c.length:0,t=2/(b+1),d=[],e=[],l=[],h=-1;if(!(g<b)){p(c[0])&&(h=a.index?a.index:0);a=this.accumulatePeriodPoints(b,h,c);for(a/=b;b<g+1;b++){var n=this.calculateEma(f,c,b,t,n,h,a);d.push(n);e.push(n[0]);l.push(n[1]);n=n[1]}return{values:d,xData:e,yData:l}}};g.defaultOptions=r(k.defaultOptions,{params:{index:3,period:9}});return g}(k);e.registerSeriesType("ema",d);"";return d});
+v(e,"Stock/Indicators/Chaikin/ChaikinIndicator.js",[e["Mixins/IndicatorRequired.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var b in f)f.hasOwnProperty(b)&&(a[b]=f[b])};return a(b,f)};return function(b,f){function c(){this.constructor=b}a(b,f);b.prototype=null===f?Object.create(f):(c.prototype=f.prototype,
+new c)}}(),m=d.seriesTypes,p=m.ad,r=m.ema,l=h.correctFloat;m=h.extend;var g=h.merge,c=h.error;h=function(a){function b(){var f=null!==a&&a.apply(this,arguments)||this;f.data=void 0;f.options=void 0;f.points=void 0;return f}k(b,a);b.prototype.init=function(){var a=arguments,b=this;e.isParentLoaded(r,"ema",b.type,function(f){f.prototype.init.apply(b,a)})};b.prototype.getValues=function(a,b){var f=b.periods,g=b.period,d=[],x=[],e=[],n;if(2!==f.length||f[1]<=f[0])c('Error: "Chaikin requires two periods. Notice, first period should be lower than the second one."');
+else if(b=p.prototype.getValues.call(this,a,{volumeSeriesID:b.volumeSeriesID,period:g}))if(a=r.prototype.getValues.call(this,b,{period:f[0]}),b=r.prototype.getValues.call(this,b,{period:f[1]}),a&&b){f=f[1]-f[0];for(n=0;n<b.yData.length;n++)g=l(a.yData[n+f]-b.yData[n]),d.push([b.xData[n],g]),x.push(b.xData[n]),e.push(g);return{values:d,xData:x,yData:e}}};b.defaultOptions=g(r.defaultOptions,{params:{index:void 0,volumeSeriesID:"volume",period:9,periods:[3,10]}});return b}(r);m(h.prototype,{nameBase:"Chaikin Osc",
+nameComponents:["periods"]});d.registerSeriesType("chaikin",h);"";return h});v(e,"Stock/Indicators/CMO/CMOIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(e,g){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return d(e,g)};return function(e,g){function c(){this.constructor=e}d(e,g);e.prototype=null===g?Object.create(g):
+(c.prototype=g.prototype,new c)}}(),k=e.seriesTypes.sma,m=d.isNumber,p=d.merge;d=function(d){function e(){var g=null!==d&&d.apply(this,arguments)||this;g.data=void 0;g.options=void 0;g.points=void 0;return g}h(e,d);e.prototype.getValues=function(g,c){var a=c.period,b=g.xData,f=g.yData;g=f?f.length:0;var d=[],t=[],e=[],l,h=c.index;if(!(b.length<a)){m(f[0])?c=f:(h=Math.min(h,f[0].length-1),c=f.map(function(a){return a[h]}));var A=0,n=f=0;for(l=a;0<l;l--)c[l]>c[l-1]?f+=c[l]-c[l-1]:c[l]<c[l-1]&&(n+=c[l-
+1]-c[l]);A=0<f+n?100*(f-n)/(f+n):0;t.push(b[a]);e.push(A);d.push([b[a],A]);for(l=a+1;l<g;l++)A=Math.abs(c[l-a-1]-c[l-a]),c[l]>c[l-1]?f+=c[l]-c[l-1]:c[l]<c[l-1]&&(n+=c[l-1]-c[l]),c[l-a]>c[l-a-1]?f-=A:n-=A,A=0<f+n?100*(f-n)/(f+n):0,t.push(b[l]),e.push(A),d.push([b[l],A]);return{values:d,xData:t,yData:e}}};e.defaultOptions=p(k.defaultOptions,{params:{period:20,index:3}});return e}(k);e.registerSeriesType("cmo",d);"";return d});v(e,"Stock/Indicators/DEMA/DEMAIndicator.js",[e["Mixins/IndicatorRequired.js"],
+e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var g=function(c,a){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var b in f)f.hasOwnProperty(b)&&(a[b]=f[b])};return g(c,a)};return function(c,a){function b(){this.constructor=c}g(c,a);c.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),m=d.seriesTypes.ema,p=h.correctFloat,r=h.isArray,l=h.merge;h=function(g){function c(){var a=
+null!==g&&g.apply(this,arguments)||this;a.EMApercent=void 0;a.data=void 0;a.options=void 0;a.points=void 0;return a}k(c,g);c.prototype.init=function(){var a=arguments,b=this;e.isParentLoaded(m,"ema",b.type,function(f){f.prototype.init.apply(b,a)})};c.prototype.getEMA=function(a,b,f,c,g,d){return m.prototype.calculateEma(d||[],a,"undefined"===typeof g?1:g,this.EMApercent,b,"undefined"===typeof c?-1:c,f)};c.prototype.getValues=function(a,b){var f=b.period,c=2*f,g=a.xData,d=(a=a.yData)?a.length:0,e=
+-1,l=[],h=[],n=[],w=0,q=[],B;this.EMApercent=2/(f+1);if(!(d<2*f-1)){r(a[0])&&(e=b.index?b.index:0);b=m.prototype.accumulatePeriodPoints(f,e,a);var k=b/f;b=0;for(B=f;B<d+2;B++){B<d+1&&(w=this.getEMA(a,y,k,e,B)[1],q.push(w));var y=w;if(B<c)b+=w;else{B===c&&(k=b/f);w=q[B-f-1];var z=this.getEMA([w],z,k)[1];var O=[g[B-2],p(2*w-z)];l.push(O);h.push(O[0]);n.push(O[1])}}return{values:l,xData:h,yData:n}}};c.defaultOptions=l(m.defaultOptions);return c}(m);d.registerSeriesType("dema",h);"";return h});v(e,"Stock/Indicators/TEMA/TEMAIndicator.js",
+[e["Mixins/IndicatorRequired.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var g=function(c,a){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var b in f)f.hasOwnProperty(b)&&(a[b]=f[b])};return g(c,a)};return function(c,a){function b(){this.constructor=c}g(c,a);c.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),m=d.seriesTypes.ema,p=h.correctFloat,
+r=h.isArray,l=h.merge;h=function(g){function c(){var a=null!==g&&g.apply(this,arguments)||this;a.EMApercent=void 0;a.data=void 0;a.options=void 0;a.points=void 0;return a}k(c,g);c.prototype.init=function(){var a=arguments,b=this;e.isParentLoaded(m,"ema",b.type,function(f){f.prototype.init.apply(b,a)})};c.prototype.getEMA=function(a,b,f,c,g,d){return m.prototype.calculateEma(d||[],a,"undefined"===typeof g?1:g,this.EMApercent,b,"undefined"===typeof c?-1:c,f)};c.prototype.getTemaPoint=function(a,b,f,
+c){return[a[c-3],p(3*f.level1-3*f.level2+f.level3)]};c.prototype.getValues=function(a,b){var f=b.period,c=2*f,g=3*f,d=a.xData,e=(a=a.yData)?a.length:0,l=-1,h=[],n=[],w=[],q=[],B=[],k,p,z={};this.EMApercent=2/(f+1);if(!(e<3*f-2)){r(a[0])&&(l=b.index?b.index:0);b=m.prototype.accumulatePeriodPoints(f,l,a);var y=b/f;b=0;for(k=f;k<e+3;k++){k<e+1&&(z.level1=this.getEMA(a,R,y,l,k)[1],q.push(z.level1));var R=z.level1;if(k<c)b+=z.level1;else{k===c&&(y=b/f,b=0);z.level1=q[k-f-1];z.level2=this.getEMA([z.level1],
+D,y)[1];B.push(z.level2);var D=z.level2;if(k<g)b+=z.level2;else{k===g&&(y=b/f);k===e+1&&(z.level1=q[k-f-1],z.level2=this.getEMA([z.level1],D,y)[1],B.push(z.level2));z.level1=q[k-f-2];z.level2=B[k-2*f-1];z.level3=this.getEMA([z.level2],z.prevLevel3,y)[1];if(p=this.getTemaPoint(d,g,z,k))h.push(p),n.push(p[0]),w.push(p[1]);z.prevLevel3=z.level3}}}return{values:h,xData:n,yData:w}}};c.defaultOptions=l(m.defaultOptions);return c}(m);d.registerSeriesType("tema",h);"";return h});v(e,"Stock/Indicators/TRIX/TRIXIndicator.js",
+[e["Mixins/IndicatorRequired.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var d=function(g,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return d(g,c)};return function(g,c){function a(){this.constructor=g}d(g,c);g.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),m=d.seriesTypes.tema,p=h.correctFloat,
+r=h.merge;h=function(l){function g(){var c=null!==l&&l.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}k(g,l);g.prototype.init=function(){var c=arguments,a=this;e.isParentLoaded(d.seriesTypes.tema,"tema",a.type,function(b){b.prototype.init.apply(a,c)})};g.prototype.getTemaPoint=function(c,a,b,f){if(f>a)return[c[f-3],0!==b.prevLevel3?p(b.level3-b.prevLevel3)/b.prevLevel3*100:null]};g.defaultOptions=r(m.defaultOptions);return g}(m);d.registerSeriesType("trix",h);
+"";return h});v(e,"Stock/Indicators/APO/APOIndicator.js",[e["Mixins/IndicatorRequired.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var g=function(c,a){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var b in f)f.hasOwnProperty(b)&&(a[b]=f[b])};return g(c,a)};return function(c,a){function b(){this.constructor=c}g(c,a);c.prototype=null===a?Object.create(a):(b.prototype=
+a.prototype,new b)}}(),m=d.seriesTypes.ema,p=h.extend,r=h.merge,l=h.error;h=function(g){function c(){var a=null!==g&&g.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}k(c,g);c.prototype.getValues=function(a,b){var f=b.periods,c=b.index;b=[];var g=[],d=[],e;if(2!==f.length||f[1]<=f[0])l('Error: "APO requires two periods. Notice, first period should be lower than the second one."');else{var h=m.prototype.getValues.call(this,a,{index:c,period:f[0]});a=m.prototype.getValues.call(this,
+a,{index:c,period:f[1]});if(h&&a){f=f[1]-f[0];for(e=0;e<a.yData.length;e++)c=h.yData[e+f]-a.yData[e],b.push([a.xData[e],c]),g.push(a.xData[e]),d.push(c);return{values:b,xData:g,yData:d}}}};c.prototype.init=function(){var a=arguments,b=this;e.isParentLoaded(m,"ema",b.type,function(f){f.prototype.init.apply(b,a)})};c.defaultOptions=r(m.defaultOptions,{params:{period:void 0,periods:[10,20]}});return c}(m);p(h.prototype,{nameBase:"APO",nameComponents:["periods"]});d.registerSeriesType("apo",h);"";return h});
+v(e,"Stock/Indicators/IKH/IKHIndicator.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,k){function m(a){return a.reduce(function(a,b){return Math.max(a,b[1])},-Infinity)}function p(a){return a.reduce(function(a,b){return Math.min(a,b[2])},Infinity)}function r(a){return{high:m(a),low:p(a)}}function l(a){var b,f,c,g,d;a.series.forEach(function(a){if(a.xData)for(g=a.xData,d=f=a.xIncrement?1:g.length-1;0<d;d--)if(c=g[d]-g[d-
+1],"undefined"===typeof b||c<b)b=c});return b}function g(a,b,f,c){if(a&&b&&f&&c){var g=b.plotX-a.plotX;b=b.plotY-a.plotY;var d=c.plotX-f.plotX;c=c.plotY-f.plotY;var t=a.plotX-f.plotX,e=a.plotY-f.plotY;f=(-b*t+g*e)/(-d*b+g*c);d=(d*e-c*t)/(-d*b+g*c);if(0<=f&&1>=f&&0<=d&&1>=d)return{plotX:a.plotX+d*g,plotY:a.plotY+d*b}}return!1}function c(a){var b=a.indicator;b.points=a.points;b.nextPoints=a.nextPoints;b.color=a.color;b.options=F(a.options.senkouSpan.styles,a.gap);b.graph=a.graph;b.fillGraph=!0;h.seriesTypes.sma.prototype.drawGraph.call(b)}
+var a=this&&this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return a(b,f)};return function(b,f){function c(){this.constructor=b}a(b,f);b.prototype=null===f?Object.create(f):(c.prototype=f.prototype,new c)}}(),b=e.parse,f=h.seriesTypes.sma,x=k.defined;e=k.extend;var t=k.isArray,u=k.isNumber,F=k.merge,L=k.objectEach;d.approximations["ichimoku-averages"]=
+function(){var a=[],b;[].forEach.call(arguments,function(f,c){a.push(d.approximations.average(f));b=!b&&"undefined"===typeof a[c]});return b?void 0:a};k=function(d){function e(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;a.graphCollection=void 0;a.graphsenkouSpan=void 0;a.ikhMap=void 0;a.nextPoints=void 0;return a}a(e,d);e.prototype.init=function(){h.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=F({tenkanLine:{styles:{lineColor:this.color}},
+kijunLine:{styles:{lineColor:this.color}},chikouLine:{styles:{lineColor:this.color}},senkouSpanA:{styles:{lineColor:this.color,fill:b(this.color).setOpacity(.5).get()}},senkouSpanB:{styles:{lineColor:this.color,fill:b(this.color).setOpacity(.5).get()}},senkouSpan:{styles:{fill:b(this.color).setOpacity(.2).get()}}},this.options)};e.prototype.toYData=function(a){return[a.tenkanSen,a.kijunSen,a.chikouSpan,a.senkouSpanA,a.senkouSpanB]};e.prototype.translate=function(){var a=this;h.seriesTypes.sma.prototype.translate.apply(a);
+a.points.forEach(function(b){a.pointArrayMap.forEach(function(f){var c=b[f];u(c)&&(b["plot"+f]=a.yAxis.toPixels(c,!0),b.plotY=b["plot"+f],b.tooltipPos=[b.plotX,b["plot"+f]],b.isNull=!1)})})};e.prototype.drawGraph=function(){var a=this,b=a.points,f=b.length,d=a.options,t=a.graph,e=a.color,l={options:{gapSize:d.gapSize}},n=a.pointArrayMap.length,u=[[],[],[],[],[],[]],k={tenkanLine:u[0],kijunLine:u[1],chikouLine:u[2],senkouSpanA:u[3],senkouSpanB:u[4],senkouSpan:u[5]},A=[],m=a.options.senkouSpan,r=m.color||
+m.styles.fill,p=m.negativeColor,y=[[],[]],v=[[],[]],N=0,K,Q,M;for(a.ikhMap=k;f--;){var E=b[f];for(K=0;K<n;K++)m=a.pointArrayMap[K],x(E[m])&&u[K].push({plotX:E.plotX,plotY:E["plot"+m],isNull:!1});p&&f!==b.length-1&&(m=k.senkouSpanB.length-1,E=g(k.senkouSpanA[m-1],k.senkouSpanA[m],k.senkouSpanB[m-1],k.senkouSpanB[m]),K={plotX:E.plotX,plotY:E.plotY,isNull:!1,intersectPoint:!0},E&&(k.senkouSpanA.splice(m,0,K),k.senkouSpanB.splice(m,0,K),A.push(m)))}L(k,function(b,f){d[f]&&"senkouSpan"!==f&&(a.points=
+u[N],a.options=F(d[f].styles,l),a.graph=a["graph"+f],a.fillGraph=!1,a.color=e,h.seriesTypes.sma.prototype.drawGraph.call(a),a["graph"+f]=a.graph);N++});a.graphCollection&&a.graphCollection.forEach(function(b){a[b].destroy();delete a[b]});a.graphCollection=[];if(p&&k.senkouSpanA[0]&&k.senkouSpanB[0]){A.unshift(0);A.push(k.senkouSpanA.length-1);for(n=0;n<A.length-1;n++){m=A[n];E=A[n+1];f=k.senkouSpanB.slice(m,E+1);m=k.senkouSpanA.slice(m,E+1);if(1<=Math.floor(f.length/2))if(E=Math.floor(f.length/2),
+f[E].plotY===m[E].plotY){for(M=K=E=0;M<f.length;M++)E+=f[M].plotY,K+=m[M].plotY;E=E>K?0:1}else E=f[E].plotY>m[E].plotY?0:1;else E=f[0].plotY>m[0].plotY?0:1;y[E]=y[E].concat(f);v[E]=v[E].concat(m)}["graphsenkouSpanColor","graphsenkouSpanNegativeColor"].forEach(function(b,f){y[f].length&&v[f].length&&(Q=0===f?r:p,c({indicator:a,points:y[f],nextPoints:v[f],color:Q,options:d,gap:l,graph:a[b]}),a[b]=a.graph,a.graphCollection.push(b))})}else c({indicator:a,points:k.senkouSpanB,nextPoints:k.senkouSpanA,
+color:r,options:d,gap:l,graph:a.graphsenkouSpan}),a.graphsenkouSpan=a.graph;delete a.nextPoints;delete a.fillGraph;a.points=b;a.options=d;a.graph=t;a.color=e};e.prototype.getGraphPath=function(a){var b=[],f;a=a||this.points;if(this.fillGraph&&this.nextPoints){if((f=h.seriesTypes.sma.prototype.getGraphPath.call(this,this.nextPoints))&&f.length){f[0][0]="L";b=h.seriesTypes.sma.prototype.getGraphPath.call(this,a);f=f.slice(0,b.length);for(var c=f.length-1;0<=c;c--)b.push(f[c])}}else b=h.seriesTypes.sma.prototype.getGraphPath.apply(this,
+arguments);return b};e.prototype.getValues=function(a,b){var f=b.period,c=b.periodTenkan;b=b.periodSenkouSpanB;var g=a.xData,d=a.yData,e=d&&d.length||0;a=l(a.xAxis);var x=[],n=[],u;if(!(g.length<=f)&&t(d[0])&&4===d[0].length){var h=g[0]-f*a;for(u=0;u<f;u++)n.push(h+u*a);for(u=0;u<e;u++){if(u>=c){var k=d.slice(u-c,u);k=r(k);k=(k.high+k.low)/2}if(u>=f){var q=d.slice(u-f,u);q=r(q);q=(q.high+q.low)/2;var A=(k+q)/2}if(u>=b){var w=d.slice(u-b,u);w=r(w);w=(w.high+w.low)/2}h=d[u][3];var F=g[u];"undefined"===
+typeof x[u]&&(x[u]=[]);"undefined"===typeof x[u+f]&&(x[u+f]=[]);x[u+f][0]=k;x[u+f][1]=q;x[u+f][2]=void 0;x[u][2]=h;u<=f&&(x[u+f][3]=void 0,x[u+f][4]=void 0);"undefined"===typeof x[u+2*f]&&(x[u+2*f]=[]);x[u+2*f][3]=A;x[u+2*f][4]=w;n.push(F)}for(u=1;u<=f;u++)n.push(F+u*a);return{values:x,xData:n,yData:x}}};e.defaultOptions=F(f.defaultOptions,{params:{index:void 0,period:26,periodTenkan:9,periodSenkouSpanB:52},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>TENKAN SEN: {point.tenkanSen:.3f}<br/>KIJUN SEN: {point.kijunSen:.3f}<br/>CHIKOU SPAN: {point.chikouSpan:.3f}<br/>SENKOU SPAN A: {point.senkouSpanA:.3f}<br/>SENKOU SPAN B: {point.senkouSpanB:.3f}<br/>'},
+tenkanLine:{styles:{lineWidth:1,lineColor:void 0}},kijunLine:{styles:{lineWidth:1,lineColor:void 0}},chikouLine:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanA:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanB:{styles:{lineWidth:1,lineColor:void 0}},senkouSpan:{styles:{fill:"rgba(255, 0, 0, 0.5)"}},dataGrouping:{approximation:"ichimoku-averages"}});return e}(f);e(k.prototype,{pointArrayMap:["tenkanSen","kijunSen","chikouSpan","senkouSpanA","senkouSpanB"],pointValKey:"tenkanSen",nameComponents:["periodSenkouSpanB",
+"period","periodTenkan"]});h.registerSeriesType("ikh",k);"";return k});v(e,"Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js",[e["Mixins/MultipleLines.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var g=function(c,a){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var b in f)f.hasOwnProperty(b)&&(a[b]=f[b])};return g(c,a)};return function(c,a){function b(){this.constructor=
+c}g(c,a);c.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),m=d.seriesTypes.sma,p=h.correctFloat,r=h.extend,l=h.merge;h=function(g){function c(){var a=null!==g&&g.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}k(c,g);c.prototype.init=function(){d.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=l({topLine:{styles:{lineColor:this.color}},bottomLine:{styles:{lineColor:this.color}}},this.options)};c.prototype.getValues=function(a,
+b){var f=b.period,c=b.periodATR,g=b.multiplierATR,e=a.yData;e=e?e.length:0;var l=[];b=d.seriesTypes.ema.prototype.getValues(a,{period:f,index:b.index});var h=d.seriesTypes.atr.prototype.getValues(a,{period:c}),k=[],n=[],w;if(!(e<f)){for(w=f;w<=e;w++){var q=b.values[w-f];var m=h.values[w-c];var r=q[0];a=p(q[1]+g*m[1]);m=p(q[1]-g*m[1]);q=q[1];l.push([r,a,q,m]);k.push(r);n.push([a,q,m])}return{values:l,xData:k,yData:n}}};c.defaultOptions=l(m.defaultOptions,{params:{period:20,periodATR:10,multiplierATR:2},
+bottomLine:{styles:{lineWidth:1,lineColor:void 0}},topLine:{styles:{lineWidth:1,lineColor:void 0}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Upper Channel: {point.top}<br/>EMA({series.options.params.period}): {point.middle}<br/>Lower Channel: {point.bottom}<br/>'},marker:{enabled:!1},dataGrouping:{approximation:"averages"},lineWidth:1});return c}(m);r(h.prototype,{pointArrayMap:["top","middle","bottom"],pointValKey:"middle",nameBase:"Keltner Channels",
+nameComponents:["period","periodATR","multiplierATR"],linesApiNames:["topLine","bottomLine"],requiredIndicators:["ema","atr"],drawGraph:e.drawGraph,getTranslatedLinesNames:e.getTranslatedLinesNames,translate:e.translate,toYData:e.toYData});d.registerSeriesType("keltnerchannels",h);"";return h});v(e,"Stock/Indicators/Klinger/KlingerIndicator.js",[e["Mixins/IndicatorRequired.js"],e["Mixins/MultipleLines.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,k){var m=this&&this.__extends||
+function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return a(b,f)};return function(b,f){function c(){this.constructor=b}a(b,f);b.prototype=null===f?Object.create(f):(c.prototype=f.prototype,new c)}}(),p=h.seriesTypes,r=p.sma,l=p.ema,g=k.correctFloat,c=k.error;p=k.extend;var a=k.isArray,b=k.merge;k=function(f){function d(){var a=null!==f&&f.apply(this,arguments)||this;a.data=
+void 0;a.points=void 0;a.options=void 0;a.volumeSeries=void 0;return a}m(d,f);d.prototype.init=function(){var a=arguments,b=this;e.isParentLoaded(l,"ema",b.type,function(f){f.prototype.init.apply(b,a)})};d.prototype.calculateTrend=function(a,b){return a[b][1]+a[b][2]+a[b][3]>a[b-1][1]+a[b-1][2]+a[b-1][3]?1:-1};d.prototype.isValidData=function(b){var f=this.chart,g=this.options,d=this.linkedParent;b=a(b)&&4===b.length;(f=this.volumeSeries||(this.volumeSeries=f.get(g.params.volumeSeriesID)))||c("Series "+
+g.params.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,d.chart);return!(![d,f].every(function(a){return a&&a.xData&&a.xData.length>=g.params.slowAvgPeriod})||!b)};d.prototype.getCM=function(a,b,f,c,d){return g(b+(f===c?a:d))};d.prototype.getDM=function(a,b){return g(a-b)};d.prototype.getVolumeForce=function(a){var b=[],f=1;var c=0;var g=a[0][1]-a[0][2];var d=0;for(f;f<a.length;f++){var e=this.calculateTrend(a,f);var t=this.getDM(a[f][1],a[f][2]);c=this.getCM(c,t,e,d,g);d=this.volumeSeries.yData[f]*
+e*Math.abs(2*(t/c-1))*100;b.push([d]);d=e;g=t}return b};d.prototype.getEMA=function(a,b,f,c,g,d,e){return l.prototype.calculateEma(e||[],a,"undefined"===typeof d?1:d,c,b,"undefined"===typeof g?-1:g,f)};d.prototype.getSMA=function(a,b,f){return l.prototype.accumulatePeriodPoints(a,b,f)/a};d.prototype.getValues=function(a,b){var f=[],c=a.xData;a=a.yData;var d=[],e=[],t=[],x,l=0,h=0,u=void 0,k=void 0,m=null;if(this.isValidData(a[0])){var r=this.getVolumeForce(a),p=this.getSMA(b.fastAvgPeriod,0,r),y=
+this.getSMA(b.slowAvgPeriod,0,r),v=2/(b.fastAvgPeriod+1),H=2/(b.slowAvgPeriod+1);for(l;l<a.length;l++)l>=b.fastAvgPeriod&&(u=h=this.getEMA(r,u,p,v,0,l,c)[1]),l>=b.slowAvgPeriod&&(k=x=this.getEMA(r,k,y,H,0,l,c)[1],x=g(h-x),t.push(x),t.length>=b.signalPeriod&&(m=t.slice(-b.signalPeriod).reduce(function(a,b){return a+b})/b.signalPeriod),f.push([c[l],x,m]),d.push(c[l]),e.push([x,m]));return{values:f,xData:d,yData:e}}};d.defaultOptions=b(r.defaultOptions,{params:{fastAvgPeriod:34,slowAvgPeriod:55,signalPeriod:13,
+volumeSeriesID:"volume"},signalLine:{styles:{lineWidth:1,lineColor:"#ff0000"}},dataGrouping:{approximation:"averages"},tooltip:{pointFormat:'<span style="color: {point.color}">\u25cf</span><b> {series.name}</b><br/><span style="color: {point.color}">Klinger</span>: {point.y}<br/><span style="color: {point.series.options.signalLine.styles.lineColor}">Signal</span>: {point.signal}<br/>'}});return d}(r);p(k.prototype,{linesApiNames:["signalLine"],nameBase:"Klinger",nameComponents:["fastAvgPeriod","slowAvgPeriod"],
+pointArrayMap:["y","signal"],parallelArrays:["x","y","signal"],pointValKey:"y",drawGraph:d.drawGraph,getTranslatedLinesNames:d.getTranslatedLinesNames,translate:d.translate,toYData:d.toYData});h.registerSeriesType("klinger",k);"";return k});v(e,"Stock/Indicators/MACD/MACDIndicator.js",[e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,
+b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return a(b,f)};return function(b,f){function c(){this.constructor=b}a(b,f);b.prototype=null===f?Object.create(f):(c.prototype=f.prototype,new c)}}(),m=e.noop,p=d.seriesTypes.sma,r=h.extend,l=h.correctFloat,g=h.defined,c=h.merge;h=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;b.currentLineZone=void 0;b.graphmacd=void 0;b.graphsignal=void 0;b.macdZones=
+void 0;b.signalZones=void 0;return b}k(b,a);b.prototype.init=function(){d.seriesTypes.sma.prototype.init.apply(this,arguments);this.options&&(this.options=c({signalLine:{styles:{lineColor:this.color}},macdLine:{styles:{color:this.color}}},this.options),this.macdZones={zones:this.options.macdLine.zones,startIndex:0},this.signalZones={zones:this.macdZones.zones.concat(this.options.signalLine.zones),startIndex:this.macdZones.zones.length},this.resetZones=!0)};b.prototype.toYData=function(a){return[a.y,
+a.signal,a.MACD]};b.prototype.translate=function(){var a=this,b=["plotSignal","plotMACD"];e.seriesTypes.column.prototype.translate.apply(a);a.points.forEach(function(f){[f.signal,f.MACD].forEach(function(c,g){null!==c&&(f[b[g]]=a.yAxis.toPixels(c,!0))})})};b.prototype.destroy=function(){this.graph=null;this.graphmacd=this.graphmacd&&this.graphmacd.destroy();this.graphsignal=this.graphsignal&&this.graphsignal.destroy();d.seriesTypes.sma.prototype.destroy.apply(this,arguments)};b.prototype.drawGraph=
+function(){for(var a=this,b=a.points,e=b.length,l=a.options,h=a.zones,k={options:{gapSize:l.gapSize}},A=[[],[]],n;e--;)n=b[e],g(n.plotMACD)&&A[0].push({plotX:n.plotX,plotY:n.plotMACD,isNull:!g(n.plotMACD)}),g(n.plotSignal)&&A[1].push({plotX:n.plotX,plotY:n.plotSignal,isNull:!g(n.plotMACD)});["macd","signal"].forEach(function(b,f){a.points=A[f];a.options=c(l[b+"Line"].styles,k);a.graph=a["graph"+b];a.currentLineZone=b+"Zones";a.zones=a[a.currentLineZone].zones;d.seriesTypes.sma.prototype.drawGraph.call(a);
+a["graph"+b]=a.graph});a.points=b;a.options=l;a.zones=h;a.currentLineZone=null};b.prototype.getZonesGraphs=function(b){var f=a.prototype.getZonesGraphs.call(this,b),c=f;this.currentLineZone&&(c=f.splice(this[this.currentLineZone].startIndex+1),c.length?c.splice(0,0,b[0]):c=[b[0]]);return c};b.prototype.applyZones=function(){var a=this.zones;this.zones=this.signalZones.zones;d.seriesTypes.sma.prototype.applyZones.call(this);this.graphmacd&&this.options.macdLine.zones.length&&this.graphmacd.hide();
+this.zones=a};b.prototype.getValues=function(a,b){var f=b.longPeriod-b.shortPeriod,c=0,e=[],h=[],x=[];if(!(a.xData.length<b.longPeriod+b.signalPeriod)){var n=d.seriesTypes.ema.prototype.getValues(a,{period:b.shortPeriod,index:b.index});var k=d.seriesTypes.ema.prototype.getValues(a,{period:b.longPeriod,index:b.index});n=n.values;k=k.values;for(a=0;a<=n.length;a++)g(k[a])&&g(k[a][1])&&g(n[a+f])&&g(n[a+f][0])&&e.push([n[a+f][0],0,null,n[a+f][1]-k[a][1]]);for(a=0;a<e.length;a++)h.push(e[a][0]),x.push([0,
+null,e[a][3]]);b=d.seriesTypes.ema.prototype.getValues({xData:h,yData:x},{period:b.signalPeriod,index:2});b=b.values;for(a=0;a<e.length;a++)e[a][0]>=b[0][0]&&(e[a][2]=b[c][1],x[a]=[0,b[c][1],e[a][3]],null===e[a][3]?(e[a][1]=0,x[a][0]=0):(e[a][1]=l(e[a][3]-b[c][1]),x[a][0]=l(e[a][3]-b[c][1])),c++);return{values:e,xData:h,yData:x}}};b.defaultOptions=c(p.defaultOptions,{params:{shortPeriod:12,longPeriod:26,signalPeriod:9,period:26},signalLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},macdLine:{zones:[],
+styles:{lineWidth:1,lineColor:void 0}},threshold:0,groupPadding:.1,pointPadding:.1,crisp:!1,states:{hover:{halo:{size:0}}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Value: {point.MACD}<br/>Signal: {point.signal}<br/>Histogram: {point.y}<br/>'},dataGrouping:{approximation:"averages"},minPointLength:0});return b}(p);r(h.prototype,{nameComponents:["longPeriod","shortPeriod","signalPeriod"],requiredIndicators:["ema"],pointArrayMap:["y","signal","MACD"],
+parallelArrays:["x","y","signal","MACD"],pointValKey:"y",markerAttribs:m,getColumnMetrics:e.seriesTypes.column.prototype.getColumnMetrics,crispCol:e.seriesTypes.column.prototype.crispCol,drawPoints:e.seriesTypes.column.prototype.drawPoints});d.registerSeriesType("macd",h);"";return h});v(e,"Stock/Indicators/MFI/MFIIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){function h(a){return a.reduce(function(a,f){return a+f})}function k(a){return(a[1]+a[2]+a[3])/3}var m=
+this&&this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return a(b,f)};return function(b,f){function c(){this.constructor=b}a(b,f);b.prototype=null===f?Object.create(f):(c.prototype=f.prototype,new c)}}(),p=e.seriesTypes.sma,r=d.extend,l=d.merge,g=d.error,c=d.isArray;d=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;
+b.options=void 0;b.points=void 0;return b}m(b,a);b.prototype.getValues=function(a,b){var f=b.period,d=a.xData,e=a.yData,l=e?e.length:0,x=b.decimals,n=1,w=a.chart.get(b.volumeSeriesID),q=w&&w.yData,m=[],r=[],p=[],z=[],y=[];if(!w)g("Series "+b.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,a.chart);else if(!(d.length<=f)&&c(e[0])&&4===e[0].length&&q){for(a=k(e[n]);n<f+1;)b=a,a=k(e[n]),b=a>=b,w=a*q[n],z.push(b?w:0),y.push(b?0:w),n++;for(f=n-1;f<l;f++)f>n-1&&(z.shift(),y.shift(),b=a,a=k(e[f]),
+b=a>b,w=a*q[f],z.push(b?w:0),y.push(b?0:w)),b=h(y),w=h(z),b=w/b,b=parseFloat((100-100/(1+b)).toFixed(x)),m.push([d[f],b]),r.push(d[f]),p.push(b);return{values:m,xData:r,yData:p}}};b.defaultOptions=l(p.defaultOptions,{params:{index:void 0,volumeSeriesID:"volume",decimals:4}});return b}(p);r(d.prototype,{nameBase:"Money Flow Index"});e.registerSeriesType("mfi",d);"";return d});v(e,"Stock/Indicators/Momentum/MomentumIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,
+d){var h=this&&this.__extends||function(){var d=function(g,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return d(g,c)};return function(g,c){function a(){this.constructor=g}d(g,c);g.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),k=e.seriesTypes.sma,m=d.extend,p=d.isArray,r=d.merge;d=function(d){function g(){var c=null!==d&&d.apply(this,arguments)||this;c.data=void 0;
+c.options=void 0;c.points=void 0;return c}h(g,d);g.prototype.getValues=function(c,a){var b=a.period;a=a.index;var f=c.xData,g=(c=c.yData)?c.length:0,d=[],e=[],l=[],h;if(!(f.length<=b)&&p(c[0])){for(h=b+1;h<g;h++){var k=[f[h-1],c[h-1][a]-c[h-b-1][a]];d.push(k);e.push(k[0]);l.push(k[1])}k=[f[h-1],c[h-1][a]-c[h-b-1][a]];d.push(k);e.push(k[0]);l.push(k[1]);return{values:d,xData:e,yData:l}}};g.defaultOptions=r(k.defaultOptions,{params:{index:3}});return g}(k);m(d.prototype,{nameBase:"Momentum"});e.registerSeriesType("momentum",
+d);"";return d});v(e,"Stock/Indicators/NATR/NATRIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(e,g){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return d(e,g)};return function(e,g){function c(){this.constructor=e}d(e,g);e.prototype=null===g?Object.create(g):(c.prototype=g.prototype,new c)}}(),k=e.seriesTypes.atr,
+m=d.merge;d=d.extend;var p=function(d){function e(){var g=null!==d&&d.apply(this,arguments)||this;g.data=void 0;g.points=void 0;g.options=void 0;return g}h(e,d);e.prototype.getValues=function(g,c){var a=k.prototype.getValues.apply(this,arguments),b=a.values.length,f=c.period-1,d=g.yData,e=0;if(a){for(;e<b;e++)a.yData[e]=a.values[e][1]/d[f][3]*100,a.values[e][1]=a.yData[e],f++;return a}};e.defaultOptions=m(k.defaultOptions,{tooltip:{valueSuffix:"%"}});return e}(k);d(p.prototype,{requiredIndicators:["atr"]});
+e.registerSeriesType("natr",p);"";return p});v(e,"Stock/Indicators/OBV/OBVIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var g=function(c,a){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var b in f)f.hasOwnProperty(b)&&(a[b]=f[b])};return g(c,a)};return function(c,a){function b(){this.constructor=c}g(c,a);c.prototype=null===a?Object.create(a):(b.prototype=a.prototype,
+new b)}}(),k=e.seriesTypes.sma,m=d.isNumber,p=d.error,r=d.extend,l=d.merge;d=function(g){function c(){var a=null!==g&&g.apply(this,arguments)||this;a.data=void 0;a.points=void 0;a.options=void 0;return a}h(c,g);c.prototype.getValues=function(a,b){var f=a.chart.get(b.volumeSeriesID),c=a.xData,g=a.yData,d=[],e=[],l=[],h=!m(g[0]),n=1,k=0;if(f){f=f.yData;a=[c[0],k];var q=h?g[0][3]:g[0];d.push(a);e.push(c[0]);l.push(a[1]);for(n;n<g.length;n++)b=h?g[n][3]:g[n],k=b>q?k+f[n]:b===q?k:k-f[n],a=[c[n],k],q=b,
+d.push(a),e.push(c[n]),l.push(a[1]);return{values:d,xData:e,yData:l}}p("Series "+b.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,a.chart)};c.defaultOptions=l(k.defaultOptions,{marker:{enabled:!1},params:{index:void 0,period:void 0,volumeSeriesID:"volume"},tooltip:{valueDecimals:0}});return c}(k);r(d.prototype,{nameComponents:void 0});e.registerSeriesType("obv",d);"";return d});v(e,"Stock/Indicators/PivotPoints/PivotPointsPoint.js",[e["Core/Series/SeriesRegistry.js"]],function(e){function d(d,
+h){var k=d.series.pointArrayMap,m=k.length;for(e.seriesTypes.sma.prototype.pointClass.prototype[h].call(d);m--;)h="dataLabel"+k[m],d[h]&&d[h].element&&d[h].destroy(),d[h]=null}var h=this&&this.__extends||function(){var d=function(e,h){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,e){d.__proto__=e}||function(d,e){for(var g in e)e.hasOwnProperty(g)&&(d[g]=e[g])};return d(e,h)};return function(e,h){function k(){this.constructor=e}d(e,h);e.prototype=null===h?Object.create(h):(k.prototype=
+h.prototype,new k)}}();return function(e){function k(){var d=null!==e&&e.apply(this,arguments)||this;d.P=void 0;d.pivotLine=void 0;d.series=void 0;return d}h(k,e);k.prototype.destroyElements=function(){d(this,"destroyElements")};k.prototype.destroy=function(){d(this,"destroyElements")};return k}(e.seriesTypes.sma.prototype.pointClass)});v(e,"Stock/Indicators/PivotPoints/PivotPointsIndicator.js",[e["Stock/Indicators/PivotPoints/PivotPointsPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],
+function(e,d,h){var k=this&&this.__extends||function(){var c=function(a,b){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return c(a,b)};return function(a,b){function f(){this.constructor=a}c(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),m=d.seriesTypes.sma,p=h.merge,r=h.extend,l=h.defined,g=h.isArray;h=function(c){function a(){var a=null!==c&&c.apply(this,arguments)||
+this;a.data=void 0;a.options=void 0;a.points=void 0;a.endPoint=void 0;a.plotEndPoint=void 0;return a}k(a,c);a.prototype.toYData=function(a){return[a.P]};a.prototype.translate=function(){var a=this;d.seriesTypes.sma.prototype.translate.apply(a);a.points.forEach(function(b){a.pointArrayMap.forEach(function(f){l(b[f])&&(b["plot"+f]=a.yAxis.toPixels(b[f],!0))})});a.plotEndPoint=a.xAxis.toPixels(a.endPoint,!0)};a.prototype.getGraphPath=function(a){for(var b=this,c=a.length,g=[[],[],[],[],[],[],[],[],[]],
+e=[],h=b.plotEndPoint,k=b.pointArrayMap.length,m,n,w;c--;){n=a[c];for(w=0;w<k;w++)m=b.pointArrayMap[w],l(n[m])&&g[w].push({plotX:n.plotX,plotY:n["plot"+m],isNull:!1},{plotX:h,plotY:n["plot"+m],isNull:!1},{plotX:h,plotY:null,isNull:!0});h=n.plotX}g.forEach(function(a){e=e.concat(d.seriesTypes.sma.prototype.getGraphPath.call(b,a))});return e};a.prototype.drawDataLabels=function(){var a=this,f=a.pointArrayMap,c,g,e;if(a.options.dataLabels.enabled){var h=a.points.length;f.concat([!1]).forEach(function(b,
+l){for(e=h;e--;)g=a.points[e],b?(g.y=g[b],g.pivotLine=b,g.plotY=g["plot"+b],c=g["dataLabel"+b],l&&(g["dataLabel"+f[l-1]]=g.dataLabel),g.dataLabels||(g.dataLabels=[]),g.dataLabels[0]=g.dataLabel=c=c&&c.element?c:null):g["dataLabel"+f[l-1]]=g.dataLabel;d.seriesTypes.sma.prototype.drawDataLabels.apply(a,arguments)})}};a.prototype.getValues=function(a,f){var b=f.period,c=a.xData,d=(a=a.yData)?a.length:0;f=this[f.algorithm+"Placement"];var e=[],h=[],l=[],n;if(!(c.length<b)&&g(a[0])&&4===a[0].length){for(n=
+b+1;n<=d+b;n+=b){var k=c.slice(n-b-1,n);var q=a.slice(n-b-1,n);var m=k.length;var r=k[m-1];q=this.getPivotAndHLC(q);q=f(q);q=e.push([r].concat(q));h.push(r);l.push(e[q-1].slice(1))}this.endPoint=k[0]+(r-k[0])/m*b;return{values:e,xData:h,yData:l}}};a.prototype.getPivotAndHLC=function(a){var b=-Infinity,c=Infinity,g=a[a.length-1][3];a.forEach(function(a){b=Math.max(b,a[1]);c=Math.min(c,a[2])});return[(b+c+g)/3,b,c,g]};a.prototype.standardPlacement=function(a){var b=a[1]-a[2];return[null,null,a[0]+b,
+2*a[0]-a[2],a[0],2*a[0]-a[1],a[0]-b,null,null]};a.prototype.camarillaPlacement=function(a){var b=a[1]-a[2];return[a[3]+1.5*b,a[3]+1.25*b,a[3]+1.1666*b,a[3]+1.0833*b,a[0],a[3]-1.0833*b,a[3]-1.1666*b,a[3]-1.25*b,a[3]-1.5*b]};a.prototype.fibonacciPlacement=function(a){var b=a[1]-a[2];return[null,a[0]+b,a[0]+.618*b,a[0]+.382*b,a[0],a[0]-.382*b,a[0]-.618*b,a[0]-b,null]};a.defaultOptions=p(m.defaultOptions,{params:{index:void 0,period:28,algorithm:"standard"},marker:{enabled:!1},enableMouseTracking:!1,
+dataLabels:{enabled:!0,format:"{point.pivotLine}"},dataGrouping:{approximation:"averages"}});return a}(m);r(h.prototype,{nameBase:"Pivot Points",pointArrayMap:"R4 R3 R2 R1 P S1 S2 S3 S4".split(" "),pointValKey:"P",pointClass:e});d.registerSeriesType("pivotpoints",h);"";return h});v(e,"Stock/Indicators/PPO/PPOIndicator.js",[e["Mixins/IndicatorRequired.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var c=function(a,b){c=Object.setPrototypeOf||
+{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return c(a,b)};return function(a,b){function f(){this.constructor=a}c(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),m=d.seriesTypes.ema,p=h.correctFloat,r=h.extend,l=h.merge,g=h.error;h=function(c){function a(){var a=null!==c&&c.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}k(a,c);a.prototype.init=function(){var a=
+arguments,c=this;e.isParentLoaded(m,"ema",c.type,function(b){b.prototype.init.apply(c,a)})};a.prototype.getValues=function(a,c){var b=c.periods,f=c.index;c=[];var d=[],e=[],h;if(2!==b.length||b[1]<=b[0])g('Error: "PPO requires two periods. Notice, first period should be lower than the second one."');else{var l=m.prototype.getValues.call(this,a,{index:f,period:b[0]});a=m.prototype.getValues.call(this,a,{index:f,period:b[1]});if(l&&a){b=b[1]-b[0];for(h=0;h<a.yData.length;h++)f=p((l.yData[h+b]-a.yData[h])/
+a.yData[h]*100),c.push([a.xData[h],f]),d.push(a.xData[h]),e.push(f);return{values:c,xData:d,yData:e}}}};a.defaultOptions=l(m.defaultOptions,{params:{period:void 0,periods:[12,26]}});return a}(m);r(h.prototype,{nameBase:"PPO",nameComponents:["periods"]});d.registerSeriesType("ppo",h);"";return h});v(e,"Mixins/ReduceArray.js",[],function(){return{minInArray:function(e,d){return e.reduce(function(e,k){return Math.min(e,k[d])},Number.MAX_VALUE)},maxInArray:function(e,d){return e.reduce(function(e,k){return Math.max(e,
+k[d])},-Number.MAX_VALUE)},getArrayExtremes:function(e,d,h){return e.reduce(function(e,m){return[Math.min(e[0],m[d]),Math.max(e[1],m[h])]},[Number.MAX_VALUE,-Number.MAX_VALUE])}}});v(e,"Stock/Indicators/PC/PCIndicator.js",[e["Core/Color/Palette.js"],e["Mixins/MultipleLines.js"],e["Mixins/ReduceArray.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,k,y){var m=this&&this.__extends||function(){var c=function(a,b){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&
+function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return c(a,b)};return function(a,b){function f(){this.constructor=a}c(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),r=k.seriesTypes.sma,l=y.merge;y=y.extend;var g=h.getArrayExtremes;h=function(c){function a(){var a=null!==c&&c.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}m(a,c);a.prototype.getValues=function(a,c){c=c.period;var b=a.xData,
+f=(a=a.yData)?a.length:0,d=[],e=[],h=[],l;if(!(f<c)){for(l=c;l<=f;l++){var n=b[l-1];var k=a.slice(l-c,l);var q=g(k,2,1);k=q[1];var m=q[0];q=(k+m)/2;d.push([n,k,q,m]);e.push(n);h.push([k,q,m])}return{values:d,xData:e,yData:h}}};a.defaultOptions=l(r.defaultOptions,{params:{index:void 0,period:20},lineWidth:1,topLine:{styles:{lineColor:e.colors[2],lineWidth:1}},bottomLine:{styles:{lineColor:e.colors[8],lineWidth:1}},dataGrouping:{approximation:"averages"}});return a}(r);y(h.prototype,{getTranslatedLinesNames:d.getTranslatedLinesNames,
+drawGraph:d.drawGraph,toYData:d.toYData,pointArrayMap:["top","middle","bottom"],pointValKey:"middle",nameBase:"Price Channel",nameComponents:["period"],linesApiNames:["topLine","bottomLine"],translate:d.translate});k.registerSeriesType("pc",h);"";return h});v(e,"Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(g,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof
+Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return d(g,c)};return function(g,c){function a(){this.constructor=g}d(g,c);g.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),k=e.seriesTypes.sma,m=d.extend,p=d.isArray,r=d.merge;d=function(d){function g(){var c=null!==d&&d.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}h(g,d);g.prototype.init=function(){e.seriesTypes.sma.prototype.init.apply(this,
+arguments);this.options=r({topLine:{styles:{lineColor:this.color}},bottomLine:{styles:{lineColor:this.color}}},this.options)};g.prototype.toYData=function(c){return[c.top,c.middle,c.bottom]};g.prototype.translate=function(){var c=this,a=["plotTop","plotMiddle","plotBottom"];e.seriesTypes.sma.prototype.translate.apply(c);c.points.forEach(function(b){[b.top,b.middle,b.bottom].forEach(function(f,g){null!==f&&(b[a[g]]=c.yAxis.toPixels(f,!0))})})};g.prototype.drawGraph=function(){for(var c=this,a=c.points,
+b=a.length,f=c.options,g=c.graph,d={options:{gapSize:f.gapSize}},h=[[],[]],l;b--;)l=a[b],h[0].push({plotX:l.plotX,plotY:l.plotTop,isNull:l.isNull}),h[1].push({plotX:l.plotX,plotY:l.plotBottom,isNull:l.isNull});["topLine","bottomLine"].forEach(function(a,b){c.points=h[b];c.options=r(f[a].styles,d);c.graph=c["graph"+a];e.seriesTypes.sma.prototype.drawGraph.call(c);c["graph"+a]=c.graph});c.points=a;c.options=f;c.graph=g;e.seriesTypes.sma.prototype.drawGraph.call(c)};g.prototype.getValues=function(c,
+a){var b=a.period,f=a.topBand,g=a.bottomBand,d=c.xData,h=(c=c.yData)?c.length:0,l=[],k=[],m=[],n;if(!(d.length<b)&&p(c[0])&&4===c[0].length){for(n=b;n<=h;n++){var w=d.slice(n-b,n);var q=c.slice(n-b,n);q=e.seriesTypes.sma.prototype.getValues.call(this,{xData:w,yData:q},a);w=q.xData[0];q=q.yData[0];var r=q*(1+f);var P=q*(1-g);l.push([w,r,q,P]);k.push(w);m.push([r,q,P])}return{values:l,xData:k,yData:m}}};g.defaultOptions=r(k.defaultOptions,{marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Top: {point.top}<br/>Middle: {point.middle}<br/>Bottom: {point.bottom}<br/>'},
+params:{period:20,topBand:.1,bottomBand:.1},bottomLine:{styles:{lineWidth:1,lineColor:void 0}},topLine:{styles:{lineWidth:1}},dataGrouping:{approximation:"averages"}});return g}(k);m(d.prototype,{nameComponents:["period","topBand","bottomBand"],nameBase:"Price envelopes",pointArrayMap:["top","middle","bottom"],parallelArrays:["x","y","top","bottom"],pointValKey:"middle"});e.registerSeriesType("priceenvelopes",d);"";return d});v(e,"Stock/Indicators/PSAR/PSARIndicator.js",[e["Core/Series/SeriesRegistry.js"],
+e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(e,g){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return d(e,g)};return function(e,g){function c(){this.constructor=e}d(e,g);e.prototype=null===g?Object.create(g):(c.prototype=g.prototype,new c)}}(),k=e.seriesTypes.sma,m=d.merge;d=d.extend;var p=function(d){function e(){var g=null!==d&&d.apply(this,arguments)||
+this;g.data=void 0;g.points=void 0;g.options=void 0;return g}h(e,d);e.prototype.getValues=function(g,c){var a=g.xData;g=g.yData;var b=g[0][1],f=c.maxAccelerationFactor,d=c.increment,e=c.initialAccelerationFactor,h=g[0][2],l=c.decimals,k=c.index,m=[],n=[],w=[],q=1,r;if(!(k>=g.length)){for(r=0;r<k;r++)b=Math.max(g[r][1],b),h=Math.min(g[r][2],parseFloat(h.toFixed(l)));var p=g[r][1]>h?1:-1;c=c.initialAccelerationFactor;var G=c*(b-h);m.push([a[k],h]);n.push(a[k]);w.push(parseFloat(h.toFixed(l)));for(r=
+k+1;r<g.length;r++){k=g[r-1][2];var z=g[r-2][2];var v=g[r-1][1];var y=g[r-2][1];var D=g[r][1];var C=g[r][2];null!==z&&null!==y&&null!==k&&null!==v&&null!==D&&null!==C&&(h=p===q?1===p?h+G<Math.min(z,k)?h+G:Math.min(z,k):h+G>Math.max(y,v)?h+G:Math.max(y,v):b,k=1===p?D>b?D:b:C<b?C:b,D=1===q&&C>h||-1===q&&D>h?1:-1,q=D,G=k,C=d,z=f,v=e,c=q===p?1===q&&G>b?c===z?z:parseFloat((c+C).toFixed(2)):-1===q&&G<b?c===z?z:parseFloat((c+C).toFixed(2)):c:v,b=k-h,G=c*b,m.push([a[r],parseFloat(h.toFixed(l))]),n.push(a[r]),
+w.push(parseFloat(h.toFixed(l))),q=p,p=D,b=k)}return{values:m,xData:n,yData:w}}};e.defaultOptions=m(k.defaultOptions,{lineWidth:0,marker:{enabled:!0},states:{hover:{lineWidthPlus:0}},params:{period:void 0,initialAccelerationFactor:.02,maxAccelerationFactor:.2,increment:.02,index:2,decimals:4}});return e}(k);d(p.prototype,{nameComponents:void 0});e.registerSeriesType("psar",p);"";return p});v(e,"Stock/Indicators/ROC/ROCIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,
+d){var h=this&&this.__extends||function(){var d=function(g,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return d(g,c)};return function(g,c){function a(){this.constructor=g}d(g,c);g.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),k=e.seriesTypes.sma,m=d.isArray,p=d.merge;d=d.extend;var r=function(d){function g(){var c=null!==d&&d.apply(this,arguments)||this;c.data=void 0;
+c.options=void 0;c.points=void 0;return c}h(g,d);g.prototype.getValues=function(c,a){var b=a.period,f=c.xData,d=(c=c.yData)?c.length:0,g=[],e=[],h=[],l=-1;if(!(f.length<=b)){m(c[0])&&(l=a.index);for(a=b;a<d;a++){var k=0>l?(k=c[a-b])?(c[a]-k)/k*100:null:(k=c[a-b][l])?(c[a][l]-k)/k*100:null;k=[f[a],k];g.push(k);e.push(k[0]);h.push(k[1])}return{values:g,xData:e,yData:h}}};g.defaultOptions=p(k.defaultOptions,{params:{index:3,period:9}});return g}(k);d(r.prototype,{nameBase:"Rate of Change"});e.registerSeriesType("roc",
+r);"";return r});v(e,"Stock/Indicators/RSI/RSIIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(e,g){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return d(e,g)};return function(e,g){function c(){this.constructor=e}d(e,g);e.prototype=null===g?Object.create(g):(c.prototype=g.prototype,new c)}}(),k=e.seriesTypes.sma,
+m=d.isNumber,p=d.merge;d=function(d){function e(){var g=null!==d&&d.apply(this,arguments)||this;g.data=void 0;g.points=void 0;g.options=void 0;return g}h(e,d);e.prototype.getValues=function(d,c){var a=c.period,b=d.xData,f=d.yData;d=f?f.length:0;var g=c.decimals,e=1,h=[],k=[],l=[],r=c.index,n=c=0,w;if(!(b.length<a)){if(m(f[0]))var q=f;else r=Math.min(r,f[0].length-1),q=f.map(function(a){return a[r]});for(;e<a;){var p=parseFloat((q[e]-q[e-1]).toFixed(g));0<p?c+=p:n+=Math.abs(p);e++}f=parseFloat((c/
+(a-1)).toFixed(g));for(w=parseFloat((n/(a-1)).toFixed(g));e<d;e++)p=parseFloat((q[e]-q[e-1]).toFixed(g)),0<p?(c=p,n=0):(c=0,n=Math.abs(p)),f=parseFloat(((f*(a-1)+c)/a).toFixed(g)),w=parseFloat(((w*(a-1)+n)/a).toFixed(g)),c=0===w?100:0===f?0:parseFloat((100-100/(1+f/w)).toFixed(g)),h.push([b[e],c]),k.push(b[e]),l.push(c);return{values:h,xData:k,yData:l}}};e.defaultOptions=p(k.defaultOptions,{params:{decimals:4,index:3}});return e}(k);e.registerSeriesType("rsi",d);"";return d});v(e,"Stock/Indicators/Stochastic/StochasticIndicator.js",
+[e["Mixins/MultipleLines.js"],e["Mixins/ReduceArray.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,k){var m=this&&this.__extends||function(){var c=function(a,b){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return c(a,b)};return function(a,b){function f(){this.constructor=a}c(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),p=h.seriesTypes.sma,
+r=k.extend,l=k.isArray,g=k.merge;k=function(c){function a(){var a=null!==c&&c.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}m(a,c);a.prototype.init=function(){h.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=g({smoothedLine:{styles:{lineColor:this.color}}},this.options)};a.prototype.getValues=function(a,c){var b=c.periods[0];c=c.periods[1];var f=a.xData,e=(a=a.yData)?a.length:0,g=[],k=[],m=[],n=null,w;if(!(e<b)&&l(a[0])&&4===a[0].length){for(w=
+b-1;w<e;w++){var q=a.slice(w-b+1,w+1);var r=d.getArrayExtremes(q,2,1);var p=r[0];q=a[w][3]-p;p=r[1]-p;q=q/p*100;k.push(f[w]);m.push([q,null]);w>=b-1+(c-1)&&(n=h.seriesTypes.sma.prototype.getValues.call(this,{xData:k.slice(-c),yData:m.slice(-c)},{period:c}),n=n.yData[0]);g.push([f[w],q,n]);m[m.length-1][1]=n}return{values:g,xData:k,yData:m}}};a.defaultOptions=g(p.defaultOptions,{params:{index:void 0,period:void 0,periods:[14,3]},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>%K: {point.y}<br/>%D: {point.smoothed}<br/>'},
+smoothedLine:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}});return a}(p);r(k.prototype,{nameComponents:["periods"],nameBase:"Stochastic",pointArrayMap:["y","smoothed"],parallelArrays:["x","y","smoothed"],pointValKey:"y",linesApiNames:["smoothedLine"],drawGraph:e.drawGraph,getTranslatedLinesNames:e.getTranslatedLinesNames,translate:e.translate,toYData:e.toYData});h.registerSeriesType("stochastic",k);"";return k});v(e,"Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js",
+[e["Mixins/IndicatorRequired.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var d=function(c,a){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return d(c,a)};return function(c,a){function b(){this.constructor=c}d(c,a);c.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),m=d.seriesTypes.stochastic,p=d.seriesTypes,
+r=h.extend,l=h.merge;h=function(d){function c(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}k(c,d);c.prototype.init=function(){var a=arguments,b=this;e.isParentLoaded(p.stochastic,"stochastic",b.type,function(c){c.prototype.init.apply(b,a)})};c.prototype.getValues=function(a,b){var c=b.periods,d=p.stochastic.prototype.getValues.call(this,a,b);a={values:[],xData:[],yData:[]};b=0;if(d){a.xData=d.xData.slice(c[1]-1);d=d.yData.slice(c[1]-1);var e=
+p.sma.prototype.getValues.call(this,{xData:a.xData,yData:d},{index:1,period:c[2]});if(e){for(var g=a.xData.length;b<g;b++)a.yData[b]=[d[b][1],e.yData[b-c[2]+1]||null],a.values[b]=[a.xData[b],d[b][1],e.yData[b-c[2]+1]||null];return a}}};c.defaultOptions=l(m.defaultOptions,{params:{periods:[14,3,3]}});return c}(m);r(h.prototype,{nameBase:"Slow Stochastic"});d.registerSeriesType("slowstochastic",h);"";return h});v(e,"Stock/Indicators/Supertrend/SupertrendIndicator.js",[e["Core/Color/Palette.js"],e["Core/Series/SeriesRegistry.js"],
+e["Core/Utilities.js"]],function(e,d,h){function k(a,b,c){return{index:b,close:a.yData[b][c],x:a.xData[b]}}var m=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function f(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)}}(),p=d.seriesTypes,r=p.atr,l=p.sma,g=h.correctFloat,
+c=h.isArray;p=h.extend;var a=h.merge,b=h.objectEach;h=function(f){function d(){var a=null!==f&&f.apply(this,arguments)||this;a.data=void 0;a.linkedParent=void 0;a.options=void 0;a.points=void 0;return a}m(d,f);d.prototype.init=function(){l.prototype.init.apply(this,arguments);var a=this.options;a.cropThreshold=this.linkedParent.options.cropThreshold-(a.params.period-1)};d.prototype.drawGraph=function(){var c=this,f=c.options,d=c.linkedParent,e=d?d.points:[],g=c.points,h=c.graph,m=g.length,q=e.length-
+m;q=0<q?q:0;for(var r={options:{gapSize:f.gapSize}},p={top:[],bottom:[],intersect:[]},x={top:{styles:{lineWidth:f.lineWidth,lineColor:f.fallingTrendColor||f.color,dashStyle:f.dashStyle}},bottom:{styles:{lineWidth:f.lineWidth,lineColor:f.risingTrendColor||f.color,dashStyle:f.dashStyle}},intersect:f.changeTrendLine},z,v,y,D,C,I,H,J;m--;)z=g[m],v=g[m-1],y=e[m-1+q],D=e[m-2+q],C=e[m+q],I=e[m+q+1],H=z.options.color,J={x:z.x,plotX:z.plotX,plotY:z.plotY,isNull:!1},!D&&y&&d.yData[y.index-1]&&(D=k(d,y.index-
+1,3)),!I&&C&&d.yData[C.index+1]&&(I=k(d,C.index+1,3)),!y&&D&&d.yData[D.index+1]?y=k(d,D.index+1,3):!y&&C&&d.yData[C.index-1]&&(y=k(d,C.index-1,3)),z&&y&&C&&D&&z.x!==y.x&&(z.x===C.x?(D=y,y=C):z.x===D.x?(y=D,D={close:d.yData[y.index-1][3],x:d.xData[y.index-1]}):I&&z.x===I.x&&(y=I,D=C)),v&&D&&y?(C={x:v.x,plotX:v.plotX,plotY:v.plotY,isNull:!1},z.y>=y.close&&v.y>=D.close?(z.color=H||f.fallingTrendColor||f.color,p.top.push(J)):z.y<y.close&&v.y<D.close?(z.color=H||f.risingTrendColor||f.color,p.bottom.push(J)):
+(p.intersect.push(J),p.intersect.push(C),p.intersect.push(a(C,{isNull:!0})),z.y>=y.close&&v.y<D.close?(z.color=H||f.fallingTrendColor||f.color,v.color=H||f.risingTrendColor||f.color,p.top.push(J),p.top.push(a(C,{isNull:!0}))):z.y<y.close&&v.y>=D.close&&(z.color=H||f.risingTrendColor||f.color,v.color=H||f.fallingTrendColor||f.color,p.bottom.push(J),p.bottom.push(a(C,{isNull:!0}))))):y&&(z.y>=y.close?(z.color=H||f.fallingTrendColor||f.color,p.top.push(J)):(z.color=H||f.risingTrendColor||f.color,p.bottom.push(J)));
+b(p,function(b,f){c.points=b;c.options=a(x[f].styles,r);c.graph=c["graph"+f+"Line"];l.prototype.drawGraph.call(c);c["graph"+f+"Line"]=c.graph});c.points=g;c.options=f;c.graph=h};d.prototype.getValues=function(a,b){var f=b.period;b=b.multiplier;var d=a.xData,e=a.yData,h=[],k=[],l=[],m=0===f?0:f-1,t=[],p=[],u;if(!(d.length<=f||!c(e[0])||4!==e[0].length||0>f)){a=r.prototype.getValues.call(this,a,{period:f}).yData;for(u=0;u<a.length;u++){var x=e[m+u];var v=e[m+u-1]||[];var y=t[u-1];var C=p[u-1];var I=
+l[u-1];0===u&&(y=C=I=0);f=g((x[1]+x[2])/2+b*a[u]);var H=g((x[1]+x[2])/2-b*a[u]);t[u]=f<y||v[3]>y?f:y;p[u]=H>C||v[3]<C?H:C;if(I===y&&x[3]<t[u]||I===C&&x[3]<p[u])var J=t[u];else if(I===y&&x[3]>t[u]||I===C&&x[3]>p[u])J=p[u];h.push([d[m+u],J]);k.push(d[m+u]);l.push(J)}return{values:h,xData:k,yData:l}}};d.defaultOptions=a(l.defaultOptions,{params:{index:void 0,multiplier:3,period:10},risingTrendColor:e.positiveColor,fallingTrendColor:e.negativeColor,changeTrendLine:{styles:{lineWidth:1,lineColor:e.neutralColor80,
+dashStyle:"LongDash"}}});return d}(l);p(h.prototype,{nameBase:"Supertrend",nameComponents:["multiplier","period"],requiredIndicators:["atr"]});d.registerSeriesType("supertrend",h);"";return h});v(e,"Stock/Indicators/VBP/VBPIndicator.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h,k){var m=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,
+b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function f(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)}}(),p=e.animObject;e=d.noop;var r=h.seriesTypes.sma,l=k.addEvent,g=k.arrayMax,c=k.arrayMin,a=k.correctFloat,b=k.error,f=k.extend,x=k.isArray,t=k.merge,u=Math.abs,v=h.seriesTypes.column.prototype;k=function(e){function h(){var a=null!==e&&e.apply(this,arguments)||this;a.data=
+void 0;a.negWidths=void 0;a.options=void 0;a.points=void 0;a.posWidths=void 0;a.priceZones=void 0;a.rangeStep=void 0;a.volumeDataArray=void 0;a.zoneStarts=void 0;a.zoneLinesSVG=void 0;return a}m(h,e);h.prototype.init=function(a){d.seriesTypes.sma.prototype.init.apply(this,arguments);var b=this.options.params;var c=this.linkedParent;b=a.get(b.volumeSeriesID);this.addCustomEvents(c,b);return this};h.prototype.addCustomEvents=function(a,b){function c(){f.chart.redraw();f.setData([]);f.zoneStarts=[];
+f.zoneLinesSVG&&(f.zoneLinesSVG=f.zoneLinesSVG.destroy())}var f=this;f.dataEventsToUnbind.push(l(a,"remove",function(){c()}));b&&f.dataEventsToUnbind.push(l(b,"remove",function(){c()}));return f};h.prototype.animate=function(a){var b=this,c=b.chart.inverted,d=b.group,e={};!a&&d&&(a=c?b.yAxis.top:b.xAxis.left,c?(d["forceAnimate:translateY"]=!0,e.translateY=a):(d["forceAnimate:translateX"]=!0,e.translateX=a),d.animate(e,f(p(b.options.animation),{step:function(a,c){b.group.attr({scaleX:Math.max(.001,
+c.pos)})}})))};h.prototype.drawPoints=function(){this.options.volumeDivision.enabled&&(this.posNegVolume(!0,!0),v.drawPoints.apply(this,arguments),this.posNegVolume(!1,!1));v.drawPoints.apply(this,arguments)};h.prototype.posNegVolume=function(a,b){var c=b?["positive","negative"]:["negative","positive"],f=this.options.volumeDivision,d=this.points.length,e=[],g=[],h=0,k;a?(this.posWidths=e,this.negWidths=g):(e=this.posWidths,g=this.negWidths);for(;h<d;h++){var l=this.points[h];l[c[0]+"Graphic"]=l.graphic;
+l.graphic=l[c[1]+"Graphic"];if(a){var n=l.shapeArgs.width;var m=this.priceZones[h];(k=m.wholeVolumeData)?(e.push(n/k*m.positiveVolumeData),g.push(n/k*m.negativeVolumeData)):(e.push(0),g.push(0))}l.color=b?f.styles.positiveColor:f.styles.negativeColor;l.shapeArgs.width=b?this.posWidths[h]:this.negWidths[h];l.shapeArgs.x=b?l.shapeArgs.x:this.posWidths[h]}};h.prototype.translate=function(){var b=this,c=b.options,f=b.chart,d=b.yAxis,e=d.min,h=b.options.zoneLines,l=b.priceZones,k=0,m,t,p;v.translate.apply(b);
+var r=b.points;if(r.length){var x=.5>c.pointPadding?c.pointPadding:.1;c=b.volumeDataArray;var A=g(c);var y=f.plotWidth/2;var F=f.plotTop;var L=u(d.toPixels(e)-d.toPixels(e+b.rangeStep));var N=u(d.toPixels(e)-d.toPixels(e+b.rangeStep));x&&(e=u(L*(1-2*x)),k=u((L-e)/2),L=u(e));r.forEach(function(c,f){t=c.barX=c.plotX=0;p=c.plotY=d.toPixels(l[f].start)-F-(d.reversed?L-N:L)-k;m=a(y*l[f].wholeVolumeData/A);c.pointWidth=m;c.shapeArgs=b.crispCol.apply(b,[t,p,m,L]);c.volumeNeg=l[f].negativeVolumeData;c.volumePos=
+l[f].positiveVolumeData;c.volumeAll=l[f].wholeVolumeData});h.enabled&&b.drawZones(f,d,b.zoneStarts,h.styles)}};h.prototype.getValues=function(a,c){var f=a.processedXData,d=a.processedYData,e=this.chart,g=c.ranges,h=[],l=[],k=[],n;if(a.chart)if(n=e.get(c.volumeSeriesID))if((c=x(d[0]))&&4!==d[0].length)b("Type of "+a.name+" series is different than line, OHLC or candlestick.",!0,e);else return(this.priceZones=this.specifyZones(c,f,d,g,n)).forEach(function(a,b){h.push([a.x,a.end]);l.push(h[b][0]);k.push(h[b][1])}),
+{values:h,xData:l,yData:k};else b("Series "+c.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,e);else b("Base series not found! In case it has been removed, add a new one.",!0,e)};h.prototype.specifyZones=function(b,f,d,e,h){if(b){var l=d.length;for(var k=d[0][3],n=k,m=1,q;m<l;m++)q=d[m][3],q<k&&(k=q),q>n&&(n=q);l={min:k,max:n}}else l=!1;l=(k=l)?k.min:c(d);q=k?k.max:g(d);k=this.zoneStarts=[];n=[];var t=0;m=1;if(!l||!q)return this.points.length&&(this.setData([]),this.zoneStarts=[],this.zoneLinesSVG&&
+(this.zoneLinesSVG=this.zoneLinesSVG.destroy())),[];var p=this.rangeStep=a(q-l)/e;for(k.push(l);t<e-1;t++)k.push(a(k[t]+p));k.push(q);for(e=k.length;m<e;m++)n.push({index:m-1,x:f[0],start:k[m-1],end:k[m]});return this.volumePerZone(b,n,h,f,d)};h.prototype.volumePerZone=function(a,b,c,f,d){var e=this,g=c.processedXData,h=c.processedYData,k=b.length-1,l=d.length;c=h.length;var n,m,q,t,p;u(l-c)&&(f[0]!==g[0]&&h.unshift(0),f[l-1]!==g[c-1]&&h.push(0));e.volumeDataArray=[];b.forEach(function(b){b.wholeVolumeData=
+0;b.positiveVolumeData=0;for(p=b.negativeVolumeData=0;p<l;p++)q=m=!1,t=a?d[p][3]:d[p],n=p?a?d[p-1][3]:d[p-1]:t,t<=b.start&&0===b.index&&(m=!0),t>=b.end&&b.index===k&&(q=!0),(t>b.start||m)&&(t<b.end||q)&&(b.wholeVolumeData+=h[p],n>t?b.negativeVolumeData+=h[p]:b.positiveVolumeData+=h[p]);e.volumeDataArray.push(b.wholeVolumeData)});return b};h.prototype.drawZones=function(a,b,c,f){var d=a.renderer,e=this.zoneLinesSVG,g=[],h=a.plotWidth,k=a.plotTop,l;c.forEach(function(c){l=b.toPixels(c)-k;g=g.concat(a.renderer.crispLine([["M",
+0,l],["L",h,l]],f.lineWidth))});e?e.animate({d:g}):e=this.zoneLinesSVG=d.path(g).attr({"stroke-width":f.lineWidth,stroke:f.color,dashstyle:f.dashStyle,zIndex:this.group.zIndex+.1}).add(this.group)};h.defaultOptions=t(r.defaultOptions,{params:{index:void 0,period:void 0,ranges:12,volumeSeriesID:"volume"},zoneLines:{enabled:!0,styles:{color:"#0A9AC9",dashStyle:"LongDash",lineWidth:1}},volumeDivision:{enabled:!0,styles:{positiveColor:"rgba(144, 237, 125, 0.8)",negativeColor:"rgba(244, 91, 91, 0.8)"}},
+animationLimit:1E3,enableMouseTracking:!1,pointPadding:0,zIndex:-1,crisp:!0,dataGrouping:{enabled:!1},dataLabels:{allowOverlap:!0,enabled:!0,format:"P: {point.volumePos:.2f} | N: {point.volumeNeg:.2f}",padding:0,style:{fontSize:"7px"},verticalAlign:"top"}});return h}(r);f(k.prototype,{nameBase:"Volume by Price",nameComponents:["ranges"],bindTo:{series:!1,eventName:"afterSetExtremes"},calculateOn:"render",markerAttribs:e,drawGraph:e,getColumnMetrics:v.getColumnMetrics,crispCol:v.crispCol});h.registerSeriesType("vbp",
+k);"";return k});v(e,"Stock/Indicators/VWAP/VWAPIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(e,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return d(e,c)};return function(e,c){function a(){this.constructor=e}d(e,c);e.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),k=e.seriesTypes.sma,
+m=d.error,p=d.isArray,r=d.merge;d=function(d){function e(){var c=null!==d&&d.apply(this,arguments)||this;c.data=void 0;c.points=void 0;c.options=void 0;return c}h(e,d);e.prototype.getValues=function(c,a){var b=c.chart,f=c.xData;c=c.yData;var d=a.period,e=!0,g;if(g=b.get(a.volumeSeriesID))return p(c[0])||(e=!1),this.calculateVWAPValues(e,f,c,g,d);m("Series "+a.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,b)};e.prototype.calculateVWAPValues=function(c,a,b,f,d){var e=f.yData,g=f.xData.length,
+h=a.length;f=[];var k=[],l=[],n=[],m=[],q;g=h<=g?h:g;for(q=h=0;h<g;h++){var p=c?(b[h][1]+b[h][2]+b[h][3])/3:b[h];p*=e[h];p=q?f[h-1]+p:p;var r=q?k[h-1]+e[h]:e[h];f.push(p);k.push(r);m.push([a[h],p/r]);l.push(m[h][0]);n.push(m[h][1]);q++;q===d&&(q=0)}return{values:m,xData:l,yData:n}};e.defaultOptions=r(k.defaultOptions,{params:{index:void 0,period:30,volumeSeriesID:"volume"}});return e}(k);e.registerSeriesType("vwap",d);"";return d});v(e,"Stock/Indicators/WilliamsR/WilliamsRIndicator.js",[e["Mixins/ReduceArray.js"],
+e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var d=function(c,a){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return d(c,a)};return function(c,a){function b(){this.constructor=c}d(c,a);c.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),m=e.getArrayExtremes,p=d.seriesTypes.sma;e=h.extend;var r=h.isArray,
+l=h.merge;h=function(d){function c(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}k(c,d);c.prototype.getValues=function(a,b){b=b.period;var c=a.xData,d=(a=a.yData)?a.length:0,e=[],g=[],h=[],k;if(!(c.length<b)&&r(a[0])&&4===a[0].length){for(k=b-1;k<d;k++){var l=a.slice(k-b+1,k+1);var n=m(l,2,1);l=n[0];n=n[1];var p=a[k][3];l=(n-p)/(n-l)*-100;c[k]&&(e.push([c[k],l]),g.push(c[k]),h.push(l))}return{values:e,xData:g,yData:h}}};c.defaultOptions=l(p.defaultOptions,
+{params:{index:void 0,period:14}});return c}(p);e(h.prototype,{nameBase:"Williams %R"});d.registerSeriesType("williamsr",h);"";return h});v(e,"Stock/Indicators/WMA/WMAIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){function h(d,c){c*=(c+1)/2;return d.reduce(function(a,b,c){return[null,a[1]+b[1]*(c+1)]})[1]/c}function k(d,c,a,b){a=h(d,d.length);c=c[b-1];d.shift();return[c,a]}var m=this&&this.__extends||function(){var d=function(c,a){d=Object.setPrototypeOf||
+{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return d(c,a)};return function(c,a){function b(){this.constructor=c}d(c,a);c.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),p=e.seriesTypes.sma,r=d.isArray,l=d.merge;d=function(d){function c(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}m(c,d);c.prototype.getValues=function(a,b){var c=b.period,
+d=a.xData,e=(a=a.yData)?a.length:0,g=1,h=d[0],l=a[0],m=[],n=[],p=[],q=-1;if(!(d.length<c)){r(a[0])&&(q=b.index,l=a[0][q]);for(b=[[h,l]];g!==c;)b.push([d[g],0>q?a[g]:a[g][q]]),g++;for(c=g;c<e;c++)g=k(b,d,a,c),m.push(g),n.push(g[0]),p.push(g[1]),b.push([d[c],0>q?a[c]:a[c][q]]);g=k(b,d,a,c);m.push(g);n.push(g[0]);p.push(g[1]);return{values:m,xData:n,yData:p}}};c.defaultOptions=l(p.defaultOptions,{params:{index:3,period:9}});return c}(p);e.registerSeriesType("wma",d);"";return d});v(e,"Stock/Indicators/Zigzag/ZigzagIndicator.js",
+[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(e,g){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return d(e,g)};return function(e,g){function c(){this.constructor=e}d(e,g);e.prototype=null===g?Object.create(g):(c.prototype=g.prototype,new c)}}(),k=e.seriesTypes.sma,m=d.merge;d=d.extend;var p=function(d){function e(){var e=
+null!==d&&d.apply(this,arguments)||this;e.data=void 0;e.points=void 0;e.options=void 0;return e}h(e,d);e.prototype.getValues=function(d,c){var a=c.lowIndex,b=c.highIndex,f=c.deviation/100;c=1+f;var e=1-f;f=d.xData;var g=d.yData;d=g?g.length:0;var h=[],k=[],l=[],m,n,p=!1,q=!1;if(!(!f||1>=f.length||d&&("undefined"===typeof g[0][a]||"undefined"===typeof g[0][b]))){var r=g[0][a];var v=g[0][b];for(m=1;m<d;m++){if(g[m][a]<=v*e){h.push([f[0],v]);var y=[f[m],g[m][a]];p=n=!0}else g[m][b]>=r*c&&(h.push([f[0],
+r]),y=[f[m],g[m][b]],n=!1,p=!0);if(p){k.push(h[0][0]);l.push(h[0][1]);var z=m++;m=d}}for(m=z;m<d;m++)n?(g[m][a]<=y[1]&&(y=[f[m],g[m][a]]),g[m][b]>=y[1]*c&&(q=b)):(g[m][b]>=y[1]&&(y=[f[m],g[m][b]]),g[m][a]<=y[1]*e&&(q=a)),!1!==q&&(h.push(y),k.push(y[0]),l.push(y[1]),y=[f[m],g[m][q]],n=!n,q=!1);a=h.length;0!==a&&h[a-1][0]<f[d-1]&&(h.push(y),k.push(y[0]),l.push(y[1]));return{values:h,xData:k,yData:l}}};e.defaultOptions=m(k.defaultOptions,{params:{index:void 0,period:void 0,lowIndex:2,highIndex:1,deviation:1}});
+return e}(k);d(p.prototype,{nameComponents:["deviation"],nameSuffixes:["%"],nameBase:"Zig Zag"});e.registerSeriesType("zigzag",p);"";return p});v(e,"Stock/Indicators/LinearRegression/LinearRegression.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(e,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return d(e,c)};
+return function(e,c){function a(){this.constructor=e}d(e,c);e.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),k=e.seriesTypes.sma,m=d.isArray,p=d.extend,r=d.merge;d=function(d){function e(){var c=null!==d&&d.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}h(e,d);e.prototype.getRegressionLineParameters=function(c,a){var b=this.options.params.index,f=function(a,b){return m(a)?a[b]:a},d=c.reduce(function(a,b){return b+a},0),e=a.reduce(function(a,
+c){return f(c,b)+a},0);d/=c.length;e/=a.length;var g=0,h=0,k;for(k=0;k<c.length;k++){var l=c[k]-d;var n=f(a[k],b)-e;g+=l*n;h+=Math.pow(l,2)}c=h?g/h:0;return{slope:c,intercept:e-c*d}};e.prototype.getEndPointY=function(c,a){return c.slope*a+c.intercept};e.prototype.transformXData=function(c,a){var b=c[0];return c.map(function(c){return(c-b)/a})};e.prototype.findClosestDistance=function(c){var a,b;for(b=1;b<c.length-1;b++){var f=c[b]-c[b-1];0<f&&("undefined"===typeof a||f<a)&&(a=f)}return a};e.prototype.getValues=
+function(c,a){var b=c.xData;c=c.yData;a=a.period;var f,d={xData:[],yData:[],values:[]},e=this.options.params.xAxisUnit||this.findClosestDistance(b);for(f=a-1;f<=b.length-1;f++){var g=f-a+1;var h=f+1;var k=b[f];var l=b.slice(g,h);g=c.slice(g,h);h=this.transformXData(l,e);l=this.getRegressionLineParameters(h,g);g=this.getEndPointY(l,h[h.length-1]);d.values.push({regressionLineParameters:l,x:k,y:g});d.xData.push(k);d.yData.push(g)}return d};e.defaultOptions=r(k.defaultOptions,{params:{xAxisUnit:null},
+tooltip:{valueDecimals:4}});return e}(k);p(d.prototype,{nameBase:"Linear Regression Indicator"});e.registerSeriesType("linearRegression",d);"";return d});v(e,"Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(e,g){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=
+a[b])};return d(e,g)};return function(e,g){function c(){this.constructor=e}d(e,g);e.prototype=null===g?Object.create(g):(c.prototype=g.prototype,new c)}}(),k=e.seriesTypes.linearRegression,m=d.extend,p=d.merge;d=function(d){function e(){var e=null!==d&&d.apply(this,arguments)||this;e.data=void 0;e.options=void 0;e.points=void 0;return e}h(e,d);e.prototype.getEndPointY=function(d){return d.slope};e.defaultOptions=p(k.defaultOptions);return e}(k);m(d.prototype,{nameBase:"Linear Regression Slope Indicator"});
+e.registerSeriesType("linearRegressionSlope",d);"";return d});v(e,"Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(e,g){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return d(e,g)};return function(e,g){function c(){this.constructor=e}d(e,g);e.prototype=
+null===g?Object.create(g):(c.prototype=g.prototype,new c)}}(),k=e.seriesTypes.linearRegression,m=d.extend,p=d.merge;d=function(d){function e(){var e=null!==d&&d.apply(this,arguments)||this;e.data=void 0;e.options=void 0;e.points=void 0;return e}h(e,d);e.prototype.getEndPointY=function(e){return e.intercept};e.defaultOptions=p(k.defaultOptions);return e}(k);m(d.prototype,{nameBase:"Linear Regression Intercept Indicator"});e.registerSeriesType("linearRegressionIntercept",d);"";return d});v(e,"Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js",
+[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var e=function(d,g){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return e(d,g)};return function(d,g){function c(){this.constructor=d}e(d,g);d.prototype=null===g?Object.create(g):(c.prototype=g.prototype,new c)}}(),k=e.seriesTypes.linearRegression,m=d.extend,p=d.merge;d=function(e){function d(){var d=
+null!==e&&e.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;return d}h(d,e);d.prototype.slopeToAngle=function(d){return 180/Math.PI*Math.atan(d)};d.prototype.getEndPointY=function(d){return this.slopeToAngle(d.slope)};d.defaultOptions=p(k.defaultOptions,{tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span>{series.name}: <b>{point.y}\u00b0</b><br/>'}});return d}(k);m(d.prototype,{nameBase:"Linear Regression Angle Indicator"});e.registerSeriesType("linearRegressionAngle",
+d);"";return d});v(e,"Stock/Indicators/ABands/ABandsIndicator.js",[e["Mixins/MultipleLines.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var d=function(c,a){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return d(c,a)};return function(c,a){function b(){this.constructor=c}d(c,a);c.prototype=null===a?Object.create(a):(b.prototype=
+a.prototype,new b)}}(),m=d.seriesTypes.sma,p=h.correctFloat,r=h.extend,l=h.merge;h=function(d){function c(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}k(c,d);c.prototype.getValues=function(a,b){var c=b.period,e=b.factor;b=b.index;var g=a.xData,h=(a=a.yData)?a.length:0,k=[],l=[],m=[],n=[],r=[],q;if(!(h<c)){for(q=0;q<=h;q++){if(q<h){var v=a[q][2];var y=a[q][1];var G=e;v=p(y-v)/(p(y+v)/2)*1E3*G;k.push(a[q][1]*p(1+2*v));l.push(a[q][2]*p(1-2*v))}if(q>=
+c){v=g.slice(q-c,q);var z=a.slice(q-c,q);G=d.prototype.getValues.call(this,{xData:v,yData:k.slice(q-c,q)},{period:c});y=d.prototype.getValues.call(this,{xData:v,yData:l.slice(q-c,q)},{period:c});z=d.prototype.getValues.call(this,{xData:v,yData:z},{period:c,index:b});v=z.xData[0];G=G.yData[0];y=y.yData[0];z=z.yData[0];m.push([v,G,z,y]);n.push(v);r.push([G,z,y])}}return{values:m,xData:n,yData:r}}};c.defaultOptions=l(m.defaultOptions,{params:{period:20,factor:.001,index:3},lineWidth:1,topLine:{styles:{lineWidth:1}},
+bottomLine:{styles:{lineWidth:1}},dataGrouping:{approximation:"averages"}});return c}(m);r(h.prototype,{drawGraph:e.drawGraph,getTranslatedLinesNames:e.getTranslatedLinesNames,linesApiNames:["topLine","bottomLine"],nameBase:"Acceleration Bands",nameComponents:["period","factor"],pointArrayMap:["top","middle","bottom"],pointValKey:"middle",toYData:e.toYData,translate:e.translate});d.registerSeriesType("abands",h);"";return h});v(e,"Stock/Indicators/TrendLine/TrendLineIndicator.js",[e["Core/Series/SeriesRegistry.js"],
+e["Core/Utilities.js"]],function(e,d){var h=this&&this.__extends||function(){var d=function(e,c){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return d(e,c)};return function(e,c){function a(){this.constructor=e}d(e,c);e.prototype=null===c?Object.create(c):(a.prototype=c.prototype,new a)}}(),k=e.seriesTypes.sma,m=d.extend,p=d.merge,r=d.isArray;d=function(d){function e(){var c=null!==d&&d.apply(this,
+arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}h(e,d);e.prototype.getValues=function(c,a){var b=c.xData,d=c.yData;c=[];var e=[],g=[],h=0,k=0,l=0,m=0,n=b.length,p=a.index;for(a=0;a<n;a++){var q=b[a];var v=r(d[a])?d[a][p]:d[a];h+=q;k+=v;l+=q*v;m+=q*q}d=(n*l-h*k)/(n*m-h*h);isNaN(d)&&(d=0);h=(k-d*h)/n;for(a=0;a<n;a++)q=b[a],v=d*q+h,c[a]=[q,v],e[a]=q,g[a]=v;return{xData:e,yData:g,values:c}};e.defaultOptions=p(k.defaultOptions,{params:{period:void 0,index:3}});return e}(k);m(d.prototype,
+{nameBase:"Trendline",nameComponents:!1});e.registerSeriesType("trendline",d);"";return d});v(e,"Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js",[e["Mixins/IndicatorRequired.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,d,h){var k=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,
+c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),m=d.seriesTypes.sma,p=h.correctFloat,r=h.defined,l=h.extend,g=h.isArray,c=h.merge;h=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.averageIndicator=void 0;b.data=void 0;b.options=void 0;b.points=void 0;return b}k(b,a);b.prototype.init=function(){var a=arguments,b=this,c=a[1].params;c=c&&c.average?c.average:void 0;b.averageIndicator=d.seriesTypes[c]||m;e.isParentLoaded(b.averageIndicator,
+c,b.type,function(c){c.prototype.init.apply(b,a)})};b.prototype.calculateDisparityIndex=function(a,b){return p(a-b)/b*100};b.prototype.getValues=function(a,b){var c=b.index,d=a.xData,e=a.yData,f=e?e.length:0,h=[],k=[],l=[],m=this.averageIndicator,p=g(e[0]);b=m.prototype.getValues(a,b);a=b.yData;b=d.indexOf(b.xData[0]);if(a&&0!==a.length&&r(c)&&!(e.length<=b)){for(m=b;m<f;m++){var v=this.calculateDisparityIndex(p?e[m][c]:e[m],a[m-b]);h.push([d[m],v]);k.push(d[m]);l.push(v)}return{values:h,xData:k,
+yData:l}}};b.defaultOptions=c(m.defaultOptions,{params:{average:"sma",index:3},marker:{enabled:!1},dataGrouping:{approximation:"averages"}});return b}(m);l(h.prototype,{nameBase:"Disparity Index",nameComponents:["period","average"]});d.registerSeriesType("disparityindex",h);"";return h});v(e,"masters/indicators/indicators-all.src.js",[],function(){})});
 //# sourceMappingURL=indicators-all.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/indicators-all.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 889 - 102
node_modules/highcharts/indicators/indicators-all.src.js


+ 12 - 12
node_modules/highcharts/indicators/indicators.js

@@ -1,20 +1,20 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Pawel Fus, Sebastian Bochan
 
  License: www.highcharts.com/license
 */
-(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/indicators",["highcharts","highcharts/modules/stock"],function(g){a(g);a.Highcharts=g;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function g(a,c,e,h){a.hasOwnProperty(c)||(a[c]=h.apply(null,e))}a=a?a._modules:{};g(a,"Mixins/IndicatorRequired.js",[a["Core/Utilities.js"]],function(a){var c=a.error;return{isParentLoaded:function(a,
-h,l,m,g){if(a)return m?m(a):!0;c(g||this.generateMessage(l,h));return!1},generateMessage:function(a,l){return'Error: "'+a+'" indicator type requires "'+l+'" indicator loaded before. Please read docs: https://api.highcharts.com/highstock/plotOptions.'+a}}});g(a,"Stock/Indicators/SMA/SMAComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,c){var e=a.series,h=a.seriesTypes.ohlc.prototype;a=c.addEvent;var g=c.extend;a(e,"init",function(a){a=a.options;a.useOhlcData&&"highcharts-navigator-series"!==
-a.id&&g(this,{pointValKey:h.pointValKey,keys:h.keys,pointArrayMap:h.pointArrayMap,toYData:h.toYData})});a(e,"afterSetOptions",function(a){a=a.options;var c=a.dataGrouping;c&&a.useOhlcData&&"highcharts-navigator-series"!==a.id&&(c.approximation="ohlc")})});g(a,"Stock/Indicators/SMA/SMAIndicator.js",[a["Mixins/IndicatorRequired.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,c,e){var g=this&&this.__extends||function(){var a=function(c,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof
-Array&&function(a,d){a.__proto__=d}||function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return a(c,d)};return function(c,d){function f(){this.constructor=c}a(c,d);c.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}(),l=c.seriesTypes.line,m=e.addEvent,p=e.error,t=e.extend,u=e.isArray,v=e.merge,w=e.pick,x=e.splat,y=a.generateMessage;a=function(a){function e(){var d=null!==a&&a.apply(this,arguments)||this;d.data=void 0;d.dataEventsToUnbind=void 0;d.linkedParent=void 0;
-d.options=void 0;d.points=void 0;return d}g(e,a);e.prototype.destroy=function(){this.dataEventsToUnbind.forEach(function(a){a()});a.prototype.destroy.apply(this,arguments)};e.prototype.getName=function(){var a=this.name,f=[];a||((this.nameComponents||[]).forEach(function(a,b){f.push(this.options.params[a]+w(this.nameSuffixes[b],""))},this),a=(this.nameBase||this.type.toUpperCase())+(this.nameComponents?" ("+f.join(", ")+")":""));return a};e.prototype.getValues=function(a,f){var d=f.period,b=a.xData;
-a=a.yData;var e=a.length,c=0,g=0,q=[],r=[],h=[],k=-1;if(!(b.length<d)){for(u(a[0])&&(k=f.index?f.index:0);c<d-1;)g+=0>k?a[c]:a[c][k],c++;for(f=c;f<e;f++){g+=0>k?a[f]:a[f][k];var n=[b[f],g/d];q.push(n);r.push(n[0]);h.push(n[1]);g-=0>k?a[f-c]:a[f-c][k]}return{values:q,xData:r,yData:h}}};e.prototype.init=function(d,c){function f(){var a=b.points||[],d=(b.xData||[]).length,c=b.getValues(b.linkedParent,b.options.params)||{values:[],xData:[],yData:[]},f=[],e=!0;if(d&&!b.hasGroupedData&&b.visible&&b.points)if(b.cropped){if(b.xAxis){var g=
-b.xAxis.min;var h=b.xAxis.max}d=b.cropData(c.xData,c.yData,g,h);for(g=0;g<d.xData.length;g++)f.push([d.xData[g]].concat(x(d.yData[g])));d=c.xData.indexOf(b.xData[0]);g=c.xData.indexOf(b.xData[b.xData.length-1]);-1===d&&g===c.xData.length-2&&f[0][0]===a[0].x&&f.shift();b.updateData(f)}else c.xData.length!==d-1&&c.xData.length!==d+1&&(e=!1,b.updateData(c.values));e&&(b.xData=c.xData,b.yData=c.yData,b.options.data=c.values);!1===b.bindTo.series&&(delete b.processedXData,b.isDirty=!0,b.redraw());b.isDirtyData=
-!1}var b=this,e=b.requireIndicators();if(!e.allLoaded)return p(y(b.type,e.needed));a.prototype.init.call(b,d,c);d.linkSeries();b.dataEventsToUnbind=[];if(!b.linkedParent)return p("Series "+b.options.linkedTo+" not found! Check `linkedTo`.",!1,d);b.dataEventsToUnbind.push(m(b.bindTo.series?b.linkedParent:b.linkedParent.xAxis,b.bindTo.eventName,f));if("init"===b.calculateOn)f();else var g=m(b.chart,b.calculateOn,function(){f();g()})};e.prototype.processData=function(){var c=this.options.compareToMain,
-f=this.linkedParent;a.prototype.processData.apply(this,arguments);f&&f.compareValue&&c&&(this.compareValue=f.compareValue)};e.prototype.requireIndicators=function(){var a={allLoaded:!0};this.requiredIndicators.forEach(function(d){c.seriesTypes[d]?c.seriesTypes[d].prototype.requireIndicators():(a.allLoaded=!1,a.needed=d)});return a};e.defaultOptions=v(l.defaultOptions,{name:void 0,tooltip:{valueDecimals:4},linkedTo:void 0,compareToMain:!1,params:{index:0,period:14}});return e}(l);t(a.prototype,{bindTo:{series:!0,
-eventName:"updatedData"},calculateOn:"init",hasDerivedData:!0,nameComponents:["period"],nameSuffixes:[],requiredIndicators:[],useCommonDataGrouping:!0});c.registerSeriesType("sma",a);"";return a});g(a,"masters/indicators/indicators.src.js",[],function(){})});
+(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/indicators",["highcharts","highcharts/modules/stock"],function(b){a(b);a.Highcharts=b;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function b(a,f,e,r){a.hasOwnProperty(f)||(a[f]=r.apply(null,e))}a=a?a._modules:{};b(a,"Mixins/IndicatorRequired.js",[a["Core/Utilities.js"]],function(a){var f=a.error;return{isParentLoaded:function(a,
+h,b,l,m){if(a)return l?l(a):!0;f(m||this.generateMessage(b,h));return!1},generateMessage:function(a,h){return'Error: "'+a+'" indicator type requires "'+h+'" indicator loaded before. Please read docs: https://api.highcharts.com/highstock/plotOptions.'+a}}});b(a,"Stock/Indicators/SMA/SMAComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,f){var e=a.series,b=a.seriesTypes.ohlc.prototype;a=f.addEvent;var h=f.extend;a(e,"init",function(a){a=a.options;a.useOhlcData&&"highcharts-navigator-series"!==
+a.id&&h(this,{pointValKey:b.pointValKey,pointArrayMap:b.pointArrayMap,toYData:b.toYData})});a(e,"afterSetOptions",function(a){a=a.options;var b=a.dataGrouping;b&&a.useOhlcData&&"highcharts-navigator-series"!==a.id&&(b.approximation="ohlc")})});b(a,"Stock/Indicators/SMA/SMAIndicator.js",[a["Mixins/IndicatorRequired.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,b,e){var f=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof
+Array&&function(a,d){a.__proto__=d}||function(a,d){for(var c in d)d.hasOwnProperty(c)&&(a[c]=d[c])};return a(b,d)};return function(b,d){function g(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(g.prototype=d.prototype,new g)}}(),h=b.seriesTypes.line,l=e.addEvent,m=e.error,t=e.extend,u=e.isArray,v=e.merge,w=e.pick,x=e.splat,y=a.generateMessage;a=function(a){function e(){var d=null!==a&&a.apply(this,arguments)||this;d.data=void 0;d.dataEventsToUnbind=void 0;d.linkedParent=void 0;
+d.options=void 0;d.points=void 0;return d}f(e,a);e.prototype.destroy=function(){this.dataEventsToUnbind.forEach(function(a){a()});a.prototype.destroy.apply(this,arguments)};e.prototype.getName=function(){var a=this.name,b=[];a||((this.nameComponents||[]).forEach(function(a,c){b.push(this.options.params[a]+w(this.nameSuffixes[c],""))},this),a=(this.nameBase||this.type.toUpperCase())+(this.nameComponents?" ("+b.join(", ")+")":""));return a};e.prototype.getValues=function(a,b){var d=b.period,c=a.xData;
+a=a.yData;var e=a.length,g=0,f=0,p=[],q=[],h=[],k=-1;if(!(c.length<d)){for(u(a[0])&&(k=b.index?b.index:0);g<d-1;)f+=0>k?a[g]:a[g][k],g++;for(b=g;b<e;b++){f+=0>k?a[b]:a[b][k];var n=[c[b],f/d];p.push(n);q.push(n[0]);h.push(n[1]);f-=0>k?a[b-g]:a[b-g][k]}return{values:p,xData:q,yData:h}}};e.prototype.init=function(b,e){function d(){var a=c.points||[],b=(c.xData||[]).length,d=c.getValues(c.linkedParent,c.options.params)||{values:[],xData:[],yData:[]},e=[],g=!0;if(b&&!c.hasGroupedData&&c.visible&&c.points)if(c.cropped){if(c.xAxis){var f=
+c.xAxis.min;var h=c.xAxis.max}b=c.cropData(d.xData,d.yData,f,h);for(f=0;f<b.xData.length;f++)e.push([b.xData[f]].concat(x(b.yData[f])));b=d.xData.indexOf(c.xData[0]);f=d.xData.indexOf(c.xData[c.xData.length-1]);-1===b&&f===d.xData.length-2&&e[0][0]===a[0].x&&e.shift();c.updateData(e)}else d.xData.length!==b-1&&d.xData.length!==b+1&&(g=!1,c.updateData(d.values));g&&(c.xData=d.xData,c.yData=d.yData,c.options.data=d.values);!1===c.bindTo.series&&(delete c.processedXData,c.isDirty=!0,c.redraw());c.isDirtyData=
+!1}var c=this,g=c.requireIndicators();if(!g.allLoaded)return m(y(c.type,g.needed));a.prototype.init.call(c,b,e);b.linkSeries();c.dataEventsToUnbind=[];if(!c.linkedParent)return m("Series "+c.options.linkedTo+" not found! Check `linkedTo`.",!1,b);c.dataEventsToUnbind.push(l(c.bindTo.series?c.linkedParent:c.linkedParent.xAxis,c.bindTo.eventName,d));if("init"===c.calculateOn)d();else var f=l(c.chart,c.calculateOn,function(){d();f()})};e.prototype.processData=function(){var b=this.options.compareToMain,
+e=this.linkedParent;a.prototype.processData.apply(this,arguments);e&&e.compareValue&&b&&(this.compareValue=e.compareValue)};e.prototype.requireIndicators=function(){var a={allLoaded:!0};this.requiredIndicators.forEach(function(d){b.seriesTypes[d]?b.seriesTypes[d].prototype.requireIndicators():(a.allLoaded=!1,a.needed=d)});return a};e.defaultOptions=v(h.defaultOptions,{name:void 0,tooltip:{valueDecimals:4},linkedTo:void 0,compareToMain:!1,params:{index:0,period:14}});return e}(h);t(a.prototype,{bindTo:{series:!0,
+eventName:"updatedData"},calculateOn:"init",hasDerivedData:!0,nameComponents:["period"],nameSuffixes:[],requiredIndicators:[],useCommonDataGrouping:!0});b.registerSeriesType("sma",a);"";return a});b(a,"masters/indicators/indicators.src.js",[],function(){})});
 //# sourceMappingURL=indicators.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/indicators.js.map


+ 5 - 5
node_modules/highcharts/indicators/indicators.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Pawel Fus, Sebastian Bochan
  *
@@ -115,7 +115,7 @@
                 options.id !== 'highcharts-navigator-series') {
                 extend(series, {
                     pointValKey: ohlcProto.pointValKey,
-                    keys: ohlcProto.keys,
+                    // keys: ohlcProto.keys, // @todo potentially nonsense
                     pointArrayMap: ohlcProto.pointArrayMap,
                     toYData: ohlcProto.toYData
                 });
@@ -373,12 +373,12 @@
                     recalculateValues();
                 }
                 else {
-                    var unbinder = addEvent(indicator.chart,
+                    var unbinder_1 = addEvent(indicator.chart,
                         indicator.calculateOn,
                         function () {
                             recalculateValues();
                         // Call this just once, on init
-                        unbinder();
+                        unbinder_1();
                     });
                 }
                 // return indicator;

+ 2 - 2
node_modules/highcharts/indicators/keltner-channels.js

@@ -1,7 +1,7 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Daniel Studencki
 

+ 3 - 3
node_modules/highcharts/indicators/keltner-channels.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Daniel Studencki
  *
@@ -428,7 +428,7 @@
          * A Keltner Channels indicator. If the [type](#series.keltnerchannels.type)
          * option is not specified, it is inherited from[chart.type](#chart.type).
          *
-         * @extends      series,plotOptions.sma
+         * @extends      series,plotOptions.keltnerchannels
          * @since        7.0.0
          * @product      highstock
          * @excluding    allAreas, colorAxis, compare, compareBase, dataParser, dataURL,

+ 12 - 12
node_modules/highcharts/indicators/macd.js

@@ -1,20 +1,20 @@
 /*
- Highstock JS v9.0.1 (2021-02-15)
+ Highstock JS v9.1.0 (2021-05-03)
 
- Indicator series type for Highstock
+ Indicator series type for Highcharts Stock
 
  (c) 2010-2021 Sebastian Bochan
 
  License: www.highcharts.com/license
 */
-(function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/indicators/macd",["highcharts","highcharts/modules/stock"],function(f){b(f);b.Highcharts=f;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function f(b,h,d,f){b.hasOwnProperty(h)||(b[h]=f.apply(null,d))}b=b?b._modules:{};f(b,"Stock/Indicators/MACD/MACDIndicator.js",[b["Core/Globals.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],
-function(b,h,d){var f=this&&this.__extends||function(){var b=function(c,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var l in b)b.hasOwnProperty(l)&&(a[l]=b[l])};return b(c,a)};return function(c,a){function l(){this.constructor=c}b(c,a);c.prototype=null===a?Object.create(a):(l.prototype=a.prototype,new l)}}(),r=b.noop,p=h.seriesTypes.sma,t=d.extend,q=d.correctFloat,m=d.defined,n=d.merge;d=function(d){function c(){var a=null!==d&&d.apply(this,
-arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;a.currentLineZone=void 0;a.graphmacd=void 0;a.graphsignal=void 0;a.macdZones=void 0;a.signalZones=void 0;return a}f(c,d);c.prototype.init=function(){h.seriesTypes.sma.prototype.init.apply(this,arguments);this.options&&(this.options=n({signalLine:{styles:{lineColor:this.color}},macdLine:{styles:{color:this.color}}},this.options),this.macdZones={zones:this.options.macdLine.zones,startIndex:0},this.signalZones={zones:this.macdZones.zones.concat(this.options.signalLine.zones),
-startIndex:this.macdZones.zones.length},this.resetZones=!0)};c.prototype.toYData=function(a){return[a.y,a.signal,a.MACD]};c.prototype.translate=function(){var a=this,l=["plotSignal","plotMACD"];b.seriesTypes.column.prototype.translate.apply(a);a.points.forEach(function(b){[b.signal,b.MACD].forEach(function(e,c){null!==e&&(b[l[c]]=a.yAxis.toPixels(e,!0))})})};c.prototype.destroy=function(){this.graph=null;this.graphmacd=this.graphmacd&&this.graphmacd.destroy();this.graphsignal=this.graphsignal&&this.graphsignal.destroy();
-h.seriesTypes.sma.prototype.destroy.apply(this,arguments)};c.prototype.drawGraph=function(){for(var a=this,b=a.points,c=b.length,e=a.options,d=a.zones,f={options:{gapSize:e.gapSize}},k=[[],[]],g;c--;)g=b[c],m(g.plotMACD)&&k[0].push({plotX:g.plotX,plotY:g.plotMACD,isNull:!m(g.plotMACD)}),m(g.plotSignal)&&k[1].push({plotX:g.plotX,plotY:g.plotSignal,isNull:!m(g.plotMACD)});["macd","signal"].forEach(function(b,l){a.points=k[l];a.options=n(e[b+"Line"].styles,f);a.graph=a["graph"+b];a.currentLineZone=b+
-"Zones";a.zones=a[a.currentLineZone].zones;h.seriesTypes.sma.prototype.drawGraph.call(a);a["graph"+b]=a.graph});a.points=b;a.options=e;a.zones=d;a.currentLineZone=null};c.prototype.getZonesGraphs=function(a){var b=d.prototype.getZonesGraphs.call(this,a),c=b;this.currentLineZone&&(c=b.splice(this[this.currentLineZone].startIndex+1),c.length?c.splice(0,0,a[0]):c=[a[0]]);return c};c.prototype.applyZones=function(){var a=this.zones;this.zones=this.signalZones.zones;h.seriesTypes.sma.prototype.applyZones.call(this);
-this.graphmacd&&this.options.macdLine.zones.length&&this.graphmacd.hide();this.zones=a};c.prototype.getValues=function(a,b){var c=0,e=[],d=[],f=[];if(!(a.xData.length<b.longPeriod+b.signalPeriod)){var k=h.seriesTypes.ema.prototype.getValues(a,{period:b.shortPeriod,index:b.index});var g=h.seriesTypes.ema.prototype.getValues(a,{period:b.longPeriod,index:b.index});k=k.values;g=g.values;for(a=1;a<=k.length;a++)m(g[a-1])&&m(g[a-1][1])&&m(k[a+b.shortPeriod+1])&&m(k[a+b.shortPeriod+1][0])&&e.push([k[a+b.shortPeriod+
-1][0],0,null,k[a+b.shortPeriod+1][1]-g[a-1][1]]);for(a=0;a<e.length;a++)d.push(e[a][0]),f.push([0,null,e[a][3]]);b=h.seriesTypes.ema.prototype.getValues({xData:d,yData:f},{period:b.signalPeriod,index:2});b=b.values;for(a=0;a<e.length;a++)e[a][0]>=b[0][0]&&(e[a][2]=b[c][1],f[a]=[0,b[c][1],e[a][3]],null===e[a][3]?(e[a][1]=0,f[a][0]=0):(e[a][1]=q(e[a][3]-b[c][1]),f[a][0]=q(e[a][3]-b[c][1])),c++);return{values:e,xData:d,yData:f}}};c.defaultOptions=n(p.defaultOptions,{params:{shortPeriod:12,longPeriod:26,
-signalPeriod:9,period:26},signalLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},macdLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},threshold:0,groupPadding:.1,pointPadding:.1,crisp:!1,states:{hover:{halo:{size:0}}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Value: {point.MACD}<br/>Signal: {point.signal}<br/>Histogram: {point.y}<br/>'},dataGrouping:{approximation:"averages"},minPointLength:0});return c}(p);t(d.prototype,{nameComponents:["longPeriod",
-"shortPeriod","signalPeriod"],requiredIndicators:["ema"],pointArrayMap:["y","signal","MACD"],parallelArrays:["x","y","signal","MACD"],pointValKey:"y",markerAttribs:r,getColumnMetrics:b.seriesTypes.column.prototype.getColumnMetrics,crispCol:b.seriesTypes.column.prototype.crispCol,drawPoints:b.seriesTypes.column.prototype.drawPoints});h.registerSeriesType("macd",d);"";return d});f(b,"masters/indicators/macd.src.js",[],function(){})});
+(function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/indicators/macd",["highcharts","highcharts/modules/stock"],function(h){b(h);b.Highcharts=h;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function h(b,k,d,h){b.hasOwnProperty(k)||(b[k]=h.apply(null,d))}b=b?b._modules:{};h(b,"Stock/Indicators/MACD/MACDIndicator.js",[b["Core/Globals.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],
+function(b,k,d){var h=this&&this.__extends||function(){var b=function(c,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)b.hasOwnProperty(f)&&(a[f]=b[f])};return b(c,a)};return function(c,a){function f(){this.constructor=c}b(c,a);c.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),t=b.noop,q=k.seriesTypes.sma,u=d.extend,r=d.correctFloat,l=d.defined,n=d.merge;d=function(d){function c(){var a=null!==d&&d.apply(this,
+arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;a.currentLineZone=void 0;a.graphmacd=void 0;a.graphsignal=void 0;a.macdZones=void 0;a.signalZones=void 0;return a}h(c,d);c.prototype.init=function(){k.seriesTypes.sma.prototype.init.apply(this,arguments);this.options&&(this.options=n({signalLine:{styles:{lineColor:this.color}},macdLine:{styles:{color:this.color}}},this.options),this.macdZones={zones:this.options.macdLine.zones,startIndex:0},this.signalZones={zones:this.macdZones.zones.concat(this.options.signalLine.zones),
+startIndex:this.macdZones.zones.length},this.resetZones=!0)};c.prototype.toYData=function(a){return[a.y,a.signal,a.MACD]};c.prototype.translate=function(){var a=this,f=["plotSignal","plotMACD"];b.seriesTypes.column.prototype.translate.apply(a);a.points.forEach(function(b){[b.signal,b.MACD].forEach(function(c,e){null!==c&&(b[f[e]]=a.yAxis.toPixels(c,!0))})})};c.prototype.destroy=function(){this.graph=null;this.graphmacd=this.graphmacd&&this.graphmacd.destroy();this.graphsignal=this.graphsignal&&this.graphsignal.destroy();
+k.seriesTypes.sma.prototype.destroy.apply(this,arguments)};c.prototype.drawGraph=function(){for(var a=this,b=a.points,c=b.length,d=a.options,e=a.zones,h={options:{gapSize:d.gapSize}},p=[[],[]],g;c--;)g=b[c],l(g.plotMACD)&&p[0].push({plotX:g.plotX,plotY:g.plotMACD,isNull:!l(g.plotMACD)}),l(g.plotSignal)&&p[1].push({plotX:g.plotX,plotY:g.plotSignal,isNull:!l(g.plotMACD)});["macd","signal"].forEach(function(b,f){a.points=p[f];a.options=n(d[b+"Line"].styles,h);a.graph=a["graph"+b];a.currentLineZone=b+
+"Zones";a.zones=a[a.currentLineZone].zones;k.seriesTypes.sma.prototype.drawGraph.call(a);a["graph"+b]=a.graph});a.points=b;a.options=d;a.zones=e;a.currentLineZone=null};c.prototype.getZonesGraphs=function(a){var b=d.prototype.getZonesGraphs.call(this,a),c=b;this.currentLineZone&&(c=b.splice(this[this.currentLineZone].startIndex+1),c.length?c.splice(0,0,a[0]):c=[a[0]]);return c};c.prototype.applyZones=function(){var a=this.zones;this.zones=this.signalZones.zones;k.seriesTypes.sma.prototype.applyZones.call(this);
+this.graphmacd&&this.options.macdLine.zones.length&&this.graphmacd.hide();this.zones=a};c.prototype.getValues=function(a,b){var c=b.longPeriod-b.shortPeriod,d=0,e=[],h=[],f=[];if(!(a.xData.length<b.longPeriod+b.signalPeriod)){var g=k.seriesTypes.ema.prototype.getValues(a,{period:b.shortPeriod,index:b.index});var m=k.seriesTypes.ema.prototype.getValues(a,{period:b.longPeriod,index:b.index});g=g.values;m=m.values;for(a=0;a<=g.length;a++)l(m[a])&&l(m[a][1])&&l(g[a+c])&&l(g[a+c][0])&&e.push([g[a+c][0],
+0,null,g[a+c][1]-m[a][1]]);for(a=0;a<e.length;a++)h.push(e[a][0]),f.push([0,null,e[a][3]]);b=k.seriesTypes.ema.prototype.getValues({xData:h,yData:f},{period:b.signalPeriod,index:2});b=b.values;for(a=0;a<e.length;a++)e[a][0]>=b[0][0]&&(e[a][2]=b[d][1],f[a]=[0,b[d][1],e[a][3]],null===e[a][3]?(e[a][1]=0,f[a][0]=0):(e[a][1]=r(e[a][3]-b[d][1]),f[a][0]=r(e[a][3]-b[d][1])),d++);return{values:e,xData:h,yData:f}}};c.defaultOptions=n(q.defaultOptions,{params:{shortPeriod:12,longPeriod:26,signalPeriod:9,period:26},
+signalLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},macdLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},threshold:0,groupPadding:.1,pointPadding:.1,crisp:!1,states:{hover:{halo:{size:0}}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Value: {point.MACD}<br/>Signal: {point.signal}<br/>Histogram: {point.y}<br/>'},dataGrouping:{approximation:"averages"},minPointLength:0});return c}(q);u(d.prototype,{nameComponents:["longPeriod","shortPeriod",
+"signalPeriod"],requiredIndicators:["ema"],pointArrayMap:["y","signal","MACD"],parallelArrays:["x","y","signal","MACD"],pointValKey:"y",markerAttribs:t,getColumnMetrics:b.seriesTypes.column.prototype.getColumnMetrics,crispCol:b.seriesTypes.column.prototype.crispCol,drawPoints:b.seriesTypes.column.prototype.drawPoints});k.registerSeriesType("macd",d);"";return d});h(b,"masters/indicators/macd.src.js",[],function(){})});
 //# sourceMappingURL=macd.js.map

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
node_modules/highcharts/indicators/macd.js.map


+ 12 - 12
node_modules/highcharts/indicators/macd.src.js

@@ -1,7 +1,7 @@
 /**
- * @license Highstock JS v9.0.1 (2021-02-16)
+ * @license Highstock JS v9.1.0 (2021-05-04)
  *
- * Indicator series type for Highstock
+ * Indicator series type for Highcharts Stock
  *
  * (c) 2010-2021 Sebastian Bochan
  *
@@ -55,7 +55,6 @@
         var noop = H.noop;
         var _a = SeriesRegistry.seriesTypes,
             SMAIndicator = _a.sma,
-            EMAIndicator = _a.ema,
             ColumnSeries = _a.column;
         var extend = U.extend,
             correctFloat = U.correctFloat,
@@ -235,7 +234,8 @@
                 this.zones = histogramZones;
             };
             MACDIndicator.prototype.getValues = function (series, params) {
-                var j = 0,
+                var indexToShift = params.longPeriod - params.shortPeriod, // #14197
+                    j = 0,
                     MACD = [],
                     xMACD = [],
                     yMACD = [],
@@ -260,17 +260,17 @@
                 longEMA = longEMA.values;
                 // Subtract each Y value from the EMA's and create the new dataset
                 // (MACD)
-                for (i = 1; i <= shortEMA.length; i++) {
-                    if (defined(longEMA[i - 1]) &&
-                        defined(longEMA[i - 1][1]) &&
-                        defined(shortEMA[i + params.shortPeriod + 1]) &&
-                        defined(shortEMA[i + params.shortPeriod + 1][0])) {
+                for (i = 0; i <= shortEMA.length; i++) {
+                    if (defined(longEMA[i]) &&
+                        defined(longEMA[i][1]) &&
+                        defined(shortEMA[i + indexToShift]) &&
+                        defined(shortEMA[i + indexToShift][0])) {
                         MACD.push([
-                            shortEMA[i + params.shortPeriod + 1][0],
+                            shortEMA[i + indexToShift][0],
                             0,
                             null,
-                            shortEMA[i + params.shortPeriod + 1][1] -
-                                longEMA[i - 1][1]
+                            shortEMA[i + indexToShift][1] -
+                                longEMA[i][1]
                         ]);
                     }
                 }

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است