highcharts 10.3.1 → 10.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (625) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Accessibility.js +1 -1
  3. package/es-modules/Accessibility/Components/ZoomComponent.js +26 -32
  4. package/es-modules/Accessibility/KeyboardNavigation.js +5 -4
  5. package/es-modules/Accessibility/Utils/HTMLUtilities.js +14 -2
  6. package/es-modules/Core/Axis/Stacking/StackingAxis.js +5 -3
  7. package/es-modules/Core/Axis/WaterfallAxis.js +14 -11
  8. package/es-modules/Core/Chart/Chart.js +3 -1
  9. package/es-modules/Core/Chart/ChartDefaults.js +2 -0
  10. package/es-modules/Core/Globals.js +1 -1
  11. package/es-modules/Core/Pointer.js +4 -3
  12. package/es-modules/Core/Renderer/HTML/AST.js +6 -0
  13. package/es-modules/Core/Renderer/SVG/SVGElement.js +13 -60
  14. package/es-modules/Core/Renderer/SVG/SVGLabel.js +3 -4
  15. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
  16. package/es-modules/Core/Series/DataLabel.js +4 -7
  17. package/es-modules/Core/Series/Point.js +8 -9
  18. package/es-modules/Core/Series/Series.js +33 -78
  19. package/es-modules/Core/Series/SeriesDefaults.js +4 -1
  20. package/es-modules/Core/Tooltip.js +35 -19
  21. package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
  22. package/es-modules/Extensions/Annotations/Popup/Popup.js +6 -1
  23. package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
  24. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  25. package/es-modules/Extensions/Oldie/Oldie.js +1 -1
  26. package/es-modules/Extensions/PatternFill.js +12 -10
  27. package/es-modules/Extensions/ScrollablePlotArea.js +5 -0
  28. package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +116 -89
  29. package/es-modules/Gantt/Pathfinder.js +8 -7
  30. package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -1
  31. package/es-modules/Series/AreaRange/AreaRangeSeries.js +10 -0
  32. package/es-modules/Series/Bubble/BubbleSeries.js +3 -6
  33. package/es-modules/Series/Column/ColumnSeries.js +3 -3
  34. package/es-modules/Series/Flags/FlagsSeries.js +1 -6
  35. package/es-modules/Series/Line/LineSeries.js +5 -2
  36. package/es-modules/Series/Map/MapPoint.js +34 -10
  37. package/es-modules/Series/Map/MapSeries.js +7 -6
  38. package/es-modules/Series/OnSeriesComposition.js +2 -2
  39. package/es-modules/Series/Sankey/SankeySeries.js +4 -0
  40. package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +1 -1
  41. package/es-modules/Series/Treegraph/TreegraphPoint.js +1 -3
  42. package/es-modules/Series/Treegraph/TreegraphSeries.js +9 -0
  43. package/es-modules/Series/Waterfall/WaterfallSeries.js +91 -89
  44. package/es-modules/Series/Windbarb/WindbarbSeries.js +1 -2
  45. package/es-modules/Series/XRange/XRangeSeries.js +6 -0
  46. package/es-modules/Stock/Navigator/Navigator.js +9 -3
  47. package/es-modules/Stock/StockTools/StockToolbar.js +1 -1
  48. package/es-modules/masters/highcharts-3d.src.d.ts +4 -0
  49. package/es-modules/masters/highcharts-3d.src.js +1 -1
  50. package/es-modules/masters/highcharts-gantt.src.d.ts +3 -0
  51. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  52. package/es-modules/masters/highcharts-more.src.d.ts +10 -0
  53. package/es-modules/masters/highcharts-more.src.js +1 -1
  54. package/es-modules/masters/highcharts.src.d.ts +10 -0
  55. package/es-modules/masters/highcharts.src.js +1 -1
  56. package/es-modules/masters/highmaps.src.d.ts +3 -0
  57. package/es-modules/masters/highmaps.src.js +1 -1
  58. package/es-modules/masters/highstock.src.d.ts +3 -0
  59. package/es-modules/masters/highstock.src.js +1 -1
  60. package/es-modules/masters/indicators/acceleration-bands.src.d.ts +1 -0
  61. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  62. package/es-modules/masters/indicators/accumulation-distribution.src.d.ts +1 -0
  63. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  64. package/es-modules/masters/indicators/ao.src.d.ts +1 -0
  65. package/es-modules/masters/indicators/ao.src.js +1 -1
  66. package/es-modules/masters/indicators/apo.src.d.ts +1 -0
  67. package/es-modules/masters/indicators/apo.src.js +1 -1
  68. package/es-modules/masters/indicators/aroon-oscillator.src.d.ts +1 -0
  69. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  70. package/es-modules/masters/indicators/aroon.src.d.ts +1 -0
  71. package/es-modules/masters/indicators/aroon.src.js +1 -1
  72. package/es-modules/masters/indicators/atr.src.d.ts +1 -0
  73. package/es-modules/masters/indicators/atr.src.js +1 -1
  74. package/es-modules/masters/indicators/bollinger-bands.src.d.ts +1 -0
  75. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  76. package/es-modules/masters/indicators/cci.src.d.ts +1 -0
  77. package/es-modules/masters/indicators/cci.src.js +1 -1
  78. package/es-modules/masters/indicators/chaikin.src.d.ts +1 -0
  79. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  80. package/es-modules/masters/indicators/cmf.src.d.ts +1 -0
  81. package/es-modules/masters/indicators/cmf.src.js +1 -1
  82. package/es-modules/masters/indicators/cmo.src.d.ts +1 -0
  83. package/es-modules/masters/indicators/cmo.src.js +1 -1
  84. package/es-modules/masters/indicators/dema.src.d.ts +1 -0
  85. package/es-modules/masters/indicators/dema.src.js +1 -1
  86. package/es-modules/masters/indicators/disparity-index.src.d.ts +1 -0
  87. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  88. package/es-modules/masters/indicators/dmi.src.d.ts +1 -0
  89. package/es-modules/masters/indicators/dmi.src.js +1 -1
  90. package/es-modules/masters/indicators/dpo.src.d.ts +1 -0
  91. package/es-modules/masters/indicators/dpo.src.js +1 -1
  92. package/es-modules/masters/indicators/ema.src.d.ts +0 -0
  93. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.d.ts +1 -0
  94. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  95. package/es-modules/masters/indicators/indicators-all.src.d.ts +60 -0
  96. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  97. package/es-modules/masters/indicators/indicators.src.d.ts +2 -0
  98. package/es-modules/masters/indicators/indicators.src.js +1 -1
  99. package/es-modules/masters/indicators/keltner-channels.src.d.ts +1 -0
  100. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  101. package/es-modules/masters/indicators/klinger.src.d.ts +1 -0
  102. package/es-modules/masters/indicators/klinger.src.js +1 -1
  103. package/es-modules/masters/indicators/macd.src.d.ts +1 -0
  104. package/es-modules/masters/indicators/macd.src.js +1 -1
  105. package/es-modules/masters/indicators/mfi.src.d.ts +1 -0
  106. package/es-modules/masters/indicators/mfi.src.js +1 -1
  107. package/es-modules/masters/indicators/momentum.src.d.ts +1 -0
  108. package/es-modules/masters/indicators/momentum.src.js +1 -1
  109. package/es-modules/masters/indicators/natr.src.d.ts +1 -0
  110. package/es-modules/masters/indicators/natr.src.js +1 -1
  111. package/es-modules/masters/indicators/obv.src.d.ts +1 -0
  112. package/es-modules/masters/indicators/obv.src.js +1 -1
  113. package/es-modules/masters/indicators/pivot-points.src.d.ts +1 -0
  114. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  115. package/es-modules/masters/indicators/ppo.src.d.ts +1 -0
  116. package/es-modules/masters/indicators/ppo.src.js +1 -1
  117. package/es-modules/masters/indicators/price-channel.src.d.ts +1 -0
  118. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  119. package/es-modules/masters/indicators/price-envelopes.src.d.ts +1 -0
  120. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  121. package/es-modules/masters/indicators/psar.src.d.ts +1 -0
  122. package/es-modules/masters/indicators/psar.src.js +1 -1
  123. package/es-modules/masters/indicators/regressions.src.d.ts +4 -0
  124. package/es-modules/masters/indicators/regressions.src.js +1 -1
  125. package/es-modules/masters/indicators/roc.src.d.ts +1 -0
  126. package/es-modules/masters/indicators/roc.src.js +1 -1
  127. package/es-modules/masters/indicators/rsi.src.d.ts +1 -0
  128. package/es-modules/masters/indicators/rsi.src.js +1 -1
  129. package/es-modules/masters/indicators/slow-stochastic.src.d.ts +1 -0
  130. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  131. package/es-modules/masters/indicators/stochastic.src.d.ts +1 -0
  132. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  133. package/es-modules/masters/indicators/supertrend.src.d.ts +1 -0
  134. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  135. package/es-modules/masters/indicators/tema.src.d.ts +1 -0
  136. package/es-modules/masters/indicators/tema.src.js +1 -1
  137. package/es-modules/masters/indicators/trendline.src.d.ts +1 -0
  138. package/es-modules/masters/indicators/trendline.src.js +1 -1
  139. package/es-modules/masters/indicators/trix.src.d.ts +1 -0
  140. package/es-modules/masters/indicators/trix.src.js +1 -1
  141. package/es-modules/masters/indicators/volume-by-price.src.d.ts +1 -0
  142. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  143. package/es-modules/masters/indicators/vwap.src.d.ts +1 -0
  144. package/es-modules/masters/indicators/vwap.src.js +1 -1
  145. package/es-modules/masters/indicators/williams-r.src.d.ts +1 -0
  146. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  147. package/es-modules/masters/indicators/wma.src.d.ts +1 -0
  148. package/es-modules/masters/indicators/wma.src.js +1 -1
  149. package/es-modules/masters/indicators/zigzag.src.d.ts +1 -0
  150. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  151. package/es-modules/masters/modules/accessibility.src.d.ts +13 -0
  152. package/es-modules/masters/modules/accessibility.src.js +2 -2
  153. package/es-modules/masters/modules/annotations-advanced.src.d.ts +11 -0
  154. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  155. package/es-modules/masters/modules/annotations.src.d.ts +1 -0
  156. package/es-modules/masters/modules/annotations.src.js +1 -1
  157. package/es-modules/masters/modules/arc-diagram.src.d.ts +1 -0
  158. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  159. package/es-modules/masters/modules/arrow-symbols.src.d.ts +1 -0
  160. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  161. package/es-modules/masters/modules/boost-canvas.src.d.ts +1 -0
  162. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  163. package/es-modules/masters/modules/boost.src.d.ts +14 -0
  164. package/es-modules/masters/modules/boost.src.js +1 -1
  165. package/es-modules/masters/modules/broken-axis.src.d.ts +1 -0
  166. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  167. package/es-modules/masters/modules/bullet.src.d.ts +1 -0
  168. package/es-modules/masters/modules/bullet.src.js +1 -1
  169. package/es-modules/masters/modules/coloraxis.src.d.ts +1 -0
  170. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  171. package/es-modules/masters/modules/current-date-indicator.src.d.ts +1 -0
  172. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  173. package/es-modules/masters/modules/cylinder.src.d.ts +1 -0
  174. package/es-modules/masters/modules/cylinder.src.js +1 -1
  175. package/es-modules/masters/modules/data.src.d.ts +1 -0
  176. package/es-modules/masters/modules/data.src.js +1 -1
  177. package/es-modules/masters/modules/datagrouping.src.d.ts +1 -0
  178. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  179. package/es-modules/masters/modules/debugger.src.d.ts +12 -0
  180. package/es-modules/masters/modules/debugger.src.js +1 -1
  181. package/es-modules/masters/modules/dependency-wheel.src.d.ts +1 -0
  182. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  183. package/es-modules/masters/modules/dotplot.src.d.ts +1 -0
  184. package/es-modules/masters/modules/dotplot.src.js +1 -1
  185. package/es-modules/masters/modules/drag-panes.src.d.ts +1 -0
  186. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  187. package/es-modules/masters/modules/draggable-points.src.d.ts +1 -0
  188. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  189. package/es-modules/masters/modules/drilldown.src.d.ts +2 -0
  190. package/es-modules/masters/modules/drilldown.src.js +1 -1
  191. package/es-modules/masters/modules/dumbbell.src.d.ts +1 -0
  192. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  193. package/es-modules/masters/modules/export-data.src.d.ts +1 -0
  194. package/es-modules/masters/modules/export-data.src.js +1 -1
  195. package/es-modules/masters/modules/exporting.src.d.ts +1 -0
  196. package/es-modules/masters/modules/exporting.src.js +1 -1
  197. package/es-modules/masters/modules/full-screen.src.d.ts +1 -0
  198. package/es-modules/masters/modules/full-screen.src.js +1 -1
  199. package/es-modules/masters/modules/funnel.src.d.ts +2 -0
  200. package/es-modules/masters/modules/funnel.src.js +1 -1
  201. package/es-modules/masters/modules/funnel3d.src.d.ts +2 -0
  202. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  203. package/es-modules/masters/modules/gantt.src.d.ts +1 -0
  204. package/es-modules/masters/modules/gantt.src.js +1 -1
  205. package/es-modules/masters/modules/grid-axis.src.d.ts +1 -0
  206. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  207. package/es-modules/masters/modules/heatmap.src.d.ts +1 -0
  208. package/es-modules/masters/modules/heatmap.src.js +1 -1
  209. package/es-modules/masters/modules/heikinashi.src.d.ts +1 -0
  210. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  211. package/es-modules/masters/modules/histogram-bellcurve.src.d.ts +2 -0
  212. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  213. package/es-modules/masters/modules/hollowcandlestick.src.d.ts +1 -0
  214. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  215. package/es-modules/masters/modules/item-series.src.d.ts +1 -0
  216. package/es-modules/masters/modules/item-series.src.js +1 -1
  217. package/es-modules/masters/modules/lollipop.src.d.ts +1 -0
  218. package/es-modules/masters/modules/lollipop.src.js +1 -1
  219. package/es-modules/masters/modules/map.src.d.ts +7 -0
  220. package/es-modules/masters/modules/map.src.js +1 -1
  221. package/es-modules/masters/modules/marker-clusters.src.d.ts +1 -0
  222. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  223. package/es-modules/masters/modules/networkgraph.src.d.ts +1 -0
  224. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  225. package/es-modules/masters/modules/no-data-to-display.src.d.ts +1 -0
  226. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  227. package/es-modules/masters/modules/offline-exporting.src.d.ts +1 -0
  228. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  229. package/es-modules/masters/modules/oldie-polyfills.src.d.ts +1 -0
  230. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  231. package/es-modules/masters/modules/oldie.src.d.ts +1 -0
  232. package/es-modules/masters/modules/oldie.src.js +1 -1
  233. package/es-modules/masters/modules/organization.src.d.ts +1 -0
  234. package/es-modules/masters/modules/organization.src.js +1 -1
  235. package/es-modules/masters/modules/overlapping-datalabels.src.d.ts +1 -0
  236. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  237. package/es-modules/masters/modules/parallel-coordinates.src.d.ts +1 -0
  238. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  239. package/es-modules/masters/modules/pareto.src.d.ts +1 -0
  240. package/es-modules/masters/modules/pareto.src.js +1 -1
  241. package/es-modules/masters/modules/pathfinder.src.d.ts +1 -0
  242. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  243. package/es-modules/masters/modules/pattern-fill.src.d.ts +1 -0
  244. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  245. package/es-modules/masters/modules/price-indicator.src.d.ts +1 -0
  246. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  247. package/es-modules/masters/modules/pyramid3d.src.d.ts +1 -0
  248. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  249. package/es-modules/masters/modules/sankey.src.d.ts +1 -0
  250. package/es-modules/masters/modules/sankey.src.js +1 -1
  251. package/es-modules/masters/modules/series-label.src.d.ts +1 -0
  252. package/es-modules/masters/modules/series-label.src.js +1 -1
  253. package/es-modules/masters/modules/series-on-point.src.d.ts +13 -0
  254. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  255. package/es-modules/masters/modules/solid-gauge.src.d.ts +1 -0
  256. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  257. package/es-modules/masters/modules/sonification.src.d.ts +12 -0
  258. package/es-modules/masters/modules/sonification.src.js +1 -1
  259. package/es-modules/masters/modules/static-scale.src.d.ts +1 -0
  260. package/es-modules/masters/modules/static-scale.src.js +1 -1
  261. package/es-modules/masters/modules/stock-tools.src.d.ts +1 -0
  262. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  263. package/es-modules/masters/modules/stock.src.d.ts +4 -0
  264. package/es-modules/masters/modules/stock.src.js +1 -1
  265. package/es-modules/masters/modules/streamgraph.src.d.ts +1 -0
  266. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  267. package/es-modules/masters/modules/sunburst.src.d.ts +2 -0
  268. package/es-modules/masters/modules/sunburst.src.js +1 -1
  269. package/es-modules/masters/modules/tilemap.src.d.ts +1 -0
  270. package/es-modules/masters/modules/tilemap.src.js +1 -1
  271. package/es-modules/masters/modules/timeline.src.d.ts +1 -0
  272. package/es-modules/masters/modules/timeline.src.js +1 -1
  273. package/es-modules/masters/modules/treegraph.src.d.ts +1 -0
  274. package/es-modules/masters/modules/treegraph.src.js +1 -1
  275. package/es-modules/masters/modules/treegrid.src.d.ts +1 -0
  276. package/es-modules/masters/modules/treegrid.src.js +1 -1
  277. package/es-modules/masters/modules/treemap.src.d.ts +1 -0
  278. package/es-modules/masters/modules/treemap.src.js +1 -1
  279. package/es-modules/masters/modules/variable-pie.src.d.ts +1 -0
  280. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  281. package/es-modules/masters/modules/variwide.src.d.ts +1 -0
  282. package/es-modules/masters/modules/variwide.src.js +1 -1
  283. package/es-modules/masters/modules/vector.src.d.ts +1 -0
  284. package/es-modules/masters/modules/vector.src.js +1 -1
  285. package/es-modules/masters/modules/venn.src.d.ts +1 -0
  286. package/es-modules/masters/modules/venn.src.js +1 -1
  287. package/es-modules/masters/modules/windbarb.src.d.ts +1 -0
  288. package/es-modules/masters/modules/windbarb.src.js +1 -1
  289. package/es-modules/masters/modules/wordcloud.src.d.ts +1 -0
  290. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  291. package/es-modules/masters/modules/xrange.src.d.ts +1 -0
  292. package/es-modules/masters/modules/xrange.src.js +1 -1
  293. package/es-modules/masters/themes/avocado.src.d.ts +1 -0
  294. package/es-modules/masters/themes/avocado.src.js +1 -1
  295. package/es-modules/masters/themes/brand-dark.src.d.ts +1 -0
  296. package/es-modules/masters/themes/brand-dark.src.js +1 -1
  297. package/es-modules/masters/themes/brand-light.src.d.ts +1 -0
  298. package/es-modules/masters/themes/brand-light.src.js +1 -1
  299. package/es-modules/masters/themes/dark-blue.src.d.ts +1 -0
  300. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  301. package/es-modules/masters/themes/dark-green.src.d.ts +1 -0
  302. package/es-modules/masters/themes/dark-green.src.js +1 -1
  303. package/es-modules/masters/themes/dark-unica.src.d.ts +1 -0
  304. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  305. package/es-modules/masters/themes/gray.src.d.ts +1 -0
  306. package/es-modules/masters/themes/gray.src.js +1 -1
  307. package/es-modules/masters/themes/grid-light.src.d.ts +1 -0
  308. package/es-modules/masters/themes/grid-light.src.js +1 -1
  309. package/es-modules/masters/themes/grid.src.d.ts +1 -0
  310. package/es-modules/masters/themes/grid.src.js +1 -1
  311. package/es-modules/masters/themes/high-contrast-dark.src.d.ts +1 -0
  312. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  313. package/es-modules/masters/themes/high-contrast-light.src.d.ts +1 -0
  314. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  315. package/es-modules/masters/themes/sand-signika.src.d.ts +1 -0
  316. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  317. package/es-modules/masters/themes/skies.src.d.ts +1 -0
  318. package/es-modules/masters/themes/skies.src.js +1 -1
  319. package/es-modules/masters/themes/sunset.src.d.ts +1 -0
  320. package/es-modules/masters/themes/sunset.src.js +1 -1
  321. package/gfx/dashboard-icons/add.svg +8 -0
  322. package/gfx/dashboard-icons/close.svg +1 -0
  323. package/gfx/dashboard-icons/computer.svg +1 -0
  324. package/gfx/dashboard-icons/destroy.svg +1 -0
  325. package/gfx/dashboard-icons/drag.svg +1 -0
  326. package/gfx/dashboard-icons/menu.svg +8 -0
  327. package/gfx/dashboard-icons/settings.svg +1 -0
  328. package/gfx/dashboard-icons/smartphone.svg +46 -0
  329. package/gfx/dashboard-icons/tablet.svg +71 -0
  330. package/highcharts-3d.js +1 -1
  331. package/highcharts-3d.src.js +1 -1
  332. package/highcharts-gantt.js +809 -809
  333. package/highcharts-gantt.js.map +1 -1
  334. package/highcharts-gantt.src.js +180 -218
  335. package/highcharts-more.d.ts +6 -0
  336. package/highcharts-more.js +174 -174
  337. package/highcharts-more.js.map +1 -1
  338. package/highcharts-more.src.d.ts +6 -0
  339. package/highcharts-more.src.js +128 -116
  340. package/highcharts.d.ts +2356 -25971
  341. package/highcharts.js +587 -587
  342. package/highcharts.js.map +1 -1
  343. package/highcharts.src.d.ts +2356 -25971
  344. package/highcharts.src.js +155 -208
  345. package/highmaps.js +756 -756
  346. package/highmaps.js.map +1 -1
  347. package/highmaps.src.js +207 -232
  348. package/highstock.js +795 -796
  349. package/highstock.js.map +1 -1
  350. package/highstock.src.js +169 -219
  351. package/indicators/acceleration-bands.js +1 -1
  352. package/indicators/acceleration-bands.src.js +1 -1
  353. package/indicators/accumulation-distribution.js +1 -1
  354. package/indicators/accumulation-distribution.src.js +1 -1
  355. package/indicators/ao.js +1 -1
  356. package/indicators/ao.src.js +1 -1
  357. package/indicators/apo.js +1 -1
  358. package/indicators/apo.src.js +1 -1
  359. package/indicators/aroon-oscillator.js +1 -1
  360. package/indicators/aroon-oscillator.src.js +1 -1
  361. package/indicators/aroon.js +1 -1
  362. package/indicators/aroon.src.js +1 -1
  363. package/indicators/atr.js +1 -1
  364. package/indicators/atr.src.js +1 -1
  365. package/indicators/bollinger-bands.js +1 -1
  366. package/indicators/bollinger-bands.src.js +1 -1
  367. package/indicators/cci.js +1 -1
  368. package/indicators/cci.src.js +1 -1
  369. package/indicators/chaikin.js +1 -1
  370. package/indicators/chaikin.src.js +1 -1
  371. package/indicators/cmf.js +1 -1
  372. package/indicators/cmf.src.js +1 -1
  373. package/indicators/cmo.js +1 -1
  374. package/indicators/cmo.src.js +1 -1
  375. package/indicators/dema.js +1 -1
  376. package/indicators/dema.src.js +1 -1
  377. package/indicators/disparity-index.js +1 -1
  378. package/indicators/disparity-index.src.js +1 -1
  379. package/indicators/dmi.js +1 -1
  380. package/indicators/dmi.src.js +1 -1
  381. package/indicators/dpo.js +1 -1
  382. package/indicators/dpo.src.js +1 -1
  383. package/indicators/ichimoku-kinko-hyo.js +1 -1
  384. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  385. package/indicators/indicators-all.js +1 -1
  386. package/indicators/indicators-all.src.js +1 -1
  387. package/indicators/indicators.js +1 -1
  388. package/indicators/indicators.src.js +1 -1
  389. package/indicators/keltner-channels.js +1 -1
  390. package/indicators/keltner-channels.src.js +1 -1
  391. package/indicators/klinger.js +1 -1
  392. package/indicators/klinger.src.js +1 -1
  393. package/indicators/macd.js +1 -1
  394. package/indicators/macd.src.js +1 -1
  395. package/indicators/mfi.js +1 -1
  396. package/indicators/mfi.src.js +1 -1
  397. package/indicators/momentum.js +1 -1
  398. package/indicators/momentum.src.js +1 -1
  399. package/indicators/natr.js +1 -1
  400. package/indicators/natr.src.js +1 -1
  401. package/indicators/obv.js +1 -1
  402. package/indicators/obv.src.js +1 -1
  403. package/indicators/pivot-points.js +1 -1
  404. package/indicators/pivot-points.src.js +1 -1
  405. package/indicators/ppo.js +1 -1
  406. package/indicators/ppo.src.js +1 -1
  407. package/indicators/price-channel.js +1 -1
  408. package/indicators/price-channel.src.js +1 -1
  409. package/indicators/price-envelopes.js +1 -1
  410. package/indicators/price-envelopes.src.js +1 -1
  411. package/indicators/psar.js +1 -1
  412. package/indicators/psar.src.js +1 -1
  413. package/indicators/regressions.js +1 -1
  414. package/indicators/regressions.src.js +1 -1
  415. package/indicators/roc.js +1 -1
  416. package/indicators/roc.src.js +1 -1
  417. package/indicators/rsi.js +1 -1
  418. package/indicators/rsi.src.js +1 -1
  419. package/indicators/slow-stochastic.js +1 -1
  420. package/indicators/slow-stochastic.src.js +1 -1
  421. package/indicators/stochastic.js +1 -1
  422. package/indicators/stochastic.src.js +1 -1
  423. package/indicators/supertrend.js +1 -1
  424. package/indicators/supertrend.src.js +1 -1
  425. package/indicators/tema.js +1 -1
  426. package/indicators/tema.src.js +1 -1
  427. package/indicators/trendline.js +1 -1
  428. package/indicators/trendline.src.js +1 -1
  429. package/indicators/trix.js +1 -1
  430. package/indicators/trix.src.js +1 -1
  431. package/indicators/volume-by-price.js +1 -1
  432. package/indicators/volume-by-price.src.js +1 -1
  433. package/indicators/vwap.js +1 -1
  434. package/indicators/vwap.src.js +1 -1
  435. package/indicators/williams-r.js +1 -1
  436. package/indicators/williams-r.src.js +1 -1
  437. package/indicators/wma.js +1 -1
  438. package/indicators/wma.src.js +1 -1
  439. package/indicators/zigzag.js +1 -1
  440. package/indicators/zigzag.src.js +1 -1
  441. package/modules/accessibility.js +233 -232
  442. package/modules/accessibility.js.map +1 -1
  443. package/modules/accessibility.src.js +58 -43
  444. package/modules/annotations-advanced.js +166 -165
  445. package/modules/annotations-advanced.js.map +1 -1
  446. package/modules/annotations-advanced.src.js +9 -4
  447. package/modules/annotations.js +41 -40
  448. package/modules/annotations.js.map +1 -1
  449. package/modules/annotations.src.js +9 -4
  450. package/modules/arc-diagram.js +3 -3
  451. package/modules/arc-diagram.js.map +1 -1
  452. package/modules/arc-diagram.src.js +4 -2
  453. package/modules/arrow-symbols.js +1 -1
  454. package/modules/arrow-symbols.src.js +1 -1
  455. package/modules/boost-canvas.js +1 -1
  456. package/modules/boost-canvas.src.js +1 -1
  457. package/modules/boost.js +1 -1
  458. package/modules/boost.src.js +1 -1
  459. package/modules/broken-axis.js +1 -1
  460. package/modules/broken-axis.src.js +1 -1
  461. package/modules/bullet.js +1 -1
  462. package/modules/bullet.src.js +1 -1
  463. package/modules/coloraxis.js +1 -1
  464. package/modules/coloraxis.src.js +1 -1
  465. package/modules/current-date-indicator.js +1 -1
  466. package/modules/current-date-indicator.src.js +1 -1
  467. package/modules/cylinder.js +1 -1
  468. package/modules/cylinder.src.js +1 -1
  469. package/modules/data.js +1 -1
  470. package/modules/data.src.js +1 -1
  471. package/modules/datagrouping.js +1 -1
  472. package/modules/datagrouping.src.js +1 -1
  473. package/modules/debugger.js +1 -1
  474. package/modules/debugger.src.js +1 -1
  475. package/modules/dependency-wheel.js +1 -1
  476. package/modules/dependency-wheel.src.js +1 -1
  477. package/modules/dotplot.js +1 -1
  478. package/modules/dotplot.src.js +1 -1
  479. package/modules/drag-panes.js +1 -1
  480. package/modules/drag-panes.src.js +1 -1
  481. package/modules/draggable-points.js +1 -1
  482. package/modules/draggable-points.src.js +1 -1
  483. package/modules/drilldown.js +1 -1
  484. package/modules/drilldown.src.js +1 -1
  485. package/modules/dumbbell.js +1 -1
  486. package/modules/dumbbell.src.js +1 -1
  487. package/modules/export-data.js +1 -1
  488. package/modules/export-data.src.js +1 -1
  489. package/modules/exporting.js +1 -1
  490. package/modules/exporting.src.js +1 -1
  491. package/modules/full-screen.js +1 -1
  492. package/modules/full-screen.src.js +1 -1
  493. package/modules/funnel.js +1 -1
  494. package/modules/funnel.src.js +1 -1
  495. package/modules/funnel3d.js +1 -1
  496. package/modules/funnel3d.src.js +1 -1
  497. package/modules/gantt.js +220 -219
  498. package/modules/gantt.js.map +1 -1
  499. package/modules/gantt.src.js +26 -11
  500. package/modules/grid-axis.js +1 -1
  501. package/modules/grid-axis.src.js +1 -1
  502. package/modules/heatmap.js +1 -1
  503. package/modules/heatmap.src.js +1 -1
  504. package/modules/heikinashi.js +1 -1
  505. package/modules/heikinashi.src.js +1 -1
  506. package/modules/histogram-bellcurve.js +1 -1
  507. package/modules/histogram-bellcurve.src.js +1 -1
  508. package/modules/hollowcandlestick.js +1 -1
  509. package/modules/hollowcandlestick.src.js +1 -1
  510. package/modules/item-series.js +1 -1
  511. package/modules/item-series.src.js +1 -1
  512. package/modules/lollipop.js +1 -1
  513. package/modules/lollipop.src.js +1 -1
  514. package/modules/map.js +171 -170
  515. package/modules/map.js.map +1 -1
  516. package/modules/map.src.js +53 -25
  517. package/modules/marker-clusters.js +1 -1
  518. package/modules/marker-clusters.src.js +1 -1
  519. package/modules/networkgraph.js +1 -1
  520. package/modules/networkgraph.src.js +1 -1
  521. package/modules/no-data-to-display.js +1 -1
  522. package/modules/no-data-to-display.src.js +1 -1
  523. package/modules/offline-exporting.js +2 -2
  524. package/modules/offline-exporting.src.js +2 -2
  525. package/modules/oldie-polyfills.js +1 -1
  526. package/modules/oldie-polyfills.src.js +1 -1
  527. package/modules/oldie.js +2 -2
  528. package/modules/oldie.src.js +2 -2
  529. package/modules/organization.js +1 -1
  530. package/modules/organization.src.js +1 -1
  531. package/modules/overlapping-datalabels.js +1 -1
  532. package/modules/overlapping-datalabels.src.js +1 -1
  533. package/modules/parallel-coordinates.js +1 -1
  534. package/modules/parallel-coordinates.src.js +1 -1
  535. package/modules/pareto.js +1 -1
  536. package/modules/pareto.src.js +1 -1
  537. package/modules/pathfinder.js +27 -27
  538. package/modules/pathfinder.js.map +1 -1
  539. package/modules/pathfinder.src.js +9 -8
  540. package/modules/pattern-fill.js +2 -2
  541. package/modules/pattern-fill.js.map +1 -1
  542. package/modules/pattern-fill.src.js +13 -11
  543. package/modules/price-indicator.js +1 -1
  544. package/modules/price-indicator.src.js +1 -1
  545. package/modules/pyramid3d.js +1 -1
  546. package/modules/pyramid3d.src.js +1 -1
  547. package/modules/sankey.js +20 -20
  548. package/modules/sankey.js.map +1 -1
  549. package/modules/sankey.src.js +5 -1
  550. package/modules/series-label.js +19 -18
  551. package/modules/series-label.js.map +1 -1
  552. package/modules/series-label.src.js +134 -98
  553. package/modules/series-on-point.js +1 -1
  554. package/modules/series-on-point.src.js +1 -1
  555. package/modules/solid-gauge.js +1 -1
  556. package/modules/solid-gauge.src.js +1 -1
  557. package/modules/sonification.js +1 -1
  558. package/modules/sonification.src.js +1 -1
  559. package/modules/static-scale.js +1 -1
  560. package/modules/static-scale.src.js +1 -1
  561. package/modules/stock-tools.js +2 -2
  562. package/modules/stock-tools.src.js +3 -3
  563. package/modules/stock.js +205 -205
  564. package/modules/stock.js.map +1 -1
  565. package/modules/stock.src.js +15 -12
  566. package/modules/streamgraph.js +1 -1
  567. package/modules/streamgraph.src.js +1 -1
  568. package/modules/sunburst.js +1 -1
  569. package/modules/sunburst.src.js +1 -1
  570. package/modules/tilemap.js +1 -1
  571. package/modules/tilemap.src.js +1 -1
  572. package/modules/timeline.js +1 -1
  573. package/modules/timeline.src.js +1 -1
  574. package/modules/treegraph.js +32 -31
  575. package/modules/treegraph.js.map +1 -1
  576. package/modules/treegraph.src.js +11 -4
  577. package/modules/treegrid.js +1 -1
  578. package/modules/treegrid.src.js +1 -1
  579. package/modules/treemap.js +1 -1
  580. package/modules/treemap.src.js +1 -1
  581. package/modules/variable-pie.js +1 -1
  582. package/modules/variable-pie.src.js +1 -1
  583. package/modules/variwide.js +1 -1
  584. package/modules/variwide.src.js +1 -1
  585. package/modules/vector.js +1 -1
  586. package/modules/vector.src.js +1 -1
  587. package/modules/venn.js +1 -1
  588. package/modules/venn.src.js +1 -1
  589. package/modules/windbarb.js +15 -15
  590. package/modules/windbarb.js.map +1 -1
  591. package/modules/windbarb.src.js +4 -5
  592. package/modules/wordcloud.js +1 -1
  593. package/modules/wordcloud.src.js +1 -1
  594. package/modules/xrange.js +9 -8
  595. package/modules/xrange.js.map +1 -1
  596. package/modules/xrange.src.js +7 -1
  597. package/package.json +1 -1
  598. package/themes/avocado.js +1 -1
  599. package/themes/avocado.src.js +1 -1
  600. package/themes/brand-dark.js +1 -1
  601. package/themes/brand-dark.src.js +1 -1
  602. package/themes/brand-light.js +1 -1
  603. package/themes/brand-light.src.js +1 -1
  604. package/themes/dark-blue.js +1 -1
  605. package/themes/dark-blue.src.js +1 -1
  606. package/themes/dark-green.js +1 -1
  607. package/themes/dark-green.src.js +1 -1
  608. package/themes/dark-unica.js +1 -1
  609. package/themes/dark-unica.src.js +1 -1
  610. package/themes/gray.js +1 -1
  611. package/themes/gray.src.js +1 -1
  612. package/themes/grid-light.js +1 -1
  613. package/themes/grid-light.src.js +1 -1
  614. package/themes/grid.js +1 -1
  615. package/themes/grid.src.js +1 -1
  616. package/themes/high-contrast-dark.js +1 -1
  617. package/themes/high-contrast-dark.src.js +1 -1
  618. package/themes/high-contrast-light.js +1 -1
  619. package/themes/high-contrast-light.src.js +1 -1
  620. package/themes/sand-signika.js +1 -1
  621. package/themes/sand-signika.src.js +1 -1
  622. package/themes/skies.js +1 -1
  623. package/themes/skies.src.js +1 -1
  624. package/themes/sunset.js +1 -1
  625. package/themes/sunset.src.js +1 -1
package/highmaps.js CHANGED
@@ -1,771 +1,771 @@
1
1
  /*
2
- Highmaps JS v10.3.1 (2022-10-31)
2
+ Highmaps JS v10.3.2 (2022-11-28)
3
3
 
4
4
  (c) 2011-2021 Torstein Honsi
5
5
 
6
6
  License: www.highcharts.com/license
7
7
  */
8
- (function(Z,J){"object"===typeof module&&module.exports?(J["default"]=J,module.exports=Z.document?J(Z):J):"function"===typeof define&&define.amd?define("highcharts/highmaps",function(){return J(Z)}):(Z.Highcharts&&Z.Highcharts.error(16,!0),Z.Highcharts=J(Z))})("undefined"!==typeof window?window:this,function(Z){function J(b,K,e,C){b.hasOwnProperty(K)||(b[K]=C.apply(null,e),"function"===typeof CustomEvent&&Z.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:K,module:b[K]}})))}var e=
9
- {};J(e,"Core/Globals.js",[],function(){var b;(function(b){b.SVG_NS="http://www.w3.org/2000/svg";b.product="Highcharts";b.version="10.3.1";b.win="undefined"!==typeof Z?Z:{};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=
10
- !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 e=!1;if(!b.isMS){var K=Object.defineProperty({},"passive",{get:function(){e=!0}});
11
- b.win.addEventListener&&b.win.removeEventListener&&(b.win.addEventListener("testPassive",b.noop,K),b.win.removeEventListener("testPassive",b.noop,K))}return e}();b.charts=[];b.dateFormats={};b.seriesTypes={};b.symbolSizes={};b.chartCount=0})(b||(b={}));"";return b});J(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(b){function e(c,g,h,H){var z=g?"Highcharts error":"Highcharts warning";32===c&&(c=""+z+": Deprecated member");var a=m(c),G=a?""+z+" #"+c+": www.highcharts.com/errors/"+c+"/":c.toString();
12
- if("undefined"!==typeof H){var n="";a&&(G+="?");w(H,function(c,g){n+="\n - ".concat(g,": ").concat(c);a&&(G+=encodeURI(g)+"="+encodeURI(c))});G+=n}t(b,"displayError",{chart:h,code:c,message:G,params:H},function(){if(g)throw Error(G);r.console&&-1===e.messages.indexOf(G)&&console.warn(G)});e.messages.push(G)}function u(c,g){var z={};w(c,function(H,h){if(F(c[h],!0)&&!c.nodeType&&g[h])H=u(c[h],g[h]),Object.keys(H).length&&(z[h]=H);else if(F(c[h])||c[h]!==g[h]||h in c&&!(h in g))z[h]=c[h]});return z}
13
- function C(c,g){return parseInt(c,g||10)}function B(c){return"string"===typeof c}function q(c){c=Object.prototype.toString.call(c);return"[object Array]"===c||"[object Array Iterator]"===c}function F(c,g){return!!c&&"object"===typeof c&&(!g||!q(c))}function x(c){return F(c)&&"number"===typeof c.nodeType}function v(c){var g=c&&c.constructor;return!(!F(c,!0)||x(c)||!g||!g.name||"Object"===g.name)}function m(c){return"number"===typeof c&&!isNaN(c)&&Infinity>c&&-Infinity<c}function l(c){return"undefined"!==
14
- typeof c&&null!==c}function a(c,g,h){var H=B(g)&&!l(h),z,a=function(g,h){l(g)?c.setAttribute(h,g):H?(z=c.getAttribute(h))||"class"!==h||(z=c.getAttribute(h+"Name")):c.removeAttribute(h)};B(g)?a(h,g):w(g,a);return z}function f(c,g){var h;c||(c={});for(h in g)c[h]=g[h];return c}function d(){for(var c=arguments,g=c.length,h=0;h<g;h++){var H=c[h];if("undefined"!==typeof H&&null!==H)return H}}function k(c,g){b.isMS&&!b.svg&&g&&l(g.opacity)&&(g.filter="alpha(opacity=".concat(100*g.opacity,")"));f(c.style,
15
- g)}function p(c){return Math.pow(10,Math.floor(Math.log(c)/Math.LN10))}function E(c,g){return 1E14<c?c:parseFloat(c.toPrecision(g||14))}function A(c,g,h){var H=b.getStyle||A;if("width"===g)return g=Math.min(c.offsetWidth,c.scrollWidth),h=c.getBoundingClientRect&&c.getBoundingClientRect().width,h<g&&h>=g-1&&(g=Math.floor(h)),Math.max(0,g-(H(c,"padding-left",!0)||0)-(H(c,"padding-right",!0)||0));if("height"===g)return Math.max(0,Math.min(c.offsetHeight,c.scrollHeight)-(H(c,"padding-top",!0)||0)-(H(c,
16
- "padding-bottom",!0)||0));r.getComputedStyle||e(27,!0);if(c=r.getComputedStyle(c,void 0)){var z=c.getPropertyValue(g);d(h,"opacity"!==g)&&(z=C(z))}return z}function w(c,g,h){for(var H in c)Object.hasOwnProperty.call(c,H)&&g.call(h||c[H],c[H],H,c)}function I(c,g,h){function H(g,h){var H=c.removeEventListener||b.removeEventListenerPolyfill;H&&H.call(c,g,h,!1)}function a(h){var z;if(c.nodeName){if(g){var a={};a[g]=!0}else a=h;w(a,function(c,g){if(h[g])for(z=h[g].length;z--;)H(g,h[g][z].fn)})}}var z=
17
- "function"===typeof c&&c.prototype||c;if(Object.hasOwnProperty.call(z,"hcEvents")){var n=z.hcEvents;g?(z=n[g]||[],h?(n[g]=z.filter(function(c){return h!==c.fn}),H(g,h)):(a(n),n[g]=[])):(a(n),delete z.hcEvents)}}function t(c,g,h,H){h=h||{};if(y.createEvent&&(c.dispatchEvent||c.fireEvent&&c!==b)){var a=y.createEvent("Events");a.initEvent(g,!0,!0);h=f(a,h);c.dispatchEvent?c.dispatchEvent(h):c.fireEvent(g,h)}else if(c.hcEvents){h.target||f(h,{preventDefault:function(){h.defaultPrevented=!0},target:c,
18
- type:g});a=[];for(var z=c,n=!1;z.hcEvents;)Object.hasOwnProperty.call(z,"hcEvents")&&z.hcEvents[g]&&(a.length&&(n=!0),a.unshift.apply(a,z.hcEvents[g])),z=Object.getPrototypeOf(z);n&&a.sort(function(c,g){return c.order-g.order});a.forEach(function(g){!1===g.fn.call(c,h)&&h.preventDefault()})}H&&!h.defaultPrevented&&H.call(c,h)}var h=b.charts,y=b.doc,r=b.win;(e||(e={})).messages=[];Math.easeInOutSine=function(c){return-.5*(Math.cos(Math.PI*c)-1)};var n=Array.prototype.find?function(c,g){return c.find(g)}:
19
- function(c,g){var h,H=c.length;for(h=0;h<H;h++)if(g(c[h],h))return c[h]};w({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(c,g){b[g]=function(h){var H;e(32,!1,void 0,(H={},H["Highcharts.".concat(g)]="use Array.".concat(c),H));return Array.prototype[c].apply(h,[].slice.call(arguments,1))}});var g,D=function(){var c=Math.random().toString(36).substring(2,9)+"-",h=0;return function(){return"highcharts-"+(g?"":c)+h++}}();r.jQuery&&(r.jQuery.fn.highcharts=function(){var c=
20
- [].slice.call(arguments);if(this[0])return c[0]?(new (b[B(c[0])?c.shift():"Chart"])(this[0],c[0],c[1]),this):h[a(this[0],"data-highcharts-chart")]});n={addEvent:function(c,g,h,H){void 0===H&&(H={});var a="function"===typeof c&&c.prototype||c;Object.hasOwnProperty.call(a,"hcEvents")||(a.hcEvents={});a=a.hcEvents;b.Point&&c instanceof b.Point&&c.series&&c.series.chart&&(c.series.chart.runTrackerClick=!0);var z=c.addEventListener||b.addEventListenerPolyfill;z&&z.call(c,g,h,b.supportsPassiveEvents?{passive:void 0===
21
- H.passive?-1!==g.indexOf("touch"):H.passive,capture:!1}:!1);a[g]||(a[g]=[]);a[g].push({fn:h,order:"number"===typeof H.order?H.order:Infinity});a[g].sort(function(c,g){return c.order-g.order});return function(){I(c,g,h)}},arrayMax:function(c){for(var g=c.length,h=c[0];g--;)c[g]>h&&(h=c[g]);return h},arrayMin:function(c){for(var g=c.length,h=c[0];g--;)c[g]<h&&(h=c[g]);return h},attr:a,clamp:function(c,g,h){return c>g?c<h?c:h:g},cleanRecursively:u,clearTimeout:function(c){l(c)&&clearTimeout(c)},correctFloat:E,
22
- createElement:function(c,g,h,H,a){c=y.createElement(c);g&&f(c,g);a&&k(c,{padding:"0",border:"none",margin:"0"});h&&k(c,h);H&&H.appendChild(c);return c},css:k,defined:l,destroyObjectProperties:function(c,g){w(c,function(h,H){h&&h!==g&&h.destroy&&h.destroy();delete c[H]})},discardElement:function(c){c&&c.parentElement&&c.parentElement.removeChild(c)},erase:function(c,g){for(var h=c.length;h--;)if(c[h]===g){c.splice(h,1);break}},error:e,extend:f,extendClass:function(c,g){var h=function(){};h.prototype=
23
- new c;f(h.prototype,g);return h},find:n,fireEvent:t,getMagnitude:p,getNestedProperty:function(c,g){for(c=c.split(".");c.length&&l(g);){var h=c.shift();if("undefined"===typeof h||"__proto__"===h)return;g=g[h];if(!l(g)||"function"===typeof g||"number"===typeof g.nodeType||g===r)return}return g},getStyle:A,inArray:function(c,g,h){e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"});return g.indexOf(c,h)},isArray:q,isClass:v,isDOMElement:x,isFunction:function(c){return"function"===typeof c},isNumber:m,
24
- isObject:F,isString:B,keys:function(c){e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(c)},merge:function(){var c,g=arguments,h={},H=function(c,g){"object"!==typeof c&&(c={});w(g,function(h,a){"__proto__"!==a&&"constructor"!==a&&(!F(h,!0)||v(h)||x(h)?c[a]=g[a]:c[a]=H(c[a]||{},h))});return c};!0===g[0]&&(h=g[1],g=Array.prototype.slice.call(g,2));var a=g.length;for(c=0;c<a;c++)h=H(h,g[c]);return h},normalizeTickInterval:function(c,g,h,H,a){var n=c;h=d(h,p(c));var r=c/h;g||(g=
25
- a?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===H&&(1===h?g=g.filter(function(c){return 0===c%1}):.1>=h&&(g=[1/h])));for(H=0;H<g.length&&!(n=g[H],a&&n*h>=c||!a&&r<=(g[H]+(g[H+1]||g[H]))/2);H++);return n=E(n*h,-Math.round(Math.log(.001)/Math.LN10))},objectEach:w,offset:function(c){var g=y.documentElement;c=c.parentElement||c.parentNode?c.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:c.top+(r.pageYOffset||g.scrollTop)-(g.clientTop||0),left:c.left+(r.pageXOffset||g.scrollLeft)-
26
- (g.clientLeft||0),width:c.width,height:c.height}},pad:function(c,g,h){return Array((g||2)+1-String(c).replace("-","").length).join(h||"0")+c},pick:d,pInt:C,relativeLength:function(c,g,h){return/%$/.test(c)?g*parseFloat(c)/100+(h||0):parseFloat(c)},removeEvent:I,splat:function(c){return q(c)?c:[c]},stableSort:function(c,g){var h=c.length,H,a;for(a=0;a<h;a++)c[a].safeI=a;c.sort(function(c,h){H=g(c,h);return 0===H?c.safeI-h.safeI:H});for(a=0;a<h;a++)delete c[a].safeI},syncTimeout:function(c,g,h){if(0<
27
- g)return setTimeout(c,g,h);c.call(0,h);return-1},timeUnits:{millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5},uniqueKey:D,useSerialIds:function(c){return g=d(c,g)},wrap:function(c,g,h){var a=c[g];c[g]=function(){var c=arguments,g=this;return h.apply(this,[function(){return a.apply(g,arguments.length?arguments:c)}].concat([].slice.call(arguments)))}}};"";return n});J(e,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,
28
- type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}});J(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,
29
- e){var K=e.isNumber,C=e.merge,B=e.pInt;e=function(){function e(F){this.rgba=[NaN,NaN,NaN,NaN];this.input=F;var x=b.Color;if(x&&x!==e)return new x(F);if(!(this instanceof e))return new e(F);this.init(F)}e.parse=function(b){return b?new e(b):e.None};e.prototype.init=function(b){var x;if("object"===typeof b&&"undefined"!==typeof b.stops)this.stops=b.stops.map(function(a){return new e(a[1])});else if("string"===typeof b){this.input=b=e.names[b.toLowerCase()]||b;if("#"===b.charAt(0)){var v=b.length;var m=
30
- parseInt(b.substr(1),16);7===v?x=[(m&16711680)>>16,(m&65280)>>8,m&255,1]:4===v&&(x=[(m&3840)>>4|(m&3840)>>8,(m&240)>>4|m&240,(m&15)<<4|m&15,1])}if(!x)for(m=e.parsers.length;m--&&!x;){var l=e.parsers[m];(v=l.regex.exec(b))&&(x=l.parse(v))}}x&&(this.rgba=x)};e.prototype.get=function(b){var x=this.input,v=this.rgba;if("object"===typeof x&&"undefined"!==typeof this.stops){var m=C(x);m.stops=[].slice.call(m.stops);this.stops.forEach(function(l,a){m.stops[a]=[m.stops[a][0],l.get(b)]});return m}return v&&
31
- K(v[0])?"rgb"===b||!b&&1===v[3]?"rgb("+v[0]+","+v[1]+","+v[2]+")":"a"===b?"".concat(v[3]):"rgba("+v.join(",")+")":x};e.prototype.brighten=function(b){var x=this.rgba;if(this.stops)this.stops.forEach(function(m){m.brighten(b)});else if(K(b)&&0!==b)for(var v=0;3>v;v++)x[v]+=B(255*b),0>x[v]&&(x[v]=0),255<x[v]&&(x[v]=255);return this};e.prototype.setOpacity=function(b){this.rgba[3]=b;return this};e.prototype.tweenTo=function(b,x){var v=this.rgba,m=b.rgba;if(!K(v[0])||!K(m[0]))return b.input||"none";b=
32
- 1!==m[3]||1!==v[3];return(b?"rgba(":"rgb(")+Math.round(m[0]+(v[0]-m[0])*(1-x))+","+Math.round(m[1]+(v[1]-m[1])*(1-x))+","+Math.round(m[2]+(v[2]-m[2])*(1-x))+(b?","+(m[3]+(v[3]-m[3])*(1-x)):"")+")"};e.names={white:"#ffffff",black:"#000000"};e.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[B(b[1]),B(b[2]),B(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[B(b[1]),
33
- B(b[2]),B(b[3]),1]}}];e.None=new e("");return e}();"";return e});J(e,"Core/Color/Palettes.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}});J(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e){var u=b.win,K=e.defined,B=e.error,q=e.extend,F=e.isObject,x=e.merge,v=e.objectEach,m=e.pad,l=e.pick,a=e.splat,f=e.timeUnits,d=b.isSafari&&u.Intl&&u.Intl.DateTimeFormat.prototype.formatRange,k=b.isSafari&&
34
- u.Intl&&!u.Intl.DateTimeFormat.prototype.formatRange;e=function(){function p(a){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=u.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(a)}p.prototype.get=function(a,d){if(this.variableTimezone||this.timezoneOffset){var f=d.getTime(),k=f-this.getTimezoneOffset(d);d.setTime(k);a=d["getUTC"+a]();d.setTime(f);return a}return this.useUTC?d["getUTC"+a]():d["get"+a]()};p.prototype.set=function(a,f,k){if(this.variableTimezone||
35
- this.timezoneOffset){if("Milliseconds"===a||"Seconds"===a||"Minutes"===a&&0===this.getTimezoneOffset(f)%36E5)return f["setUTC"+a](k);var p=this.getTimezoneOffset(f);p=f.getTime()-p;f.setTime(p);f["setUTC"+a](k);a=this.getTimezoneOffset(f);p=f.getTime()+a;return f.setTime(p)}return this.useUTC||d&&"FullYear"===a?f["setUTC"+a](k):f["set"+a](k)};p.prototype.update=function(a){void 0===a&&(a={});var d=l(a.useUTC,!0);this.options=a=x(!0,this.options,a);this.Date=a.Date||u.Date||Date;this.timezoneOffset=
36
- (this.useUTC=d)&&a.timezoneOffset||void 0;this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=d&&!(!a.getTimezoneOffset&&!a.timezone)};p.prototype.makeTime=function(a,d,f,p,t,h){if(this.useUTC){var y=this.Date.UTC.apply(0,arguments);var r=this.getTimezoneOffset(y);y+=r;var n=this.getTimezoneOffset(y);r!==n?y+=n-r:r-36E5!==this.getTimezoneOffset(y-36E5)||k||(y-=36E5)}else y=(new this.Date(a,d,l(f,1),l(p,0),l(t,0),l(h,0))).getTime();return y};p.prototype.timezoneOffsetFunction=
37
- function(){var a=this,d=this.options,f=d.getTimezoneOffset,k=d.moment||u.moment;if(!this.useUTC)return function(a){return 6E4*(new Date(a.toString())).getTimezoneOffset()};if(d.timezone){if(k)return function(a){return 6E4*-k.tz(a,d.timezone).utcOffset()};B(25)}return this.useUTC&&f?function(a){return 6E4*f(a.valueOf())}:function(){return 6E4*(a.timezoneOffset||0)}};p.prototype.dateFormat=function(a,d,f){if(!K(d)||isNaN(d))return b.defaultOptions.lang&&b.defaultOptions.lang.invalidDate||"";a=l(a,"%Y-%m-%d %H:%M:%S");
38
- var k=this,t=new this.Date(d),h=this.get("Hours",t),y=this.get("Day",t),r=this.get("Date",t),n=this.get("Month",t),g=this.get("FullYear",t),D=b.defaultOptions.lang,c=D&&D.weekdays,z=D&&D.shortWeekdays;t=q({a:z?z[y]:c[y].substr(0,3),A:c[y],d:m(r),e:m(r,2," "),w:y,b:D.shortMonths[n],B:D.months[n],m:m(n+1),o:n+1,y:g.toString().substr(2,2),Y:g,H:m(h),k:h,I:m(h%12||12),l:h%12||12,M:m(this.get("Minutes",t)),p:12>h?"AM":"PM",P:12>h?"am":"pm",S:m(t.getSeconds()),L:m(Math.floor(d%1E3),3)},b.dateFormats);v(t,
39
- function(c,g){for(;-1!==a.indexOf("%"+g);)a=a.replace("%"+g,"function"===typeof c?c.call(k,d):c)});return f?a.substr(0,1).toUpperCase()+a.substr(1):a};p.prototype.resolveDTLFormat=function(d){return F(d,!0)?d:(d=a(d),{main:d[0],from:d[1],to:d[2]})};p.prototype.getTimeTicks=function(a,d,k,p){var t=this,h=[],y={},r=new t.Date(d),n=a.unitRange,g=a.count||1,D;p=l(p,1);if(K(d)){t.set("Milliseconds",r,n>=f.second?0:g*Math.floor(t.get("Milliseconds",r)/g));n>=f.second&&t.set("Seconds",r,n>=f.minute?0:g*
40
- Math.floor(t.get("Seconds",r)/g));n>=f.minute&&t.set("Minutes",r,n>=f.hour?0:g*Math.floor(t.get("Minutes",r)/g));n>=f.hour&&t.set("Hours",r,n>=f.day?0:g*Math.floor(t.get("Hours",r)/g));n>=f.day&&t.set("Date",r,n>=f.month?1:Math.max(1,g*Math.floor(t.get("Date",r)/g)));if(n>=f.month){t.set("Month",r,n>=f.year?0:g*Math.floor(t.get("Month",r)/g));var c=t.get("FullYear",r)}n>=f.year&&t.set("FullYear",r,c-c%g);n===f.week&&(c=t.get("Day",r),t.set("Date",r,t.get("Date",r)-c+p+(c<p?-7:0)));c=t.get("FullYear",
41
- r);p=t.get("Month",r);var z=t.get("Date",r),G=t.get("Hours",r);d=r.getTime();!t.variableTimezone&&t.useUTC||!K(k)||(D=k-d>4*f.month||t.getTimezoneOffset(d)!==t.getTimezoneOffset(k));d=r.getTime();for(r=1;d<k;)h.push(d),d=n===f.year?t.makeTime(c+r*g,0):n===f.month?t.makeTime(c,p+r*g):!D||n!==f.day&&n!==f.week?D&&n===f.hour&&1<g?t.makeTime(c,p,z,G+r*g):d+n*g:t.makeTime(c,p,z+r*g*(n===f.day?1:7)),r++;h.push(d);n<=f.hour&&1E4>h.length&&h.forEach(function(c){0===c%18E5&&"000000000"===t.dateFormat("%H%M%S%L",
42
- c)&&(y[c]="day")})}h.info=q(a,{higherRanks:y,totalRange:n*g});return h};p.prototype.getDateFormat=function(a,d,k,p){var t=this.dateFormat("%m-%d %H:%M:%S.%L",d),h={millisecond:15,second:12,minute:9,hour:6,day:3},y="millisecond";for(r in f){if(a===f.week&&+this.dateFormat("%w",d)===k&&"00:00:00.000"===t.substr(6)){var r="week";break}if(f[r]>a){r=y;break}if(h[r]&&t.substr(h[r])!=="01-01 00:00:00.000".substr(h[r]))break;"week"!==r&&(y=r)}return this.resolveDTLFormat(p[r]).main};return p}();"";return e});
43
- J(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q){e=e.parse;var K=q.merge,x={colors:C.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(" "),
8
+ (function(Y,H){"object"===typeof module&&module.exports?(H["default"]=H,module.exports=Y.document?H(Y):H):"function"===typeof define&&define.amd?define("highcharts/highmaps",function(){return H(Y)}):(Y.Highcharts&&Y.Highcharts.error(16,!0),Y.Highcharts=H(Y))})("undefined"!==typeof window?window:this,function(Y){function H(b,I,e,C){b.hasOwnProperty(I)||(b[I]=C.apply(null,e),"function"===typeof CustomEvent&&Y.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:I,module:b[I]}})))}var e=
9
+ {};H(e,"Core/Globals.js",[],function(){var b;(function(b){b.SVG_NS="http://www.w3.org/2000/svg";b.product="Highcharts";b.version="10.3.2";b.win="undefined"!==typeof Y?Y:{};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=
10
+ !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 e=!1;if(!b.isMS){var I=Object.defineProperty({},"passive",{get:function(){e=!0}});
11
+ b.win.addEventListener&&b.win.removeEventListener&&(b.win.addEventListener("testPassive",b.noop,I),b.win.removeEventListener("testPassive",b.noop,I))}return e}();b.charts=[];b.dateFormats={};b.seriesTypes={};b.symbolSizes={};b.chartCount=0})(b||(b={}));"";return b});H(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(b){function e(l,c,g,J){var v=c?"Highcharts error":"Highcharts warning";32===l&&(l=""+v+": Deprecated member");var a=n(l),d=a?""+v+" #"+l+": www.highcharts.com/errors/"+l+"/":l.toString();
12
+ if("undefined"!==typeof J){var f="";a&&(d+="?");x(J,function(l,c){f+="\n - ".concat(c,": ").concat(l);a&&(d+=encodeURI(c)+"="+encodeURI(l))});d+=f}q(b,"displayError",{chart:g,code:l,message:d,params:J},function(){if(c)throw Error(d);m.console&&-1===e.messages.indexOf(d)&&console.warn(d)});e.messages.push(d)}function z(l,c){var v={};x(l,function(g,m){if(G(l[m],!0)&&!l.nodeType&&c[m])g=z(l[m],c[m]),Object.keys(g).length&&(v[m]=g);else if(G(l[m])||l[m]!==c[m]||m in l&&!(m in c))v[m]=l[m]});return v}
13
+ function C(l,c){return parseInt(l,c||10)}function w(l){return"string"===typeof l}function y(l){l=Object.prototype.toString.call(l);return"[object Array]"===l||"[object Array Iterator]"===l}function G(l,c){return!!l&&"object"===typeof l&&(!c||!y(l))}function t(l){return G(l)&&"number"===typeof l.nodeType}function r(l){var c=l&&l.constructor;return!(!G(l,!0)||t(l)||!c||!c.name||"Object"===c.name)}function n(l){return"number"===typeof l&&!isNaN(l)&&Infinity>l&&-Infinity<l}function h(l){return"undefined"!==
14
+ typeof l&&null!==l}function a(l,c,g){var v=w(c)&&!h(g),m,a=function(c,g){h(c)?l.setAttribute(g,c):v?(m=l.getAttribute(g))||"class"!==g||(m=l.getAttribute(g+"Name")):l.removeAttribute(g)};w(c)?a(g,c):x(c,a);return m}function f(l,c){var g;l||(l={});for(g in c)l[g]=c[g];return l}function d(){for(var l=arguments,c=l.length,g=0;g<c;g++){var m=l[g];if("undefined"!==typeof m&&null!==m)return m}}function k(l,c){b.isMS&&!b.svg&&c&&h(c.opacity)&&(c.filter="alpha(opacity=".concat(100*c.opacity,")"));f(l.style,
15
+ c)}function p(l){return Math.pow(10,Math.floor(Math.log(l)/Math.LN10))}function D(l,c){return 1E14<l?l:parseFloat(l.toPrecision(c||14))}function A(l,c,g){var v=b.getStyle||A;if("width"===c)return c=Math.min(l.offsetWidth,l.scrollWidth),g=l.getBoundingClientRect&&l.getBoundingClientRect().width,g<c&&g>=c-1&&(c=Math.floor(g)),Math.max(0,c-(v(l,"padding-left",!0)||0)-(v(l,"padding-right",!0)||0));if("height"===c)return Math.max(0,Math.min(l.offsetHeight,l.scrollHeight)-(v(l,"padding-top",!0)||0)-(v(l,
16
+ "padding-bottom",!0)||0));m.getComputedStyle||e(27,!0);if(l=m.getComputedStyle(l,void 0)){var a=l.getPropertyValue(c);d(g,"opacity"!==c)&&(a=C(a))}return a}function x(l,c,g){for(var m in l)Object.hasOwnProperty.call(l,m)&&c.call(g||l[m],l[m],m,l)}function E(l,c,g){function m(c,g){var m=l.removeEventListener||b.removeEventListenerPolyfill;m&&m.call(l,c,g,!1)}function v(g){var v;if(l.nodeName){if(c){var J={};J[c]=!0}else J=g;x(J,function(l,c){if(g[c])for(v=g[c].length;v--;)m(c,g[c][v].fn)})}}var a=
17
+ "function"===typeof l&&l.prototype||l;if(Object.hasOwnProperty.call(a,"hcEvents")){var d=a.hcEvents;c?(a=d[c]||[],g?(d[c]=a.filter(function(l){return g!==l.fn}),m(c,g)):(v(d),d[c]=[])):(v(d),delete a.hcEvents)}}function q(l,c,g,m){g=g||{};if(B.createEvent&&(l.dispatchEvent||l.fireEvent&&l!==b)){var v=B.createEvent("Events");v.initEvent(c,!0,!0);g=f(v,g);l.dispatchEvent?l.dispatchEvent(g):l.fireEvent(c,g)}else if(l.hcEvents){g.target||f(g,{preventDefault:function(){g.defaultPrevented=!0},target:l,
18
+ type:c});v=[];for(var J=l,a=!1;J.hcEvents;)Object.hasOwnProperty.call(J,"hcEvents")&&J.hcEvents[c]&&(v.length&&(a=!0),v.unshift.apply(v,J.hcEvents[c])),J=Object.getPrototypeOf(J);a&&v.sort(function(l,c){return l.order-c.order});v.forEach(function(c){!1===c.fn.call(l,g)&&g.preventDefault()})}m&&!g.defaultPrevented&&m.call(l,g)}var c=b.charts,B=b.doc,m=b.win;(e||(e={})).messages=[];Math.easeInOutSine=function(l){return-.5*(Math.cos(Math.PI*l)-1)};var u=Array.prototype.find?function(l,c){return l.find(c)}:
19
+ function(l,c){var g,m=l.length;for(g=0;g<m;g++)if(c(l[g],g))return l[g]};x({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(l,c){b[c]=function(g){var m;e(32,!1,void 0,(m={},m["Highcharts.".concat(c)]="use Array.".concat(l),m));return Array.prototype[l].apply(g,[].slice.call(arguments,1))}});var g,F=function(){var l=Math.random().toString(36).substring(2,9)+"-",c=0;return function(){return"highcharts-"+(g?"":l)+c++}}();m.jQuery&&(m.jQuery.fn.highcharts=function(){var l=
20
+ [].slice.call(arguments);if(this[0])return l[0]?(new (b[w(l[0])?l.shift():"Chart"])(this[0],l[0],l[1]),this):c[a(this[0],"data-highcharts-chart")]});u={addEvent:function(l,c,g,m){void 0===m&&(m={});var v="function"===typeof l&&l.prototype||l;Object.hasOwnProperty.call(v,"hcEvents")||(v.hcEvents={});v=v.hcEvents;b.Point&&l instanceof b.Point&&l.series&&l.series.chart&&(l.series.chart.runTrackerClick=!0);var a=l.addEventListener||b.addEventListenerPolyfill;a&&a.call(l,c,g,b.supportsPassiveEvents?{passive:void 0===
21
+ m.passive?-1!==c.indexOf("touch"):m.passive,capture:!1}:!1);v[c]||(v[c]=[]);v[c].push({fn:g,order:"number"===typeof m.order?m.order:Infinity});v[c].sort(function(l,c){return l.order-c.order});return function(){E(l,c,g)}},arrayMax:function(l){for(var c=l.length,g=l[0];c--;)l[c]>g&&(g=l[c]);return g},arrayMin:function(c){for(var l=c.length,g=c[0];l--;)c[l]<g&&(g=c[l]);return g},attr:a,clamp:function(c,g,m){return c>g?c<m?c:m:g},cleanRecursively:z,clearTimeout:function(c){h(c)&&clearTimeout(c)},correctFloat:D,
22
+ createElement:function(c,g,m,a,d){c=B.createElement(c);g&&f(c,g);d&&k(c,{padding:"0",border:"none",margin:"0"});m&&k(c,m);a&&a.appendChild(c);return c},css:k,defined:h,destroyObjectProperties:function(c,g){x(c,function(l,m){l&&l!==g&&l.destroy&&l.destroy();delete c[m]})},discardElement:function(c){c&&c.parentElement&&c.parentElement.removeChild(c)},erase:function(c,g){for(var l=c.length;l--;)if(c[l]===g){c.splice(l,1);break}},error:e,extend:f,extendClass:function(c,g){var l=function(){};l.prototype=
23
+ new c;f(l.prototype,g);return l},find:u,fireEvent:q,getMagnitude:p,getNestedProperty:function(c,g){for(c=c.split(".");c.length&&h(g);){var l=c.shift();if("undefined"===typeof l||"__proto__"===l)return;g=g[l];if(!h(g)||"function"===typeof g||"number"===typeof g.nodeType||g===m)return}return g},getStyle:A,inArray:function(c,g,m){e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"});return g.indexOf(c,m)},isArray:y,isClass:r,isDOMElement:t,isFunction:function(c){return"function"===typeof c},isNumber:n,
24
+ isObject:G,isString:w,keys:function(c){e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(c)},merge:function(){var c,g=arguments,m={},a=function(c,l){"object"!==typeof c&&(c={});x(l,function(g,m){"__proto__"!==m&&"constructor"!==m&&(!G(g,!0)||r(g)||t(g)?c[m]=l[m]:c[m]=a(c[m]||{},g))});return c};!0===g[0]&&(m=g[1],g=Array.prototype.slice.call(g,2));var d=g.length;for(c=0;c<d;c++)m=a(m,g[c]);return m},normalizeTickInterval:function(c,g,m,a,q){var l=c;m=d(m,p(c));var J=c/m;g||(g=
25
+ q?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===a&&(1===m?g=g.filter(function(c){return 0===c%1}):.1>=m&&(g=[1/m])));for(a=0;a<g.length&&!(l=g[a],q&&l*m>=c||!q&&J<=(g[a]+(g[a+1]||g[a]))/2);a++);return l=D(l*m,-Math.round(Math.log(.001)/Math.LN10))},objectEach:x,offset:function(c){var g=B.documentElement;c=c.parentElement||c.parentNode?c.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:c.top+(m.pageYOffset||g.scrollTop)-(g.clientTop||0),left:c.left+(m.pageXOffset||g.scrollLeft)-
26
+ (g.clientLeft||0),width:c.width,height:c.height}},pad:function(c,g,m){return Array((g||2)+1-String(c).replace("-","").length).join(m||"0")+c},pick:d,pInt:C,relativeLength:function(c,g,m){return/%$/.test(c)?g*parseFloat(c)/100+(m||0):parseFloat(c)},removeEvent:E,splat:function(c){return y(c)?c:[c]},stableSort:function(c,g){var l=c.length,m,a;for(a=0;a<l;a++)c[a].safeI=a;c.sort(function(c,l){m=g(c,l);return 0===m?c.safeI-l.safeI:m});for(a=0;a<l;a++)delete c[a].safeI},syncTimeout:function(c,g,m){if(0<
27
+ g)return setTimeout(c,g,m);c.call(0,m);return-1},timeUnits:{millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5},uniqueKey:F,useSerialIds:function(c){return g=d(c,g)},wrap:function(c,g,m){var l=c[g];c[g]=function(){var c=arguments,g=this;return m.apply(this,[function(){return l.apply(g,arguments.length?arguments:c)}].concat([].slice.call(arguments)))}}};"";return u});H(e,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,
28
+ type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}});H(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,
29
+ e){var I=e.isNumber,C=e.merge,w=e.pInt;e=function(){function e(G){this.rgba=[NaN,NaN,NaN,NaN];this.input=G;var t=b.Color;if(t&&t!==e)return new t(G);if(!(this instanceof e))return new e(G);this.init(G)}e.parse=function(b){return b?new e(b):e.None};e.prototype.init=function(b){var t;if("object"===typeof b&&"undefined"!==typeof b.stops)this.stops=b.stops.map(function(a){return new e(a[1])});else if("string"===typeof b){this.input=b=e.names[b.toLowerCase()]||b;if("#"===b.charAt(0)){var r=b.length;var n=
30
+ parseInt(b.substr(1),16);7===r?t=[(n&16711680)>>16,(n&65280)>>8,n&255,1]:4===r&&(t=[(n&3840)>>4|(n&3840)>>8,(n&240)>>4|n&240,(n&15)<<4|n&15,1])}if(!t)for(n=e.parsers.length;n--&&!t;){var h=e.parsers[n];(r=h.regex.exec(b))&&(t=h.parse(r))}}t&&(this.rgba=t)};e.prototype.get=function(b){var t=this.input,r=this.rgba;if("object"===typeof t&&"undefined"!==typeof this.stops){var n=C(t);n.stops=[].slice.call(n.stops);this.stops.forEach(function(h,a){n.stops[a]=[n.stops[a][0],h.get(b)]});return n}return r&&
31
+ I(r[0])?"rgb"===b||!b&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===b?"".concat(r[3]):"rgba("+r.join(",")+")":t};e.prototype.brighten=function(b){var t=this.rgba;if(this.stops)this.stops.forEach(function(n){n.brighten(b)});else if(I(b)&&0!==b)for(var r=0;3>r;r++)t[r]+=w(255*b),0>t[r]&&(t[r]=0),255<t[r]&&(t[r]=255);return this};e.prototype.setOpacity=function(b){this.rgba[3]=b;return this};e.prototype.tweenTo=function(b,t){var r=this.rgba,n=b.rgba;if(!I(r[0])||!I(n[0]))return b.input||"none";b=
32
+ 1!==n[3]||1!==r[3];return(b?"rgba(":"rgb(")+Math.round(n[0]+(r[0]-n[0])*(1-t))+","+Math.round(n[1]+(r[1]-n[1])*(1-t))+","+Math.round(n[2]+(r[2]-n[2])*(1-t))+(b?","+(n[3]+(r[3]-n[3])*(1-t)):"")+")"};e.names={white:"#ffffff",black:"#000000"};e.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[w(b[1]),w(b[2]),w(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[w(b[1]),
33
+ w(b[2]),w(b[3]),1]}}];e.None=new e("");return e}();"";return e});H(e,"Core/Color/Palettes.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}});H(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e){var z=b.win,I=e.defined,w=e.error,y=e.extend,G=e.isObject,t=e.merge,r=e.objectEach,n=e.pad,h=e.pick,a=e.splat,f=e.timeUnits,d=b.isSafari&&z.Intl&&z.Intl.DateTimeFormat.prototype.formatRange,k=b.isSafari&&
34
+ z.Intl&&!z.Intl.DateTimeFormat.prototype.formatRange;e=function(){function p(a){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=z.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(a)}p.prototype.get=function(a,d){if(this.variableTimezone||this.timezoneOffset){var f=d.getTime(),k=f-this.getTimezoneOffset(d);d.setTime(k);a=d["getUTC"+a]();d.setTime(f);return a}return this.useUTC?d["getUTC"+a]():d["get"+a]()};p.prototype.set=function(a,f,k){if(this.variableTimezone||
35
+ this.timezoneOffset){if("Milliseconds"===a||"Seconds"===a||"Minutes"===a&&0===this.getTimezoneOffset(f)%36E5)return f["setUTC"+a](k);var p=this.getTimezoneOffset(f);p=f.getTime()-p;f.setTime(p);f["setUTC"+a](k);a=this.getTimezoneOffset(f);p=f.getTime()+a;return f.setTime(p)}return this.useUTC||d&&"FullYear"===a?f["setUTC"+a](k):f["set"+a](k)};p.prototype.update=function(a){void 0===a&&(a={});var d=h(a.useUTC,!0);this.options=a=t(!0,this.options,a);this.Date=a.Date||z.Date||Date;this.timezoneOffset=
36
+ (this.useUTC=d)&&a.timezoneOffset||void 0;this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=d&&!(!a.getTimezoneOffset&&!a.timezone)};p.prototype.makeTime=function(a,d,f,p,q,c){if(this.useUTC){var B=this.Date.UTC.apply(0,arguments);var m=this.getTimezoneOffset(B);B+=m;var u=this.getTimezoneOffset(B);m!==u?B+=u-m:m-36E5!==this.getTimezoneOffset(B-36E5)||k||(B-=36E5)}else B=(new this.Date(a,d,h(f,1),h(p,0),h(q,0),h(c,0))).getTime();return B};p.prototype.timezoneOffsetFunction=
37
+ function(){var a=this,d=this.options,f=d.getTimezoneOffset,k=d.moment||z.moment;if(!this.useUTC)return function(a){return 6E4*(new Date(a.toString())).getTimezoneOffset()};if(d.timezone){if(k)return function(a){return 6E4*-k.tz(a,d.timezone).utcOffset()};w(25)}return this.useUTC&&f?function(a){return 6E4*f(a.valueOf())}:function(){return 6E4*(a.timezoneOffset||0)}};p.prototype.dateFormat=function(a,d,f){if(!I(d)||isNaN(d))return b.defaultOptions.lang&&b.defaultOptions.lang.invalidDate||"";a=h(a,"%Y-%m-%d %H:%M:%S");
38
+ var k=this,q=new this.Date(d),c=this.get("Hours",q),B=this.get("Day",q),m=this.get("Date",q),u=this.get("Month",q),g=this.get("FullYear",q),F=b.defaultOptions.lang,l=F&&F.weekdays,v=F&&F.shortWeekdays;q=y({a:v?v[B]:l[B].substr(0,3),A:l[B],d:n(m),e:n(m,2," "),w:B,b:F.shortMonths[u],B:F.months[u],m:n(u+1),o:u+1,y:g.toString().substr(2,2),Y:g,H:n(c),k:c,I:n(c%12||12),l:c%12||12,M:n(this.get("Minutes",q)),p:12>c?"AM":"PM",P:12>c?"am":"pm",S:n(q.getSeconds()),L:n(Math.floor(d%1E3),3)},b.dateFormats);r(q,
39
+ function(c,g){for(;-1!==a.indexOf("%"+g);)a=a.replace("%"+g,"function"===typeof c?c.call(k,d):c)});return f?a.substr(0,1).toUpperCase()+a.substr(1):a};p.prototype.resolveDTLFormat=function(d){return G(d,!0)?d:(d=a(d),{main:d[0],from:d[1],to:d[2]})};p.prototype.getTimeTicks=function(a,d,k,p){var q=this,c=[],B={},m=new q.Date(d),u=a.unitRange,g=a.count||1,F;p=h(p,1);if(I(d)){q.set("Milliseconds",m,u>=f.second?0:g*Math.floor(q.get("Milliseconds",m)/g));u>=f.second&&q.set("Seconds",m,u>=f.minute?0:g*
40
+ Math.floor(q.get("Seconds",m)/g));u>=f.minute&&q.set("Minutes",m,u>=f.hour?0:g*Math.floor(q.get("Minutes",m)/g));u>=f.hour&&q.set("Hours",m,u>=f.day?0:g*Math.floor(q.get("Hours",m)/g));u>=f.day&&q.set("Date",m,u>=f.month?1:Math.max(1,g*Math.floor(q.get("Date",m)/g)));if(u>=f.month){q.set("Month",m,u>=f.year?0:g*Math.floor(q.get("Month",m)/g));var l=q.get("FullYear",m)}u>=f.year&&q.set("FullYear",m,l-l%g);u===f.week&&(l=q.get("Day",m),q.set("Date",m,q.get("Date",m)-l+p+(l<p?-7:0)));l=q.get("FullYear",
41
+ m);p=q.get("Month",m);var v=q.get("Date",m),D=q.get("Hours",m);d=m.getTime();!q.variableTimezone&&q.useUTC||!I(k)||(F=k-d>4*f.month||q.getTimezoneOffset(d)!==q.getTimezoneOffset(k));d=m.getTime();for(m=1;d<k;)c.push(d),d=u===f.year?q.makeTime(l+m*g,0):u===f.month?q.makeTime(l,p+m*g):!F||u!==f.day&&u!==f.week?F&&u===f.hour&&1<g?q.makeTime(l,p,v,D+m*g):d+u*g:q.makeTime(l,p,v+m*g*(u===f.day?1:7)),m++;c.push(d);u<=f.hour&&1E4>c.length&&c.forEach(function(c){0===c%18E5&&"000000000"===q.dateFormat("%H%M%S%L",
42
+ c)&&(B[c]="day")})}c.info=y(a,{higherRanks:B,totalRange:u*g});return c};p.prototype.getDateFormat=function(a,d,k,p){var q=this.dateFormat("%m-%d %H:%M:%S.%L",d),c={millisecond:15,second:12,minute:9,hour:6,day:3},B="millisecond";for(m in f){if(a===f.week&&+this.dateFormat("%w",d)===k&&"00:00:00.000"===q.substr(6)){var m="week";break}if(f[m]>a){m=B;break}if(c[m]&&q.substr(c[m])!=="01-01 00:00:00.000".substr(c[m]))break;"week"!==m&&(B=m)}return this.resolveDTLFormat(p[m]).main};return p}();"";return e});
43
+ H(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y){e=e.parse;var I=y.merge,t={colors:C.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(" "),
44
44
  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:b,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:{},
45
45
  labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",
46
- 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:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:u.svg,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",
47
- month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:u.isTouchDevice?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:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,
48
- href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};x.chart.styledMode=!1;"";var v=new B(K(x.global,x.time));b={defaultOptions:x,defaultTime:v,getOptions:function(){return x},setOptions:function(m){K(!0,x,m);if(m.time||m.global)u.time?u.time.update(K(x.global,x.time,m.global,m.time)):u.time=v;return x}};"";return b});J(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],
49
- e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,u){var K=b.parse,B=e.win,q=u.isNumber,F=u.objectEach;return function(){function b(b,m,l){this.pos=NaN;this.options=m;this.elem=b;this.prop=l}b.prototype.dSetter=function(){var b=this.paths,m=b&&b[0];b=b&&b[1];var l=this.now||0,a=[];if(1!==l&&m&&b)if(m.length===b.length&&1>l)for(var f=0;f<b.length;f++){for(var d=m[f],k=b[f],p=[],E=0;E<k.length;E++){var A=d[E],w=k[E];q(A)&&q(w)&&("A"!==k[0]||4!==E&&5!==E)?p[E]=A+l*(w-A):p[E]=w}a.push(p)}else a=
50
- b;else a=this.toD||[];this.elem.attr("d",a,void 0,!0)};b.prototype.update=function(){var b=this.elem,m=this.prop,l=this.now,a=this.options.step;if(this[m+"Setter"])this[m+"Setter"]();else b.attr?b.element&&b.attr(m,l,null,!0):b.style[m]=l+this.unit;a&&a.call(b,l,this)};b.prototype.run=function(v,m,l){var a=this,f=a.options,d=function(f){return d.stopped?!1:a.step(f)},k=B.requestAnimationFrame||function(a){setTimeout(a,13)},p=function(){for(var a=0;a<b.timers.length;a++)b.timers[a]()||b.timers.splice(a--,
51
- 1);b.timers.length&&k(p)};v!==m||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=v,this.end=m,this.unit=l,this.now=this.start,this.pos=0,d.elem=this.elem,d.prop=this.prop,d()&&1===b.timers.push(d)&&k(p)):(delete f.curAnim[this.prop],f.complete&&0===Object.keys(f.curAnim).length&&f.complete.call(this.elem))};b.prototype.step=function(b){var m=+new Date,l=this.options,a=this.elem,f=l.complete,d=l.duration,k=l.curAnim;if(a.attr&&!a.element)b=!1;else if(b||m>=d+this.startTime){this.now=
52
- this.end;this.pos=1;this.update();var p=k[this.prop]=!0;F(k,function(a){!0!==a&&(p=!1)});p&&f&&f.call(a);b=!1}else this.pos=l.easing((m-this.startTime)/d),this.now=this.start+(this.end-this.start)*this.pos,this.update(),b=!0;return b};b.prototype.initPath=function(b,m,l){function a(a,h){for(;a.length<I;){var d=a[0],f=h[I-a.length];f&&"M"===d[0]&&(a[0]="C"===f[0]?["C",d[1],d[2],d[1],d[2],d[1],d[2]]:["L",d[1],d[2]]);a.unshift(d);p&&(d=a.pop(),a.push(a[a.length-1],d))}}function f(a,h){for(;a.length<
53
- I;)if(h=a[Math.floor(a.length/E)-1].slice(),"C"===h[0]&&(h[1]=h[5],h[2]=h[6]),p){var d=a[Math.floor(a.length/E)].slice();a.splice(a.length/2,0,h,d)}else a.push(h)}var d=b.startX,k=b.endX;l=l.slice();var p=b.isArea,E=p?2:1;m=m&&m.slice();if(!m)return[l,l];if(d&&k&&k.length){for(b=0;b<d.length;b++)if(d[b]===k[0]){var A=b;break}else if(d[0]===k[k.length-d.length+b]){A=b;var w=!0;break}else if(d[d.length-1]===k[k.length-d.length+b]){A=d.length-b;break}"undefined"===typeof A&&(m=[])}if(m.length&&q(A)){var I=
54
- l.length+A*E;w?(a(m,l),f(l,m)):(a(l,m),f(m,l))}return[m,l]};b.prototype.fillSetter=function(){b.prototype.strokeSetter.apply(this,arguments)};b.prototype.strokeSetter=function(){this.elem.attr(this.prop,K(this.start).tweenTo(K(this.end),this.pos),void 0,!0)};b.timers=[];return b}()});J(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],function(b,e){function u(a){return v(a)?m({duration:500,defer:0},a):{duration:a?500:0,defer:0}}function K(a,d){for(var f=b.timers.length;f--;)b.timers[f].elem!==
55
- a||d&&d!==b.timers[f].prop||(b.timers[f].stopped=!0)}var B=e.defined,q=e.getStyle,F=e.isArray,x=e.isNumber,v=e.isObject,m=e.merge,l=e.objectEach,a=e.pick;return{animate:function(a,d,k){var f,E="",A,w;if(!v(k)){var I=arguments;k={duration:I[2],easing:I[3],complete:I[4]}}x(k.duration)||(k.duration=400);k.easing="function"===typeof k.easing?k.easing:Math[k.easing]||Math.easeInOutSine;k.curAnim=m(d);l(d,function(t,h){K(a,h);w=new b(a,k,h);A=void 0;"d"===h&&F(d.d)?(w.paths=w.initPath(a,a.pathArray,d.d),
56
- w.toD=d.d,f=0,A=1):a.attr?f=a.attr(h):(f=parseFloat(q(a,h))||0,"opacity"!==h&&(E="px"));A||(A=t);"string"===typeof A&&A.match("px")&&(A=A.replace(/px/g,""));w.run(f,A,E)})},animObject:u,getDeferredAnimation:function(a,d,k){var f=u(d),l=0,A=0;(k?[k]:a.series).forEach(function(a){a=u(a.options.animation);l=d&&B(d.defer)?f.defer:Math.max(l,a.duration+a.defer);A=Math.min(f.duration,a.duration)});a.renderer.forExport&&(l=0);return{defer:Math.max(0,l-A),duration:Math.min(l,A)}},setAnimation:function(f,
57
- d){d.renderer.globalAnimation=a(f,d.options.chart.animation,!0)},stop:K}});J(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e){var u=b.SVG_NS,K=e.attr,B=e.createElement,q=e.css,F=e.error,x=e.isFunction,v=e.isString,m=e.objectEach,l=e.splat,a=(e=b.win.trustedTypes)&&x(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(a){return a}}),f=a?a.createHTML(""):"";try{var d=!!(new DOMParser).parseFromString(f,"text/html")}catch(k){d=!1}x=function(){function k(a){this.nodes=
58
- "string"===typeof a?this.parseMarkup(a):a}k.filterUserAttributes=function(a){m(a,function(d,f){var p=!0;-1===k.allowedAttributes.indexOf(f)&&(p=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(f)&&(p=v(d)&&k.allowedReferences.some(function(a){return 0===d.indexOf(a)}));p||(F(33,!1,void 0,{"Invalid attribute in config":"".concat(f)}),delete a[f])});return a};k.parseStyle=function(a){return a.split(";").reduce(function(a,d){d=d.split(":").map(function(a){return a.trim()});var f=d.shift();
59
- f&&d.length&&(a[f.replace(/-([a-z])/g,function(a){return a[1].toUpperCase()})]=d.join(":"));return a},{})};k.setElementHTML=function(a,d){a.innerHTML=k.emptyHTML;d&&(new k(d)).addToDOM(a)};k.prototype.addToDOM=function(a){function d(a,f){var p;l(a).forEach(function(a){var h=a.tagName,y=a.textContent?b.doc.createTextNode(a.textContent):void 0,r=k.bypassHTMLFiltering;if(h)if("#text"===h)var n=y;else if(-1!==k.allowedTags.indexOf(h)||r){h=b.doc.createElementNS("svg"===h?u:f.namespaceURI||u,h);var g=
60
- a.attributes||{};m(a,function(a,c){"tagName"!==c&&"attributes"!==c&&"children"!==c&&"style"!==c&&"textContent"!==c&&(g[c]=a)});K(h,r?g:k.filterUserAttributes(g));a.style&&q(h,a.style);y&&h.appendChild(y);d(a.children||[],h);n=h}else F(33,!1,void 0,{"Invalid tagName in config":h});n&&f.appendChild(n);p=n});return p}return d(this.nodes,a)};k.prototype.parseMarkup=function(f){var p=[];f=f.trim().replace(/ style=(["'])/g," data-style=$1");if(d)f=(new DOMParser).parseFromString(a?a.createHTML(f):f,"text/html");
61
- else{var l=B("div");l.innerHTML=f;f={body:l}}var w=function(a,d){var h=a.nodeName.toLowerCase(),f={tagName:h};"#text"===h&&(f.textContent=a.textContent||"");if(h=a.attributes){var r={};[].forEach.call(h,function(g){"data-style"===g.name?f.style=k.parseStyle(g.value):r[g.name]=g.value});f.attributes=r}if(a.childNodes.length){var n=[];[].forEach.call(a.childNodes,function(g){w(g,n)});n.length&&(f.children=n)}d.push(f)};[].forEach.call(f.body.childNodes,function(a){return w(a,p)});return p};k.allowedAttributes=
62
- "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 paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align text-anchor textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" ");
63
- k.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");k.allowedTags="a abbr 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 textPath thead tbody tspan td th tr u ul #text".split(" ");k.emptyHTML=f;k.bypassHTMLFiltering=!1;return k}();"";return x});
64
- J(e,"Core/FormatUtilities.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(b,e){function u(b,l,a,f){b=+b||0;l=+l;var d=K.lang,k=(b.toString().split(".")[1]||"").split("e")[0].length,p=b.toString().split("e"),E=l;if(-1===l)l=Math.min(k,20);else if(!F(l))l=2;else if(l&&p[1]&&0>p[1]){var A=l+ +p[1];0<=A?(p[0]=(+p[0]).toExponential(A).split("e")[0],l=A):(p[0]=p[0].split(".")[0]||0,b=20>l?(p[0]*Math.pow(10,p[1])).toFixed(l):0,p[1]=0)}A=(Math.abs(p[1]?p[0]:b)+Math.pow(10,-Math.max(l,k)-1)).toFixed(l);
65
- k=String(v(A));var w=3<k.length?k.length%3:0;a=x(a,d.decimalPoint);f=x(f,d.thousandsSep);b=(0>b?"-":"")+(w?k.substr(0,w)+f:"");b=0>+p[1]&&!E?"0":b+k.substr(w).replace(/(\d{3})(?=\d)/g,"$1"+f);l&&(b+=a+A.slice(-l));p[1]&&0!==+b&&(b+="e"+p[1]);return b}var K=b.defaultOptions,B=b.defaultTime,q=e.getNestedProperty,F=e.isNumber,x=e.pick,v=e.pInt;return{dateFormat:function(b,l,a){return B.dateFormat(b,l,a)},format:function(b,l,a){var f="{",d=!1,k=/f$/,p=/\.([0-9])/,E=K.lang,A=a&&a.time||B;a=a&&a.numberFormatter||
66
- u;for(var w=[];b;){var m=b.indexOf(f);if(-1===m)break;var t=b.slice(0,m);if(d){t=t.split(":");f=q(t.shift()||"",l);if(t.length&&"number"===typeof f)if(t=t.join(":"),k.test(t)){var h=parseInt((t.match(p)||["","-1"])[1],10);null!==f&&(f=a(f,h,E.decimalPoint,-1<t.indexOf(",")?E.thousandsSep:""))}else f=A.dateFormat(t,f);w.push(f)}else w.push(t);b=b.slice(m+1);f=(d=!d)?"}":"{"}w.push(b);return w.join("")},numberFormat:u}});J(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],function(b){var e=
67
- b.clamp,u=b.pick,C=b.stableSort,B;(function(b){function q(b,v,m){var l=b,a=l.reducedLen||v,f=function(a,d){return(d.rank||0)-(a.rank||0)},d=function(a,d){return a.target-d.target},k,p=!0,E=[],A=0;for(k=b.length;k--;)A+=b[k].size;if(A>a){C(b,f);for(A=k=0;A<=a;)A+=b[k].size,k++;E=b.splice(k-1,b.length)}C(b,d);for(b=b.map(function(a){return{size:a.size,targets:[a.target],align:u(a.align,.5)}});p;){for(k=b.length;k--;)a=b[k],f=(Math.min.apply(0,a.targets)+Math.max.apply(0,a.targets))/2,a.pos=e(f-a.size*
68
- a.align,0,v-a.size);k=b.length;for(p=!1;k--;)0<k&&b[k-1].pos+b[k-1].size>b[k].pos&&(b[k-1].size+=b[k].size,b[k-1].targets=b[k-1].targets.concat(b[k].targets),b[k-1].align=.5,b[k-1].pos+b[k-1].size>v&&(b[k-1].pos=v-b[k-1].size),b.splice(k,1),p=!0)}l.push.apply(l,E);k=0;b.some(function(a){var d=0;return(a.targets||[]).some(function(){l[k].pos=a.pos+d;if("undefined"!==typeof m&&Math.abs(l[k].pos-l[k].target)>m)return l.slice(0,k+1).forEach(function(a){return delete a.pos}),l.reducedLen=(l.reducedLen||
69
- v)-.1*v,l.reducedLen>.1*v&&q(l,v,m),!0;d+=l[k].size;k++;return!1})});C(l,d);return l}b.distribute=q})(B||(B={}));return B});J(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,u,C){var B=b.animate,q=b.animObject,K=b.stop,x=u.deg2rad,v=u.doc,m=u.svg,l=u.SVG_NS,a=u.win,f=C.addEvent,d=C.attr,k=C.createElement,p=C.css,E=C.defined,A=C.erase,w=C.extend,I=C.fireEvent,t=C.isArray,h=C.isFunction,
70
- y=C.isString,r=C.merge,n=C.objectEach,g=C.pick,D=C.pInt,c=C.syncTimeout,z=C.uniqueKey;b=function(){function G(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=l;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}G.prototype._defaultGetter=function(c){c=g(this[c+"Value"],this[c],this.element?this.element.getAttribute(c):null,0);/^[\-0-9\.]+$/.test(c)&&(c=parseFloat(c));return c};G.prototype._defaultSetter=function(c,
71
- g,a){a.setAttribute(g,c)};G.prototype.add=function(c){var g=this.renderer,a=this.element;c&&(this.parentGroup=c);this.parentInverted=c&&c.inverted;"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&g.buildText(this);this.added=!0;if(!c||c.handleZ||this.zIndex)var h=this.zIndexSetter();h||(c?c.element:g.box).appendChild(a);if(this.onAdd)this.onAdd();return this};G.prototype.addClass=function(c,g){var a=g?"":this.attr("class")||"";c=(c||"").split(/ /g).reduce(function(c,g){-1===a.indexOf(g)&&
72
- c.push(g);return c},a?[a]:[]).join(" ");c!==a&&this.attr("class",c);return this};G.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)};G.prototype.align=function(c,a,h){var d={},H=this.renderer,f=H.alignedObjects,n,r,k;if(c){if(this.alignOptions=c,this.alignByTranslate=a,!h||y(h))this.alignTo=n=h||"renderer",A(f,this),f.push(this),h=void 0}else c=this.alignOptions,a=this.alignByTranslate,n=this.alignTo;h=g(h,H[n],"scrollablePlotBox"===n?H.plotBox:void 0,
73
- H);n=c.align;var z=c.verticalAlign;H=(h.x||0)+(c.x||0);f=(h.y||0)+(c.y||0);"right"===n?r=1:"center"===n&&(r=2);r&&(H+=(h.width-(c.width||0))/r);d[a?"translateX":"x"]=Math.round(H);"bottom"===z?k=1:"middle"===z&&(k=2);k&&(f+=(h.height-(c.height||0))/k);d[a?"translateY":"y"]=Math.round(f);this[this.placed?"animate":"attr"](d);this.placed=!0;this.alignAttr=d;return this};G.prototype.alignSetter=function(c){var g={left:"start",center:"middle",right:"end"};g[c]&&(this.alignValue=c,this.element.setAttribute("text-anchor",
74
- g[c]))};G.prototype.animate=function(a,h,d){var H=this,f=q(g(h,this.renderer.globalAnimation,!0));h=f.defer;g(v.hidden,v.msHidden,v.webkitHidden,!1)&&(f.duration=0);0!==f.duration?(d&&(f.complete=d),c(function(){H.element&&B(H,a,f)},h)):(this.attr(a,void 0,d||f.complete),n(a,function(c,g){f.step&&f.step.call(this,c,{prop:g,pos:1,elem:this})},this));return this};G.prototype.applyTextOutline=function(c){var g=this.element;-1!==c.indexOf("contrast")&&(c=c.replace(/contrast/g,this.renderer.getContrast(g.style.fill)));
75
- var a=c.split(" ");c=a[a.length-1];if((a=a[0])&&"none"!==a&&u.svg){this.fakeTS=!0;a=a.replace(/(^[\d\.]+)(.*?)$/g,function(c,g,a){return 2*Number(g)+a});this.removeTextOutline();var h=v.createElementNS(l,"tspan");d(h,{"class":"highcharts-text-outline",fill:c,stroke:c,"stroke-width":a,"stroke-linejoin":"round"});c=g.querySelector("textPath")||g;[].forEach.call(c.childNodes,function(c){var g=c.cloneNode(!0);g.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(c){return g.removeAttribute(c)});
76
- h.appendChild(g)});var f=0;[].forEach.call(c.querySelectorAll("text tspan"),function(c){f+=Number(c.getAttribute("dy"))});a=v.createElementNS(l,"tspan");a.textContent="\u200b";d(a,{x:Number(g.getAttribute("x")),dy:-f});h.appendChild(a);c.insertBefore(h,c.firstChild)}};G.prototype.attr=function(c,g,a,h){var d=this.element,f=this.symbolCustomAttribs,H,r=this,k,z;if("string"===typeof c&&"undefined"!==typeof g){var D=c;c={};c[D]=g}"string"===typeof c?r=(this[c+"Getter"]||this._defaultGetter).call(this,
77
- c,d):(n(c,function(g,a){k=!1;h||K(this,a);this.symbolName&&-1!==f.indexOf(a)&&(H||(this.symbolAttr(c),H=!0),k=!0);!this.rotation||"x"!==a&&"y"!==a||(this.doTransform=!0);k||(z=this[a+"Setter"]||this._defaultSetter,z.call(this,g,a,d),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(a)&&this.updateShadows(a,g,z))},this),this.afterSetters());a&&a.call(this);return r};G.prototype.clip=function(c){return this.attr("clip-path",c?"url("+this.renderer.url+"#"+c.id+
78
- ")":"none")};G.prototype.crisp=function(c,g){g=g||c.strokeWidth||0;var a=Math.round(g)%2/2;c.x=Math.floor(c.x||this.x||0)+a;c.y=Math.floor(c.y||this.y||0)+a;c.width=Math.floor((c.width||this.width||0)-2*a);c.height=Math.floor((c.height||this.height||0)-2*a);E(c.strokeWidth)&&(c.strokeWidth=g);return c};G.prototype.complexColor=function(c,g,a){var h=this.renderer,d,f,H,k,D,y,p,G,l,b,w=[],A;I(this.renderer,"complexColor",{args:arguments},function(){c.radialGradient?f="radialGradient":c.linearGradient&&
79
- (f="linearGradient");if(f){H=c[f];D=h.gradients;y=c.stops;l=a.radialReference;t(H)&&(c[f]=H={x1:H[0],y1:H[1],x2:H[2],y2:H[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===f&&l&&!E(H.gradientUnits)&&(k=H,H=r(H,h.getRadialAttr(l,k),{gradientUnits:"userSpaceOnUse"}));n(H,function(c,g){"id"!==g&&w.push(g,c)});n(y,function(c){w.push(c)});w=w.join(",");if(D[w])b=D[w].attr("id");else{H.id=b=z();var Q=D[w]=h.createElement(f).attr(H).add(h.defs);Q.radAttr=k;Q.stops=[];y.forEach(function(c){0===c[1].indexOf("rgba")?
80
- (d=e.parse(c[1]),p=d.get("rgb"),G=d.get("a")):(p=c[1],G=1);c=h.createElement("stop").attr({offset:c[0],"stop-color":p,"stop-opacity":G}).add(Q);Q.stops.push(c)})}A="url("+h.url+"#"+b+")";a.setAttribute(g,A);a.gradient=w;c.toString=function(){return A}}})};G.prototype.css=function(c){var g=this.styles,a={},h=this.element,d=!g;c.color&&(c.fill=c.color);g&&n(c,function(c,h){g&&g[h]!==c&&(a[h]=c,d=!0)});if(d){g&&(c=w(g,a));if(null===c.width||"auto"===c.width)delete this.textWidth;else if("text"===h.nodeName.toLowerCase()&&
81
- c.width)var f=this.textWidth=D(c.width);this.styles=c;f&&!m&&this.renderer.forExport&&delete c.width;var H=r(c);h.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(c){return H&&delete H[c]});p(h,H);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),c.textOutline&&this.applyTextOutline(c.textOutline))}return this};G.prototype.dashstyleSetter=function(c){var a=this["stroke-width"];"inherit"===a&&(a=1);if(c=c&&c.toLowerCase()){var h=c.replace("shortdashdotdot",
82
- "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(c=h.length;c--;)h[c]=""+D(h[c])*g(a,NaN);c=h.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",c)}};G.prototype.destroy=function(){var c=this,g=c.element||{},a=c.renderer,h=g.ownerSVGElement,d=a.isSVG&&"SPAN"===g.nodeName&&c.parentGroup||void 0;g.onclick=g.onmouseout=
83
- g.onmouseover=g.onmousemove=g.point=null;K(c);if(c.clipPath&&h){var f=c.clipPath;[].forEach.call(h.querySelectorAll("[clip-path],[CLIP-PATH]"),function(c){-1<c.getAttribute("clip-path").indexOf(f.element.id)&&c.removeAttribute("clip-path")});c.clipPath=f.destroy()}if(c.stops){for(h=0;h<c.stops.length;h++)c.stops[h].destroy();c.stops.length=0;c.stops=void 0}c.safeRemoveChild(g);for(a.styledMode||c.destroyShadows();d&&d.div&&0===d.div.childNodes.length;)g=d.parentGroup,c.safeRemoveChild(d.div),delete d.div,
84
- d=g;c.alignTo&&A(a.alignedObjects,c);n(c,function(g,a){c[a]&&c[a].parentGroup===c&&c[a].destroy&&c[a].destroy();delete c[a]})};G.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(c){this.safeRemoveChild(c)},this);this.shadows=void 0};G.prototype.dSetter=function(c,g,a){t(c)&&("string"===typeof c[0]&&(c=this.renderer.pathToSegments(c)),this.pathArray=c,c=c.reduce(function(c,g,a){return g&&g.join?(a?c+" ":"")+g.join(" "):(g||"").toString()},""));/(NaN| {2}|^$)/.test(c)&&(c="M 0 0");
85
- this[g]!==c&&(a.setAttribute(g,c),this[g]=c)};G.prototype.fadeOut=function(c){var a=this;a.animate({opacity:0},{duration:g(c,150),complete:function(){a.hide()}})};G.prototype.fillSetter=function(c,g,a){"string"===typeof c?a.setAttribute(g,c):c&&this.complexColor(c,g,a)};G.prototype.getBBox=function(c,a){var d=this.alignValue,f=this.element,n=this.renderer,r=this.styles,k=this.textStr,z=n.cache,D=n.cacheKeys,y=f.namespaceURI===this.SVG_NS;a=g(a,this.rotation,0);var t=n.styledMode?f&&G.prototype.getStyle.call(f,
86
- "font-size"):r&&r.fontSize,H;if(E(k)){var l=k.toString();-1===l.indexOf("<")&&(l=l.replace(/[0-9]/g,"0"));l+=["",a,t,this.textWidth,d,r&&r.textOverflow,r&&r.fontWeight].join()}l&&!c&&(H=z[l]);if(!H){if(y||n.forExport){try{var b=this.fakeTS&&function(c){var g=f.querySelector(".highcharts-text-outline");g&&p(g,{display:c})};h(b)&&b("none");H=f.getBBox?w({},f.getBBox()):{width:f.offsetWidth,height:f.offsetHeight,x:0,y:0};h(b)&&b("")}catch(V){""}if(!H||0>H.width)H={x:0,y:0,width:0,height:0}}else H=this.htmlGetBBox();
87
- if(n.isSVG&&(n=H.width,c=H.height,y&&(H.height=c={"11px,17":14,"13px,20":16}[""+(t||"")+",".concat(Math.round(c))]||c),a)){y=Number(f.getAttribute("y")||0)-H.y;d={right:1,center:.5}[d||0]||0;r=a*x;t=(a-90)*x;var A=n*Math.cos(r);a=n*Math.sin(r);b=Math.cos(t);r=Math.sin(t);n=H.x+d*(n-A)+y*b;t=n+A;b=t-c*b;A=b-A;y=H.y+y-d*a+y*r;d=y+a;c=d-c*r;a=c-a;H.x=Math.min(n,t,b,A);H.y=Math.min(y,d,c,a);H.width=Math.max(n,t,b,A)-H.x;H.height=Math.max(y,d,c,a)-H.y}if(l&&(""===k||0<H.height)){for(;250<D.length;)delete z[D.shift()];
88
- z[l]||D.push(l);z[l]=H}}return H};G.prototype.getStyle=function(c){return a.getComputedStyle(this.element||this,"").getPropertyValue(c)};G.prototype.hasClass=function(c){return-1!==(""+this.attr("class")).split(" ").indexOf(c)};G.prototype.hide=function(){return this.attr({visibility:"hidden"})};G.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};G.prototype.init=function(c,g){this.element="span"===g?k(g):v.createElementNS(this.SVG_NS,g);this.renderer=c;I(this,"afterInit")};G.prototype.invert=
89
- function(c){this.inverted=c;this.updateTransform();return this};G.prototype.on=function(c,g){var a=this.onEvents;if(a[c])a[c]();a[c]=f(this.element,c,g);return this};G.prototype.opacitySetter=function(c,g,a){this.opacity=c=Number(Number(c).toFixed(3));a.setAttribute(g,c)};G.prototype.removeClass=function(c){return this.attr("class",(""+this.attr("class")).replace(y(c)?new RegExp("(^| )".concat(c,"( |$)")):c," ").replace(/ +/g," ").trim())};G.prototype.removeTextOutline=function(){var c=this.element.querySelector("tspan.highcharts-text-outline");
90
- c&&this.safeRemoveChild(c)};G.prototype.safeRemoveChild=function(c){var g=c.parentNode;g&&g.removeChild(c)};G.prototype.setRadialReference=function(c){var g=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=c;g&&g.radAttr&&g.animate(this.renderer.getRadialAttr(c,g.radAttr));return this};G.prototype.setTextPath=function(c,g){var a=this;g=r(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},g);var h=this.renderer.url,d=this.text||
91
- this,n=d.textPath,k=g.attributes,D=g.enabled;c=c||n&&n.path;n&&n.undo();c&&D?(g=f(d,"afterModifyTree",function(g){if(c&&D){var f=c.attr("id");f||c.attr("id",f=z());var n={x:0,y:0};E(k.dx)&&(n.dx=k.dx,delete k.dx);E(k.dy)&&(n.dy=k.dy,delete k.dy);d.attr(n);a.attr({transform:""});a.box&&(a.box=a.box.destroy());n=g.nodes.slice(0);g.nodes.length=0;g.nodes[0]={tagName:"textPath",attributes:w(k,{"text-anchor":k.textAnchor,href:""+h+"#".concat(f)}),children:n}}}),d.textPath={path:c,undo:g}):(d.attr({dx:0,
92
- dy:0}),delete d.textPath);this.added&&(d.textCache="",this.renderer.buildText(d));return this};G.prototype.shadow=function(c,g,a){var h=[],f=this.element,r=this.oldShadowOptions,k={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},D=!1,z;!0===c?z=k:"object"===typeof c&&(z=w(k,c));z&&(z&&r&&n(z,function(c,g){c!==r[g]&&(D=!0)}),D&&this.destroyShadows(),this.oldShadowOptions=z);if(!z)this.destroyShadows();else if(!this.shadows){var y=z.opacity/z.width;
93
- var t=this.parentInverted?"translate(".concat(z.offsetY,", ").concat(z.offsetX,")"):"translate(".concat(z.offsetX,", ").concat(z.offsetY,")");for(k=1;k<=z.width;k++){var p=f.cloneNode(!1);var G=2*z.width+1-2*k;d(p,{stroke:c.color||"#000000","stroke-opacity":y*k,"stroke-width":G,transform:t,fill:"none"});p.setAttribute("class",(p.getAttribute("class")||"")+" highcharts-shadow");a&&(d(p,"height",Math.max(d(p,"height")-G,0)),p.cutHeight=G);g?g.element.appendChild(p):f.parentNode&&f.parentNode.insertBefore(p,
94
- f);h.push(p)}this.shadows=h}return this};G.prototype.show=function(c){void 0===c&&(c=!0);return this.attr({visibility:c?"inherit":"visible"})};G.prototype.strokeSetter=function(c,g,a){this[g]=c;this.stroke&&this["stroke-width"]?(G.prototype.fillSetter.call(this,this.stroke,"stroke",a),a.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===g&&0===c&&this.hasStroke?(a.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(a.setAttribute("stroke-width",
95
- this["stroke-width"]),this.hasStroke=!0)};G.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var c=this.getStyle("stroke-width"),g=0;if(c.indexOf("px")===c.length-2)g=D(c);else if(""!==c){var a=v.createElementNS(l,"rect");d(a,{width:c,"stroke-width":0});this.element.parentNode.appendChild(a);g=a.getBBox().width;a.parentNode.removeChild(a)}return g};G.prototype.symbolAttr=function(c){var a=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(h){a[h]=
96
- g(c[h],a[h])});a.attr({d:a.renderer.symbols[a.symbolName](a.x,a.y,a.width,a.height,a)})};G.prototype.textSetter=function(c){c!==this.textStr&&(delete this.textPxLength,this.textStr=c,this.added&&this.renderer.buildText(this))};G.prototype.titleSetter=function(c){var a=this.element,h=a.getElementsByTagName("title")[0]||v.createElementNS(this.SVG_NS,"title");a.insertBefore?a.insertBefore(h,a.firstChild):a.appendChild(h);h.textContent=String(g(c,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,
97
- ">")};G.prototype.toFront=function(){var c=this.element;c.parentNode.appendChild(c);return this};G.prototype.translate=function(c,g){return this.attr({translateX:c,translateY:g})};G.prototype.updateShadows=function(c,g,a){var h=this.shadows;if(h)for(var d=h.length;d--;)a.call(h[d],"height"===c?Math.max(g-(h[d].cutHeight||0),0):"d"===c?this.d:g,c,h[d])};G.prototype.updateTransform=function(){var c=this.scaleX,a=this.scaleY,h=this.inverted,d=this.rotation,f=this.matrix,n=this.element,r=this.translateX||
98
- 0,k=this.translateY||0;h&&(r+=this.width,k+=this.height);r=["translate("+r+","+k+")"];E(f)&&r.push("matrix("+f.join(",")+")");h?r.push("rotate(90) scale(-1,1)"):d&&r.push("rotate("+d+" "+g(this.rotationOriginX,n.getAttribute("x"),0)+" "+g(this.rotationOriginY,n.getAttribute("y")||0)+")");(E(c)||E(a))&&r.push("scale("+g(c,1)+" "+g(a,1)+")");r.length&&!(this.text||this).textPath&&n.setAttribute("transform",r.join(" "))};G.prototype.visibilitySetter=function(c,g,a){"inherit"===c?a.removeAttribute(g):
99
- this[g]!==c&&a.setAttribute(g,c);this[g]=c};G.prototype.xGetter=function(c){"circle"===this.element.nodeName&&("x"===c?c="cx":"y"===c&&(c="cy"));return this._defaultGetter(c)};G.prototype.zIndexSetter=function(c,g){var a=this.renderer,h=this.parentGroup,d=(h||a).element||a.box,f=this.element;a=d===a.box;var n=!1;var r=this.added;var k;E(c)?(f.setAttribute("data-z-index",c),c=+c,this[g]===c&&(r=!1)):E(this[g])&&f.removeAttribute("data-z-index");this[g]=c;if(r){(c=this.zIndex)&&h&&(h.handleZ=!0);g=
100
- d.childNodes;for(k=g.length-1;0<=k&&!n;k--){h=g[k];r=h.getAttribute("data-z-index");var z=!E(r);if(h!==f)if(0>c&&z&&!a&&!k)d.insertBefore(f,g[k]),n=!0;else if(D(r)<=c||z&&(!E(c)||0<=c))d.insertBefore(f,g[k+1]||null),n=!0}n||(d.insertBefore(f,g[a?3:0]||null),n=!0)}return n};return G}();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=
101
- b.prototype.scaleXSetter=b.prototype.scaleYSetter=b.prototype.translateXSetter=b.prototype.translateYSetter=b.prototype.verticalAlignSetter=function(c,g){this[g]=c;this.doTransform=!0};"";return b});J(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(b){var e;(function(e){e.rendererTypes={};var u;e.getRendererType=function(b){void 0===b&&(b=u);return e.rendererTypes[b]||e.rendererTypes[u]};e.registerRendererType=function(K,q,F){e.rendererTypes[K]=q;if(!u||F)u=K,b.Renderer=q}})(e||
102
- (e={}));return e});J(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(b,e){var u=this&&this.__extends||function(){var b=function(l,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var f in d)d.hasOwnProperty(f)&&(a[f]=d[f])};return b(l,a)};return function(l,a){function f(){this.constructor=l}b(l,a);l.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),K=e.defined,
103
- B=e.extend,q=e.isNumber,F=e.merge,x=e.pick,v=e.removeEvent;return function(m){function l(a,f,d,k,p,b,A,w,I,t){var h=m.call(this)||this;h.paddingLeftSetter=h.paddingSetter;h.paddingRightSetter=h.paddingSetter;h.init(a,"g");h.textStr=f;h.x=d;h.y=k;h.anchorX=b;h.anchorY=A;h.baseline=I;h.className=t;h.addClass("button"===t?"highcharts-no-tooltip":"highcharts-label");t&&h.addClass("highcharts-"+t);h.text=a.text(void 0,0,0,w).attr({zIndex:1});var y;"string"===typeof p&&((y=/^url\((.*?)\)$/.test(p))||h.renderer.symbols[p])&&
104
- (h.symbolKey=p);h.bBox=l.emptyBBox;h.padding=3;h.baselineOffset=0;h.needsBox=a.styledMode||y;h.deferredAttr={};h.alignFactor=0;return h}u(l,m);l.prototype.alignSetter=function(a){a={left:0,center:.5,right:1}[a];a!==this.alignFactor&&(this.alignFactor=a,this.bBox&&q(this.xSetting)&&this.attr({x:this.xSetting}))};l.prototype.anchorXSetter=function(a,f){this.anchorX=a;this.boxAttr(f,Math.round(a)-this.getCrispAdjust()-this.xSetting)};l.prototype.anchorYSetter=function(a,f){this.anchorY=a;this.boxAttr(f,
105
- a-this.ySetting)};l.prototype.boxAttr=function(a,f){this.box?this.box.attr(a,f):this.deferredAttr[a]=f};l.prototype.css=function(a){if(a){var f={};a=F(a);l.textProps.forEach(function(d){"undefined"!==typeof a[d]&&(f[d]=a[d],delete a[d])});this.text.css(f);var d="width"in f;"fontSize"in f||"fontWeight"in f?this.updateTextPadding():d&&this.updateBoxSize()}return b.prototype.css.call(this,a)};l.prototype.destroy=function(){v(this.element,"mouseenter");v(this.element,"mouseleave");this.text&&this.text.destroy();
106
- this.box&&(this.box=this.box.destroy());b.prototype.destroy.call(this)};l.prototype.fillSetter=function(a,f){a&&(this.needsBox=!0);this.fill=a;this.boxAttr(f,a)};l.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var a=this.padding,f=x(this.paddingLeft,a);return{width:this.width,height:this.height,x:this.bBox.x-f,y:this.bBox.y-a}};l.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?
107
- parseInt(this["stroke-width"],10):0)%2/2};l.prototype.heightSetter=function(a){this.heightSetting=a};l.prototype.onAdd=function(){var a=this.textStr;this.text.add(this);this.attr({text:K(a)?a:"",x:this.x,y:this.y});this.box&&K(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};l.prototype.paddingSetter=function(a,f){q(a)?a!==this[f]&&(this[f]=a,this.updateTextPadding()):this[f]=void 0};l.prototype.rSetter=function(a,f){this.boxAttr(f,a)};l.prototype.shadow=function(a){a&&!this.renderer.styledMode&&
108
- (this.updateBoxSize(),this.box&&this.box.shadow(a));return this};l.prototype.strokeSetter=function(a,f){this.stroke=a;this.boxAttr(f,a)};l.prototype["stroke-widthSetter"]=function(a,f){a&&(this.needsBox=!0);this["stroke-width"]=a;this.boxAttr(f,a)};l.prototype["text-alignSetter"]=function(a){this.textAlign=a};l.prototype.textSetter=function(a){"undefined"!==typeof a&&this.text.attr({text:a});this.updateTextPadding()};l.prototype.updateBoxSize=function(){var a=this.text,f=a.element.style,d={},k=this.padding,
109
- p=this.bBox=q(this.widthSetting)&&q(this.heightSetting)&&!this.textAlign||!K(a.textStr)?l.emptyBBox:a.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||p.height||0)+2*k;f=this.renderer.fontMetrics(f&&f.fontSize,a);this.baselineOffset=k+Math.min((this.text.firstLineMetrics||f).b,p.height||Infinity);this.heightSetting&&(this.baselineOffset+=(this.heightSetting-f.h)/2);this.needsBox&&!a.textPath&&(this.box||(a=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),
110
- a.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),a.add(this)),a=this.getCrispAdjust(),d.x=a,d.y=(this.baseline?-this.baselineOffset:0)+a,d.width=Math.round(this.width),d.height=Math.round(this.height),this.box.attr(B(d,this.deferredAttr)),this.deferredAttr={})};l.prototype.updateTextPadding=function(){var a=this.text;if(!a.textPath){this.updateBoxSize();var f=this.baseline?0:this.baselineOffset,d=x(this.paddingLeft,this.padding);
111
- K(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(d+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(d!==a.x||f!==a.y)a.attr("x",d),a.hasBoxWidthChanged&&(this.bBox=a.getBBox(!0)),"undefined"!==typeof f&&a.attr("y",f);a.x=d;a.y=f}};l.prototype.widthSetter=function(a){this.widthSetting=q(a)?a:void 0};l.prototype.getPaddedWidth=function(){var a=this.padding,f=x(this.paddingLeft,a);a=x(this.paddingRight,a);return(this.widthSetting||this.bBox.width||
112
- 0)+f+a};l.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)};l.prototype.ySetter=function(a){this.ySetting=this.y=Math.round(a);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}(b)});
113
- J(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(b){function e(b,e,m,l,a){var f=[];if(a){var d=a.start||0,k=F(a.r,m);m=F(a.r,l||m);var p=(a.end||0)-.001;l=a.innerR;var E=F(a.open,.001>Math.abs((a.end||0)-d-2*Math.PI)),A=Math.cos(d),w=Math.sin(d),I=Math.cos(p),t=Math.sin(p);d=F(a.longArc,.001>p-d-Math.PI?0:1);f.push(["M",b+k*A,e+m*w],["A",k,m,0,d,F(a.clockwise,1),b+k*I,e+m*t]);B(l)&&f.push(E?["M",b+l*I,e+l*t]:["L",b+l*I,e+l*t],["A",l,l,0,d,B(a.clockwise)?1-a.clockwise:0,b+l*A,e+
114
- l*w]);E||f.push(["Z"])}return f}function u(b,e,m,l,a){return a&&a.r?C(b,e,m,l,a):[["M",b,e],["L",b+m,e],["L",b+m,e+l],["L",b,e+l],["Z"]]}function C(b,e,m,l,a){a=a&&a.r||0;return[["M",b+a,e],["L",b+m-a,e],["C",b+m,e,b+m,e,b+m,e+a],["L",b+m,e+l-a],["C",b+m,e+l,b+m,e+l,b+m-a,e+l],["L",b+a,e+l],["C",b,e+l,b,e+l,b,e+l-a],["L",b,e+a],["C",b,e,b,e,b+a,e]]}var B=b.defined,q=b.isNumber,F=b.pick;return{arc:e,callout:function(b,e,m,l,a){var f=Math.min(a&&a.r||0,m,l),d=f+6,k=a&&a.anchorX;a=a&&a.anchorY||0;var p=
115
- C(b,e,m,l,{r:f});if(!q(k))return p;b+k>=m?a>e+d&&a<e+l-d?p.splice(3,1,["L",b+m,a-6],["L",b+m+6,a],["L",b+m,a+6],["L",b+m,e+l-f]):p.splice(3,1,["L",b+m,l/2],["L",k,a],["L",b+m,l/2],["L",b+m,e+l-f]):0>=b+k?a>e+d&&a<e+l-d?p.splice(7,1,["L",b,a+6],["L",b-6,a],["L",b,a-6],["L",b,e+f]):p.splice(7,1,["L",b,l/2],["L",k,a],["L",b,l/2],["L",b,e+f]):a&&a>l&&k>b+d&&k<b+m-d?p.splice(5,1,["L",k+6,e+l],["L",k,e+l+6],["L",k-6,e+l],["L",b+f,e+l]):a&&0>a&&k>b+d&&k<b+m-d&&p.splice(1,1,["L",k-6,e],["L",k,e-6],["L",k+
116
- 6,e],["L",m-f,e]);return p},circle:function(b,v,m,l){return e(b+m/2,v+l/2,m/2,l/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(b,e,m,l){return[["M",b+m/2,e],["L",b+m,e+l/2],["L",b+m/2,e+l],["L",b,e+l/2],["Z"]]},rect:u,roundedRect:C,square:u,triangle:function(b,e,m,l){return[["M",b+m/2,e],["L",b+m,e+l],["L",b,e+l],["Z"]]},"triangle-down":function(b,e,m,l){return[["M",b,e],["L",b+m,e],["L",b+m/2,e+l],["Z"]]}}});J(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],
117
- e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,u){var K=e.doc,B=e.SVG_NS,q=e.win,F=u.attr,x=u.extend,v=u.fireEvent,m=u.isString,l=u.objectEach,a=u.pick;return function(){function f(a){var d=a.styles;this.renderer=a.renderer;this.svgElement=a;this.width=a.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}f.prototype.buildSVG=function(){var d=
118
- this.svgElement,f=d.element,p=d.renderer,l=a(d.textStr,"").toString(),A=-1!==l.indexOf("<"),w=f.childNodes;p=this.width&&!d.added&&p.box;var e=/<br.*?>/g,t=[l,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(t!==d.textCache){d.textCache=t;delete d.actualWidth;for(t=w.length;t--;)f.removeChild(w[t]);A||this.ellipsis||this.width||d.textPath||-1!==l.indexOf(" ")&&(!this.noWrap||e.test(l))?""!==l&&(p&&p.appendChild(f),l=new b(l),this.modifyTree(l.nodes),
119
- l.addToDOM(f),this.modifyDOM(),this.ellipsis&&-1!==(f.textContent||"").indexOf("\u2026")&&d.attr("title",this.unescapeEntities(d.textStr||"",["&lt;","&gt;"])),p&&p.removeChild(f)):f.appendChild(K.createTextNode(this.unescapeEntities(l)));m(this.textOutline)&&d.applyTextOutline&&d.applyTextOutline(this.textOutline)}};f.prototype.modifyDOM=function(){var a=this,f=this.svgElement,b=F(f.element,"x");f.firstLineMetrics=void 0;for(var l;l=f.element.firstChild;)if(/^[\s\u200B]*$/.test(l.textContent||" "))f.element.removeChild(l);
120
- else break;[].forEach.call(f.element.querySelectorAll("tspan.highcharts-br"),function(d,h){d.nextSibling&&d.previousSibling&&(0===h&&1===d.previousSibling.nodeType&&(f.firstLineMetrics=f.renderer.fontMetrics(void 0,d.previousSibling)),F(d,{dy:a.getLineHeight(d.nextSibling),x:b}))});var A=this.width||0;if(A){var w=function(d,h){var k=d.textContent||"",r=k.replace(/([^\^])-/g,"$1- ").split(" "),n=!a.noWrap&&(1<r.length||1<f.element.childNodes.length),g=a.getLineHeight(h),D=0,c=f.actualWidth;if(a.ellipsis)k&&
121
- a.truncate(d,k,void 0,0,Math.max(0,A-parseInt(a.fontSize||12,10)),function(c,a){return c.substring(0,a)+"\u2026"});else if(n){k=[];for(n=[];h.firstChild&&h.firstChild!==d;)n.push(h.firstChild),h.removeChild(h.firstChild);for(;r.length;)r.length&&!a.noWrap&&0<D&&(k.push(d.textContent||""),d.textContent=r.join(" ").replace(/- /g,"-")),a.truncate(d,void 0,r,0===D?c||0:0,A,function(c,a){return r.slice(0,a).join(" ").replace(/- /g,"-")}),c=f.actualWidth,D++;n.forEach(function(c){h.insertBefore(c,d)});
122
- k.forEach(function(c){h.insertBefore(K.createTextNode(c),d);c=K.createElementNS(B,"tspan");c.textContent="\u200b";F(c,{dy:g,x:b});h.insertBefore(c,d)})}},e=function(a){[].slice.call(a.childNodes).forEach(function(h){h.nodeType===q.Node.TEXT_NODE?w(h,a):(-1!==h.className.baseVal.indexOf("highcharts-br")&&(f.actualWidth=0),e(h))})};e(f.element)}};f.prototype.getLineHeight=function(a){var d;a=a.nodeType===q.Node.TEXT_NODE?a.parentElement:a;this.renderer.styledMode||(d=a&&/(px|em)$/.test(a.style.fontSize)?
123
- a.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(d,a||this.svgElement.element).h};f.prototype.modifyTree=function(a){var d=this,f=function(k,b){var p=k.attributes;p=void 0===p?{}:p;var l=k.children,t=k.style;t=void 0===t?{}:t;var h=k.tagName,y=d.renderer.styledMode;if("b"===h||"strong"===h)y?p["class"]="highcharts-strong":t.fontWeight="bold";else if("i"===h||"em"===h)y?p["class"]="highcharts-emphasized":
124
- t.fontStyle="italic";t&&t.color&&(t.fill=t.color);"br"===h?(p["class"]="highcharts-br",k.textContent="\u200b",(b=a[b+1])&&b.textContent&&(b.textContent=b.textContent.replace(/^ +/gm,""))):"a"===h&&l&&l.some(function(a){return"#text"===a.tagName})&&(k.children=[{children:l,tagName:"tspan"}]);"#text"!==h&&"a"!==h&&(k.tagName="tspan");x(k,{attributes:p,style:t});l&&l.filter(function(a){return"#text"!==a.tagName}).forEach(f)};a.forEach(f);v(this.svgElement,"afterModifyTree",{nodes:a})};f.prototype.truncate=
125
- function(a,f,b,l,e,w){var d=this.svgElement,k=d.renderer,h=d.rotation,y=[],r=b?1:0,n=(f||b||"").length,g=n,D,c=function(c,g){g=g||c;var h=a.parentNode;if(h&&"undefined"===typeof y[g])if(h.getSubStringLength)try{y[g]=l+h.getSubStringLength(0,b?g+1:g)}catch(P){""}else k.getSpanWidth&&(a.textContent=w(f||b,c),y[g]=l+k.getSpanWidth(d,a));return y[g]};d.rotation=0;var z=c(a.textContent.length);if(l+z>e){for(;r<=n;)g=Math.ceil((r+n)/2),b&&(D=w(b,g)),z=c(g,D&&D.length-1),r===n?r=n+1:z>e?n=g-1:r=g;0===n?
126
- a.textContent="":f&&n===f.length-1||(a.textContent=D||w(f||b,g))}b&&b.splice(0,g);d.actualWidth=z;d.rotation=h};f.prototype.unescapeEntities=function(a,f){l(this.renderer.escapes,function(d,b){f&&-1!==f.indexOf(d)||(a=a.toString().replace(new RegExp(d,"g"),b))});return a};return f}()});J(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],
127
- e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q,F,x,v){var m=u.charts,l=u.deg2rad,a=u.doc,f=u.isFirefox,d=u.isMS,k=u.isWebKit,p=u.noop,E=u.SVG_NS,A=u.symbolSizes,w=u.win,I=v.addEvent,t=v.attr,h=v.createElement,y=v.css,r=v.defined,n=v.destroyObjectProperties,g=v.extend,D=v.isArray,c=v.isNumber,z=v.isObject,G=v.isString,H=v.merge,O=v.pick,P=v.pInt,K=v.uniqueKey,Y;u=function(){function p(c,a,g,h,d,f,n){this.width=this.url=this.style=
128
- 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(c,a,g,h,d,f,n)}p.prototype.init=function(c,g,h,d,n,r,z){var D=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"}),b=D.element;z||D.css(this.getStyle(d));c.appendChild(b);t(c,"dir","ltr");-1===c.innerHTML.indexOf("xmlns")&&t(b,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=b;this.boxWrapper=D;this.alignedObjects=
129
- [];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(a.createTextNode("Created with Highcharts 10.3.1"));this.defs=this.createElement("defs").add();this.allowHTML=r;this.forExport=n;this.styledMode=z;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(g,h,!1);var k;f&&c.getBoundingClientRect&&(g=function(){y(c,{left:0,top:0});k=c.getBoundingClientRect();y(c,{left:Math.ceil(k.left)-k.left+"px",top:Math.ceil(k.top)-k.top+"px"})},g(),this.unSubPixelFix=
130
- I(w,"resize",g))};p.prototype.definition=function(c){return(new b([c])).addToDOM(this.defs.element)};p.prototype.getReferenceURL=function(){if((f||k)&&a.getElementsByTagName("base").length){if(!r(Y)){var c=K();c=(new b([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:c},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(c,")"),fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(a.body);
131
- y(c,{position:"fixed",top:0,left:0,zIndex:9E5});var g=a.elementFromPoint(6,6);Y="hitme"===(g&&g.id);a.body.removeChild(c)}if(Y)return w.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};p.prototype.getStyle=function(c){return this.style=g({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},c)};p.prototype.setStyle=function(c){this.boxWrapper.css(this.getStyle(c))};p.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};
132
- p.prototype.destroy=function(){var c=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();n(this.gradients||{});this.gradients=null;c&&(this.defs=c.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};p.prototype.createElement=function(c){var a=new this.Element;a.init(this,c);return a};p.prototype.getRadialAttr=function(c,a){return{cx:c[0]-c[2]/2+(a.cx||0)*c[2],cy:c[1]-c[2]/2+(a.cy||0)*c[2],r:(a.r||0)*c[2]}};p.prototype.buildText=function(c){(new x(c)).buildSVG()};
133
- p.prototype.getContrast=function(c){c=e.parse(c).rgba.map(function(c){c/=255;return.03928>=c?c/12.92:Math.pow((c+.055)/1.055,2.4)});c=.2126*c[0]+.7152*c[1]+.0722*c[2];return 1.05/(c+.05)>(c+.05)/.05?"#FFFFFF":"#000000"};p.prototype.button=function(c,a,h,f,n,r,D,k,p,y){void 0===n&&(n={});var l=this.label(c,a,h,p,void 0,void 0,y,void 0,"button"),t=this.styledMode;c=n.states||{};var G=0;n=H(n);delete n.states;var Q=H({color:"#333333",cursor:"pointer",fontWeight:"normal"},n.style);delete n.style;var e=
134
- b.filterUserAttributes(n);l.attr(H({padding:8,r:2},e));if(!t){e=H({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},e);r=H(e,{fill:"#e6e6e6"},b.filterUserAttributes(r||c.hover||{}));var w=r.style;delete r.style;D=H(e,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},b.filterUserAttributes(D||c.select||{}));var A=D.style;delete D.style;k=H(e,{style:{color:"#cccccc"}},b.filterUserAttributes(k||c.disabled||{}));var E=k.style;delete k.style}I(l.element,d?"mouseover":"mouseenter",function(){3!==
135
- G&&l.setState(1)});I(l.element,d?"mouseout":"mouseleave",function(){3!==G&&l.setState(G)});l.setState=function(c){1!==c&&(l.state=G=c);l.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][c||0]);t||(l.attr([e,r,D,k][c||0]),c=[Q,w,A,E][c||0],z(c)&&l.css(c))};t||(l.attr(e).css(g({cursor:"default"},Q)),y&&l.text.css({pointerEvents:"none"}));return l.on("touchstart",function(c){return c.stopPropagation()}).on("click",
136
- function(c){3!==G&&f.call(l,c)})};p.prototype.crispLine=function(c,a,g){void 0===g&&(g="round");var h=c[0],d=c[1];r(h[1])&&h[1]===d[1]&&(h[1]=d[1]=Math[g](h[1])-a%2/2);r(h[2])&&h[2]===d[2]&&(h[2]=d[2]=Math[g](h[2])+a%2/2);return c};p.prototype.path=function(c){var a=this.styledMode?{}:{fill:"none"};D(c)?a.d=c:z(c)&&g(a,c);return this.createElement("path").attr(a)};p.prototype.circle=function(c,a,g){c=z(c)?c:"undefined"===typeof c?{}:{x:c,y:a,r:g};a=this.createElement("circle");a.xSetter=a.ySetter=
137
- function(c,a,g){g.setAttribute("c"+a,c)};return a.attr(c)};p.prototype.arc=function(c,a,g,h,d,f){z(c)?(h=c,a=h.y,g=h.r,c=h.x):h={innerR:h,start:d,end:f};c=this.symbol("arc",c,a,g,g,h);c.r=g;return c};p.prototype.rect=function(c,a,g,h,d,f){d=z(c)?c.r:d;var n=this.createElement("rect");c=z(c)?c:"undefined"===typeof c?{}:{x:c,y:a,width:Math.max(g,0),height:Math.max(h,0)};this.styledMode||("undefined"!==typeof f&&(c["stroke-width"]=f,c=n.crisp(c)),c.fill="none");d&&(c.r=d);n.rSetter=function(c,a,g){n.r=
138
- c;t(g,{rx:c,ry:c})};n.rGetter=function(){return n.r||0};return n.attr(c)};p.prototype.setSize=function(c,a,g){this.width=c;this.height=a;this.boxWrapper.animate({width:c,height:a},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:O(g,!0)?void 0:0});this.alignElements()};p.prototype.g=function(c){var a=this.createElement("g");return c?a.attr({"class":"highcharts-"+c}):a};p.prototype.image=function(a,g,h,d,f,n){var r={preserveAspectRatio:"none"},D=function(c,
139
- a){c.setAttributeNS?c.setAttributeNS("http://www.w3.org/1999/xlink","href",a):c.setAttribute("hc-svg-href",a)};c(g)&&(r.x=g);c(h)&&(r.y=h);c(d)&&(r.width=d);c(f)&&(r.height=f);var k=this.createElement("image").attr(r);g=function(c){D(k.element,a);n.call(k,c)};n?(D(k.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),h=new w.Image,I(h,"load",g),h.src=a,h.complete&&g({})):D(k.element,a);return k};p.prototype.symbol=function(c,d,f,n,k,D){var z=this,b=/^url\((.*?)\)$/,
140
- p=b.test(c),l=!p&&(this.symbols[c]?c:"circle"),G=l&&this.symbols[l],Q;if(G){"number"===typeof d&&(Q=G.call(this.symbols,Math.round(d||0),Math.round(f||0),n||0,k||0,D));var H=this.path(Q);z.styledMode||H.attr("fill","none");g(H,{symbolName:l||void 0,x:d,y:f,width:n,height:k});D&&g(H,D)}else if(p){var e=c.match(b)[1];var w=H=this.image(e);w.imgwidth=O(A[e]&&A[e].width,D&&D.width);w.imgheight=O(A[e]&&A[e].height,D&&D.height);var E=function(c){return c.attr({width:c.width,height:c.height})};["width",
141
- "height"].forEach(function(c){w[c+"Setter"]=function(c,a){this[a]=c;c=this.alignByTranslate;var g=this.element,h=this.width,d=this.height,f=this.imgwidth,n=this.imgheight,k=this["img"+a];if(r(k)){var z=1;D&&"within"===D.backgroundSize&&h&&d?(z=Math.min(h/f,d/n),k=Math.round(k*z),t(g,{width:Math.round(f*z),height:Math.round(n*z)})):g&&g.setAttribute(a,k);c||this.translate(((h||0)-k*z)/2,((d||0)-k*z)/2)}}});r(d)&&w.attr({x:d,y:f});w.isImg=!0;r(w.imgwidth)&&r(w.imgheight)?E(w):(w.attr({width:0,height:0}),
142
- h("img",{onload:function(){var c=m[z.chartIndex];0===this.width&&(y(this,{position:"absolute",top:"-999em"}),a.body.appendChild(this));A[e]={width:this.width,height:this.height};w.imgwidth=this.width;w.imgheight=this.height;w.element&&E(w);this.parentNode&&this.parentNode.removeChild(this);z.imgCount--;if(!z.imgCount&&c&&!c.hasLoaded)c.onload()},src:e}),this.imgCount++)}return H};p.prototype.clipRect=function(c,a,g,h){var d=K()+"-",f=this.createElement("clipPath").attr({id:d}).add(this.defs);c=this.rect(c,
143
- a,g,h,0).add(f);c.id=d;c.clipPath=f;c.count=0;return c};p.prototype.text=function(c,a,g,h){var d={};if(h&&(this.allowHTML||!this.forExport))return this.html(c,a,g);d.x=Math.round(a||0);g&&(d.y=Math.round(g));r(c)&&(d.text=c);c=this.createElement("text").attr(d);if(!h||this.forExport&&!this.allowHTML)c.xSetter=function(c,a,g){for(var h=g.getElementsByTagName("tspan"),d=g.getAttribute(a),f=0,n;f<h.length;f++)n=h[f],n.getAttribute(a)===d&&n.setAttribute(a,c);g.setAttribute(a,c)};return c};p.prototype.fontMetrics=
144
- function(c,a){c=!this.styledMode&&/px/.test(c)||!w.getComputedStyle?c||a&&a.style&&a.style.fontSize||this.style&&this.style.fontSize:a&&B.prototype.getStyle.call(a,"font-size");c=/px/.test(c)?P(c):12;a=24>c?c+3:Math.round(1.2*c);return{h:a,b:Math.round(.8*a),f:c}};p.prototype.rotCorr=function(c,a,g){var h=c;a&&g&&(h=Math.max(h*Math.cos(a*l),4));return{x:-c/3*Math.sin(a*l),y:h}};p.prototype.pathToSegments=function(a){for(var g=[],h=[],d={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},f=0;f<a.length;f++)G(h[0])&&
145
- c(a[f])&&h.length===d[h[0].toUpperCase()]&&a.splice(f,0,h[0].replace("M","L").replace("m","l")),"string"===typeof a[f]&&(h.length&&g.push(h.slice(0)),h.length=0),h.push(a[f]);g.push(h.slice(0));return g};p.prototype.label=function(c,a,g,h,d,f,n,r,k){return new q(this,c,a,g,h,d,f,n,r,k)};p.prototype.alignElements=function(){this.alignedObjects.forEach(function(c){return c.align()})};return p}();g(u.prototype,{Element:B,SVG_NS:E,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:F,
146
- draw:p});C.registerRendererType("svg",u,!0);"";return u});J(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(b,e,u){var K=this&&this.__extends||function(){var a=function(d,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var f in d)d.hasOwnProperty(f)&&(a[f]=d[f])};return a(d,f)};return function(d,f){function k(){this.constructor=d}a(d,f);d.prototype=null===f?
147
- Object.create(f):(k.prototype=f.prototype,new k)}}(),B=b.isFirefox,q=b.isMS,F=b.isWebKit,x=b.win,v=u.css,m=u.defined,l=u.extend,a=u.pick,f=u.pInt;return function(d){function k(){return null!==d&&d.apply(this,arguments)||this}K(k,d);k.compose=function(a){if(-1===k.composedClasses.indexOf(a)){k.composedClasses.push(a);var d=k.prototype,f=a.prototype;f.getSpanCorrection=d.getSpanCorrection;f.htmlCss=d.htmlCss;f.htmlGetBBox=d.htmlGetBBox;f.htmlUpdateTransform=d.htmlUpdateTransform;f.setSpanRotation=d.setSpanRotation}return a};
148
- k.prototype.getSpanCorrection=function(a,d,f){this.xCorr=-a*f;this.yCorr=-d};k.prototype.htmlCss=function(d){var f="SPAN"===this.element.tagName&&d&&"width"in d,k=a(f&&d.width,void 0);if(f){delete d.width;this.textWidth=k;var b=!0}d&&"ellipsis"===d.textOverflow&&(d.whiteSpace="nowrap",d.overflow="hidden");this.styles=l(this.styles,d);v(this.element,d);b&&this.htmlUpdateTransform();return this};k.prototype.htmlGetBBox=function(){var a=this.element;return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,
149
- height:a.offsetHeight}};k.prototype.htmlUpdateTransform=function(){if(this.added){var a=this.renderer,d=this.element,k=this.translateX||0,b=this.translateY||0,l=this.x||0,t=this.y||0,h=this.textAlign||"left",y={left:0,center:.5,right:1}[h],r=this.styles;r=r&&r.whiteSpace;v(d,{marginLeft:k,marginTop:b});!a.styledMode&&this.shadows&&this.shadows.forEach(function(c){v(c,{marginLeft:k+1,marginTop:b+1})});this.inverted&&[].forEach.call(d.childNodes,function(c){a.invertChild(c,d)});if("SPAN"===d.tagName){var n=
150
- this.rotation,g=this.textWidth&&f(this.textWidth),D=[n,h,d.innerHTML,this.textWidth,this.textAlign].join(),c=void 0;c=!1;if(g!==this.oldTextWidth){if(this.textPxLength)var z=this.textPxLength;else v(d,{width:"",whiteSpace:r||"nowrap"}),z=d.offsetWidth;(g>this.oldTextWidth||z>g)&&(/[ \-]/.test(d.textContent||d.innerText)||"ellipsis"===d.style.textOverflow)&&(v(d,{width:z>g||n?g+"px":"auto",display:"block",whiteSpace:r||"normal"}),this.oldTextWidth=g,c=!0)}this.hasBoxWidthChanged=c;D!==this.cTT&&(c=
151
- a.fontMetrics(d.style.fontSize,d).b,!m(n)||n===(this.oldRotation||0)&&h===this.oldAlign||this.setSpanRotation(n,y,c),this.getSpanCorrection(!m(n)&&this.textPxLength||d.offsetWidth,c,y,n,h));v(d,{left:l+(this.xCorr||0)+"px",top:t+(this.yCorr||0)+"px"});this.cTT=D;this.oldRotation=n;this.oldAlign=h}}else this.alignOnAdd=!0};k.prototype.setSpanRotation=function(a,d,f){var k={},b=q&&!/Edge/.test(x.navigator.userAgent)?"-ms-transform":F?"-webkit-transform":B?"MozTransform":x.opera?"-o-transform":void 0;
152
- b&&(k[b]=k.transform="rotate("+a+"deg)",k[b+(B?"Origin":"-origin")]=k.transformOrigin=100*d+"% "+f+"px",v(this.element,k))};k.composedClasses=[];return k}(e)});J(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(b,e,u,C){var K=this&&this.__extends||function(){var b=function(l,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,
153
- d){for(var f in d)d.hasOwnProperty(f)&&(a[f]=d[f])};return b(l,a)};return function(l,a){function f(){this.constructor=l}b(l,a);l.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),q=C.attr,F=C.createElement,x=C.extend,v=C.pick;return function(m){function l(){return null!==m&&m.apply(this,arguments)||this}K(l,m);l.compose=function(a){-1===l.composedClasses.indexOf(a)&&(l.composedClasses.push(a),a.prototype.html=l.prototype.html);return a};l.prototype.html=function(a,f,d){var k=
154
- this.createElement("span"),l=k.element,m=k.renderer,A=m.isSVG,w=function(a,d){["opacity","visibility"].forEach(function(h){a[h+"Setter"]=function(f,r,n){var g=a.div?a.div.style:d;e.prototype[h+"Setter"].call(this,f,r,n);g&&(g[r]=f)}});a.addedSetters=!0};k.textSetter=function(a){a!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,b.setElementHTML(this.element,v(a,"")),this.textStr=a,k.doTransform=!0)};A&&w(k,k.element.style);k.xSetter=k.ySetter=k.alignSetter=k.rotationSetter=function(a,d){"align"===
155
- d?k.alignValue=k.textAlign=a:k[d]=a;k.doTransform=!0};k.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};k.attr({text:a,x:Math.round(f),y:Math.round(d)}).css({position:"absolute"});m.styledMode||k.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});l.style.whiteSpace="nowrap";k.css=k.htmlCss;A&&(k.add=function(a){var d=m.box.parentNode,h=[];if(this.parentGroup=a){var f=a.div;if(!f){for(;a;)h.push(a),a=a.parentGroup;h.reverse().forEach(function(a){function n(g,
156
- h){a[h]=g;"translateX"===h?c.left=g+"px":c.top=g+"px";a.doTransform=!0}var g=q(a.element,"class"),r=a.styles||{};f=a.div=a.div||F("div",g?{className:g}:void 0,{position:"absolute",left:(a.translateX||0)+"px",top:(a.translateY||0)+"px",display:a.display,opacity:a.opacity,cursor:r.cursor,pointerEvents:r.pointerEvents,visibility:a.visibility},f||d);var c=f.style;x(a,{classSetter:function(c){return function(a){this.element.setAttribute("class",a);c.className=a}}(f),on:function(){h[0].div&&k.on.apply({element:h[0].div,
157
- onEvents:a.onEvents},arguments);return a},translateXSetter:n,translateYSetter:n});a.addedSetters||w(a)})}}else f=d;f.appendChild(l);k.added=!0;k.alignOnAdd&&k.htmlUpdateTransform();return k});return k};l.composedClasses=[];return l}(u)});J(e,"Core/Axis/AxisDefaults.js",[],function(){var b;(function(b){b.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},
46
+ 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:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:z.svg,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",
47
+ month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:z.isTouchDevice?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:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,
48
+ href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};t.chart.styledMode=!1;"";var r=new w(I(t.global,t.time));b={defaultOptions:t,defaultTime:r,getOptions:function(){return t},setOptions:function(n){I(!0,t,n);if(n.time||n.global)z.time?z.time.update(I(t.global,t.time,n.global,n.time)):z.time=r;return t}};"";return b});H(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],
49
+ e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,z){var I=b.parse,w=e.win,y=z.isNumber,G=z.objectEach;return function(){function b(b,n,h){this.pos=NaN;this.options=n;this.elem=b;this.prop=h}b.prototype.dSetter=function(){var b=this.paths,n=b&&b[0];b=b&&b[1];var h=this.now||0,a=[];if(1!==h&&n&&b)if(n.length===b.length&&1>h)for(var f=0;f<b.length;f++){for(var d=n[f],k=b[f],p=[],D=0;D<k.length;D++){var A=d[D],x=k[D];y(A)&&y(x)&&("A"!==k[0]||4!==D&&5!==D)?p[D]=A+h*(x-A):p[D]=x}a.push(p)}else a=
50
+ b;else a=this.toD||[];this.elem.attr("d",a,void 0,!0)};b.prototype.update=function(){var b=this.elem,n=this.prop,h=this.now,a=this.options.step;if(this[n+"Setter"])this[n+"Setter"]();else b.attr?b.element&&b.attr(n,h,null,!0):b.style[n]=h+this.unit;a&&a.call(b,h,this)};b.prototype.run=function(r,n,h){var a=this,f=a.options,d=function(f){return d.stopped?!1:a.step(f)},k=w.requestAnimationFrame||function(a){setTimeout(a,13)},p=function(){for(var a=0;a<b.timers.length;a++)b.timers[a]()||b.timers.splice(a--,
51
+ 1);b.timers.length&&k(p)};r!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=r,this.end=n,this.unit=h,this.now=this.start,this.pos=0,d.elem=this.elem,d.prop=this.prop,d()&&1===b.timers.push(d)&&k(p)):(delete f.curAnim[this.prop],f.complete&&0===Object.keys(f.curAnim).length&&f.complete.call(this.elem))};b.prototype.step=function(b){var n=+new Date,h=this.options,a=this.elem,f=h.complete,d=h.duration,k=h.curAnim;if(a.attr&&!a.element)b=!1;else if(b||n>=d+this.startTime){this.now=
52
+ this.end;this.pos=1;this.update();var p=k[this.prop]=!0;G(k,function(a){!0!==a&&(p=!1)});p&&f&&f.call(a);b=!1}else this.pos=h.easing((n-this.startTime)/d),this.now=this.start+(this.end-this.start)*this.pos,this.update(),b=!0;return b};b.prototype.initPath=function(b,n,h){function a(a,c){for(;a.length<E;){var d=a[0],m=c[E-a.length];m&&"M"===d[0]&&(a[0]="C"===m[0]?["C",d[1],d[2],d[1],d[2],d[1],d[2]]:["L",d[1],d[2]]);a.unshift(d);p&&(d=a.pop(),a.push(a[a.length-1],d))}}function f(a,c){for(;a.length<
53
+ E;)if(c=a[Math.floor(a.length/D)-1].slice(),"C"===c[0]&&(c[1]=c[5],c[2]=c[6]),p){var d=a[Math.floor(a.length/D)].slice();a.splice(a.length/2,0,c,d)}else a.push(c)}var d=b.startX,k=b.endX;h=h.slice();var p=b.isArea,D=p?2:1;n=n&&n.slice();if(!n)return[h,h];if(d&&k&&k.length){for(b=0;b<d.length;b++)if(d[b]===k[0]){var A=b;break}else if(d[0]===k[k.length-d.length+b]){A=b;var x=!0;break}else if(d[d.length-1]===k[k.length-d.length+b]){A=d.length-b;break}"undefined"===typeof A&&(n=[])}if(n.length&&y(A)){var E=
54
+ h.length+A*D;x?(a(n,h),f(h,n)):(a(h,n),f(n,h))}return[n,h]};b.prototype.fillSetter=function(){b.prototype.strokeSetter.apply(this,arguments)};b.prototype.strokeSetter=function(){this.elem.attr(this.prop,I(this.start).tweenTo(I(this.end),this.pos),void 0,!0)};b.timers=[];return b}()});H(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],function(b,e){function z(a){return r(a)?n({duration:500,defer:0},a):{duration:a?500:0,defer:0}}function I(a,d){for(var f=b.timers.length;f--;)b.timers[f].elem!==
55
+ a||d&&d!==b.timers[f].prop||(b.timers[f].stopped=!0)}var w=e.defined,y=e.getStyle,G=e.isArray,t=e.isNumber,r=e.isObject,n=e.merge,h=e.objectEach,a=e.pick;return{animate:function(a,d,k){var f,D="",A,x;if(!r(k)){var E=arguments;k={duration:E[2],easing:E[3],complete:E[4]}}t(k.duration)||(k.duration=400);k.easing="function"===typeof k.easing?k.easing:Math[k.easing]||Math.easeInOutSine;k.curAnim=n(d);h(d,function(q,c){I(a,c);x=new b(a,k,c);A=void 0;"d"===c&&G(d.d)?(x.paths=x.initPath(a,a.pathArray,d.d),
56
+ x.toD=d.d,f=0,A=1):a.attr?f=a.attr(c):(f=parseFloat(y(a,c))||0,"opacity"!==c&&(D="px"));A||(A=q);"string"===typeof A&&A.match("px")&&(A=A.replace(/px/g,""));x.run(f,A,D)})},animObject:z,getDeferredAnimation:function(a,d,k){var f=z(d),h=0,A=0;(k?[k]:a.series).forEach(function(a){a=z(a.options.animation);h=d&&w(d.defer)?f.defer:Math.max(h,a.duration+a.defer);A=Math.min(f.duration,a.duration)});a.renderer.forExport&&(h=0);return{defer:Math.max(0,h-A),duration:Math.min(h,A)}},setAnimation:function(f,
57
+ d){d.renderer.globalAnimation=a(f,d.options.chart.animation,!0)},stop:I}});H(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e){var z=b.SVG_NS,I=e.attr,w=e.createElement,y=e.css,G=e.error,t=e.isFunction,r=e.isString,n=e.objectEach,h=e.splat,a=(e=b.win.trustedTypes)&&t(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(a){return a}}),f=a?a.createHTML(""):"";try{var d=!!(new DOMParser).parseFromString(f,"text/html")}catch(k){d=!1}t=function(){function k(a){this.nodes=
58
+ "string"===typeof a?this.parseMarkup(a):a}k.filterUserAttributes=function(a){n(a,function(d,f){var p=!0;-1===k.allowedAttributes.indexOf(f)&&(p=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(f)&&(p=r(d)&&k.allowedReferences.some(function(a){return 0===d.indexOf(a)}));p||(G(33,!1,void 0,{"Invalid attribute in config":"".concat(f)}),delete a[f]);r(d)&&a[f]&&(a[f]=d.replace(/</g,"&lt;"))});return a};k.parseStyle=function(a){return a.split(";").reduce(function(a,d){d=d.split(":").map(function(a){return a.trim()});
59
+ var f=d.shift();f&&d.length&&(a[f.replace(/-([a-z])/g,function(a){return a[1].toUpperCase()})]=d.join(":"));return a},{})};k.setElementHTML=function(a,d){a.innerHTML=k.emptyHTML;d&&(new k(d)).addToDOM(a)};k.prototype.addToDOM=function(a){function d(a,f){var p;h(a).forEach(function(a){var c=a.tagName,q=a.textContent?b.doc.createTextNode(a.textContent):void 0,m=k.bypassHTMLFiltering;if(c)if("#text"===c)var u=q;else if(-1!==k.allowedTags.indexOf(c)||m){c=b.doc.createElementNS("svg"===c?z:f.namespaceURI||
60
+ z,c);var g=a.attributes||{};n(a,function(c,a){"tagName"!==a&&"attributes"!==a&&"children"!==a&&"style"!==a&&"textContent"!==a&&(g[a]=c)});I(c,m?g:k.filterUserAttributes(g));a.style&&y(c,a.style);q&&c.appendChild(q);d(a.children||[],c);u=c}else G(33,!1,void 0,{"Invalid tagName in config":c});u&&f.appendChild(u);p=u});return p}return d(this.nodes,a)};k.prototype.parseMarkup=function(f){var p=[];f=f.trim().replace(/ style=(["'])/g," data-style=$1");if(d)f=(new DOMParser).parseFromString(a?a.createHTML(f):
61
+ f,"text/html");else{var h=w("div");h.innerHTML=f;f={body:h}}var x=function(a,d){var c=a.nodeName.toLowerCase(),f={tagName:c};"#text"===c&&(f.textContent=a.textContent||"");if(c=a.attributes){var m={};[].forEach.call(c,function(c){"data-style"===c.name?f.style=k.parseStyle(c.value):m[c.name]=c.value});f.attributes=m}if(a.childNodes.length){var u=[];[].forEach.call(a.childNodes,function(c){x(c,u)});u.length&&(f.children=u)}d.push(f)};[].forEach.call(f.body.childNodes,function(a){return x(a,p)});return p};
62
+ k.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 paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align text-anchor textAnchor textLength title type valign width x x1 x2 xlink:href y y1 y2 zIndex".split(" ");
63
+ k.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");k.allowedTags="a abbr 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 textPath thead title tbody tspan td th tr u ul #text".split(" ");k.emptyHTML=f;k.bypassHTMLFiltering=!1;return k}();
64
+ "";return t});H(e,"Core/FormatUtilities.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(b,e){function z(b,h,a,f){b=+b||0;h=+h;var d=I.lang,k=(b.toString().split(".")[1]||"").split("e")[0].length,p=b.toString().split("e"),D=h;if(-1===h)h=Math.min(k,20);else if(!G(h))h=2;else if(h&&p[1]&&0>p[1]){var A=h+ +p[1];0<=A?(p[0]=(+p[0]).toExponential(A).split("e")[0],h=A):(p[0]=p[0].split(".")[0]||0,b=20>h?(p[0]*Math.pow(10,p[1])).toFixed(h):0,p[1]=0)}A=(Math.abs(p[1]?p[0]:b)+Math.pow(10,-Math.max(h,
65
+ k)-1)).toFixed(h);k=String(r(A));var x=3<k.length?k.length%3:0;a=t(a,d.decimalPoint);f=t(f,d.thousandsSep);b=(0>b?"-":"")+(x?k.substr(0,x)+f:"");b=0>+p[1]&&!D?"0":b+k.substr(x).replace(/(\d{3})(?=\d)/g,"$1"+f);h&&(b+=a+A.slice(-h));p[1]&&0!==+b&&(b+="e"+p[1]);return b}var I=b.defaultOptions,w=b.defaultTime,y=e.getNestedProperty,G=e.isNumber,t=e.pick,r=e.pInt;return{dateFormat:function(b,h,a){return w.dateFormat(b,h,a)},format:function(b,h,a){var f="{",d=!1,k=/f$/,p=/\.([0-9])/,D=I.lang,A=a&&a.time||
66
+ w;a=a&&a.numberFormatter||z;for(var x=[];b;){var n=b.indexOf(f);if(-1===n)break;var q=b.slice(0,n);if(d){q=q.split(":");f=y(q.shift()||"",h);if(q.length&&"number"===typeof f)if(q=q.join(":"),k.test(q)){var c=parseInt((q.match(p)||["","-1"])[1],10);null!==f&&(f=a(f,c,D.decimalPoint,-1<q.indexOf(",")?D.thousandsSep:""))}else f=A.dateFormat(q,f);x.push(f)}else x.push(q);b=b.slice(n+1);f=(d=!d)?"}":"{"}x.push(b);return x.join("")},numberFormat:z}});H(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],
67
+ function(b){var e=b.clamp,z=b.pick,C=b.stableSort,w;(function(b){function y(b,r,n){var h=b,a=h.reducedLen||r,f=function(a,d){return(d.rank||0)-(a.rank||0)},d=function(a,d){return a.target-d.target},k,p=!0,D=[],A=0;for(k=b.length;k--;)A+=b[k].size;if(A>a){C(b,f);for(A=k=0;A<=a;)A+=b[k].size,k++;D=b.splice(k-1,b.length)}C(b,d);for(b=b.map(function(a){return{size:a.size,targets:[a.target],align:z(a.align,.5)}});p;){for(k=b.length;k--;)a=b[k],f=(Math.min.apply(0,a.targets)+Math.max.apply(0,a.targets))/
68
+ 2,a.pos=e(f-a.size*a.align,0,r-a.size);k=b.length;for(p=!1;k--;)0<k&&b[k-1].pos+b[k-1].size>b[k].pos&&(b[k-1].size+=b[k].size,b[k-1].targets=b[k-1].targets.concat(b[k].targets),b[k-1].align=.5,b[k-1].pos+b[k-1].size>r&&(b[k-1].pos=r-b[k-1].size),b.splice(k,1),p=!0)}h.push.apply(h,D);k=0;b.some(function(a){var d=0;return(a.targets||[]).some(function(){h[k].pos=a.pos+d;if("undefined"!==typeof n&&Math.abs(h[k].pos-h[k].target)>n)return h.slice(0,k+1).forEach(function(a){return delete a.pos}),h.reducedLen=
69
+ (h.reducedLen||r)-.1*r,h.reducedLen>.1*r&&y(h,r,n),!0;d+=h[k].size;k++;return!1})});C(h,d);return h}b.distribute=y})(w||(w={}));return w});H(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,z,C){var w=b.animate,y=b.animObject,I=b.stop,t=z.deg2rad,r=z.doc,n=z.svg,h=z.SVG_NS,a=z.win,f=C.addEvent,d=C.attr,k=C.createElement,p=C.css,D=C.defined,A=C.erase,x=C.extend,E=C.fireEvent,q=C.isArray,
70
+ c=C.isFunction,B=C.isString,m=C.merge,u=C.objectEach,g=C.pick,F=C.pInt,l=C.syncTimeout,v=C.uniqueKey;b=function(){function b(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=h;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}b.prototype._defaultGetter=function(c){c=g(this[c+"Value"],this[c],this.element?this.element.getAttribute(c):null,0);/^[\-0-9\.]+$/.test(c)&&(c=parseFloat(c));return c};b.prototype._defaultSetter=
71
+ function(c,a,g){g.setAttribute(a,c)};b.prototype.add=function(c){var a=this.renderer,g=this.element;c&&(this.parentGroup=c);"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&a.buildText(this);this.added=!0;if(!c||c.handleZ||this.zIndex)var l=this.zIndexSetter();l||(c?c.element:a.box).appendChild(g);if(this.onAdd)this.onAdd();return this};b.prototype.addClass=function(c,a){var g=a?"":this.attr("class")||"";c=(c||"").split(/ /g).reduce(function(c,a){-1===g.indexOf(a)&&c.push(a);return c},
72
+ g?[g]:[]).join(" ");c!==g&&this.attr("class",c);return this};b.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)};b.prototype.align=function(c,a,l){var m={},d=this.renderer,f=d.alignedObjects,v,u,J;if(c){if(this.alignOptions=c,this.alignByTranslate=a,!l||B(l))this.alignTo=v=l||"renderer",A(f,this),f.push(this),l=void 0}else c=this.alignOptions,a=this.alignByTranslate,v=this.alignTo;l=g(l,d[v],"scrollablePlotBox"===v?d.plotBox:void 0,d);v=c.align;var k=
73
+ c.verticalAlign;d=(l.x||0)+(c.x||0);f=(l.y||0)+(c.y||0);"right"===v?u=1:"center"===v&&(u=2);u&&(d+=(l.width-(c.width||0))/u);m[a?"translateX":"x"]=Math.round(d);"bottom"===k?J=1:"middle"===k&&(J=2);J&&(f+=(l.height-(c.height||0))/J);m[a?"translateY":"y"]=Math.round(f);this[this.placed?"animate":"attr"](m);this.placed=!0;this.alignAttr=m;return this};b.prototype.alignSetter=function(c){var a={left:"start",center:"middle",right:"end"};a[c]&&(this.alignValue=c,this.element.setAttribute("text-anchor",
74
+ a[c]))};b.prototype.animate=function(c,a,m){var d=this,f=y(g(a,this.renderer.globalAnimation,!0));a=f.defer;g(r.hidden,r.msHidden,r.webkitHidden,!1)&&(f.duration=0);0!==f.duration?(m&&(f.complete=m),l(function(){d.element&&w(d,c,f)},a)):(this.attr(c,void 0,m||f.complete),u(c,function(c,a){f.step&&f.step.call(this,c,{prop:a,pos:1,elem:this})},this));return this};b.prototype.applyTextOutline=function(c){var a=this.element;-1!==c.indexOf("contrast")&&(c=c.replace(/contrast/g,this.renderer.getContrast(a.style.fill)));
75
+ var g=c.split(" ");c=g[g.length-1];if((g=g[0])&&"none"!==g&&z.svg){this.fakeTS=!0;g=g.replace(/(^[\d\.]+)(.*?)$/g,function(c,a,g){return 2*Number(a)+g});this.removeTextOutline();var l=r.createElementNS(h,"tspan");d(l,{"class":"highcharts-text-outline",fill:c,stroke:c,"stroke-width":g,"stroke-linejoin":"round"});c=a.querySelector("textPath")||a;[].forEach.call(c.childNodes,function(c){var a=c.cloneNode(!0);a.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(c){return a.removeAttribute(c)});
76
+ l.appendChild(a)});var m=0;[].forEach.call(c.querySelectorAll("text tspan"),function(c){m+=Number(c.getAttribute("dy"))});g=r.createElementNS(h,"tspan");g.textContent="\u200b";d(g,{x:Number(a.getAttribute("x")),dy:-m});l.appendChild(g);c.insertBefore(l,c.firstChild)}};b.prototype.attr=function(c,a,g,l){var m=this.element,d=this.symbolCustomAttribs,f,v=this,k,q;if("string"===typeof c&&"undefined"!==typeof a){var J=c;c={};c[J]=a}"string"===typeof c?v=(this[c+"Getter"]||this._defaultGetter).call(this,
77
+ c,m):(u(c,function(a,g){k=!1;l||I(this,g);this.symbolName&&-1!==d.indexOf(g)&&(f||(this.symbolAttr(c),f=!0),k=!0);!this.rotation||"x"!==g&&"y"!==g||(this.doTransform=!0);k||(q=this[g+"Setter"]||this._defaultSetter,q.call(this,a,g,m),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(g)&&this.updateShadows(g,a,q))},this),this.afterSetters());g&&g.call(this);return v};b.prototype.clip=function(c){return this.attr("clip-path",c?"url("+this.renderer.url+"#"+c.id+
78
+ ")":"none")};b.prototype.crisp=function(c,a){a=a||c.strokeWidth||0;var g=Math.round(a)%2/2;c.x=Math.floor(c.x||this.x||0)+g;c.y=Math.floor(c.y||this.y||0)+g;c.width=Math.floor((c.width||this.width||0)-2*g);c.height=Math.floor((c.height||this.height||0)-2*g);D(c.strokeWidth)&&(c.strokeWidth=a);return c};b.prototype.complexColor=function(c,a,g){var l=this.renderer,d,f,k,F,p,B,J,b,h,M,A=[],x;E(this.renderer,"complexColor",{args:arguments},function(){c.radialGradient?f="radialGradient":c.linearGradient&&
79
+ (f="linearGradient");if(f){k=c[f];p=l.gradients;B=c.stops;h=g.radialReference;q(k)&&(c[f]=k={x1:k[0],y1:k[1],x2:k[2],y2:k[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===f&&h&&!D(k.gradientUnits)&&(F=k,k=m(k,l.getRadialAttr(h,F),{gradientUnits:"userSpaceOnUse"}));u(k,function(c,a){"id"!==a&&A.push(a,c)});u(B,function(c){A.push(c)});A=A.join(",");if(p[A])M=p[A].attr("id");else{k.id=M=v();var L=p[A]=l.createElement(f).attr(k).add(l.defs);L.radAttr=F;L.stops=[];B.forEach(function(c){0===c[1].indexOf("rgba")?
80
+ (d=e.parse(c[1]),J=d.get("rgb"),b=d.get("a")):(J=c[1],b=1);c=l.createElement("stop").attr({offset:c[0],"stop-color":J,"stop-opacity":b}).add(L);L.stops.push(c)})}x="url("+l.url+"#"+M+")";g.setAttribute(a,x);g.gradient=A;c.toString=function(){return x}}})};b.prototype.css=function(c){var a=this.styles,g={},l=this.element,d=!a;c.color&&(c.fill=c.color);a&&u(c,function(c,l){a&&a[l]!==c&&(g[l]=c,d=!0)});if(d){a&&(c=x(a,g));if(null===c.width||"auto"===c.width)delete this.textWidth;else if("text"===l.nodeName.toLowerCase()&&
81
+ c.width)var f=this.textWidth=F(c.width);this.styles=c;f&&!n&&this.renderer.forExport&&delete c.width;var v=m(c);l.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(c){return v&&delete v[c]});p(l,v);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),c.textOutline&&this.applyTextOutline(c.textOutline))}return this};b.prototype.dashstyleSetter=function(c){var a=this["stroke-width"];"inherit"===a&&(a=1);if(c=c&&c.toLowerCase()){var l=c.replace("shortdashdotdot",
82
+ "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(c=l.length;c--;)l[c]=""+F(l[c])*g(a,NaN);c=l.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",c)}};b.prototype.destroy=function(){var c=this,a=c.element||{},g=c.renderer,l=a.ownerSVGElement,m=g.isSVG&&"SPAN"===a.nodeName&&c.parentGroup||void 0;a.onclick=a.onmouseout=
83
+ a.onmouseover=a.onmousemove=a.point=null;I(c);if(c.clipPath&&l){var d=c.clipPath;[].forEach.call(l.querySelectorAll("[clip-path],[CLIP-PATH]"),function(c){-1<c.getAttribute("clip-path").indexOf(d.element.id)&&c.removeAttribute("clip-path")});c.clipPath=d.destroy()}if(c.stops){for(l=0;l<c.stops.length;l++)c.stops[l].destroy();c.stops.length=0;c.stops=void 0}c.safeRemoveChild(a);for(g.styledMode||c.destroyShadows();m&&m.div&&0===m.div.childNodes.length;)a=m.parentGroup,c.safeRemoveChild(m.div),delete m.div,
84
+ m=a;c.alignTo&&A(g.alignedObjects,c);u(c,function(a,g){c[g]&&c[g].parentGroup===c&&c[g].destroy&&c[g].destroy();delete c[g]})};b.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(c){this.safeRemoveChild(c)},this);this.shadows=void 0};b.prototype.dSetter=function(c,a,g){q(c)&&("string"===typeof c[0]&&(c=this.renderer.pathToSegments(c)),this.pathArray=c,c=c.reduce(function(c,a,g){return a&&a.join?(g?c+" ":"")+a.join(" "):(a||"").toString()},""));/(NaN| {2}|^$)/.test(c)&&(c="M 0 0");
85
+ this[a]!==c&&(g.setAttribute(a,c),this[a]=c)};b.prototype.fadeOut=function(c){var a=this;a.animate({opacity:0},{duration:g(c,150),complete:function(){a.hide()}})};b.prototype.fillSetter=function(c,a,g){"string"===typeof c?g.setAttribute(a,c):c&&this.complexColor(c,a,g)};b.prototype.getBBox=function(a,l){var m=this.alignValue,d=this.element,f=this.renderer,v=this.styles,k=this.textStr,u=f.cache,q=f.cacheKeys,F=d.namespaceURI===this.SVG_NS;l=g(l,this.rotation,0);var B=f.styledMode?d&&b.prototype.getStyle.call(d,
86
+ "font-size"):v&&v.fontSize,h;if(D(k)){var J=k.toString();-1===J.indexOf("<")&&(J=J.replace(/[0-9]/g,"0"));J+=["",l,B,this.textWidth,m,v&&v.textOverflow,v&&v.fontWeight].join()}J&&!a&&(h=u[J]);if(!h){if(F||f.forExport){try{var A=this.fakeTS&&function(c){var a=d.querySelector(".highcharts-text-outline");a&&p(a,{display:c})};c(A)&&A("none");h=d.getBBox?x({},d.getBBox()):{width:d.offsetWidth,height:d.offsetHeight,x:0,y:0};c(A)&&A("")}catch(P){""}if(!h||0>h.width)h={x:0,y:0,width:0,height:0}}else h=this.htmlGetBBox();
87
+ if(f.isSVG&&(f=h.width,a=h.height,F&&(h.height=a={"11px,17":14,"13px,20":16}[""+(B||"")+",".concat(Math.round(a))]||a),l)){F=Number(d.getAttribute("y")||0)-h.y;m={right:1,center:.5}[m||0]||0;v=l*t;B=(l-90)*t;var M=f*Math.cos(v);l=f*Math.sin(v);A=Math.cos(B);v=Math.sin(B);f=h.x+m*(f-M)+F*A;B=f+M;A=B-a*A;M=A-M;F=h.y+F-m*l+F*v;m=F+l;a=m-a*v;l=a-l;h.x=Math.min(f,B,A,M);h.y=Math.min(F,m,a,l);h.width=Math.max(f,B,A,M)-h.x;h.height=Math.max(F,m,a,l)-h.y}if(J&&(""===k||0<h.height)){for(;250<q.length;)delete u[q.shift()];
88
+ u[J]||q.push(J);u[J]=h}}return h};b.prototype.getStyle=function(c){return a.getComputedStyle(this.element||this,"").getPropertyValue(c)};b.prototype.hasClass=function(c){return-1!==(""+this.attr("class")).split(" ").indexOf(c)};b.prototype.hide=function(){return this.attr({visibility:"hidden"})};b.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};b.prototype.init=function(c,a){this.element="span"===a?k(a):r.createElementNS(this.SVG_NS,a);this.renderer=c;E(this,"afterInit")};b.prototype.on=
89
+ function(c,a){var g=this.onEvents;if(g[c])g[c]();g[c]=f(this.element,c,a);return this};b.prototype.opacitySetter=function(c,a,g){this.opacity=c=Number(Number(c).toFixed(3));g.setAttribute(a,c)};b.prototype.removeClass=function(c){return this.attr("class",(""+this.attr("class")).replace(B(c)?new RegExp("(^| )".concat(c,"( |$)")):c," ").replace(/ +/g," ").trim())};b.prototype.removeTextOutline=function(){var c=this.element.querySelector("tspan.highcharts-text-outline");c&&this.safeRemoveChild(c)};b.prototype.safeRemoveChild=
90
+ function(c){var a=c.parentNode;a&&a.removeChild(c)};b.prototype.setRadialReference=function(c){var a=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=c;a&&a.radAttr&&a.animate(this.renderer.getRadialAttr(c,a.radAttr));return this};b.prototype.setTextPath=function(c,a){var g=this;a=m(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},a);var l=this.renderer.url,d=this.text||this,k=d.textPath,u=a.attributes,q=a.enabled;c=c||k&&k.path;
91
+ k&&k.undo();c&&q?(a=f(d,"afterModifyTree",function(a){if(c&&q){var m=c.attr("id");m||c.attr("id",m=v());var f={x:0,y:0};D(u.dx)&&(f.dx=u.dx,delete u.dx);D(u.dy)&&(f.dy=u.dy,delete u.dy);d.attr(f);g.attr({transform:""});g.box&&(g.box=g.box.destroy());f=a.nodes.slice(0);a.nodes.length=0;a.nodes[0]={tagName:"textPath",attributes:x(u,{"text-anchor":u.textAnchor,href:""+l+"#".concat(m)}),children:f}}}),d.textPath={path:c,undo:a}):(d.attr({dx:0,dy:0}),delete d.textPath);this.added&&(d.textCache="",this.renderer.buildText(d));
92
+ return this};b.prototype.shadow=function(c,a,g){var l=[],m=this.element,f=this.oldShadowOptions,v=this.parentGroup,k=v&&90===v.rotation;v={color:"#000000",offsetX:k?-1:1,offsetY:k?-1:1,opacity:.15,width:3};var q=!1,F;!0===c?F=v:"object"===typeof c&&(F=x(v,c));F&&(F&&f&&u(F,function(c,a){c!==f[a]&&(q=!0)}),q&&this.destroyShadows(),this.oldShadowOptions=F);if(!F)this.destroyShadows();else if(!this.shadows){v=F.opacity/F.width;var B=k?"translate(".concat(F.offsetY,", ").concat(F.offsetX,")"):"translate(".concat(F.offsetX,
93
+ ", ").concat(F.offsetY,")");for(k=1;k<=F.width;k++){var p=m.cloneNode(!1);var h=2*F.width+1-2*k;d(p,{stroke:c.color||"#000000","stroke-opacity":v*k,"stroke-width":h,transform:B,fill:"none"});p.setAttribute("class",(p.getAttribute("class")||"")+" highcharts-shadow");g&&(d(p,"height",Math.max(d(p,"height")-h,0)),p.cutHeight=h);a?a.element.appendChild(p):m.parentNode&&m.parentNode.insertBefore(p,m);l.push(p)}this.shadows=l}return this};b.prototype.show=function(c){void 0===c&&(c=!0);return this.attr({visibility:c?
94
+ "inherit":"visible"})};b.prototype["stroke-widthSetter"]=function(c,a,g){this[a]=c;g.setAttribute(a,c)};b.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var c=this.getStyle("stroke-width"),a=0;if(c.indexOf("px")===c.length-2)a=F(c);else if(""!==c){var g=r.createElementNS(h,"rect");d(g,{width:c,"stroke-width":0});this.element.parentNode.appendChild(g);a=g.getBBox().width;g.parentNode.removeChild(g)}return a};b.prototype.symbolAttr=function(c){var a=this;
95
+ "x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(l){a[l]=g(c[l],a[l])});a.attr({d:a.renderer.symbols[a.symbolName](a.x,a.y,a.width,a.height,a)})};b.prototype.textSetter=function(c){c!==this.textStr&&(delete this.textPxLength,this.textStr=c,this.added&&this.renderer.buildText(this))};b.prototype.titleSetter=function(c){var a=this.element,l=a.getElementsByTagName("title")[0]||r.createElementNS(this.SVG_NS,"title");a.insertBefore?a.insertBefore(l,a.firstChild):
96
+ a.appendChild(l);l.textContent=String(g(c,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")};b.prototype.toFront=function(){var c=this.element;c.parentNode.appendChild(c);return this};b.prototype.translate=function(c,a){return this.attr({translateX:c,translateY:a})};b.prototype.updateShadows=function(c,a,g){var l=this.shadows;if(l)for(var m=l.length;m--;)g.call(l[m],"height"===c?Math.max(a-(l[m].cutHeight||0),0):"d"===c?this.d:a,c,l[m])};b.prototype.updateTransform=function(){var c=
97
+ this.element,a=this.matrix,l=this.rotation;l=void 0===l?0:l;var m=this.scaleX,d=this.scaleY,f=this.translateX,v=this.translateY;f=["translate("+(void 0===f?0:f)+","+(void 0===v?0:v)+")"];D(a)&&f.push("matrix("+a.join(",")+")");l&&f.push("rotate("+l+" "+g(this.rotationOriginX,c.getAttribute("x"),0)+" "+g(this.rotationOriginY,c.getAttribute("y")||0)+")");(D(m)||D(d))&&f.push("scale("+g(m,1)+" "+g(d,1)+")");f.length&&!(this.text||this).textPath&&c.setAttribute("transform",f.join(" "))};b.prototype.visibilitySetter=
98
+ function(c,a,g){"inherit"===c?g.removeAttribute(a):this[a]!==c&&g.setAttribute(a,c);this[a]=c};b.prototype.xGetter=function(c){"circle"===this.element.nodeName&&("x"===c?c="cx":"y"===c&&(c="cy"));return this._defaultGetter(c)};b.prototype.zIndexSetter=function(c,a){var g=this.renderer,l=this.parentGroup,m=(l||g).element||g.box,d=this.element;g=m===g.box;var f=!1;var v=this.added;var k;D(c)?(d.setAttribute("data-z-index",c),c=+c,this[a]===c&&(v=!1)):D(this[a])&&d.removeAttribute("data-z-index");this[a]=
99
+ c;if(v){(c=this.zIndex)&&l&&(l.handleZ=!0);a=m.childNodes;for(k=a.length-1;0<=k&&!f;k--){l=a[k];v=l.getAttribute("data-z-index");var u=!D(v);if(l!==d)if(0>c&&u&&!g&&!k)m.insertBefore(d,a[k]),f=!0;else if(F(v)<=c||u&&(!D(c)||0<=c))m.insertBefore(d,a[k+1]||null),f=!0}f||(m.insertBefore(d,a[g?3:0]||null),f=!0)}return f};return b}();b.prototype.strokeSetter=b.prototype.fillSetter;b.prototype.yGetter=b.prototype.xGetter;b.prototype.matrixSetter=b.prototype.rotationOriginXSetter=b.prototype.rotationOriginYSetter=
100
+ b.prototype.rotationSetter=b.prototype.scaleXSetter=b.prototype.scaleYSetter=b.prototype.translateXSetter=b.prototype.translateYSetter=b.prototype.verticalAlignSetter=function(c,a){this[a]=c;this.doTransform=!0};"";return b});H(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(b){var e;(function(e){e.rendererTypes={};var z;e.getRendererType=function(b){void 0===b&&(b=z);return e.rendererTypes[b]||e.rendererTypes[z]};e.registerRendererType=function(I,y,G){e.rendererTypes[I]=y;if(!z||
101
+ G)z=I,b.Renderer=y}})(e||(e={}));return e});H(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(b,e){var z=this&&this.__extends||function(){var b=function(h,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var f in d)d.hasOwnProperty(f)&&(a[f]=d[f])};return b(h,a)};return function(h,a){function f(){this.constructor=h}b(h,a);h.prototype=null===a?Object.create(a):(f.prototype=a.prototype,
102
+ new f)}}(),I=e.defined,w=e.extend,y=e.isNumber,G=e.merge,t=e.pick,r=e.removeEvent;return function(n){function h(a,f,d,k,p,b,A,x,E,q){var c=n.call(this)||this;c.paddingLeftSetter=c.paddingSetter;c.paddingRightSetter=c.paddingSetter;c.init(a,"g");c.textStr=f;c.x=d;c.y=k;c.anchorX=b;c.anchorY=A;c.baseline=E;c.className=q;c.addClass("button"===q?"highcharts-no-tooltip":"highcharts-label");q&&c.addClass("highcharts-"+q);c.text=a.text(void 0,0,0,x).attr({zIndex:1});var B;"string"===typeof p&&((B=/^url\((.*?)\)$/.test(p))||
103
+ c.renderer.symbols[p])&&(c.symbolKey=p);c.bBox=h.emptyBBox;c.padding=3;c.baselineOffset=0;c.needsBox=a.styledMode||B;c.deferredAttr={};c.alignFactor=0;return c}z(h,n);h.prototype.alignSetter=function(a){a={left:0,center:.5,right:1}[a];a!==this.alignFactor&&(this.alignFactor=a,this.bBox&&y(this.xSetting)&&this.attr({x:this.xSetting}))};h.prototype.anchorXSetter=function(a,f){this.anchorX=a;this.boxAttr(f,Math.round(a)-this.getCrispAdjust()-this.xSetting)};h.prototype.anchorYSetter=function(a,f){this.anchorY=
104
+ a;this.boxAttr(f,a-this.ySetting)};h.prototype.boxAttr=function(a,f){this.box?this.box.attr(a,f):this.deferredAttr[a]=f};h.prototype.css=function(a){if(a){var f={};a=G(a);h.textProps.forEach(function(d){"undefined"!==typeof a[d]&&(f[d]=a[d],delete a[d])});this.text.css(f);var d="width"in f;"fontSize"in f||"fontWeight"in f?this.updateTextPadding():d&&this.updateBoxSize()}return b.prototype.css.call(this,a)};h.prototype.destroy=function(){r(this.element,"mouseenter");r(this.element,"mouseleave");this.text&&
105
+ this.text.destroy();this.box&&(this.box=this.box.destroy());b.prototype.destroy.call(this)};h.prototype.fillSetter=function(a,f){a&&(this.needsBox=!0);this.fill=a;this.boxAttr(f,a)};h.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var a=this.padding,f=t(this.paddingLeft,a);return{width:this.width,height:this.height,x:this.bBox.x-f,y:this.bBox.y-a}};h.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%
106
+ 2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};h.prototype.heightSetter=function(a){this.heightSetting=a};h.prototype.onAdd=function(){this.text.add(this);this.attr({text:t(this.textStr,""),x:this.x||0,y:this.y||0});this.box&&I(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};h.prototype.paddingSetter=function(a,f){y(a)?a!==this[f]&&(this[f]=a,this.updateTextPadding()):this[f]=void 0};h.prototype.rSetter=function(a,f){this.boxAttr(f,a)};h.prototype.shadow=
107
+ function(a){a&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(a));return this};h.prototype.strokeSetter=function(a,f){this.stroke=a;this.boxAttr(f,a)};h.prototype["stroke-widthSetter"]=function(a,f){a&&(this.needsBox=!0);this["stroke-width"]=a;this.boxAttr(f,a)};h.prototype["text-alignSetter"]=function(a){this.textAlign=a};h.prototype.textSetter=function(a){"undefined"!==typeof a&&this.text.attr({text:a});this.updateTextPadding()};h.prototype.updateBoxSize=function(){var a=
108
+ this.text,f=a.element.style,d={},k=this.padding,p=this.bBox=y(this.widthSetting)&&y(this.heightSetting)&&!this.textAlign||!I(a.textStr)?h.emptyBBox:a.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||p.height||0)+2*k;f=this.renderer.fontMetrics(f&&f.fontSize,a);this.baselineOffset=k+Math.min((this.text.firstLineMetrics||f).b,p.height||Infinity);this.heightSetting&&(this.baselineOffset+=(this.heightSetting-f.h)/2);this.needsBox&&!a.textPath&&(this.box||(a=this.box=this.symbolKey?
109
+ 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(),d.x=a,d.y=(this.baseline?-this.baselineOffset:0)+a,d.width=Math.round(this.width),d.height=Math.round(this.height),this.box.attr(w(d,this.deferredAttr)),this.deferredAttr={})};h.prototype.updateTextPadding=function(){var a=this.text;if(!a.textPath){this.updateBoxSize();var f=this.baseline?
110
+ 0:this.baselineOffset,d=t(this.paddingLeft,this.padding);I(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(d+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(d!==a.x||f!==a.y)a.attr("x",d),a.hasBoxWidthChanged&&(this.bBox=a.getBBox(!0)),"undefined"!==typeof f&&a.attr("y",f);a.x=d;a.y=f}};h.prototype.widthSetter=function(a){this.widthSetting=y(a)?a:void 0};h.prototype.getPaddedWidth=function(){var a=this.padding,f=t(this.paddingLeft,
111
+ a);a=t(this.paddingRight,a);return(this.widthSetting||this.bBox.width||0)+f+a};h.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)};h.prototype.ySetter=function(a){this.ySetting=this.y=Math.round(a);this.attr("translateY",this.ySetting)};h.emptyBBox={width:0,height:0,x:0,y:0};h.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");
112
+ return h}(b)});H(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(b){function e(b,e,n,h,a){var f=[];if(a){var d=a.start||0,k=G(a.r,n);n=G(a.r,h||n);var p=(a.end||0)-.001;h=a.innerR;var D=G(a.open,.001>Math.abs((a.end||0)-d-2*Math.PI)),A=Math.cos(d),x=Math.sin(d),E=Math.cos(p),q=Math.sin(p);d=G(a.longArc,.001>p-d-Math.PI?0:1);f.push(["M",b+k*A,e+n*x],["A",k,n,0,d,G(a.clockwise,1),b+k*E,e+n*q]);w(h)&&f.push(D?["M",b+h*E,e+h*q]:["L",b+h*E,e+h*q],["A",h,h,0,d,w(a.clockwise)?1-a.clockwise:
113
+ 0,b+h*A,e+h*x]);D||f.push(["Z"])}return f}function z(b,e,n,h,a){return a&&a.r?C(b,e,n,h,a):[["M",b,e],["L",b+n,e],["L",b+n,e+h],["L",b,e+h],["Z"]]}function C(b,e,n,h,a){a=a&&a.r||0;return[["M",b+a,e],["L",b+n-a,e],["C",b+n,e,b+n,e,b+n,e+a],["L",b+n,e+h-a],["C",b+n,e+h,b+n,e+h,b+n-a,e+h],["L",b+a,e+h],["C",b,e+h,b,e+h,b,e+h-a],["L",b,e+a],["C",b,e,b,e,b+a,e]]}var w=b.defined,y=b.isNumber,G=b.pick;return{arc:e,callout:function(b,e,n,h,a){var f=Math.min(a&&a.r||0,n,h),d=f+6,k=a&&a.anchorX;a=a&&a.anchorY||
114
+ 0;var p=C(b,e,n,h,{r:f});if(!y(k))return p;b+k>=n?a>e+d&&a<e+h-d?p.splice(3,1,["L",b+n,a-6],["L",b+n+6,a],["L",b+n,a+6],["L",b+n,e+h-f]):p.splice(3,1,["L",b+n,h/2],["L",k,a],["L",b+n,h/2],["L",b+n,e+h-f]):0>=b+k?a>e+d&&a<e+h-d?p.splice(7,1,["L",b,a+6],["L",b-6,a],["L",b,a-6],["L",b,e+f]):p.splice(7,1,["L",b,h/2],["L",k,a],["L",b,h/2],["L",b,e+f]):a&&a>h&&k>b+d&&k<b+n-d?p.splice(5,1,["L",k+6,e+h],["L",k,e+h+6],["L",k-6,e+h],["L",b+f,e+h]):a&&0>a&&k>b+d&&k<b+n-d&&p.splice(1,1,["L",k-6,e],["L",k,e-6],
115
+ ["L",k+6,e],["L",n-f,e]);return p},circle:function(b,r,n,h){return e(b+n/2,r+h/2,n/2,h/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(b,e,n,h){return[["M",b+n/2,e],["L",b+n,e+h/2],["L",b+n/2,e+h],["L",b,e+h/2],["Z"]]},rect:z,roundedRect:C,square:z,triangle:function(b,e,n,h){return[["M",b+n/2,e],["L",b+n,e+h],["L",b,e+h],["Z"]]},"triangle-down":function(b,e,n,h){return[["M",b,e],["L",b+n,e],["L",b+n/2,e+h],["Z"]]}}});H(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],
116
+ e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,z){var I=e.doc,w=e.SVG_NS,y=e.win,G=z.attr,t=z.extend,r=z.fireEvent,n=z.isString,h=z.objectEach,a=z.pick;return function(){function f(a){var d=a.styles;this.renderer=a.renderer;this.svgElement=a;this.width=a.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}f.prototype.buildSVG=function(){var d=
117
+ this.svgElement,f=d.element,p=d.renderer,h=a(d.textStr,"").toString(),A=-1!==h.indexOf("<"),e=f.childNodes;p=this.width&&!d.added&&p.box;var E=/<br.*?>/g,q=[h,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(q!==d.textCache){d.textCache=q;delete d.actualWidth;for(q=e.length;q--;)f.removeChild(e[q]);A||this.ellipsis||this.width||d.textPath||-1!==h.indexOf(" ")&&(!this.noWrap||E.test(h))?""!==h&&(p&&p.appendChild(f),h=new b(h),this.modifyTree(h.nodes),
118
+ h.addToDOM(f),this.modifyDOM(),this.ellipsis&&-1!==(f.textContent||"").indexOf("\u2026")&&d.attr("title",this.unescapeEntities(d.textStr||"",["&lt;","&gt;"])),p&&p.removeChild(f)):f.appendChild(I.createTextNode(this.unescapeEntities(h)));n(this.textOutline)&&d.applyTextOutline&&d.applyTextOutline(this.textOutline)}};f.prototype.modifyDOM=function(){var a=this,f=this.svgElement,b=G(f.element,"x");f.firstLineMetrics=void 0;for(var h;h=f.element.firstChild;)if(/^[\s\u200B]*$/.test(h.textContent||" "))f.element.removeChild(h);
119
+ else break;[].forEach.call(f.element.querySelectorAll("tspan.highcharts-br"),function(d,c){d.nextSibling&&d.previousSibling&&(0===c&&1===d.previousSibling.nodeType&&(f.firstLineMetrics=f.renderer.fontMetrics(void 0,d.previousSibling)),G(d,{dy:a.getLineHeight(d.nextSibling),x:b}))});var A=this.width||0;if(A){var e=function(d,c){var k=d.textContent||"",m=k.replace(/([^\^])-/g,"$1- ").split(" "),u=!a.noWrap&&(1<m.length||1<f.element.childNodes.length),g=a.getLineHeight(c),F=0,l=f.actualWidth;if(a.ellipsis)k&&
120
+ a.truncate(d,k,void 0,0,Math.max(0,A-parseInt(a.fontSize||12,10)),function(c,a){return c.substring(0,a)+"\u2026"});else if(u){k=[];for(u=[];c.firstChild&&c.firstChild!==d;)u.push(c.firstChild),c.removeChild(c.firstChild);for(;m.length;)m.length&&!a.noWrap&&0<F&&(k.push(d.textContent||""),d.textContent=m.join(" ").replace(/- /g,"-")),a.truncate(d,void 0,m,0===F?l||0:0,A,function(c,a){return m.slice(0,a).join(" ").replace(/- /g,"-")}),l=f.actualWidth,F++;u.forEach(function(a){c.insertBefore(a,d)});
121
+ k.forEach(function(a){c.insertBefore(I.createTextNode(a),d);a=I.createElementNS(w,"tspan");a.textContent="\u200b";G(a,{dy:g,x:b});c.insertBefore(a,d)})}},n=function(a){[].slice.call(a.childNodes).forEach(function(c){c.nodeType===y.Node.TEXT_NODE?e(c,a):(-1!==c.className.baseVal.indexOf("highcharts-br")&&(f.actualWidth=0),n(c))})};n(f.element)}};f.prototype.getLineHeight=function(a){var d;a=a.nodeType===y.Node.TEXT_NODE?a.parentElement:a;this.renderer.styledMode||(d=a&&/(px|em)$/.test(a.style.fontSize)?
122
+ a.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(d,a||this.svgElement.element).h};f.prototype.modifyTree=function(a){var d=this,f=function(b,k){var p=b.attributes;p=void 0===p?{}:p;var h=b.children,q=b.style;q=void 0===q?{}:q;var c=b.tagName,B=d.renderer.styledMode;if("b"===c||"strong"===c)B?p["class"]="highcharts-strong":q.fontWeight="bold";else if("i"===c||"em"===c)B?p["class"]="highcharts-emphasized":
123
+ q.fontStyle="italic";q&&q.color&&(q.fill=q.color);"br"===c?(p["class"]="highcharts-br",b.textContent="\u200b",(k=a[k+1])&&k.textContent&&(k.textContent=k.textContent.replace(/^ +/gm,""))):"a"===c&&h&&h.some(function(c){return"#text"===c.tagName})&&(b.children=[{children:h,tagName:"tspan"}]);"#text"!==c&&"a"!==c&&(b.tagName="tspan");t(b,{attributes:p,style:q});h&&h.filter(function(c){return"#text"!==c.tagName}).forEach(f)};a.forEach(f);r(this.svgElement,"afterModifyTree",{nodes:a})};f.prototype.truncate=
124
+ function(a,f,b,h,A,e){var d=this.svgElement,k=d.renderer,c=d.rotation,B=[],m=b?1:0,u=(f||b||"").length,g=u,F,l=function(c,g){g=g||c;var l=a.parentNode;if(l&&"undefined"===typeof B[g])if(l.getSubStringLength)try{B[g]=h+l.getSubStringLength(0,b?g+1:g)}catch(S){""}else k.getSpanWidth&&(a.textContent=e(f||b,c),B[g]=h+k.getSpanWidth(d,a));return B[g]};d.rotation=0;var v=l(a.textContent.length);if(h+v>A){for(;m<=u;)g=Math.ceil((m+u)/2),b&&(F=e(b,g)),v=l(g,F&&F.length-1),m===u?m=u+1:v>A?u=g-1:m=g;0===u?
125
+ a.textContent="":f&&u===f.length-1||(a.textContent=F||e(f||b,g))}b&&b.splice(0,g);d.actualWidth=v;d.rotation=c};f.prototype.unescapeEntities=function(a,f){h(this.renderer.escapes,function(d,b){f&&-1!==f.indexOf(d)||(a=a.toString().replace(new RegExp(d,"g"),b))});return a};return f}()});H(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],
126
+ e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y,G,t,r){var n=z.charts,h=z.deg2rad,a=z.doc,f=z.isFirefox,d=z.isMS,k=z.isWebKit,p=z.noop,D=z.SVG_NS,A=z.symbolSizes,x=z.win,E=r.addEvent,q=r.attr,c=r.createElement,B=r.css,m=r.defined,u=r.destroyObjectProperties,g=r.extend,F=r.isArray,l=r.isNumber,v=r.isObject,K=r.isString,J=r.merge,M=r.pick,S=r.pInt,I=r.uniqueKey,Z;z=function(){function p(c,a,g,l,m,d,f){this.width=this.url=this.style=
127
+ 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(c,a,g,l,m,d,f)}p.prototype.init=function(c,g,l,m,d,v,b){var u=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"}),k=u.element;b||u.css(this.getStyle(m));c.appendChild(k);q(c,"dir","ltr");-1===c.innerHTML.indexOf("xmlns")&&q(k,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=k;this.boxWrapper=u;this.alignedObjects=
128
+ [];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(a.createTextNode("Created with Highcharts 10.3.2"));this.defs=this.createElement("defs").add();this.allowHTML=v;this.forExport=d;this.styledMode=b;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(g,l,!1);var F;f&&c.getBoundingClientRect&&(g=function(){B(c,{left:0,top:0});F=c.getBoundingClientRect();B(c,{left:Math.ceil(F.left)-F.left+"px",top:Math.ceil(F.top)-F.top+"px"})},g(),this.unSubPixelFix=
129
+ E(x,"resize",g))};p.prototype.definition=function(c){return(new b([c])).addToDOM(this.defs.element)};p.prototype.getReferenceURL=function(){if((f||k)&&a.getElementsByTagName("base").length){if(!m(Z)){var c=I();c=(new b([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:c},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(c,")"),fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(a.body);
130
+ B(c,{position:"fixed",top:0,left:0,zIndex:9E5});var g=a.elementFromPoint(6,6);Z="hitme"===(g&&g.id);a.body.removeChild(c)}if(Z)return x.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};p.prototype.getStyle=function(c){return this.style=g({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},c)};p.prototype.setStyle=function(c){this.boxWrapper.css(this.getStyle(c))};p.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};
131
+ p.prototype.destroy=function(){var c=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();u(this.gradients||{});this.gradients=null;c&&(this.defs=c.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};p.prototype.createElement=function(c){var a=new this.Element;a.init(this,c);return a};p.prototype.getRadialAttr=function(c,a){return{cx:c[0]-c[2]/2+(a.cx||0)*c[2],cy:c[1]-c[2]/2+(a.cy||0)*c[2],r:(a.r||0)*c[2]}};p.prototype.buildText=function(c){(new t(c)).buildSVG()};
132
+ p.prototype.getContrast=function(c){c=e.parse(c).rgba.map(function(c){c/=255;return.03928>=c?c/12.92:Math.pow((c+.055)/1.055,2.4)});c=.2126*c[0]+.7152*c[1]+.0722*c[2];return 1.05/(c+.05)>(c+.05)/.05?"#FFFFFF":"#000000"};p.prototype.button=function(c,a,l,m,f,u,k,F,p,q){void 0===f&&(f={});var h=this.label(c,a,l,p,void 0,void 0,q,void 0,"button"),B=this.styledMode;c=f.states||{};var L=0;f=J(f);delete f.states;var Q=J({color:"#333333",cursor:"pointer",fontWeight:"normal"},f.style);delete f.style;var A=
133
+ b.filterUserAttributes(f);h.attr(J({padding:8,r:2},A));if(!B){A=J({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},A);u=J(A,{fill:"#e6e6e6"},b.filterUserAttributes(u||c.hover||{}));var e=u.style;delete u.style;k=J(A,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},b.filterUserAttributes(k||c.select||{}));var D=k.style;delete k.style;F=J(A,{style:{color:"#cccccc"}},b.filterUserAttributes(F||c.disabled||{}));var x=F.style;delete F.style}E(h.element,d?"mouseover":"mouseenter",function(){3!==
134
+ L&&h.setState(1)});E(h.element,d?"mouseout":"mouseleave",function(){3!==L&&h.setState(L)});h.setState=function(c){1!==c&&(h.state=L=c);h.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][c||0]);B||(h.attr([A,u,k,F][c||0]),c=[Q,e,D,x][c||0],v(c)&&h.css(c))};B||(h.attr(A).css(g({cursor:"default"},Q)),q&&h.text.css({pointerEvents:"none"}));return h.on("touchstart",function(c){return c.stopPropagation()}).on("click",
135
+ function(c){3!==L&&m.call(h,c)})};p.prototype.crispLine=function(c,a,g){void 0===g&&(g="round");var l=c[0],d=c[1];m(l[1])&&l[1]===d[1]&&(l[1]=d[1]=Math[g](l[1])-a%2/2);m(l[2])&&l[2]===d[2]&&(l[2]=d[2]=Math[g](l[2])+a%2/2);return c};p.prototype.path=function(c){var a=this.styledMode?{}:{fill:"none"};F(c)?a.d=c:v(c)&&g(a,c);return this.createElement("path").attr(a)};p.prototype.circle=function(c,a,g){c=v(c)?c:"undefined"===typeof c?{}:{x:c,y:a,r:g};a=this.createElement("circle");a.xSetter=a.ySetter=
136
+ function(c,a,g){g.setAttribute("c"+a,c)};return a.attr(c)};p.prototype.arc=function(c,a,g,l,m,d){v(c)?(l=c,a=l.y,g=l.r,c=l.x):l={innerR:l,start:m,end:d};c=this.symbol("arc",c,a,g,g,l);c.r=g;return c};p.prototype.rect=function(c,a,g,l,m,d){m=v(c)?c.r:m;var f=this.createElement("rect");c=v(c)?c:"undefined"===typeof c?{}:{x:c,y:a,width:Math.max(g,0),height:Math.max(l,0)};this.styledMode||("undefined"!==typeof d&&(c["stroke-width"]=d,c=f.crisp(c)),c.fill="none");m&&(c.r=m);f.rSetter=function(c,a,g){f.r=
137
+ c;q(g,{rx:c,ry:c})};f.rGetter=function(){return f.r||0};return f.attr(c)};p.prototype.setSize=function(c,a,g){this.width=c;this.height=a;this.boxWrapper.animate({width:c,height:a},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:M(g,!0)?void 0:0});this.alignElements()};p.prototype.g=function(c){var a=this.createElement("g");return c?a.attr({"class":"highcharts-"+c}):a};p.prototype.image=function(c,a,g,m,d,f){var v={preserveAspectRatio:"none"},b=function(c,
138
+ a){c.setAttributeNS?c.setAttributeNS("http://www.w3.org/1999/xlink","href",a):c.setAttribute("hc-svg-href",a)};l(a)&&(v.x=a);l(g)&&(v.y=g);l(m)&&(v.width=m);l(d)&&(v.height=d);var u=this.createElement("image").attr(v);a=function(a){b(u.element,c);f.call(u,a)};f?(b(u.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),g=new x.Image,E(g,"load",a),g.src=c,g.complete&&a({})):b(u.element,c);return u};p.prototype.symbol=function(l,d,f,v,b,u){var k=this,F=/^url\((.*?)\)$/,
139
+ p=F.test(l),h=!p&&(this.symbols[l]?l:"circle"),L=h&&this.symbols[h],Q;if(L){"number"===typeof d&&(Q=L.call(this.symbols,Math.round(d||0),Math.round(f||0),v||0,b||0,u));var e=this.path(Q);k.styledMode||e.attr("fill","none");g(e,{symbolName:h||void 0,x:d,y:f,width:v,height:b});u&&g(e,u)}else if(p){var D=l.match(F)[1];var x=e=this.image(D);x.imgwidth=M(A[D]&&A[D].width,u&&u.width);x.imgheight=M(A[D]&&A[D].height,u&&u.height);var K=function(c){return c.attr({width:c.width,height:c.height})};["width",
140
+ "height"].forEach(function(c){x[c+"Setter"]=function(c,a){this[a]=c;c=this.alignByTranslate;var g=this.element,l=this.width,d=this.height,f=this.imgwidth,v=this.imgheight,b=this["img"+a];if(m(b)){var k=1;u&&"within"===u.backgroundSize&&l&&d?(k=Math.min(l/f,d/v),b=Math.round(b*k),q(g,{width:Math.round(f*k),height:Math.round(v*k)})):g&&g.setAttribute(a,b);c||this.translate(((l||0)-b*k)/2,((d||0)-b*k)/2)}}});m(d)&&x.attr({x:d,y:f});x.isImg=!0;m(x.imgwidth)&&m(x.imgheight)?K(x):(x.attr({width:0,height:0}),
141
+ c("img",{onload:function(){var c=n[k.chartIndex];0===this.width&&(B(this,{position:"absolute",top:"-999em"}),a.body.appendChild(this));A[D]={width:this.width,height:this.height};x.imgwidth=this.width;x.imgheight=this.height;x.element&&K(x);this.parentNode&&this.parentNode.removeChild(this);k.imgCount--;if(!k.imgCount&&c&&!c.hasLoaded)c.onload()},src:D}),this.imgCount++)}return e};p.prototype.clipRect=function(c,a,g,l){var m=I()+"-",d=this.createElement("clipPath").attr({id:m}).add(this.defs);c=this.rect(c,
142
+ a,g,l,0).add(d);c.id=m;c.clipPath=d;c.count=0;return c};p.prototype.text=function(c,a,g,l){var d={};if(l&&(this.allowHTML||!this.forExport))return this.html(c,a,g);d.x=Math.round(a||0);g&&(d.y=Math.round(g));m(c)&&(d.text=c);c=this.createElement("text").attr(d);if(!l||this.forExport&&!this.allowHTML)c.xSetter=function(c,a,g){for(var l=g.getElementsByTagName("tspan"),m=g.getAttribute(a),d=0,f;d<l.length;d++)f=l[d],f.getAttribute(a)===m&&f.setAttribute(a,c);g.setAttribute(a,c)};return c};p.prototype.fontMetrics=
143
+ function(c,a){c=!this.styledMode&&/px/.test(c)||!x.getComputedStyle?c||a&&a.style&&a.style.fontSize||this.style&&this.style.fontSize:a&&w.prototype.getStyle.call(a,"font-size");c=/px/.test(c)?S(c):12;a=24>c?c+3:Math.round(1.2*c);return{h:a,b:Math.round(.8*a),f:c}};p.prototype.rotCorr=function(c,a,g){var l=c;a&&g&&(l=Math.max(l*Math.cos(a*h),4));return{x:-c/3*Math.sin(a*h),y:l}};p.prototype.pathToSegments=function(c){for(var a=[],g=[],m={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},d=0;d<c.length;d++)K(g[0])&&
144
+ l(c[d])&&g.length===m[g[0].toUpperCase()]&&c.splice(d,0,g[0].replace("M","L").replace("m","l")),"string"===typeof c[d]&&(g.length&&a.push(g.slice(0)),g.length=0),g.push(c[d]);a.push(g.slice(0));return a};p.prototype.label=function(c,a,g,l,m,d,f,v,b){return new y(this,c,a,g,l,m,d,f,v,b)};p.prototype.alignElements=function(){this.alignedObjects.forEach(function(c){return c.align()})};return p}();g(z.prototype,{Element:w,SVG_NS:D,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:G,
145
+ draw:p});C.registerRendererType("svg",z,!0);"";return z});H(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(b,e,z){var I=this&&this.__extends||function(){var a=function(d,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var f in d)d.hasOwnProperty(f)&&(a[f]=d[f])};return a(d,f)};return function(d,f){function b(){this.constructor=d}a(d,f);d.prototype=null===f?
146
+ Object.create(f):(b.prototype=f.prototype,new b)}}(),w=b.isFirefox,y=b.isMS,G=b.isWebKit,t=b.win,r=z.css,n=z.defined,h=z.extend,a=z.pick,f=z.pInt;return function(d){function b(){return null!==d&&d.apply(this,arguments)||this}I(b,d);b.compose=function(a){if(-1===b.composedClasses.indexOf(a)){b.composedClasses.push(a);var d=b.prototype,f=a.prototype;f.getSpanCorrection=d.getSpanCorrection;f.htmlCss=d.htmlCss;f.htmlGetBBox=d.htmlGetBBox;f.htmlUpdateTransform=d.htmlUpdateTransform;f.setSpanRotation=d.setSpanRotation}return a};
147
+ b.prototype.getSpanCorrection=function(a,d,f){this.xCorr=-a*f;this.yCorr=-d};b.prototype.htmlCss=function(d){var f="SPAN"===this.element.tagName&&d&&"width"in d,b=a(f&&d.width,void 0);if(f){delete d.width;this.textWidth=b;var k=!0}d&&"ellipsis"===d.textOverflow&&(d.whiteSpace="nowrap",d.overflow="hidden");this.styles=h(this.styles,d);r(this.element,d);k&&this.htmlUpdateTransform();return this};b.prototype.htmlGetBBox=function(){var a=this.element;return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,
148
+ height:a.offsetHeight}};b.prototype.htmlUpdateTransform=function(){if(this.added){var a=this.renderer,d=this.element,b=this.translateX||0,k=this.translateY||0,h=this.x||0,q=this.y||0,c=this.textAlign||"left",B={left:0,center:.5,right:1}[c],m=this.styles;m=m&&m.whiteSpace;r(d,{marginLeft:b,marginTop:k});!a.styledMode&&this.shadows&&this.shadows.forEach(function(c){r(c,{marginLeft:b+1,marginTop:k+1})});this.inverted&&[].forEach.call(d.childNodes,function(c){a.invertChild(c,d)});if("SPAN"===d.tagName){var u=
149
+ this.rotation,g=this.textWidth&&f(this.textWidth),F=[u,c,d.innerHTML,this.textWidth,this.textAlign].join(),l=void 0;l=!1;if(g!==this.oldTextWidth){if(this.textPxLength)var v=this.textPxLength;else r(d,{width:"",whiteSpace:m||"nowrap"}),v=d.offsetWidth;(g>this.oldTextWidth||v>g)&&(/[ \-]/.test(d.textContent||d.innerText)||"ellipsis"===d.style.textOverflow)&&(r(d,{width:v>g||u?g+"px":"auto",display:"block",whiteSpace:m||"normal"}),this.oldTextWidth=g,l=!0)}this.hasBoxWidthChanged=l;F!==this.cTT&&(l=
150
+ a.fontMetrics(d.style.fontSize,d).b,!n(u)||u===(this.oldRotation||0)&&c===this.oldAlign||this.setSpanRotation(u,B,l),this.getSpanCorrection(!n(u)&&this.textPxLength||d.offsetWidth,l,B,u,c));r(d,{left:h+(this.xCorr||0)+"px",top:q+(this.yCorr||0)+"px"});this.cTT=F;this.oldRotation=u;this.oldAlign=c}}else this.alignOnAdd=!0};b.prototype.setSpanRotation=function(a,d,f){var b={},k=y&&!/Edge/.test(t.navigator.userAgent)?"-ms-transform":G?"-webkit-transform":w?"MozTransform":t.opera?"-o-transform":void 0;
151
+ k&&(b[k]=b.transform="rotate("+a+"deg)",b[k+(w?"Origin":"-origin")]=b.transformOrigin=100*d+"% "+f+"px",r(this.element,b))};b.composedClasses=[];return b}(e)});H(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(b,e,z,C){var I=this&&this.__extends||function(){var b=function(h,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,
152
+ d){for(var f in d)d.hasOwnProperty(f)&&(a[f]=d[f])};return b(h,a)};return function(h,a){function f(){this.constructor=h}b(h,a);h.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),y=C.attr,G=C.createElement,t=C.extend,r=C.pick;return function(n){function h(){return null!==n&&n.apply(this,arguments)||this}I(h,n);h.compose=function(a){-1===h.composedClasses.indexOf(a)&&(h.composedClasses.push(a),a.prototype.html=h.prototype.html);return a};h.prototype.html=function(a,f,d){var k=
153
+ this.createElement("span"),h=k.element,n=k.renderer,A=n.isSVG,x=function(a,d){["opacity","visibility"].forEach(function(c){a[c+"Setter"]=function(f,m,b){var g=a.div?a.div.style:d;e.prototype[c+"Setter"].call(this,f,m,b);g&&(g[m]=f)}});a.addedSetters=!0};k.textSetter=function(a){a!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,b.setElementHTML(this.element,r(a,"")),this.textStr=a,k.doTransform=!0)};A&&x(k,k.element.style);k.xSetter=k.ySetter=k.alignSetter=k.rotationSetter=function(a,d){"align"===
154
+ d?k.alignValue=k.textAlign=a:k[d]=a;k.doTransform=!0};k.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};k.attr({text:a,x:Math.round(f),y:Math.round(d)}).css({position:"absolute"});n.styledMode||k.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});h.style.whiteSpace="nowrap";k.css=k.htmlCss;A&&(k.add=function(a){var d=n.box.parentNode,c=[];if(this.parentGroup=a){var f=a.div;if(!f){for(;a;)c.push(a),a=a.parentGroup;c.reverse().forEach(function(a){function m(c,
155
+ g){a[g]=c;"translateX"===g?l.left=c+"px":l.top=c+"px";a.doTransform=!0}var g=y(a.element,"class"),b=a.styles||{};f=a.div=a.div||G("div",g?{className:g}:void 0,{position:"absolute",left:(a.translateX||0)+"px",top:(a.translateY||0)+"px",display:a.display,opacity:a.opacity,cursor:b.cursor,pointerEvents:b.pointerEvents,visibility:a.visibility},f||d);var l=f.style;t(a,{classSetter:function(c){return function(a){this.element.setAttribute("class",a);c.className=a}}(f),on:function(){c[0].div&&k.on.apply({element:c[0].div,
156
+ onEvents:a.onEvents},arguments);return a},translateXSetter:m,translateYSetter:m});a.addedSetters||x(a)})}}else f=d;f.appendChild(h);k.added=!0;k.alignOnAdd&&k.htmlUpdateTransform();return k});return k};h.composedClasses=[];return h}(z)});H(e,"Core/Axis/AxisDefaults.js",[],function(){var b;(function(b){b.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},
158
157
  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:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,
159
158
  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:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",
160
159
  gridLineWidth:void 0,tickColor:"#ccd6eb"};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 b=this.axis.chart.numberFormatter;return b(this.total||0,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};
161
- 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||(b={}));return b});J(e,"Core/Foundation.js",[e["Core/Utilities.js"]],function(b){var e=b.addEvent,u=b.isFunction,C=b.objectEach,B=b.removeEvent,q;(function(b){b.registerEventOptions=function(b,v){b.eventOptions=
162
- b.eventOptions||{};C(v.events,function(m,l){b.eventOptions[l]!==m&&(b.eventOptions[l]&&(B(b,l,b.eventOptions[l]),delete b.eventOptions[l]),u(m)&&(b.eventOptions[l]=m,e(b,l,m)))})}})(q||(q={}));return q});J(e,"Core/Axis/Tick.js",[e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,u){var K=e.deg2rad,B=u.clamp,q=u.correctFloat,F=u.defined,x=u.destroyObjectProperties,v=u.extend,m=u.fireEvent,l=u.isNumber,a=u.merge,f=u.objectEach,d=u.pick;e=function(){function k(a,d,
163
- f,b,k){this.isNewLabel=this.isNew=!0;this.axis=a;this.pos=d;this.type=f||"";this.parameters=k||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;m(this,"init");f||b||this.addLabel()}k.prototype.addLabel=function(){var a=this,f=a.axis,k=f.options,e=f.chart,I=f.categories,t=f.logarithmic,h=f.names,y=a.pos,r=d(a.options&&a.options.labels,k.labels),n=f.tickPositions,g=y===n[0],D=y===n[n.length-1],c=(!r.step||1===r.step)&&1===f.tickInterval;n=n.info;var z=a.label,
164
- G;I=this.parameters.category||(I?d(I[y],h[y],y):y);t&&l(I)&&(I=q(t.lin2log(I)));if(f.dateTime)if(n){var H=e.time.resolveDTLFormat(k.dateTimeLabelFormats[!k.grid&&n.higherRanks[y]||n.unitName]);var O=H.main}else l(I)&&(O=f.dateTime.getXDateFormat(I,k.dateTimeLabelFormats||{}));a.isFirst=g;a.isLast=D;var P={axis:f,chart:e,dateTimeLabelFormat:O,isFirst:g,isLast:D,pos:y,tick:a,tickPositionInfo:n,value:I};m(this,"labelFormat",P);var x=function(c){return r.formatter?r.formatter.call(c,c):r.format?(c.text=
165
- f.defaultLabelFormatter.call(c,c),b.format(r.format,c,e)):f.defaultLabelFormatter.call(c,c)};k=x.call(P,P);var u=H&&H.list;a.shortenLabel=u?function(){for(G=0;G<u.length;G++)if(v(P,{dateTimeLabelFormat:u[G]}),z.attr({text:x.call(P,P)}),z.getBBox().width<f.getSlotWidth(a)-2*r.padding)return;z.attr({text:""})}:void 0;c&&f._addedPlotLB&&a.moveLabel(k,r);F(z)||a.movedLabel?z&&z.textStr!==k&&!c&&(!z.textWidth||r.style.width||z.styles.width||z.css({width:null}),z.attr({text:k}),z.textPxLength=z.getBBox().width):
166
- (a.label=z=a.createLabel({x:0,y:0},k,r),a.rotation=0)};k.prototype.createLabel=function(d,f,k){var b=this.axis,l=b.chart;if(d=F(f)&&k.enabled?l.renderer.text(f,d.x,d.y,k.useHTML).add(b.labelGroup):null)l.styledMode||d.css(a(k.style)),d.textPxLength=d.getBBox().width;return d};k.prototype.destroy=function(){x(this,this.axis)};k.prototype.getPosition=function(a,d,f,k){var b=this.axis,l=b.chart,h=k&&l.oldChartHeight||l.chartHeight;a={x:a?q(b.translate(d+f,void 0,void 0,k)+b.transB):b.left+b.offset+(b.opposite?
167
- (k&&l.oldChartWidth||l.chartWidth)-b.right-b.left:0),y:a?h-b.bottom+b.offset-(b.opposite?b.height:0):q(h-b.translate(d+f,void 0,void 0,k)-b.transB)};a.y=B(a.y,-1E5,1E5);m(this,"afterGetPosition",{pos:a});return a};k.prototype.getLabelPosition=function(a,d,f,b,k,l,h,y){var r=this.axis,n=r.transA,g=r.isLinked&&r.linkedParent?r.linkedParent.reversed:r.reversed,D=r.staggerLines,c=r.tickRotCorr||{x:0,y:0},z=b||r.reserveSpaceDefault?0:-r.labelOffset*("center"===r.labelAlign?.5:1),t={};f=0===r.side?f.rotation?
168
- -8:-f.getBBox().height:2===r.side?c.y+8:Math.cos(f.rotation*K)*(c.y-f.getBBox(!1,0).height/2);F(k.y)&&(f=0===r.side&&r.horiz?k.y+f:k.y);a=a+k.x+z+c.x-(l&&b?l*n*(g?-1:1):0);d=d+f-(l&&!b?l*n*(g?1:-1):0);D&&(b=h/(y||1)%D,r.opposite&&(b=D-b-1),d+=r.labelOffset/D*b);t.x=a;t.y=Math.round(d);m(this,"afterGetLabelPosition",{pos:t,tickmarkOffset:l,index:h});return t};k.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};k.prototype.getMarkPath=function(a,
169
- d,f,b,k,l){return l.crispLine([["M",a,d],["L",a+(k?0:-f),d+(k?f:0)]],b)};k.prototype.handleOverflow=function(a){var f=this.axis,b=f.options.labels,k=a.x,l=f.chart.chartWidth,t=f.chart.spacing,h=d(f.labelLeft,Math.min(f.pos,t[3]));t=d(f.labelRight,Math.max(f.isRadial?0:f.pos+f.len,l-t[1]));var y=this.label,r=this.rotation,n={left:0,center:.5,right:1}[f.labelAlign||y.attr("align")],g=y.getBBox().width,D=f.getSlotWidth(this),c={},z=D,G=1,p;if(r||"justify"!==b.overflow)0>r&&k-n*g<h?p=Math.round(k/Math.cos(r*
170
- K)-h):0<r&&k+n*g>t&&(p=Math.round((l-k)/Math.cos(r*K)));else if(l=k+(1-n)*g,k-n*g<h?z=a.x+z*(1-n)-h:l>t&&(z=t-a.x+z*n,G=-1),z=Math.min(D,z),z<D&&"center"===f.labelAlign&&(a.x+=G*(D-z-n*(D-Math.min(g,z)))),g>z||f.autoRotation&&(y.styles||{}).width)p=z;p&&(this.shortenLabel?this.shortenLabel():(c.width=Math.floor(p)+"px",(b.style||{}).textOverflow||(c.textOverflow="ellipsis"),y.css(c)))};k.prototype.moveLabel=function(a,d){var b=this,k=b.label,l=b.axis,t=l.reversed,h=!1;k&&k.textStr===a?(b.movedLabel=
171
- k,h=!0,delete b.label):f(l.ticks,function(d){h||d.isNew||d===b||!d.label||d.label.textStr!==a||(b.movedLabel=d.label,h=!0,d.labelPos=b.movedLabel.xy,delete d.label)});if(!h&&(b.labelPos||k)){var y=b.labelPos||k.xy;k=l.horiz?t?0:l.width+l.left:y.x;l=l.horiz?y.y:t?l.width+l.left:0;b.movedLabel=b.createLabel({x:k,y:l},a,d);b.movedLabel&&b.movedLabel.attr({opacity:0})}};k.prototype.render=function(a,f,b){var k=this.axis,l=k.horiz,t=this.pos,h=d(this.tickmarkOffset,k.tickmarkOffset);t=this.getPosition(l,
172
- t,h,f);h=t.x;var y=t.y;k=l&&h===k.pos+k.len||!l&&y===k.pos?-1:1;l=d(b,this.label&&this.label.newOpacity,1);b=d(b,1);this.isActive=!0;this.renderGridLine(f,b,k);this.renderMark(t,b,k);this.renderLabel(t,f,l,a);this.isNew=!1;m(this,"afterRender")};k.prototype.renderGridLine=function(a,f,b){var k=this.axis,l=k.options,t={},h=this.pos,y=this.type,r=d(this.tickmarkOffset,k.tickmarkOffset),n=k.chart.renderer,g=this.gridLine,D=l.gridLineWidth,c=l.gridLineColor,z=l.gridLineDashStyle;"minor"===this.type&&
173
- (D=l.minorGridLineWidth,c=l.minorGridLineColor,z=l.minorGridLineDashStyle);g||(k.chart.styledMode||(t.stroke=c,t["stroke-width"]=D||0,t.dashstyle=z),y||(t.zIndex=1),a&&(f=0),this.gridLine=g=n.path().attr(t).addClass("highcharts-"+(y?y+"-":"")+"grid-line").add(k.gridGroup));if(g&&(b=k.getPlotLinePath({value:h+r,lineWidth:g.strokeWidth()*b,force:"pass",old:a})))g[a||this.isNew?"attr":"animate"]({d:b,opacity:f})};k.prototype.renderMark=function(a,f,b){var k=this.axis,l=k.options,t=k.chart.renderer,h=
174
- this.type,y=k.tickSize(h?h+"Tick":"tick"),r=a.x;a=a.y;var n=d(l["minor"!==h?"tickWidth":"minorTickWidth"],!h&&k.isXAxis?1:0);l=l["minor"!==h?"tickColor":"minorTickColor"];var g=this.mark,D=!g;y&&(k.opposite&&(y[0]=-y[0]),g||(this.mark=g=t.path().addClass("highcharts-"+(h?h+"-":"")+"tick").add(k.axisGroup),k.chart.styledMode||g.attr({stroke:l,"stroke-width":n})),g[D?"attr":"animate"]({d:this.getMarkPath(r,a,y[0],g.strokeWidth()*b,k.horiz,t),opacity:f}))};k.prototype.renderLabel=function(a,f,k,b){var p=
175
- this.axis,t=p.horiz,h=p.options,y=this.label,r=h.labels,n=r.step;p=d(this.tickmarkOffset,p.tickmarkOffset);var g=a.x;a=a.y;var D=!0;y&&l(g)&&(y.xy=a=this.getLabelPosition(g,a,y,t,r,p,b,n),this.isFirst&&!this.isLast&&!h.showFirstLabel||this.isLast&&!this.isFirst&&!h.showLastLabel?D=!1:!t||r.step||r.rotation||f||0===k||this.handleOverflow(a),n&&b%n&&(D=!1),D&&l(a.y)?(a.opacity=k,y[this.isNewLabel?"attr":"animate"](a).show(!0),this.isNewLabel=!1):(y.hide(),this.isNewLabel=!0))};k.prototype.replaceMovedLabel=
176
- function(){var a=this.label,d=this.axis,f=d.reversed;if(a&&!this.isNew){var k=d.horiz?f?d.left:d.width+d.left:a.xy.x;f=d.horiz?a.xy.y:f?d.width+d.top:d.top;a.animate({x:k,y:f,opacity:0},void 0,a.destroy);delete this.label}d.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return k}();"";return e});J(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],
177
- e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q,F,x){var v=b.animObject,m=C.defaultOptions,l=B.registerEventOptions,a=q.deg2rad,f=x.arrayMax,d=x.arrayMin,k=x.clamp,p=x.correctFloat,E=x.defined,A=x.destroyObjectProperties,w=x.erase,I=x.error,t=x.extend,h=x.fireEvent,y=x.isArray,r=x.isNumber,n=x.isString,g=x.merge,D=x.normalizeTickInterval,c=x.objectEach,z=x.pick,G=x.relativeLength,H=x.removeEvent,O=x.splat,P=x.syncTimeout,K=function(c,a){return D(a,void 0,void 0,z(c.options.allowDecimals,
160
+ 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||(b={}));return b});H(e,"Core/Foundation.js",[e["Core/Utilities.js"]],function(b){var e=b.addEvent,z=b.isFunction,C=b.objectEach,w=b.removeEvent,y;(function(b){b.registerEventOptions=function(b,r){b.eventOptions=
161
+ b.eventOptions||{};C(r.events,function(n,h){b.eventOptions[h]!==n&&(b.eventOptions[h]&&(w(b,h,b.eventOptions[h]),delete b.eventOptions[h]),z(n)&&(b.eventOptions[h]=n,e(b,h,n)))})}})(y||(y={}));return y});H(e,"Core/Axis/Tick.js",[e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,z){var I=e.deg2rad,w=z.clamp,y=z.correctFloat,G=z.defined,t=z.destroyObjectProperties,r=z.extend,n=z.fireEvent,h=z.isNumber,a=z.merge,f=z.objectEach,d=z.pick;e=function(){function k(a,d,
162
+ f,b,k){this.isNewLabel=this.isNew=!0;this.axis=a;this.pos=d;this.type=f||"";this.parameters=k||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;n(this,"init");f||b||this.addLabel()}k.prototype.addLabel=function(){var a=this,f=a.axis,k=f.options,e=f.chart,E=f.categories,q=f.logarithmic,c=f.names,B=a.pos,m=d(a.options&&a.options.labels,k.labels),u=f.tickPositions,g=B===u[0],F=B===u[u.length-1],l=(!m.step||1===m.step)&&1===f.tickInterval;u=u.info;var v=a.label,
163
+ K;E=this.parameters.category||(E?d(E[B],c[B],B):B);q&&h(E)&&(E=y(q.lin2log(E)));if(f.dateTime)if(u){var J=e.time.resolveDTLFormat(k.dateTimeLabelFormats[!k.grid&&u.higherRanks[B]||u.unitName]);var M=J.main}else h(E)&&(M=f.dateTime.getXDateFormat(E,k.dateTimeLabelFormats||{}));a.isFirst=g;a.isLast=F;var S={axis:f,chart:e,dateTimeLabelFormat:M,isFirst:g,isLast:F,pos:B,tick:a,tickPositionInfo:u,value:E};n(this,"labelFormat",S);var t=function(c){return m.formatter?m.formatter.call(c,c):m.format?(c.text=
164
+ f.defaultLabelFormatter.call(c,c),b.format(m.format,c,e)):f.defaultLabelFormatter.call(c,c)};k=t.call(S,S);var z=J&&J.list;a.shortenLabel=z?function(){for(K=0;K<z.length;K++)if(r(S,{dateTimeLabelFormat:z[K]}),v.attr({text:t.call(S,S)}),v.getBBox().width<f.getSlotWidth(a)-2*m.padding)return;v.attr({text:""})}:void 0;l&&f._addedPlotLB&&a.moveLabel(k,m);G(v)||a.movedLabel?v&&v.textStr!==k&&!l&&(!v.textWidth||m.style.width||v.styles.width||v.css({width:null}),v.attr({text:k}),v.textPxLength=v.getBBox().width):
165
+ (a.label=v=a.createLabel({x:0,y:0},k,m),a.rotation=0)};k.prototype.createLabel=function(d,f,b){var k=this.axis,h=k.chart;if(d=G(f)&&b.enabled?h.renderer.text(f,d.x,d.y,b.useHTML).add(k.labelGroup):null)h.styledMode||d.css(a(b.style)),d.textPxLength=d.getBBox().width;return d};k.prototype.destroy=function(){t(this,this.axis)};k.prototype.getPosition=function(a,d,f,b){var k=this.axis,h=k.chart,c=b&&h.oldChartHeight||h.chartHeight;a={x:a?y(k.translate(d+f,void 0,void 0,b)+k.transB):k.left+k.offset+(k.opposite?
166
+ (b&&h.oldChartWidth||h.chartWidth)-k.right-k.left:0),y:a?c-k.bottom+k.offset-(k.opposite?k.height:0):y(c-k.translate(d+f,void 0,void 0,b)-k.transB)};a.y=w(a.y,-1E5,1E5);n(this,"afterGetPosition",{pos:a});return a};k.prototype.getLabelPosition=function(a,d,f,b,k,h,c,B){var m=this.axis,u=m.transA,g=m.isLinked&&m.linkedParent?m.linkedParent.reversed:m.reversed,F=m.staggerLines,l=m.tickRotCorr||{x:0,y:0},v=b||m.reserveSpaceDefault?0:-m.labelOffset*("center"===m.labelAlign?.5:1),q={};f=0===m.side?f.rotation?
167
+ -8:-f.getBBox().height:2===m.side?l.y+8:Math.cos(f.rotation*I)*(l.y-f.getBBox(!1,0).height/2);G(k.y)&&(f=0===m.side&&m.horiz?k.y+f:k.y);a=a+k.x+v+l.x-(h&&b?h*u*(g?-1:1):0);d=d+f-(h&&!b?h*u*(g?1:-1):0);F&&(b=c/(B||1)%F,m.opposite&&(b=F-b-1),d+=m.labelOffset/F*b);q.x=a;q.y=Math.round(d);n(this,"afterGetLabelPosition",{pos:q,tickmarkOffset:h,index:c});return q};k.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};k.prototype.getMarkPath=function(a,
168
+ d,f,b,k,h){return h.crispLine([["M",a,d],["L",a+(k?0:-f),d+(k?f:0)]],b)};k.prototype.handleOverflow=function(a){var f=this.axis,b=f.options.labels,k=a.x,h=f.chart.chartWidth,q=f.chart.spacing,c=d(f.labelLeft,Math.min(f.pos,q[3]));q=d(f.labelRight,Math.max(f.isRadial?0:f.pos+f.len,h-q[1]));var B=this.label,m=this.rotation,u={left:0,center:.5,right:1}[f.labelAlign||B.attr("align")],g=B.getBBox().width,F=f.getSlotWidth(this),l={},v=F,p=1,e;if(m||"justify"!==b.overflow)0>m&&k-u*g<c?e=Math.round(k/Math.cos(m*
169
+ I)-c):0<m&&k+u*g>q&&(e=Math.round((h-k)/Math.cos(m*I)));else if(h=k+(1-u)*g,k-u*g<c?v=a.x+v*(1-u)-c:h>q&&(v=q-a.x+v*u,p=-1),v=Math.min(F,v),v<F&&"center"===f.labelAlign&&(a.x+=p*(F-v-u*(F-Math.min(g,v)))),g>v||f.autoRotation&&(B.styles||{}).width)e=v;e&&(this.shortenLabel?this.shortenLabel():(l.width=Math.floor(e)+"px",(b.style||{}).textOverflow||(l.textOverflow="ellipsis"),B.css(l)))};k.prototype.moveLabel=function(a,d){var b=this,k=b.label,h=b.axis,q=h.reversed,c=!1;k&&k.textStr===a?(b.movedLabel=
170
+ k,c=!0,delete b.label):f(h.ticks,function(d){c||d.isNew||d===b||!d.label||d.label.textStr!==a||(b.movedLabel=d.label,c=!0,d.labelPos=b.movedLabel.xy,delete d.label)});if(!c&&(b.labelPos||k)){var B=b.labelPos||k.xy;k=h.horiz?q?0:h.width+h.left:B.x;h=h.horiz?B.y:q?h.width+h.left:0;b.movedLabel=b.createLabel({x:k,y:h},a,d);b.movedLabel&&b.movedLabel.attr({opacity:0})}};k.prototype.render=function(a,f,b){var k=this.axis,h=k.horiz,q=this.pos,c=d(this.tickmarkOffset,k.tickmarkOffset);q=this.getPosition(h,
171
+ q,c,f);c=q.x;var B=q.y;k=h&&c===k.pos+k.len||!h&&B===k.pos?-1:1;h=d(b,this.label&&this.label.newOpacity,1);b=d(b,1);this.isActive=!0;this.renderGridLine(f,b,k);this.renderMark(q,b,k);this.renderLabel(q,f,h,a);this.isNew=!1;n(this,"afterRender")};k.prototype.renderGridLine=function(a,f,b){var k=this.axis,h=k.options,q={},c=this.pos,B=this.type,m=d(this.tickmarkOffset,k.tickmarkOffset),u=k.chart.renderer,g=this.gridLine,F=h.gridLineWidth,l=h.gridLineColor,v=h.gridLineDashStyle;"minor"===this.type&&
172
+ (F=h.minorGridLineWidth,l=h.minorGridLineColor,v=h.minorGridLineDashStyle);g||(k.chart.styledMode||(q.stroke=l,q["stroke-width"]=F||0,q.dashstyle=v),B||(q.zIndex=1),a&&(f=0),this.gridLine=g=u.path().attr(q).addClass("highcharts-"+(B?B+"-":"")+"grid-line").add(k.gridGroup));if(g&&(b=k.getPlotLinePath({value:c+m,lineWidth:g.strokeWidth()*b,force:"pass",old:a})))g[a||this.isNew?"attr":"animate"]({d:b,opacity:f})};k.prototype.renderMark=function(a,f,b){var k=this.axis,h=k.options,q=k.chart.renderer,c=
173
+ this.type,B=k.tickSize(c?c+"Tick":"tick"),m=a.x;a=a.y;var u=d(h["minor"!==c?"tickWidth":"minorTickWidth"],!c&&k.isXAxis?1:0);h=h["minor"!==c?"tickColor":"minorTickColor"];var g=this.mark,F=!g;B&&(k.opposite&&(B[0]=-B[0]),g||(this.mark=g=q.path().addClass("highcharts-"+(c?c+"-":"")+"tick").add(k.axisGroup),k.chart.styledMode||g.attr({stroke:h,"stroke-width":u})),g[F?"attr":"animate"]({d:this.getMarkPath(m,a,B[0],g.strokeWidth()*b,k.horiz,q),opacity:f}))};k.prototype.renderLabel=function(a,f,b,k){var p=
174
+ this.axis,q=p.horiz,c=p.options,B=this.label,m=c.labels,u=m.step;p=d(this.tickmarkOffset,p.tickmarkOffset);var g=a.x;a=a.y;var F=!0;B&&h(g)&&(B.xy=a=this.getLabelPosition(g,a,B,q,m,p,k,u),this.isFirst&&!this.isLast&&!c.showFirstLabel||this.isLast&&!this.isFirst&&!c.showLastLabel?F=!1:!q||m.step||m.rotation||f||0===b||this.handleOverflow(a),u&&k%u&&(F=!1),F&&h(a.y)?(a.opacity=b,B[this.isNewLabel?"attr":"animate"](a).show(!0),this.isNewLabel=!1):(B.hide(),this.isNewLabel=!0))};k.prototype.replaceMovedLabel=
175
+ function(){var a=this.label,d=this.axis,f=d.reversed;if(a&&!this.isNew){var b=d.horiz?f?d.left:d.width+d.left:a.xy.x;f=d.horiz?a.xy.y:f?d.width+d.top:d.top;a.animate({x:b,y:f,opacity:0},void 0,a.destroy);delete this.label}d.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return k}();"";return e});H(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],
176
+ e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y,G,t){var r=b.animObject,n=C.defaultOptions,h=w.registerEventOptions,a=y.deg2rad,f=t.arrayMax,d=t.arrayMin,k=t.clamp,p=t.correctFloat,D=t.defined,A=t.destroyObjectProperties,x=t.erase,E=t.error,q=t.extend,c=t.fireEvent,B=t.isArray,m=t.isNumber,u=t.isString,g=t.merge,F=t.normalizeTickInterval,l=t.objectEach,v=t.pick,K=t.relativeLength,J=t.removeEvent,M=t.splat,S=t.syncTimeout,I=function(c,a){return F(a,void 0,void 0,v(c.options.allowDecimals,
178
177
  .5>a||void 0!==c.tickAmount),!!c.tickAmount)};b=function(){function b(c,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=
179
- 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.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0;this.init(c,a)}b.prototype.init=function(c,a){var g=a.isX;this.chart=c;this.horiz=c.inverted&&!this.isZAxis?!g:g;this.isXAxis=g;this.coll=this.coll||(g?"xAxis":"yAxis");h(this,
180
- "init",{userOptions:a});this.opposite=z(a.opposite,this.opposite);this.side=z(a.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(a);var d=this.options,f=d.labels,b=d.type;this.userOptions=a;this.minPixelPadding=0;this.reversed=z(d.reversed,this.reversed);this.visible=d.visible;this.zoomEnabled=d.zoomEnabled;this.hasNames="category"===b||!0===d.categories;this.categories=d.categories||(this.hasNames?[]:void 0);this.names||(this.names=[],this.names.keys={});this.plotLinesAndBandsGroups=
181
- {};this.positiveValuesOnly=!!this.logarithmic;this.isLinked=E(d.linkedTo);this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=d.minRange||d.maxZoom;this.range=d.range;this.offset=d.offset||0;this.min=this.max=null;a=z(d.crosshair,O(c.options.tooltip.crosshairs)[g?0:1]);this.crosshair=!0===a?{}:a;-1===c.axes.indexOf(this)&&(g?c.axes.splice(c.xAxis.length,0,this):c.axes.push(this),c[this.coll].push(this));this.series=
182
- this.series||[];c.inverted&&!this.isZAxis&&g&&"undefined"===typeof this.reversed&&(this.reversed=!0);this.labelRotation=r(f.rotation)?f.rotation:void 0;l(this,d);h(this,"afterInit")};b.prototype.setOptions=function(c){this.options=g(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],g(m[this.coll],c));h(this,"afterSetOptions",{userOptions:c})};b.prototype.defaultLabelFormatter=
183
- function(c){var a=this.axis;c=this.chart.numberFormatter;var g=r(this.value)?this.value:NaN,h=a.chart.time,d=this.dateTimeLabelFormat,f=m.lang,b=f.numericSymbols;f=f.numericSymbolMagnitude||1E3;var n=a.logarithmic?Math.abs(g):a.tickInterval,k=b&&b.length;if(a.categories)var l="".concat(this.value);else if(d)l=h.dateFormat(d,g);else if(k&&1E3<=n)for(;k--&&"undefined"===typeof l;)a=Math.pow(f,k+1),n>=a&&0===10*g%a&&null!==b[k]&&0!==g&&(l=c(g/a,-1)+b[k]);"undefined"===typeof l&&(l=1E4<=Math.abs(g)?c(g,
184
- -1):c(g,-1,void 0,""));return l};b.prototype.getSeriesExtremes=function(){var c=this,a=c.chart,g;h(this,"getSeriesExtremes",null,function(){c.hasVisibleSeries=!1;c.dataMin=c.dataMax=c.threshold=null;c.softThreshold=!c.isXAxis;c.stacking&&c.stacking.buildStacks();c.series.forEach(function(h){if(h.visible||!a.options.chart.ignoreHiddenSeries){var d=h.options,f=d.threshold;c.hasVisibleSeries=!0;c.positiveValuesOnly&&0>=f&&(f=null);if(c.isXAxis){if(d=h.xData,d.length){d=c.logarithmic?d.filter(c.validatePositiveValue):
185
- d;g=h.getXExtremes(d);var b=g.min;var n=g.max;r(b)||b instanceof Date||(d=d.filter(r),g=h.getXExtremes(d),b=g.min,n=g.max);d.length&&(c.dataMin=Math.min(z(c.dataMin,b),b),c.dataMax=Math.max(z(c.dataMax,n),n))}}else if(h=h.applyExtremes(),r(h.dataMin)&&(b=h.dataMin,c.dataMin=Math.min(z(c.dataMin,b),b)),r(h.dataMax)&&(n=h.dataMax,c.dataMax=Math.max(z(c.dataMax,n),n)),E(f)&&(c.threshold=f),!d.softThreshold||c.positiveValuesOnly)c.softThreshold=!1}})});h(this,"afterGetSeriesExtremes")};b.prototype.translate=
186
- function(c,a,g,h,d,f){var b=this.linkedParent||this,n=h&&b.old?b.old.min:b.min;if(!r(n))return NaN;var k=b.minPixelPadding;d=(b.isOrdinal||b.brokenAxis&&b.brokenAxis.hasBreaks||b.logarithmic&&d)&&b.lin2val;var l=1,D=0;h=h&&b.old?b.old.transA:b.transA;h||(h=b.transA);g&&(l*=-1,D=b.len);b.reversed&&(l*=-1,D-=l*(b.sector||b.len));a?(f=(c*l+D-k)/h+n,d&&(f=b.lin2val(f))):(d&&(c=b.val2lin(c)),c=l*(c-n)*h,f=(b.isRadial?c:p(c))+D+l*k+(r(f)?h*f:0));return f};b.prototype.toPixels=function(c,a){return this.translate(c,
187
- !1,!this.horiz,void 0,!0)+(a?0:this.pos)};b.prototype.toValue=function(c,a){return this.translate(c-(a?0:this.pos),!0,!this.horiz,void 0,!0)};b.prototype.getPlotLinePath=function(c){function a(c,a,g){if("pass"!==e&&c<a||c>g)e?c=k(c,a,g):A=!0;return c}var g=this,d=g.chart,f=g.left,b=g.top,n=c.old,l=c.value,D=c.lineWidth,y=n&&d.oldChartHeight||d.chartHeight,t=n&&d.oldChartWidth||d.chartWidth,G=g.transB,p=c.translatedValue,e=c.force,H,Q,m,w,A;c={value:l,lineWidth:D,old:n,force:e,acrossPanes:c.acrossPanes,
188
- translatedValue:p};h(this,"getPlotLinePath",c,function(c){p=z(p,g.translate(l,void 0,void 0,n));p=k(p,-1E5,1E5);H=m=Math.round(p+G);Q=w=Math.round(y-p-G);r(p)?g.horiz?(Q=b,w=y-g.bottom,H=m=a(H,f,f+g.width)):(H=f,m=t-g.right,Q=w=a(Q,b,b+g.height)):(A=!0,e=!1);c.path=A&&!e?null:d.renderer.crispLine([["M",H,Q],["L",m,w]],D||1)});return c.path};b.prototype.getLinearTickPositions=function(c,a,g){var h=p(Math.floor(a/c)*c);g=p(Math.ceil(g/c)*c);var d=[],f;p(h+c)===h&&(f=20);if(this.single)return[a];for(a=
189
- h;a<=g;){d.push(a);a=p(a+c,f);if(a===b)break;var b=a}return d};b.prototype.getMinorTickInterval=function(){var c=this.options;return!0===c.minorTicks?z(c.minorTickInterval,"auto"):!1===c.minorTicks?null:c.minorTickInterval};b.prototype.getMinorTickPositions=function(){var c=this.options,a=this.tickPositions,g=this.minorTickInterval,h=this.pointRangePadding||0,d=this.min-h;h=this.max+h;var f=h-d,b=[];if(f&&f/g<this.len/3){var n=this.logarithmic;if(n)this.paddedTicks.forEach(function(c,a,h){a&&b.push.apply(b,
190
- n.getLogTickPositions(g,h[a-1],h[a],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())b=b.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(g),d,h,c.startOfWeek));else for(c=d+(a[0]-d)%g;c<=h&&c!==b[0];c+=g)b.push(c)}0!==b.length&&this.trimTicks(b);return b};b.prototype.adjustForMinRange=function(){var c=this.options,a=this.logarithmic,g=this.min,h=this.max,b=0,n,k,l,r;this.isXAxis&&"undefined"===typeof this.minRange&&!a&&(E(c.min)||E(c.max)||E(c.floor)||E(c.ceiling)?
191
- this.minRange=null:(this.series.forEach(function(c){l=c.xData;r=c.xIncrement?1:l.length-1;if(1<l.length)for(n=r;0<n;n--)if(k=l[n]-l[n-1],!b||k<b)b=k}),this.minRange=Math.min(5*b,this.dataMax-this.dataMin)));if(h-g<this.minRange){var D=this.dataMax-this.dataMin>=this.minRange;var y=this.minRange;var t=(y-h+g)/2;t=[g-t,z(c.min,g-t)];D&&(t[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);g=f(t);h=[g+y,z(c.max,g+y)];D&&(h[2]=a?a.log2lin(this.dataMax):this.dataMax);h=d(h);h-g<y&&
192
- (t[0]=h-y,t[1]=z(c.min,h-y),g=f(t))}this.min=g;this.max=h};b.prototype.getClosest=function(){var c;this.categories?c=1:this.series.forEach(function(a){var g=a.closestPointRange,h=a.visible||!a.chart.options.chart.ignoreHiddenSeries;!a.noSharedTooltip&&E(g)&&h&&(c=E(c)?Math.min(c,g):g)});return c};b.prototype.nameToX=function(c){var a=y(this.options.categories),g=a?this.categories:this.names,h=c.options.x;c.series.requireSorting=!1;E(h)||(h=this.options.uniqueNames&&g?a?g.indexOf(c.name):z(g.keys[c.name],
193
- -1):c.series.autoIncrement());if(-1===h){if(!a&&g)var d=g.length}else d=h;"undefined"!==typeof d?(this.names[d]=c.name,this.names.keys[c.name]=d):c.x&&(d=c.x);return d};b.prototype.updateNames=function(){var c=this,a=this.names;0<a.length&&(Object.keys(a.keys).forEach(function(c){delete a.keys[c]}),a.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(a){a.xIncrement=null;if(!a.points||a.isDirtyData)c.max=Math.max(c.max,a.xData.length-1),a.processData(),a.generatePoints();
194
- a.data.forEach(function(g,h){if(g&&g.options&&"undefined"!==typeof g.name){var d=c.nameToX(g);"undefined"!==typeof d&&d!==g.x&&(g.x=d,a.xData[h]=d)}})}))};b.prototype.setAxisTranslation=function(){var c=this,a=c.max-c.min,g=c.linkedParent,d=!!c.categories,f=c.isXAxis,b=c.axisPointRange||0,k=0,l=0,r=c.transA;if(f||d||b){var D=c.getClosest();g?(k=g.minPointOffset,l=g.pointRangePadding):c.series.forEach(function(a){var g=d?1:f?z(a.options.pointRange,D,0):c.axisPointRange||0,h=a.options.pointPlacement;
195
- b=Math.max(b,g);if(!c.single||d)a=a.is("xrange")?!f:f,k=Math.max(k,a&&n(h)?0:g/2),l=Math.max(l,a&&"on"===h?0:g)});g=c.ordinal&&c.ordinal.slope&&D?c.ordinal.slope/D:1;c.minPointOffset=k*=g;c.pointRangePadding=l*=g;c.pointRange=Math.min(b,c.single&&d?1:a);f&&(c.closestPointRange=D)}c.translationSlope=c.transA=r=c.staticScale||c.len/(a+l||1);c.transB=c.horiz?c.left:c.bottom;c.minPixelPadding=r*k;h(this,"afterSetAxisTranslation")};b.prototype.minFromRange=function(){return this.max-this.range};b.prototype.setTickInterval=
196
- function(c){var a=this.chart,g=this.logarithmic,d=this.options,f=this.isXAxis,b=this.isLinked,n=d.tickPixelInterval,k=this.categories,l=this.softThreshold,D=d.maxPadding,y=d.minPadding,t=r(d.tickInterval)&&0<=d.tickInterval?d.tickInterval:void 0,G=r(this.threshold)?this.threshold:null;this.dateTime||k||b||this.getTickAmount();var e=z(this.userMin,d.min);var H=z(this.userMax,d.max);if(b){this.linkedParent=a[this.coll][d.linkedTo];var m=this.linkedParent.getExtremes();this.min=z(m.min,m.dataMin);this.max=
197
- z(m.max,m.dataMax);d.type!==this.linkedParent.options.type&&I(11,1,a)}else{if(l&&E(G))if(this.dataMin>=G)m=G,y=0;else if(this.dataMax<=G){var w=G;D=0}this.min=z(e,m,this.dataMin);this.max=z(H,w,this.dataMax)}g&&(this.positiveValuesOnly&&!c&&0>=Math.min(this.min,z(this.dataMin,this.min))&&I(10,1,a),this.min=p(g.log2lin(this.min),16),this.max=p(g.log2lin(this.max),16));this.range&&E(this.max)&&(this.userMin=this.min=e=Math.max(this.dataMin,this.minFromRange()),this.userMax=H=this.max,this.range=null);
198
- h(this,"foundExtremes");this.beforePadding&&this.beforePadding();this.adjustForMinRange();!(k||this.axisPointRange||this.stacking&&this.stacking.usePercentage||b)&&E(this.min)&&E(this.max)&&(a=this.max-this.min)&&(!E(e)&&y&&(this.min-=a*y),!E(H)&&D&&(this.max+=a*D));r(this.userMin)||(r(d.softMin)&&d.softMin<this.min&&(this.min=e=d.softMin),r(d.floor)&&(this.min=Math.max(this.min,d.floor)));r(this.userMax)||(r(d.softMax)&&d.softMax>this.max&&(this.max=H=d.softMax),r(d.ceiling)&&(this.max=Math.min(this.max,
199
- d.ceiling)));l&&E(this.dataMin)&&(G=G||0,!E(e)&&this.min<G&&this.dataMin>=G?this.min=this.options.minRange?Math.min(G,this.max-this.minRange):G:!E(H)&&this.max>G&&this.dataMax<=G&&(this.max=this.options.minRange?Math.max(G,this.min+this.minRange):G));r(this.min)&&r(this.max)&&!this.chart.polar&&this.min>this.max&&(E(this.options.min)?this.max=this.min:E(this.options.max)&&(this.min=this.max));this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:b&&
200
- this.linkedParent&&!t&&n===this.linkedParent.options.tickPixelInterval?t=this.linkedParent.tickInterval:z(t,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,k?1:(this.max-this.min)*n/Math.max(this.len,n));if(f&&!c){var A=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(c){c.forceCrop=c.forceCropping&&c.forceCropping();c.processData(A)});h(this,"postProcessData",{hasExtremesChanged:A})}this.setAxisTranslation();h(this,"initialAxisTranslation");
201
- this.pointRange&&!t&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));c=z(d.minTickInterval,this.dateTime&&!this.series.some(function(c){return c.noSharedTooltip})?this.closestPointRange:0);!t&&this.tickInterval<c&&(this.tickInterval=c);this.dateTime||this.logarithmic||t||(this.tickInterval=K(this,this.tickInterval));this.tickAmount||(this.tickInterval=this.unsquish());this.setTickPositions()};b.prototype.setTickPositions=function(){var c=this.options,a=c.tickPositions,g=c.tickPositioner,
202
- d=this.getMinorTickInterval(),f=this.hasVerticalPanning(),b="colorAxis"===this.coll,n=(b||!f)&&c.startOnTick;f=(b||!f)&&c.endOnTick;b=[];var k;this.tickmarkOffset=this.categories&&"between"===c.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===d&&this.tickInterval?this.tickInterval/5:d;this.single=this.min===this.max&&E(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==c.allowDecimals);if(a)b=a.slice();else if(r(this.min)&&r(this.max)){if(this.ordinal&&
203
- this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)b=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,c.units),this.min,this.max,c.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)b=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(d=c=this.tickInterval;d<=2*c;)if(b=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&
204
- b.length>this.tickAmount)this.tickInterval=K(this,d*=1.1);else break;else b=[this.min,this.max],I(19,!1,this.chart);b.length>this.len&&(b=[b[0],b[b.length-1]],b[0]===b[1]&&(b.length=1));g&&(this.tickPositions=b,(k=g.apply(this,[this.min,this.max]))&&(b=k))}this.tickPositions=b;this.paddedTicks=b.slice(0);this.trimTicks(b,n,f);!this.isLinked&&r(this.min)&&r(this.max)&&(this.single&&2>b.length&&!this.categories&&!this.series.some(function(c){return c.is("heatmap")&&"between"===c.options.pointPlacement})&&
205
- (this.min-=.5,this.max+=.5),a||k||this.adjustTickAmount());h(this,"afterSetTickPositions")};b.prototype.trimTicks=function(c,a,g){var d=c[0],f=c[c.length-1],b=!this.isOrdinal&&this.minPointOffset||0;h(this,"trimTicks");if(!this.isLinked){if(a&&-Infinity!==d)this.min=d;else for(;this.min-b>c[0];)c.shift();if(g)this.max=f;else for(;this.max+b<c[c.length-1];)c.pop();0===c.length&&E(d)&&!this.options.tickPositions&&c.push((f+d)/2)}};b.prototype.alignToOthers=function(){var c=this,a=[this],g=c.options,
206
- h="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,d=[],f;c.thresholdAlignment=void 0;if((!1!==this.chart.options.chart.alignTicks&&g.alignTicks||h)&&!1!==g.startOnTick&&!1!==g.endOnTick&&!c.logarithmic){var b=function(c){var a=c.options;return[c.horiz?a.left:a.top,a.width,a.height,a.pane].join()},n=b(this);this.chart[this.coll].forEach(function(g){var h=g.series;h.length&&h.some(function(c){return c.visible})&&g!==c&&b(g)===n&&(f=!0,a.push(g))})}if(f&&h){a.forEach(function(a){a=a.getThresholdAlignment(c);
207
- r(a)&&d.push(a)});var k=1<d.length?d.reduce(function(c,a){return c+a},0)/d.length:void 0;a.forEach(function(c){c.thresholdAlignment=k})}return f};b.prototype.getThresholdAlignment=function(c){(!r(this.dataMin)||this!==c&&this.series.some(function(c){return c.isDirty||c.isDirtyData}))&&this.getSeriesExtremes();if(r(this.threshold))return c=k((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(c=1-c),c};b.prototype.getTickAmount=function(){var c=this.options,
208
- a=c.tickPixelInterval,g=c.tickAmount;!E(c.tickInterval)&&!g&&this.len<a&&!this.isRadial&&!this.logarithmic&&c.startOnTick&&c.endOnTick&&(g=2);!g&&this.alignToOthers()&&(g=Math.ceil(this.len/a)+1);4>g&&(this.finalTickAmt=g,g=5);this.tickAmount=g};b.prototype.adjustTickAmount=function(){var c=this,a=c.finalTickAmt,g=c.max,h=c.min,d=c.options,f=c.tickPositions,b=c.tickAmount,n=c.thresholdAlignment,k=f&&f.length,l=z(c.threshold,c.softThreshold?0:null);var D=c.tickInterval;if(r(n)){var y=.5>n?Math.ceil(n*
209
- (b-1)):Math.floor(n*(b-1));d.reversed&&(y=b-1-y)}if(c.hasData()&&r(h)&&r(g)){n=function(){c.transA*=(k-1)/(b-1);c.min=d.startOnTick?f[0]:Math.min(h,f[0]);c.max=d.endOnTick?f[f.length-1]:Math.max(g,f[f.length-1])};if(r(y)&&r(c.threshold)){for(;f[y]!==l||f.length!==b||f[0]>h||f[f.length-1]<g;){f.length=0;for(f.push(c.threshold);f.length<b;)void 0===f[y]||f[y]>c.threshold?f.unshift(p(f[0]-D)):f.push(p(f[f.length-1]+D));if(D>8*c.tickInterval)break;D*=2}n()}else if(k<b){for(;f.length<b;)f.length%2||h===
210
- l?f.push(p(f[f.length-1]+D)):f.unshift(p(f[0]-D));n()}if(E(a)){for(D=l=f.length;D--;)(3===a&&1===D%2||2>=a&&0<D&&D<l-1)&&f.splice(D,1);c.finalTickAmt=void 0}}};b.prototype.setScale=function(){var c=!1,a=!1;this.series.forEach(function(g){c=c||g.isDirtyData||g.isDirty;a=a||g.xAxis&&g.xAxis.isDirty||!1});this.setAxisSize();var g=this.len!==(this.old&&this.old.len);g||c||a||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?
211
- (this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=g||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);h(this,"afterSetScale")};b.prototype.setExtremes=function(c,a,g,d,f){var b=this,n=b.chart;g=z(g,!0);b.series.forEach(function(c){delete c.kdTree});f=t(f,{min:c,max:a});h(b,"setExtremes",f,
212
- function(){b.userMin=c;b.userMax=a;b.eventArgs=f;g&&n.redraw(d)})};b.prototype.zoom=function(c,a){var g=this,d=this.dataMin,f=this.dataMax,b=this.options,n=Math.min(d,z(b.min,d)),k=Math.max(f,z(b.max,f));c={newMin:c,newMax:a};h(this,"zoom",c,function(c){var a=c.newMin,h=c.newMax;if(a!==g.min||h!==g.max)g.allowZoomOutside||(E(d)&&(a<n&&(a=n),a>k&&(a=k)),E(f)&&(h<n&&(h=n),h>k&&(h=k))),g.displayBtn="undefined"!==typeof a||"undefined"!==typeof h,g.setExtremes(a,h,!1,void 0,{trigger:"zoom"});c.zoomed=
213
- !0});return c.zoomed};b.prototype.setAxisSize=function(){var c=this.chart,a=this.options,g=a.offsets||[0,0,0,0],h=this.horiz,d=this.width=Math.round(G(z(a.width,c.plotWidth-g[3]+g[1]),c.plotWidth)),f=this.height=Math.round(G(z(a.height,c.plotHeight-g[0]+g[2]),c.plotHeight)),b=this.top=Math.round(G(z(a.top,c.plotTop+g[0]),c.plotHeight,c.plotTop));a=this.left=Math.round(G(z(a.left,c.plotLeft+g[3]),c.plotWidth,c.plotLeft));this.bottom=c.chartHeight-f-b;this.right=c.chartWidth-d-a;this.len=Math.max(h?
214
- d:f,0);this.pos=h?a:b};b.prototype.getExtremes=function(){var c=this.logarithmic;return{min:c?p(c.lin2log(this.min)):this.min,max:c?p(c.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};b.prototype.getThreshold=function(c){var a=this.logarithmic,g=a?a.lin2log(this.min):this.min;a=a?a.lin2log(this.max):this.max;null===c||-Infinity===c?c=g:Infinity===c?c=a:g>c?c=g:a<c&&(c=a);return this.translate(c,0,1,0,1)};b.prototype.autoLabelAlign=
215
- function(c){var a=(z(c,0)-90*this.side+720)%360;c={align:"center"};h(this,"autoLabelAlign",c,function(c){15<a&&165>a?c.align="right":195<a&&345>a&&(c.align="left")});return c.align};b.prototype.tickSize=function(c){var a=this.options,g=z(a["tick"===c?"tickWidth":"minorTickWidth"],"tick"===c&&this.isXAxis&&!this.categories?1:0),d=a["tick"===c?"tickLength":"minorTickLength"];if(g&&d){"inside"===a[c+"Position"]&&(d=-d);var f=[d,g]}c={tickSize:f};h(this,"afterTickSize",c);return c.tickSize};b.prototype.labelMetrics=
216
- function(){var c=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[c]&&this.ticks[c].label)};b.prototype.unsquish=function(){var c=this.options.labels,g=this.horiz,h=this.tickInterval,d=this.len/(((this.categories?1:0)+this.max-this.min)/h),f=c.rotation,b=this.labelMetrics(),n=Math.max(this.max-this.min,0),k=function(c){var a=c/(d||1);a=1<a?Math.ceil(a):1;a*h>n&&Infinity!==c&&Infinity!==d&&n&&(a=Math.ceil(n/h));return p(a*
217
- h)},l=h,D=Number.MAX_VALUE;if(g){if(!c.staggerLines)if(r(f))var y=[f];else d<c.autoRotationLimit&&(y=c.autoRotation);if(y)for(var t=g=void 0,G=0,e=y;G<e.length;G++){var H=e[G];if(H===f||H&&-90<=H&&90>=H)if(g=k(Math.abs(b.h/Math.sin(a*H))),t=g+Math.abs(H/360),t<D){D=t;var m=H;l=g}}}else l=k(b.h);this.autoRotation=y;this.labelRotation=z(m,r(f)?f:0);return c.step?h:l};b.prototype.getSlotWidth=function(c){var a=this.chart,g=this.horiz,h=this.options.labels,d=Math.max(this.tickPositions.length-(this.categories?
218
- 0:1),1),f=a.margin[3];if(c&&r(c.slotWidth))return c.slotWidth;if(g&&2>h.step)return h.rotation?0:(this.staggerLines||1)*this.len/d;if(!g){c=h.style.width;if(void 0!==c)return parseInt(String(c),10);if(f)return f-a.spacing[3]}return.33*a.chartWidth};b.prototype.renderUnsquish=function(){var c=this.chart,a=c.renderer,g=this.tickPositions,h=this.ticks,d=this.options.labels,f=d.style,b=this.horiz,k=this.getSlotWidth(),l=Math.max(1,Math.round(k-2*d.padding)),D={},r=this.labelMetrics(),z=f.textOverflow,
219
- y=0;n(d.rotation)||(D.rotation=d.rotation||0);g.forEach(function(c){c=h[c];c.movedLabel&&c.replaceMovedLabel();c&&c.label&&c.label.textPxLength>y&&(y=c.label.textPxLength)});this.maxLabelLength=y;if(this.autoRotation)y>l&&y>r.h?D.rotation=this.labelRotation:this.labelRotation=0;else if(k){var t=l;if(!z){var G="clip";for(l=g.length;!b&&l--;){var e=g[l];if(e=h[e].label)e.styles&&"ellipsis"===e.styles.textOverflow?e.css({textOverflow:"clip"}):e.textPxLength>k&&e.css({width:k+"px"}),e.getBBox().height>
220
- this.len/g.length-(r.h-r.f)&&(e.specificTextOverflow="ellipsis")}}}D.rotation&&(t=y>.5*c.chartHeight?.33*c.chartHeight:y,z||(G="ellipsis"));if(this.labelAlign=d.align||this.autoLabelAlign(this.labelRotation))D.align=this.labelAlign;g.forEach(function(c){var a=(c=h[c])&&c.label,g=f.width,d={};a&&(a.attr(D),c.shortenLabel?c.shortenLabel():t&&!g&&"nowrap"!==f.whiteSpace&&(t<a.textPxLength||"SPAN"===a.element.tagName)?(d.width=t+"px",z||(d.textOverflow=a.specificTextOverflow||G),a.css(d)):a.styles&&a.styles.width&&
221
- !d.width&&!g&&a.css({width:null}),delete a.specificTextOverflow,c.rotation=D.rotation)},this);this.tickRotCorr=a.rotCorr(r.b,this.labelRotation||0,0!==this.side)};b.prototype.hasData=function(){return this.series.some(function(c){return c.hasData()})||this.options.showEmpty&&E(this.min)&&E(this.max)};b.prototype.addTitle=function(c){var a=this.chart.renderer,h=this.horiz,d=this.opposite,f=this.options.title,b=this.chart.styledMode,n;this.axisTitle||((n=f.textAlign)||(n=(h?{low:"left",middle:"center",
222
- high:"right"}:{low:d?"right":"left",middle:"center",high:d?"left":"right"})[f.align]),this.axisTitle=a.text(f.text||"",0,0,f.useHTML).attr({zIndex:7,rotation:f.rotation,align:n}).addClass("highcharts-axis-title"),b||this.axisTitle.css(g(f.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);b||f.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"});this.axisTitle[c?"show":"hide"](c)};b.prototype.generateTick=function(c){var a=this.ticks;a[c]?a[c].addLabel():a[c]=new F(this,
223
- c)};b.prototype.getOffset=function(){var a=this,g=this,d=g.chart,f=g.horiz,b=g.options,n=g.side,k=g.ticks,l=g.tickPositions,D=g.coll,r=g.axisParent,y=d.renderer,t=d.inverted&&!g.isZAxis?[1,0,3,2][n]:n,G=g.hasData(),e=b.title,p=b.labels,H=d.axisOffset;d=d.clipOffset;var m=[-1,1,1,-1][n],w=b.className,A,I=0,O=0,v=0;g.showAxis=A=G||b.showEmpty;g.staggerLines=g.horiz&&p.staggerLines||void 0;if(!g.axisGroup){var P=function(c,g,d){return y.g(c).attr({zIndex:d}).addClass("highcharts-".concat(D.toLowerCase()).concat(g,
224
- " ")+(a.isRadial?"highcharts-radial-axis".concat(g," "):"")+(w||"")).add(r)};g.gridGroup=P("grid","-grid",b.gridZIndex);g.axisGroup=P("axis","",b.zIndex);g.labelGroup=P("axis-labels","-labels",p.zIndex)}G||g.isLinked?(l.forEach(function(c){g.generateTick(c)}),g.renderUnsquish(),g.reserveSpaceDefault=0===n||2===n||{1:"left",3:"right"}[n]===g.labelAlign,z(p.reserveSpace,"center"===g.labelAlign?!0:null,g.reserveSpaceDefault)&&l.forEach(function(c){v=Math.max(k[c].getLabelSize(),v)}),g.staggerLines&&
225
- (v*=g.staggerLines),g.labelOffset=v*(g.opposite?-1:1)):c(k,function(c,a){c.destroy();delete k[a]});if(e&&e.text&&!1!==e.enabled&&(g.addTitle(A),A&&!1!==e.reserveSpace)){g.titleOffset=I=g.axisTitle.getBBox()[f?"height":"width"];var x=e.offset;O=E(x)?0:z(e.margin,f?5:10)}g.renderLine();g.offset=m*z(b.offset,H[n]?H[n]+(b.margin||0):0);g.tickRotCorr=g.tickRotCorr||{x:0,y:0};e=0===n?-g.labelMetrics().h:2===n?g.tickRotCorr.y:0;G=Math.abs(v)+O;v&&(G=G-e+m*(f?z(p.y,g.tickRotCorr.y+8*m):p.x));g.axisTitleMargin=
226
- z(x,G);g.getMaxLabelDimensions&&(g.maxLabelDimensions=g.getMaxLabelDimensions(k,l));"colorAxis"!==D&&(f=this.tickSize("tick"),H[n]=Math.max(H[n],(g.axisTitleMargin||0)+I+m*g.offset,G,l&&l.length&&f?f[0]+m*g.offset:0),b=!g.axisLine||b.offset?0:2*Math.floor(g.axisLine.strokeWidth()/2),d[t]=Math.max(d[t],b));h(this,"afterGetOffset")};b.prototype.getLinePath=function(c){var a=this.chart,g=this.opposite,d=this.offset,h=this.horiz,f=this.left+(g?this.width:0)+d;d=a.chartHeight-this.bottom-(g?this.height:
227
- 0)+d;g&&(c*=-1);return a.renderer.crispLine([["M",h?this.left:f,h?d:this.top],["L",h?a.chartWidth-this.right:f,h?d:a.chartHeight-this.bottom]],c)};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 c=this.horiz,a=this.left,g=this.top,d=this.len,
228
- f=this.options.title,b=c?a:g,n=this.opposite,k=this.offset,l=f.x,D=f.y,r=this.axisTitle,z=this.chart.renderer.fontMetrics(f.style.fontSize,r);r=r?Math.max(r.getBBox(!1,0).height-z.h-1,0):0;d={low:b+(c?0:d),middle:b+d/2,high:b+(c?d:0)}[f.align];a=(c?g+this.height:a)+(c?1:-1)*(n?-1:1)*(this.axisTitleMargin||0)+[-r,r,z.f,-r][this.side];c={x:c?d+l:a+(n?this.width:0)+k+l,y:c?a+D-(n?this.height:0)+k:d+D};h(this,"afterGetTitlePosition",{titlePosition:c});return c};b.prototype.renderMinorTick=function(c,
229
- a){var g=this.minorTicks;g[c]||(g[c]=new F(this,c,"minor"));a&&g[c].isNew&&g[c].render(null,!0);g[c].render(null,!1,1)};b.prototype.renderTick=function(c,a,g){var d=this.ticks;if(!this.isLinked||c>=this.min&&c<=this.max||this.grid&&this.grid.isColumn)d[c]||(d[c]=new F(this,c)),g&&d[c].isNew&&d[c].render(a,!0,-1),d[c].render(a)};b.prototype.render=function(){var a=this,g=a.chart,d=a.logarithmic,f=a.options,b=a.isLinked,n=a.tickPositions,k=a.axisTitle,l=a.ticks,D=a.minorTicks,z=a.alternateBands,y=f.stackLabels,
230
- t=f.alternateGridColor,G=a.tickmarkOffset,e=a.axisLine,p=a.showAxis,H=v(g.renderer.globalAnimation),m,w;a.labelEdge.length=0;a.overlap=!1;[l,D,z].forEach(function(a){c(a,function(c){c.isActive=!1})});if(a.hasData()||b){var A=a.chart.hasRendered&&a.old&&r(a.old.min);a.minorTickInterval&&!a.categories&&a.getMinorTickPositions().forEach(function(c){a.renderMinorTick(c,A)});n.length&&(n.forEach(function(c,g){a.renderTick(c,g,A)}),G&&(0===a.min||a.single)&&(l[-1]||(l[-1]=new F(a,-1,null,!0)),l[-1].render(-1)));
231
- t&&n.forEach(function(c,h){w="undefined"!==typeof n[h+1]?n[h+1]+G:a.max-G;0===h%2&&c<a.max&&w<=a.max+(g.polar?-G:G)&&(z[c]||(z[c]=new q.PlotLineOrBand(a)),m=c+G,z[c].options={from:d?d.lin2log(m):m,to:d?d.lin2log(w):w,color:t,className:"highcharts-alternate-grid"},z[c].render(),z[c].isActive=!0)});a._addedPlotLB||(a._addedPlotLB=!0,(f.plotLines||[]).concat(f.plotBands||[]).forEach(function(c){a.addPlotBandOrLine(c)}))}[l,D,z].forEach(function(a){var d=[],h=H.duration;c(a,function(c,a){c.isActive||
232
- (c.render(a,!1,0),c.isActive=!1,d.push(a))});P(function(){for(var c=d.length;c--;)a[d[c]]&&!a[d[c]].isActive&&(a[d[c]].destroy(),delete a[d[c]])},a!==z&&g.hasRendered&&h?h:0)});e&&(e[e.isPlaced?"animate":"attr"]({d:this.getLinePath(e.strokeWidth())}),e.isPlaced=!0,e[p?"show":"hide"](p));k&&p&&(f=a.getTitlePosition(),k[k.isNew?"attr":"animate"](f),k.isNew=!1);y&&y.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};
233
- a.isDirty=!1;h(this,"afterRender")};b.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(c){c.render()}));this.series.forEach(function(c){c.isDirty=!0})};b.prototype.getKeepProps=function(){return this.keepProps||b.keepProps};b.prototype.destroy=function(a){var g=this,d=g.plotLinesAndBands,f=this.eventOptions;h(this,"destroy",{keepEvents:a});a||H(g);[g.ticks,g.minorTicks,g.alternateBands].forEach(function(c){A(c)});if(d)for(a=d.length;a--;)d[a].destroy();
234
- "axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(c){g[c]&&(g[c]=g[c].destroy())});for(var b in g.plotLinesAndBandsGroups)g.plotLinesAndBandsGroups[b]=g.plotLinesAndBandsGroups[b].destroy();c(g,function(c,a){-1===g.getKeepProps().indexOf(a)&&delete g[a]});this.eventOptions=f};b.prototype.drawCrosshair=function(c,a){var g=this.crosshair,d=z(g&&g.snap,!0),f=this.chart,b,n=this.cross;h(this,"drawCrosshair",{e:c,point:a});c||(c=this.cross&&this.cross.e);if(g&&
235
- !1!==(E(a)||!d)){d?E(a)&&(b=z("colorAxis"!==this.coll?a.crosshairPos:null,this.isXAxis?a.plotX:this.len-a.plotY)):b=c&&(this.horiz?c.chartX-this.pos:this.len-c.chartY+this.pos);if(E(b)){var k={value:a&&(this.isXAxis?a.x:z(a.stackY,a.y)),translatedValue:b};f.polar&&t(k,{isCrosshair:!0,chartX:c&&c.chartX,chartY:c&&c.chartY,point:a});k=this.getPlotLinePath(k)||null}if(!E(k)){this.hideCrosshair();return}d=this.categories&&!this.isRadial;n||(this.cross=n=f.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+
236
- (d?"category ":"thin ")+(g.className||"")).attr({zIndex:z(g.zIndex,2)}).add(),f.styledMode||(n.attr({stroke:g.color||(d?u.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":z(g.width,1)}).css({"pointer-events":"none"}),g.dashStyle&&n.attr({dashstyle:g.dashStyle})));n.show().attr({d:k});d&&!g.width&&n.attr({"stroke-width":this.transA});this.cross.e=c}else this.hideCrosshair();h(this,"afterDrawCrosshair",{e:c,point:a})};b.prototype.hideCrosshair=function(){this.cross&&this.cross.hide();
237
- h(this,"afterHideCrosshair")};b.prototype.hasVerticalPanning=function(){var c=this.chart.options.chart.panning;return!!(c&&c.enabled&&/y/.test(c.type))};b.prototype.validatePositiveValue=function(c){return r(c)&&0<c};b.prototype.update=function(c,a){var d=this.chart;c=g(this.userOptions,c);this.destroy(!0);this.init(d,c);d.isDirtyBox=!0;z(a,!0)&&d.redraw()};b.prototype.remove=function(c){for(var a=this.chart,g=this.coll,d=this.series,h=d.length;h--;)d[h]&&d[h].remove(!1);w(a.axes,this);w(a[g],this);
238
- a[g].forEach(function(c,a){c.options.index=c.userOptions.index=a});this.destroy();a.isDirtyBox=!0;z(c,!0)&&a.redraw()};b.prototype.setTitle=function(c,a){this.update({title:c},a)};b.prototype.setCategories=function(c,a){this.update({categories:c},a)};b.defaultOptions=e.defaultXAxisOptions;b.keepProps="extKey hcEvents names series userMax userMin".split(" ");return b}();"";return b});J(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],function(b){var e=b.addEvent,u=b.getMagnitude,C=b.normalizeTickInterval,
239
- B=b.timeUnits,q;(function(b){function x(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function v(a){"datetime"!==a.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var m=[];b.compose=function(a){-1===m.indexOf(a)&&(m.push(a),a.keepProps.push("dateTime"),a.prototype.getTimeTicks=x,e(a,"init",v));return a};var l=function(){function a(a){this.axis=a}a.prototype.normalizeTimeTickInterval=function(a,d){var f=d||[["millisecond",[1,2,5,10,20,25,50,
240
- 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]];d=f[f.length-1];var b=B[d[0]],l=d[1],e;for(e=0;e<f.length&&!(d=f[e],b=B[d[0]],l=d[1],f[e+1]&&a<=(b*l[l.length-1]+B[f[e+1][0]])/2);e++);b===B.year&&a<5*b&&(l=[1,2,5]);a=C(a/b,l,"year"===d[0]?Math.max(u(a/b),1):1);return{unitRange:b,count:a,unitName:d[0]}};a.prototype.getXDateFormat=function(a,d){var f=this.axis,b=f.chart.time;return f.closestPointRange?
241
- b.getDateFormat(f.closestPointRange,a,f.options.startOfWeek,d)||b.resolveDTLFormat(d.year).main:b.resolveDTLFormat(d.day).main};return a}();b.Additions=l})(q||(q={}));return q});J(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],function(b){var e=b.addEvent,u=b.normalizeTickInterval,C=b.pick,B;(function(b){function q(b){var a=this.logarithmic;"logarithmic"!==b.userOptions.type?this.logarithmic=void 0:a||(this.logarithmic=new m(this))}function x(){var b=this.logarithmic;b&&(this.lin2val=function(a){return b.lin2log(a)},
242
- this.val2lin=function(a){return b.log2lin(a)})}var v=[];b.compose=function(b){-1===v.indexOf(b)&&(v.push(b),b.keepProps.push("logarithmic"),e(b,"init",q),e(b,"afterInit",x));return b};var m=function(){function b(a){this.axis=a}b.prototype.getLogTickPositions=function(a,f,d,b){var k=this.axis,l=k.len,e=k.options,m=[];b||(this.minorAutoInterval=void 0);if(.5<=a)a=Math.round(a),m=k.getLinearTickPositions(a,f,d);else if(.08<=a){var I=Math.floor(f),t,h=e=void 0;for(l=.3<a?[1,2,4]:.15<a?[1,2,4,6,8]:[1,
243
- 2,3,4,5,6,7,8,9];I<d+1&&!h;I++){var y=l.length;for(t=0;t<y&&!h;t++){var r=this.log2lin(this.lin2log(I)*l[t]);r>f&&(!b||e<=d)&&"undefined"!==typeof e&&m.push(e);e>d&&(h=!0);e=r}}}else f=this.lin2log(f),d=this.lin2log(d),a=b?k.getMinorTickInterval():e.tickInterval,a=C("auto"===a?null:a,this.minorAutoInterval,e.tickPixelInterval/(b?5:1)*(d-f)/((b?l/k.tickPositions.length:l)||1)),a=u(a),m=k.getLinearTickPositions(a,f,d).map(this.log2lin),b||(this.minorAutoInterval=a/5);b||(k.tickInterval=a);return m};
244
- b.prototype.lin2log=function(a){return Math.pow(10,a)};b.prototype.log2lin=function(a){return Math.log(a)/Math.LN10};return b}();b.Additions=m})(B||(B={}));return B});J(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],function(b){var e=b.erase,u=b.extend,C=b.isNumber,B;(function(b){var q=[],x;b.compose=function(b,l){x||(x=b);-1===q.indexOf(l)&&(q.push(l),u(l.prototype,v.prototype));return l};var v=function(){function b(){}b.prototype.getPlotBandPath=function(b,a,f){void 0===
245
- f&&(f=this.options);var d=this.getPlotLinePath({value:a,force:!0,acrossPanes:f.acrossPanes}),k=[],l=this.horiz;a=!C(this.min)||!C(this.max)||b<this.min&&a<this.min||b>this.max&&a>this.max;b=this.getPlotLinePath({value:b,force:!0,acrossPanes:f.acrossPanes});f=1;if(b&&d){if(a){var e=b.toString()===d.toString();f=0}for(a=0;a<b.length;a+=2){var m=b[a],w=b[a+1],I=d[a],t=d[a+1];"M"!==m[0]&&"L"!==m[0]||"M"!==w[0]&&"L"!==w[0]||"M"!==I[0]&&"L"!==I[0]||"M"!==t[0]&&"L"!==t[0]||(l&&I[1]===m[1]?(I[1]+=f,t[1]+=
246
- f):l||I[2]!==m[2]||(I[2]+=f,t[2]+=f),k.push(["M",m[1],m[2]],["L",w[1],w[2]],["L",t[1],t[2]],["L",I[1],I[2]],["Z"]));k.isFlat=e}}return k};b.prototype.addPlotBand=function(b){return this.addPlotBandOrLine(b,"plotBands")};b.prototype.addPlotLine=function(b){return this.addPlotBandOrLine(b,"plotLines")};b.prototype.addPlotBandOrLine=function(b,a){var f=this,d=this.userOptions,k=new x(this,b);this.visible&&(k=k.render());if(k){this._addedPlotLB||(this._addedPlotLB=!0,(d.plotLines||[]).concat(d.plotBands||
247
- []).forEach(function(a){f.addPlotBandOrLine(a)}));if(a){var l=d[a]||[];l.push(b);d[a]=l}this.plotLinesAndBands.push(k)}return k};b.prototype.removePlotBandOrLine=function(b){var a=this.plotLinesAndBands,f=this.options,d=this.userOptions;if(a){for(var k=a.length;k--;)a[k].id===b&&a[k].destroy();[f.plotLines||[],d.plotLines||[],f.plotBands||[],d.plotBands||[]].forEach(function(a){for(k=a.length;k--;)(a[k]||{}).id===b&&e(a,a[k])})}};b.prototype.removePlotBand=function(b){this.removePlotBandOrLine(b)};
248
- b.prototype.removePlotLine=function(b){this.removePlotBandOrLine(b)};return b}()})(B||(B={}));return B});J(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],function(b,e){var u=e.arrayMax,K=e.arrayMin,B=e.defined,q=e.destroyObjectProperties,F=e.erase,x=e.fireEvent,v=e.merge,m=e.objectEach,l=e.pick;e=function(){function a(a,d){this.axis=a;d&&(this.options=d,this.id=d.id)}a.compose=function(f){return b.compose(a,f)};a.prototype.render=
249
- function(){x(this,"render");var a=this,d=a.axis,b=d.horiz,e=d.logarithmic,E=a.options,A=E.color,w=l(E.zIndex,0),I=E.events,t={},h=d.chart.renderer,y=E.label,r=a.label,n=E.to,g=E.from,D=E.value,c=a.svgElem,z=[],G=B(g)&&B(n);z=B(D);var H=!c,O={"class":"highcharts-plot-"+(G?"band ":"line ")+(E.className||"")},P=G?"bands":"lines";e&&(g=e.log2lin(g),n=e.log2lin(n),D=e.log2lin(D));d.chart.styledMode||(z?(O.stroke=A||"#999999",O["stroke-width"]=l(E.width,1),E.dashStyle&&(O.dashstyle=E.dashStyle)):G&&(O.fill=
250
- A||"#e6ebf5",E.borderWidth&&(O.stroke=E.borderColor,O["stroke-width"]=E.borderWidth)));t.zIndex=w;P+="-"+w;(e=d.plotLinesAndBandsGroups[P])||(d.plotLinesAndBandsGroups[P]=e=h.g("plot-"+P).attr(t).add());H&&(a.svgElem=c=h.path().attr(O).add(e));if(z)z=d.getPlotLinePath({value:D,lineWidth:c.strokeWidth(),acrossPanes:E.acrossPanes});else if(G)z=d.getPlotBandPath(g,n,E);else return;!a.eventsAdded&&I&&(m(I,function(g,d){c.on(d,function(c){I[d].apply(a,[c])})}),a.eventsAdded=!0);(H||!c.d)&&z&&z.length?
251
- c.attr({d:z}):c&&(z?(c.show(),c.animate({d:z})):c.d&&(c.hide(),r&&(a.label=r=r.destroy())));y&&(B(y.text)||B(y.formatter))&&z&&z.length&&0<d.width&&0<d.height&&!z.isFlat?(y=v({align:b&&G&&"center",x:b?!G&&4:10,verticalAlign:!b&&G&&"middle",y:b?G?16:10:G?6:-4,rotation:b&&!G&&90},y),this.renderLabel(y,z,G,w)):r&&r.hide();return a};a.prototype.renderLabel=function(a,d,b,l){var f=this.axis,k=f.chart.renderer,e=this.label;e||(this.label=e=k.text(this.getLabelText(a),0,0,a.useHTML).attr({align:a.textAlign||
252
- a.align,rotation:a.rotation,"class":"highcharts-plot-"+(b?"band":"line")+"-label "+(a.className||""),zIndex:l}).add(),f.chart.styledMode||e.css(v({textOverflow:"ellipsis"},a.style)));l=d.xBounds||[d[0][1],d[1][1],b?d[2][1]:d[0][1]];d=d.yBounds||[d[0][2],d[1][2],b?d[2][2]:d[0][2]];b=K(l);k=K(d);e.align(a,!1,{x:b,y:k,width:u(l)-b,height:u(d)-k});e.alignValue&&"left"!==e.alignValue||e.css({width:(90===e.rotation?f.height-(e.alignAttr.y-f.top):f.width-(e.alignAttr.x-f.left))+"px"});e.show(!0)};a.prototype.getLabelText=
253
- function(a){return B(a.formatter)?a.formatter.call(this):a.text};a.prototype.destroy=function(){F(this.axis.plotLinesAndBands,this);delete this.axis;q(this)};return a}();"";"";return e});J(e,"Core/Tooltip.js",[e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C,B){var q=b.format,F=e.doc,x=u.distribute,v=B.clamp,m=B.css,l=B.defined,a=B.discardElement,f=B.extend,d=B.fireEvent,k=B.isArray,
254
- p=B.isNumber,E=B.isString,A=B.merge,w=B.pick,I=B.splat,t=B.syncTimeout;b=function(){function h(a,d){this.allowShared=!0;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,d)}h.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}},
255
- {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"}}]}]})};h.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"]||"")})};h.prototype.cleanSplit=
256
- function(a){this.chart.series.forEach(function(d){var h=d&&d.tt;h&&(!h.isActive||a?d.tt=h.destroy():h.isActive=!1)})};h.prototype.defaultFormatter=function(a){var d=this.points||I(this);var h=[a.tooltipFooterHeaderFormatter(d[0])];h=h.concat(a.bodyFormatter(d));h.push(a.tooltipFooterHeaderFormatter(d[0],!0));return h};h.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),
257
- a(this.container));B.clearTimeout(this.hideTimer);B.clearTimeout(this.tooltipTimeout)};h.prototype.getAnchor=function(a,d){var h=this.chart,g=h.pointer,b=h.inverted,c=h.plotTop,f=h.plotLeft,k,l,r=0,y=0;a=I(a);this.followPointer&&d?("undefined"===typeof d.chartX&&(d=g.normalize(d)),g=[d.chartX-f,d.chartY-c]):a[0].tooltipPos?g=a[0].tooltipPos:(a.forEach(function(a){k=a.series.yAxis;l=a.series.xAxis;r+=a.plotX||0;y+=a.plotLow?(a.plotLow+(a.plotHigh||0))/2:a.plotY||0;l&&k&&(b?(r+=c+h.plotHeight-l.len-
258
- l.pos,y+=f+h.plotWidth-k.len-k.pos):(r+=l.pos-f,y+=k.pos-c))}),r/=a.length,y/=a.length,g=[b?h.plotWidth-y:r,b?h.plotHeight-r:y],this.shared&&1<a.length&&d&&(b?g[0]=d.chartX-f:g[1]=d.chartY-c));return g.map(Math.round)};h.prototype.getLabel=function(){var a=this,d=this.chart.styledMode,h=this.options,g=this.split&&this.allowShared,b="tooltip"+(l(h.className)?" "+h.className:""),c=h.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none"),f,k=this.chart.renderer;if(a.label){var t=!a.label.hasClass("highcharts-label");
259
- (g&&!t||!g&&t)&&a.destroy()}if(!this.label){if(this.outside){t=this.chart.options.chart.style;var p=C.getRendererType();this.container=f=e.doc.createElement("div");f.className="highcharts-tooltip-container";m(f,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style.zIndex||0,(t&&t.zIndex||0)+3)});e.doc.body.appendChild(f);this.renderer=k=new p(f,0,0,t,void 0,void 0,k.styledMode)}g?this.label=k.g(b):(this.label=k.label("",0,0,h.shape,void 0,void 0,h.useHTML,void 0,b).attr({padding:h.padding,
260
- r:h.borderRadius}),d||this.label.attr({fill:h.backgroundColor,"stroke-width":h.borderWidth}).css(h.style).css({pointerEvents:c}).shadow(h.shadow));d&&h.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"}));if(a.outside&&!a.split){var w=this.label,A=w.xSetter,E=w.ySetter;w.xSetter=function(c){A.call(w,a.distance);f.style.left=c+"px"};w.ySetter=function(c){E.call(w,a.distance);f.style.top=c+"px"}}this.label.attr({zIndex:8}).add()}return this.label};h.prototype.getPosition=
261
- function(a,d,h){var g=this.chart,f=this.distance,c={},b=g.inverted&&h.h||0,n=this.outside,k=n?F.documentElement.clientWidth-2*f:g.chartWidth,l=n?Math.max(F.body.scrollHeight,F.documentElement.scrollHeight,F.body.offsetHeight,F.documentElement.offsetHeight,F.documentElement.clientHeight):g.chartHeight,r=g.pointer.getChartPosition(),y=function(c){var b="x"===c;return[c,b?k:l,b?a:d].concat(n?[b?a*r.scaleX:d*r.scaleY,b?r.left-f+(h.plotX+g.plotLeft)*r.scaleX:r.top-f+(h.plotY+g.plotTop)*r.scaleY,0,b?k:
262
- l]:[b?a:d,b?h.plotX+g.plotLeft:h.plotY+g.plotTop,b?g.plotLeft:g.plotTop,b?g.plotLeft+g.plotWidth:g.plotTop+g.plotHeight])},t=y("y"),e=y("x"),p;y=!!h.negative;!g.polar&&g.hoverSeries&&g.hoverSeries.yAxis&&g.hoverSeries.yAxis.reversed&&(y=!y);var m=!this.followPointer&&w(h.ttBelow,!g.inverted===y),A=function(a,g,d,h,k,l,D){var z=n?"y"===a?f*r.scaleY:f*r.scaleX:f,y=(d-h)/2,t=h<k-f,e=k+f+h<g,G=k-z-d+y;k=k+z-y;if(m&&e)c[a]=k;else if(!m&&t)c[a]=G;else if(t)c[a]=Math.min(D-h,0>G-b?G:G-b);else if(e)c[a]=
263
- Math.max(l,k+b+d>g?k:k+b);else return!1},E=function(a,g,d,h,b){var n;b<f||b>g-f?n=!1:c[a]=b<d/2?1:b>g-h/2?g-h-2:b-d/2;return n},I=function(c){var a=t;t=e;e=a;p=c},v=function(){!1!==A.apply(0,t)?!1!==E.apply(0,e)||p||(I(!0),v()):p?c.x=c.y=0:(I(!0),v())};(g.inverted||1<this.len)&&I();v();return c};h.prototype.hide=function(a){var d=this;B.clearTimeout(this.hideTimer);a=w(a,this.options.hideDelay);this.isHidden||(this.hideTimer=t(function(){d.getLabel().fadeOut(a?void 0:a);d.isHidden=!0},a))};h.prototype.init=
264
- function(a,d){this.chart=a;this.options=d;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=d.split&&!a.inverted&&!a.polar;this.shared=d.shared||this.split;this.outside=w(d.outside,!(!a.scrollablePixelsX&&!a.scrollablePixelsY))};h.prototype.shouldStickOnContact=function(a){return!(this.followPointer||!this.options.stickOnContact||a&&!this.chart.pointer.inClass(a.target,"highcharts-tooltip"))};h.prototype.move=function(a,d,h,g){var b=this,c=b.now,n=!1!==b.options.animation&&!b.isHidden&&
265
- (1<Math.abs(a-c.x)||1<Math.abs(d-c.y)),k=b.followPointer||1<b.len;f(c,{x:n?(2*c.x+a)/3:a,y:n?(c.y+d)/2:d,anchorX:k?void 0:n?(2*c.anchorX+h)/3:h,anchorY:k?void 0:n?(c.anchorY+g)/2:g});b.getLabel().attr(c);b.drawTracker();n&&(B.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){b&&b.move(a,d,h,g)},32))};h.prototype.refresh=function(a,h){var b=this.chart,g=this.options,f=I(a),c=f[0],l=[],r=g.formatter||this.defaultFormatter,t=this.shared,e=b.styledMode,y={};if(g.enabled&&c.series){B.clearTimeout(this.hideTimer);
266
- this.allowShared=!(!k(a)&&a.series&&a.series.noSharedTooltip);this.followPointer=!this.split&&c.series.tooltipOptions.followPointer;a=this.getAnchor(a,h);var p=a[0],m=a[1];t&&this.allowShared?(b.pointer.applyInactiveState(f),f.forEach(function(c){c.setState("hover");l.push(c.getLabelConfig())}),y={x:c.category,y:c.y},y.points=l):y=c.getLabelConfig();this.len=l.length;r=r.call(y,this);t=c.series;this.distance=w(t.tooltipOptions.distance,16);if(!1===r)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(r,
267
- f);else{var A=p,E=m;h&&b.pointer.isDirectTouch&&(A=h.chartX-b.plotLeft,E=h.chartY-b.plotTop);if(b.polar||!1===t.options.clip||f.some(function(c){return c.series.shouldShowTooltip(A,E)}))h=this.getLabel(),g.style.width&&!e||h.css({width:this.chart.spacingBox.width+"px"}),h.attr({text:r&&r.join?r.join(""):r}),h.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+w(c.colorIndex,t.colorIndex)),e||h.attr({stroke:g.borderColor||c.color||t.color||"#666666"}),this.updatePosition({plotX:p,
268
- plotY:m,negative:c.negative,ttBelow:c.ttBelow,h:a[2]||0});else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show();this.isHidden=!1}d(this,"refresh")}};h.prototype.renderSplit=function(a,d){function h(c,a,d,h,b){void 0===b&&(b=!0);d?(a=C?0:ea,c=v(c-h/2,R.left,R.right-h-(g.outside?S:0))):(a-=N,c=b?c-h-u:c+u,c=v(c,b?c:R.left,R.right));return{x:c,y:a}}var g=this,b=g.chart,c=g.chart,k=c.chartWidth,l=c.chartHeight,r=c.plotHeight,t=c.plotLeft,e=c.plotTop,y=c.pointer,p=c.scrollablePixelsY;
269
- p=void 0===p?0:p;var m=c.scrollablePixelsX,A=c.scrollingContainer;A=void 0===A?{scrollLeft:0,scrollTop:0}:A;var I=A.scrollLeft;A=A.scrollTop;var q=c.styledMode,u=g.distance,B=g.options,X=g.options.positioner,R=g.outside&&"number"!==typeof m?F.documentElement.getBoundingClientRect():{left:I,right:I+k,top:A,bottom:A+l},U=g.getLabel(),K=this.renderer||b.renderer,C=!(!b.xAxis[0]||!b.xAxis[0].opposite);b=y.getChartPosition();var S=b.left;b=b.top;var N=e+A,ca=0,ea=r-p;E(a)&&(a=[!1,a]);a=a.slice(0,d.length+
270
- 1).reduce(function(c,a,b){if(!1!==a&&""!==a){b=d[b-1]||{isHeader:!0,plotX:d[0].plotX,plotY:r,series:{}};var f=b.isHeader,k=f?g:b.series;a=a.toString();var n=k.tt,l=b.isHeader;var D=b.series;var z="highcharts-color-"+w(b.colorIndex,D.colorIndex,"none");n||(n={padding:B.padding,r:B.borderRadius},q||(n.fill=B.backgroundColor,n["stroke-width"]=B.borderWidth),n=K.label("",0,0,B[l?"headerShape":"shape"],void 0,void 0,B.useHTML).addClass((l?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+z).attr(n).add(U));
271
- n.isActive=!0;n.attr({text:a});q||n.css(B.style).shadow(B.shadow).attr({stroke:B.borderColor||b.color||D.color||"#333333"});k=k.tt=n;l=k.getBBox();a=l.width+k.strokeWidth();f&&(ca=l.height,ea+=ca,C&&(N-=ca));D=b.plotX;D=void 0===D?0:D;z=b.plotY;z=void 0===z?0:z;n=b.series;if(b.isHeader){D=t+D;var y=e+r/2}else{var G=n.xAxis,p=n.yAxis;D=G.pos+v(D,-u,G.len+u);n.shouldShowTooltip(0,p.pos-e+z,{ignoreX:!0})&&(y=p.pos+z)}D=v(D,R.left-u,R.right+u);"number"===typeof y?(l=l.height+1,z=X?X.call(g,a,l,b):h(D,
272
- y,f,a),c.push({align:X?0:void 0,anchorX:D,anchorY:y,boxWidth:a,point:b,rank:w(z.rank,f?1:0),size:l,target:z.y,tt:k,x:z.x})):k.isActive=!1}return c},[]);!X&&a.some(function(c){var a=(g.outside?S:0)+c.anchorX;return a<R.left&&a+c.boxWidth<R.right?!0:a<S-R.left+c.boxWidth&&R.right-a>a})&&(a=a.map(function(c){var a=h(c.anchorX,c.anchorY,c.point.isHeader,c.boxWidth,!1);return f(c,{target:a.y,x:a.x})}));g.cleanSplit();x(a,ea);var J=S,da=S;a.forEach(function(c){var a=c.x,d=c.boxWidth;c=c.isHeader;c||(g.outside&&
273
- S+a<J&&(J=S+a),!c&&g.outside&&J+d>da&&(da=S+a))});a.forEach(function(c){var a=c.x,d=c.anchorX,h=c.pos,b=c.point.isHeader;h={visibility:"undefined"===typeof h?"hidden":"inherit",x:a,y:h+N,anchorX:d,anchorY:c.anchorY};if(g.outside&&a<d){var f=S-J;0<f&&(b||(h.x=a+f,h.anchorX=d+f),b&&(h.x=(da-J)/2,h.anchorX=d+f))}c.tt.attr(h)});a=g.container;p=g.renderer;g.outside&&a&&p&&(c=U.getBBox(),p.setSize(c.width+c.x,c.height+c.y,!1),a.style.left=J+"px",a.style.top=b+"px")};h.prototype.drawTracker=function(){if(this.shouldStickOnContact()){var a=
274
- this.chart,d=this.label,h=this.shared?a.hoverPoints:a.hoverPoint;if(d&&h){var g={x:0,y:0,width:0,height:0};h=this.getAnchor(h);var b=d.getBBox();h[0]+=a.plotLeft-d.translateX;h[1]+=a.plotTop-d.translateY;g.x=Math.min(0,h[0]);g.y=Math.min(0,h[1]);g.width=0>h[0]?Math.max(Math.abs(h[0]),b.width-h[0]):Math.max(Math.abs(h[0]),b.width);g.height=0>h[1]?Math.max(Math.abs(h[1]),b.height-Math.abs(h[1])):Math.max(Math.abs(h[1]),b.height);this.tracker?this.tracker.attr(g):(this.tracker=d.renderer.rect(g).addClass("highcharts-tracker").add(d),
275
- a.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()};h.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}"')};h.prototype.tooltipFooterHeaderFormatter=function(a,h){var b=a.series,g=b.tooltipOptions,f=b.xAxis,c=f&&f.dateTime;f={isFooter:h,labelConfig:a};var k=g.xDateFormat,l=g[h?"footerFormat":"headerFormat"];
276
- d(this,"headerFormatter",f,function(d){c&&!k&&p(a.key)&&(k=c.getXDateFormat(a.key,g.dateTimeLabelFormats));c&&k&&(a.point&&a.point.tooltipDateKeys||["key"]).forEach(function(c){l=l.replace("{point."+c+"}","{point."+c+":"+k+"}")});b.chart.styledMode&&(l=this.styledModeFormat(l));d.text=q(l,{point:a,series:b},this.chart)});return f.text};h.prototype.update=function(a){this.destroy();A(!0,this.chart.options.tooltip.userOptions,a);this.init(this.chart,A(!0,this.options,a))};h.prototype.updatePosition=
277
- function(a){var d=this.chart,h=this.options,g=d.pointer,b=this.getLabel();g=g.getChartPosition();var c=(h.positioner||this.getPosition).call(this,b.width,b.height,a),f=a.plotX+d.plotLeft;a=a.plotY+d.plotTop;if(this.outside){h=h.borderWidth+2*this.distance;this.renderer.setSize(b.width+h,b.height+h,!1);if(1!==g.scaleX||1!==g.scaleY)m(this.container,{transform:"scale(".concat(g.scaleX,", ").concat(g.scaleY,")")}),f*=g.scaleX,a*=g.scaleY;f+=g.left-c.x;a+=g.top-c.y}this.move(Math.round(c.x),Math.round(c.y||
278
- 0),f,a)};return h}();"";return b});J(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/FormatUtilities.js"],e["Core/Utilities.js"]],function(b,e,u,C,B){var q=e.animObject,F=u.defaultOptions,x=C.format,v=B.addEvent,m=B.defined,l=B.erase,a=B.extend,f=B.fireEvent,d=B.getNestedProperty,k=B.isArray,p=B.isFunction,E=B.isNumber,A=B.isObject,w=B.merge,I=B.objectEach,t=B.pick,h=B.syncTimeout,y=B.removeEvent,r=B.uniqueKey;e=function(){function n(){this.colorIndex=
279
- 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.shapeArgs=this.series=void 0;this.visible=!0;this.x=void 0}n.prototype.animateBeforeDestroy=function(){var g=this,d={x:g.startXPos,opacity:0},c=g.getGraphicalProps();c.singular.forEach(function(c){g[c]=g[c].animate("dataLabel"===c?{x:g[c].startXPos,y:g[c].startYPos,opacity:0}:d)});c.plural.forEach(function(c){g[c].forEach(function(c){c.element&&
280
- c.animate(a({x:g.startXPos},c.startYPos?{x:c.startXPos,y:c.startYPos}:{}))})})};n.prototype.applyOptions=function(g,d){var c=this.series,h=c.options.pointValKey||c.pointValKey;g=n.prototype.optionsToObject.call(this,g);a(this,g);this.options=this.options?a(this.options,g):g;g.group&&delete this.group;g.dataLabels&&delete this.dataLabels;h&&(this.y=n.prototype.getNestedProperty.call(this,h));this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point";this.selected&&(this.state="select");
281
- "name"in this&&"undefined"===typeof d&&c.xAxis&&c.xAxis.hasNames&&(this.x=c.xAxis.nameToX(this));"undefined"===typeof this.x&&c?this.x="undefined"===typeof d?c.autoIncrement():d:E(g.x)&&c.options.relativeXValue&&(this.x=c.autoIncrement(g.x));return this};n.prototype.destroy=function(){function a(){if(d.graphic||d.graphics||d.dataLabel||d.dataLabels)y(d),d.destroyElements();for(n in d)d[n]=null}var d=this,c=d.series,b=c.chart;c=c.options.dataSorting;var f=b.hoverPoints,k=q(d.series.chart.renderer.globalAnimation),
282
- n;d.legendItem&&b.legend.destroyItem(d);f&&(d.setState(),l(f,d),f.length||(b.hoverPoints=null));if(d===b.hoverPoint)d.onMouseOut();c&&c.enabled?(this.animateBeforeDestroy(),h(a,k.duration)):a();b.pointCount--};n.prototype.destroyElements=function(a){var g=this;a=g.getGraphicalProps(a);a.singular.forEach(function(c){g[c]=g[c].destroy()});a.plural.forEach(function(c){g[c].forEach(function(c){c.element&&c.destroy()});delete g[c]})};n.prototype.firePointEvent=function(a,d,c){var g=this,h=this.series.options;
283
- (h.point.events[a]||g.options&&g.options.events&&g.options.events[a])&&g.importEvents();"click"===a&&h.allowPointSelect&&(c=function(c){g.select&&g.select(null,c.ctrlKey||c.metaKey||c.shiftKey)});f(g,a,d,c)};n.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?
284
- " "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};n.prototype.getGraphicalProps=function(a){var g=this,c=[],d={singular:[],plural:[]},h;a=a||{graphic:1,dataLabel:1};a.graphic&&c.push("graphic","shadowGroup");a.dataLabel&&c.push("dataLabel","dataLabelPath","dataLabelUpper","connector");for(h=c.length;h--;){var b=c[h];g[b]&&d.singular.push(b)}["graphic","dataLabel","connector"].forEach(function(c){var h=c+"s";a[c]&&g[h]&&d.plural.push(h)});
285
- return d};n.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}};n.prototype.getNestedProperty=function(a){if(a)return 0===a.indexOf("custom.")?d(a,this.options):this[a]};n.prototype.getZone=function(){var a=this.series,d=a.zones;a=a.zoneAxis||"y";var c,h=0;for(c=d[h];this[a]>=c.value;)c=d[++h];this.nonZonedColor||(this.nonZonedColor=
286
- this.color);this.color=c&&c.color&&!this.options.color?c.color:this.nonZonedColor;return c};n.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};n.prototype.init=function(a,d,c){this.series=a;this.applyOptions(d,c);this.id=m(this.id)?this.id:r();this.resolveColor();a.chart.pointCount++;f(this,"afterInit");return this};n.prototype.isValid=function(){return null!==this.x&&E(this.y)};n.prototype.optionsToObject=function(a){var g=
287
- this.series,c=g.options.keys,d=c||g.pointArrayMap||["y"],h=d.length,b={},f=0,l=0;if(E(a)||null===a)b[d[0]]=a;else if(k(a))for(!c&&a.length>h&&(g=typeof a[0],"string"===g?b.name=a[0]:"number"===g&&(b.x=a[0]),f++);l<h;)c&&"undefined"===typeof a[f]||(0<d[l].indexOf(".")?n.prototype.setNestedProperty(b,a[f],d[l]):b[d[l]]=a[f]),f++,l++;else"object"===typeof a&&(b=a,a.dataLabels&&(g._hasPointLabels=!0),a.marker&&(g._hasPointMarkers=!0));return b};n.prototype.resolveColor=function(){var a=this.series,d=
288
- a.chart.styledMode;var c=a.chart.options.chart.colorCount;delete this.nonZonedColor;if(a.options.colorByPoint){if(!d){c=a.options.colors||a.chart.options.colors;var h=c[a.colorCounter];c=c.length}d=a.colorCounter;a.colorCounter++;a.colorCounter===c&&(a.colorCounter=0)}else d||(h=a.color),d=a.colorIndex;this.colorIndex=t(this.options.colorIndex,d);this.color=t(this.options.color,h)};n.prototype.setNestedProperty=function(a,d,c){c.split(".").reduce(function(c,a,g,h){c[a]=h.length-1===g?d:A(c[a],!0)?
289
- c[a]:{};return c[a]},a);return a};n.prototype.shouldDraw=function(){return!this.isNull};n.prototype.tooltipFormatter=function(a){var g=this.series,c=g.tooltipOptions,d=t(c.valueDecimals,""),h=c.valuePrefix||"",b=c.valueSuffix||"";g.chart.styledMode&&(a=g.chart.tooltip.styledModeFormat(a));(g.pointArrayMap||["y"]).forEach(function(c){c="{point."+c;if(h||b)a=a.replace(RegExp(c+"}","g"),h+c+"}"+b);a=a.replace(RegExp(c+"}","g"),c+":,."+d+"f}")});return x(a,{point:this,series:this.series},g.chart)};n.prototype.update=
290
- function(a,d,c,h){function g(){b.applyOptions(a);var g=k&&b.hasMockGraphic;g=null===b.y?!g:g;k&&g&&(b.graphic=k.destroy(),delete b.hasMockGraphic);A(a,!0)&&(k&&k.element&&a&&a.marker&&"undefined"!==typeof a.marker.symbol&&(b.graphic=k.destroy()),a&&a.dataLabels&&b.dataLabel&&(b.dataLabel=b.dataLabel.destroy()),b.connector&&(b.connector=b.connector.destroy()));r=b.index;f.updateParallelArrays(b,r);l.data[r]=A(l.data[r],!0)||A(a,!0)?b.options:t(a,l.data[r]);f.isDirty=f.isDirtyData=!0;!f.fixedBox&&f.hasCartesianSeries&&
291
- (n.isDirtyBox=!0);"point"===l.legendType&&(n.isDirtyLegend=!0);d&&n.redraw(c)}var b=this,f=b.series,k=b.graphic,n=f.chart,l=f.options,r;d=t(d,!0);!1===h?g():b.firePointEvent("update",{options:a},g)};n.prototype.remove=function(a,d){this.series.removePoint(this.series.data.indexOf(this),a,d)};n.prototype.select=function(a,d){var c=this,g=c.series,h=g.chart;this.selectedStaging=a=t(a,!c.selected);c.firePointEvent(a?"select":"unselect",{accumulate:d},function(){c.selected=c.options.selected=a;g.options.data[g.data.indexOf(c)]=
292
- c.options;c.setState(a&&"select");d||h.getSelectedPoints().forEach(function(a){var g=a.series;a.selected&&a!==c&&(a.selected=a.options.selected=!1,g.options.data[g.data.indexOf(a)]=a.options,a.setState(h.hoverPoints&&g.options.inactiveOtherPoints?"inactive":""),a.firePointEvent("unselect"))})});delete this.selectedStaging};n.prototype.onMouseOver=function(a){var g=this.series.chart,c=g.pointer;a=a?c.normalize(a):c.getChartCoordinatesFromPoint(this,g.inverted);c.runPointActions(a,this)};n.prototype.onMouseOut=
293
- 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};n.prototype.importEvents=function(){if(!this.hasImportedEvents){var a=this,d=w(a.series.options.point,a.options).events;a.events=d;I(d,function(c,g){p(c)&&v(a,g,c)});this.hasImportedEvents=!0}};n.prototype.setState=function(g,d){var c=this.series,h=this.state,k=c.options.states[g||"normal"]||{},n=F.plotOptions[c.type].marker&&
294
- c.options.marker,l=n&&!1===n.enabled,r=n&&n.states&&n.states[g||"normal"]||{},e=!1===r.enabled,D=this.marker||{},y=c.chart,p=n&&c.markerAttribs,m=c.halo,w,A=c.stateMarkerGraphic;g=g||"";if(!(g===this.state&&!d||this.selected&&"select"!==g||!1===k.enabled||g&&(e||l&&!1===r.enabled)||g&&D.states&&D.states[g]&&!1===D.states[g].enabled)){this.state=g;p&&(w=c.markerAttribs(this,g));if(this.graphic&&!this.hasMockGraphic){h&&this.graphic.removeClass("highcharts-point-"+h);g&&this.graphic.addClass("highcharts-point-"+
295
- g);if(!y.styledMode){h=c.pointAttribs(this,g);var I=t(y.options.chart.animation,k.animation);var v=h.opacity;E(v)&&((this.dataLabels||[]).forEach(function(c){c&&!c.hasClass("highcharts-data-label-hidden")&&c.animate({opacity:v},I)}),this.connector&&this.connector.animate({opacity:v},I));this.graphic.animate(h,I)}w&&this.graphic.animate(w,t(y.options.chart.animation,r.animation,n.animation));A&&A.hide()}else{if(g&&r){n=D.symbol||c.symbol;A&&A.currentSymbol!==n&&(A=A.destroy());if(w)if(A)A[d?"animate":
296
- "attr"]({x:w.x,y:w.y});else n&&(c.stateMarkerGraphic=A=y.renderer.symbol(n,w.x,w.y,w.width,w.height).add(c.markerGroup),A.currentSymbol=n);!y.styledMode&&A&&"inactive"!==this.state&&A.attr(c.pointAttribs(this,g))}A&&(A[g&&this.isInside?"show":"hide"](),A.element.point=this,A.addClass(this.getClassName(),!0))}k=k.halo;w=(A=this.graphic||A)&&A.visibility||"inherit";k&&k.size&&A&&"hidden"!==w&&!this.isCluster?(m||(c.halo=m=y.renderer.path().add(A.parentGroup)),m.show()[d?"animate":"attr"]({d:this.haloPath(k.size)}),
297
- m.attr({"class":"highcharts-halo highcharts-color-"+t(this.colorIndex,c.colorIndex)+(this.className?" "+this.className:""),visibility:w,zIndex:-1}),m.point=this,y.styledMode||m.attr(a({fill:this.color||c.color,"fill-opacity":k.opacity},b.filterUserAttributes(k.attributes||{})))):m&&m.point&&m.point.haloPath&&m.animate({d:m.point.haloPath(0)},null,m.hide);f(this,"afterSetState",{state:g})}};n.prototype.haloPath=function(a){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-a,this.plotY-
298
- a,2*a,2*a)};return n}();"";return e});J(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Tooltip.js"],e["Core/Utilities.js"]],function(b,e,u,C){var B=b.parse,q=e.charts,F=e.noop,x=C.addEvent,v=C.attr,m=C.css,l=C.defined,a=C.extend,f=C.find,d=C.fireEvent,k=C.isNumber,p=C.isObject,E=C.objectEach,A=C.offset,w=C.pick,I=C.splat;b=function(){function b(a,d){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.eventsToUnbind=[];this.chart=a;this.hasDragged=!1;this.options=
299
- d;this.init(a,d)}b.prototype.applyInactiveState=function(a){var d=[],h;(a||[]).forEach(function(a){h=a.series;d.push(h);h.linkedParent&&d.push(h.linkedParent);h.linkedSeries&&(d=d.concat(h.linkedSeries));h.navigatorSeries&&d.push(h.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 a=this;this.eventsToUnbind.forEach(function(a){return a()});this.eventsToUnbind=
300
- [];e.chartCount||(b.unbindDocumentMouseUp&&(b.unbindDocumentMouseUp=b.unbindDocumentMouseUp()),b.unbindDocumentTouchEnd&&(b.unbindDocumentTouchEnd=b.unbindDocumentTouchEnd()));clearInterval(a.tooltipTimeout);E(a,function(d,h){a[h]=void 0})};b.prototype.getSelectionMarkerAttrs=function(a,b){var h=this,f={args:{chartX:a,chartY:b},attrs:{},shapeType:"rect"};d(this,"getSelectionMarkerAttrs",f,function(g){var d=h.chart,c=h.mouseDownX;c=void 0===c?0:c;var f=h.mouseDownY;f=void 0===f?0:f;var k=h.zoomHor,
301
- n=h.zoomVert;g=g.attrs;g.x=d.plotLeft;g.y=d.plotTop;g.width=k?1:d.plotWidth;g.height=n?1:d.plotHeight;k&&(d=a-c,g.width=Math.abs(d),g.x=(0<d?0:d)+c);n&&(d=b-f,g.height=Math.abs(d),g.y=(0<d?0:d)+f)});return f};b.prototype.drag=function(a){var d=this.chart,h=d.options.chart,b=d.plotLeft,g=d.plotTop,f=d.plotWidth,c=d.plotHeight,k=this.mouseDownX||0,l=this.mouseDownY||0,e=p(h.panning)?h.panning&&h.panning.enabled:h.panning,t=h.panKey&&a[h.panKey+"Key"],m=a.chartX,w=a.chartY,A=this.selectionMarker;A&&
302
- A.touch||(m<b?m=b:m>b+f&&(m=b+f),w<g?w=g:w>g+c&&(w=g+c),this.hasDragged=Math.sqrt(Math.pow(k-m,2)+Math.pow(l-w,2)),10<this.hasDragged&&(b=d.isInsidePlot(k-b,l-g,{visiblePlotOnly:!0}),w=this.getSelectionMarkerAttrs(m,w),m=w.shapeType,w=w.attrs,!d.hasCartesianSeries&&!d.mapView||!this.zoomX&&!this.zoomY||!b||t||A||(this.selectionMarker=A=d.renderer[m](),A.attr({"class":"highcharts-selection-marker",zIndex:7}).add(),d.styledMode||A.attr({fill:h.selectionMarkerFill||B("#335cad").setOpacity(.25).get()})),
303
- A&&A.attr(w),b&&!A&&e&&d.pan(a,h.panning)))};b.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};b.prototype.getSelectionBox=function(a){var b={args:{marker:a},result:{}};d(this,"getSelectionBox",b,function(d){d.result={x:a.attr?+a.attr("x"):a.x,y:a.attr?+a.attr("y"):a.y,width:a.attr?a.attr("width"):a.width,height:a.attr?a.attr("height"):a.height}});return b.result};b.prototype.drop=function(b){var h=
304
- this,f=this.chart,n=this.hasPinched;if(this.selectionMarker){var g=this.getSelectionBox(this.selectionMarker),e=g.x,c=g.y,t=g.width,G=g.height,p={originalEvent:b,xAxis:[],yAxis:[],x:e,y:c,width:t,height:G},w=!!f.mapView;if(this.hasDragged||n)f.axes.forEach(function(a){if(a.zoomEnabled&&l(a.min)&&(n||h[{xAxis:"zoomX",yAxis:"zoomY"}[a.coll]])&&k(e)&&k(c)&&k(t)&&k(G)){var g=a.horiz,d="touchend"===b.type?a.minPixelPadding:0,f=a.toValue((g?e:c)+d);g=a.toValue((g?e+t:c+G)-d);p[a.coll].push({axis:a,min:Math.min(f,
305
- g),max:Math.max(f,g)});w=!0}}),w&&d(f,"selection",p,function(c){f.zoom(a(c,n?{animation:!1}:null))});k(f.index)&&(this.selectionMarker=this.selectionMarker.destroy());n&&this.scaleGroups()}f&&k(f.index)&&(m(f.container,{cursor:f._cursor}),f.cancelClick=10<this.hasDragged,f.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])};b.prototype.findNearestKDPoint=function(a,d,b){var h;a.forEach(function(a){var g=!(a.noSharedTooltip&&d)&&0>a.options.findNearestPointBy.indexOf("y");a=a.searchPoint(b,
306
- g);if((g=p(a,!0)&&a.series)&&!(g=!p(h,!0))){g=h.distX-a.distX;var c=h.dist-a.dist,f=(a.series.group&&a.series.group.zIndex)-(h.series.group&&h.series.group.zIndex);g=0<(0!==g&&d?g:0!==c?c:0!==f?f:h.series.index>a.series.index?-1:1)}g&&(h=a)});return h};b.prototype.getChartCoordinatesFromPoint=function(a,d){var b=a.series,h=b.xAxis;b=b.yAxis;var g=a.shapeArgs;if(h&&b){var f=w(a.clientX,a.plotX),c=a.plotY||0;a.isNode&&g&&k(g.x)&&k(g.y)&&(f=g.x,c=g.y);return d?{chartX:b.len+b.pos-c,chartY:h.len+h.pos-
307
- f}:{chartX:f+h.pos,chartY:c+b.pos}}if(g&&g.x&&g.y)return{chartX:g.x,chartY:g.y}};b.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var a=this.chart.container,d=A(a);this.chartPosition={left:d.left,top:d.top,scaleX:1,scaleY:1};var b=a.offsetWidth;a=a.offsetHeight;2<b&&2<a&&(this.chartPosition.scaleX=d.width/b,this.chartPosition.scaleY=d.height/a);return this.chartPosition};b.prototype.getCoordinates=function(a){var d={xAxis:[],yAxis:[]};this.chart.axes.forEach(function(b){d[b.isXAxis?
308
- "xAxis":"yAxis"].push({axis:b,value:b.toValue(a[b.horiz?"chartX":"chartY"])})});return d};b.prototype.getHoverData=function(a,b,k,n,g,l){var c=[];n=!(!n||!a);var h=function(a){return a.visible&&!(!g&&a.directTouch)&&w(a.options.enableMouseTracking,!0)},e={chartX:l?l.chartX:void 0,chartY:l?l.chartY:void 0,shared:g};d(this,"beforeGetHoverData",e);var r=b&&!b.stickyTracking?[b]:k.filter(function(a){return a.stickyTracking&&(e.filter||h)(a)});var t=n||!l?a:this.findNearestKDPoint(r,g,l);b=t&&t.series;
309
- t&&(g&&!b.noSharedTooltip?(r=k.filter(function(a){return e.filter?e.filter(a):h(a)&&!a.noSharedTooltip}),r.forEach(function(a){var g=f(a.points,function(a){return a.x===t.x&&!a.isNull});p(g)&&(a.boosted&&a.boost&&(g=a.boost.getPoint(g)),c.push(g))})):c.push(t));e={hoverPoint:t};d(this,"afterGetHoverData",e);return{hoverPoint:e.hoverPoint,hoverSeries:b,hoverPoints:c}};b.prototype.getPointFromEvent=function(a){a=a.target;for(var d;a&&!d;)d=a.point,a=a.parentNode;return d};b.prototype.onTrackerMouseOut=
310
- 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()};b.prototype.inClass=function(a,d){for(var b;a;){if(b=v(a,"class")){if(-1!==b.indexOf(d))return!0;if(-1!==b.indexOf("highcharts-container"))return!1}a=a.parentElement}};b.prototype.init=function(a,d){this.options=d;this.chart=a;this.runChartClick=
311
- !(!d.chart.events||!d.chart.events.click);this.pinchDown=[];this.lastValidTouch={};u&&(a.tooltip=new u(a,d.tooltip));this.setDOMEvents()};b.prototype.normalize=function(d,b){var h=d.touches,f=h?h.length?h.item(0):w(h.changedTouches,d.changedTouches)[0]:d;b||(b=this.getChartPosition());h=f.pageX-b.left;f=f.pageY-b.top;h/=b.scaleX;f/=b.scaleY;return a(d,{chartX:Math.round(h),chartY:Math.round(f)})};b.prototype.onContainerClick=function(b){var h=this.chart,f=h.hoverPoint;b=this.normalize(b);var k=h.plotLeft,
312
- g=h.plotTop;h.cancelClick||(f&&this.inClass(b.target,"highcharts-tracker")?(d(f.series,"click",a(b,{point:f})),h.hoverPoint&&f.firePointEvent("click",b)):(a(b,this.getCoordinates(b)),h.isInsidePlot(b.chartX-k,b.chartY-g,{visiblePlotOnly:!0})&&d(h,"click",b)))};b.prototype.onContainerMouseDown=function(a){var d=1===((a.buttons||a.button)&1);a=this.normalize(a);if(e.isFirefox&&0!==a.button)this.onContainerMouseMove(a);if("undefined"===typeof a.button||d)this.zoomOption(a),d&&a.preventDefault&&a.preventDefault(),
313
- this.dragStart(a)};b.prototype.onContainerMouseLeave=function(a){var d=q[w(b.hoverChartIndex,-1)],h=this.chart.tooltip;a=this.normalize(a);d&&(a.relatedTarget||a.toElement)&&(d.pointer.reset(),d.pointer.chartPosition=void 0);h&&!h.isHidden&&this.reset()};b.prototype.onContainerMouseEnter=function(a){delete this.chartPosition};b.prototype.onContainerMouseMove=function(a){var d=this.chart,b=d.tooltip;a=this.normalize(a);this.setHoverChartIndex();a.preventDefault||(a.returnValue=!1);("mousedown"===d.mouseIsDown||
314
- this.touchSelect(a))&&this.drag(a);d.openMenu||!this.inClass(a.target,"highcharts-tracker")&&!d.isInsidePlot(a.chartX-d.plotLeft,a.chartY-d.plotTop,{visiblePlotOnly:!0})||b&&b.shouldStickOnContact(a)||(this.inClass(a.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(a))};b.prototype.onDocumentTouchEnd=function(a){var d=q[w(b.hoverChartIndex,-1)];d&&d.pointer.drop(a)};b.prototype.onContainerTouchMove=function(a){if(this.touchSelect(a))this.onContainerMouseMove(a);else this.touch(a)};
315
- b.prototype.onContainerTouchStart=function(a){if(this.touchSelect(a))this.onContainerMouseDown(a);else this.zoomOption(a),this.touch(a,!0)};b.prototype.onDocumentMouseMove=function(a){var d=this.chart,b=d.tooltip,h=this.chartPosition;a=this.normalize(a,h);!h||d.isInsidePlot(a.chartX-d.plotLeft,a.chartY-d.plotTop,{visiblePlotOnly:!0})||b&&b.shouldStickOnContact(a)||this.inClass(a.target,"highcharts-tracker")||this.reset()};b.prototype.onDocumentMouseUp=function(a){var d=q[w(b.hoverChartIndex,-1)];
316
- d&&d.pointer.drop(a)};b.prototype.pinch=function(b){var f=this,h=f.chart,k=f.pinchDown,g=b.touches||[],l=g.length,c=f.lastValidTouch,e=f.hasZoom,t={},p=1===l&&(f.inClass(b.target,"highcharts-tracker")&&h.runTrackerClick||f.runChartClick),m={},A=f.chart.tooltip;A=1===l&&w(A&&A.options.followTouchMove,!0);var E=f.selectionMarker;1<l?f.initiated=!0:A&&(f.initiated=!1);e&&f.initiated&&!p&&!1!==b.cancelable&&b.preventDefault();[].map.call(g,function(a){return f.normalize(a)});"touchstart"===b.type?([].forEach.call(g,
317
- function(a,c){k[c]={chartX:a.chartX,chartY:a.chartY}}),c.x=[k[0].chartX,k[1]&&k[1].chartX],c.y=[k[0].chartY,k[1]&&k[1].chartY],h.axes.forEach(function(a){if(a.zoomEnabled){var c=h.bounds[a.horiz?"h":"v"],d=a.minPixelPadding,g=a.toPixels(Math.min(w(a.options.min,a.dataMin),a.dataMin)),b=a.toPixels(Math.max(w(a.options.max,a.dataMax),a.dataMax)),f=Math.max(g,b);c.min=Math.min(a.pos,Math.min(g,b)-d);c.max=Math.max(a.pos+a.len,f+d)}}),f.res=!0):A?this.runPointActions(f.normalize(b)):k.length&&(d(h,"touchpan",
318
- {originalEvent:b},function(){E||(f.selectionMarker=E=a({destroy:F,touch:!0},h.plotBox));f.pinchTranslate(k,g,t,E,m,c);f.hasPinched=e;f.scaleGroups(t,m)}),f.res&&(f.res=!1,this.reset(!1,0)))};b.prototype.pinchTranslate=function(a,d,b,f,g,k){this.zoomHor&&this.pinchTranslateDirection(!0,a,d,b,f,g,k);this.zoomVert&&this.pinchTranslateDirection(!1,a,d,b,f,g,k)};b.prototype.pinchTranslateDirection=function(a,d,b,f,g,k,c,l){var h=this.chart,n=a?"x":"y",e=a?"X":"Y",t="chart"+e,r=a?"width":"height",z=h["plot"+
319
- (a?"Left":"Top")],D=h.inverted,p=h.bounds[a?"h":"v"],m=1===d.length,y=d[0][t],w=!m&&d[1][t];d=function(){"number"===typeof x&&20<Math.abs(y-w)&&(I=l||Math.abs(v-x)/Math.abs(y-w));E=(z-v)/I+y;A=h["plot"+(a?"Width":"Height")]/I};var A,E,I=l||1,v=b[0][t],x=!m&&b[1][t];d();b=E;if(b<p.min){b=p.min;var q=!0}else b+A>p.max&&(b=p.max-A,q=!0);q?(v-=.8*(v-c[n][0]),"number"===typeof x&&(x-=.8*(x-c[n][1])),d()):c[n]=[v,x];D||(k[n]=E-z,k[r]=A);k=D?1/I:I;g[r]=A;g[n]=b;f[D?a?"scaleY":"scaleX":"scale"+e]=I;f["translate"+
320
- e]=k*z+(v-k*y)};b.prototype.reset=function(a,d){var b=this.chart,f=b.hoverSeries,g=b.hoverPoint,h=b.hoverPoints,c=b.tooltip,k=c&&c.shared?h:g;a&&k&&I(k).forEach(function(c){c.series.isCartesian&&"undefined"===typeof c.plotX&&(a=!1)});if(a)c&&k&&I(k).length&&(c.refresh(k),c.shared&&h?h.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,
321
- !0),b.axes.forEach(function(a){a.crosshair&&g.series[a.coll]===a&&a.drawCrosshair(null,g)})));else{if(g)g.onMouseOut();h&&h.forEach(function(a){a.setState()});if(f)f.onMouseOut();c&&c.hide(d);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());b.axes.forEach(function(a){a.hideCrosshair()});this.hoverX=b.hoverPoints=b.hoverPoint=null}};b.prototype.runPointActions=function(a,d){var h=this.chart,k=h.tooltip&&h.tooltip.options.enabled?h.tooltip:void 0,g=k?k.shared:!1,l=d||h.hoverPoint,c=
322
- l&&l.series||h.hoverSeries;d=this.getHoverData(l,c,h.series,(!a||"touchmove"!==a.type)&&(!!d||c&&c.directTouch&&this.isDirectTouch),g,a);l=d.hoverPoint;c=d.hoverSeries;var e=d.hoverPoints;d=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;var t=g&&c&&!c.noSharedTooltip;if(l&&(l!==h.hoverPoint||k&&k.isHidden)){(h.hoverPoints||[]).forEach(function(a){-1===e.indexOf(a)&&a.setState()});if(h.hoverSeries!==c)c.onMouseOver();this.applyInactiveState(e);(e||[]).forEach(function(a){a.setState("hover")});
323
- h.hoverPoint&&h.hoverPoint.firePointEvent("mouseOut");if(!l.series)return;h.hoverPoints=e;h.hoverPoint=l;l.firePointEvent("mouseOver",void 0,function(){k&&l&&k.refresh(t?e:l,a)})}else d&&k&&!k.isHidden&&(g=k.getAnchor([{}],a),h.isInsidePlot(g[0],g[1],{visiblePlotOnly:!0})&&k.updatePosition({plotX:g[0],plotY:g[1]}));this.unDocMouseMove||(this.unDocMouseMove=x(h.container.ownerDocument,"mousemove",function(a){var c=q[b.hoverChartIndex];if(c)c.pointer.onDocumentMouseMove(a)}),this.eventsToUnbind.push(this.unDocMouseMove));
324
- h.axes.forEach(function(c){var d=w((c.crosshair||{}).snap,!0),g;d&&((g=h.hoverPoint)&&g.series[c.coll]===c||(g=f(e,function(a){return a.series&&a.series[c.coll]===c})));g||!d?c.drawCrosshair(a,g):c.hideCrosshair()})};b.prototype.scaleGroups=function(a,d){var b=this.chart;b.series.forEach(function(f){var g=a||f.getPlotBox();f.group&&(f.xAxis&&f.xAxis.zoomEnabled||b.mapView)&&(f.group.attr(g),f.markerGroup&&(f.markerGroup.attr(g),f.markerGroup.clip(d?b.clipRect:null)),f.dataLabelsGroup&&f.dataLabelsGroup.attr(g))});
325
- b.clipRect.attr(d||b.clipBox)};b.prototype.setDOMEvents=function(){var a=this,d=this.chart.container,f=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(f,"mouseup",this.onDocumentMouseUp.bind(this)));
326
- for(var k=this.chart.renderTo.parentElement;k&&"BODY"!==k.tagName;)this.eventsToUnbind.push(x(k,"scroll",function(){delete a.chartPosition})),k=k.parentElement;e.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(f,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};b.prototype.setHoverChartIndex=
327
- function(){var a=this.chart,d=e.charts[w(b.hoverChartIndex,-1)];if(d&&d!==a)d.pointer.onContainerMouseLeave({relatedTarget:a.container});d&&d.mouseIsDown||(b.hoverChartIndex=a.index)};b.prototype.touch=function(a,d){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){d&&this.runPointActions(a);if("touchmove"===a.type){d=this.pinchDown;var g=d[0]?4<=Math.sqrt(Math.pow(d[0].chartX-
328
- a.chartX,2)+Math.pow(d[0].chartY-a.chartY,2)):!1}w(g,!0)&&this.pinch(a)}else d&&this.reset();else 2===a.touches.length&&this.pinch(a)};b.prototype.touchSelect=function(a){return!(!this.chart.options.chart.zooming.singleTouch||!a.touches||1!==a.touches.length)};b.prototype.zoomOption=function(a){var d=this.chart,b=d.options.chart;d=d.inverted;var f=b.zooming.type||"";/touch/.test(a.type)&&(f=w(b.zooming.pinchType,f));this.zoomX=a=/x/.test(f);this.zoomY=b=/y/.test(f);this.zoomHor=a&&!d||b&&d;this.zoomVert=
329
- b&&!d||a&&d;this.hasZoom=a||b};return b}();"";return b});J(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(b,e,u){function C(){var a=[];a.item=function(a){return this[a]};f(p,function(d){a.push({pageX:d.pageX,pageY:d.pageY,target:d.target})});return a}function B(a,d,b,f){var h=F[e.hoverChartIndex||NaN];"touch"!==a.pointerType&&a.pointerType!==a.MSPOINTER_TYPE_TOUCH||!h||(h=h.pointer,f(a),h[d]({type:b,target:a.currentTarget,preventDefault:v,touches:C()}))}
330
- var q=this&&this.__extends||function(){var a=function(d,b){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,b)};return function(d,b){function f(){this.constructor=d}a(d,b);d.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),F=b.charts,x=b.doc,v=b.noop,m=b.win,l=u.addEvent,a=u.css,f=u.objectEach,d=u.pick,k=u.removeEvent,p={},E=!!m.PointerEvent;return function(f){function e(){return null!==
331
- f&&f.apply(this,arguments)||this}q(e,f);e.isRequired=function(){return!(b.hasTouch||!m.PointerEvent&&!m.MSPointerEvent)};e.prototype.batchMSEvents=function(a){a(this.chart.container,E?"pointerdown":"MSPointerDown",this.onContainerPointerDown);a(this.chart.container,E?"pointermove":"MSPointerMove",this.onContainerPointerMove);a(x,E?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};e.prototype.destroy=function(){this.batchMSEvents(k);f.prototype.destroy.call(this)};e.prototype.init=function(d,b){f.prototype.init.call(this,
332
- d,b);this.hasZoom&&a(d.container,{"-ms-touch-action":"none","touch-action":"none"})};e.prototype.onContainerPointerDown=function(a){B(a,"onContainerTouchStart","touchstart",function(a){p[a.pointerId]={pageX:a.pageX,pageY:a.pageY,target:a.currentTarget}})};e.prototype.onContainerPointerMove=function(a){B(a,"onContainerTouchMove","touchmove",function(a){p[a.pointerId]={pageX:a.pageX,pageY:a.pageY};p[a.pointerId].target||(p[a.pointerId].target=a.currentTarget)})};e.prototype.onDocumentPointerUp=function(a){B(a,
333
- "onDocumentTouchEnd","touchend",function(a){delete p[a.pointerId]})};e.prototype.setDOMEvents=function(){var a=this.chart.tooltip;f.prototype.setDOMEvents.call(this);(this.hasZoom||d(a&&a.options.followTouchMove,!0))&&this.batchMSEvents(l)};return e}(e)});J(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q){var F=b.animObject,
334
- x=b.setAnimation,v=e.format,m=u.marginNames,l=B.distribute,a=q.addEvent,f=q.createElement,d=q.css,k=q.defined,p=q.discardElement,E=q.find,A=q.fireEvent,w=q.isNumber,I=q.merge,t=q.pick,h=q.relativeLength,y=q.stableSort,r=q.syncTimeout;b=function(){function b(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=
335
- this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options=void 0;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)}b.prototype.init=function(d,b){this.chart=d;this.setOptions(b);b.enabled&&(this.render(),a(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=a(this.chart,"render",function(){this.legend.proximatePositions();
336
- this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};b.prototype.setOptions=function(a){var d=t(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=d;this.initialItemY=d-5;this.symbolWidth=t(a.symbolWidth,16);this.pages=[];this.proximate="proximate"===a.layout&&!this.chart.inverted;this.baseline=void 0};
337
- b.prototype.update=function(a,d){var c=this.chart;this.setOptions(I(!0,this.options,a));this.destroy();c.isDirtyLegend=c.isDirtyBox=!0;t(d,!0)&&c.redraw();A(this,"afterUpdate")};b.prototype.colorizeItem=function(a,d){var c=a.legendItem||{},b=c.group,g=c.label,f=c.line;c=c.symbol;if(b)b[d?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var h=this.options;b=this.itemHiddenStyle.color;h=d?h.itemStyle.color:b;var k=d?a.color||b:b,l=a.options&&a.options.marker,n={fill:k};
338
- g&&g.css({fill:h,color:h});f&&f.attr({stroke:k});c&&(l&&c.isMarker&&(n=a.pointAttribs(),d||(n.stroke=n.fill=b)),c.attr(n))}A(this,"afterColorizeItem",{item:a,visible:d})};b.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};b.prototype.positionItem=function(a){var d=this,c=a.legendItem||{},b=c.group,g=c.x;g=void 0===g?0:g;c=c.y;c=void 0===c?0:c;var f=this.options,h=f.symbolPadding,l=!f.rtl;f=a.checkbox;b&&b.element&&(h=
339
- {translateX:l?g:this.legendWidth-g-2*h-4,translateY:c},b[k(b.translateY)?"animate":"attr"](h,void 0,function(){A(d,"afterPositionItem",{item:a})}));f&&(f.x=g,f.y=c)};b.prototype.destroyItem=function(a){for(var d=a.checkbox,c=a.legendItem||{},b=0,g=["group","label","line","symbol"];b<g.length;b++){var f=g[b];c[f]&&(c[f]=c[f].destroy())}d&&p(d);a.legendItem=void 0};b.prototype.destroy=function(){for(var a=0,d=this.getAllItems();a<d.length;a++)this.destroyItem(d[a]);a=0;for(d="clipRect up down pager nav box title group".split(" ");a<
340
- d.length;a++){var c=d[a];this[c]&&(this[c]=this[c].destroy())}this.display=null};b.prototype.positionCheckboxes=function(){var a=this.group&&this.group.alignAttr,b=this.clipHeight||this.legendHeight,c=this.titleHeight;if(a){var f=a.translateY;this.allItems.forEach(function(g){var h=g.checkbox;if(h){var k=f+c+h.y+(this.scrollOffset||0)+3;d(h,{left:a.translateX+g.checkboxOffset+h.x-20+"px",top:k+"px",display:this.proximate||k>f-6&&k<f+b-6?"":"none"})}},this)}};b.prototype.renderTitle=function(){var a=
341
- this.options,d=this.padding,c=a.title,b=0;c.text&&(this.title||(this.title=this.chart.renderer.label(c.text,d-3,d-4,void 0,void 0,void 0,a.useHTML,void 0,"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(),b=a.height,this.offsetWidth=a.width,this.contentGroup.attr({translateY:b}));this.titleHeight=b};b.prototype.setText=function(a){var d=this.options;a.legendItem.label.attr({text:d.labelFormat?
342
- v(d.labelFormat,a,this.chart):d.labelFormatter.call(a)})};b.prototype.renderItem=function(a){var d=a.legendItem=a.legendItem||{},c=this.chart,b=c.renderer,g=this.options,f=this.symbolWidth,h=g.symbolPadding||0,k=this.itemStyle,l=this.itemHiddenStyle,n="horizontal"===g.layout?t(g.itemDistance,20):0,e=!g.rtl,p=!a.series,r=!p&&a.series.drawLegendSymbol?a.series:a,m=r.options,w=this.createCheckboxForItem&&m&&m.showCheckbox,A=g.useHTML,y=a.options.className,E=d.label;m=f+h+n+(w?20:0);E||(d.group=b.g("legend-item").addClass("highcharts-"+
343
- r.type+"-series highcharts-color-"+a.colorIndex+(y?" "+y:"")+(p?" highcharts-series-"+a.index:"")).attr({zIndex:1}).add(this.scrollGroup),d.label=E=b.text("",e?f+h:-h,this.baseline||0,A),c.styledMode||E.css(I(a.visible?k:l)),E.attr({align:e?"left":"right",zIndex:2}).add(d.group),this.baseline||(this.fontMetrics=b.fontMetrics(c.styledMode?12:k.fontSize,E),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,E.attr("y",this.baseline),this.symbolHeight=g.symbolHeight||this.fontMetrics.f,g.squareSymbol&&
344
- (this.symbolWidth=t(g.symbolWidth,Math.max(this.symbolHeight,16)),m=this.symbolWidth+h+n+(w?20:0),e&&E.attr("x",this.symbolWidth+h))),r.drawLegendSymbol(this,a),this.setItemEvents&&this.setItemEvents(a,E,A));w&&!a.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(a);this.colorizeItem(a,a.visible);!c.styledMode&&k.width||E.css({width:(g.itemWidth||this.widthOption||c.spacingBox.width)-m+"px"});this.setText(a);c=E.getBBox();b=this.fontMetrics&&this.fontMetrics.h||0;a.itemWidth=a.checkboxOffset=
345
- g.itemWidth||d.labelWidth||c.width+m;this.maxItemWidth=Math.max(this.maxItemWidth,a.itemWidth);this.totalItemWidth+=a.itemWidth;this.itemHeight=a.itemHeight=Math.round(d.labelHeight||(c.height>1.5*b?c.height:b))};b.prototype.layoutItem=function(a){var d=this.options,c=this.padding,b="horizontal"===d.layout,g=a.itemHeight,f=this.itemMarginBottom,h=this.itemMarginTop,k=b?t(d.itemDistance,20):0,l=this.maxLegendWidth;d=d.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:a.itemWidth;var n=a.legendItem||
346
- {};b&&this.itemX-c+d>l&&(this.itemX=c,this.lastLineHeight&&(this.itemY+=h+this.lastLineHeight+f),this.lastLineHeight=0);this.lastItemY=h+this.itemY+f;this.lastLineHeight=Math.max(g,this.lastLineHeight);n.x=this.itemX;n.y=this.itemY;b?this.itemX+=d:(this.itemY+=h+g+f,this.lastLineHeight=g);this.offsetWidth=this.widthOption||Math.max((b?this.itemX-c-(a.checkbox?0:k):d)+c,this.offsetWidth)};b.prototype.getAllItems=function(){var a=[];this.chart.series.forEach(function(d){var c=d&&d.options;d&&t(c.showInLegend,
347
- k(c.linkedTo)?!1:void 0,!0)&&(a=a.concat((d.legendItem||{}).labels||("point"===c.legendType?d.data:d)))});A(this,"afterGetAllItems",{allItems:a});return a};b.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)};b.prototype.adjustMargins=function(a,d){var c=this.chart,b=this.options,g=this.getAlignment();g&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(f,
348
- h){f.test(g)&&!k(a[h])&&(c[m[h]]=Math.max(c[m[h]],c.legend[(h+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][h]*b[h%2?"x":"y"]+t(b.margin,12)+d[h]+(c.titleOffset[h]||0)))})};b.prototype.proximatePositions=function(){var a=this.chart,d=[],c="left"===this.options.align;this.allItems.forEach(function(b){var g;var f=c;if(b.yAxis){b.xAxis.options.reversed&&(f=!f);b.points&&(g=E(f?b.points:b.points.slice(0).reverse(),function(a){return w(a.plotY)}));f=this.itemMarginTop+b.legendItem.label.getBBox().height+
349
- this.itemMarginBottom;var h=b.yAxis.top-a.plotTop;b.visible?(g=g?g.plotY:b.yAxis.height,g+=h-.3*f):g=h+b.yAxis.height;d.push({target:g,size:f,item:b})}},this);for(var b,f=0,h=l(d,a.plotHeight);f<h.length;f++){var k=h[f];b=k.item.legendItem||{};k.pos&&(b.y=a.plotTop-a.spacing[0]+k.pos)}};b.prototype.render=function(){var a=this.chart,d=a.renderer,c=this.options,b=this.padding,f=this.getAllItems(),k=this.group,l=this.box;this.itemX=b;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=
350
- h(c.width,a.spacingBox.width-b);var n=a.spacingBox.width-2*b-c.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(n/=2);this.maxLegendWidth=this.widthOption||n;k||(this.group=k=d.g("legend").addClass(c.className||"").attr({zIndex:7}).add(),this.contentGroup=d.g().attr({zIndex:1}).add(k),this.scrollGroup=d.g().add(this.contentGroup));this.renderTitle();y(f,function(a,c){return(a.options&&a.options.legendIndex||0)-(c.options&&c.options.legendIndex||0)});c.reversed&&f.reverse();this.allItems=
351
- f;this.display=n=!!f.length;this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;f.forEach(this.renderItem,this);f.forEach(this.layoutItem,this);f=(this.widthOption||this.offsetWidth)+b;var e=this.lastItemY+this.lastLineHeight+this.titleHeight;e=this.handleOverflow(e);e+=b;l||(this.box=l=d.rect().addClass("highcharts-legend-box").attr({r:c.borderRadius}).add(k));a.styledMode||l.attr({stroke:c.borderColor,"stroke-width":c.borderWidth||0,fill:c.backgroundColor||"none"}).shadow(c.shadow);
352
- if(0<f&&0<e)l[l.placed?"animate":"attr"](l.crisp.call({},{x:0,y:0,width:f,height:e},l.strokeWidth()));k[n?"show":"hide"]();a.styledMode&&"none"===k.getStyle("display")&&(f=e=0);this.legendWidth=f;this.legendHeight=e;n&&this.align();this.proximate||this.positionItems();A(this,"afterRender")};b.prototype.align=function(a){void 0===a&&(a=this.chart.spacingBox);var d=this.chart,c=this.options,b=a.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<d.titleOffset[0]?b+=d.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&
353
- 0<d.titleOffset[2]&&(b-=d.titleOffset[2]);b!==a.y&&(a=I(a,{y:b}));d.hasRendered||(this.group.placed=!1);this.group.align(I(c,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":c.verticalAlign}),!0,a)};b.prototype.handleOverflow=function(a){var d=this,c=this.chart,b=c.renderer,g=this.options,f=g.y,h="top"===g.verticalAlign,k=this.padding,l=g.maxHeight,n=g.navigation,e=t(n.animation,!0),p=n.arrowSize||12,r=this.pages,m=this.allItems,w=function(a){"number"===typeof a?
354
- x.attr({height:a}):x&&(d.clipRect=x.destroy(),d.contentGroup.clip());d.contentGroup.div&&(d.contentGroup.div.style.clip=a?"rect("+k+"px,9999px,"+(k+a)+"px,0)":"auto")},A=function(a){d[a]=b.circle(0,0,1.3*p).translate(p/2,p/2).add(I);c.styledMode||d[a].attr("fill","rgba(0,0,0,0.0001)");return d[a]},y,E,v;f=c.spacingBox.height+(h?-f:f)-k;var I=this.nav,x=this.clipRect;"horizontal"!==g.layout||"middle"===g.verticalAlign||g.floating||(f/=2);l&&(f=Math.min(f,l));r.length=0;a&&0<f&&a>f&&!1!==n.enabled?
355
- (this.clipHeight=y=Math.max(f-20-this.titleHeight-k,0),this.currentPage=t(this.currentPage,1),this.fullHeight=a,m.forEach(function(a,c){v=a.legendItem||{};a=v.y||0;var d=Math.round(v.label.getBBox().height),b=r.length;if(!b||a-r[b-1]>y&&(E||a)!==r[b-1])r.push(E||a),b++;v.pageIx=b-1;E&&((m[c-1].legendItem||{}).pageIx=b-1);c===m.length-1&&a+d-r[b-1]>y&&d<=y&&(r.push(a),v.pageIx=b);a!==E&&(E=a)}),x||(x=d.clipRect=b.clipRect(0,k,9999,0),d.contentGroup.clip(x)),w(y),I||(this.nav=I=b.g().attr({zIndex:1}).add(this.group),
356
- this.up=b.symbol("triangle",0,0,p,p).add(I),A("upTracker").on("click",function(){d.scroll(-1,e)}),this.pager=b.text("",15,10).addClass("highcharts-legend-navigation"),!c.styledMode&&n.style&&this.pager.css(n.style),this.pager.add(I),this.down=b.symbol("triangle-down",0,0,p,p).add(I),A("downTracker").on("click",function(){d.scroll(1,e)})),d.scroll(0),a=f):I&&(w(),this.nav=I.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a};b.prototype.scroll=function(a,d){var c=this,b=this.chart,
357
- g=this.pages,f=g.length,h=this.clipHeight,k=this.options.navigation,l=this.pager,n=this.padding,e=this.currentPage+a;e>f&&(e=f);0<e&&("undefined"!==typeof d&&x(d,b),this.nav.attr({translateX:n,translateY:h+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(a){a.attr({"class":1===e?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),l.attr({text:e+"/"+f}),[this.down,this.downTracker].forEach(function(a){a.attr({x:18+this.pager.getBBox().width,
358
- "class":e===f?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),b.styledMode||(this.up.attr({fill:1===e?k.inactiveColor:k.activeColor}),this.upTracker.css({cursor:1===e?"default":"pointer"}),this.down.attr({fill:e===f?k.inactiveColor:k.activeColor}),this.downTracker.css({cursor:e===f?"default":"pointer"})),this.scrollOffset=-g[e-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=e,this.positionCheckboxes(),a=F(t(d,b.renderer.globalAnimation,
359
- !0)),r(function(){A(c,"afterScroll",{currentPage:e})},a.duration))};b.prototype.setItemEvents=function(a,d,c){var b=this,g=a.legendItem||{},f=b.chart.renderer.boxWrapper,h=a instanceof C,k="highcharts-legend-"+(h?"point":"series")+"-active",l=b.chart.styledMode,n=function(c){b.allItems.forEach(function(d){a!==d&&[d].concat(d.linkedSeries||[]).forEach(function(a){a.setState(c,!h)})})},e=0;for(c=c?[d,g.symbol]:[g.group];e<c.length;e++)if(g=c[e])g.on("mouseover",function(){a.visible&&n("inactive");a.setState("hover");
360
- a.visible&&f.addClass(k);l||d.css(b.options.itemHoverStyle)}).on("mouseout",function(){b.chart.styledMode||d.css(I(a.visible?b.itemStyle:b.itemHiddenStyle));n("");f.removeClass(k);a.setState()}).on("click",function(c){var d=function(){a.setVisible&&a.setVisible();n(a.visible?"inactive":"")};f.removeClass(k);c={browserEvent:c};a.firePointEvent?a.firePointEvent("legendItemClick",c,d):A(a,"legendItemClick",c,d)})};b.prototype.createCheckboxForItem=function(d){d.checkbox=f("input",{type:"checkbox",className:"highcharts-legend-checkbox",
361
- checked:d.selected,defaultChecked:d.selected},this.options.itemCheckboxStyle,this.chart.container);a(d.checkbox,"click",function(a){A(d.series||d,"checkboxClick",{checked:a.target.checked,item:d},function(){d.select()})})};return b}();"";return b});J(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(b,e,u,C){var B=e.defaultOptions,q=C.extendClass,F=C.merge,x;(function(e){function m(b,a){var f=B.plotOptions||{},
362
- d=a.defaultOptions,k=a.prototype;k.type=b;k.pointClass||(k.pointClass=u);d&&(f[b]=d);e.seriesTypes[b]=a}e.seriesTypes=b.seriesTypes;e.registerSeriesType=m;e.seriesType=function(b,a,f,d,k){var l=B.plotOptions||{};a=a||"";l[b]=F(l[a],f);m(b,q(e.seriesTypes[a]||function(){},d));e.seriesTypes[b].prototype.type=b;k&&(e.seriesTypes[b].prototype.pointClass=q(u,k));return e.seriesTypes[b]}})(x||(x={}));return x});J(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],
363
- e["Core/Defaults.js"],e["Core/FormatUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/Legend.js"],e["Core/MSPointer.js"],e["Core/Pointer.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"]],function(b,e,u,C,B,q,F,x,v,m,l,a,f,d,k){var p=b.animate,E=b.animObject,A=b.setAnimation,w=u.defaultOptions,I=u.defaultTime,t=C.numberFormat,h=B.registerEventOptions,
364
- y=q.charts,r=q.doc,n=q.marginNames,g=q.svg,D=q.win,c=l.seriesTypes,z=d.addEvent,G=d.attr,H=d.cleanRecursively,O=d.createElement,K=d.css,T=d.defined,Y=d.discardElement,Q=d.erase,L=d.error,ba=d.extend,J=d.find,M=d.fireEvent,aa=d.getStyle,X=d.isArray,R=d.isNumber,U=d.isObject,W=d.isString,V=d.merge,S=d.objectEach,N=d.pick,ca=d.pInt,ea=d.relativeLength,fa=d.removeEvent,da=d.splat,ha=d.syncTimeout,ia=d.uniqueKey;b=function(){function b(a,c,d){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=
365
- 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.eventOptions=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.chart=function(a,c,
366
- d){return new b(a,c,d)};b.prototype.getArgs=function(a,c,d){W(a)||a.nodeName?(this.renderTo=a,this.init(c,d)):this.init(a,c)};b.prototype.init=function(a,c){var d=a.plotOptions||{};M(this,"init",{args:arguments},function(){var b=V(w,a),g=b.chart;S(b.plotOptions,function(a,c){U(a)&&(a.tooltip=d[c]&&V(d[c].tooltip)||void 0)});b.tooltip.userOptions=a.chart&&a.chart.forExport&&a.tooltip.userOptions||a.tooltip;this.userOptions=a;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=
367
- [];this.callback=c;this.isResizing=0;var k=g.zooming=g.zooming||{};a.chart&&!a.chart.zooming&&(k.resetButton=g.resetZoomButton);k.key=N(k.key,g.zoomKey);k.pinchType=N(k.pinchType,g.pinchType);k.singleTouch=N(k.singleTouch,g.zoomBySingleTouch);k.type=N(k.type,g.zoomType);this.options=b;this.axes=[];this.series=[];this.time=a.time&&Object.keys(a.time).length?new f(a.time):q.time;this.numberFormatter=g.numberFormatter||t;this.styledMode=g.styledMode;this.hasCartesianSeries=g.showAxes;this.index=y.length;
368
- y.push(this);q.chartCount++;h(this,g);this.xAxis=[];this.yAxis=[];this.pointCount=this.colorCounter=this.symbolCounter=0;M(this,"afterInit");this.firstRender()})};b.prototype.initSeries=function(a){var d=this.options.chart;d=a.type||d.type||d.defaultSeriesType;var b=c[d];b||L(17,!0,this,{missingModuleFor:d});d=new b;"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,
369
- !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;a=a||0;for(var d=c.length;a<d;++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 b=this.inverted,g=this.plotBox,f=this.plotLeft,h=this.plotTop,k=this.scrollablePlotBox,l=0;var e=0;d.visiblePlotOnly&&
370
- this.scrollingContainer&&(e=this.scrollingContainer,l=e.scrollLeft,e=e.scrollTop);var n=d.series;g=d.visiblePlotOnly&&k||g;k=d.inverted?c:a;c=d.inverted?a:c;a={x:k,y:c,isInsidePlot:!0,options:d};if(!d.ignoreX){var t=n&&(b&&!this.polar?n.yAxis:n.xAxis)||{pos:f,len:Infinity};k=d.paneCoordinates?t.pos+k:f+k;k>=Math.max(l+f,t.pos)&&k<=Math.min(l+f+g.width,t.pos+t.len)||(a.isInsidePlot=!1)}!d.ignoreY&&a.isInsidePlot&&(b=d.axis&&!d.axis.isXAxis&&d.axis||n&&(b?n.xAxis:n.yAxis)||{pos:h,len:Infinity},d=d.paneCoordinates?
371
- b.pos+c:h+c,d>=Math.max(e+h,b.pos)&&d<=Math.min(e+h+g.height,b.pos+b.len)||(a.isInsidePlot=!1));M(this,"afterIsInsidePlot",a);return a.isInsidePlot};b.prototype.redraw=function(a){M(this,"beforeRedraw");var c=this.hasCartesianSeries?this.axes:this.colorAxis||[],d=this.series,b=this.pointer,g=this.legend,f=this.userOptions.legend,h=this.renderer,k=h.isHidden(),l=[],e=this.isDirtyBox,n=this.isDirtyLegend;this.setResponsive&&this.setResponsive(!1);A(this.hasRendered?a:!1,this);k&&this.temporaryDisplay();
372
- this.layOutTitles();for(a=d.length;a--;){var t=d[a];if(t.options.stacking||t.options.centerInCategory){var p=!0;if(t.isDirty){var r=!0;break}}}if(r)for(a=d.length;a--;)t=d[a],t.options.stacking&&(t.isDirty=!0);d.forEach(function(a){a.isDirty&&("point"===a.options.legendType?("function"===typeof a.updateTotals&&a.updateTotals(),n=!0):f&&(f.labelFormatter||f.labelFormat)&&(n=!0));a.isDirtyData&&M(a,"updatedData")});n&&g&&g.options.enabled&&(g.render(),this.isDirtyLegend=!1);p&&this.getStacks();c.forEach(function(a){a.updateNames();
373
- a.setScale()});this.getMargins();c.forEach(function(a){a.isDirty&&(e=!0)});c.forEach(function(a){var c=a.min+","+a.max;a.extKey!==c&&(a.extKey=c,l.push(function(){M(a,"afterSetExtremes",ba(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(e||p)&&a.redraw()});e&&this.drawChartBox();M(this,"predraw");d.forEach(function(a){(e||a.isDirty)&&a.visible&&a.redraw();a.isDirtyData=!1});b&&b.reset(!0);h.draw();M(this,"redraw");M(this,"render");k&&this.temporaryDisplay(!0);l.forEach(function(a){a.call()})};
374
- b.prototype.get=function(a){function c(c){return c.id===a||c.options&&c.options.id===a}for(var d=this.series,b=J(this.axes,c)||J(this.series,c),g=0;!b&&g<d.length;g++)b=J(d[g].points||[],c);return b};b.prototype.getAxes=function(){var a=this,c=this.options,d=c.xAxis=da(c.xAxis||{});c=c.yAxis=da(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 e(a,c)});M(this,"afterGetAxes")};b.prototype.getSelectedPoints=
375
- function(){return this.series.reduce(function(a,c){c.getPointsCollection().forEach(function(c){N(c.selectedStaging,c.selected)&&a.push(c)});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,b="title"===a?{color:"#333333",
376
- fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};b=this.options[a]=V(!this.styledMode&&{style:b},this.options[a],c);var g=this[a];g&&c&&(this[a]=g=g.destroy());b&&!g&&(g=this.renderer.text(b.text,0,0,b.useHTML).attr({align:b.align,"class":"highcharts-"+a,zIndex:b.zIndex||4}).add(),g.update=function(c){d[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[a]](c)},this.styledMode||g.css(b.style),this[a]=g)};b.prototype.layOutTitles=function(a){var c=[0,0,0],d=this.renderer,
377
- b=this.spacingBox;["title","subtitle","caption"].forEach(function(a){var g=this[a],f=this.options[a],h=f.verticalAlign||"top";a="title"===a?"top"===h?-3:0:"top"===h?c[0]+2:0;var k;if(g){this.styledMode||(k=f.style&&f.style.fontSize);k=d.fontMetrics(k,g).b;g.css({width:(f.width||b.width+(f.widthAdjust||0))+"px"});var l=Math.round(g.getBBox(f.useHTML).height);g.align(ba({y:"bottom"===h?k:a+k,height:l},f),!1,"spacingBox");f.floating||("top"===h?c[0]=Math.ceil(c[0]+l):"bottom"===h&&(c[2]=Math.ceil(c[2]+
378
- l)))}},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;M(this,"afterLayOutTitles");!this.isDirtyBox&&g&&(this.isDirtyBox=this.isDirtyLegend=g,this.hasRendered&&N(a,!0)&&this.isDirtyBox&&this.redraw())};b.prototype.getChartSize=function(){var a=this.options.chart,c=a.width;a=a.height;
379
- var d=this.renderTo;T(c)||(this.containerWidth=aa(d,"width"));T(a)||(this.containerHeight=aa(d,"height"));this.chartWidth=Math.max(0,c||this.containerWidth||600);this.chartHeight=Math.max(0,ea(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&&(K(c,c.hcOrigStyle),delete c.hcOrigStyle),c.hcOrigDetached&&(r.body.removeChild(c),c.hcOrigDetached=!1),c=c.parentNode;else for(;c&&c.style;){r.body.contains(c)||
380
- c.parentNode||(c.hcOrigDetached=!0,r.body.appendChild(c));if("none"===aa(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),K(c,a),c.offsetWidth||c.style.setProperty("display","block","important");c=c.parentNode;if(c===r.body)break}};b.prototype.setClassName=function(a){this.container.className="highcharts-container "+(a||"")};b.prototype.getContainer=function(){var c=
381
- this.options,d=c.chart,b=ia(),f,h=this.renderTo;h||(this.renderTo=h=d.renderTo);W(h)&&(this.renderTo=h=r.getElementById(h));h||L(13,!0,this);var l=ca(G(h,"data-highcharts-chart"));R(l)&&y[l]&&y[l].hasRendered&&y[l].destroy();G(h,"data-highcharts-chart",this.index);h.innerHTML=k.emptyHTML;d.skipClone||h.offsetWidth||this.temporaryDisplay();this.getChartSize();l=this.chartWidth;var e=this.chartHeight;K(h,{overflow:"hidden"});this.styledMode||(f=ba({position:"relative",overflow:"hidden",width:l+"px",
382
- height:e+"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=O("div",{id:b},f,h);this._cursor=b.style.cursor;this.renderer=new (d.renderer||!g?m.getRendererType(d.renderer):a)(b,l,e,void 0,d.forExport,c.exporting&&c.exporting.allowHTML,this.styledMode);A(void 0,this);this.setClassName(d.className);if(this.styledMode)for(var n in c.defs)this.renderer.definition(c.defs[n]);
383
- else this.renderer.setStyle(d.style);this.renderer.chartIndex=this.index;M(this,"afterGetContainer")};b.prototype.getMargins=function(a){var c=this.spacing,d=this.margin,b=this.titleOffset;this.resetMargins();b[0]&&!T(d[0])&&(this.plotTop=Math.max(this.plotTop,b[0]+c[0]));b[2]&&!T(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()};b.prototype.getAxisMargins=function(){var a=
384
- this,c=a.axisOffset=[0,0,0,0],d=a.colorAxis,b=a.margin,g=function(a){a.forEach(function(a){a.visible&&a.getOffset()})};a.hasCartesianSeries?g(a.axes):d&&d.length&&g(d);n.forEach(function(d,g){T(b[g])||(a[d]+=c[g])});a.setChartSize()};b.prototype.reflow=function(a){var c=this,b=c.options.chart,g=c.renderTo,f=T(b.width)&&T(b.height),h=b.width||aa(g,"width");b=b.height||aa(g,"height");g=a?a.target:D;delete c.pointer.chartPosition;if(!f&&!c.isPrinting&&h&&b&&(g===D||g===r)){if(h!==c.containerWidth||b!==
385
- c.containerHeight)d.clearTimeout(c.reflowTimeout),c.reflowTimeout=ha(function(){c.container&&c.setSize(void 0,void 0,!1)},a?100:0);c.containerWidth=h;c.containerHeight=b}};b.prototype.setReflow=function(a){var c=this;!1===a||this.unbindReflow?!1===a&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=z(D,"resize",function(a){c.options&&c.reflow(a)}),z(this,"destroy",this.unbindReflow))};b.prototype.setSize=function(a,c,d){var b=this,g=b.renderer;b.isResizing+=1;A(d,b);d=
386
- g.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?p:K)(b.container,{width:b.chartWidth+"px",height:b.chartHeight+"px"},d);b.setChartSize(!0);g.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,
387
- "resize");ha(function(){b&&M(b,"endResize",null,function(){--b.isResizing})},E(d).duration)};b.prototype.setChartSize=function(a){var c=this.inverted,d=this.renderer,b=this.chartWidth,g=this.chartHeight,f=this.options.chart,h=this.spacing,k=this.clipOffset,l,e,n,t;this.plotLeft=l=Math.round(this.plotLeft);this.plotTop=e=Math.round(this.plotTop);this.plotWidth=n=Math.max(0,Math.round(b-l-this.marginRight));this.plotHeight=t=Math.max(0,Math.round(g-e-this.marginBottom));this.plotSizeX=c?t:n;this.plotSizeY=
388
- c?n:t;this.plotBorderWidth=f.plotBorderWidth||0;this.spacingBox=d.spacingBox={x:h[3],y:h[0],width:b-h[3]-h[1],height:g-h[0]-h[2]};this.plotBox=d.plotBox={x:l,y:e,width:n,height:t};c=2*Math.floor(this.plotBorderWidth/2);b=Math.ceil(Math.max(c,k[3])/2);g=Math.ceil(Math.max(c,k[0])/2);this.clipBox={x:b,y:g,width:Math.floor(this.plotSizeX-Math.max(c,k[1])/2-b),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(c,k[2])/2-g))};a||(this.axes.forEach(function(a){a.setAxisSize();a.setAxisTranslation()}),
389
- d.alignElements());M(this,"afterSetChartSize",{skipAxes:a})};b.prototype.resetMargins=function(){M(this,"resetMargins");var a=this,c=a.options.chart;["margin","spacing"].forEach(function(d){var b=c[d],g=U(b)?b:[b,b,b,b];["Top","Right","Bottom","Left"].forEach(function(b,f){a[d][f]=N(c[d+b],g[f])})});n.forEach(function(c,d){a[c]=N(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,
390
- b=this.chartHeight,g=this.styledMode,f=this.plotBGImage,h=a.backgroundColor,k=a.plotBackgroundColor,l=a.plotBackgroundImage,e=this.plotLeft,n=this.plotTop,t=this.plotWidth,p=this.plotHeight,r=this.plotBox,m=this.clipRect,z=this.clipBox,D=this.chartBackground,G=this.plotBackground,w=this.plotBorder,A,y="animate";D||(this.chartBackground=D=c.rect().addClass("highcharts-background").add(),y="attr");if(g)var E=A=D.strokeWidth();else{E=a.borderWidth||0;A=E+(a.shadow?8:0);h={fill:h||"none"};if(E||D["stroke-width"])h.stroke=
391
- a.borderColor,h["stroke-width"]=E;D.attr(h).shadow(a.shadow)}D[y]({x:A/2,y:A/2,width:d-A-E%2,height:b-A-E%2,r:a.borderRadius});y="animate";G||(y="attr",this.plotBackground=G=c.rect().addClass("highcharts-plot-background").add());G[y](r);g||(G.attr({fill:k||"none"}).shadow(a.plotShadow),l&&(f?(l!==f.attr("href")&&f.attr("href",l),f.animate(r)):this.plotBGImage=c.image(l,e,n,t,p).add()));m?m.animate({width:z.width,height:z.height}):this.clipRect=c.clipRect(z);y="animate";w||(y="attr",this.plotBorder=
392
- w=c.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());g||w.attr({stroke:a.plotBorderColor,"stroke-width":a.plotBorderWidth||0,fill:"none"});w[y](w.crisp({x:e,y:n,width:t,height:p},-w.strokeWidth()));this.isDirtyBox=!1;M(this,"afterDrawChartBox")};b.prototype.propFromSeries=function(){var a=this,d=a.options.chart,b=a.options.series,g,f,h;["inverted","angular","polar"].forEach(function(k){f=c[d.type||d.defaultSeriesType];h=d[k]||f&&f.prototype[k];for(g=b&&b.length;!h&&g--;)(f=c[b[g].type])&&
393
- f.prototype[k]&&(h=!0);a[k]=h})};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;W(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=N(c.options.visible,d.options.visible,c.visible))});M(this,"afterLinkSeries")};b.prototype.renderSeries=function(){this.series.forEach(function(a){a.translate();
394
- a.render()})};b.prototype.renderLabels=function(){var a=this,c=a.options.labels;c.items&&c.items.forEach(function(d){var b=ba(c.style,d.style),g=ca(b.left)+a.plotLeft,f=ca(b.top)+a.plotTop+12;delete b.left;delete b.top;a.renderer.text(d.html,g,f).attr({zIndex:2}).css(b).add()})};b.prototype.render=function(){var a=this.axes,c=this.colorAxis,d=this.renderer,b=this.options,g=function(a){a.forEach(function(a){a.visible&&a.render()})},f=0;this.setTitle();this.legend=new F(this,b.legend);this.getStacks&&
395
- 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 h=this.plotHeight=Math.max(this.plotHeight-f,0);a.forEach(function(a){a.setScale()});this.getAxisMargins();var k=1.1<b/this.plotWidth,l=1.05<h/this.plotHeight;if(k||l)a.forEach(function(a){(a.horiz&&k||!a.horiz&&l)&&a.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries?g(a):c&&c.length&&g(c);
396
- 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=V(!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&&(D.location.href=d.href)}).attr({align:d.position.align,zIndex:8}),c.styledMode||
397
- 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,b=a.container,g=b&&b.parentNode,f;M(a,"destroy");a.renderer.forExport?Q(y,a):y[a.index]=void 0;q.chartCount--;a.renderTo.removeAttribute("data-highcharts-chart");fa(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]=
398
- 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=k.emptyHTML,fa(b),g&&Y(b));S(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();
399
- a.getAxes();(X(c.series)?c.series:[]).forEach(function(c){a.initSeries(c)});a.linkSeries();a.setSeriesData();M(a,"beforeRender");v&&(x.isRequired()?a.pointer=new x(a,c):a.pointer=new v(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);M(this,"load");M(this,"render");T(this.index)&&
400
- this.setReflow(this.options.chart.reflow);this.warnIfA11yModuleNotLoaded();this.hasLoaded=!0};b.prototype.warnIfA11yModuleNotLoaded=function(){var a=this.options,c=this.title;a&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":c&&c.element.textContent||""}),a.accessibility&&!1===a.accessibility.enabled||L('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',
401
- !1,this))};b.prototype.addSeries=function(a,c,d){var b=this,g;a&&(c=N(c,!0),M(b,"addSeries",{options:a},function(){g=b.initSeries(a);b.isDirtyLegend=!0;b.linkSeries();g.enabledDataSorting&&g.setData(a.data,!1);M(b,"afterAddSeries",{series:g});c&&b.redraw(d)}));return g};b.prototype.addAxis=function(a,c,d,b){return this.createAxis(c?"xAxis":"yAxis",{axis:a,redraw:d,animation:b})};b.prototype.addColorAxis=function(a,c,d){return this.createAxis("colorAxis",{axis:a,redraw:c,animation:d})};b.prototype.createAxis=
402
- function(a,c){a=new e(this,V(c.axis,{index:this[a].length,isX:"xAxis"===a}));N(c.redraw,!0)&&this.redraw(c.animation);return a};b.prototype.showLoading=function(a){var c=this,d=c.options,b=d.loading,g=function(){f&&K(f,{left:c.plotLeft+"px",top:c.plotTop+"px",width:c.plotWidth+"px",height:c.plotHeight+"px"})},f=c.loadingDiv,h=c.loadingSpan;f||(c.loadingDiv=f=O("div",{className:"highcharts-loading highcharts-loading-hidden"},null,c.container));h||(c.loadingSpan=h=O("span",{className:"highcharts-loading-inner"},
403
- null,f),z(c,"redraw",g));f.className="highcharts-loading";k.setElementHTML(h,N(a,d.lang.loading,""));c.styledMode||(K(f,ba(b.style,{zIndex:10})),K(h,b.labelStyle),c.loadingShown||(K(f,{opacity:0,display:""}),p(f,{opacity:b.style.opacity||.5},{duration:b.showDuration||0})));c.loadingShown=!0;g()};b.prototype.hideLoading=function(){var a=this.options,c=this.loadingDiv;c&&(c.className="highcharts-loading highcharts-loading-hidden",this.styledMode||p(c,{opacity:0},{duration:a.loading.hideDuration||100,
404
- complete:function(){K(c,{display:"none"})}}));this.loadingShown=!1};b.prototype.update=function(a,c,d,b){var g=this,k={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=a.isResponsiveOptions,e=[],n,t;M(g,"update",{options:a});l||g.setResponsive(!1,!0);a=H(a,g.options);g.userOptions=V(g.userOptions,a);var p=a.chart;if(p){V(!0,g.options.chart,p);"className"in p&&g.setClassName(p.className);"reflow"in p&&g.setReflow(p.reflow);if("inverted"in p||"polar"in p||"type"in
405
- p){g.propFromSeries();var r=!0}"alignTicks"in p&&(r=!0);"events"in p&&h(this,p);S(p,function(a,c){-1!==g.propsRequireUpdateSeries.indexOf("chart."+c)&&(n=!0);-1!==g.propsRequireDirtyBox.indexOf(c)&&(g.isDirtyBox=!0);-1!==g.propsRequireReflow.indexOf(c)&&(l?g.isDirtyBox=!0:t=!0)});!g.styledMode&&p.style&&g.renderer.setStyle(g.options.chart.style||{})}!g.styledMode&&a.colors&&(this.options.colors=a.colors);a.time&&(this.time===I&&(this.time=new f(a.time)),V(!0,g.options.time,a.time));S(a,function(c,
406
- d){if(g[d]&&"function"===typeof g[d].update)g[d].update(c,!1);else if("function"===typeof g[k[d]])g[k[d]](c);else"colors"!==d&&-1===g.collectionsWithUpdate.indexOf(d)&&V(!0,g.options[d],a[d]);"chart"!==d&&-1!==g.propsRequireUpdateSeries.indexOf(d)&&(n=!0)});this.collectionsWithUpdate.forEach(function(c){if(a[c]){var b=[];g[c].forEach(function(a,c){a.options.isInternal||b.push(N(a.options.index,c))});da(a[c]).forEach(function(a,f){var h=T(a.id),k;h&&(k=g.get(a.id));!k&&g[c]&&(k=g[c][b?b[f]:f])&&h&&
407
- T(k.options.id)&&(k=void 0);k&&k.coll===c&&(k.update(a,!1),d&&(k.touched=!0));!k&&d&&g.collectionsWithInit[c]&&(g.collectionsWithInit[c][0].apply(g,[a].concat(g.collectionsWithInit[c][1]||[]).concat([!1])).touched=!0)});d&&g[c].forEach(function(a){a.touched||a.options.isInternal?delete a.touched:e.push(a)})}});e.forEach(function(a){a.chart&&a.remove&&a.remove(!1)});r&&g.axes.forEach(function(a){a.update({},!1)});n&&g.getSeriesOrderByLinks().forEach(function(a){a.chart&&a.update({},!1)},this);r=p&&
408
- p.width;p=p&&(W(p.height)?ea(p.height,r||g.chartWidth):p.height);t||R(r)&&r!==g.chartWidth||R(p)&&p!==g.chartHeight?g.setSize(r,p,b):N(c,!0)&&g.redraw(b);M(g,"afterUpdate",{options:a,redraw:c,animation:b})};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=w.lang,b=c.options.chart.zooming.resetButton,
409
- g=b.theme,f="chart"===b.relativeTo||"spacingBox"===b.relativeTo?null:"scrollablePlotBox";M(this,"beforeShowResetZoom",null,function(){c.resetZoomButton=c.renderer.button(d.resetZoom,null,null,a,g).attr({align:b.position.align,title:d.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(b.position,!1,f)});M(this,"afterShowResetZoom")};b.prototype.zoomOut=function(){M(this,"selection",{resetSelection:!0},this.zoom)};b.prototype.zoom=function(a){var c=this,d=c.pointer,b=!1,g;!a||a.resetSelection?
410
- (c.axes.forEach(function(a){g=a.zoom()}),d.initiated=!1):a.xAxis.concat(a.yAxis).forEach(function(a){var f=a.axis;if(d[f.isXAxis?"zoomX":"zoomY"]&&T(d.mouseDownX)&&T(d.mouseDownY)&&c.isInsidePlot(d.mouseDownX-c.plotLeft,d.mouseDownY-c.plotTop,{axis:f})||!T(c.inverted?d.mouseDownX:d.mouseDownY))g=f.zoom(a.min,a.max),f.displayBtn&&(b=!0)});var f=c.resetZoomButton;b&&!f?c.showResetZoom():!b&&U(f)&&(c.resetZoomButton=f.destroy());g&&c.redraw(N(c.options.chart.animation,a&&a.animation,100>c.pointCount))};
411
- b.prototype.pan=function(a,c){var d=this,b=d.hoverPoints;c="object"===typeof c?c:{enabled:c,type:"x"};var g=d.options.chart;g&&g.panning&&(g.panning=c);var f=c.type,h;M(this,"pan",{originalEvent:a},function(){b&&b.forEach(function(a){a.setState()});var c=d.xAxis;"xy"===f?c=c.concat(d.yAxis):"y"===f&&(c=d.yAxis);var g={};c.forEach(function(c){if(c.options.panningEnabled&&!c.options.isInternal){var b=c.horiz,k=a[b?"chartX":"chartY"];b=b?"mouseDownX":"mouseDownY";var l=d[b],e=c.minPointOffset||0,n=c.reversed&&
412
- !d.inverted||!c.reversed&&d.inverted?-1:1,t=c.getExtremes(),p=c.toValue(l-k,!0)+e*n,r=c.toValue(l+c.len-k,!0)-(e*n||c.isXAxis&&c.pointRangePadding||0),m=r<p;n=c.hasVerticalPanning();l=m?r:p;p=m?p:r;var z=c.panningState;!n||c.isXAxis||z&&!z.isDirty||c.series.forEach(function(a){var c=a.getProcessedData(!0);c=a.getExtremes(c.yData,!0);z||(z={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});R(c.dataMin)&&R(c.dataMax)&&(z.startMin=Math.min(N(a.options.threshold,Infinity),c.dataMin,z.startMin),z.startMax=
413
- Math.max(N(a.options.threshold,-Infinity),c.dataMax,z.startMax))});n=Math.min(N(z&&z.startMin,t.dataMin),e?t.min:c.toValue(c.toPixels(t.min)-c.minPixelPadding));r=Math.max(N(z&&z.startMax,t.dataMax),e?t.max:c.toValue(c.toPixels(t.max)+c.minPixelPadding));c.panningState=z;c.isOrdinal||(e=n-l,0<e&&(p+=e,l=n),e=p-r,0<e&&(p=r,l-=e),c.series.length&&l!==t.min&&p!==t.max&&l>=n&&p<=r&&(c.setExtremes(l,p,!1,!1,{trigger:"pan"}),!d.resetZoomButton&&l!==n&&p!==r&&f.match("y")&&(d.showResetZoom(),c.displayBtn=
414
- !1),h=!0),g[b]=k)}});S(g,function(a,c){d[c]=a});h&&d.redraw(!1);K(d.container,{cursor:"move"})})};return b}();ba(b.prototype,{callbacks:[],collectionsWithInit:{xAxis:[b.prototype.addAxis,[!0]],yAxis:[b.prototype.addAxis,[!1]],series:[b.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","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(" "),
415
- propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});"";return b});J(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],function(b){var e=b.merge,u=b.pick,C;(function(b){b.drawLineMarker=function(b){var q=this.legendItem=this.legendItem||{},x=this.options,v=b.symbolWidth,m=b.symbolHeight,l=m/2,a=this.chart.renderer,f=q.group;b=b.baseline-Math.round(.3*b.fontMetrics.b);var d={},k=x.marker;this.chart.styledMode||
416
- (d={"stroke-width":x.lineWidth||0},x.dashStyle&&(d.dashstyle=x.dashStyle));q.line=a.path([["M",0,b],["L",v,b]]).addClass("highcharts-graph").attr(d).add(f);k&&!1!==k.enabled&&v&&(x=Math.min(u(k.radius,l),l),0===this.symbol.indexOf("url")&&(k=e(k,{width:m,height:m}),x=0),q.symbol=q=a.symbol(this.symbol,v/2-x,b-x,2*x,2*x,k).addClass("highcharts-point").add(f),q.isMarker=!0)};b.drawRectangle=function(b,e){e=e.legendItem||{};var x=b.symbolHeight,v=b.options.squareSymbol;e.symbol=this.chart.renderer.rect(v?
417
- (b.symbolWidth-x)/2:0,b.baseline-x+1,v?x:b.symbolWidth,x,u(b.options.symbolRadius,x/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.group)}})(C||(C={}));return C});J(e,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",
178
+ 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.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0;this.init(c,a)}b.prototype.init=function(a,g){var d=g.isX;this.chart=a;this.horiz=a.inverted&&!this.isZAxis?!d:d;this.isXAxis=d;this.coll=this.coll||(d?"xAxis":"yAxis");c(this,
179
+ "init",{userOptions:g});this.opposite=v(g.opposite,this.opposite);this.side=v(g.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(g);var l=this.options,f=l.labels,b=l.type;this.userOptions=g;this.minPixelPadding=0;this.reversed=v(l.reversed,this.reversed);this.visible=l.visible;this.zoomEnabled=l.zoomEnabled;this.hasNames="category"===b||!0===l.categories;this.categories=l.categories||(this.hasNames?[]:void 0);this.names||(this.names=[],this.names.keys={});this.plotLinesAndBandsGroups=
180
+ {};this.positiveValuesOnly=!!this.logarithmic;this.isLinked=D(l.linkedTo);this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=l.minRange||l.maxZoom;this.range=l.range;this.offset=l.offset||0;this.min=this.max=null;g=v(l.crosshair,M(a.options.tooltip.crosshairs)[d?0:1]);this.crosshair=!0===g?{}:g;-1===a.axes.indexOf(this)&&(d?a.axes.splice(a.xAxis.length,0,this):a.axes.push(this),a[this.coll].push(this));this.series=
181
+ this.series||[];a.inverted&&!this.isZAxis&&d&&"undefined"===typeof this.reversed&&(this.reversed=!0);this.labelRotation=m(f.rotation)?f.rotation:void 0;h(this,l);c(this,"afterInit")};b.prototype.setOptions=function(a){this.options=g(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],g(n[this.coll],a));c(this,"afterSetOptions",{userOptions:a})};b.prototype.defaultLabelFormatter=
182
+ function(c){var a=this.axis;c=this.chart.numberFormatter;var g=m(this.value)?this.value:NaN,l=a.chart.time,d=this.dateTimeLabelFormat,f=n.lang,b=f.numericSymbols;f=f.numericSymbolMagnitude||1E3;var k=a.logarithmic?Math.abs(g):a.tickInterval,v=b&&b.length;if(a.categories)var h="".concat(this.value);else if(d)h=l.dateFormat(d,g);else if(v&&1E3<=k)for(;v--&&"undefined"===typeof h;)a=Math.pow(f,v+1),k>=a&&0===10*g%a&&null!==b[v]&&0!==g&&(h=c(g/a,-1)+b[v]);"undefined"===typeof h&&(h=1E4<=Math.abs(g)?c(g,
183
+ -1):c(g,-1,void 0,""));return h};b.prototype.getSeriesExtremes=function(){var a=this,g=a.chart,l;c(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(c){if(c.visible||!g.options.chart.ignoreHiddenSeries){var d=c.options,f=d.threshold;a.hasVisibleSeries=!0;a.positiveValuesOnly&&0>=f&&(f=null);if(a.isXAxis){if(d=c.xData,d.length){d=a.logarithmic?d.filter(a.validatePositiveValue):
184
+ d;l=c.getXExtremes(d);var b=l.min;var k=l.max;m(b)||b instanceof Date||(d=d.filter(m),l=c.getXExtremes(d),b=l.min,k=l.max);d.length&&(a.dataMin=Math.min(v(a.dataMin,b),b),a.dataMax=Math.max(v(a.dataMax,k),k))}}else if(c=c.applyExtremes(),m(c.dataMin)&&(b=c.dataMin,a.dataMin=Math.min(v(a.dataMin,b),b)),m(c.dataMax)&&(k=c.dataMax,a.dataMax=Math.max(v(a.dataMax,k),k)),D(f)&&(a.threshold=f),!d.softThreshold||a.positiveValuesOnly)a.softThreshold=!1}})});c(this,"afterGetSeriesExtremes")};b.prototype.translate=
185
+ function(c,a,g,d,l,f){var b=this.linkedParent||this,k=d&&b.old?b.old.min:b.min;if(!m(k))return NaN;var v=b.minPixelPadding;l=(b.isOrdinal||b.brokenAxis&&b.brokenAxis.hasBreaks||b.logarithmic&&l)&&b.lin2val;var h=1,u=0;d=d&&b.old?b.old.transA:b.transA;d||(d=b.transA);g&&(h*=-1,u=b.len);b.reversed&&(h*=-1,u-=h*(b.sector||b.len));a?(f=(c*h+u-v)/d+k,l&&(f=b.lin2val(f))):(l&&(c=b.val2lin(c)),c=h*(c-k)*d,f=(b.isRadial?c:p(c))+u+h*v+(m(f)?d*f:0));return f};b.prototype.toPixels=function(c,a){return this.translate(c,
186
+ !1,!this.horiz,void 0,!0)+(a?0:this.pos)};b.prototype.toValue=function(c,a){return this.translate(c-(a?0:this.pos),!0,!this.horiz,void 0,!0)};b.prototype.getPlotLinePath=function(a){function g(c,a,g){if("pass"!==L&&c<a||c>g)L?c=k(c,a,g):x=!0;return c}var d=this,l=d.chart,f=d.left,b=d.top,h=a.old,u=a.value,F=a.lineWidth,q=h&&l.oldChartHeight||l.chartHeight,B=h&&l.oldChartWidth||l.chartWidth,p=d.transB,e=a.translatedValue,L=a.force,n,K,J,A,x;a={value:u,lineWidth:F,old:h,force:L,acrossPanes:a.acrossPanes,
187
+ translatedValue:e};c(this,"getPlotLinePath",a,function(c){e=v(e,d.translate(u,void 0,void 0,h));e=k(e,-1E5,1E5);n=J=Math.round(e+p);K=A=Math.round(q-e-p);m(e)?d.horiz?(K=b,A=q-d.bottom,n=J=g(n,f,f+d.width)):(n=f,J=B-d.right,K=A=g(K,b,b+d.height)):(x=!0,L=!1);c.path=x&&!L?null:l.renderer.crispLine([["M",n,K],["L",J,A]],F||1)});return a.path};b.prototype.getLinearTickPositions=function(c,a,g){var d=p(Math.floor(a/c)*c);g=p(Math.ceil(g/c)*c);var l=[],f;p(d+c)===d&&(f=20);if(this.single)return[a];for(a=
188
+ d;a<=g;){l.push(a);a=p(a+c,f);if(a===b)break;var b=a}return l};b.prototype.getMinorTickInterval=function(){var c=this.options;return!0===c.minorTicks?v(c.minorTickInterval,"auto"):!1===c.minorTicks?null:c.minorTickInterval};b.prototype.getMinorTickPositions=function(){var c=this.options,a=this.tickPositions,g=this.minorTickInterval,d=this.pointRangePadding||0,l=this.min-d;d=this.max+d;var f=d-l,b=[];if(f&&f/g<this.len/3){var m=this.logarithmic;if(m)this.paddedTicks.forEach(function(c,a,d){a&&b.push.apply(b,
189
+ m.getLogTickPositions(g,d[a-1],d[a],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())b=b.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(g),l,d,c.startOfWeek));else for(c=l+(a[0]-l)%g;c<=d&&c!==b[0];c+=g)b.push(c)}0!==b.length&&this.trimTicks(b);return b};b.prototype.adjustForMinRange=function(){var c=this.options,a=this.logarithmic,g=this.min,l=this.max,b=0,m,k,h,u;this.isXAxis&&"undefined"===typeof this.minRange&&!a&&(D(c.min)||D(c.max)||D(c.floor)||D(c.ceiling)?
190
+ this.minRange=null:(this.series.forEach(function(c){h=c.xData;u=c.xIncrement?1:h.length-1;if(1<h.length)for(m=u;0<m;m--)if(k=h[m]-h[m-1],!b||k<b)b=k}),this.minRange=Math.min(5*b,this.dataMax-this.dataMin)));if(l-g<this.minRange){var F=this.dataMax-this.dataMin>=this.minRange;var q=this.minRange;var B=(q-l+g)/2;B=[g-B,v(c.min,g-B)];F&&(B[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);g=f(B);l=[g+q,v(c.max,g+q)];F&&(l[2]=a?a.log2lin(this.dataMax):this.dataMax);l=d(l);l-g<q&&
191
+ (B[0]=l-q,B[1]=v(c.min,l-q),g=f(B))}this.min=g;this.max=l};b.prototype.getClosest=function(){var c;this.categories?c=1:this.series.forEach(function(a){var g=a.closestPointRange,d=a.visible||!a.chart.options.chart.ignoreHiddenSeries;!a.noSharedTooltip&&D(g)&&d&&(c=D(c)?Math.min(c,g):g)});return c};b.prototype.nameToX=function(c){var a=B(this.options.categories),g=a?this.categories:this.names,d=c.options.x;c.series.requireSorting=!1;D(d)||(d=this.options.uniqueNames&&g?a?g.indexOf(c.name):v(g.keys[c.name],
192
+ -1):c.series.autoIncrement());if(-1===d){if(!a&&g)var l=g.length}else l=d;"undefined"!==typeof l?(this.names[l]=c.name,this.names.keys[c.name]=l):c.x&&(l=c.x);return l};b.prototype.updateNames=function(){var c=this,a=this.names;0<a.length&&(Object.keys(a.keys).forEach(function(c){delete a.keys[c]}),a.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(a){a.xIncrement=null;if(!a.points||a.isDirtyData)c.max=Math.max(c.max,a.xData.length-1),a.processData(),a.generatePoints();
193
+ a.data.forEach(function(g,d){if(g&&g.options&&"undefined"!==typeof g.name){var l=c.nameToX(g);"undefined"!==typeof l&&l!==g.x&&(g.x=l,a.xData[d]=l)}})}))};b.prototype.setAxisTranslation=function(){var a=this,g=a.max-a.min,d=a.linkedParent,l=!!a.categories,f=a.isXAxis,b=a.axisPointRange||0,m=0,k=0,h=a.transA;if(f||l||b){var F=a.getClosest();d?(m=d.minPointOffset,k=d.pointRangePadding):a.series.forEach(function(c){var g=l?1:f?v(c.options.pointRange,F,0):a.axisPointRange||0,d=c.options.pointPlacement;
194
+ b=Math.max(b,g);if(!a.single||l)c=c.is("xrange")?!f:f,m=Math.max(m,c&&u(d)?0:g/2),k=Math.max(k,c&&"on"===d?0:g)});d=a.ordinal&&a.ordinal.slope&&F?a.ordinal.slope/F:1;a.minPointOffset=m*=d;a.pointRangePadding=k*=d;a.pointRange=Math.min(b,a.single&&l?1:g);f&&(a.closestPointRange=F)}a.translationSlope=a.transA=h=a.staticScale||a.len/(g+k||1);a.transB=a.horiz?a.left:a.bottom;a.minPixelPadding=h*m;c(this,"afterSetAxisTranslation")};b.prototype.minFromRange=function(){return this.max-this.range};b.prototype.setTickInterval=
195
+ function(a){var g=this.chart,d=this.logarithmic,l=this.options,f=this.isXAxis,b=this.isLinked,k=l.tickPixelInterval,h=this.categories,u=this.softThreshold,F=l.maxPadding,q=l.minPadding,B=m(l.tickInterval)&&0<=l.tickInterval?l.tickInterval:void 0,e=m(this.threshold)?this.threshold:null;this.dateTime||h||b||this.getTickAmount();var n=v(this.userMin,l.min);var K=v(this.userMax,l.max);if(b){this.linkedParent=g[this.coll][l.linkedTo];var L=this.linkedParent.getExtremes();this.min=v(L.min,L.dataMin);this.max=
196
+ v(L.max,L.dataMax);l.type!==this.linkedParent.options.type&&E(11,1,g)}else{if(u&&D(e))if(this.dataMin>=e)L=e,q=0;else if(this.dataMax<=e){var J=e;F=0}this.min=v(n,L,this.dataMin);this.max=v(K,J,this.dataMax)}d&&(this.positiveValuesOnly&&!a&&0>=Math.min(this.min,v(this.dataMin,this.min))&&E(10,1,g),this.min=p(d.log2lin(this.min),16),this.max=p(d.log2lin(this.max),16));this.range&&D(this.max)&&(this.userMin=this.min=n=Math.max(this.dataMin,this.minFromRange()),this.userMax=K=this.max,this.range=null);
197
+ c(this,"foundExtremes");this.beforePadding&&this.beforePadding();this.adjustForMinRange();!(h||this.axisPointRange||this.stacking&&this.stacking.usePercentage||b)&&D(this.min)&&D(this.max)&&(g=this.max-this.min)&&(!D(n)&&q&&(this.min-=g*q),!D(K)&&F&&(this.max+=g*F));m(this.userMin)||(m(l.softMin)&&l.softMin<this.min&&(this.min=n=l.softMin),m(l.floor)&&(this.min=Math.max(this.min,l.floor)));m(this.userMax)||(m(l.softMax)&&l.softMax>this.max&&(this.max=K=l.softMax),m(l.ceiling)&&(this.max=Math.min(this.max,
198
+ l.ceiling)));u&&D(this.dataMin)&&(e=e||0,!D(n)&&this.min<e&&this.dataMin>=e?this.min=this.options.minRange?Math.min(e,this.max-this.minRange):e:!D(K)&&this.max>e&&this.dataMax<=e&&(this.max=this.options.minRange?Math.max(e,this.min+this.minRange):e));m(this.min)&&m(this.max)&&!this.chart.polar&&this.min>this.max&&(D(this.options.min)?this.max=this.min:D(this.options.max)&&(this.min=this.max));this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:b&&
199
+ this.linkedParent&&!B&&k===this.linkedParent.options.tickPixelInterval?B=this.linkedParent.tickInterval:v(B,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,h?1:(this.max-this.min)*k/Math.max(this.len,k));if(f&&!a){var A=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(c){c.forceCrop=c.forceCropping&&c.forceCropping();c.processData(A)});c(this,"postProcessData",{hasExtremesChanged:A})}this.setAxisTranslation();c(this,"initialAxisTranslation");
200
+ this.pointRange&&!B&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));a=v(l.minTickInterval,this.dateTime&&!this.series.some(function(c){return c.noSharedTooltip})?this.closestPointRange:0);!B&&this.tickInterval<a&&(this.tickInterval=a);this.dateTime||this.logarithmic||B||(this.tickInterval=I(this,this.tickInterval));this.tickAmount||(this.tickInterval=this.unsquish());this.setTickPositions()};b.prototype.setTickPositions=function(){var a=this.options,g=a.tickPositions,l=a.tickPositioner,
201
+ d=this.getMinorTickInterval(),f=this.hasVerticalPanning(),b="colorAxis"===this.coll,k=(b||!f)&&a.startOnTick;f=(b||!f)&&a.endOnTick;b=[];var h;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&&D(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==a.allowDecimals);if(g)b=g.slice();else if(m(this.min)&&m(this.max)){if(this.ordinal&&
202
+ this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)b=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,a.units),this.min,this.max,a.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)b=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(d=a=this.tickInterval;d<=2*a;)if(b=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&
203
+ b.length>this.tickAmount)this.tickInterval=I(this,d*=1.1);else break;else b=[this.min,this.max],E(19,!1,this.chart);b.length>this.len&&(b=[b[0],b[b.length-1]],b[0]===b[1]&&(b.length=1));l&&(this.tickPositions=b,(h=l.apply(this,[this.min,this.max]))&&(b=h))}this.tickPositions=b;this.paddedTicks=b.slice(0);this.trimTicks(b,k,f);!this.isLinked&&m(this.min)&&m(this.max)&&(this.single&&2>b.length&&!this.categories&&!this.series.some(function(c){return c.is("heatmap")&&"between"===c.options.pointPlacement})&&
204
+ (this.min-=.5,this.max+=.5),g||h||this.adjustTickAmount());c(this,"afterSetTickPositions")};b.prototype.trimTicks=function(a,g,l){var d=a[0],f=a[a.length-1],b=!this.isOrdinal&&this.minPointOffset||0;c(this,"trimTicks");if(!this.isLinked){if(g&&-Infinity!==d)this.min=d;else for(;this.min-b>a[0];)a.shift();if(l)this.max=f;else for(;this.max+b<a[a.length-1];)a.pop();0===a.length&&D(d)&&!this.options.tickPositions&&a.push((f+d)/2)}};b.prototype.alignToOthers=function(){var c=this,a=[this],g=c.options,
205
+ l="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,d=[],f;c.thresholdAlignment=void 0;if((!1!==this.chart.options.chart.alignTicks&&g.alignTicks||l)&&!1!==g.startOnTick&&!1!==g.endOnTick&&!c.logarithmic){var b=function(c){var a=c.options;return[c.horiz?a.left:a.top,a.width,a.height,a.pane].join()},k=b(this);this.chart[this.coll].forEach(function(g){var d=g.series;d.length&&d.some(function(c){return c.visible})&&g!==c&&b(g)===k&&(f=!0,a.push(g))})}if(f&&l){a.forEach(function(a){a=a.getThresholdAlignment(c);
206
+ m(a)&&d.push(a)});var h=1<d.length?d.reduce(function(c,a){return c+a},0)/d.length:void 0;a.forEach(function(c){c.thresholdAlignment=h})}return f};b.prototype.getThresholdAlignment=function(c){(!m(this.dataMin)||this!==c&&this.series.some(function(c){return c.isDirty||c.isDirtyData}))&&this.getSeriesExtremes();if(m(this.threshold))return c=k((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(c=1-c),c};b.prototype.getTickAmount=function(){var c=this.options,
207
+ a=c.tickPixelInterval,g=c.tickAmount;!D(c.tickInterval)&&!g&&this.len<a&&!this.isRadial&&!this.logarithmic&&c.startOnTick&&c.endOnTick&&(g=2);!g&&this.alignToOthers()&&(g=Math.ceil(this.len/a)+1);4>g&&(this.finalTickAmt=g,g=5);this.tickAmount=g};b.prototype.adjustTickAmount=function(){var c=this,a=c.finalTickAmt,g=c.max,d=c.min,l=c.options,f=c.tickPositions,b=c.tickAmount,k=c.thresholdAlignment,h=f&&f.length,u=v(c.threshold,c.softThreshold?0:null);var F=c.tickInterval;if(m(k)){var q=.5>k?Math.ceil(k*
208
+ (b-1)):Math.floor(k*(b-1));l.reversed&&(q=b-1-q)}if(c.hasData()&&m(d)&&m(g)){k=function(){c.transA*=(h-1)/(b-1);c.min=l.startOnTick?f[0]:Math.min(d,f[0]);c.max=l.endOnTick?f[f.length-1]:Math.max(g,f[f.length-1])};if(m(q)&&m(c.threshold)){for(;f[q]!==u||f.length!==b||f[0]>d||f[f.length-1]<g;){f.length=0;for(f.push(c.threshold);f.length<b;)void 0===f[q]||f[q]>c.threshold?f.unshift(p(f[0]-F)):f.push(p(f[f.length-1]+F));if(F>8*c.tickInterval)break;F*=2}k()}else if(h<b){for(;f.length<b;)f.length%2||d===
209
+ u?f.push(p(f[f.length-1]+F)):f.unshift(p(f[0]-F));k()}if(D(a)){for(F=u=f.length;F--;)(3===a&&1===F%2||2>=a&&0<F&&F<u-1)&&f.splice(F,1);c.finalTickAmt=void 0}}};b.prototype.setScale=function(){var a=!1,g=!1;this.series.forEach(function(c){a=a||c.isDirtyData||c.isDirty;g=g||c.xAxis&&c.xAxis.isDirty||!1});this.setAxisSize();var d=this.len!==(this.old&&this.old.len);d||a||g||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?
210
+ (this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=d||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);c(this,"afterSetScale")};b.prototype.setExtremes=function(a,g,d,l,f){var b=this,m=b.chart;d=v(d,!0);b.series.forEach(function(c){delete c.kdTree});f=q(f,{min:a,max:g});c(b,"setExtremes",f,
211
+ function(){b.userMin=a;b.userMax=g;b.eventArgs=f;d&&m.redraw(l)})};b.prototype.zoom=function(a,g){var d=this,l=this.dataMin,f=this.dataMax,b=this.options,m=Math.min(l,v(b.min,l)),k=Math.max(f,v(b.max,f));a={newMin:a,newMax:g};c(this,"zoom",a,function(c){var a=c.newMin,g=c.newMax;if(a!==d.min||g!==d.max)d.allowZoomOutside||(D(l)&&(a<m&&(a=m),a>k&&(a=k)),D(f)&&(g<m&&(g=m),g>k&&(g=k))),d.displayBtn="undefined"!==typeof a||"undefined"!==typeof g,d.setExtremes(a,g,!1,void 0,{trigger:"zoom"});c.zoomed=
212
+ !0});return a.zoomed};b.prototype.setAxisSize=function(){var c=this.chart,a=this.options,g=a.offsets||[0,0,0,0],d=this.horiz,l=this.width=Math.round(K(v(a.width,c.plotWidth-g[3]+g[1]),c.plotWidth)),f=this.height=Math.round(K(v(a.height,c.plotHeight-g[0]+g[2]),c.plotHeight)),b=this.top=Math.round(K(v(a.top,c.plotTop+g[0]),c.plotHeight,c.plotTop));a=this.left=Math.round(K(v(a.left,c.plotLeft+g[3]),c.plotWidth,c.plotLeft));this.bottom=c.chartHeight-f-b;this.right=c.chartWidth-l-a;this.len=Math.max(d?
213
+ l:f,0);this.pos=d?a:b};b.prototype.getExtremes=function(){var c=this.logarithmic;return{min:c?p(c.lin2log(this.min)):this.min,max:c?p(c.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};b.prototype.getThreshold=function(c){var a=this.logarithmic,g=a?a.lin2log(this.min):this.min;a=a?a.lin2log(this.max):this.max;null===c||-Infinity===c?c=g:Infinity===c?c=a:g>c?c=g:a<c&&(c=a);return this.translate(c,0,1,0,1)};b.prototype.autoLabelAlign=
214
+ function(a){var g=(v(a,0)-90*this.side+720)%360;a={align:"center"};c(this,"autoLabelAlign",a,function(c){15<g&&165>g?c.align="right":195<g&&345>g&&(c.align="left")});return a.align};b.prototype.tickSize=function(a){var g=this.options,d=v(g["tick"===a?"tickWidth":"minorTickWidth"],"tick"===a&&this.isXAxis&&!this.categories?1:0),l=g["tick"===a?"tickLength":"minorTickLength"];if(d&&l){"inside"===g[a+"Position"]&&(l=-l);var f=[l,d]}a={tickSize:f};c(this,"afterTickSize",a);return a.tickSize};b.prototype.labelMetrics=
215
+ function(){var c=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[c]&&this.ticks[c].label)};b.prototype.unsquish=function(){var c=this.options.labels,g=this.horiz,d=this.tickInterval,l=this.len/(((this.categories?1:0)+this.max-this.min)/d),f=c.rotation,b=this.labelMetrics(),k=Math.max(this.max-this.min,0),h=function(c){var a=c/(l||1);a=1<a?Math.ceil(a):1;a*d>k&&Infinity!==c&&Infinity!==l&&k&&(a=Math.ceil(k/d));return p(a*
216
+ d)},u=d,F=Number.MAX_VALUE;if(g){if(!c.staggerLines)if(m(f))var q=[f];else l<c.autoRotationLimit&&(q=c.autoRotation);if(q)for(var B=g=void 0,e=0,n=q;e<n.length;e++){var K=n[e];if(K===f||K&&-90<=K&&90>=K)if(g=h(Math.abs(b.h/Math.sin(a*K))),B=g+Math.abs(K/360),B<F){F=B;var J=K;u=g}}}else u=h(b.h);this.autoRotation=q;this.labelRotation=v(J,m(f)?f:0);return c.step?d:u};b.prototype.getSlotWidth=function(c){var a=this.chart,g=this.horiz,d=this.options.labels,l=Math.max(this.tickPositions.length-(this.categories?
217
+ 0:1),1),f=a.margin[3];if(c&&m(c.slotWidth))return c.slotWidth;if(g&&2>d.step)return d.rotation?0:(this.staggerLines||1)*this.len/l;if(!g){c=d.style.width;if(void 0!==c)return parseInt(String(c),10);if(f)return f-a.spacing[3]}return.33*a.chartWidth};b.prototype.renderUnsquish=function(){var c=this.chart,a=c.renderer,g=this.tickPositions,d=this.ticks,l=this.options.labels,f=l.style,b=this.horiz,m=this.getSlotWidth(),k=Math.max(1,Math.round(m-2*l.padding)),h={},v=this.labelMetrics(),F=f.textOverflow,
218
+ q=0;u(l.rotation)||(h.rotation=l.rotation||0);g.forEach(function(c){c=d[c];c.movedLabel&&c.replaceMovedLabel();c&&c.label&&c.label.textPxLength>q&&(q=c.label.textPxLength)});this.maxLabelLength=q;if(this.autoRotation)q>k&&q>v.h?h.rotation=this.labelRotation:this.labelRotation=0;else if(m){var B=k;if(!F){var e="clip";for(k=g.length;!b&&k--;){var p=g[k];if(p=d[p].label)p.styles&&"ellipsis"===p.styles.textOverflow?p.css({textOverflow:"clip"}):p.textPxLength>m&&p.css({width:m+"px"}),p.getBBox().height>
219
+ this.len/g.length-(v.h-v.f)&&(p.specificTextOverflow="ellipsis")}}}h.rotation&&(B=q>.5*c.chartHeight?.33*c.chartHeight:q,F||(e="ellipsis"));if(this.labelAlign=l.align||this.autoLabelAlign(this.labelRotation))h.align=this.labelAlign;g.forEach(function(c){var a=(c=d[c])&&c.label,g=f.width,l={};a&&(a.attr(h),c.shortenLabel?c.shortenLabel():B&&!g&&"nowrap"!==f.whiteSpace&&(B<a.textPxLength||"SPAN"===a.element.tagName)?(l.width=B+"px",F||(l.textOverflow=a.specificTextOverflow||e),a.css(l)):a.styles&&a.styles.width&&
220
+ !l.width&&!g&&a.css({width:null}),delete a.specificTextOverflow,c.rotation=h.rotation)},this);this.tickRotCorr=a.rotCorr(v.b,this.labelRotation||0,0!==this.side)};b.prototype.hasData=function(){return this.series.some(function(c){return c.hasData()})||this.options.showEmpty&&D(this.min)&&D(this.max)};b.prototype.addTitle=function(c){var a=this.chart.renderer,d=this.horiz,l=this.opposite,f=this.options.title,b=this.chart.styledMode,m;this.axisTitle||((m=f.textAlign)||(m=(d?{low:"left",middle:"center",
221
+ high:"right"}:{low:l?"right":"left",middle:"center",high:l?"left":"right"})[f.align]),this.axisTitle=a.text(f.text||"",0,0,f.useHTML).attr({zIndex:7,rotation:f.rotation,align:m}).addClass("highcharts-axis-title"),b||this.axisTitle.css(g(f.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);b||f.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"});this.axisTitle[c?"show":"hide"](c)};b.prototype.generateTick=function(c){var a=this.ticks;a[c]?a[c].addLabel():a[c]=new G(this,
222
+ c)};b.prototype.getOffset=function(){var a=this,g=this,d=g.chart,f=g.horiz,b=g.options,m=g.side,k=g.ticks,h=g.tickPositions,u=g.coll,F=g.axisParent,q=d.renderer,B=d.inverted&&!g.isZAxis?[1,0,3,2][m]:m,e=g.hasData(),p=b.title,n=b.labels,K=d.axisOffset;d=d.clipOffset;var J=[-1,1,1,-1][m],A=b.className,x,M=0,E=0,r=0;g.showAxis=x=e||b.showEmpty;g.staggerLines=g.horiz&&n.staggerLines||void 0;if(!g.axisGroup){var S=function(c,g,d){return q.g(c).attr({zIndex:d}).addClass("highcharts-".concat(u.toLowerCase()).concat(g,
223
+ " ")+(a.isRadial?"highcharts-radial-axis".concat(g," "):"")+(A||"")).add(F)};g.gridGroup=S("grid","-grid",b.gridZIndex);g.axisGroup=S("axis","",b.zIndex);g.labelGroup=S("axis-labels","-labels",n.zIndex)}e||g.isLinked?(h.forEach(function(c){g.generateTick(c)}),g.renderUnsquish(),g.reserveSpaceDefault=0===m||2===m||{1:"left",3:"right"}[m]===g.labelAlign,v(n.reserveSpace,"center"===g.labelAlign?!0:null,g.reserveSpaceDefault)&&h.forEach(function(c){r=Math.max(k[c].getLabelSize(),r)}),g.staggerLines&&
224
+ (r*=g.staggerLines),g.labelOffset=r*(g.opposite?-1:1)):l(k,function(c,a){c.destroy();delete k[a]});if(p&&p.text&&!1!==p.enabled&&(g.addTitle(x),x&&!1!==p.reserveSpace)){g.titleOffset=M=g.axisTitle.getBBox()[f?"height":"width"];var t=p.offset;E=D(t)?0:v(p.margin,f?5:10)}g.renderLine();g.offset=J*v(b.offset,K[m]?K[m]+(b.margin||0):0);g.tickRotCorr=g.tickRotCorr||{x:0,y:0};p=0===m?-g.labelMetrics().h:2===m?g.tickRotCorr.y:0;e=Math.abs(r)+E;r&&(e=e-p+J*(f?v(n.y,g.tickRotCorr.y+8*J):n.x));g.axisTitleMargin=
225
+ v(t,e);g.getMaxLabelDimensions&&(g.maxLabelDimensions=g.getMaxLabelDimensions(k,h));"colorAxis"!==u&&(f=this.tickSize("tick"),K[m]=Math.max(K[m],(g.axisTitleMargin||0)+M+J*g.offset,e,h&&h.length&&f?f[0]+J*g.offset:0),b=!g.axisLine||b.offset?0:2*Math.floor(g.axisLine.strokeWidth()/2),d[B]=Math.max(d[B],b));c(this,"afterGetOffset")};b.prototype.getLinePath=function(c){var a=this.chart,g=this.opposite,d=this.offset,l=this.horiz,f=this.left+(g?this.width:0)+d;d=a.chartHeight-this.bottom-(g?this.height:
226
+ 0)+d;g&&(c*=-1);return a.renderer.crispLine([["M",l?this.left:f,l?d:this.top],["L",l?a.chartWidth-this.right:f,l?d:a.chartHeight-this.bottom]],c)};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,g=this.left,d=this.top,l=this.len,
227
+ f=this.options.title,b=a?g:d,m=this.opposite,k=this.offset,h=f.x,v=f.y,u=this.axisTitle,F=this.chart.renderer.fontMetrics(f.style.fontSize,u);u=u?Math.max(u.getBBox(!1,0).height-F.h-1,0):0;l={low:b+(a?0:l),middle:b+l/2,high:b+(a?l:0)}[f.align];g=(a?d+this.height:g)+(a?1:-1)*(m?-1:1)*(this.axisTitleMargin||0)+[-u,u,F.f,-u][this.side];a={x:a?l+h:g+(m?this.width:0)+k+h,y:a?g+v-(m?this.height:0)+k:l+v};c(this,"afterGetTitlePosition",{titlePosition:a});return a};b.prototype.renderMinorTick=function(c,
228
+ a){var g=this.minorTicks;g[c]||(g[c]=new G(this,c,"minor"));a&&g[c].isNew&&g[c].render(null,!0);g[c].render(null,!1,1)};b.prototype.renderTick=function(c,a,g){var d=this.ticks;if(!this.isLinked||c>=this.min&&c<=this.max||this.grid&&this.grid.isColumn)d[c]||(d[c]=new G(this,c)),g&&d[c].isNew&&d[c].render(a,!0,-1),d[c].render(a)};b.prototype.render=function(){var a=this,g=a.chart,d=a.logarithmic,f=a.options,b=a.isLinked,k=a.tickPositions,h=a.axisTitle,u=a.ticks,v=a.minorTicks,F=a.alternateBands,q=f.stackLabels,
229
+ B=f.alternateGridColor,e=a.tickmarkOffset,p=a.axisLine,n=a.showAxis,K=r(g.renderer.globalAnimation),J,A;a.labelEdge.length=0;a.overlap=!1;[u,v,F].forEach(function(c){l(c,function(c){c.isActive=!1})});if(a.hasData()||b){var x=a.chart.hasRendered&&a.old&&m(a.old.min);a.minorTickInterval&&!a.categories&&a.getMinorTickPositions().forEach(function(c){a.renderMinorTick(c,x)});k.length&&(k.forEach(function(c,g){a.renderTick(c,g,x)}),e&&(0===a.min||a.single)&&(u[-1]||(u[-1]=new G(a,-1,null,!0)),u[-1].render(-1)));
230
+ B&&k.forEach(function(c,l){A="undefined"!==typeof k[l+1]?k[l+1]+e:a.max-e;0===l%2&&c<a.max&&A<=a.max+(g.polar?-e:e)&&(F[c]||(F[c]=new y.PlotLineOrBand(a)),J=c+e,F[c].options={from:d?d.lin2log(J):J,to:d?d.lin2log(A):A,color:B,className:"highcharts-alternate-grid"},F[c].render(),F[c].isActive=!0)});a._addedPlotLB||(a._addedPlotLB=!0,(f.plotLines||[]).concat(f.plotBands||[]).forEach(function(c){a.addPlotBandOrLine(c)}))}[u,v,F].forEach(function(c){var a=[],d=K.duration;l(c,function(c,g){c.isActive||
231
+ (c.render(g,!1,0),c.isActive=!1,a.push(g))});S(function(){for(var g=a.length;g--;)c[a[g]]&&!c[a[g]].isActive&&(c[a[g]].destroy(),delete c[a[g]])},c!==F&&g.hasRendered&&d?d:0)});p&&(p[p.isPlaced?"animate":"attr"]({d:this.getLinePath(p.strokeWidth())}),p.isPlaced=!0,p[n?"show":"hide"](n));h&&n&&(f=a.getTitlePosition(),h[h.isNew?"attr":"animate"](f),h.isNew=!1);q&&q.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};
232
+ a.isDirty=!1;c(this,"afterRender")};b.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(c){c.render()}));this.series.forEach(function(c){c.isDirty=!0})};b.prototype.getKeepProps=function(){return this.keepProps||b.keepProps};b.prototype.destroy=function(a){var g=this,d=g.plotLinesAndBands,f=this.eventOptions;c(this,"destroy",{keepEvents:a});a||J(g);[g.ticks,g.minorTicks,g.alternateBands].forEach(function(c){A(c)});if(d)for(a=d.length;a--;)d[a].destroy();
233
+ "axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(c){g[c]&&(g[c]=g[c].destroy())});for(var b in g.plotLinesAndBandsGroups)g.plotLinesAndBandsGroups[b]=g.plotLinesAndBandsGroups[b].destroy();l(g,function(c,a){-1===g.getKeepProps().indexOf(a)&&delete g[a]});this.eventOptions=f};b.prototype.drawCrosshair=function(a,g){var d=this.crosshair,l=v(d&&d.snap,!0),f=this.chart,b,m=this.cross;c(this,"drawCrosshair",{e:a,point:g});a||(a=this.cross&&this.cross.e);if(d&&
234
+ !1!==(D(g)||!l)){l?D(g)&&(b=v("colorAxis"!==this.coll?g.crosshairPos:null,this.isXAxis?g.plotX:this.len-g.plotY)):b=a&&(this.horiz?a.chartX-this.pos:this.len-a.chartY+this.pos);if(D(b)){var k={value:g&&(this.isXAxis?g.x:v(g.stackY,g.y)),translatedValue:b};f.polar&&q(k,{isCrosshair:!0,chartX:a&&a.chartX,chartY:a&&a.chartY,point:g});k=this.getPlotLinePath(k)||null}if(!D(k)){this.hideCrosshair();return}l=this.categories&&!this.isRadial;m||(this.cross=m=f.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+
235
+ (l?"category ":"thin ")+(d.className||"")).attr({zIndex:v(d.zIndex,2)}).add(),f.styledMode||(m.attr({stroke:d.color||(l?z.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":v(d.width,1)}).css({"pointer-events":"none"}),d.dashStyle&&m.attr({dashstyle:d.dashStyle})));m.show().attr({d:k});l&&!d.width&&m.attr({"stroke-width":this.transA});this.cross.e=a}else this.hideCrosshair();c(this,"afterDrawCrosshair",{e:a,point:g})};b.prototype.hideCrosshair=function(){this.cross&&this.cross.hide();
236
+ c(this,"afterHideCrosshair")};b.prototype.hasVerticalPanning=function(){var c=this.chart.options.chart.panning;return!!(c&&c.enabled&&/y/.test(c.type))};b.prototype.validatePositiveValue=function(c){return m(c)&&0<c};b.prototype.update=function(c,a){var d=this.chart;c=g(this.userOptions,c);this.destroy(!0);this.init(d,c);d.isDirtyBox=!0;v(a,!0)&&d.redraw()};b.prototype.remove=function(c){for(var a=this.chart,g=this.coll,d=this.series,l=d.length;l--;)d[l]&&d[l].remove(!1);x(a.axes,this);x(a[g],this);
237
+ a[g].forEach(function(c,a){c.options.index=c.userOptions.index=a});this.destroy();a.isDirtyBox=!0;v(c,!0)&&a.redraw()};b.prototype.setTitle=function(c,a){this.update({title:c},a)};b.prototype.setCategories=function(c,a){this.update({categories:c},a)};b.defaultOptions=e.defaultXAxisOptions;b.keepProps="extKey hcEvents names series userMax userMin".split(" ");return b}();"";return b});H(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],function(b){var e=b.addEvent,z=b.getMagnitude,C=b.normalizeTickInterval,
238
+ w=b.timeUnits,y;(function(b){function t(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function r(a){"datetime"!==a.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new h(this))}var n=[];b.compose=function(a){-1===n.indexOf(a)&&(n.push(a),a.keepProps.push("dateTime"),a.prototype.getTimeTicks=t,e(a,"init",r));return a};var h=function(){function a(a){this.axis=a}a.prototype.normalizeTimeTickInterval=function(a,d){var f=d||[["millisecond",[1,2,5,10,20,25,50,
239
+ 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]];d=f[f.length-1];var b=w[d[0]],h=d[1],e;for(e=0;e<f.length&&!(d=f[e],b=w[d[0]],h=d[1],f[e+1]&&a<=(b*h[h.length-1]+w[f[e+1][0]])/2);e++);b===w.year&&a<5*b&&(h=[1,2,5]);a=C(a/b,h,"year"===d[0]?Math.max(z(a/b),1):1);return{unitRange:b,count:a,unitName:d[0]}};a.prototype.getXDateFormat=function(a,d){var f=this.axis,b=f.chart.time;return f.closestPointRange?
240
+ b.getDateFormat(f.closestPointRange,a,f.options.startOfWeek,d)||b.resolveDTLFormat(d.year).main:b.resolveDTLFormat(d.day).main};return a}();b.Additions=h})(y||(y={}));return y});H(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],function(b){var e=b.addEvent,z=b.normalizeTickInterval,C=b.pick,w;(function(b){function y(b){var a=this.logarithmic;"logarithmic"!==b.userOptions.type?this.logarithmic=void 0:a||(this.logarithmic=new n(this))}function t(){var b=this.logarithmic;b&&(this.lin2val=function(a){return b.lin2log(a)},
241
+ this.val2lin=function(a){return b.log2lin(a)})}var r=[];b.compose=function(b){-1===r.indexOf(b)&&(r.push(b),b.keepProps.push("logarithmic"),e(b,"init",y),e(b,"afterInit",t));return b};var n=function(){function b(a){this.axis=a}b.prototype.getLogTickPositions=function(a,f,d,b){var k=this.axis,h=k.len,e=k.options,n=[];b||(this.minorAutoInterval=void 0);if(.5<=a)a=Math.round(a),n=k.getLinearTickPositions(a,f,d);else if(.08<=a){var E=Math.floor(f),q,c=e=void 0;for(h=.3<a?[1,2,4]:.15<a?[1,2,4,6,8]:[1,
242
+ 2,3,4,5,6,7,8,9];E<d+1&&!c;E++){var B=h.length;for(q=0;q<B&&!c;q++){var m=this.log2lin(this.lin2log(E)*h[q]);m>f&&(!b||e<=d)&&"undefined"!==typeof e&&n.push(e);e>d&&(c=!0);e=m}}}else f=this.lin2log(f),d=this.lin2log(d),a=b?k.getMinorTickInterval():e.tickInterval,a=C("auto"===a?null:a,this.minorAutoInterval,e.tickPixelInterval/(b?5:1)*(d-f)/((b?h/k.tickPositions.length:h)||1)),a=z(a),n=k.getLinearTickPositions(a,f,d).map(this.log2lin),b||(this.minorAutoInterval=a/5);b||(k.tickInterval=a);return n};
243
+ b.prototype.lin2log=function(a){return Math.pow(10,a)};b.prototype.log2lin=function(a){return Math.log(a)/Math.LN10};return b}();b.Additions=n})(w||(w={}));return w});H(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],function(b){var e=b.erase,z=b.extend,C=b.isNumber,w;(function(b){var y=[],t;b.compose=function(b,h){t||(t=b);-1===y.indexOf(h)&&(y.push(h),z(h.prototype,r.prototype));return h};var r=function(){function b(){}b.prototype.getPlotBandPath=function(b,a,f){void 0===
244
+ f&&(f=this.options);var d=this.getPlotLinePath({value:a,force:!0,acrossPanes:f.acrossPanes}),k=[],h=this.horiz;a=!C(this.min)||!C(this.max)||b<this.min&&a<this.min||b>this.max&&a>this.max;b=this.getPlotLinePath({value:b,force:!0,acrossPanes:f.acrossPanes});f=1;if(b&&d){if(a){var e=b.toString()===d.toString();f=0}for(a=0;a<b.length;a+=2){var n=b[a],x=b[a+1],E=d[a],q=d[a+1];"M"!==n[0]&&"L"!==n[0]||"M"!==x[0]&&"L"!==x[0]||"M"!==E[0]&&"L"!==E[0]||"M"!==q[0]&&"L"!==q[0]||(h&&E[1]===n[1]?(E[1]+=f,q[1]+=
245
+ f):h||E[2]!==n[2]||(E[2]+=f,q[2]+=f),k.push(["M",n[1],n[2]],["L",x[1],x[2]],["L",q[1],q[2]],["L",E[1],E[2]],["Z"]));k.isFlat=e}}return k};b.prototype.addPlotBand=function(b){return this.addPlotBandOrLine(b,"plotBands")};b.prototype.addPlotLine=function(b){return this.addPlotBandOrLine(b,"plotLines")};b.prototype.addPlotBandOrLine=function(b,a){var f=this,d=this.userOptions,k=new t(this,b);this.visible&&(k=k.render());if(k){this._addedPlotLB||(this._addedPlotLB=!0,(d.plotLines||[]).concat(d.plotBands||
246
+ []).forEach(function(a){f.addPlotBandOrLine(a)}));if(a){var h=d[a]||[];h.push(b);d[a]=h}this.plotLinesAndBands.push(k)}return k};b.prototype.removePlotBandOrLine=function(b){var a=this.plotLinesAndBands,f=this.options,d=this.userOptions;if(a){for(var k=a.length;k--;)a[k].id===b&&a[k].destroy();[f.plotLines||[],d.plotLines||[],f.plotBands||[],d.plotBands||[]].forEach(function(a){for(k=a.length;k--;)(a[k]||{}).id===b&&e(a,a[k])})}};b.prototype.removePlotBand=function(b){this.removePlotBandOrLine(b)};
247
+ b.prototype.removePlotLine=function(b){this.removePlotBandOrLine(b)};return b}()})(w||(w={}));return w});H(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],function(b,e){var z=e.arrayMax,I=e.arrayMin,w=e.defined,y=e.destroyObjectProperties,G=e.erase,t=e.fireEvent,r=e.merge,n=e.objectEach,h=e.pick;e=function(){function a(a,d){this.axis=a;d&&(this.options=d,this.id=d.id)}a.compose=function(f){return b.compose(a,f)};a.prototype.render=
248
+ function(){t(this,"render");var a=this,d=a.axis,b=d.horiz,e=d.logarithmic,D=a.options,A=D.color,x=h(D.zIndex,0),E=D.events,q={},c=d.chart.renderer,B=D.label,m=a.label,u=D.to,g=D.from,F=D.value,l=a.svgElem,v=[],K=w(g)&&w(u);v=w(F);var J=!l,M={"class":"highcharts-plot-"+(K?"band ":"line ")+(D.className||"")},S=K?"bands":"lines";e&&(g=e.log2lin(g),u=e.log2lin(u),F=e.log2lin(F));d.chart.styledMode||(v?(M.stroke=A||"#999999",M["stroke-width"]=h(D.width,1),D.dashStyle&&(M.dashstyle=D.dashStyle)):K&&(M.fill=
249
+ A||"#e6ebf5",D.borderWidth&&(M.stroke=D.borderColor,M["stroke-width"]=D.borderWidth)));q.zIndex=x;S+="-"+x;(e=d.plotLinesAndBandsGroups[S])||(d.plotLinesAndBandsGroups[S]=e=c.g("plot-"+S).attr(q).add());J&&(a.svgElem=l=c.path().attr(M).add(e));if(v)v=d.getPlotLinePath({value:F,lineWidth:l.strokeWidth(),acrossPanes:D.acrossPanes});else if(K)v=d.getPlotBandPath(g,u,D);else return;!a.eventsAdded&&E&&(n(E,function(c,g){l.on(g,function(c){E[g].apply(a,[c])})}),a.eventsAdded=!0);(J||!l.d)&&v&&v.length?
250
+ l.attr({d:v}):l&&(v?(l.show(),l.animate({d:v})):l.d&&(l.hide(),m&&(a.label=m=m.destroy())));B&&(w(B.text)||w(B.formatter))&&v&&v.length&&0<d.width&&0<d.height&&!v.isFlat?(B=r({align:b&&K&&"center",x:b?!K&&4:10,verticalAlign:!b&&K&&"middle",y:b?K?16:10:K?6:-4,rotation:b&&!K&&90},B),this.renderLabel(B,v,K,x)):m&&m.hide();return a};a.prototype.renderLabel=function(a,d,b,h){var f=this.axis,k=f.chart.renderer,e=this.label;e||(this.label=e=k.text(this.getLabelText(a),0,0,a.useHTML).attr({align:a.textAlign||
251
+ a.align,rotation:a.rotation,"class":"highcharts-plot-"+(b?"band":"line")+"-label "+(a.className||""),zIndex:h}).add(),f.chart.styledMode||e.css(r({textOverflow:"ellipsis"},a.style)));h=d.xBounds||[d[0][1],d[1][1],b?d[2][1]:d[0][1]];d=d.yBounds||[d[0][2],d[1][2],b?d[2][2]:d[0][2]];b=I(h);k=I(d);e.align(a,!1,{x:b,y:k,width:z(h)-b,height:z(d)-k});e.alignValue&&"left"!==e.alignValue||e.css({width:(90===e.rotation?f.height-(e.alignAttr.y-f.top):f.width-(e.alignAttr.x-f.left))+"px"});e.show(!0)};a.prototype.getLabelText=
252
+ function(a){return w(a.formatter)?a.formatter.call(this):a.text};a.prototype.destroy=function(){G(this.axis.plotLinesAndBands,this);delete this.axis;y(this)};return a}();"";"";return e});H(e,"Core/Tooltip.js",[e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(b,e,z,C,w){var y=b.format,G=e.doc,t=z.distribute,r=w.clamp,n=w.css,h=w.discardElement,a=w.extend,f=w.fireEvent,d=w.isArray,k=w.isNumber,
253
+ p=w.isString,D=w.merge,A=w.pick,x=w.splat,E=w.syncTimeout;b=function(){function b(c,a){this.allowShared=!0;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,a)}b.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",
254
+ 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.prototype.bodyFormatter=function(c){return c.map(function(c){var a=c.series.tooltipOptions;return(a[(c.point.formatPrefix||"point")+"Formatter"]||c.point.tooltipFormatter).call(c.point,a[(c.point.formatPrefix||"point")+"Format"]||"")})};b.prototype.cleanSplit=
255
+ function(c){this.chart.series.forEach(function(a){var d=a&&a.tt;d&&(!d.isActive||c?a.tt=d.destroy():d.isActive=!1)})};b.prototype.defaultFormatter=function(c){var a=this.points||x(this);var d=[c.tooltipFooterHeaderFormatter(a[0])];d=d.concat(c.bodyFormatter(a));d.push(c.tooltipFooterHeaderFormatter(a[0],!0));return d};b.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),
256
+ h(this.container));w.clearTimeout(this.hideTimer);w.clearTimeout(this.tooltipTimeout)};b.prototype.getAnchor=function(c,a){var d=this.chart,b=d.pointer,g=d.inverted,f=d.plotTop,l=d.plotLeft,k,h,q=0,e=0;c=x(c);this.followPointer&&a?("undefined"===typeof a.chartX&&(a=b.normalize(a)),b=[a.chartX-l,a.chartY-f]):c[0].tooltipPos?b=c[0].tooltipPos:(c.forEach(function(c){k=c.series.yAxis;h=c.series.xAxis;q+=c.plotX||0;e+=c.plotLow?(c.plotLow+(c.plotHigh||0))/2:c.plotY||0;h&&k&&(g?(q+=f+d.plotHeight-h.len-
257
+ h.pos,e+=l+d.plotWidth-k.len-k.pos):(q+=h.pos-l,e+=k.pos-f))}),q/=c.length,e/=c.length,b=[g?d.plotWidth-e:q,g?d.plotHeight-q:e],this.shared&&1<c.length&&a&&(g?b[0]=a.chartX-l:b[1]=a.chartY-f));return b.map(Math.round)};b.prototype.getClassName=function(c,a,d){var b=c.series,g=b.options;return[this.options.className,"highcharts-label",d&&"highcharts-tooltip-header",a?"highcharts-tooltip-box":"highcharts-tooltip",!d&&"highcharts-color-"+A(c.colorIndex,b.colorIndex),g&&g.className].filter(p).join(" ")};
258
+ b.prototype.getLabel=function(){var c=this,a=this.chart.styledMode,d=this.options,b=this.split&&this.allowShared,g=d.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none"),f,l=this.chart.renderer;if(c.label){var k=!c.label.hasClass("highcharts-label");(b&&!k||!b&&k)&&c.destroy()}if(!this.label){if(this.outside){k=this.chart.options.chart.style;var h=C.getRendererType();this.container=f=e.doc.createElement("div");f.className="highcharts-tooltip-container";n(f,{position:"absolute",top:"1px",
259
+ pointerEvents:g,zIndex:Math.max(this.options.style.zIndex||0,(k&&k.zIndex||0)+3)});e.doc.body.appendChild(f);this.renderer=l=new h(f,0,0,k,void 0,void 0,l.styledMode)}b?this.label=l.g("tooltip"):(this.label=l.label("",0,0,d.shape,void 0,void 0,d.useHTML,void 0,"tooltip").attr({padding:d.padding,r:d.borderRadius}),a||this.label.attr({fill:d.backgroundColor,"stroke-width":d.borderWidth}).css(d.style).css({pointerEvents:g}).shadow(d.shadow));a&&d.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+
260
+ this.chart.index+")"}));if(c.outside&&!c.split){var q=this.label,p=q.xSetter,A=q.ySetter;q.xSetter=function(a){p.call(q,c.distance);f.style.left=a+"px"};q.ySetter=function(a){A.call(q,c.distance);f.style.top=a+"px"}}this.label.attr({zIndex:8}).add()}return this.label};b.prototype.getPosition=function(c,a,d){var b=this.chart,g=this.distance,f={},l=b.inverted&&d.h||0,m=this.outside,k=m?G.documentElement.clientWidth-2*g:b.chartWidth,h=m?Math.max(G.body.scrollHeight,G.documentElement.scrollHeight,G.body.offsetHeight,
261
+ G.documentElement.offsetHeight,G.documentElement.clientHeight):b.chartHeight,q=b.pointer.getChartPosition(),e=function(l){var f="x"===l;return[l,f?k:h,f?c:a].concat(m?[f?c*q.scaleX:a*q.scaleY,f?q.left-g+(d.plotX+b.plotLeft)*q.scaleX:q.top-g+(d.plotY+b.plotTop)*q.scaleY,0,f?k:h]:[f?c:a,f?d.plotX+b.plotLeft:d.plotY+b.plotTop,f?b.plotLeft:b.plotTop,f?b.plotLeft+b.plotWidth:b.plotTop+b.plotHeight])},B=e("y"),p=e("x"),n;e=!!d.negative;!b.polar&&b.hoverSeries&&b.hoverSeries.yAxis&&b.hoverSeries.yAxis.reversed&&
262
+ (e=!e);var x=!this.followPointer&&A(d.ttBelow,!b.inverted===e),D=function(c,a,d,b,k,h,v){var u=m?"y"===c?g*q.scaleY:g*q.scaleX:g,F=(d-b)/2,e=b<k-g,B=k+g+b<a,p=k-u-d+F;k=k+u-F;if(x&&B)f[c]=k;else if(!x&&e)f[c]=p;else if(e)f[c]=Math.min(v-b,0>p-l?p:p-l);else if(B)f[c]=Math.max(h,k+l+d>a?k:k+l);else return!1},E=function(c,a,d,b,l){var m;l<g||l>a-g?m=!1:f[c]=l<d/2?1:l>a-b/2?a-b-2:l-d/2;return m},r=function(c){var a=B;B=p;p=a;n=c},Q=function(){!1!==D.apply(0,B)?!1!==E.apply(0,p)||n||(r(!0),Q()):n?f.x=
263
+ f.y=0:(r(!0),Q())};(b.inverted||1<this.len)&&r();Q();return f};b.prototype.hide=function(c){var a=this;w.clearTimeout(this.hideTimer);c=A(c,this.options.hideDelay);this.isHidden||(this.hideTimer=E(function(){a.getLabel().fadeOut(c?void 0:c);a.isHidden=!0},c))};b.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=A(a.outside,!(!c.scrollablePixelsX&&!c.scrollablePixelsY))};
264
+ b.prototype.shouldStickOnContact=function(c){return!(this.followPointer||!this.options.stickOnContact||c&&!this.chart.pointer.inClass(c.target,"highcharts-tooltip"))};b.prototype.move=function(c,d,b,f){var g=this,m=g.now,l=!1!==g.options.animation&&!g.isHidden&&(1<Math.abs(c-m.x)||1<Math.abs(d-m.y)),k=g.followPointer||1<g.len;a(m,{x:l?(2*m.x+c)/3:c,y:l?(m.y+d)/2:d,anchorX:k?void 0:l?(2*m.anchorX+b)/3:b,anchorY:k?void 0:l?(m.anchorY+f)/2:f});g.getLabel().attr(m);g.drawTracker();l&&(w.clearTimeout(this.tooltipTimeout),
265
+ this.tooltipTimeout=setTimeout(function(){g&&g.move(c,d,b,f)},32))};b.prototype.refresh=function(c,a){var b=this.chart,k=this.options,g=b.pointer,h=x(c),l=h[0],v=[],q=k.formatter||this.defaultFormatter,e=this.shared,B=b.styledMode,p={};if(k.enabled&&l.series){w.clearTimeout(this.hideTimer);this.allowShared=!(!d(c)&&c.series&&c.series.noSharedTooltip);this.followPointer=!this.split&&l.series.tooltipOptions.followPointer;c=this.getAnchor(c,a);var n=c[0],D=c[1];e&&this.allowShared?(g.applyInactiveState(h),
266
+ h.forEach(function(c){c.setState("hover");v.push(c.getLabelConfig())}),p={x:l.category,y:l.y},p.points=v):p=l.getLabelConfig();this.len=v.length;q=q.call(p,this);e=l.series;this.distance=A(e.tooltipOptions.distance,16);if(!1===q)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(q,h);else{var E=n,r=D;a&&g.isDirectTouch&&(E=a.chartX-b.plotLeft,r=a.chartY-b.plotTop);if(b.polar||!1===e.options.clip||h.some(function(c){return g.isDirectTouch||c.series.shouldShowTooltip(E,r)}))a=this.getLabel(),
267
+ k.style.width&&!B||a.css({width:b.spacingBox.width+"px"}),a.attr({text:q&&q.join?q.join(""):q}),a.addClass(this.getClassName(l),!0),B||a.attr({stroke:k.borderColor||l.color||e.color||"#666666"}),this.updatePosition({plotX:n,plotY:D,negative:l.negative,ttBelow:l.ttBelow,h:c[2]||0});else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show();this.isHidden=!1}f(this,"refresh")}};b.prototype.renderSplit=function(c,d){function b(c,a,g,d,b){void 0===b&&(b=!0);g?(a=U?0:aa,c=r(c-
268
+ d/2,T.left,T.right-d-(f.outside?P:0))):(a-=X,c=b?c-d-w:c+w,c=r(c,b?c:T.left,T.right));return{x:c,y:a}}var f=this,g=f.chart,k=f.chart,l=k.chartWidth,h=k.chartHeight,q=k.plotHeight,e=k.plotLeft,B=k.plotTop,n=k.pointer,x=k.scrollablePixelsY;x=void 0===x?0:x;var D=k.scrollablePixelsX,E=k.scrollingContainer;E=void 0===E?{scrollLeft:0,scrollTop:0}:E;var y=E.scrollLeft;E=E.scrollTop;var z=k.styledMode,w=f.distance,I=f.options,Q=f.options.positioner,T=f.outside&&"number"!==typeof D?G.documentElement.getBoundingClientRect():
269
+ {left:y,right:y+l,top:E,bottom:E+h},V=f.getLabel(),C=this.renderer||g.renderer,U=!(!g.xAxis[0]||!g.xAxis[0].opposite);g=n.getChartPosition();var P=g.left;g=g.top;var X=B+E,O=0,aa=q-x;p(c)&&(c=[!1,c]);c=c.slice(0,d.length+1).reduce(function(c,a,g){if(!1!==a&&""!==a){g=d[g-1]||{isHeader:!0,plotX:d[0].plotX,plotY:q,series:{}};var l=g.isHeader,m=l?f:g.series;a=a.toString();var k=m.tt,h=g.isHeader;var v=g.series;k||(k={padding:I.padding,r:I.borderRadius},z||(k.fill=I.backgroundColor,k["stroke-width"]=
270
+ I.borderWidth),k=C.label("",0,0,I[h?"headerShape":"shape"],void 0,void 0,I.useHTML).addClass(f.getClassName(g,!0,h)).attr(k).add(V));k.isActive=!0;k.attr({text:a});z||k.css(I.style).shadow(I.shadow).attr({stroke:I.borderColor||g.color||v.color||"#333333"});m=m.tt=k;h=m.getBBox();a=h.width+m.strokeWidth();l&&(O=h.height,aa+=O,U&&(X-=O));v=g.plotX;v=void 0===v?0:v;k=g.plotY;k=void 0===k?0:k;var u=g.series;if(g.isHeader){v=e+v;var F=B+q/2}else{var p=u.xAxis,n=u.yAxis;v=p.pos+r(v,-w,p.len+w);u.shouldShowTooltip(0,
271
+ n.pos-B+k,{ignoreX:!0})&&(F=n.pos+k)}v=r(v,T.left-w,T.right+w);"number"===typeof F?(h=h.height+1,k=Q?Q.call(f,a,h,g):b(v,F,l,a),c.push({align:Q?0:void 0,anchorX:v,anchorY:F,boxWidth:a,point:g,rank:A(k.rank,l?1:0),size:h,target:k.y,tt:m,x:k.x})):m.isActive=!1}return c},[]);!Q&&c.some(function(c){var a=(f.outside?P:0)+c.anchorX;return a<T.left&&a+c.boxWidth<T.right?!0:a<P-T.left+c.boxWidth&&T.right-a>a})&&(c=c.map(function(c){var g=b(c.anchorX,c.anchorY,c.point.isHeader,c.boxWidth,!1);return a(c,{target:g.y,
272
+ x:g.x})}));f.cleanSplit();t(c,aa);var H=P,ca=P;c.forEach(function(c){var a=c.x,g=c.boxWidth;c=c.isHeader;c||(f.outside&&P+a<H&&(H=P+a),!c&&f.outside&&H+g>ca&&(ca=P+a))});c.forEach(function(c){var a=c.x,g=c.anchorX,d=c.pos,b=c.point.isHeader;d={visibility:"undefined"===typeof d?"hidden":"inherit",x:a,y:(d||0)+X,anchorX:g,anchorY:c.anchorY};if(f.outside&&a<g){var l=P-H;0<l&&(b||(d.x=a+l,d.anchorX=g+l),b&&(d.x=(ca-H)/2,d.anchorX=g+l))}c.tt.attr(d)});c=f.container;x=f.renderer;f.outside&&c&&x&&(k=V.getBBox(),
273
+ x.setSize(k.width+k.x,k.height+k.y,!1),c.style.left=H+"px",c.style.top=g+"px")};b.prototype.drawTracker=function(){if(this.shouldStickOnContact()){var c=this.chart,a=this.label,d=this.shared?c.hoverPoints:c.hoverPoint;if(a&&d){var b={x:0,y:0,width:0,height:0};d=this.getAnchor(d);var g=a.getBBox();d[0]+=c.plotLeft-a.translateX;d[1]+=c.plotTop-a.translateY;b.x=Math.min(0,d[0]);b.y=Math.min(0,d[1]);b.width=0>d[0]?Math.max(Math.abs(d[0]),g.width-d[0]):Math.max(Math.abs(d[0]),g.width);b.height=0>d[1]?
274
+ Math.max(Math.abs(d[1]),g.height-Math.abs(d[1])):Math.max(Math.abs(d[1]),g.height);this.tracker?this.tracker.attr(b):(this.tracker=a.renderer.rect(b).addClass("highcharts-tracker").add(a),c.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()};b.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} {series.options.className} {point.options.className}"')};
275
+ b.prototype.tooltipFooterHeaderFormatter=function(c,a){var d=c.series,b=d.tooltipOptions,g=d.xAxis,h=g&&g.dateTime;g={isFooter:a,labelConfig:c};var l=b.xDateFormat,v=b[a?"footerFormat":"headerFormat"];f(this,"headerFormatter",g,function(a){h&&!l&&k(c.key)&&(l=h.getXDateFormat(c.key,b.dateTimeLabelFormats));h&&l&&(c.point&&c.point.tooltipDateKeys||["key"]).forEach(function(c){v=v.replace("{point."+c+"}","{point."+c+":"+l+"}")});d.chart.styledMode&&(v=this.styledModeFormat(v));a.text=y(v,{point:c,series:d},
276
+ this.chart)});return g.text};b.prototype.update=function(c){this.destroy();D(!0,this.chart.options.tooltip.userOptions,c);this.init(this.chart,D(!0,this.options,c))};b.prototype.updatePosition=function(c){var a=this.chart,d=this.options,b=a.pointer,g=this.getLabel();b=b.getChartPosition();var f=(d.positioner||this.getPosition).call(this,g.width,g.height,c),l=c.plotX+a.plotLeft;c=c.plotY+a.plotTop;if(this.outside){d=d.borderWidth+2*this.distance;this.renderer.setSize(g.width+d,g.height+d,!1);if(1!==
277
+ b.scaleX||1!==b.scaleY)n(this.container,{transform:"scale(".concat(b.scaleX,", ").concat(b.scaleY,")")}),l*=b.scaleX,c*=b.scaleY;l+=b.left-f.x;c+=b.top-f.y}this.move(Math.round(f.x),Math.round(f.y||0),l,c)};return b}();"";return b});H(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/FormatUtilities.js"],e["Core/Utilities.js"]],function(b,e,z,C,w){var y=e.animObject,G=z.defaultOptions,t=C.format,r=w.addEvent,n=w.defined,
278
+ h=w.erase,a=w.extend,f=w.fireEvent,d=w.getNestedProperty,k=w.isArray,p=w.isFunction,D=w.isNumber,A=w.isObject,x=w.merge,E=w.objectEach,q=w.pick,c=w.syncTimeout,B=w.removeEvent,m=w.uniqueKey;e=function(){function e(){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.shapeArgs=this.series=void 0;this.visible=!0;this.x=void 0}e.prototype.animateBeforeDestroy=function(){var c=this,d={x:c.startXPos,
279
+ opacity:0},b=c.getGraphicalProps();b.singular.forEach(function(a){c[a]=c[a].animate("dataLabel"===a?{x:c[a].startXPos,y:c[a].startYPos,opacity:0}:d)});b.plural.forEach(function(g){c[g].forEach(function(g){g.element&&g.animate(a({x:c.startXPos},g.startYPos?{x:g.startXPos,y:g.startYPos}:{}))})})};e.prototype.applyOptions=function(c,d){var g=this.series,b=g.options.pointValKey||g.pointValKey;c=e.prototype.optionsToObject.call(this,c);a(this,c);this.options=this.options?a(this.options,c):c;c.group&&delete this.group;
280
+ c.dataLabels&&delete this.dataLabels;b&&(this.y=e.prototype.getNestedProperty.call(this,b));this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof d&&g.xAxis&&g.xAxis.hasNames&&(this.x=g.xAxis.nameToX(this));"undefined"===typeof this.x&&g?this.x="undefined"===typeof d?g.autoIncrement():d:D(c.x)&&g.options.relativeXValue&&(this.x=g.autoIncrement(c.x));return this};e.prototype.destroy=function(){function a(){if(d.graphic||
281
+ d.graphics||d.dataLabel||d.dataLabels)B(d),d.destroyElements();for(e in d)d[e]=null}var d=this,b=d.series,f=b.chart;b=b.options.dataSorting;var m=f.hoverPoints,k=y(d.series.chart.renderer.globalAnimation),e;d.legendItem&&f.legend.destroyItem(d);m&&(d.setState(),h(m,d),m.length||(f.hoverPoints=null));if(d===f.hoverPoint)d.onMouseOut();b&&b.enabled?(this.animateBeforeDestroy(),c(a,k.duration)):a();f.pointCount--};e.prototype.destroyElements=function(c){var a=this;c=a.getGraphicalProps(c);c.singular.forEach(function(c){a[c]=
282
+ a[c].destroy()});c.plural.forEach(function(c){a[c].forEach(function(c){c.element&&c.destroy()});delete a[c]})};e.prototype.firePointEvent=function(c,a,d){var g=this,b=this.series.options;(b.point.events[c]||g.options&&g.options.events&&g.options.events[c])&&g.importEvents();"click"===c&&b.allowPointSelect&&(d=function(c){g.select&&g.select(null,c.ctrlKey||c.metaKey||c.shiftKey)});f(g,c,a,d)};e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+
283
+ (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(c){var a=this,g=[],d={singular:[],plural:[]},b;c=c||{graphic:1,dataLabel:1};c.graphic&&g.push("graphic","shadowGroup");c.dataLabel&&g.push("dataLabel",
284
+ "dataLabelPath","dataLabelUpper","connector");for(b=g.length;b--;){var f=g[b];a[f]&&d.singular.push(f)}["graphic","dataLabel","connector"].forEach(function(g){var b=g+"s";c[g]&&a[b]&&d.plural.push(b)});return d};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(c){if(c)return 0===
285
+ c.indexOf("custom.")?d(c,this.options):this[c]};e.prototype.getZone=function(){var c=this.series,a=c.zones;c=c.zoneAxis||"y";var d,b=0;for(d=a[b];this[c]>=d.value;)d=a[++b];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=d&&d.color&&!this.options.color?d.color:this.nonZonedColor;return d};e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};e.prototype.init=function(c,a,d){this.series=c;this.applyOptions(a,
286
+ d);this.id=n(this.id)?this.id:m();this.resolveColor();c.chart.pointCount++;f(this,"afterInit");return this};e.prototype.isValid=function(){return null!==this.x&&D(this.y)};e.prototype.optionsToObject=function(c){var a=this.series,g=a.options.keys,d=g||a.pointArrayMap||["y"],b=d.length,f={},m=0,h=0;if(D(c)||null===c)f[d[0]]=c;else if(k(c))for(!g&&c.length>b&&(a=typeof c[0],"string"===a?f.name=c[0]:"number"===a&&(f.x=c[0]),m++);h<b;)g&&"undefined"===typeof c[m]||(0<d[h].indexOf(".")?e.prototype.setNestedProperty(f,
287
+ c[m],d[h]):f[d[h]]=c[m]),m++,h++;else"object"===typeof c&&(f=c,c.dataLabels&&(a._hasPointLabels=!0),c.marker&&(a._hasPointMarkers=!0));return f};e.prototype.resolveColor=function(){var c=this.series,a=c.chart.styledMode;var d=c.chart.options.chart.colorCount;delete this.nonZonedColor;if(c.options.colorByPoint){if(!a){d=c.options.colors||c.chart.options.colors;var b=d[c.colorCounter];d=d.length}a=c.colorCounter;c.colorCounter++;c.colorCounter===d&&(c.colorCounter=0)}else a||(b=c.color),a=c.colorIndex;
288
+ this.colorIndex=q(this.options.colorIndex,a);this.color=q(this.options.color,b)};e.prototype.setNestedProperty=function(c,a,d){d.split(".").reduce(function(c,d,g,b){c[d]=b.length-1===g?a:A(c[d],!0)?c[d]:{};return c[d]},c);return c};e.prototype.shouldDraw=function(){return!this.isNull};e.prototype.tooltipFormatter=function(c){var a=this.series,d=a.tooltipOptions,g=q(d.valueDecimals,""),b=d.valuePrefix||"",f=d.valueSuffix||"";a.chart.styledMode&&(c=a.chart.tooltip.styledModeFormat(c));(a.pointArrayMap||
289
+ ["y"]).forEach(function(a){a="{point."+a;if(b||f)c=c.replace(RegExp(a+"}","g"),b+a+"}"+f);c=c.replace(RegExp(a+"}","g"),a+":,."+g+"f}")});return t(c,{point:this,series:this.series},a.chart)};e.prototype.update=function(c,a,d,b){function g(){f.applyOptions(c);var g=m&&f.hasMockGraphic;g=null===f.y?!g:g;m&&g&&(f.graphic=m.destroy(),delete f.hasMockGraphic);A(c,!0)&&(m&&m.element&&c&&c.marker&&"undefined"!==typeof c.marker.symbol&&(f.graphic=m.destroy()),c&&c.dataLabels&&f.dataLabel&&(f.dataLabel=f.dataLabel.destroy()),
290
+ f.connector&&(f.connector=f.connector.destroy()));e=f.index;l.updateParallelArrays(f,e);h.data[e]=A(h.data[e],!0)||A(c,!0)?f.options:q(c,h.data[e]);l.isDirty=l.isDirtyData=!0;!l.fixedBox&&l.hasCartesianSeries&&(k.isDirtyBox=!0);"point"===h.legendType&&(k.isDirtyLegend=!0);a&&k.redraw(d)}var f=this,l=f.series,m=f.graphic,k=l.chart,h=l.options,e;a=q(a,!0);!1===b?g():f.firePointEvent("update",{options:c},g)};e.prototype.remove=function(c,a){this.series.removePoint(this.series.data.indexOf(this),c,a)};
291
+ e.prototype.select=function(c,a){var d=this,g=d.series,b=g.chart;this.selectedStaging=c=q(c,!d.selected);d.firePointEvent(c?"select":"unselect",{accumulate:a},function(){d.selected=d.options.selected=c;g.options.data[g.data.indexOf(d)]=d.options;d.setState(c&&"select");a||b.getSelectedPoints().forEach(function(c){var a=c.series;c.selected&&c!==d&&(c.selected=c.options.selected=!1,a.options.data[a.data.indexOf(c)]=c.options,c.setState(b.hoverPoints&&a.options.inactiveOtherPoints?"inactive":""),c.firePointEvent("unselect"))})});
292
+ delete this.selectedStaging};e.prototype.onMouseOver=function(c){var a=this.series.chart,d=a.pointer;c=c?d.normalize(c):d.getChartCoordinatesFromPoint(this,a.inverted);d.runPointActions(c,this)};e.prototype.onMouseOut=function(){var c=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(c.hoverPoints||[]).forEach(function(c){c.setState()});c.hoverPoints=c.hoverPoint=null};e.prototype.importEvents=function(){if(!this.hasImportedEvents){var c=this,a=x(c.series.options.point,
293
+ c.options).events;c.events=a;E(a,function(a,d){p(a)&&r(c,d,a)});this.hasImportedEvents=!0}};e.prototype.setState=function(c,d){var g=this.series,m=this.state,k=g.options.states[c||"normal"]||{},h=G.plotOptions[g.type].marker&&g.options.marker,e=h&&!1===h.enabled,u=h&&h.states&&h.states[c||"normal"]||{},B=!1===u.enabled,F=this.marker||{},p=g.chart,n=h&&g.markerAttribs,A=g.halo,x,E=g.stateMarkerGraphic;c=c||"";if(!(c===this.state&&!d||this.selected&&"select"!==c||!1===k.enabled||c&&(B||e&&!1===u.enabled)||
294
+ c&&F.states&&F.states[c]&&!1===F.states[c].enabled)){this.state=c;n&&(x=g.markerAttribs(this,c));if(this.graphic&&!this.hasMockGraphic){m&&this.graphic.removeClass("highcharts-point-"+m);c&&this.graphic.addClass("highcharts-point-"+c);if(!p.styledMode){m=g.pointAttribs(this,c);var Q=q(p.options.chart.animation,k.animation);var r=m.opacity;g.options.inactiveOtherPoints&&D(r)&&((this.dataLabels||[]).forEach(function(c){c&&!c.hasClass("highcharts-data-label-hidden")&&c.animate({opacity:r},Q)}),this.connector&&
295
+ this.connector.animate({opacity:r},Q));this.graphic.animate(m,Q)}x&&this.graphic.animate(x,q(p.options.chart.animation,u.animation,h.animation));E&&E.hide()}else{if(c&&u){h=F.symbol||g.symbol;E&&E.currentSymbol!==h&&(E=E.destroy());if(x)if(E)E[d?"animate":"attr"]({x:x.x,y:x.y});else h&&(g.stateMarkerGraphic=E=p.renderer.symbol(h,x.x,x.y,x.width,x.height).add(g.markerGroup),E.currentSymbol=h);!p.styledMode&&E&&"inactive"!==this.state&&E.attr(g.pointAttribs(this,c))}E&&(E[c&&this.isInside?"show":"hide"](),
296
+ E.element.point=this,E.addClass(this.getClassName(),!0))}k=k.halo;x=(E=this.graphic||E)&&E.visibility||"inherit";k&&k.size&&E&&"hidden"!==x&&!this.isCluster?(A||(g.halo=A=p.renderer.path().add(E.parentGroup)),A.show()[d?"animate":"attr"]({d:this.haloPath(k.size)}),A.attr({"class":"highcharts-halo highcharts-color-"+q(this.colorIndex,g.colorIndex)+(this.className?" "+this.className:""),visibility:x,zIndex:-1}),A.point=this,p.styledMode||A.attr(a({fill:this.color||g.color,"fill-opacity":k.opacity},
297
+ b.filterUserAttributes(k.attributes||{})))):A&&A.point&&A.point.haloPath&&A.animate({d:A.point.haloPath(0)},null,A.hide);f(this,"afterSetState",{state:c})}};e.prototype.haloPath=function(c){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-c,this.plotY-c,2*c,2*c)};return e}();"";return e});H(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Tooltip.js"],e["Core/Utilities.js"]],function(b,e,z,C){var w=b.parse,y=e.charts,G=e.noop,t=C.addEvent,r=C.attr,
298
+ n=C.css,h=C.defined,a=C.extend,f=C.find,d=C.fireEvent,k=C.isNumber,p=C.isObject,D=C.objectEach,A=C.offset,x=C.pick,E=C.splat;b=function(){function b(c,a){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.eventsToUnbind=[];this.chart=c;this.hasDragged=!1;this.options=a;this.init(c,a)}b.prototype.applyInactiveState=function(c){var a=[],d;(c||[]).forEach(function(c){d=c.series;a.push(d);d.linkedParent&&a.push(d.linkedParent);d.linkedSeries&&(a=a.concat(d.linkedSeries));d.navigatorSeries&&
299
+ a.push(d.navigatorSeries)});this.chart.series.forEach(function(c){-1===a.indexOf(c)?c.setState("inactive",!0):c.options.inactiveOtherPoints&&c.setAllPointsToState("inactive")})};b.prototype.destroy=function(){var c=this;this.eventsToUnbind.forEach(function(c){return c()});this.eventsToUnbind=[];e.chartCount||(b.unbindDocumentMouseUp&&(b.unbindDocumentMouseUp=b.unbindDocumentMouseUp()),b.unbindDocumentTouchEnd&&(b.unbindDocumentTouchEnd=b.unbindDocumentTouchEnd()));clearInterval(c.tooltipTimeout);
300
+ D(c,function(a,d){c[d]=void 0})};b.prototype.getSelectionMarkerAttrs=function(c,a){var b=this,f={args:{chartX:c,chartY:a},attrs:{},shapeType:"rect"};d(this,"getSelectionMarkerAttrs",f,function(d){var g=b.chart,f=b.mouseDownX;f=void 0===f?0:f;var m=b.mouseDownY;m=void 0===m?0:m;var k=b.zoomHor,h=b.zoomVert;d=d.attrs;d.x=g.plotLeft;d.y=g.plotTop;d.width=k?1:g.plotWidth;d.height=h?1:g.plotHeight;k&&(g=c-f,d.width=Math.abs(g),d.x=(0<g?0:g)+f);h&&(g=a-m,d.height=Math.abs(g),d.y=(0<g?0:g)+m)});return f};
301
+ b.prototype.drag=function(c){var a=this.chart,d=a.options.chart,b=a.plotLeft,g=a.plotTop,f=a.plotWidth,l=a.plotHeight,k=this.mouseDownX||0,h=this.mouseDownY||0,e=p(d.panning)?d.panning&&d.panning.enabled:d.panning,q=d.panKey&&c[d.panKey+"Key"],n=c.chartX,A=c.chartY,x=this.selectionMarker;x&&x.touch||(n<b?n=b:n>b+f&&(n=b+f),A<g?A=g:A>g+l&&(A=g+l),this.hasDragged=Math.sqrt(Math.pow(k-n,2)+Math.pow(h-A,2)),10<this.hasDragged&&(b=a.isInsidePlot(k-b,h-g,{visiblePlotOnly:!0}),A=this.getSelectionMarkerAttrs(n,
302
+ A),n=A.shapeType,A=A.attrs,!a.hasCartesianSeries&&!a.mapView||!this.zoomX&&!this.zoomY||!b||q||x||(this.selectionMarker=x=a.renderer[n](),x.attr({"class":"highcharts-selection-marker",zIndex:7}).add(),a.styledMode||x.attr({fill:d.selectionMarkerFill||w("#335cad").setOpacity(.25).get()})),x&&x.attr(A),b&&!x&&e&&a.pan(c,d.panning)))};b.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};b.prototype.getSelectionBox=
303
+ function(c){var a={args:{marker:c},result:{}};d(this,"getSelectionBox",a,function(a){a.result={x:c.attr?+c.attr("x"):c.x,y:c.attr?+c.attr("y"):c.y,width:c.attr?c.attr("width"):c.width,height:c.attr?c.attr("height"):c.height}});return a.result};b.prototype.drop=function(c){var b=this,f=this.chart,e=this.hasPinched;if(this.selectionMarker){var g=this.getSelectionBox(this.selectionMarker),q=g.x,l=g.y,v=g.width,p=g.height,A={originalEvent:c,xAxis:[],yAxis:[],x:q,y:l,width:v,height:p},x=!!f.mapView;if(this.hasDragged||
304
+ e)f.axes.forEach(function(a){if(a.zoomEnabled&&h(a.min)&&(e||b[{xAxis:"zoomX",yAxis:"zoomY"}[a.coll]])&&k(q)&&k(l)&&k(v)&&k(p)){var d=a.horiz,g="touchend"===c.type?a.minPixelPadding:0,f=a.toValue((d?q:l)+g);d=a.toValue((d?q+v:l+p)-g);A[a.coll].push({axis:a,min:Math.min(f,d),max:Math.max(f,d)});x=!0}}),x&&d(f,"selection",A,function(c){f.zoom(a(c,e?{animation:!1}:null))});k(f.index)&&(this.selectionMarker=this.selectionMarker.destroy());e&&this.scaleGroups()}f&&k(f.index)&&(n(f.container,{cursor:f._cursor}),
305
+ f.cancelClick=10<this.hasDragged,f.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])};b.prototype.findNearestKDPoint=function(c,a,d){var b;c.forEach(function(c){var g=!(c.noSharedTooltip&&a)&&0>c.options.findNearestPointBy.indexOf("y");c=c.searchPoint(d,g);if((g=p(c,!0)&&c.series)&&!(g=!p(b,!0))){g=b.distX-c.distX;var f=b.dist-c.dist,k=(c.series.group&&c.series.group.zIndex)-(b.series.group&&b.series.group.zIndex);g=0<(0!==g&&a?g:0!==f?f:0!==k?k:b.series.index>c.series.index?-1:1)}g&&
306
+ (b=c)});return b};b.prototype.getChartCoordinatesFromPoint=function(c,a){var d=c.series,b=d.xAxis;d=d.yAxis;var g=c.shapeArgs;if(b&&d){var f=x(c.clientX,c.plotX),l=c.plotY||0;c.isNode&&g&&k(g.x)&&k(g.y)&&(f=g.x,l=g.y);return a?{chartX:d.len+d.pos-l,chartY:b.len+b.pos-f}:{chartX:f+b.pos,chartY:l+d.pos}}if(g&&g.x&&g.y)return{chartX:g.x,chartY:g.y}};b.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var c=this.chart.container,a=A(c);this.chartPosition={left:a.left,
307
+ top:a.top,scaleX:1,scaleY:1};var d=c.offsetWidth;c=c.offsetHeight;2<d&&2<c&&(this.chartPosition.scaleX=a.width/d,this.chartPosition.scaleY=a.height/c);return this.chartPosition};b.prototype.getCoordinates=function(c){var a={xAxis:[],yAxis:[]};this.chart.axes.forEach(function(d){a[d.isXAxis?"xAxis":"yAxis"].push({axis:d,value:d.toValue(c[d.horiz?"chartX":"chartY"])})});return a};b.prototype.getHoverData=function(c,a,b,k,g,h){var l=[];k=!(!k||!c);var m=function(c){return c.visible&&!(!g&&c.directTouch)&&
308
+ x(c.options.enableMouseTracking,!0)},e={chartX:h?h.chartX:void 0,chartY:h?h.chartY:void 0,shared:g};d(this,"beforeGetHoverData",e);var q=a&&!a.stickyTracking?[a]:b.filter(function(c){return c.stickyTracking&&(e.filter||m)(c)});var u=k||!h?c:this.findNearestKDPoint(q,g,h);a=u&&u.series;u&&(g&&!a.noSharedTooltip?(q=b.filter(function(c){return e.filter?e.filter(c):m(c)&&!c.noSharedTooltip}),q.forEach(function(c){var a=f(c.points,function(c){return c.x===u.x&&!c.isNull});p(a)&&(c.boosted&&c.boost&&(a=
309
+ c.boost.getPoint(a)),l.push(a))})):l.push(u));e={hoverPoint:u};d(this,"afterGetHoverData",e);return{hoverPoint:e.hoverPoint,hoverSeries:a,hoverPoints:l}};b.prototype.getPointFromEvent=function(c){c=c.target;for(var a;c&&!a;)a=c.point,c=c.parentNode;return a};b.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,
310
+ "highcharts-tracker")))a.onMouseOut()};b.prototype.inClass=function(c,a){for(var d;c;){if(d=r(c,"class")){if(-1!==d.indexOf(a))return!0;if(-1!==d.indexOf("highcharts-container"))return!1}c=c.parentElement}};b.prototype.init=function(c,a){this.options=a;this.chart=c;this.runChartClick=!(!a.chart.events||!a.chart.events.click);this.pinchDown=[];this.lastValidTouch={};z&&(c.tooltip=new z(c,a.tooltip));this.setDOMEvents()};b.prototype.normalize=function(c,d){var b=c.touches,f=b?b.length?b.item(0):x(b.changedTouches,
311
+ c.changedTouches)[0]:c;d||(d=this.getChartPosition());b=f.pageX-d.left;f=f.pageY-d.top;b/=d.scaleX;f/=d.scaleY;return a(c,{chartX:Math.round(b),chartY:Math.round(f)})};b.prototype.onContainerClick=function(c){var b=this.chart,f=b.hoverPoint;c=this.normalize(c);var k=b.plotLeft,g=b.plotTop;b.cancelClick||(f&&this.inClass(c.target,"highcharts-tracker")?(d(f.series,"click",a(c,{point:f})),b.hoverPoint&&f.firePointEvent("click",c)):(a(c,this.getCoordinates(c)),b.isInsidePlot(c.chartX-k,c.chartY-g,{visiblePlotOnly:!0})&&
312
+ d(b,"click",c)))};b.prototype.onContainerMouseDown=function(c){var a=1===((c.buttons||c.button)&1);c=this.normalize(c);if(e.isFirefox&&0!==c.button)this.onContainerMouseMove(c);if("undefined"===typeof c.button||a)this.zoomOption(c),a&&c.preventDefault&&c.preventDefault(),this.dragStart(c)};b.prototype.onContainerMouseLeave=function(c){var a=y[x(b.hoverChartIndex,-1)],d=this.chart.tooltip;c=this.normalize(c);a&&(c.relatedTarget||c.toElement)&&(a.pointer.reset(),a.pointer.chartPosition=void 0);d&&!d.isHidden&&
313
+ this.reset()};b.prototype.onContainerMouseEnter=function(c){delete this.chartPosition};b.prototype.onContainerMouseMove=function(c){var a=this.chart,d=a.tooltip;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,{visiblePlotOnly:!0})||d&&d.shouldStickOnContact(c)||(this.inClass(c.target,"highcharts-no-tooltip")?
314
+ this.reset(!1,0):this.runPointActions(c))};b.prototype.onDocumentTouchEnd=function(c){var a=y[x(b.hoverChartIndex,-1)];a&&a.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 a=this.chart,d=a.tooltip,b=this.chartPosition;c=this.normalize(c,
315
+ b);!b||a.isInsidePlot(c.chartX-a.plotLeft,c.chartY-a.plotTop,{visiblePlotOnly:!0})||d&&d.shouldStickOnContact(c)||this.inClass(c.target,"highcharts-tracker")||this.reset()};b.prototype.onDocumentMouseUp=function(c){var a=y[x(b.hoverChartIndex,-1)];a&&a.pointer.drop(c)};b.prototype.pinch=function(c){var b=this,f=b.chart,k=b.pinchDown,g=c.touches||[],h=g.length,l=b.lastValidTouch,e=b.hasZoom,q={},p=1===h&&(b.inClass(c.target,"highcharts-tracker")&&f.runTrackerClick||b.runChartClick),n={},A=b.chart.tooltip;
316
+ A=1===h&&x(A&&A.options.followTouchMove,!0);var E=b.selectionMarker;1<h?b.initiated=!0:A&&(b.initiated=!1);e&&b.initiated&&!p&&!1!==c.cancelable&&c.preventDefault();[].map.call(g,function(c){return b.normalize(c)});"touchstart"===c.type?([].forEach.call(g,function(c,a){k[a]={chartX:c.chartX,chartY:c.chartY}}),l.x=[k[0].chartX,k[1]&&k[1].chartX],l.y=[k[0].chartY,k[1]&&k[1].chartY],f.axes.forEach(function(c){if(c.zoomEnabled){var a=f.bounds[c.horiz?"h":"v"],d=c.minPixelPadding,b=c.toPixels(Math.min(x(c.options.min,
317
+ c.dataMin),c.dataMin)),g=c.toPixels(Math.max(x(c.options.max,c.dataMax),c.dataMax)),l=Math.max(b,g);a.min=Math.min(c.pos,Math.min(b,g)-d);a.max=Math.max(c.pos+c.len,l+d)}}),b.res=!0):A?this.runPointActions(b.normalize(c)):k.length&&(d(f,"touchpan",{originalEvent:c},function(){E||(b.selectionMarker=E=a({destroy:G,touch:!0},f.plotBox));b.pinchTranslate(k,g,q,E,n,l);b.hasPinched=e;b.scaleGroups(q,n)}),b.res&&(b.res=!1,this.reset(!1,0)))};b.prototype.pinchTranslate=function(c,a,d,b,g,f){this.zoomHor&&
318
+ this.pinchTranslateDirection(!0,c,a,d,b,g,f);this.zoomVert&&this.pinchTranslateDirection(!1,c,a,d,b,g,f)};b.prototype.pinchTranslateDirection=function(c,a,d,b,g,f,l,k){var h=this.chart,m=c?"x":"y",e=c?"X":"Y",v="chart"+e,q=c?"width":"height",u=h["plot"+(c?"Left":"Top")],p=h.inverted,F=h.bounds[c?"h":"v"],n=1===a.length,A=a[0][v],B=!n&&a[1][v];a=function(){"number"===typeof t&&20<Math.abs(A-B)&&(D=k||Math.abs(r-t)/Math.abs(A-B));E=(u-r)/D+A;x=h["plot"+(c?"Width":"Height")]/D};var x,E,D=k||1,r=d[0][v],
319
+ t=!n&&d[1][v];a();d=E;if(d<F.min){d=F.min;var y=!0}else d+x>F.max&&(d=F.max-x,y=!0);y?(r-=.8*(r-l[m][0]),"number"===typeof t&&(t-=.8*(t-l[m][1])),a()):l[m]=[r,t];p||(f[m]=E-u,f[q]=x);f=p?1/D:D;g[q]=x;g[m]=d;b[p?c?"scaleY":"scaleX":"scale"+e]=D;b["translate"+e]=f*u+(r-f*A)};b.prototype.reset=function(c,a){var d=this.chart,b=d.hoverSeries,g=d.hoverPoint,f=d.hoverPoints,l=d.tooltip,k=l&&l.shared?f:g;c&&k&&E(k).forEach(function(a){a.series.isCartesian&&"undefined"===typeof a.plotX&&(c=!1)});if(c)l&&k&&
320
+ E(k).length&&(l.refresh(k),l.shared&&f?f.forEach(function(c){c.setState(c.state,!0);c.series.isCartesian&&(c.series.xAxis.crosshair&&c.series.xAxis.drawCrosshair(null,c),c.series.yAxis.crosshair&&c.series.yAxis.drawCrosshair(null,c))}):g&&(g.setState(g.state,!0),d.axes.forEach(function(c){c.crosshair&&g.series[c.coll]===c&&c.drawCrosshair(null,g)})));else{if(g)g.onMouseOut();f&&f.forEach(function(c){c.setState()});if(b)b.onMouseOut();l&&l.hide(a);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());
321
+ d.axes.forEach(function(c){c.hideCrosshair()});this.hoverX=d.hoverPoints=d.hoverPoint=null}};b.prototype.runPointActions=function(c,a,d){var k=this.chart,g=k.tooltip&&k.tooltip.options.enabled?k.tooltip:void 0,h=g?g.shared:!1,l=a||k.hoverPoint,m=l&&l.series||k.hoverSeries;a=this.getHoverData(l,m,k.series,(!c||"touchmove"!==c.type)&&(!!a||m&&m.directTouch&&this.isDirectTouch),h,c);l=a.hoverPoint;m=a.hoverSeries;var e=a.hoverPoints;a=m&&m.tooltipOptions.followPointer&&!m.tooltipOptions.split;var q=
322
+ h&&m&&!m.noSharedTooltip;if(l&&(d||l!==k.hoverPoint||g&&g.isHidden)){(k.hoverPoints||[]).forEach(function(c){-1===e.indexOf(c)&&c.setState()});if(k.hoverSeries!==m)m.onMouseOver();this.applyInactiveState(e);(e||[]).forEach(function(c){c.setState("hover")});k.hoverPoint&&k.hoverPoint.firePointEvent("mouseOut");if(!l.series)return;k.hoverPoints=e;k.hoverPoint=l;l.firePointEvent("mouseOver",void 0,function(){g&&l&&g.refresh(q?e:l,c)})}else a&&g&&!g.isHidden&&(d=g.getAnchor([{}],c),k.isInsidePlot(d[0],
323
+ d[1],{visiblePlotOnly:!0})&&g.updatePosition({plotX:d[0],plotY:d[1]}));this.unDocMouseMove||(this.unDocMouseMove=t(k.container.ownerDocument,"mousemove",function(c){var a=y[b.hoverChartIndex];if(a)a.pointer.onDocumentMouseMove(c)}),this.eventsToUnbind.push(this.unDocMouseMove));k.axes.forEach(function(a){var d=x((a.crosshair||{}).snap,!0),b;d&&((b=k.hoverPoint)&&b.series[a.coll]===a||(b=f(e,function(c){return c.series&&c.series[a.coll]===a})));b||!d?a.drawCrosshair(c,b):a.hideCrosshair()})};b.prototype.scaleGroups=
324
+ function(c,a){var d=this.chart;d.series.forEach(function(b){var g=c||b.getPlotBox();b.group&&(b.xAxis&&b.xAxis.zoomEnabled||d.mapView)&&(b.group.attr(g),b.markerGroup&&(b.markerGroup.attr(g),b.markerGroup.clip(a?d.clipRect:null)),b.dataLabelsGroup&&b.dataLabelsGroup.attr(g))});d.clipRect.attr(a||d.clipBox)};b.prototype.setDOMEvents=function(){var c=this,a=this.chart.container,d=a.ownerDocument;a.onmousedown=this.onContainerMouseDown.bind(this);a.onmousemove=this.onContainerMouseMove.bind(this);a.onclick=
325
+ this.onContainerClick.bind(this);this.eventsToUnbind.push(t(a,"mouseenter",this.onContainerMouseEnter.bind(this)));this.eventsToUnbind.push(t(a,"mouseleave",this.onContainerMouseLeave.bind(this)));b.unbindDocumentMouseUp||(b.unbindDocumentMouseUp=t(d,"mouseup",this.onDocumentMouseUp.bind(this)));for(var f=this.chart.renderTo.parentElement;f&&"BODY"!==f.tagName;)this.eventsToUnbind.push(t(f,"scroll",function(){delete c.chartPosition})),f=f.parentElement;e.hasTouch&&(this.eventsToUnbind.push(t(a,"touchstart",
326
+ this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(t(a,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),b.unbindDocumentTouchEnd||(b.unbindDocumentTouchEnd=t(d,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};b.prototype.setHoverChartIndex=function(){var c=this.chart,a=e.charts[x(b.hoverChartIndex,-1)];if(a&&a!==c)a.pointer.onContainerMouseLeave({relatedTarget:c.container});a&&a.mouseIsDown||(b.hoverChartIndex=c.index)};b.prototype.touch=function(c,
327
+ a){var d=this.chart,b;this.setHoverChartIndex();if(1===c.touches.length)if(c=this.normalize(c),(b=d.isInsidePlot(c.chartX-d.plotLeft,c.chartY-d.plotTop,{visiblePlotOnly:!0}))&&!d.openMenu){a&&this.runPointActions(c);if("touchmove"===c.type){a=this.pinchDown;var g=a[0]?4<=Math.sqrt(Math.pow(a[0].chartX-c.chartX,2)+Math.pow(a[0].chartY-c.chartY,2)):!1}x(g,!0)&&this.pinch(c)}else a&&this.reset();else 2===c.touches.length&&this.pinch(c)};b.prototype.touchSelect=function(c){return!(!this.chart.options.chart.zooming.singleTouch||
328
+ !c.touches||1!==c.touches.length)};b.prototype.zoomOption=function(c){var a=this.chart,d=a.options.chart;a=a.inverted;var b=d.zooming.type||"";/touch/.test(c.type)&&(b=x(d.zooming.pinchType,b));this.zoomX=c=/x/.test(b);this.zoomY=d=/y/.test(b);this.zoomHor=c&&!a||d&&a;this.zoomVert=d&&!a||c&&a;this.hasZoom=c||d};return b}();"";return b});H(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(b,e,z){function C(){var a=[];a.item=function(a){return this[a]};
329
+ f(p,function(d){a.push({pageX:d.pageX,pageY:d.pageY,target:d.target})});return a}function w(a,d,b,f){var c=G[e.hoverChartIndex||NaN];"touch"!==a.pointerType&&a.pointerType!==a.MSPOINTER_TYPE_TOUCH||!c||(c=c.pointer,f(a),c[d]({type:b,target:a.currentTarget,preventDefault:r,touches:C()}))}var y=this&&this.__extends||function(){var a=function(d,b){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,
330
+ b)};return function(d,b){function f(){this.constructor=d}a(d,b);d.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),G=b.charts,t=b.doc,r=b.noop,n=b.win,h=z.addEvent,a=z.css,f=z.objectEach,d=z.pick,k=z.removeEvent,p={},D=!!n.PointerEvent;return function(f){function e(){return null!==f&&f.apply(this,arguments)||this}y(e,f);e.isRequired=function(){return!(b.hasTouch||!n.PointerEvent&&!n.MSPointerEvent)};e.prototype.batchMSEvents=function(a){a(this.chart.container,D?"pointerdown":
331
+ "MSPointerDown",this.onContainerPointerDown);a(this.chart.container,D?"pointermove":"MSPointerMove",this.onContainerPointerMove);a(t,D?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};e.prototype.destroy=function(){this.batchMSEvents(k);f.prototype.destroy.call(this)};e.prototype.init=function(d,b){f.prototype.init.call(this,d,b);this.hasZoom&&a(d.container,{"-ms-touch-action":"none","touch-action":"none"})};e.prototype.onContainerPointerDown=function(a){w(a,"onContainerTouchStart","touchstart",
332
+ function(a){p[a.pointerId]={pageX:a.pageX,pageY:a.pageY,target:a.currentTarget}})};e.prototype.onContainerPointerMove=function(a){w(a,"onContainerTouchMove","touchmove",function(a){p[a.pointerId]={pageX:a.pageX,pageY:a.pageY};p[a.pointerId].target||(p[a.pointerId].target=a.currentTarget)})};e.prototype.onDocumentPointerUp=function(a){w(a,"onDocumentTouchEnd","touchend",function(a){delete p[a.pointerId]})};e.prototype.setDOMEvents=function(){var a=this.chart.tooltip;f.prototype.setDOMEvents.call(this);
333
+ (this.hasZoom||d(a&&a.options.followTouchMove,!0))&&this.batchMSEvents(h)};return e}(e)});H(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y){var G=b.animObject,t=b.setAnimation,r=e.format,n=z.marginNames,h=w.distribute,a=y.addEvent,f=y.createElement,d=y.css,k=y.defined,p=y.discardElement,D=y.find,A=y.fireEvent,x=y.isNumber,
334
+ E=y.merge,q=y.pick,c=y.relativeLength,B=y.stableSort,m=y.syncTimeout;b=function(){function b(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=void 0;this.padding=0;this.pages=[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=
335
+ this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=a;this.init(a,c)}b.prototype.init=function(c,d){this.chart=c;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())};b.prototype.setOptions=function(a){var c=q(a.padding,8);this.options=
336
+ a;this.chart.styledMode||(this.itemStyle=a.itemStyle,this.itemHiddenStyle=E(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};b.prototype.update=function(a,c){var d=this.chart;this.setOptions(E(!0,this.options,a));this.destroy();d.isDirtyLegend=d.isDirtyBox=!0;q(c,
337
+ !0)&&d.redraw();A(this,"afterUpdate")};b.prototype.colorizeItem=function(a,c){var d=a.legendItem||{},b=d.group,g=d.label,f=d.line;d=d.symbol;if(b)b[c?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var k=this.options;b=this.itemHiddenStyle.color;k=c?k.itemStyle.color:b;var h=c?a.color||b:b,m=a.options&&a.options.marker,e={fill:h};g&&g.css({fill:k,color:k});f&&f.attr({stroke:h});d&&(m&&d.isMarker&&(e=a.pointAttribs(),c||(e.stroke=e.fill=b)),d.attr(e))}A(this,"afterColorizeItem",
338
+ {item:a,visible:c})};b.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};b.prototype.positionItem=function(a){var c=this,d=a.legendItem||{},b=d.group,g=d.x;g=void 0===g?0:g;d=d.y;d=void 0===d?0:d;var f=this.options,h=f.symbolPadding,m=!f.rtl;f=a.checkbox;b&&b.element&&(h={translateX:m?g:this.legendWidth-g-2*h-4,translateY:d},b[k(b.translateY)?"animate":"attr"](h,void 0,function(){A(c,"afterPositionItem",{item:a})}));
339
+ f&&(f.x=g,f.y=d)};b.prototype.destroyItem=function(a){for(var c=a.checkbox,d=a.legendItem||{},b=0,g=["group","label","line","symbol"];b<g.length;b++){var f=g[b];d[f]&&(d[f]=d[f].destroy())}c&&p(c);a.legendItem=void 0};b.prototype.destroy=function(){for(var a=0,c=this.getAllItems();a<c.length;a++)this.destroyItem(c[a]);a=0;for(c="clipRect up down pager nav box title group".split(" ");a<c.length;a++){var d=c[a];this[d]&&(this[d]=this[d].destroy())}this.display=null};b.prototype.positionCheckboxes=function(){var a=
340
+ this.group&&this.group.alignAttr,c=this.clipHeight||this.legendHeight,b=this.titleHeight;if(a){var f=a.translateY;this.allItems.forEach(function(g){var l=g.checkbox;if(l){var k=f+b+l.y+(this.scrollOffset||0)+3;d(l,{left:a.translateX+g.checkboxOffset+l.x-20+"px",top:k+"px",display:this.proximate||k>f-6&&k<f+c-6?"":"none"})}},this)}};b.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,void 0,void 0,
341
+ void 0,a.useHTML,void 0,"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};b.prototype.setText=function(a){var c=this.options;a.legendItem.label.attr({text:c.labelFormat?r(c.labelFormat,a,this.chart):c.labelFormatter.call(a)})};b.prototype.renderItem=function(a){var c=
342
+ a.legendItem=a.legendItem||{},d=this.chart,b=d.renderer,f=this.options,g=this.symbolWidth,k=f.symbolPadding||0,h=this.itemStyle,m=this.itemHiddenStyle,e="horizontal"===f.layout?q(f.itemDistance,20):0,p=!f.rtl,n=!a.series,u=!n&&a.series.drawLegendSymbol?a.series:a,A=u.options,x=this.createCheckboxForItem&&A&&A.showCheckbox,B=f.useHTML,D=a.options.className,r=c.label;A=g+k+e+(x?20:0);r||(c.group=b.g("legend-item").addClass("highcharts-"+u.type+"-series highcharts-color-"+a.colorIndex+(D?" "+D:"")+(n?
343
+ " highcharts-series-"+a.index:"")).attr({zIndex:1}).add(this.scrollGroup),c.label=r=b.text("",p?g+k:-k,this.baseline||0,B),d.styledMode||r.css(E(a.visible?h:m)),r.attr({align:p?"left":"right",zIndex:2}).add(c.group),this.baseline||(this.fontMetrics=b.fontMetrics(d.styledMode?12:h.fontSize,r),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,r.attr("y",this.baseline),this.symbolHeight=f.symbolHeight||this.fontMetrics.f,f.squareSymbol&&(this.symbolWidth=q(f.symbolWidth,Math.max(this.symbolHeight,
344
+ 16)),A=this.symbolWidth+k+e+(x?20:0),p&&r.attr("x",this.symbolWidth+k))),u.drawLegendSymbol(this,a),this.setItemEvents&&this.setItemEvents(a,r,B));x&&!a.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(a);this.colorizeItem(a,a.visible);!d.styledMode&&h.width||r.css({width:(f.itemWidth||this.widthOption||d.spacingBox.width)-A+"px"});this.setText(a);d=r.getBBox();b=this.fontMetrics&&this.fontMetrics.h||0;a.itemWidth=a.checkboxOffset=f.itemWidth||c.labelWidth||d.width+A;this.maxItemWidth=
345
+ Math.max(this.maxItemWidth,a.itemWidth);this.totalItemWidth+=a.itemWidth;this.itemHeight=a.itemHeight=Math.round(c.labelHeight||(d.height>1.5*b?d.height:b))};b.prototype.layoutItem=function(a){var c=this.options,d=this.padding,b="horizontal"===c.layout,f=a.itemHeight,g=this.itemMarginBottom,k=this.itemMarginTop,h=b?q(c.itemDistance,20):0,m=this.maxLegendWidth;c=c.alignColumns&&this.totalItemWidth>m?this.maxItemWidth:a.itemWidth;var e=a.legendItem||{};b&&this.itemX-d+c>m&&(this.itemX=d,this.lastLineHeight&&
346
+ (this.itemY+=k+this.lastLineHeight+g),this.lastLineHeight=0);this.lastItemY=k+this.itemY+g;this.lastLineHeight=Math.max(f,this.lastLineHeight);e.x=this.itemX;e.y=this.itemY;b?this.itemX+=c:(this.itemY+=k+f+g,this.lastLineHeight=f);this.offsetWidth=this.widthOption||Math.max((b?this.itemX-d-(a.checkbox?0:h):c)+d,this.offsetWidth)};b.prototype.getAllItems=function(){var a=[];this.chart.series.forEach(function(c){var d=c&&c.options;c&&q(d.showInLegend,k(d.linkedTo)?!1:void 0,!0)&&(a=a.concat((c.legendItem||
347
+ {}).labels||("point"===d.legendType?c.data:c)))});A(this,"afterGetAllItems",{allItems:a});return a};b.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)};b.prototype.adjustMargins=function(a,c){var d=this.chart,b=this.options,f=this.getAlignment();f&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(g,l){g.test(f)&&!k(a[l])&&(d[n[l]]=Math.max(d[n[l]],
348
+ d.legend[(l+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][l]*b[l%2?"x":"y"]+q(b.margin,12)+c[l]+(d.titleOffset[l]||0)))})};b.prototype.proximatePositions=function(){var a=this.chart,c=[],d="left"===this.options.align;this.allItems.forEach(function(b){var f;var g=d;if(b.yAxis){b.xAxis.options.reversed&&(g=!g);b.points&&(f=D(g?b.points:b.points.slice(0).reverse(),function(a){return x(a.plotY)}));g=this.itemMarginTop+b.legendItem.label.getBBox().height+this.itemMarginBottom;var l=b.yAxis.top-a.plotTop;
349
+ b.visible?(f=f?f.plotY:b.yAxis.height,f+=l-.3*g):f=l+b.yAxis.height;c.push({target:f,size:g,item:b})}},this);for(var b,f=0,k=h(c,a.plotHeight);f<k.length;f++){var m=k[f];b=m.item.legendItem||{};m.pos&&(b.y=a.plotTop-a.spacing[0]+m.pos)}};b.prototype.render=function(){var a=this.chart,d=a.renderer,b=this.options,f=this.padding,k=this.getAllItems(),h=this.group,m=this.box;this.itemX=f;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=c(b.width,a.spacingBox.width-f);var e=
350
+ a.spacingBox.width-2*f-b.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(e/=2);this.maxLegendWidth=this.widthOption||e;h||(this.group=h=d.g("legend").addClass(b.className||"").attr({zIndex:7}).add(),this.contentGroup=d.g().attr({zIndex:1}).add(h),this.scrollGroup=d.g().add(this.contentGroup));this.renderTitle();B(k,function(a,c){return(a.options&&a.options.legendIndex||0)-(c.options&&c.options.legendIndex||0)});b.reversed&&k.reverse();this.allItems=k;this.display=e=!!k.length;this.itemHeight=
351
+ this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;k.forEach(this.renderItem,this);k.forEach(this.layoutItem,this);k=(this.widthOption||this.offsetWidth)+f;var q=this.lastItemY+this.lastLineHeight+this.titleHeight;q=this.handleOverflow(q);q+=f;m||(this.box=m=d.rect().addClass("highcharts-legend-box").attr({r:b.borderRadius}).add(h));a.styledMode||m.attr({stroke:b.borderColor,"stroke-width":b.borderWidth||0,fill:b.backgroundColor||"none"}).shadow(b.shadow);if(0<k&&0<q)m[m.placed?"animate":
352
+ "attr"](m.crisp.call({},{x:0,y:0,width:k,height:q},m.strokeWidth()));h[e?"show":"hide"]();a.styledMode&&"none"===h.getStyle("display")&&(k=q=0);this.legendWidth=k;this.legendHeight=q;e&&this.align();this.proximate||this.positionItems();A(this,"afterRender")};b.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]&&
353
+ (b-=c.titleOffset[2]);b!==a.y&&(a=E(a,{y:b}));c.hasRendered||(this.group.placed=!1);this.group.align(E(d,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":d.verticalAlign}),!0,a)};b.prototype.handleOverflow=function(a){var c=this,d=this.chart,b=d.renderer,f=this.options,g=f.y,k="top"===f.verticalAlign,h=this.padding,m=f.maxHeight,e=f.navigation,p=q(e.animation,!0),n=e.arrowSize||12,u=this.pages,A=this.allItems,x=function(a){"number"===typeof a?y.attr({height:a}):
354
+ y&&(c.clipRect=y.destroy(),c.contentGroup.clip());c.contentGroup.div&&(c.contentGroup.div.style.clip=a?"rect("+h+"px,9999px,"+(h+a)+"px,0)":"auto")},B=function(a){c[a]=b.circle(0,0,1.3*n).translate(n/2,n/2).add(t);d.styledMode||c[a].attr("fill","rgba(0,0,0,0.0001)");return c[a]},D,r,E;g=d.spacingBox.height+(k?-g:g)-h;var t=this.nav,y=this.clipRect;"horizontal"!==f.layout||"middle"===f.verticalAlign||f.floating||(g/=2);m&&(g=Math.min(g,m));u.length=0;a&&0<g&&a>g&&!1!==e.enabled?(this.clipHeight=D=
355
+ Math.max(g-20-this.titleHeight-h,0),this.currentPage=q(this.currentPage,1),this.fullHeight=a,A.forEach(function(a,c){E=a.legendItem||{};a=E.y||0;var d=Math.round(E.label.getBBox().height),b=u.length;if(!b||a-u[b-1]>D&&(r||a)!==u[b-1])u.push(r||a),b++;E.pageIx=b-1;r&&((A[c-1].legendItem||{}).pageIx=b-1);c===A.length-1&&a+d-u[b-1]>D&&d<=D&&(u.push(a),E.pageIx=b);a!==r&&(r=a)}),y||(y=c.clipRect=b.clipRect(0,h,9999,0),c.contentGroup.clip(y)),x(D),t||(this.nav=t=b.g().attr({zIndex:1}).add(this.group),
356
+ this.up=b.symbol("triangle",0,0,n,n).add(t),B("upTracker").on("click",function(){c.scroll(-1,p)}),this.pager=b.text("",15,10).addClass("highcharts-legend-navigation"),!d.styledMode&&e.style&&this.pager.css(e.style),this.pager.add(t),this.down=b.symbol("triangle-down",0,0,n,n).add(t),B("downTracker").on("click",function(){c.scroll(1,p)})),c.scroll(0),a=g):t&&(x(),this.nav=t.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a};b.prototype.scroll=function(a,c){var d=this,b=this.chart,
357
+ f=this.pages,g=f.length,k=this.clipHeight,h=this.options.navigation,e=this.pager,p=this.padding,n=this.currentPage+a;n>g&&(n=g);0<n&&("undefined"!==typeof c&&t(c,b),this.nav.attr({translateX:p,translateY:k+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(a){a.attr({"class":1===n?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),e.attr({text:n+"/"+g}),[this.down,this.downTracker].forEach(function(a){a.attr({x:18+this.pager.getBBox().width,
358
+ "class":n===g?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),b.styledMode||(this.up.attr({fill:1===n?h.inactiveColor:h.activeColor}),this.upTracker.css({cursor:1===n?"default":"pointer"}),this.down.attr({fill:n===g?h.inactiveColor:h.activeColor}),this.downTracker.css({cursor:n===g?"default":"pointer"})),this.scrollOffset=-f[n-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=n,this.positionCheckboxes(),a=G(q(c,b.renderer.globalAnimation,
359
+ !0)),m(function(){A(d,"afterScroll",{currentPage:n})},a.duration))};b.prototype.setItemEvents=function(a,c,d){var b=this,f=a.legendItem||{},g=b.chart.renderer.boxWrapper,l=a instanceof C,k="highcharts-legend-"+(l?"point":"series")+"-active",h=b.chart.styledMode,m=function(c){b.allItems.forEach(function(d){a!==d&&[d].concat(d.linkedSeries||[]).forEach(function(a){a.setState(c,!l)})})},e=0;for(d=d?[c,f.symbol]:[f.group];e<d.length;e++)if(f=d[e])f.on("mouseover",function(){a.visible&&m("inactive");a.setState("hover");
360
+ a.visible&&g.addClass(k);h||c.css(b.options.itemHoverStyle)}).on("mouseout",function(){b.chart.styledMode||c.css(E(a.visible?b.itemStyle:b.itemHiddenStyle));m("");g.removeClass(k);a.setState()}).on("click",function(c){var d=function(){a.setVisible&&a.setVisible();m(a.visible?"inactive":"")};g.removeClass(k);c={browserEvent:c};a.firePointEvent?a.firePointEvent("legendItemClick",c,d):A(a,"legendItemClick",c,d)})};b.prototype.createCheckboxForItem=function(c){c.checkbox=f("input",{type:"checkbox",className:"highcharts-legend-checkbox",
361
+ checked:c.selected,defaultChecked:c.selected},this.options.itemCheckboxStyle,this.chart.container);a(c.checkbox,"click",function(a){A(c.series||c,"checkboxClick",{checked:a.target.checked,item:c},function(){c.select()})})};return b}();"";return b});H(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(b,e,z,C){var w=e.defaultOptions,y=C.extendClass,G=C.merge,t;(function(e){function n(b,a){var f=w.plotOptions||{},
362
+ d=a.defaultOptions,k=a.prototype;k.type=b;k.pointClass||(k.pointClass=z);d&&(f[b]=d);e.seriesTypes[b]=a}e.seriesTypes=b.seriesTypes;e.registerSeriesType=n;e.seriesType=function(b,a,f,d,k){var h=w.plotOptions||{};a=a||"";h[b]=G(h[a],f);n(b,y(e.seriesTypes[a]||function(){},d));e.seriesTypes[b].prototype.type=b;k&&(e.seriesTypes[b].prototype.pointClass=y(z,k));return e.seriesTypes[b]}})(t||(t={}));return t});H(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],
363
+ e["Core/Defaults.js"],e["Core/FormatUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/Legend.js"],e["Core/MSPointer.js"],e["Core/Pointer.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"]],function(b,e,z,C,w,y,G,t,r,n,h,a,f,d,k){var p=b.animate,D=b.animObject,A=b.setAnimation,x=z.defaultOptions,E=z.defaultTime,q=C.numberFormat,c=w.registerEventOptions,
364
+ B=y.charts,m=y.doc,u=y.marginNames,g=y.svg,F=y.win,l=h.seriesTypes,v=d.addEvent,K=d.attr,J=d.cleanRecursively,M=d.createElement,I=d.css,R=d.defined,Z=d.discardElement,L=d.erase,da=d.error,H=d.extend,ba=d.find,N=d.fireEvent,Q=d.getStyle,T=d.isArray,V=d.isNumber,W=d.isObject,U=d.isString,P=d.merge,X=d.objectEach,O=d.pick,aa=d.pInt,fa=d.relativeLength,ca=d.removeEvent,ea=d.splat,ha=d.syncTimeout,ja=d.uniqueKey;b=function(){function b(a,c,b){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=
365
+ 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.eventOptions=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)}b.chart=function(a,c,
366
+ d){return new b(a,c,d)};b.prototype.getArgs=function(a,c,b){U(a)||a.nodeName?(this.renderTo=a,this.init(c,b)):this.init(a,c)};b.prototype.init=function(a,b){var d=a.plotOptions||{};N(this,"init",{args:arguments},function(){var g=P(x,a),l=g.chart;X(g.plotOptions,function(a,c){W(a)&&(a.tooltip=d[c]&&P(d[c].tooltip)||void 0)});g.tooltip.userOptions=a.chart&&a.chart.forExport&&a.tooltip.userOptions||a.tooltip;this.userOptions=a;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=
367
+ [];this.callback=b;this.isResizing=0;var k=l.zooming=l.zooming||{};a.chart&&!a.chart.zooming&&(k.resetButton=l.resetZoomButton);k.key=O(k.key,l.zoomKey);k.pinchType=O(k.pinchType,l.pinchType);k.singleTouch=O(k.singleTouch,l.zoomBySingleTouch);k.type=O(k.type,l.zoomType);this.options=g;this.axes=[];this.series=[];this.time=a.time&&Object.keys(a.time).length?new f(a.time):y.time;this.numberFormatter=l.numberFormatter||q;this.styledMode=l.styledMode;this.hasCartesianSeries=l.showAxes;this.index=B.length;
368
+ B.push(this);y.chartCount++;c(this,l);this.xAxis=[];this.yAxis=[];this.pointCount=this.colorCounter=this.symbolCounter=0;N(this,"afterInit");this.firstRender()})};b.prototype.initSeries=function(a){var c=this.options.chart;c=a.type||c.type||c.defaultSeriesType;var b=l[c];b||da(17,!0,this,{missingModuleFor:c});c=new b;"function"===typeof c.init&&c.init(this,a);return c};b.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(a){a.points||a.data||!a.enabledDataSorting||a.setData(a.options.data,
369
+ !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;a=a||0;for(var b=c.length;a<b;++a)c[a]&&(c[a].index=a,c[a].name=c[a].getName())};b.prototype.isInsidePlot=function(a,c,b){void 0===b&&(b={});var d=this.inverted,f=this.plotBox,g=this.plotLeft,l=this.plotTop,k=this.scrollablePlotBox,h=0;var m=0;b.visiblePlotOnly&&
370
+ this.scrollingContainer&&(m=this.scrollingContainer,h=m.scrollLeft,m=m.scrollTop);var e=b.series;f=b.visiblePlotOnly&&k||f;k=b.inverted?c:a;c=b.inverted?a:c;a={x:k,y:c,isInsidePlot:!0,options:b};if(!b.ignoreX){var q=e&&(d&&!this.polar?e.yAxis:e.xAxis)||{pos:g,len:Infinity};k=b.paneCoordinates?q.pos+k:g+k;k>=Math.max(h+g,q.pos)&&k<=Math.min(h+g+f.width,q.pos+q.len)||(a.isInsidePlot=!1)}!b.ignoreY&&a.isInsidePlot&&(d=b.axis&&!b.axis.isXAxis&&b.axis||e&&(d?e.xAxis:e.yAxis)||{pos:l,len:Infinity},b=b.paneCoordinates?
371
+ d.pos+c:l+c,b>=Math.max(m+l,d.pos)&&b<=Math.min(m+l+f.height,d.pos+d.len)||(a.isInsidePlot=!1));N(this,"afterIsInsidePlot",a);return a.isInsidePlot};b.prototype.redraw=function(a){N(this,"beforeRedraw");var c=this.hasCartesianSeries?this.axes:this.colorAxis||[],b=this.series,d=this.pointer,f=this.legend,g=this.userOptions.legend,l=this.renderer,k=l.isHidden(),h=[],m=this.isDirtyBox,e=this.isDirtyLegend;this.setResponsive&&this.setResponsive(!1);A(this.hasRendered?a:!1,this);k&&this.temporaryDisplay();
372
+ this.layOutTitles();for(a=b.length;a--;){var q=b[a];if(q.options.stacking||q.options.centerInCategory){var p=!0;if(q.isDirty){var v=!0;break}}}if(v)for(a=b.length;a--;)q=b[a],q.options.stacking&&(q.isDirty=!0);b.forEach(function(a){a.isDirty&&("point"===a.options.legendType?("function"===typeof a.updateTotals&&a.updateTotals(),e=!0):g&&(g.labelFormatter||g.labelFormat)&&(e=!0));a.isDirtyData&&N(a,"updatedData")});e&&f&&f.options.enabled&&(f.render(),this.isDirtyLegend=!1);p&&this.getStacks();c.forEach(function(a){a.updateNames();
373
+ a.setScale()});this.getMargins();c.forEach(function(a){a.isDirty&&(m=!0)});c.forEach(function(a){var c=a.min+","+a.max;a.extKey!==c&&(a.extKey=c,h.push(function(){N(a,"afterSetExtremes",H(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(m||p)&&a.redraw()});m&&this.drawChartBox();N(this,"predraw");b.forEach(function(a){(m||a.isDirty)&&a.visible&&a.redraw();a.isDirtyData=!1});d&&d.reset(!0);l.draw();N(this,"redraw");N(this,"render");k&&this.temporaryDisplay(!0);h.forEach(function(a){a.call()})};
374
+ b.prototype.get=function(a){function c(c){return c.id===a||c.options&&c.options.id===a}for(var b=this.series,d=ba(this.axes,c)||ba(this.series,c),f=0;!d&&f<b.length;f++)d=ba(b[f].points||[],c);return d};b.prototype.getAxes=function(){var a=this,c=this.options,b=c.xAxis=ea(c.xAxis||{});c=c.yAxis=ea(c.yAxis||{});N(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 e(a,c)});N(this,"afterGetAxes")};b.prototype.getSelectedPoints=
375
+ function(){return this.series.reduce(function(a,c){c.getPointsCollection().forEach(function(c){O(c.selectedStaging,c.selected)&&a.push(c)});return a},[])};b.prototype.getSelectedSeries=function(){return this.series.filter(function(a){return a.selected})};b.prototype.setTitle=function(a,c,b){this.applyDescription("title",a);this.applyDescription("subtitle",c);this.applyDescription("caption",void 0);this.layOutTitles(b)};b.prototype.applyDescription=function(a,c){var b=this,d="title"===a?{color:"#333333",
376
+ fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};d=this.options[a]=P(!this.styledMode&&{style:d},this.options[a],c);var f=this[a];f&&c&&(this[a]=f=f.destroy());d&&!f&&(f=this.renderer.text(d.text,0,0,d.useHTML).attr({align:d.align,"class":"highcharts-"+a,zIndex:d.zIndex||4}).add(),f.update=function(c){b[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[a]](c)},this.styledMode||f.css(d.style),this[a]=f)};b.prototype.layOutTitles=function(a){var c=[0,0,0],b=this.renderer,
377
+ d=this.spacingBox;["title","subtitle","caption"].forEach(function(a){var f=this[a],g=this.options[a],l=g.verticalAlign||"top";a="title"===a?"top"===l?-3:0:"top"===l?c[0]+2:0;var k;if(f){this.styledMode||(k=g.style&&g.style.fontSize);k=b.fontMetrics(k,f).b;f.css({width:(g.width||d.width+(g.widthAdjust||0))+"px"});var h=Math.round(f.getBBox(g.useHTML).height);f.align(H({y:"bottom"===l?k:a+k,height:h},g),!1,"spacingBox");g.floating||("top"===l?c[0]=Math.ceil(c[0]+h):"bottom"===l&&(c[2]=Math.ceil(c[2]+
378
+ h)))}},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;N(this,"afterLayOutTitles");!this.isDirtyBox&&f&&(this.isDirtyBox=this.isDirtyLegend=f,this.hasRendered&&O(a,!0)&&this.isDirtyBox&&this.redraw())};b.prototype.getChartSize=function(){var a=this.options.chart,c=a.width;a=a.height;
379
+ var b=this.renderTo;R(c)||(this.containerWidth=Q(b,"width"));R(a)||(this.containerHeight=Q(b,"height"));this.chartWidth=Math.max(0,c||this.containerWidth||600);this.chartHeight=Math.max(0,fa(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&&(I(c,c.hcOrigStyle),delete c.hcOrigStyle),c.hcOrigDetached&&(m.body.removeChild(c),c.hcOrigDetached=!1),c=c.parentNode;else for(;c&&c.style;){m.body.contains(c)||
380
+ c.parentNode||(c.hcOrigDetached=!0,m.body.appendChild(c));if("none"===Q(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),I(c,a),c.offsetWidth||c.style.setProperty("display","block","important");c=c.parentNode;if(c===m.body)break}};b.prototype.setClassName=function(a){this.container.className="highcharts-container "+(a||"")};b.prototype.getContainer=function(){var c=
381
+ this.options,b=c.chart,d=ja(),f,l=this.renderTo;l||(this.renderTo=l=b.renderTo);U(l)&&(this.renderTo=l=m.getElementById(l));l||da(13,!0,this);var h=aa(K(l,"data-highcharts-chart"));V(h)&&B[h]&&B[h].hasRendered&&B[h].destroy();K(l,"data-highcharts-chart",this.index);l.innerHTML=k.emptyHTML;b.skipClone||l.offsetWidth||this.temporaryDisplay();this.getChartSize();h=this.chartWidth;var e=this.chartHeight;I(l,{overflow:"hidden"});this.styledMode||(f=H({position:"relative",overflow:"hidden",width:h+"px",
382
+ height:e+"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=d=M("div",{id:d},f,l);this._cursor=d.style.cursor;this.renderer=new (b.renderer||!g?n.getRendererType(b.renderer):a)(d,h,e,void 0,b.forExport,c.exporting&&c.exporting.allowHTML,this.styledMode);A(void 0,this);this.setClassName(b.className);if(this.styledMode)for(var q in c.defs)this.renderer.definition(c.defs[q]);
383
+ else this.renderer.setStyle(b.style);this.renderer.chartIndex=this.index;N(this,"afterGetContainer")};b.prototype.getMargins=function(a){var c=this.spacing,b=this.margin,d=this.titleOffset;this.resetMargins();d[0]&&!R(b[0])&&(this.plotTop=Math.max(this.plotTop,d[0]+c[0]));d[2]&&!R(b[2])&&(this.marginBottom=Math.max(this.marginBottom,d[2]+c[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(b,c);N(this,"getMargins");a||this.getAxisMargins()};b.prototype.getAxisMargins=function(){var a=
384
+ this,c=a.axisOffset=[0,0,0,0],b=a.colorAxis,d=a.margin,f=function(a){a.forEach(function(a){a.visible&&a.getOffset()})};a.hasCartesianSeries?f(a.axes):b&&b.length&&f(b);u.forEach(function(b,f){R(d[f])||(a[b]+=c[f])});a.setChartSize()};b.prototype.reflow=function(a){var c=this,b=c.options.chart,f=c.renderTo,g=R(b.width)&&R(b.height),l=b.width||Q(f,"width");b=b.height||Q(f,"height");f=a?a.target:F;delete c.pointer.chartPosition;if(!g&&!c.isPrinting&&l&&b&&(f===F||f===m)){if(l!==c.containerWidth||b!==
385
+ c.containerHeight)d.clearTimeout(c.reflowTimeout),c.reflowTimeout=ha(function(){c.container&&c.setSize(void 0,void 0,!1)},a?100:0);c.containerWidth=l;c.containerHeight=b}};b.prototype.setReflow=function(a){var c=this;!1===a||this.unbindReflow?!1===a&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=v(F,"resize",function(a){c.options&&c.reflow(a)}),v(this,"destroy",this.unbindReflow))};b.prototype.setSize=function(a,c,b){var d=this,f=d.renderer;d.isResizing+=1;A(b,d);b=
386
+ f.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?p:I)(d.container,{width:d.chartWidth+"px",height:d.chartHeight+"px"},b);d.setChartSize(!0);f.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;N(d,
387
+ "resize");ha(function(){d&&N(d,"endResize",null,function(){--d.isResizing})},D(b).duration)};b.prototype.setChartSize=function(a){var c=this.inverted,b=this.renderer,d=this.chartWidth,f=this.chartHeight,g=this.options.chart,l=this.spacing,k=this.clipOffset,h,m,e,q;this.plotLeft=h=Math.round(this.plotLeft);this.plotTop=m=Math.round(this.plotTop);this.plotWidth=e=Math.max(0,Math.round(d-h-this.marginRight));this.plotHeight=q=Math.max(0,Math.round(f-m-this.marginBottom));this.plotSizeX=c?q:e;this.plotSizeY=
388
+ c?e:q;this.plotBorderWidth=g.plotBorderWidth||0;this.spacingBox=b.spacingBox={x:l[3],y:l[0],width:d-l[3]-l[1],height:f-l[0]-l[2]};this.plotBox=b.plotBox={x:h,y:m,width:e,height:q};c=2*Math.floor(this.plotBorderWidth/2);d=Math.ceil(Math.max(c,k[3])/2);f=Math.ceil(Math.max(c,k[0])/2);this.clipBox={x:d,y:f,width:Math.floor(this.plotSizeX-Math.max(c,k[1])/2-d),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(c,k[2])/2-f))};a||(this.axes.forEach(function(a){a.setAxisSize();a.setAxisTranslation()}),
389
+ b.alignElements());N(this,"afterSetChartSize",{skipAxes:a})};b.prototype.resetMargins=function(){N(this,"resetMargins");var a=this,c=a.options.chart;["margin","spacing"].forEach(function(b){var d=c[b],f=W(d)?d:[d,d,d,d];["Top","Right","Bottom","Left"].forEach(function(d,g){a[b][g]=O(c[b+d],f[g])})});u.forEach(function(c,b){a[c]=O(a.margin[b],a.spacing[b])});a.axisOffset=[0,0,0,0];a.clipOffset=[0,0,0,0]};b.prototype.drawChartBox=function(){var a=this.options.chart,c=this.renderer,b=this.chartWidth,
390
+ d=this.chartHeight,f=this.styledMode,g=this.plotBGImage,l=a.backgroundColor,k=a.plotBackgroundColor,h=a.plotBackgroundImage,m=this.plotLeft,e=this.plotTop,q=this.plotWidth,p=this.plotHeight,v=this.plotBox,n=this.clipRect,u=this.clipBox,A=this.chartBackground,F=this.plotBackground,x=this.plotBorder,B,D="animate";A||(this.chartBackground=A=c.rect().addClass("highcharts-background").add(),D="attr");if(f)var E=B=A.strokeWidth();else{E=a.borderWidth||0;B=E+(a.shadow?8:0);l={fill:l||"none"};if(E||A["stroke-width"])l.stroke=
391
+ a.borderColor,l["stroke-width"]=E;A.attr(l).shadow(a.shadow)}A[D]({x:B/2,y:B/2,width:b-B-E%2,height:d-B-E%2,r:a.borderRadius});D="animate";F||(D="attr",this.plotBackground=F=c.rect().addClass("highcharts-plot-background").add());F[D](v);f||(F.attr({fill:k||"none"}).shadow(a.plotShadow),h&&(g?(h!==g.attr("href")&&g.attr("href",h),g.animate(v)):this.plotBGImage=c.image(h,m,e,q,p).add()));n?n.animate({width:u.width,height:u.height}):this.clipRect=c.clipRect(u);D="animate";x||(D="attr",this.plotBorder=
392
+ x=c.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());f||x.attr({stroke:a.plotBorderColor,"stroke-width":a.plotBorderWidth||0,fill:"none"});x[D](x.crisp({x:m,y:e,width:q,height:p},-x.strokeWidth()));this.isDirtyBox=!1;N(this,"afterDrawChartBox")};b.prototype.propFromSeries=function(){var a=this,c=a.options.chart,b=a.options.series,d,f,g;["inverted","angular","polar"].forEach(function(k){f=l[c.type||c.defaultSeriesType];g=c[k]||f&&f.prototype[k];for(d=b&&b.length;!g&&d--;)(f=l[b[d].type])&&
393
+ f.prototype[k]&&(g=!0);a[k]=g})};b.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;U(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=O(c.options.visible,b.options.visible,c.visible))});N(this,"afterLinkSeries")};b.prototype.renderSeries=function(){this.series.forEach(function(a){a.translate();
394
+ a.render()})};b.prototype.renderLabels=function(){var a=this,c=a.options.labels;c.items&&c.items.forEach(function(b){var d=H(c.style,b.style),f=aa(d.left)+a.plotLeft,g=aa(d.top)+a.plotTop+12;delete d.left;delete d.top;a.renderer.text(b.html,f,g).attr({zIndex:2}).css(d).add()})};b.prototype.render=function(){var a=this.axes,c=this.colorAxis,b=this.renderer,d=this.options,f=function(a){a.forEach(function(a){a.visible&&a.render()})},g=0;this.setTitle();this.legend=new G(this,d.legend);this.getStacks&&
395
+ 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 l=this.plotHeight=Math.max(this.plotHeight-g,0);a.forEach(function(a){a.setScale()});this.getAxisMargins();var k=1.1<d/this.plotWidth,h=1.05<l/this.plotHeight;if(k||h)a.forEach(function(a){(a.horiz&&k||!a.horiz&&h)&&a.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries?f(a):c&&c.length&&f(c);
396
+ 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};b.prototype.addCredits=function(a){var c=this,b=P(!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&&(F.location.href=b.href)}).attr({align:b.position.align,zIndex:8}),c.styledMode||
397
+ this.credits.css(b.style),this.credits.add().align(b.position),this.credits.update=function(a){c.credits=c.credits.destroy();c.addCredits(a)})};b.prototype.destroy=function(){var a=this,c=a.axes,b=a.series,d=a.container,f=d&&d.parentNode,g;N(a,"destroy");a.renderer.forExport?L(B,a):B[a.index]=void 0;y.chartCount--;a.renderTo.removeAttribute("data-highcharts-chart");ca(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]=
398
+ 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=k.emptyHTML,ca(d),f&&Z(d));X(a,function(c,b){delete a[b]})};b.prototype.firstRender=function(){var a=this,c=a.options;if(!a.isReadyToRender||a.isReadyToRender()){a.getContainer();a.resetMargins();a.setChartSize();a.propFromSeries();
399
+ a.getAxes();(T(c.series)?c.series:[]).forEach(function(c){a.initSeries(c)});a.linkSeries();a.setSeriesData();N(a,"beforeRender");r&&(t.isRequired()?a.pointer=new t(a,c):a.pointer=new r(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);N(this,"load");N(this,"render");R(this.index)&&
400
+ this.setReflow(this.options.chart.reflow);this.warnIfA11yModuleNotLoaded();this.hasLoaded=!0};b.prototype.warnIfA11yModuleNotLoaded=function(){var a=this.options,c=this.title;a&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(c&&c.element.textContent||"").replace(/</g,"&lt;")}),a.accessibility&&!1===a.accessibility.enabled||da('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',
401
+ !1,this))};b.prototype.addSeries=function(a,c,b){var d=this,f;a&&(c=O(c,!0),N(d,"addSeries",{options:a},function(){f=d.initSeries(a);d.isDirtyLegend=!0;d.linkSeries();f.enabledDataSorting&&f.setData(a.data,!1);N(d,"afterAddSeries",{series:f});c&&d.redraw(b)}));return f};b.prototype.addAxis=function(a,c,b,d){return this.createAxis(c?"xAxis":"yAxis",{axis:a,redraw:b,animation:d})};b.prototype.addColorAxis=function(a,c,b){return this.createAxis("colorAxis",{axis:a,redraw:c,animation:b})};b.prototype.createAxis=
402
+ function(a,c){a=new e(this,P(c.axis,{index:this[a].length,isX:"xAxis"===a}));O(c.redraw,!0)&&this.redraw(c.animation);return a};b.prototype.showLoading=function(a){var c=this,b=c.options,d=b.loading,f=function(){g&&I(g,{left:c.plotLeft+"px",top:c.plotTop+"px",width:c.plotWidth+"px",height:c.plotHeight+"px"})},g=c.loadingDiv,l=c.loadingSpan;g||(c.loadingDiv=g=M("div",{className:"highcharts-loading highcharts-loading-hidden"},null,c.container));l||(c.loadingSpan=l=M("span",{className:"highcharts-loading-inner"},
403
+ null,g),v(c,"redraw",f));g.className="highcharts-loading";k.setElementHTML(l,O(a,b.lang.loading,""));c.styledMode||(I(g,H(d.style,{zIndex:10})),I(l,d.labelStyle),c.loadingShown||(I(g,{opacity:0,display:""}),p(g,{opacity:d.style.opacity||.5},{duration:d.showDuration||0})));c.loadingShown=!0;f()};b.prototype.hideLoading=function(){var a=this.options,c=this.loadingDiv;c&&(c.className="highcharts-loading highcharts-loading-hidden",this.styledMode||p(c,{opacity:0},{duration:a.loading.hideDuration||100,
404
+ complete:function(){I(c,{display:"none"})}}));this.loadingShown=!1};b.prototype.update=function(a,b,d,g){var l=this,k={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},h=a.isResponsiveOptions,m=[],e,q;N(l,"update",{options:a});h||l.setResponsive(!1,!0);a=J(a,l.options);l.userOptions=P(l.userOptions,a);var p=a.chart;if(p){P(!0,l.options.chart,p);"className"in p&&l.setClassName(p.className);"reflow"in p&&l.setReflow(p.reflow);if("inverted"in p||"polar"in p||"type"in
405
+ p){l.propFromSeries();var v=!0}"alignTicks"in p&&(v=!0);"events"in p&&c(this,p);X(p,function(a,c){-1!==l.propsRequireUpdateSeries.indexOf("chart."+c)&&(e=!0);-1!==l.propsRequireDirtyBox.indexOf(c)&&(l.isDirtyBox=!0);-1!==l.propsRequireReflow.indexOf(c)&&(h?l.isDirtyBox=!0:q=!0)});!l.styledMode&&p.style&&l.renderer.setStyle(l.options.chart.style||{})}!l.styledMode&&a.colors&&(this.options.colors=a.colors);a.time&&(this.time===E&&(this.time=new f(a.time)),P(!0,l.options.time,a.time));X(a,function(c,
406
+ b){if(l[b]&&"function"===typeof l[b].update)l[b].update(c,!1);else if("function"===typeof l[k[b]])l[k[b]](c);else"colors"!==b&&-1===l.collectionsWithUpdate.indexOf(b)&&P(!0,l.options[b],a[b]);"chart"!==b&&-1!==l.propsRequireUpdateSeries.indexOf(b)&&(e=!0)});this.collectionsWithUpdate.forEach(function(c){if(a[c]){var b=[];l[c].forEach(function(a,c){a.options.isInternal||b.push(O(a.options.index,c))});ea(a[c]).forEach(function(a,f){var g=R(a.id),k;g&&(k=l.get(a.id));!k&&l[c]&&(k=l[c][b?b[f]:f])&&g&&
407
+ R(k.options.id)&&(k=void 0);k&&k.coll===c&&(k.update(a,!1),d&&(k.touched=!0));!k&&d&&l.collectionsWithInit[c]&&(l.collectionsWithInit[c][0].apply(l,[a].concat(l.collectionsWithInit[c][1]||[]).concat([!1])).touched=!0)});d&&l[c].forEach(function(a){a.touched||a.options.isInternal?delete a.touched:m.push(a)})}});m.forEach(function(a){a.chart&&a.remove&&a.remove(!1)});v&&l.axes.forEach(function(a){a.update({},!1)});e&&l.getSeriesOrderByLinks().forEach(function(a){a.chart&&a.update({},!1)},this);v=p&&
408
+ p.width;p=p&&(U(p.height)?fa(p.height,v||l.chartWidth):p.height);q||V(v)&&v!==l.chartWidth||V(p)&&p!==l.chartHeight?l.setSize(v,p,g):O(b,!0)&&l.redraw(g);N(l,"afterUpdate",{options:a,redraw:b,animation:g})};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,b=x.lang,d=c.options.chart.zooming.resetButton,
409
+ f=d.theme,g="chart"===d.relativeTo||"spacingBox"===d.relativeTo?null:"scrollablePlotBox";N(this,"beforeShowResetZoom",null,function(){c.resetZoomButton=c.renderer.button(b.resetZoom,null,null,a,f).attr({align:d.position.align,title:b.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(d.position,!1,g)});N(this,"afterShowResetZoom")};b.prototype.zoomOut=function(){N(this,"selection",{resetSelection:!0},this.zoom)};b.prototype.zoom=function(a){var c=this,b=c.pointer,d=!1,f;!a||a.resetSelection?
410
+ (c.axes.forEach(function(a){f=a.zoom()}),b.initiated=!1):a.xAxis.concat(a.yAxis).forEach(function(a){var g=a.axis;if(b[g.isXAxis?"zoomX":"zoomY"]&&R(b.mouseDownX)&&R(b.mouseDownY)&&c.isInsidePlot(b.mouseDownX-c.plotLeft,b.mouseDownY-c.plotTop,{axis:g})||!R(c.inverted?b.mouseDownX:b.mouseDownY))f=g.zoom(a.min,a.max),g.displayBtn&&(d=!0)});var g=c.resetZoomButton;d&&!g?c.showResetZoom():!d&&W(g)&&(c.resetZoomButton=g.destroy());f&&c.redraw(O(c.options.chart.animation,a&&a.animation,100>c.pointCount))};
411
+ b.prototype.pan=function(a,c){var b=this,d=b.hoverPoints;c="object"===typeof c?c:{enabled:c,type:"x"};var f=b.options.chart;f&&f.panning&&(f.panning=c);var g=c.type,l;N(this,"pan",{originalEvent:a},function(){d&&d.forEach(function(a){a.setState()});var c=b.xAxis;"xy"===g?c=c.concat(b.yAxis):"y"===g&&(c=b.yAxis);var f={};c.forEach(function(c){if(c.options.panningEnabled&&!c.options.isInternal){var d=c.horiz,k=a[d?"chartX":"chartY"];d=d?"mouseDownX":"mouseDownY";var h=b[d],m=c.minPointOffset||0,e=c.reversed&&
412
+ !b.inverted||!c.reversed&&b.inverted?-1:1,q=c.getExtremes(),p=c.toValue(h-k,!0)+m*e,v=c.toValue(h+c.len-k,!0)-(m*e||c.isXAxis&&c.pointRangePadding||0),n=v<p;e=c.hasVerticalPanning();h=n?v:p;p=n?p:v;var u=c.panningState;!e||c.isXAxis||u&&!u.isDirty||c.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});V(c.dataMin)&&V(c.dataMax)&&(u.startMin=Math.min(O(a.options.threshold,Infinity),c.dataMin,u.startMin),u.startMax=
413
+ Math.max(O(a.options.threshold,-Infinity),c.dataMax,u.startMax))});e=Math.min(O(u&&u.startMin,q.dataMin),m?q.min:c.toValue(c.toPixels(q.min)-c.minPixelPadding));v=Math.max(O(u&&u.startMax,q.dataMax),m?q.max:c.toValue(c.toPixels(q.max)+c.minPixelPadding));c.panningState=u;c.isOrdinal||(m=e-h,0<m&&(p+=m,h=e),m=p-v,0<m&&(p=v,h-=m),c.series.length&&h!==q.min&&p!==q.max&&h>=e&&p<=v&&(c.setExtremes(h,p,!1,!1,{trigger:"pan"}),!b.resetZoomButton&&h!==e&&p!==v&&g.match("y")&&(b.showResetZoom(),c.displayBtn=
414
+ !1),l=!0),f[d]=k)}});X(f,function(a,c){b[c]=a});l&&b.redraw(!1);I(b.container,{cursor:"move"})})};return b}();H(b.prototype,{callbacks:[],collectionsWithInit:{xAxis:[b.prototype.addAxis,[!0]],yAxis:[b.prototype.addAxis,[!1]],series:[b.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","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(" "),
415
+ propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});"";return b});H(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],function(b){var e=b.merge,z=b.pick,C;(function(b){b.drawLineMarker=function(b){var y=this.legendItem=this.legendItem||{},t=this.options,r=b.symbolWidth,n=b.symbolHeight,h=n/2,a=this.chart.renderer,f=y.group;b=b.baseline-Math.round(.3*b.fontMetrics.b);var d={},k=t.marker;this.chart.styledMode||
416
+ (d={"stroke-width":t.lineWidth||0},t.dashStyle&&(d.dashstyle=t.dashStyle));y.line=a.path([["M",0,b],["L",r,b]]).addClass("highcharts-graph").attr(d).add(f);k&&!1!==k.enabled&&r&&(t=Math.min(z(k.radius,h),h),0===this.symbol.indexOf("url")&&(k=e(k,{width:n,height:n}),t=0),y.symbol=y=a.symbol(this.symbol,r/2-t,b-t,2*t,2*t,k).addClass("highcharts-point").add(f),y.isMarker=!0)};b.drawRectangle=function(b,e){e=e.legendItem||{};var t=b.symbolHeight,r=b.options.squareSymbol;e.symbol=this.chart.renderer.rect(r?
417
+ (b.symbolWidth-t)/2:0,b.baseline-t+1,r?t:b.symbolWidth,t,z(b.options.symbolRadius,t/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.group)}})(C||(C={}));return C});H(e,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",
418
418
  lineColor:"#000000",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}},
419
- select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"}});J(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q,F,x,v,m){var l=
420
- b.animObject,a=b.setAnimation,f=e.defaultOptions,d=u.registerEventOptions,k=C.hasTouch,p=C.svg,E=C.win,A=x.seriesTypes,w=m.addEvent,I=m.arrayMax,t=m.arrayMin,h=m.clamp,y=m.cleanRecursively,r=m.correctFloat,n=m.defined,g=m.erase,D=m.error,c=m.extend,z=m.find,G=m.fireEvent,H=m.getNestedProperty,O=m.isArray,K=m.isNumber,T=m.isString,Y=m.merge,Q=m.objectEach,L=m.pick,ba=m.removeEvent,J=m.splat,M=m.syncTimeout;b=function(){function b(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=
421
- 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,b){G(this,"init",{options:b});var g=this,f=a.series;this.eventsToUnbind=[];g.chart=a;g.options=g.setOptions(b);b=g.options;g.linkedSeries=[];g.bindAxes();c(g,{name:b.name,state:"",visible:!1!==b.visible,selected:!0===b.selected});d(this,b);var h=b.events;if(h&&h.click||b.point&&b.point.events&&b.point.events.click||
422
- b.allowPointSelect)a.runTrackerClick=!0;g.getColor();g.getSymbol();g.parallelArrays.forEach(function(a){g[a+"Data"]||(g[a+"Data"]=[])});g.isCartesian&&(a.hasCartesianSeries=!0);var k;f.length&&(k=f[f.length-1]);g._i=L(k&&k._i,-1)+1;g.opacity=g.options.opacity;a.orderSeries(this.insert(f));b.dataSorting&&b.dataSorting.enabled?g.setDataSortingOptions():g.points||g.data||g.setData(b.data,!1);G(this,"afterInit")};b.prototype.is=function(a){return A[a]&&this instanceof A[a]};b.prototype.insert=function(a){var c=
423
- this.options.index,b;if(K(c)){for(b=a.length;b--;)if(c>=L(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 L(b,a.length-1)};b.prototype.bindAxes=function(){var a=this,c=a.options,b=a.chart,d;G(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(g){var f=0;b[g].forEach(function(b){d=b.options;if(c[g]===f&&!d.isInternal||"undefined"!==typeof c[g]&&c[g]===d.id||"undefined"===typeof c[g]&&0===d.index)a.insert(b.series),a[g]=b,
424
- b.isDirty=!0;d.isInternal||f++});a[g]||a.optionalAxis===g||D(18,!0,b)})});G(this,"afterBindAxes")};b.prototype.updateParallelArrays=function(a,c){var b=a.series,d=arguments,g=K(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)};b.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&
425
- this.yData&&0<this.yData.length};b.prototype.autoIncrement=function(a){var c=this.options,b=c.pointIntervalUnit,d=c.relativeXValue,g=this.chart.time,f=this.xIncrement,h;f=L(f,c.pointStart,0);this.pointInterval=h=L(this.pointInterval,c.pointInterval,1);d&&K(a)&&(h*=a);b&&(c=new g.Date(f),"day"===b?g.set("Date",c,g.get("Date",c)+h):"month"===b?g.set("Month",c,g.get("Month",c)+h):"year"===b&&g.set("FullYear",c,g.get("FullYear",c)+h),h=c.getTime()-f);if(d&&K(a))return f+h;this.xIncrement=f+h;return f};
426
- b.prototype.setDataSortingOptions=function(){var a=this.options;c(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});n(a.pointRange)||(a.pointRange=1)};b.prototype.setOptions=function(a){var c=this.chart,b=c.options,d=b.plotOptions,g=c.userOptions||{};a=Y(a);c=c.styledMode;var h={plotOptions:d,userOptions:a};G(this,"setOptions",h);var k=h.plotOptions[this.type],l=g.plotOptions||{};this.userOptions=h.userOptions;g=Y(k,d.series,g.plotOptions&&g.plotOptions[this.type],a);this.tooltipOptions=
427
- Y(f.tooltip,f.plotOptions.series&&f.plotOptions.series.tooltip,f.plotOptions[this.type].tooltip,b.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:g.stickyTracking);null===k.marker&&delete g.marker;this.zoneAxis=g.zoneAxis;d=this.zones=(g.zones||[]).slice();!g.negativeColor&&!g.negativeFillColor||g.zones||
428
- (b={value:g[this.zoneAxis+"Threshold"]||g.threshold||0,className:"highcharts-negative"},c||(b.color=g.negativeColor,b.fillColor=g.negativeFillColor),d.push(b));d.length&&n(d[d.length-1].value)&&d.push(c?{}:{color:this.color,fillColor:this.fillColor});G(this,"afterSetOptions",{options:g});return g};b.prototype.getName=function(){return L(this.options.name,"Series "+(this.index+1))};b.prototype.getCyclic=function(a,c,b){var d=this.chart,g=this.userOptions,f=a+"Index",h=a+"Counter",k=b?b.length:L(d.options.chart[a+
429
- "Count"],d[a+"Count"]);if(!c){var l=L(g[f],g["_"+f]);n(l)||(d.series.length||(d[h]=0),g["_"+f]=l=d[h]%k,d[h]+=1);b&&(c=b[l])}"undefined"!==typeof l&&(this[f]=l);this[a]=c};b.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":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=
430
- function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};b.prototype.findPointIndex=function(a,c){var b=a.id,d=a.x,g=this.points,f=this.options.dataSorting,h,k;if(b)f=this.chart.get(b),f instanceof q&&(h=f);else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)if(h=function(c){return!c.touched&&c.index===a.index},f&&f.matchByName?h=function(c){return!c.touched&&c.name===a.name}:this.options.relativeXValue&&(h=function(c){return!c.touched&&
431
- c.options.x===a.x}),h=z(g,h),!h)return;if(h){var l=h&&h.index;"undefined"!==typeof l&&(k=!0)}"undefined"===typeof l&&K(d)&&(l=this.xData.indexOf(d,c));-1!==l&&"undefined"!==typeof l&&this.cropped&&(l=l>=this.cropStart?l-this.cropStart:l);!k&&K(l)&&g[l]&&g[l].touched&&(l=void 0);return l};b.prototype.updateData=function(a,c){var b=this.options,d=b.dataSorting,g=this.points,f=[],h=this.requireSorting,k=a.length===g.length,l,e,t,p=!0;this.xIncrement=null;a.forEach(function(a,c){var e=n(a)&&this.pointClass.prototype.optionsToObject.call({series:this},
432
- a)||{},p=e.x;if(e.id||K(p)){if(e=this.findPointIndex(e,t),-1===e||"undefined"===typeof e?f.push(a):g[e]&&a!==b.data[e]?(g[e].update(a,!1,null,!1),g[e].touched=!0,h&&(t=e+1)):g[e]&&(g[e].touched=!0),!k||c!==e||d&&d.enabled||this.hasDerivedData)l=!0}else f.push(a)},this);if(l)for(a=g.length;a--;)(e=g[a])&&!e.touched&&e.remove&&e.remove(!1,c);else!k||d&&d.enabled?p=!1:(a.forEach(function(a,c){a!==g[c].y&&g[c].update&&g[c].update(a,!1,null,!1)}),f.length=0);g.forEach(function(a){a&&(a.touched=!1)});if(!p)return!1;
433
- f.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};b.prototype.setData=function(a,c,b,d){void 0===c&&(c=!0);var g=this,f=g.points,h=f&&f.length||0,k=g.options,l=g.chart,e=k.dataSorting,n=g.xAxis,t=k.turboThreshold,p=this.xData,r=this.yData,m=g.pointArrayMap;m=m&&m.length;var z=k.keys,G,w=0,A=1,y=null;if(!l.options.chart.allowMutatingData){k.data&&delete g.options.data;g.userOptions.data&&
434
- delete g.userOptions.data;var E=Y(!0,a)}a=E||a||[];E=a.length;e&&e.enabled&&(a=this.sortData(a));l.options.chart.allowMutatingData&&!1!==d&&E&&h&&!g.cropped&&!g.hasGroupedData&&g.visible&&!g.boosted&&(G=this.updateData(a,b));if(!G){g.xIncrement=null;g.colorCounter=0;this.parallelArrays.forEach(function(a){g[a+"Data"].length=0});if(t&&E>t)if(y=g.getFirstValidPoint(a),K(y))for(b=0;b<E;b++)p[b]=this.autoIncrement(),r[b]=a[b];else if(O(y))if(m)if(y.length===m)for(b=0;b<E;b++)p[b]=this.autoIncrement(),
435
- r[b]=a[b];else for(b=0;b<E;b++)d=a[b],p[b]=d[0],r[b]=d.slice(1,m+1);else if(z&&(w=z.indexOf("x"),A=z.indexOf("y"),w=0<=w?w:0,A=0<=A?A:1),1===y.length&&(A=0),w===A)for(b=0;b<E;b++)p[b]=this.autoIncrement(),r[b]=a[b][A];else for(b=0;b<E;b++)d=a[b],p[b]=d[w],r[b]=d[A];else D(12,!1,l);else for(b=0;b<E;b++)"undefined"!==typeof a[b]&&(d={series:g},g.pointClass.prototype.applyOptions.apply(d,[a[b]]),g.updateParallelArrays(d,b));r&&T(r[0])&&D(14,!0,l);g.data=[];g.options.data=g.userOptions.data=a;for(b=h;b--;)f[b]&&
436
- f[b].destroy&&f[b].destroy();n&&(n.minRange=n.userMinRange);g.isDirty=l.isDirtyBox=!0;g.isDirtyData=!!f;b=!1}"point"===k.legendType&&(this.processData(),this.generatePoints());c&&l.redraw(b)};b.prototype.sortData=function(a){var c=this,b=c.options.dataSorting.sortKey||"y",d=function(a,c){return n(c)&&a.pointClass.prototype.optionsToObject.call({series:a},c)||{}};a.forEach(function(b,g){a[g]=d(c,b);a[g].index=g},this);a.concat().sort(function(a,c){a=H(b,a);c=H(b,c);return c<a?-1:c>a?1:0}).forEach(function(a,
437
- c){a.x=c},this);c.linkedSeries&&c.linkedSeries.forEach(function(c){var b=c.options,g=b.data;b.dataSorting&&b.dataSorting.enabled||!g||(g.forEach(function(b,f){g[f]=d(c,b);a[f]&&(g[f].x=a[f].x,g[f].index=f)}),c.setData(g,!1))});return a};b.prototype.getProcessedData=function(a){var c=this.xAxis,b=this.options,d=b.cropThreshold,g=a||this.getExtremesFromAll||b.getExtremesFromAll,f=this.isCartesian;a=c&&c.val2lin;b=!(!c||!c.logarithmic);var h=0,k=this.xData,l=this.yData,e=this.requireSorting;var n=!1;
438
- var t=k.length;if(c){n=c.getExtremes();var p=n.min;var r=n.max;n=!(!c.categories||c.names.length)}if(f&&this.sorted&&!g&&(!d||t>d||this.forceCrop))if(k[t-1]<p||k[0]>r)k=[],l=[];else if(this.yData&&(k[0]<p||k[t-1]>r)){var m=this.cropData(this.xData,this.yData,p,r);k=m.xData;l=m.yData;h=m.start;m=!0}for(d=k.length||1;--d;)if(c=b?a(k[d])-a(k[d-1]):k[d]-k[d-1],0<c&&("undefined"===typeof z||c<z))var z=c;else 0>c&&e&&!n&&(D(15,!1,this.chart),e=!1);return{xData:k,yData:l,cropped:m,cropStart:h,closestPointRange:z}};
439
- 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;G(this,"afterProcessData")};b.prototype.cropData=function(a,c,b,d,g){var f=a.length,h,k=0,l=f;g=L(g,this.cropShoulder);for(h=0;h<f;h++)if(a[h]>=b){k=Math.max(0,h-g);break}for(b=
440
- h;b<f;b++)if(a[b]>d){l=b+g;break}return{xData:a.slice(k,l),yData:c.slice(k,l),start:k,end:l}};b.prototype.generatePoints=function(){var a=this.options,b=this.processedData||a.data,d=this.processedXData,g=this.processedYData,f=this.pointClass,h=d.length,k=this.cropStart||0,l=this.hasGroupedData,e=a.keys,n=[];a=a.dataGrouping&&a.dataGrouping.groupAll?k:0;var t,p,r=this.data;if(!r&&!l){var m=[];m.length=b.length;r=this.data=m}e&&l&&(this.options.keys=!1);for(p=0;p<h;p++){m=k+p;if(l){var z=(new f).init(this,
441
- [d[p]].concat(J(g[p])));z.dataGroup=this.groupMap[a+p];z.dataGroup.options&&(z.options=z.dataGroup.options,c(z,z.dataGroup.options),delete z.dataLabels)}else(z=r[m])||"undefined"===typeof b[m]||(r[m]=z=(new f).init(this,b[m],d[p]));z&&(z.index=l?a+p:m,n[p]=z)}this.options.keys=e;if(r&&(h!==(t=r.length)||l))for(p=0;p<t;p++)p!==k||l||(p+=h),r[p]&&(r[p].destroyElements(),r[p].plotX=void 0);this.data=r;this.points=n;G(this,"afterGeneratePoints")};b.prototype.getXExtremes=function(a){return{min:t(a),max:I(a)}};
442
- b.prototype.getExtremes=function(a,c){var b=this.xAxis,d=this.yAxis,g=this.processedXData||this.xData,f=[],h=this.requireSorting?this.cropShoulder:0;d=d?d.positiveValuesOnly:!1;var k,l=0,e=0,n=0;a=a||this.stackedYData||this.processedYData||[];var p=a.length;if(b){var r=b.getExtremes();l=r.min;e=r.max}for(k=0;k<p;k++){var m=g[k];r=a[k];var z=(K(r)||O(r))&&(r.length||0<r||!d);m=c||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!b||(g[k+h]||m)>=l&&(g[k-h]||m)<=e;if(z&&m)if(z=
443
- r.length)for(;z--;)K(r[z])&&(f[n++]=r[z]);else f[n++]=r}a={activeYData:f,dataMin:t(f),dataMax:I(f)};G(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=a.length,b=0,d=null;null===d&&b<c;)d=a[b],b++;return d};b.prototype.translate=function(){this.processedXData||this.processData();this.generatePoints();var a=this.options,c=a.stacking,
444
- b=this.xAxis,d=b.categories,g=this.enabledDataSorting,f=this.yAxis,k=this.points,l=k.length,e=this.pointPlacementToXValue(),t=!!e,p=a.threshold,m=a.startFromThreshold?p:0,z=this.zoneAxis||"y",D,w,A=Number.MAX_VALUE;for(D=0;D<l;D++){var y=k[D],E=y.x,H=void 0,v=void 0,I=y.y,x=y.low,u=c&&f.stacking&&f.stacking.stacks[(this.negStacks&&I<(m?0:p)?"-":"")+this.stackKey];if(f.positiveValuesOnly&&!f.validatePositiveValue(I)||b.positiveValuesOnly&&!b.validatePositiveValue(E))y.isNull=!0;y.plotX=w=r(h(b.translate(E,
445
- 0,0,0,1,e,"flags"===this.type),-1E5,1E5));if(c&&this.visible&&u&&u[E]){var q=this.getStackIndicator(q,E,this.index);y.isNull||(H=u[E],v=H.points[q.key])}O(v)&&(x=v[0],I=v[1],x===m&&q.key===u[E].base&&(x=L(K(p)&&p,f.min)),f.positiveValuesOnly&&0>=x&&(x=null),y.total=y.stackTotal=H.total,y.percentage=H.total&&y.y/H.total*100,y.stackY=I,this.irregularWidths||H.setOffset(this.pointXOffset||0,this.barW||0));y.yBottom=n(x)?h(f.translate(x,0,1,0,1),-1E5,1E5):null;this.dataModify&&(I=this.dataModify.modifyValue(I,
446
- D));y.plotY=void 0;K(I)&&(H=f.translate(I,!1,!0,!1,!0),"undefined"!==typeof H&&(y.plotY=h(H,-1E5,1E5)));y.isInside=this.isPointInside(y);y.clientX=t?r(b.translate(E,0,0,0,1,e)):w;y.negative=y[z]<(a[z+"Threshold"]||p||0);y.category=L(d&&d[y.x],y.x);if(!y.isNull&&!1!==y.visible){"undefined"!==typeof B&&(A=Math.min(A,Math.abs(w-B)));var B=w}y.zone=this.zones.length?y.getZone():void 0;!y.graphic&&this.group&&g&&(y.isNew=!0)}this.closestPointRangePx=A;G(this,"afterTranslate")};b.prototype.getValidPoints=
447
- 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)})};b.prototype.getClipBox=function(){var a=this.chart,c=this.xAxis,b=this.yAxis,d=Y(a.clipBox);c&&c.len!==a.plotSizeX&&(d.width=c.len);b&&b.len!==a.plotSizeY&&(d.height=b.len);return d};b.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)};b.prototype.setClip=
448
- function(){var a=this.chart,c=this.group,b=this.markerGroup,d=a.sharedClips;a=a.renderer;var g=this.getClipBox(),f=this.getSharedClipKey(),h=d[f];h?h.animate(g):d[f]=h=a.clipRect(g);c&&c.clip(!1===this.options.clip?void 0:h);b&&b.clip()};b.prototype.animate=function(a){var c=this.chart,b=this.group,d=this.markerGroup,g=c.inverted,f=l(this.options.animation),h=[this.getSharedClipKey(),f.duration,f.easing,f.defer].join(),k=c.sharedClips[h],e=c.sharedClips[h+"m"];if(a&&b)f=this.getClipBox(),k?k.attr("height",
449
- f.height):(f.width=0,g&&(f.x=c.plotHeight),k=c.renderer.clipRect(f),c.sharedClips[h]=k,e=c.renderer.clipRect({x:g?(c.plotSizeX||0)+99:-99,y:g?-c.plotLeft:-c.plotTop,width:99,height:g?c.chartWidth:c.chartHeight}),c.sharedClips[h+"m"]=e),b.clip(k),d&&d.clip(e);else if(k&&!k.hasClass("highcharts-animating")){c=this.getClipBox();var n=f.step;d&&d.element.childNodes.length&&(f.step=function(a,c){n&&n.apply(c,arguments);e&&e.element&&e.attr(c.prop,"width"===c.prop?a+99:a)});k.addClass("highcharts-animating").animate(c,
450
- f)}};b.prototype.afterAnimate=function(){var a=this;this.setClip();Q(this.chart.sharedClips,function(c,b,d){c&&!a.chart.container.querySelector('[clip-path="url(#'.concat(c.id,')"]'))&&(c.destroy(),delete d[b])});this.finishedAnimating=!0;G(this,"afterAnimate")};b.prototype.drawPoints=function(a){void 0===a&&(a=this.points);var c=this.chart,b=this.options.marker,d=this[this.specialGroup]||this.markerGroup,g=this.xAxis,f=L(b.enabled,!g||g.isRadial?!0:null,this.closestPointRangePx>=b.enabledThreshold*
451
- b.radius),h,k;if(!1!==b.enabled||this._hasPointMarkers)for(h=0;h<a.length;h++){var l=a[h];var e=(k=l.graphic)?"animate":"attr";var n=l.marker||{};var t=!!l.marker;if((f&&"undefined"===typeof n.enabled||n.enabled)&&!l.isNull&&!1!==l.visible){var p=L(n.symbol,this.symbol,"rect");var r=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=g.reversed?-(r.width||0):g.width);var m=!1!==l.isInside;k?k[m?"show":"hide"](m).animate(r):m&&(0<(r.width||0)||l.hasImage)&&(l.graphic=k=
452
- c.renderer.symbol(p,r.x,r.y,r.width,r.height,t?n:b).add(d),this.enabledDataSorting&&c.hasRendered&&(k.attr({x:l.startXPos}),e="animate"));k&&"animate"===e&&k[m?"show":"hide"](m).animate(r);if(k&&!c.styledMode)k[e](this.pointAttribs(l,l.selected&&"select"));k&&k.addClass(l.getClassName(),!0)}else k&&(l.graphic=k.destroy())}};b.prototype.markerAttribs=function(a,c){var b=this.options,d=b.marker,g=a.marker||{},f=g.symbol||d.symbol,h=L(g.radius,d&&d.radius);c&&(d=d.states[c],c=g.states&&g.states[c],h=
453
- L(c&&c.radius,d&&d.radius,h&&h+(d&&d.radiusPlus||0)));a.hasImage=f&&0===f.indexOf("url");a.hasImage&&(h=0);a=K(h)?{x:b.crisp?Math.floor(a.plotX-h):a.plotX-h,y:a.plotY-h}:{};h&&(a.width=a.height=2*h);return a};b.prototype.pointAttribs=function(a,c){var b=this.options.marker,d=a&&a.options,g=d&&d.marker||{},f=d&&d.color,h=a&&a.color,k=a&&a.zone&&a.zone.color,l=this.color;a=L(g.lineWidth,b.lineWidth);d=1;l=f||k||h||l;f=g.fillColor||b.fillColor||l;h=g.lineColor||b.lineColor||l;c=c||"normal";b=b.states[c]||
454
- {};c=g.states&&g.states[c]||{};a=L(c.lineWidth,b.lineWidth,a+L(c.lineWidthPlus,b.lineWidthPlus,0));f=c.fillColor||b.fillColor||f;h=c.lineColor||b.lineColor||h;d=L(c.opacity,b.opacity,d);return{stroke:h,"stroke-width":a,fill:f,opacity:d}};b.prototype.destroy=function(a){var c=this,b=c.chart,d=/AppleWebKit\/533/.test(E.navigator.userAgent),f=c.data||[],h,k,l,e;G(c,"destroy",{keepEventsForUpdate:a});this.removeEvents(a);(c.axisTypes||[]).forEach(function(a){(e=c[a])&&e.series&&(g(e.series,c),e.isDirty=
455
- e.forceRedraw=!0)});c.legendItem&&c.chart.legend.destroyItem(c);for(k=f.length;k--;)(l=f[k])&&l.destroy&&l.destroy();c.clips&&c.clips.forEach(function(a){return a.destroy()});m.clearTimeout(c.animationTimeout);Q(c,function(a,c){a instanceof v&&!a.survive&&(h=d&&"group"===c?"hide":"destroy",a[h]())});b.hoverSeries===c&&(b.hoverSeries=void 0);g(b.series,c);b.orderSeries();Q(c,function(b,d){a&&"hcEvents"===d||delete c[d]})};b.prototype.applyZones=function(){var a=this,c=this.chart,b=c.renderer,d=this.zones,
456
- g=this.clips||[],f=this.graph,k=this.area,l=Math.max(c.plotWidth,c.plotHeight),e=this[(this.zoneAxis||"y")+"Axis"],n=c.inverted,t,p,r,m,z,y,D,w,G=!1;if(d.length&&(f||k)&&e&&"undefined"!==typeof e.min){var A=e.reversed;var E=e.horiz;f&&!this.showLine&&f.hide();k&&k.hide();var H=e.getExtremes();d.forEach(function(d,v){t=A?E?c.plotWidth:0:E?0:e.toPixels(H.min)||0;t=h(L(p,t),0,l);p=h(Math.round(e.toPixels(L(d.value,H.max),!0)||0),0,l);G&&(t=p=e.toPixels(H.max));m=Math.abs(t-p);z=Math.min(t,p);y=Math.max(t,
457
- p);e.isXAxis?(r={x:n?y:z,y:0,width:m,height:l},E||(r.x=c.plotHeight-r.x)):(r={x:0,y:n?y:z,width:l,height:m},E&&(r.y=c.plotWidth-r.y));n&&b.isVML&&(r=e.isXAxis?{x:0,y:A?z:y,height:r.width,width:c.chartWidth}:{x:r.y-c.plotLeft-c.spacingBox.x,y:0,width:r.height,height:c.chartHeight});g[v]?g[v].animate(r):g[v]=b.clipRect(r);D=a["zone-area-"+v];w=a["zone-graph-"+v];f&&w&&w.clip(g[v]);k&&D&&D.clip(g[v]);G=d.value>H.max;a.resetZones&&0===p&&(p=void 0)});this.clips=g}else a.visible&&(f&&f.show(),k&&k.show())};
458
- b.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(w(d,"resize",c)),c(),b.invertGroups=c)};b.prototype.plotGroup=function(a,c,b,d,g){var f=this[a],h=!f;b={visibility:b,zIndex:d||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===
459
- this.state||(b.opacity=this.opacity);h&&(this[a]=f=this.chart.renderer.g().add(g));f.addClass("highcharts-"+c+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(n(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(f.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0);f.attr(b)[h?"attr":"animate"](this.getPlotBox());return f};b.prototype.getPlotBox=function(){var a=this.chart,c=this.xAxis,b=this.yAxis;a.inverted&&(c=b,b=this.xAxis);
460
- return{translateX:c?c.left:a.plotLeft,translateY:b?b.top:a.plotTop,scaleX:1,scaleY:1}};b.prototype.removeEvents=function(a){a||ba(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind.length=0)};b.prototype.render=function(){var a=this,c=a.chart,b=a.options,d=l(b.animation),g=a.visible?"inherit":"hidden",f=b.zIndex,h=a.hasRendered,k=c.seriesGroup,e=c.inverted;c=!a.finishedAnimating&&c.renderer.isSVG?d.duration:0;G(this,"render");var n=a.plotGroup("group",
461
- "series",g,f,k);a.markerGroup=a.plotGroup("markerGroup","markers",g,f,k);!1!==b.clip&&a.setClip();a.animate&&c&&a.animate(!0);n.inverted=L(a.invertible,a.isCartesian)?e:!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(e);a.animate&&c&&a.animate();h||(c&&d.defer&&(c+=d.defer),a.animationTimeout=M(function(){a.afterAnimate()},
462
- c||0));a.isDirty=!1;a.hasRendered=!0;G(a,"afterRender")};b.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:L(d&&d.left,a.plotLeft),translateY:L(g&&g.top,a.plotTop)}));this.translate();this.render();c&&delete this.kdTree};b.prototype.searchPoint=function(a,c){var b=this.xAxis,d=this.yAxis,g=this.chart.inverted;return this.searchKDTree({clientX:g?
463
- b.len-a.chartY+b.pos:a.chartX-b.pos,plotY:g?d.len-a.chartX+d.pos:a.chartY-d.pos},c,a)};b.prototype.buildKDTree=function(a){function c(a,d,g){var f=a&&a.length;if(f){var h=b.kdAxisArray[d%g];a.sort(function(a,c){return a[h]-c[h]});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;M(function(){b.kdTree=c(b.getValidPoints(null,!b.directTouch),d,d);b.buildingKdTree=
464
- !1},b.options.kdNow||a&&"touchstart"===a.type?0:1)};b.prototype.searchKDTree=function(a,c,b){function d(a,c,b,l){var e=c.point,t=g.kdAxisArray[b%l],p=e,r=n(a[f])&&n(e[f])?Math.pow(a[f]-e[f],2):null;var m=n(a[h])&&n(e[h])?Math.pow(a[h]-e[h],2):null;m=(r||0)+(m||0);e.dist=n(m)?Math.sqrt(m):Number.MAX_VALUE;e.distX=n(r)?Math.sqrt(r):Number.MAX_VALUE;t=a[t]-e[t];m=0>t?"left":"right";r=0>t?"right":"left";c[m]&&(m=d(a,c[m],b+1,l),p=m[k]<p[k]?m:e);c[r]&&Math.sqrt(t*t)<p[k]&&(a=d(a,c[r],b+1,l),p=a[k]<p[k]?
465
- a:p);return p}var g=this,f=this.kdAxisArray[0],h=this.kdAxisArray[1],k=c?"distX":"dist";c=-1<g.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(b);if(this.kdTree)return d(a,this.kdTree,c,c)};b.prototype.pointPlacementToXValue=function(){var a=this.options,c=a.pointRange,b=this.xAxis;a=a.pointPlacement;"between"===a&&(a=b.reversed?-.5:.5);return K(a)?a*(c||b.pointRange):0};b.prototype.isPointInside=function(a){var c=this.chart,b=this.xAxis,d=this.yAxis;
466
- return"undefined"!==typeof a.plotY&&"undefined"!==typeof a.plotX&&0<=a.plotY&&a.plotY<=(d?d.len:c.plotHeight)&&0<=a.plotX&&a.plotX<=(b?b.len:c.plotWidth)};b.prototype.drawTracker=function(){var a=this,c=a.options,b=c.trackByArea,d=[].concat(b?a.areaPath:a.graphPath),g=a.chart,f=g.pointer,h=g.renderer,l=g.options.tooltip.snap,e=a.tracker,n=function(c){if(g.hoverSeries!==a)a.onMouseOver()},t="rgba(192,192,192,"+(p?.0001:.002)+")";e?e.attr({d:d}):a.graph&&(a.tracker=h.path(d).attr({visibility:a.visible?
467
- "inherit":"hidden",zIndex:2}).addClass(b?"highcharts-tracker-area":"highcharts-tracker-line").add(a.group),g.styledMode||a.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:t,fill:b?t:"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",n).on("mouseout",function(a){f.onTrackerMouseOut(a)}),c.cursor&&!g.styledMode&&a.css({cursor:c.cursor}),k))a.on("touchstart",
468
- n)}));G(this,"afterDrawTracker")};b.prototype.addPoint=function(a,c,b,d,g){var f=this.options,h=this.data,k=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var e=f.data,n=this.xData,t;c=L(c,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[a]);var r=p.x;var m=n.length;if(this.requireSorting&&r<n[m-1])for(t=!0;m&&n[m-1]>r;)m--;this.updateParallelArrays(p,"splice",m,0,0);this.updateParallelArrays(p,m);l&&p.name&&(l[r]=p.name);e.splice(m,0,a);if(t||this.processedData)this.data.splice(m,
469
- 0,null),this.processData();"point"===f.legendType&&this.generatePoints();b&&(h[0]&&h[0].remove?h[0].remove(!1):(h.shift(),this.updateParallelArrays(p,"shift"),e.shift()));!1!==g&&G(this,"addPoint",{point:p});this.isDirtyData=this.isDirty=!0;c&&k.redraw(d)};b.prototype.removePoint=function(c,b,d){var g=this,f=g.data,h=f[c],k=g.points,l=g.chart,e=function(){k&&k.length===f.length&&k.splice(c,1);f.splice(c,1);g.options.data.splice(c,1);g.updateParallelArrays(h||{series:g},"splice",c,1);h&&h.destroy();
470
- g.isDirty=!0;g.isDirtyData=!0;b&&l.redraw()};a(d,l);b=L(b,!0);h?h.firePointEvent("remove",null,e):e()};b.prototype.remove=function(a,c,b,d){function g(){f.destroy(d);h.isDirtyLegend=h.isDirtyBox=!0;h.linkSeries();L(a,!0)&&h.redraw(c)}var f=this,h=f.chart;!1!==b?G(f,"remove",null,g):g()};b.prototype.update=function(a,b){a=y(a,this.userOptions);G(this,"update",{options:a});var d=this,g=d.chart,f=d.userOptions,h=d.initialType||d.type,k=g.options.plotOptions,l=A[h].prototype,e=d.finishedAnimating&&{animation:!1},
471
- n={},t=["eventOptions","navigatorSeries","baseSeries"],p=a.type||f.type||g.options.chart.type,r=!(this.hasDerivedData||p&&p!==this.type||"undefined"!==typeof a.pointStart||"undefined"!==typeof a.pointInterval||"undefined"!==typeof a.relativeXValue||a.joinBy||a.mapData||d.hasOptionChanged("dataGrouping")||d.hasOptionChanged("pointStart")||d.hasOptionChanged("pointInterval")||d.hasOptionChanged("pointIntervalUnit")||d.hasOptionChanged("keys"));p=p||h;r&&(t.push("data","isDirtyData","points","processedData",
472
- "processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==a.visible&&t.push("area","graph"),d.parallelArrays.forEach(function(a){t.push(a+"Data")}),a.data&&(a.dataSorting&&c(d.options.dataSorting,a.dataSorting),this.setData(a.data,!1)));a=Y(f,e,{index:"undefined"===typeof f.index?d.index:f.index,pointStart:L(k&&k.series&&k.series.pointStart,f.pointStart,d.xData[0])},!r&&{data:d.options.data},
473
- a);r&&a.data&&(a.data=d.options.data);t=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(t);t.forEach(function(a){t[a]=d[a];delete d[a]});k=!1;if(A[p]){if(k=p!==d.type,d.remove(!1,!1,!1,!0),k)if(Object.setPrototypeOf)Object.setPrototypeOf(d,A[p].prototype);else{e=Object.hasOwnProperty.call(d,"hcEvents")&&d.hcEvents;for(m in l)d[m]=void 0;c(d,A[p].prototype);e?d.hcEvents=e:delete d.hcEvents}}else D(17,!0,g,{missingModuleFor:p});t.forEach(function(a){d[a]=t[a]});d.init(g,
474
- a);if(r&&this.points){a=d.options;if(!1===a.visible)n.graphic=1,n.dataLabel=1;else if(!d._hasPointLabels){l=a.marker;var m=a.dataLabels;!l||!1!==l.enabled&&(f.marker&&f.marker.symbol)===l.symbol||(n.graphic=1);m&&!1===m.enabled&&(n.dataLabel=1)}f=0;for(l=this.points;f<l.length;f++)(m=l[f])&&m.series&&(m.resolveColor(),Object.keys(n).length&&m.destroyElements(n),!1===a.showInLegend&&m.legendItem&&g.legend.destroyItem(m))}d.initialType=h;g.linkSeries();k&&d.linkedSeries.length&&(d.isDirtyData=!0);G(this,
475
- "afterUpdate");L(b,!0)&&g.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],b=this.chart.options.plotOptions,d=this.userOptions[a];return d?c!==d:c!==L(b&&b[this.type]&&b[this.type][a],b&&b.series&&b.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&&
476
- G(this,"mouseOver");this.setState("hover");a.hoverSeries=this};b.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&&G(this,"mouseOut");!b||this.stickyTracking||b.shared&&!this.noSharedTooltip||b.hide();c.series.forEach(function(a){a.setState("",!0)})};b.prototype.setState=function(a,c){var b=this,d=b.options,g=b.graph,f=d.inactiveOtherPoints,h=d.states,k=L(h[a||"normal"]&&h[a||"normal"].animation,
477
- b.chart.options.chart.animation),l=d.lineWidth,e=0,n=d.opacity;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(h[a]&&!1===h[a].enabled)return;a&&(l=h[a].lineWidth||l+(h[a].lineWidthPlus||0),n=L(h[a].opacity,n));if(g&&!g.dashstyle)for(d={"stroke-width":l},g.animate(d,k);b["zone-graph-"+e];)b["zone-graph-"+e].animate(d,k),e+=1;f||
478
- [b.group,b.markerGroup,b.dataLabelsGroup,b.labelBySeries].forEach(function(a){a&&a.animate({opacity:n},k)})}c&&f&&b.points&&b.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 b=this,d=b.chart,g=d.options.chart.ignoreHiddenSeries,f=b.visible,h=(b.visible=a=b.options.visible=b.userOptions.visible="undefined"===typeof a?!f:a)?"show":"hide";["group","dataLabelsGroup","markerGroup",
479
- "tracker","tt"].forEach(function(a){if(b[a])b[a][h]()});if(d.hoverSeries===b||(d.hoverPoint&&d.hoverPoint.series)===b)b.onMouseOut();b.legendItem&&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)});g&&(d.isDirtyBox=!0);G(b,h);!1!==c&&d.redraw()};b.prototype.show=function(){this.setVisible(!0)};b.prototype.hide=function(){this.setVisible(!1)};b.prototype.select=
480
- 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")};b.prototype.shouldShowTooltip=function(a,c,b){void 0===b&&(b={});b.series=this;b.visiblePlotOnly=!0;return this.chart.isInsidePlot(a,c,b)};b.defaultOptions=F;b.types=x.seriesTypes;b.registerType=x.registerSeriesType;return b}();c(b.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:B.drawLineMarker,
481
- isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:q,requireSorting:!0,sorted:!0});x.series=b;"";"";return b});J(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/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q){var K=b.stop,x=q.addEvent,v=q.createElement,m=q.defined,l=q.merge,a=q.pick;x(u,"afterSetChartSize",function(a){var b=
482
- this.options.chart.scrollablePlotArea,f=b&&b.minWidth;b=b&&b.minHeight;if(!this.renderer.forExport){if(f){if(this.scrollablePixelsX=f=Math.max(0,f-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=l(this.plotBox);this.plotBox.width=this.plotWidth+=f;this.inverted?this.clipBox.height+=f:this.clipBox.width+=f;var p={1:{name:"right",value:f}}}}else b&&(this.scrollablePixelsY=f=Math.max(0,b-this.chartHeight),m(f)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=l(this.plotBox),
483
- this.plotBox.height=this.plotHeight+=f,this.inverted?this.clipBox.width+=f:this.clipBox.height+=f,p={2:{name:"bottom",value:f}}));p&&!a.skipAxes&&this.axes.forEach(function(a){p[a.side]?a.getPlotLinePath=function(){var b=p[a.side].name,d=this[b];this[b]=d-p[a.side].value;var f=e.prototype.getPlotLinePath.apply(this,arguments);this[b]=d;return f}:(a.setAxisSize(),a.setAxisTranslation())})}});x(u,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),
484
- this.applyFixed()):this.fixedDiv&&this.applyFixed()});u.prototype.setUpScrolling=function(){var a=this,b={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(b.overflowX="auto");this.scrollablePixelsY&&(b.overflowY="auto");this.scrollingParent=v("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=v("div",{className:"highcharts-scrolling"},b,this.scrollingParent);x(this.scrollingContainer,"scroll",
485
- function(){a.pointer&&delete a.pointer.chartPosition});this.innerContainer=v("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};u.prototype.moveFixedElements=function(){var a=this.container,b=this.fixedRenderer,k=".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(" "),
486
- l;this.scrollablePixelsX&&!this.inverted?l=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?l=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?l=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(l=".highcharts-yaxis");l&&k.push(""+l+":not(.highcharts-radial-axis)",""+l+"-labels:not(.highcharts-radial-axis-labels)");k.forEach(function(d){[].forEach.call(a.querySelectorAll(d),function(a){(a.namespaceURI===b.SVG_NS?b.box:b.box.parentNode).appendChild(a);a.style.pointerEvents=
487
- "auto"})})};u.prototype.applyFixed=function(){var b=!this.fixedDiv,d=this.options.chart,k=d.scrollablePlotArea,l=B.getRendererType();b?(this.fixedDiv=v("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 l(this.fixedDiv,this.chartWidth,
488
- this.chartHeight,this.options.chart.style),this.scrollableMask=d.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":a(k.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),x(this,"afterShowResetZoom",this.moveFixedElements),x(this,"afterApplyDrilldown",this.moveFixedElements),x(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);if(this.scrollableDirty||b)this.scrollableDirty=!1,this.moveFixedElements();
489
- d=this.chartWidth+(this.scrollablePixelsX||0);l=this.chartHeight+(this.scrollablePixelsY||0);K(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";b&&(k.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*k.scrollPositionX),k.scrollPositionY&&(this.scrollingContainer.scrollTop=
490
- this.scrollablePixelsY*k.scrollPositionY));l=this.axisOffset;b=this.plotTop-l[0]-1;k=this.plotLeft-l[3]-1;d=this.plotTop+this.plotHeight+l[2]+1;l=this.plotLeft+this.plotWidth+l[1]+1;var e=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),m=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",e,b],["L",this.chartWidth,b],["L",this.chartWidth,d],["L",e,d],["Z"]]:this.scrollablePixelsY?
491
- [["M",k,0],["L",k,this.plotTop-1],["L",l,this.plotTop-1],["L",l,0],["Z"],["M",k,m],["L",k,this.chartHeight],["L",l,this.chartHeight],["L",l,m],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:b})};x(e,"afterInit",function(){this.chart.scrollableDirty=!0});x(C,"show",function(){this.chart.scrollableDirty=!0});""});J(e,"Core/Axis/Stacking/StackItem.js",[e["Core/FormatUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u){var K=b.format,
492
- B=e.series,q=u.defined,F=u.destroyObjectProperties,x=u.isNumber,v=u.pick;b=function(){function b(b,a,f,d,k){var l=b.chart.inverted;this.axis=b;this.isNegative=f;this.options=a=a||{};this.x=d;this.cumulative=this.total=null;this.points={};this.hasValidPoints=!1;this.stack=k;this.rightCliff=this.leftCliff=0;this.alignOptions={align:a.align||(l?f?"left":"right":"center"),verticalAlign:a.verticalAlign||(l?"middle":f?"bottom":"top"),y:a.y,x:a.x};this.textAlign=a.textAlign||(l?f?"right":"left":"center")}
493
- b.prototype.destroy=function(){F(this,this.axis)};b.prototype.render=function(b){var a=this.axis.chart,f=this.options,d=f.format;d=d?K(d,this,a):f.formatter.call(this);this.label?this.label.attr({text:d,visibility:"hidden"}):(this.label=a.renderer.label(d,null,null,f.shape,null,null,f.useHTML,!1,"stack-labels"),d={r:f.borderRadius||0,text:d,rotation:f.rotation,padding:v(f.padding,5),visibility:"hidden"},a.styledMode||(d.fill=f.backgroundColor,d.stroke=f.borderColor,d["stroke-width"]=f.borderWidth,
494
- this.label.css(f.style)),this.label.attr(d),this.label.added||this.label.add(b));this.label.labelrank=a.plotSizeY};b.prototype.setOffset=function(b,a,f,d,k){var l=this.axis,e=l.chart;d=l.translate(l.stacking.usePercentage?100:d?d:this.total,0,0,0,1);f=l.translate(f?f:0);b=v(k,e.xAxis[0].translate(this.x))+b;l=q(d)&&this.getStackBox(e,this,b,d,a,Math.abs(d-f),l);a=this.label;f=this.isNegative;var m=this.textAlign;a&&l&&(b=a.getBBox(),k=a.padding,d="justify"===v(this.options.overflow,"justify"),m="left"===
495
- m?e.inverted?-k:k:"right"===m?b.width:e.inverted&&"center"===m?b.width/2:e.inverted?f?b.width+k:-k:b.width/2,f=e.inverted?b.height/2:f?-k:b.height,this.alignOptions.x=v(this.options.x,0),this.alignOptions.y=v(this.options.y,0),l.x-=m,l.y-=f,a.align(this.alignOptions,null,l),e.isInsidePlot(a.alignAttr.x+m-this.alignOptions.x,a.alignAttr.y+f-this.alignOptions.y)?a.show():(a.hide(),d=!1),d&&B.prototype.justifyDataLabel.call(this.axis,a,this.alignOptions,a.alignAttr,b,l),a.attr({x:a.alignAttr.x,y:a.alignAttr.y}),
496
- v(!d&&this.options.crop,!0)&&((e=x(a.x)&&x(a.y)&&e.isInsidePlot(a.x-k+a.width,a.y)&&e.isInsidePlot(a.x+k,a.y))||a.hide()))};b.prototype.getStackBox=function(b,a,f,d,k,e,m){var l=a.axis.reversed,p=b.inverted,E=m.height+m.pos-(p?b.plotLeft:b.plotTop);a=a.isNegative&&!l||!a.isNegative&&l;return{x:p?a?d-m.right:d-e+m.pos-b.plotLeft:f+b.xAxis[0].transB-b.plotLeft,y:p?m.height-f-k:a?E-d-e:E-d,width:p?e:k,height:p?k:e}};return b}();"";return b});J(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],
497
- e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(b,e,u,C,B){function q(){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(b){var d=b.xAxis&&b.xAxis.options||{};!b.options.stacking||!0!==b.visible&&!1!==a.options.chart.ignoreHiddenSeries||(b.stackKey=[b.type,r(b.options.stack,""),c?d.top:d.left,c?d.height:
498
- d.width].join())})}function K(){var a=this.stacking;if(a){var c=a.stacks;y(c,function(a,b){w(a);c[b]=null});a&&a.stackTotalGroup&&a.stackTotalGroup.destroy()}}function x(){this.stacking||(this.stacking=new n(this))}function v(a,c,b,d){!A(a)||a.x!==c||d&&a.stackKey!==d?a={x:c,index:0,key:d,stackKey:d}:a.index++;a.key=[b,c,a.index].join();return a}function m(){var a=this,c=a.stackKey,b=a.yAxis.stacking.stacks,d=a.processedXData,g=a[a.options.stacking+"Stacker"],f;g&&[c,"-"+c].forEach(function(c){for(var h=
499
- d.length,k,l;h--;)k=d[h],f=a.getStackIndicator(f,k,a.index,c),(l=(k=b[c]&&b[c][k])&&k.points[f.key])&&g.call(a,l,k,h)})}function l(a,c,b){c=c.total?100/c.total:0;a[0]=E(a[0]*c);a[1]=E(a[1]*c);this.stackedYData[b]=a[1]}function a(){var a=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?k.setStackedPoints.call(this,"group"):a&&y(a.stacks,function(c,b){"group"===b.slice(-5)&&(y(c,function(a){return a.destroy()}),
500
- delete a.stacks[b])})}function f(a){var c=a||this.options.stacking;if(c&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var b=this.processedXData,d=this.processedYData,g=[],f=d.length,h=this.options,k=h.threshold,l=r(h.startFromThreshold&&k,0);h=h.stack;a=a?""+this.type+",".concat(c):this.stackKey;var e="-"+a,n=this.negStacks,p=this.yAxis,m=p.stacking.stacks,y=p.stacking.oldStacks,w,D;p.stacking.stacksTouched+=1;for(D=0;D<f;D++){var v=b[D];var I=d[D];var x=this.getStackIndicator(x,
501
- v,this.index);var u=x.key;var q=(w=n&&I<(l?0:k))?e:a;m[q]||(m[q]={});m[q][v]||(y[q]&&y[q][v]?(m[q][v]=y[q][v],m[q][v].total=null):m[q][v]=new C(p,p.options.stackLabels,!!w,v,h));q=m[q][v];null!==I?(q.points[u]=q.points[this.index]=[r(q.cumulative,l)],A(q.cumulative)||(q.base=u),q.touched=p.stacking.stacksTouched,0<x.index&&!1===this.singleStacks&&(q.points[u][0]=q.points[this.index+","+v+",0"][0])):q.points[u]=q.points[this.index]=null;"percent"===c?(w=w?a:e,n&&m[w]&&m[w][v]?(w=m[w][v],q.total=w.total=
502
- Math.max(w.total,q.total)+Math.abs(I)||0):q.total=E(q.total+(Math.abs(I)||0))):"group"===c?(t(I)&&(I=I[0]),null!==I&&(q.total=(q.total||0)+1)):q.total=E(q.total+(I||0));q.cumulative="group"===c?(q.total||1)-1:r(q.cumulative,l)+(I||0);null!==I&&(q.points[u].push(q.cumulative),g[D]=q.cumulative,q.hasValidPoints=!0)}"percent"===c&&(p.stacking.usePercentage=!0);"group"!==c&&(this.stackedYData=g);p.stacking.oldStacks={}}}var d=b.getDeferredAnimation,k=u.series.prototype,p=B.addEvent,E=B.correctFloat,A=
503
- B.defined,w=B.destroyObjectProperties,I=B.fireEvent,t=B.isArray,h=B.isNumber,y=B.objectEach,r=B.pick,n=function(){function a(a){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=a}a.prototype.buildStacks=function(){var a=this.axis,b=a.series,d=a.options.reversedStacks,g=b.length,f;if(!a.isXAxis){this.usePercentage=!1;for(f=g;f--;){var h=b[d?f:g-f-1];h.setStackedPoints();h.setGroupedPoints()}for(f=0;f<g;f++)b[f].modifyStacks();I(a,"afterBuildStacks")}};a.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var a=
504
- this.stacks=this.oldStacks;y(a,function(a){y(a,function(a){a.cumulative=a.total})})}};a.prototype.resetStacks=function(){var a=this,b=a.stacks;a.axis.isXAxis||y(b,function(c){y(c,function(b,d){h(b.touched)&&b.touched<a.stacksTouched?(b.destroy(),delete c[d]):(b.total=null,b.cumulative=null)})})};a.prototype.renderStackTotals=function(){var a=this.axis,b=a.chart,g=b.renderer,f=this.stacks;a=d(b,a.options.stackLabels&&a.options.stackLabels.animation||!1);var h=this.stackTotalGroup=this.stackTotalGroup||
505
- g.g("stack-labels").attr({zIndex:6,opacity:0}).add();h.translate(b.plotLeft,b.plotTop);y(f,function(a){y(a,function(a){a.render(h)})});h.animate({opacity:1},a)};return a}(),g;(function(b){var c=[];b.compose=function(b,d,g){-1===c.indexOf(b)&&(c.push(b),p(b,"init",x),p(b,"destroy",K));-1===c.indexOf(d)&&(c.push(d),d.prototype.getStacks=q);-1===c.indexOf(g)&&(c.push(g),b=g.prototype,b.getStackIndicator=v,b.modifyStacks=m,b.percentStacker=l,b.setGroupedPoints=a,b.setStackedPoints=f)}})(g||(g={}));return g});
506
- J(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u){var K=this&&this.__extends||function(){var b=function(e,v){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,l){b.__proto__=l}||function(b,l){for(var a in l)l.hasOwnProperty(a)&&(b[a]=l[a])};return b(e,v)};return function(e,v){function m(){this.constructor=e}b(e,v);e.prototype=null===v?Object.create(v):(m.prototype=v.prototype,new m)}}(),B=u.defined,
507
- q=u.merge;u=function(e){function x(){var b=null!==e&&e.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}K(x,e);x.prototype.drawGraph=function(){var b=this,e=this.options,l=(this.gappedPath||this.getGraphPath).call(this),a=this.chart.styledMode,f=[["graph","highcharts-graph"]];a||f[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle);f=b.getZonesGraphs(f);f.forEach(function(d,f){var k=d[0],m=b[k],A=m?"animate":"attr";m?(m.endX=b.preventGraphAnimation?null:l.xMap,
508
- m.animate({d:l})):l.length&&(b[k]=m=b.chart.renderer.path(l).addClass(d[1]).attr({zIndex:1}).add(b.group));m&&!a&&(k={stroke:d[2],"stroke-width":e.lineWidth,fill:b.fillGraph&&b.color||"none"},d[3]?k.dashstyle=d[3]:"square"!==e.linecap&&(k["stroke-linecap"]=k["stroke-linejoin"]="round"),m[A](k).shadow(2>f&&e.shadow));m&&(m.startX=l.xMap,m.isArea=l.isArea)})};x.prototype.getGraphPath=function(b,e,l){var a=this,f=a.options,d=[],k=[],p,m=f.step;b=b||a.points;var A=b.reversed;A&&b.reverse();(m={right:1,
509
- center:2}[m]||m&&3)&&A&&(m=4-m);b=this.getValidPoints(b,!1,!(f.connectNulls&&!e&&!l));b.forEach(function(w,A){var t=w.plotX,h=w.plotY,y=b[A-1];(w.leftCliff||y&&y.rightCliff)&&!l&&(p=!0);w.isNull&&!B(e)&&0<A?p=!f.connectNulls:w.isNull&&!e?p=!0:(0===A||p?A=[["M",w.plotX,w.plotY]]:a.getPointSpline?A=[a.getPointSpline(b,w,A)]:m?(A=1===m?[["L",y.plotX,h]]:2===m?[["L",(y.plotX+t)/2,y.plotY],["L",(y.plotX+t)/2,h]]:[["L",t,y.plotY]],A.push(["L",t,h])):A=[["L",t,h]],k.push(w.x),m&&(k.push(w.x),2===m&&k.push(w.x)),
510
- d.push.apply(d,A),p=!1)});d.xMap=k;return a.graphPath=d};x.prototype.getZonesGraphs=function(b){this.zones.forEach(function(e,l){l=["zone-graph-"+l,"highcharts-graph highcharts-zone-graph-"+l+" "+(e.className||"")];this.chart.styledMode||l.push(e.color||this.color,e.dashStyle||this.options.dashStyle);b.push(l)},this);return b};x.defaultOptions=q(b.defaultOptions,{});return x}(b);e.registerSeriesType("line",u);"";return u});J(e,"Series/Area/AreaSeries.js",[e["Core/Color/Color.js"],e["Core/Legend/LegendSymbol.js"],
511
- e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C){var B=this&&this.__extends||function(){var b=function(a,f){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(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)}}(),q=b.parse,K=u.seriesTypes.line;b=C.extend;var x=C.merge,v=C.objectEach,
512
- m=C.pick;C=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}B(a,b);a.prototype.drawGraph=function(){this.areaPath=[];b.prototype.drawGraph.apply(this);var a=this,d=this.areaPath,k=this.options,l=[["area","highcharts-area",this.color,k.fillColor]];this.zones.forEach(function(b,d){l.push(["zone-area-"+d,"highcharts-area highcharts-zone-area-"+d+" "+b.className,b.color||a.color,b.fillColor||k.fillColor])});l.forEach(function(b){var f=
513
- b[0],l={},e=a[f],t=e?"animate":"attr";e?(e.endX=a.preventGraphAnimation?null:d.xMap,e.animate({d:d})):(l.zIndex=0,e=a[f]=a.chart.renderer.path(d).addClass(b[1]).add(a.group),e.isArea=!0);a.chart.styledMode||(l.fill=m(b[3],q(b[2]).setOpacity(m(k.fillOpacity,.75)).get()));e[t](l);e.startX=d.xMap;e.shiftUnit=k.step?2:1})};a.prototype.getGraphPath=function(a){var b=K.prototype.getGraphPath,f=this.options,l=f.stacking,e=this.yAxis,A=[],w=[],v=this.index,t=e.stacking.stacks[this.stackKey],h=f.threshold,
514
- y=Math.round(e.getThreshold(f.threshold));f=m(f.connectNulls,"percent"===l);var r=function(b,d,g){var f=a[b];b=l&&t[f.x].points[v];var k=f[g+"Null"]||0;g=f[g+"Cliff"]||0;f=!0;if(g||k){var n=(k?b[0]:b[1])+g;var r=b[0]+g;f=!!k}else!l&&a[d]&&a[d].isNull&&(n=r=h);"undefined"!==typeof n&&(w.push({plotX:c,plotY:null===n?y:e.getThreshold(n),isNull:f,isCliff:!0}),A.push({plotX:c,plotY:null===r?y:e.getThreshold(r),doCurve:!1}))};a=a||this.points;l&&(a=this.getStackPoints(a));for(var n=0,g=a.length;n<g;++n){l||
515
- (a[n].leftCliff=a[n].rightCliff=a[n].leftNull=a[n].rightNull=void 0);var D=a[n].isNull;var c=m(a[n].rectPlotX,a[n].plotX);var z=l?m(a[n].yBottom,y):y;if(!D||f)f||r(n,n-1,"left"),D&&!l&&f||(w.push(a[n]),A.push({x:n,plotX:c,plotY:z})),f||r(n,n+1,"right")}r=b.call(this,w,!0,!0);A.reversed=!0;D=b.call(this,A,!0,!0);(z=D[0])&&"M"===z[0]&&(D[0]=["L",z[1],z[2]]);D=r.concat(D);D.length&&D.push(["Z"]);b=b.call(this,w,!1,f);D.xMap=r.xMap;this.areaPath=D;return b};a.prototype.getStackPoints=function(a){var b=
516
- this,f=[],l=[],e=this.xAxis,A=this.yAxis,w=A.stacking.stacks[this.stackKey],I={},t=A.series,h=t.length,y=A.options.reversedStacks?1:-1,r=t.indexOf(b);a=a||this.points;if(this.options.stacking){for(var n=0;n<a.length;n++)a[n].leftNull=a[n].rightNull=void 0,I[a[n].x]=a[n];v(w,function(a,c){null!==a.total&&l.push(c)});l.sort(function(a,c){return a-c});var g=t.map(function(a){return a.visible});l.forEach(function(a,c){var d=0,k,n;if(I[a]&&!I[a].isNull)f.push(I[a]),[-1,1].forEach(function(d){var f=1===
517
- d?"rightNull":"leftNull",e=w[l[c+d]],m=0;if(e)for(var p=r;0<=p&&p<h;){var z=t[p].index;k=e.points[z];k||(z===b.index?I[a][f]=!0:g[p]&&(n=w[a].points[z])&&(m-=n[1]-n[0]));p+=y}I[a][1===d?"rightCliff":"leftCliff"]=m});else{for(var p=r;0<=p&&p<h;){if(k=w[a].points[t[p].index]){d=k[1];break}p+=y}d=m(d,0);d=A.translate(d,0,1,0,1);f.push({isNull:!0,plotX:e.translate(a,0,0,0,1),x:a,plotY:d,yBottom:d})}})}return f};a.defaultOptions=x(K.defaultOptions,{threshold:0});return a}(K);b(C.prototype,{singleStacks:!1,
518
- drawLegendSymbol:e.drawRectangle});u.registerSeriesType("area",C);"";return C});J(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var u=this&&this.__extends||function(){var b=function(e,v){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,l){b.__proto__=l}||function(b,l){for(var a in l)l.hasOwnProperty(a)&&(b[a]=l[a])};return b(e,v)};return function(e,v){function m(){this.constructor=e}b(e,v);e.prototype=null===v?Object.create(v):
519
- (m.prototype=v.prototype,new m)}}(),K=b.seriesTypes.line,B=e.merge,q=e.pick;e=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}u(e,b);e.prototype.getPointSpline=function(b,e,l){var a=e.plotX||0,f=e.plotY||0,d=b[l-1];l=b[l+1];if(d&&!d.isNull&&!1!==d.doCurve&&!e.isCliff&&l&&!l.isNull&&!1!==l.doCurve&&!e.isCliff){b=d.plotY||0;var k=l.plotX||0;l=l.plotY||0;var p=0;var m=(1.5*a+(d.plotX||0))/2.5;var A=(1.5*f+b)/2.5;k=(1.5*a+
520
- k)/2.5;var w=(1.5*f+l)/2.5;k!==m&&(p=(w-A)*(k-a)/(k-m)+f-w);A+=p;w+=p;A>b&&A>f?(A=Math.max(b,f),w=2*f-A):A<b&&A<f&&(A=Math.min(b,f),w=2*f-A);w>l&&w>f?(w=Math.max(l,f),A=2*f-w):w<l&&w<f&&(w=Math.min(l,f),A=2*f-w);e.rightContX=k;e.rightContY=w}e=["C",q(d.rightContX,d.plotX,0),q(d.rightContY,d.plotY,0),q(m,a,0),q(A,f,0),a,f];d.rightContX=d.rightContY=void 0;return e};e.defaultOptions=B(K.defaultOptions);return e}(K);b.registerSeriesType("spline",e);"";return e});J(e,"Series/AreaSpline/AreaSplineSeries.js",
521
- [e["Series/Spline/SplineSeries.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C){var B=this&&this.__extends||function(){var b=function(l,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(l,a)};return function(l,a){function f(){this.constructor=l}b(l,a);l.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),
522
- q=u.seriesTypes,K=q.area;q=q.area.prototype;var x=C.extend,v=C.merge;C=function(e){function l(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.points=void 0;a.options=void 0;return a}B(l,e);l.defaultOptions=v(b.defaultOptions,K.defaultOptions);return l}(b);x(C.prototype,{getGraphPath:q.getGraphPath,getStackPoints:q.getStackPoints,drawGraph:q.drawGraph,drawLegendSymbol:e.drawRectangle});u.registerSeriesType("areaspline",C);"";return C});J(e,"Series/Column/ColumnSeriesDefaults.js",[],
523
- function(){"";return{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}});J(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],
524
- e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q,F,x){var v=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 c in b)b.hasOwnProperty(c)&&(a[c]=b[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=
525
- d.prototype,new g)}}(),m=b.animObject,l=e.parse,a=C.hasTouch;b=C.noop;var f=x.clamp,d=x.css,k=x.defined,p=x.extend,E=x.fireEvent,A=x.isArray,w=x.isNumber,I=x.merge,t=x.pick,h=x.objectEach;x=function(b){function e(){var a=null!==b&&b.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}v(e,b);e.prototype.animate=function(a){var b=this,d=this.yAxis,c=b.options,h=this.chart.inverted,k={},e=h?"translateX":"translateY";if(a)k.scaleY=.001,
526
- a=f(d.toPixels(c.threshold),d.pos,d.pos+d.len),h?k.translateX=a-d.len:k.translateY=a,b.clipBox&&b.setClip(),b.group.attr(k);else{var l=Number(b.group.attr(e));b.group.animate({scaleY:1},p(m(b.options.animation),{step:function(a,c){b.group&&(k[e]=l+c.pos*(d.pos-l),b.group.attr(k))}}))}};e.prototype.init=function(a,d){b.prototype.init.apply(this,arguments);var g=this;a=g.chart;a.hasRendered&&a.series.forEach(function(a){a.type===g.type&&(a.isDirty=!0)})};e.prototype.getColumnMetrics=function(){var a=
527
- this,b=a.options,d=a.xAxis,c=a.yAxis,f=d.options.reversedStacks;f=d.reversed&&!f||!d.reversed&&f;var h={},k,e=0;!1===b.grouping?e=1:a.chart.series.forEach(function(b){var d=b.yAxis,g=b.options;if(b.type===a.type&&(b.visible||!a.chart.options.chart.ignoreHiddenSeries)&&c.len===d.len&&c.pos===d.pos){if(g.stacking&&"group"!==g.stacking){k=b.stackKey;"undefined"===typeof h[k]&&(h[k]=e++);var f=h[k]}else!1!==g.grouping&&(f=e++);b.columnIndex=f}});var l=Math.min(Math.abs(d.transA)*(d.ordinal&&d.ordinal.slope||
528
- b.pointRange||d.closestPointRange||d.tickInterval||1),d.len),p=l*b.groupPadding,r=(l-2*p)/(e||1);b=Math.min(b.maxPointWidth||d.len,t(b.pointWidth,r*(1-2*b.pointPadding)));a.columnMetrics={width:b,offset:(r-b)/2+(p+((a.columnIndex||0)+(f?1:0))*r-l/2)*(f?-1:1),paddedWidth:r,columnCount:e};return a.columnMetrics};e.prototype.crispCol=function(a,b,d,c){var g=this.chart,f=this.borderWidth,h=-(f%2?.5:0);f=f%2?.5:1;g.inverted&&g.renderer.isVML&&(f+=1);this.options.crisp&&(d=Math.round(a+d)+h,a=Math.round(a)+
529
- h,d-=a);c=Math.round(b+c)+f;h=.5>=Math.abs(b)&&.5<c;b=Math.round(b)+f;c-=b;h&&c&&(--b,c+=1);return{x:a,y:b,width:d,height:c}};e.prototype.adjustForMissingColumns=function(a,b,d,c){var g=this,f=this.options.stacking;if(!d.isNull&&1<c.columnCount){var k=this.yAxis.options.reversedStacks,e=0,l=k?0:-c.columnCount;h(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(a){if("number"===typeof d.x){var c=a[d.x.toString()];c&&(a=c.points[g.index],f?(a&&(e=l),c.hasValidPoints&&(k?l++:l--)):A(a)&&(a=Object.keys(c.points).filter(function(a){return!a.match(",")&&
530
- c.points[a]&&1<c.points[a].length}).map(parseFloat).sort(function(a,c){return c-a}),e=a.indexOf(g.index),l=a.length))}});a=(d.plotX||0)+((l-1)*c.paddedWidth+b)/2-b-e*c.paddedWidth}return a};e.prototype.translate=function(){var a=this,b=a.chart,d=a.options,c=a.dense=2>a.closestPointRange*a.xAxis.transA;c=a.borderWidth=t(d.borderWidth,c?0:1);var h=a.xAxis,e=a.yAxis,l=d.threshold,r=a.translatedThreshold=e.getThreshold(l),p=t(d.minPointLength,5),m=a.getColumnMetrics(),y=m.width,A=a.pointXOffset=m.offset,
531
- E=a.dataMin,I=a.dataMax,v=a.barW=Math.max(y,1+2*c);b.inverted&&(r-=.5);d.pointPadding&&(v=Math.ceil(v));q.prototype.translate.apply(a);a.points.forEach(function(c){var g=t(c.yBottom,r),n=999+Math.abs(g),z=c.plotX||0;n=f(c.plotY,-n,e.len+n);var G=Math.min(n,g),D=Math.max(n,g)-G,H=y,q=z+A,x=v;p&&Math.abs(D)<p&&(D=p,z=!e.reversed&&!c.negative||e.reversed&&c.negative,w(l)&&w(I)&&c.y===l&&I<=l&&(e.min||0)<l&&(E!==I||(e.max||0)<=l)&&(z=!z),G=Math.abs(G-r)>p?g-p:r-(z?p:0));k(c.options.pointWidth)&&(H=x=
532
- Math.ceil(c.options.pointWidth),q-=Math.round((H-y)/2));d.centerInCategory&&(q=a.adjustForMissingColumns(q,H,c,m));c.barX=q;c.pointWidth=H;c.tooltipPos=b.inverted?[f(e.len+e.pos-b.plotLeft-n,e.pos-b.plotLeft,e.len+e.pos-b.plotLeft),h.len+h.pos-b.plotTop-q-x/2,D]:[h.left-b.plotLeft+q+x/2,f(n+e.pos-b.plotTop,e.pos-b.plotTop,e.len+e.pos-b.plotTop),D];c.shapeType=a.pointClass.prototype.shapeType||"rect";c.shapeArgs=a.crispCol.apply(a,c.isNull?[q,r,x,0]:[q,G,x,D])})};e.prototype.drawGraph=function(){this.group[this.dense?
533
- "addClass":"removeClass"]("highcharts-dense-data")};e.prototype.pointAttribs=function(a,b){var d=this.options,c=this.pointAttrToOptions||{},g=c.stroke||"borderColor",f=c["stroke-width"]||"borderWidth",h=a&&a.color||this.color,k=a&&a[g]||d[g]||h;c=a&&a.options.dashStyle||d.dashStyle;var e=a&&a[f]||d[f]||this[f]||0,n=t(a&&a.opacity,d.opacity,1);if(a&&this.zones.length){var p=a.getZone();h=a.options.color||p&&(p.color||a.nonZonedColor)||this.color;p&&(k=p.borderColor||k,c=p.dashStyle||c,e=p.borderWidth||
534
- e)}b&&a&&(a=I(d.states[b],a.options.states&&a.options.states[b]||{}),b=a.brightness,h=a.color||"undefined"!==typeof b&&l(h).brighten(a.brightness).get()||h,k=a[g]||k,e=a[f]||e,c=a.dashStyle||c,n=t(a.opacity,n));g={fill:h,stroke:k,"stroke-width":e,opacity:n};c&&(g.dashstyle=c);return g};e.prototype.drawPoints=function(a){void 0===a&&(a=this.points);var b=this,d=this.chart,c=b.options,f=d.renderer,h=c.animationLimit||250,k;a.forEach(function(a){var g=a.graphic,e=!!g,l=g&&d.pointCount<h?"animate":"attr";
535
- if(w(a.plotY)&&null!==a.y){k=a.shapeArgs;g&&a.hasNewShapeType()&&(g=g.destroy());b.enabledDataSorting&&(a.startXPos=b.xAxis.reversed?-(k?k.width||0:0):b.xAxis.width);g||(a.graphic=g=f[a.shapeType](k).add(a.group||b.group))&&b.enabledDataSorting&&d.hasRendered&&d.pointCount<h&&(g.attr({x:a.startXPos}),e=!0,l="animate");if(g&&e)g[l](I(k));if(c.borderRadius)g[l]({r:c.borderRadius});d.styledMode||g[l](b.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&c.shadow,null,c.stacking&&!c.borderRadius);
536
- g&&(g.addClass(a.getClassName(),!0),g.attr({visibility:a.visible?"inherit":"hidden"}))}else g&&(a.graphic=g.destroy())})};e.prototype.drawTracker=function(){var b=this,g=b.chart,f=g.pointer,c=function(a){var c=f.getPointFromEvent(a);"undefined"!==typeof c&&(f.isDirectTouch=!0,c.onMouseOver(a))},h;b.points.forEach(function(a){h=A(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[];a.graphic&&(a.graphic.element.point=a);h.forEach(function(c){c.div?c.div.point=a:c.element.point=a})});b._hasTracking||
537
- (b.trackerGroups.forEach(function(h){if(b[h]){b[h].addClass("highcharts-tracker").on("mouseover",c).on("mouseout",function(a){f.onTrackerMouseOut(a)});if(a)b[h].on("touchstart",c);!g.styledMode&&b.options.cursor&&b[h].css(d).css({cursor:b.options.cursor})}}),b._hasTracking=!0);E(this,"afterDrawTracker")};e.prototype.remove=function(){var a=this,b=a.chart;b.hasRendered&&b.series.forEach(function(b){b.type===a.type&&(b.isDirty=!0)});q.prototype.remove.apply(a,arguments)};e.defaultOptions=I(q.defaultOptions,
538
- u);return e}(q);p(x.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:B.drawRectangle,getSymbol:b,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]});F.registerSeriesType("column",x);"";return x});J(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Utilities.js"]],function(b,e,u){var K=b.getDeferredAnimation,B=e.format,q=u.defined,F=u.extend,x=u.fireEvent,v=u.isArray,m=u.isString,l=u.merge,a=u.objectEach,f=u.pick,d=u.splat,k;
539
- (function(b){function k(a,b,d,h,c){var g=this,k=this.chart,e=this.isCartesian&&k.inverted,l=this.enabledDataSorting,n=f(a.dlBox&&a.dlBox.centerX,a.plotX),t=a.plotY,p=d.rotation,m=d.align,r=q(n)&&q(t)&&k.isInsidePlot(n,Math.round(t),{inverted:e,paneCoordinates:!0,series:g}),y=function(d){l&&g.xAxis&&!w&&g.setDataLabelStartPos(a,b,c,r,d)},w="justify"===f(d.overflow,l?"none":"justify"),A=this.visible&&!1!==a.visible&&(a.series.forceDL||l&&!w||r||f(d.inside,!!this.options.stacking)&&h&&k.isInsidePlot(n,
540
- e?h.x+1:h.y+h.height-1,{inverted:e,paneCoordinates:!0,series:g}));if(A&&q(n)&&q(t)){p&&b.attr({align:m});m=b.getBBox(!0);var E=[0,0];var I=k.renderer.fontMetrics(k.styledMode?void 0:d.style.fontSize,b).b;h=F({x:e?this.yAxis.len-t:n,y:Math.round(e?this.xAxis.len-n:t),width:0,height:0},h);F(d,{width:m.width,height:m.height});p?(w=!1,E=k.renderer.rotCorr(I,p),n={x:h.x+(d.x||0)+h.width/2+E.x,y:h.y+(d.y||0)+{top:0,middle:.5,bottom:1}[d.verticalAlign]*h.height},E=[m.x-Number(b.attr("x")),m.y-Number(b.attr("y"))],
541
- y(n),b[c?"attr":"animate"](n)):(y(h),b.align(d,void 0,h),n=b.alignAttr);w&&0<=h.height?this.justifyDataLabel(b,d,n,m,h,c):f(d.crop,!0)&&(h=n.x,y=n.y,h+=E[0],y+=E[1],A=k.isInsidePlot(h,y,{paneCoordinates:!0,series:g})&&k.isInsidePlot(h+m.width,y+m.height,{paneCoordinates:!0,series:g}));if(d.shape&&!p)b[c?"attr":"animate"]({anchorX:e?k.plotWidth-a.plotY:a.plotX,anchorY:e?k.plotHeight-a.plotX:a.plotY})}c&&l&&(b.placed=!1);A||l&&!w?b.show():(b.hide(),b.placed=!1)}function e(a,b){var d=b.filter;return d?
542
- (b=d.operator,a=a[d.property],d=d.value,">"===b&&a>d||"<"===b&&a<d||">="===b&&a>=d||"<="===b&&a<=d||"=="===b&&a==d||"==="===b&&a===d?!0:!1):!0}function p(b){void 0===b&&(b=this.points);var h=this,g=h.chart,k=h.options,c=h.hasRendered||0,l=g.renderer,p=g.options.chart,r=p.backgroundColor;p=p.plotBackgroundColor;var y=l.getContrast(m(p)&&p||m(r)&&r||"#000000"),w=k.dataLabels,A;r=w.animation;r=w.defer?K(g,r,h):{defer:0,duration:0};w=t(t(g.options.plotOptions&&g.options.plotOptions.series&&g.options.plotOptions.series.dataLabels,
543
- g.options.plotOptions&&g.options.plotOptions[h.type]&&g.options.plotOptions[h.type].dataLabels),w);x(this,"drawDataLabels");if(v(w)||w.enabled||h._hasPointLabels){var E=h.plotGroup("dataLabelsGroup","data-labels",c?"inherit":"hidden",w.zIndex||6);E.attr({opacity:+c});!c&&(c=h.dataLabelsGroup)&&(h.visible&&E.show(),c[k.animation?"animate":"attr"]({opacity:1},r));b.forEach(function(c){A=d(t(w,c.dlOptions||c.options&&c.options.dataLabels));A.forEach(function(b,d){var n=b.enabled&&(!c.isNull||c.dataLabelOnNull)&&
544
- e(c,b),t=c.connectors?c.connectors[d]:c.connector,p=c.dataLabels?c.dataLabels[d]:c.dataLabel,m=!p,r=f(b.distance,c.labelDistance);if(n){var w=c.getLabelConfig();var z=f(b[c.formatPrefix+"Format"],b.format);w=q(z)?B(z,w,g):(b[c.formatPrefix+"Formatter"]||b.formatter).call(w,b);z=b.style;var A=b.rotation;g.styledMode||(z.color=f(b.color,z.color,h.color,"#000000"),"contrast"===z.color?(c.contrastColor=l.getContrast(c.color||h.color),z.color=!q(r)&&b.inside||0>r||k.stacking?c.contrastColor:y):delete c.contrastColor,
545
- k.cursor&&(z.cursor=k.cursor));var I={r:b.borderRadius||0,rotation:A,padding:b.padding,zIndex:1};g.styledMode||(I.fill=b.backgroundColor,I.stroke=b.borderColor,I["stroke-width"]=b.borderWidth);a(I,function(a,c){"undefined"===typeof a&&delete I[c]})}!p||n&&q(w)&&!!p.div===!!b.useHTML&&(p.rotation&&b.rotation||p.rotation===b.rotation)||(m=!0,c.dataLabel=p=c.dataLabel&&c.dataLabel.destroy(),c.dataLabels&&(1===c.dataLabels.length?delete c.dataLabels:delete c.dataLabels[d]),d||delete c.dataLabel,t&&(c.connector=
546
- c.connector.destroy(),c.connectors&&(1===c.connectors.length?delete c.connectors:delete c.connectors[d])));n&&q(w)?(p?I.text=w:(c.dataLabels=c.dataLabels||[],p=c.dataLabels[d]=A?l.text(w,0,0,b.useHTML).addClass("highcharts-data-label"):l.label(w,0,0,b.shape,null,null,b.useHTML,null,"data-label"),d||(c.dataLabel=p),p.addClass(" highcharts-data-label-color-"+c.colorIndex+" "+(b.className||"")+(b.useHTML?" highcharts-tracker":""))),p.options=b,p.attr(I),g.styledMode||p.css(z).shadow(b.shadow),(d=b[c.formatPrefix+
547
- "TextPath"]||b.textPath)&&!b.useHTML&&(p.setTextPath(c.getDataLabelPath&&c.getDataLabelPath(p)||c.graphic,d),c.dataLabelPath&&!d.enabled&&(c.dataLabelPath=c.dataLabelPath.destroy())),p.added||p.add(E),h.alignDataLabel(c,p,b,null,m)):p&&p.hide()})})}x(this,"afterDrawDataLabels")}function I(a,b,d,f,c,h){var g=this.chart,k=b.align,e=b.verticalAlign,l=a.box?0:a.padding||0,n=b.x;n=void 0===n?0:n;var t=b.y;t=void 0===t?0:t;var p=(d.x||0)+l;if(0>p){"right"===k&&0<=n?(b.align="left",b.inside=!0):n-=p;var m=
548
- !0}p=(d.x||0)+f.width-l;p>g.plotWidth&&("left"===k&&0>=n?(b.align="right",b.inside=!0):n+=g.plotWidth-p,m=!0);p=d.y+l;0>p&&("bottom"===e&&0<=t?(b.verticalAlign="top",b.inside=!0):t-=p,m=!0);p=(d.y||0)+f.height-l;p>g.plotHeight&&("top"===e&&0>=t?(b.verticalAlign="bottom",b.inside=!0):t+=g.plotHeight-p,m=!0);m&&(b.x=n,b.y=t,a.placed=!h,a.align(b,void 0,c));return m}function t(a,b){var d=[],f;if(v(a)&&!v(b))d=a.map(function(a){return l(a,b)});else if(v(b)&&!v(a))d=b.map(function(c){return l(a,c)});else if(v(a)||
549
- v(b))for(f=Math.max(a.length,b.length);f--;)d[f]=l(a[f],b[f]);else d=l(a,b);return d}function h(a,b,d,f,c){var g=this.chart,h=g.inverted,k=this.xAxis,e=k.reversed,l=h?b.height/2:b.width/2;a=(a=a.pointWidth)?a/2:0;b.startXPos=h?c.x:e?-l-a:k.width-l+a;b.startYPos=h?e?this.yAxis.height-l+a:-l-a:c.y;f?"hidden"===b.visibility&&(b.show(),b.attr({opacity:0}).animate({opacity:1})):b.attr({opacity:1}).animate({opacity:0},void 0,b.hide);g.hasRendered&&(d&&b.attr({x:b.startXPos,y:b.startYPos}),b.placed=!0)}
550
- var y=[];b.compose=function(a){if(-1===y.indexOf(a)){var b=a.prototype;y.push(a);b.alignDataLabel=k;b.drawDataLabels=p;b.justifyDataLabel=I;b.setDataLabelStartPos=h}}})(k||(k={}));"";return k});J(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u){var K=e.series,B=u.merge,q=u.pick,F;(function(e){function v(b,a,f,d,k){var e=this.chart.inverted,l=b.series,m=(l.xAxis?l.xAxis.len:this.chart.plotSizeX)||0;l=(l.yAxis?
551
- l.yAxis.len:this.chart.plotSizeY)||0;var w=b.dlBox||b.shapeArgs,I=q(b.below,b.plotY>q(this.translatedThreshold,l)),t=q(f.inside,!!this.options.stacking);w&&(d=B(w),0>d.y&&(d.height+=d.y,d.y=0),w=d.y+d.height-l,0<w&&w<d.height&&(d.height-=w),e&&(d={x:l-d.y-d.height,y:m-d.x-d.width,width:d.height,height:d.width}),t||(e?(d.x+=I?0:d.width,d.width=0):(d.y+=I?d.height:0,d.height=0)));f.align=q(f.align,!e||t?"center":I?"right":"left");f.verticalAlign=q(f.verticalAlign,e||t?"middle":I?"top":"bottom");K.prototype.alignDataLabel.call(this,
552
- b,a,f,d,k);f.inside&&b.contrastColor&&a.css({color:b.contrastColor})}var m=[];e.compose=function(e){b.compose(K);-1===m.indexOf(e)&&(m.push(e),e.prototype.alignDataLabel=v)}})(F||(F={}));return F});J(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u){var K=this&&this.__extends||function(){var b=function(e,v){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var a in e)e.hasOwnProperty(a)&&
553
- (b[a]=e[a])};return b(e,v)};return function(e,v){function m(){this.constructor=e}b(e,v);e.prototype=null===v?Object.create(v):(m.prototype=v.prototype,new m)}}(),B=u.extend,q=u.merge;u=function(e){function x(){var b=null!==e&&e.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}K(x,e);x.defaultOptions=q(b.defaultOptions,{});return x}(b);B(u.prototype,{inverted:!0});e.registerSeriesType("bar",u);"";return u});J(e,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){"";
554
- return{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/>"}}});J(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u){var K=this&&this.__extends||function(){var b=function(e,a){b=Object.setPrototypeOf||
555
- {__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(e,a)};return function(e,a){function f(){this.constructor=e}b(e,a);e.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),B=e.seriesTypes,q=B.column,F=B.line;B=u.addEvent;var x=u.extend,v=u.merge;u=function(e){function l(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}K(l,e);l.prototype.applyJitter=
556
- function(){var a=this,b=this.options.jitter,d=this.points.length;b&&this.points.forEach(function(f,e){["x","y"].forEach(function(k,l){var p="plot"+k.toUpperCase();if(b[k]&&!f.isNull){var m=a[k+"Axis"];var t=b[k]*m.transA;if(m&&!m.isLog){var h=Math.max(0,f[p]-t);m=Math.min(m.len,f[p]+t);l=1E4*Math.sin(e+l*d);f[p]=h+(m-h)*(l-Math.floor(l));"x"===k&&(f.clientX=f.plotX)}}})})};l.prototype.drawGraph=function(){this.options.lineWidth?e.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())};
557
- l.defaultOptions=v(F.defaultOptions,b);return l}(F);x(u.prototype,{drawTracker:q.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});B(u,"afterTranslate",function(){this.applyJitter()});e.registerSeriesType("scatter",u);return u});J(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(b,e,u){var K=b.deg2rad,B=u.fireEvent,q=u.isNumber,F=u.pick,
558
- x=u.relativeLength,v;(function(b){b.getCenter=function(){var b=this.options,a=this.chart,f=2*(b.slicedOffset||0),d=a.plotWidth-2*f,k=a.plotHeight-2*f,p=b.center,m=Math.min(d,k),A=b.thickness,w=b.size,I=b.innerSize||0;"string"===typeof w&&(w=parseFloat(w));"string"===typeof I&&(I=parseFloat(I));b=[F(p[0],"50%"),F(p[1],"50%"),F(w&&0>w?void 0:b.size,"100%"),F(I&&0>I?void 0:b.innerSize||0,"0%")];!a.angular||this instanceof e||(b[3]=0);for(p=0;4>p;++p)w=b[p],a=2>p||2===p&&/%$/.test(w),b[p]=x(w,[d,k,m,
559
- b[2]][p])+(a?f:0);b[3]>b[2]&&(b[3]=b[2]);q(A)&&2*A<b[2]&&0<A&&(b[3]=b[2]-2*A);B(this,"afterGetCenter",{positions:b});return b};b.getStartAndEndRadians=function(b,a){b=q(b)?b:0;a=q(a)&&a>b&&360>a-b?a:b+360;return{start:K*(b+-90),end:K*(a+-90)}}})(v||(v={}));"";return v});J(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(b,e,u){var K=this&&this.__extends||function(){var b=function(a,f){b=Object.setPrototypeOf||{__proto__:[]}instanceof
560
- Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};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)}}(),B=b.setAnimation,q=u.addEvent,F=u.defined;b=u.extend;var x=u.isNumber,v=u.pick,m=u.relativeLength;e=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.labelDistance=void 0;a.options=void 0;a.series=void 0;return a}K(a,b);a.prototype.getConnectorPath=
561
- function(){var a=this.labelPosition,b=this.series.options.dataLabels,k=this.connectorShapes,e=b.connectorShape;k[e]&&(e=k[e]);return e.call(this,{x:a.final.x,y:a.final.y,alignment:a.alignment},a.connectorPosition,b)};a.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};a.prototype.haloPath=function(a){var b=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(b.x,b.y,b.r+a,b.r+a,{innerR:b.r-1,start:b.start,
562
- end:b.end})};a.prototype.init=function(){var a=this;b.prototype.init.apply(this,arguments);this.name=v(this.name,"Slice");var d=function(b){a.slice("select"===b.type)};q(this,"select",d);q(this,"unselect",d);return this};a.prototype.isValid=function(){return x(this.y)&&0<=this.y};a.prototype.setVisible=function(a,b){var d=this,f=this.series,e=f.chart,l=f.options.ignoreHiddenPoint;b=v(b,l);a!==this.visible&&(this.visible=this.options.visible=a="undefined"===typeof a?!this.visible:a,f.options.data[f.data.indexOf(this)]=
563
- this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(b){if(d[b])d[b][a?"show":"hide"](a)}),this.legendItem&&e.legend.colorizeItem(this,a),a||"hover"!==this.state||this.setState(""),l&&(f.isDirty=!0),b&&e.redraw())};a.prototype.slice=function(a,b,k){var d=this.series;B(k,d.chart);v(b,!0);this.sliced=this.options.sliced=F(a)?a:!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())};
564
- return a}(e);b(e.prototype,{connectorShapes:{fixedOffset:function(b,a,f){var d=a.breakAt;a=a.touchingSliceAt;return[["M",b.x,b.y],f.softConnector?["C",b.x+("left"===b.alignment?-5:5),b.y,2*d.x-a.x,2*d.y-a.y,d.x,d.y]:["L",d.x,d.y],["L",a.x,a.y]]},straight:function(b,a){a=a.touchingSliceAt;return[["M",b.x,b.y],["L",a.x,a.y]]},crookedLine:function(b,a,f){a=a.touchingSliceAt;var d=this.series,k=d.center[0],e=d.chart.plotWidth,l=d.chart.plotLeft;d=b.alignment;var A=this.shapeArgs.r;f=m(f.crookDistance,
565
- 1);e="left"===d?k+A+(e+l-k-A)*(1-f):l+(k-A)*f;f=["L",e,b.y];k=!0;if("left"===d?e>b.x||e<a.x:e<b.x||e>a.x)k=!1;b=[["M",b.x,b.y]];k&&b.push(f);b.push(["L",a.x,a.y]);return b}}});return e});J(e,"Series/Pie/PieSeriesDefaults.js",[],function(){"";return{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},
566
- fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}});J(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],
567
- e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q,F,x,v,m){var l=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 f(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}(),a=b.getStartAndEndRadians;
568
- u=u.noop;var f=m.clamp,d=m.extend,k=m.fireEvent,p=m.merge,E=m.pick,A=m.relativeLength;m=function(b){function d(){var a=null!==b&&b.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}l(d,b);d.prototype.animate=function(a){var b=this,d=b.points,f=b.startAngleRad;a||d.forEach(function(a){var d=a.graphic,h=a.shapeArgs;d&&h&&(d.attr({r:E(a.startR,b.center&&b.center[3]/2),start:f,end:f}),d.animate({r:h.r,start:h.start,end:h.end},
569
- b.options.animation))})};d.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 k=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(f,k,this.center[1]/2,0,a,b).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:v.arc(f,k,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",
570
- stroke:d.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())};d.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)})};d.prototype.generatePoints=function(){b.prototype.generatePoints.call(this);this.updateTotals()};d.prototype.getX=function(a,b,d){var h=this.center,k=this.radii?this.radii[d.index]||
571
- 0:h[2]/2;a=Math.asin(f((a-h[1])/(k+d.labelDistance),-1,1));return h[0]+(b?-1:1)*Math.cos(a)*(k+d.labelDistance)+(0<d.labelDistance?(b?-1:1)*this.options.dataLabels.padding:0)};d.prototype.hasData=function(){return!!this.processedXData.length};d.prototype.redrawPoints=function(){var a=this,b=a.chart,d=b.renderer,f=a.options.shadow,k,g,e,c;this.drawEmpty();!f||a.shadowGroup||b.styledMode||(a.shadowGroup=d.g("shadow").attr({zIndex:-1}).add(a.group));a.points.forEach(function(h){var l={};g=h.graphic;
572
- if(!h.isNull&&g){var n=void 0;c=h.shapeArgs;k=h.getTranslate();b.styledMode||(n=h.shadowGroup,f&&!n&&(n=h.shadowGroup=d.g("shadow").add(a.shadowGroup)),n&&n.attr(k),e=a.pointAttribs(h,h.selected&&"select"));h.delayedRendering?(g.setRadialReference(a.center).attr(c).attr(k),b.styledMode||g.attr(e).attr({"stroke-linejoin":"round"}).shadow(f,n),h.delayedRendering=!1):(g.setRadialReference(a.center),b.styledMode||p(!0,l,e),p(!0,l,c,k),g.animate(l));g.attr({visibility:h.visible?"inherit":"hidden"});g.addClass(h.getClassName(),
573
- !0)}else g&&(h.graphic=g.destroy())})};d.prototype.sortByAngle=function(a,b){a.sort(function(a,d){return"undefined"!==typeof a.angle&&(d.angle-a.angle)*b})};d.prototype.translate=function(b){k(this,"translate");this.generatePoints();var d=this.options,f=d.slicedOffset,e=f+(d.borderWidth||0),l=a(d.startAngle,d.endAngle),g=this.startAngleRad=l.start;l=(this.endAngleRad=l.end)-g;var p=this.points,c=d.dataLabels.distance;d=d.ignoreHiddenPoint;var t=p.length,m,w=0;b||(this.center=b=this.getCenter());for(m=
574
- 0;m<t;m++){var v=p[m];var I=g+w*l;!v.isValid()||d&&!v.visible||(w+=v.percentage/100);var q=g+w*l;var x={x:b[0],y:b[1],r:b[2]/2,innerR:b[3]/2,start:Math.round(1E3*I)/1E3,end:Math.round(1E3*q)/1E3};v.shapeType="arc";v.shapeArgs=x;v.labelDistance=E(v.options.dataLabels&&v.options.dataLabels.distance,c);v.labelDistance=A(v.labelDistance,x.r);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,v.labelDistance);q=(q+I)/2;q>1.5*Math.PI?q-=2*Math.PI:q<-Math.PI/2&&(q+=2*Math.PI);v.slicedTranslation={translateX:Math.round(Math.cos(q)*
575
- f),translateY:Math.round(Math.sin(q)*f)};x=Math.cos(q)*b[2]/2;var u=Math.sin(q)*b[2]/2;v.tooltipPos=[b[0]+.7*x,b[1]+.7*u];v.half=q<-Math.PI/2||q>Math.PI/2?1:0;v.angle=q;I=Math.min(e,v.labelDistance/5);v.labelPosition={natural:{x:b[0]+x+Math.cos(q)*v.labelDistance,y:b[1]+u+Math.sin(q)*v.labelDistance},"final":{},alignment:0>v.labelDistance?"center":v.half?"right":"left",connectorPosition:{breakAt:{x:b[0]+x+Math.cos(q)*I,y:b[1]+u+Math.sin(q)*I},touchingSliceAt:{x:b[0]+x,y:b[1]+u}}}}k(this,"afterTranslate")};
576
- d.prototype.updateTotals=function(){var a=this.points,b=a.length,d=this.options.ignoreHiddenPoint,f,k=0;for(f=0;f<b;f++){var g=a[f];!g.isValid()||d&&!g.visible||(k+=g.y)}this.total=k;for(f=0;f<b;f++)g=a[f],g.percentage=0<k&&(g.visible||!d)?g.y/k*100:0,g.total=k};d.defaultOptions=p(F.defaultOptions,q);return d}(F);d(m.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:C.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:b.getCenter,getSymbol:u,isCartesian:!1,noSharedTooltip:!0,
577
- pointAttribs:e.prototype.pointAttribs,pointClass:B,requireSorting:!1,searchPoint:u,trackerGroups:["group","dataLabelsGroup"]});x.registerSeriesType("pie",m);return m});J(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C,B){var q=e.noop,K=u.distribute,x=C.series,v=B.arrayMax,m=B.clamp,l=B.defined,a=B.merge,f=B.pick,d=B.relativeLength,k;(function(k){function e(){var b=
578
- this,d=b.data,k=b.chart,e=b.options.dataLabels||{},g=e.connectorPadding,p=k.plotWidth,c=k.plotHeight,m=k.plotLeft,t=Math.round(k.chartWidth/3),w=b.center,A=w[2]/2,E=w[1],I=[[],[]],q=[0,0,0,0],u=b.dataLabelPositioners,B,C,F,J,aa,X,R,U,W,V,S,N;b.visible&&(e.enabled||b._hasPointLabels)&&(d.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(b),d.forEach(function(a){a.dataLabel&&
579
- (a.visible?(I[a.half].push(a),a.dataLabel._pos=null,!l(e.style.width)&&!l(a.options.dataLabels&&a.options.dataLabels.style&&a.options.dataLabels.style.width)&&a.dataLabel.getBBox().width>t&&(a.dataLabel.css({width:Math.round(.7*t)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),a.dataLabels&&1===a.dataLabels.length&&delete a.dataLabels))}),I.forEach(function(a,d){var h=a.length,n=[],t;if(h){b.sortByAngle(a,d-.5);if(0<b.maxLabelDistance){var r=Math.max(0,E-A-b.maxLabelDistance);
580
- var y=Math.min(E+A+b.maxLabelDistance,k.plotHeight);a.forEach(function(a){0<a.labelDistance&&a.dataLabel&&(a.top=Math.max(0,E-A-a.labelDistance),a.bottom=Math.min(E+A+a.labelDistance,k.plotHeight),t=a.dataLabel.getBBox().height||21,a.distributeBox={target:a.labelPosition.natural.y-a.top+t/2,size:t,rank:a.y},n.push(a.distributeBox))});r=y+t-r;K(n,r,r/5)}for(S=0;S<h;S++){B=a[S];X=B.labelPosition;J=B.dataLabel;V=!1===B.visible?"hidden":"inherit";W=r=X.natural.y;n&&l(B.distributeBox)&&("undefined"===
581
- typeof B.distributeBox.pos?V="hidden":(R=B.distributeBox.size,W=u.radialDistributionY(B)));delete B.positionIndex;if(e.justify)U=u.justify(B,A,w);else switch(e.alignTo){case "connectors":U=u.alignToConnectors(a,d,p,m);break;case "plotEdges":U=u.alignToPlotEdges(J,d,p,m);break;default:U=u.radialDistributionX(b,B,W,r)}J._attr={visibility:V,align:X.alignment};N=B.options.dataLabels||{};J._pos={x:U+f(N.x,e.x)+({left:g,right:-g}[X.alignment]||0),y:W+f(N.y,e.y)-10};X.final.x=U;X.final.y=W;f(e.crop,!0)&&
582
- (aa=J.getBBox().width,r=null,U-aa<g&&1===d?(r=Math.round(aa-U+g),q[3]=Math.max(r,q[3])):U+aa>p-g&&0===d&&(r=Math.round(U+aa-p+g),q[1]=Math.max(r,q[1])),0>W-R/2?q[0]=Math.max(Math.round(-W+R/2),q[0]):W+R/2>c&&(q[2]=Math.max(Math.round(W+R/2-c),q[2])),J.sideOverflow=r)}}}),0===v(q)||this.verifyDataLabelOverflow(q))&&(this.placeDataLabels(),this.points.forEach(function(c){N=a(e,c.options.dataLabels);if(C=f(N.connectorWidth,1)){var d;F=c.connector;if((J=c.dataLabel)&&J._pos&&c.visible&&0<c.labelDistance){V=
583
- J._attr.visibility;if(d=!F)c.connector=F=k.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+c.colorIndex+(c.className?" "+c.className:"")).add(b.dataLabelsGroup),k.styledMode||F.attr({"stroke-width":C,stroke:N.connectorColor||c.color||"#666666"});F[d?"attr":"animate"]({d:c.getConnectorPath()});F.attr("visibility",V)}else F&&(c.connector=F.destroy())}}))}function p(){this.points.forEach(function(a){var b=a.dataLabel,d;b&&a.visible&&((d=b._pos)?(b.sideOverflow&&(b._attr.width=
584
- 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)}function w(a){var b=this.center,f=this.options,h=f.center,g=f.minSize||80,k=null!==f.size;if(!k){if(null!==h[0])var c=Math.max(b[2]-Math.max(a[1],a[3]),g);else c=Math.max(b[2]-a[1]-a[3],g),b[0]+=(a[3]-a[1])/2;null!==h[1]?
585
- c=m(c,g,b[2]-Math.max(a[0],a[2])):(c=m(c,g,b[2]-a[0]-a[2]),b[1]+=(a[0]-a[2])/2);c<b[2]?(b[2]=c,b[3]=Math.min(f.thickness?Math.max(0,c-2*f.thickness):Math.max(0,d(f.innerSize||0,c)),c),this.translate(b),this.drawDataLabels&&this.drawDataLabels()):k=!0}return k}var I=[],t={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,
586
- b,d,f){a=a.getBBox().width;return b?a+f:d-a-f},alignToConnectors:function(a,b,d,f){var g=0,h;a.forEach(function(a){h=a.dataLabel.getBBox().width;h>g&&(g=h)});return b?g+f:d-g-f}};k.compose=function(a){b.compose(x);-1===I.indexOf(a)&&(I.push(a),a=a.prototype,a.dataLabelPositioners=t,a.alignDataLabel=q,a.drawDataLabels=e,a.placeDataLabels=p,a.verifyDataLabelOverflow=w)}})(k||(k={}));return k});J(e,"Extensions/OverlappingDataLabels.js",[e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],function(b,e){function u(b,
587
- e){var a=!1;if(b){var f=b.newOpacity;b.oldOpacity!==f&&(b.alignAttr&&b.placed?(b[f?"removeClass":"addClass"]("highcharts-data-label-hidden"),a=!0,b.alignAttr.opacity=f,b[b.isOld?"animate":"attr"](b.alignAttr,null,function(){e.styledMode||b.css({pointerEvents:f?"auto":"none"})}),B(e,"afterHideOverlappingLabel")):b.attr({opacity:f}));b.isOld=!0}return a}var K=e.addEvent,B=e.fireEvent,q=e.isArray,F=e.isNumber,x=e.objectEach,v=e.pick;K(b,"render",function(){var b=this,e=[];(this.labelCollectors||[]).forEach(function(a){e=
588
- e.concat(a())});(this.yAxis||[]).forEach(function(a){a.stacking&&a.options.stackLabels&&!a.options.stackLabels.allowOverlap&&x(a.stacking.stacks,function(a){x(a,function(a){a.label&&e.push(a.label)})})});(this.series||[]).forEach(function(a){var f=a.options.dataLabels;a.visible&&(!1!==f.enabled||a._hasPointLabels)&&(f=function(a){return a.forEach(function(a){a.visible&&(q(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[]).forEach(function(d){var f=d.options;d.labelrank=v(f.labelrank,a.labelrank,
589
- a.shapeArgs&&a.shapeArgs.height);f.allowOverlap?(d.oldOpacity=d.opacity,d.newOpacity=1,u(d,b)):e.push(d)})})},f(a.nodes||[]),f(a.points))});this.hideOverlappingLabels(e)});b.prototype.hideOverlappingLabels=function(b){var e=this,a=b.length,f=e.renderer,d,k,p,m=!1;var A=function(a){var b,d=a.box?0:a.padding||0,e=b=0,k;if(a&&(!a.alignAttr||a.placed)){var g=a.alignAttr||{x:a.attr("x"),y:a.attr("y")};var l=a.parentGroup;a.width||(b=a.getBBox(),a.width=b.width,a.height=b.height,b=f.fontMetrics(null,a.element).h);
590
- var c=a.width-2*d;(k={left:"0",center:"0.5",right:"1"}[a.alignValue])?e=+k*c:F(a.x)&&Math.round(a.x)!==a.translateX&&(e=a.x-a.translateX);return{x:g.x+(l.translateX||0)+d-(e||0),y:g.y+(l.translateY||0)+d-b,width:a.width-2*d,height:a.height-2*d}}};for(k=0;k<a;k++)if(d=b[k])d.oldOpacity=d.opacity,d.newOpacity=1,d.absoluteBox=A(d);b.sort(function(a,b){return(b.labelrank||0)-(a.labelrank||0)});for(k=0;k<a;k++){var w=(A=b[k])&&A.absoluteBox;for(d=k+1;d<a;++d){var v=(p=b[d])&&p.absoluteBox;!w||!v||A===
591
- p||0===A.newOpacity||0===p.newOpacity||"hidden"===A.visibility||"hidden"===p.visibility||v.x>=w.x+w.width||v.x+v.width<=w.x||v.y>=w.y+w.height||v.y+v.height<=w.y||((A.labelrank<p.labelrank?A:p).newOpacity=0)}}b.forEach(function(a){u(a,e)&&(m=!0)});m&&B(e,"afterHideAllOverlappingLabels")}});J(e,"Core/Responsive.js",[e["Core/Utilities.js"]],function(b){var e=b.extend,u=b.find,C=b.isArray,B=b.isObject,q=b.merge,F=b.objectEach,x=b.pick,v=b.splat,m=b.uniqueKey,l;(function(a){var b=[];a.compose=function(a){-1===
592
- b.indexOf(a)&&(b.push(a),e(a.prototype,d.prototype));return a};var d=function(){function a(){}a.prototype.currentOptions=function(a){function b(a,f,h,e){var k;F(a,function(a,g){if(!e&&-1<d.collectionsWithUpdate.indexOf(g)&&f[g])for(a=v(a),h[g]=[],k=0;k<Math.max(a.length,f[g].length);k++)f[g][k]&&(void 0===a[k]?h[g][k]=f[g][k]:(h[g][k]={},b(a[k],f[g][k],h[g][k],e+1)));else B(a)?(h[g]=C(a)?[]:{},b(a,f[g]||{},h[g],e+1)):h[g]="undefined"===typeof f[g]?null:f[g]})}var d=this,f={};b(a,this.options,f,0);
593
- return f};a.prototype.matchResponsiveRule=function(a,b){var d=a.condition;(d.callback||function(){return this.chartWidth<=x(d.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=x(d.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=x(d.minWidth,0)&&this.chartHeight>=x(d.minHeight,0)}).call(this)&&b.push(a._id)};a.prototype.setResponsive=function(a,b){var d=this,f=this.options.responsive,e=this.currentResponsive,k=[];!b&&f&&f.rules&&f.rules.forEach(function(a){"undefined"===typeof a._id&&(a._id=m());d.matchResponsiveRule(a,
594
- k)},this);b=q.apply(void 0,k.map(function(a){return u((f||{}).rules||[],function(b){return b._id===a})}).map(function(a){return a&&a.chartOptions}));b.isResponsiveOptions=!0;k=k.toString()||void 0;k!==(e&&e.ruleIds)&&(e&&this.update(e.undoOptions,a,!0),k?(e=this.currentOptions(b),e.isResponsiveOptions=!0,this.currentResponsive={ruleIds:k,mergedOptions:b,undoOptions:e},this.update(b,a,!0)):this.currentResponsive=void 0)};return a}()})(l||(l={}));"";"";return l});J(e,"masters/highcharts.src.js",[e["Core/Globals.js"],
595
- e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],
596
- e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],
597
- e["Core/Time.js"]],function(b,e,u,C,B,q,F,x,v,m,l,a,f,d,k,p,E,A,w,I,t,h,y,r,n,g,D,c,z,G,H,O,P,T,J){b.animate=B.animate;b.animObject=B.animObject;b.getDeferredAnimation=B.getDeferredAnimation;b.setAnimation=B.setAnimation;b.stop=B.stop;b.timers=C.timers;b.AST=q;b.Axis=f;b.Chart=y;b.chart=y.chart;b.Fx=C;b.Legend=h;b.PlotLineOrBand=p;b.Point=w;b.Pointer=t.isRequired()?t:I;b.Series=g;b.StackItem=n;b.SVGElement=v;b.SVGRenderer=m;b.Tick=E;b.Time=J;b.Tooltip=A;b.Color=T;b.color=T.parse;a.compose(m);l.compose(v);
598
- b.defaultOptions=u.defaultOptions;b.getOptions=u.getOptions;b.time=u.defaultTime;b.setOptions=u.setOptions;b.dateFormat=F.dateFormat;b.format=F.format;b.numberFormat=F.numberFormat;b.addEvent=e.addEvent;b.arrayMax=e.arrayMax;b.arrayMin=e.arrayMin;b.attr=e.attr;b.clearTimeout=e.clearTimeout;b.correctFloat=e.correctFloat;b.createElement=e.createElement;b.css=e.css;b.defined=e.defined;b.destroyObjectProperties=e.destroyObjectProperties;b.discardElement=e.discardElement;b.distribute=x.distribute;b.erase=
599
- e.erase;b.error=e.error;b.extend=e.extend;b.extendClass=e.extendClass;b.find=e.find;b.fireEvent=e.fireEvent;b.getMagnitude=e.getMagnitude;b.getStyle=e.getStyle;b.inArray=e.inArray;b.isArray=e.isArray;b.isClass=e.isClass;b.isDOMElement=e.isDOMElement;b.isFunction=e.isFunction;b.isNumber=e.isNumber;b.isObject=e.isObject;b.isString=e.isString;b.keys=e.keys;b.merge=e.merge;b.normalizeTickInterval=e.normalizeTickInterval;b.objectEach=e.objectEach;b.offset=e.offset;b.pad=e.pad;b.pick=e.pick;b.pInt=e.pInt;
600
- b.relativeLength=e.relativeLength;b.removeEvent=e.removeEvent;b.seriesType=D.seriesType;b.splat=e.splat;b.stableSort=e.stableSort;b.syncTimeout=e.syncTimeout;b.timeUnits=e.timeUnits;b.uniqueKey=e.uniqueKey;b.useSerialIds=e.useSerialIds;b.wrap=e.wrap;z.compose(c);O.compose(g);d.compose(f);k.compose(f);H.compose(G);p.compose(f);P.compose(y);r.compose(f,y,g);return b});J(e,"Core/Axis/Color/ColorAxisComposition.js",[e["Core/Color/Color.js"],e["Core/Utilities.js"]],function(b,e){var u=b.parse,C=e.addEvent,
601
- B=e.extend,q=e.merge,F=e.pick,x=e.splat,v;(function(b){function e(){var a=this,b=this.options;this.colorAxis=[];b.colorAxis&&(b.colorAxis=x(b.colorAxis),b.colorAxis.forEach(function(b,d){b.index=d;new y(a,b)}))}function a(a){var b=this,d=function(c){c=a.allItems.indexOf(c);-1!==c&&(b.destroyItem(a.allItems[c]),a.allItems.splice(c,1))},f=[],c,h;(this.chart.colorAxis||[]).forEach(function(a){(c=a.options)&&c.showInLegend&&(c.dataClasses&&c.visible?f=f.concat(a.getDataClassLegendSymbols()):c.visible&&
602
- f.push(a),a.series.forEach(function(a){if(!a.options.showInLegend||c.dataClasses)"point"===a.options.legendType?a.points.forEach(function(a){d(a)}):d(a)}))});for(h=f.length;h--;)a.allItems.unshift(f[h])}function f(a){a.visible&&a.item.legendColor&&a.item.legendItem.symbol.attr({fill:a.item.legendColor})}function d(){var a=this.chart.colorAxis;a&&a.forEach(function(a,b,d){a.update({},d)})}function k(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function p(){var a=
603
- this.axisTypes;a?-1===a.indexOf("colorAxis")&&a.push("colorAxis"):this.axisTypes=["colorAxis"]}function m(a){var b=this,d=a?"show":"hide";b.visible=b.options.visible=!!a;["graphic","dataLabel"].forEach(function(a){if(b[a])b[a][d]()});this.series.buildKDTree()}function A(){var a=this,b=this.options.nullColor,d=this.colorAxis,f=this.colorKey;(this.data.length?this.data:this.points).forEach(function(c){var g=c.getNestedProperty(f);(g=c.options.color||(c.isNull||null===c.value?b:d&&"undefined"!==typeof g?
604
- d.toColor(g,c):c.color||a.color))&&c.color!==g&&(c.color=g,"point"===a.options.legendType&&c.legendItem&&c.legendItem.label&&a.chart.legend.colorizeItem(c,c.visible))})}function w(a){var b=a.prototype.createAxis;a.prototype.createAxis=function(a,d){if("colorAxis"!==a)return b.apply(this,arguments);var c=new y(this,q(d.axis,{index:this[a].length,isX:!1}));this.isDirtyLegend=!0;this.axes.forEach(function(a){a.series=[]});this.series.forEach(function(a){a.bindAxes();a.isDirtyData=!0});F(d.redraw,!0)&&
605
- this.redraw(d.animation);return c}}function v(){this.elem.attr("fill",u(this.start).tweenTo(u(this.end),this.pos),void 0,!0)}function t(){this.elem.attr("stroke",u(this.start).tweenTo(u(this.end),this.pos),void 0,!0)}var h=[],y;b.compose=function(b,l,g,q,c){y||(y=b);-1===h.indexOf(l)&&(h.push(l),b=l.prototype,b.collectionsWithUpdate.push("colorAxis"),b.collectionsWithInit.colorAxis=[b.addColorAxis],C(l,"afterGetAxes",e),w(l));-1===h.indexOf(g)&&(h.push(g),l=g.prototype,l.fillSetter=v,l.strokeSetter=
606
- t);-1===h.indexOf(q)&&(h.push(q),C(q,"afterGetAllItems",a),C(q,"afterColorizeItem",f),C(q,"afterUpdate",d));-1===h.indexOf(c)&&(h.push(c),B(c.prototype,{optionalAxis:"colorAxis",translateColors:A}),B(c.prototype.pointClass.prototype,{setVisible:m}),C(c,"afterTranslate",k),C(c,"bindAxes",p))};b.pointSetVisible=m})(v||(v={}));return v});J(e,"Core/Axis/Color/ColorAxisDefaults.js",[],function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,
607
- offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0}});J(e,"Core/Axis/Color/ColorAxis.js",[e["Core/Axis/Axis.js"],e["Core/Color/Color.js"],e["Core/Axis/Color/ColorAxisComposition.js"],e["Core/Axis/Color/ColorAxisDefaults.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q,F,x){var v=this&&this.__extends||
608
- 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 f(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}(),m=e.parse,l=F.series,a=x.extend,f=x.isNumber,d=x.merge,k=x.pick;e=function(b){function e(a,d){var f=b.call(this,a,d)||this;f.beforePadding=!1;f.chart=void 0;f.coll="colorAxis";
609
- f.dataClasses=void 0;f.name="";f.options=void 0;f.stops=void 0;f.visible=!0;f.init(a,d);return f}v(e,b);e.compose=function(a,b,d,f){u.compose(e,a,b,d,f)};e.prototype.init=function(a,f){var k=a.options.legend||{},l=f.layout?"vertical"!==f.layout:"vertical"!==k.layout,h=f.visible;k=d(e.defaultColorAxisOptions,f,{showEmpty:!1,title:null,visible:k.enabled&&!1!==h});this.coll="colorAxis";this.side=f.side||l?2:1;this.reversed=f.reversed||!l;this.opposite=!l;b.prototype.init.call(this,a,k);this.userOptions.visible=
610
- h;f.dataClasses&&this.initDataClasses(f);this.initStops();this.horiz=l;this.zoomEnabled=!1};e.prototype.initDataClasses=function(a){var b=this.chart,f=this.legendItem=this.legendItem||{},e=a.dataClasses.length,h=this.options,k,l=0,p=b.options.chart.colorCount;this.dataClasses=k=[];f.labels=[];(a.dataClasses||[]).forEach(function(a,f){a=d(a);k.push(a);if(b.styledMode||!a.color)"category"===h.dataClassColor?(b.styledMode||(f=b.options.colors,p=f.length,a.color=f[l]),a.colorIndex=l,l++,l===p&&(l=0)):
611
- a.color=m(h.minColor).tweenTo(m(h.maxColor),2>e?.5:f/(e-1))})};e.prototype.hasData=function(){return!!(this.tickPositions||[]).length};e.prototype.setTickPositions=function(){if(!this.dataClasses)return b.prototype.setTickPositions.call(this)};e.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]];this.stops.forEach(function(a){a.color=m(a[1])})};e.prototype.setOptions=function(a){b.prototype.setOptions.call(this,a);this.options.crosshair=
612
- this.options.marker};e.prototype.setAxisSize=function(){var a=this.legendItem&&this.legendItem.symbol,b=this.chart,d=b.options.legend||{},f,h;a?(this.left=d=a.attr("x"),this.top=f=a.attr("y"),this.width=h=a.attr("width"),this.height=a=a.attr("height"),this.right=b.chartWidth-d-h,this.bottom=b.chartHeight-f-a,this.len=this.horiz?h:a,this.pos=this.horiz?d:f):this.len=(this.horiz?d.symbolWidth:d.symbolHeight)||e.defaultLegendLength};e.prototype.normalizedValue=function(a){this.logarithmic&&(a=this.logarithmic.log2lin(a));
613
- return 1-(this.max-a)/(this.max-this.min||1)};e.prototype.toColor=function(a,b){var d=this.dataClasses,f=this.stops,h;if(d)for(h=d.length;h--;){var e=d[h];var k=e.from;f=e.to;if(("undefined"===typeof k||a>=k)&&("undefined"===typeof f||a<=f)){var l=e.color;b&&(b.dataClass=h,b.colorIndex=e.colorIndex);break}}else{a=this.normalizedValue(a);for(h=f.length;h--&&!(a>f[h][0]););k=f[h]||f[h+1];f=f[h+1]||k;a=1-(f[0]-a)/(f[0]-k[0]||1);l=k.color.tweenTo(f.color,a)}return l};e.prototype.getOffset=function(){var a=
614
- this.legendItem&&this.legendItem.group,d=this.chart.axisOffset[this.side];if(a){this.axisParent=a;b.prototype.getOffset.call(this);var f=this.chart.legend;f.allItems.forEach(function(a){a instanceof e&&a.drawLegendSymbol(f,a)});f.render();this.chart.getMargins(!0);this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width);this.chart.axisOffset[this.side]=d}};e.prototype.setLegendColor=function(){var a=this.reversed,b=a?1:0;a=a?0:1;b=this.horiz?[b,0,a,0]:[0,a,0,b];this.legendColor={linearGradient:{x1:b[0],
615
- y1:b[1],x2:b[2],y2:b[3]},stops:this.stops}};e.prototype.drawLegendSymbol=function(a,b){b=b.legendItem||{};var d=a.padding,f=a.options,h=k(f.itemDistance,10),l=this.horiz,p=k(f.symbolWidth,l?e.defaultLegendLength:12),m=k(f.symbolHeight,l?12:e.defaultLegendLength);f=k(f.labelPadding,l?16:30);this.setLegendColor();b.symbol||(b.symbol=this.chart.renderer.rect(0,a.baseline-11,p,m).attr({zIndex:1}).add(b.group));b.labelWidth=p+d+(l?h:this.options.labels.x+this.maxLabelLength);b.labelHeight=m+d+(l?f:0)};
616
- e.prototype.setState=function(a){this.series.forEach(function(b){b.setState(a)})};e.prototype.setVisible=function(){};e.prototype.getSeriesExtremes=function(){var a=this.series,b=a.length,d;this.dataMin=Infinity;for(this.dataMax=-Infinity;b--;){var f=a[b];var h=f.colorKey=k(f.options.colorKey,f.colorKey,f.pointValKey,f.zoneAxis,"y");var e=f.pointArrayMap;var p=f[h+"Min"]&&f[h+"Max"];if(f[h+"Data"])var m=f[h+"Data"];else if(e){m=[];e=e.indexOf(h);var g=f.yData;if(0<=e&&g)for(d=0;d<g.length;d++)m.push(k(g[d][e],
617
- g[d]))}else m=f.yData;p?(f.minColorValue=f[h+"Min"],f.maxColorValue=f[h+"Max"]):(m=l.prototype.getExtremes.call(f,m),f.minColorValue=m.dataMin,f.maxColorValue=m.dataMax);"undefined"!==typeof f.minColorValue&&(this.dataMin=Math.min(this.dataMin,f.minColorValue),this.dataMax=Math.max(this.dataMax,f.maxColorValue));p||l.prototype.applyExtremes.call(f)}};e.prototype.drawCrosshair=function(a,d){var f=this.legendItem||{},e=d&&d.plotX,h=d&&d.plotY,k=this.pos,l=this.len;if(d){var p=this.toPixels(d.getNestedProperty(d.series.colorKey));
618
- p<k?p=k-2:p>k+l&&(p=k+l+2);d.plotX=p;d.plotY=this.len-p;b.prototype.drawCrosshair.call(this,a,d);d.plotX=e;d.plotY=h;this.cross&&!this.cross.addedToColorAxis&&f.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(f.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!==typeof this.crosshair||this.cross.attr({fill:this.crosshair.color}))}};e.prototype.getPlotLinePath=function(a){var d=this.left,e=a.translatedValue,k=this.top;return f(e)?this.horiz?[["M",e-4,k-6],["L",e+
619
- 4,k-6],["L",e,k],["Z"]]:[["M",d,e],["L",d-6,e+6],["L",d-6,e-6],["Z"]]:b.prototype.getPlotLinePath.call(this,a)};e.prototype.update=function(a,d){var f=this.chart.legend;this.series.forEach(function(a){a.isDirtyData=!0});(a.dataClasses&&f.allItems||this.dataClasses)&&this.destroyItems();b.prototype.update.call(this,a,d);this.legendItem&&this.legendItem.label&&(this.setLegendColor(),f.colorizeItem(this,!0))};e.prototype.destroyItems=function(){var a=this.chart,b=this.legendItem||{};if(b.label)a.legend.destroyItem(this);
620
- else if(b.labels){var d=0;for(b=b.labels;d<b.length;d++)a.legend.destroyItem(b[d])}a.isDirtyLegend=!0};e.prototype.destroy=function(){this.chart.isDirtyLegend=!0;this.destroyItems();b.prototype.destroy.apply(this,[].slice.call(arguments))};e.prototype.remove=function(a){this.destroyItems();b.prototype.remove.call(this,a)};e.prototype.getDataClassLegendSymbols=function(){var b=this,d=b.chart,f=b.legendItem&&b.legendItem.labels||[],e=d.options.legend,h=k(e.valueDecimals,-1),l=k(e.valueSuffix,""),p=
621
- function(a){return b.series.reduce(function(b,c){b.push.apply(b,c.points.filter(function(b){return b.dataClass===a}));return b},[])},m;f.length||b.dataClasses.forEach(function(g,e){var c=g.from,k=g.to,n=d.numberFormatter,t=!0;m="";"undefined"===typeof c?m="< ":"undefined"===typeof k&&(m="> ");"undefined"!==typeof c&&(m+=n(c,h)+l);"undefined"!==typeof c&&"undefined"!==typeof k&&(m+=" - ");"undefined"!==typeof k&&(m+=n(k,h)+l);f.push(a({chart:d,name:m,options:{},drawLegendSymbol:q.drawRectangle,visible:!0,
622
- isDataClass:!0,setState:function(a){for(var b=0,c=p(e);b<c.length;b++)c[b].setState(a)},setVisible:function(){this.visible=t=b.visible=!t;for(var a=0,c=p(e);a<c.length;a++)c[a].setVisible(t);d.legend.colorizeItem(this,t)}},g))});return f};e.defaultColorAxisOptions=C;e.defaultLegendLength=200;e.keepProps=["legendItem"];return e}(b);Array.prototype.push.apply(b.keepProps,e.keepProps);"";return e});J(e,"Maps/MapNavigationDefaults.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(b,e){e=e.extend;
623
- var u={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};e(b.defaultOptions.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"});return b.defaultOptions.mapNavigation=u});J(e,"Maps/MapNavigation.js",[e["Core/Chart/Chart.js"],
624
- e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,u){function C(a){a&&(a.preventDefault&&a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)}function B(a){this.navButtons=[];this.init(a)}var q=e.doc,F=u.addEvent,x=u.extend,v=u.isNumber,m=u.merge,l=u.objectEach,a=u.pick;B.prototype.init=function(a){this.chart=a};B.prototype.update=function(b){var d=this,f=this.chart,e=f.options.mapNavigation,v,A=function(a){this.handler.call(f,a);C(a)},w=d.navButtons;b&&(e=f.options.mapNavigation=
625
- m(f.options.mapNavigation,b));for(;w.length;)w.pop().destroy();a(e.enableButtons,e.enabled)&&!f.renderer.forExport&&(d.navButtonsGroup||(d.navButtonsGroup=f.renderer.g().attr({zIndex:4}).add()),l(e.buttons,function(a,b){a=m(e.buttonOptions,a);!f.styledMode&&a.theme&&(v=a.theme,v.style=m(a.theme.style,a.style));var h=f.renderer.button(a.text||"",0,0,A,v,void 0,void 0,void 0,"zoomIn"===b?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[b]).attr({width:a.width,
626
- height:a.height,title:f.options.lang[b],padding:a.padding,zIndex:5}).add(d.navButtonsGroup);h.handler=a.onclick;F(h.element,"dblclick",C);w.push(h);x(a,{width:h.width,height:2*h.height});if(f.hasLoaded)h.align(a,!1,a.alignTo);else var k=F(f,"load",function(){h.element&&h.align(a,!1,a.alignTo);k()})}),b=function(){var a=f.exportingGroup&&f.exportingGroup.getBBox();if(a){var b=d.navButtonsGroup.getBBox();if(!(b.x>=a.x+a.width||b.x+b.width<=a.x||b.y>=a.y+a.height||b.y+b.height<=a.y)){var h=-b.y-b.height+
627
- a.y-5;a=a.y+a.height-b.y+5;d.navButtonsGroup.attr({translateY:"bottom"===(e.buttonOptions&&e.buttonOptions.verticalAlign)?h:a})}}},f.hasLoaded||F(f,"render",b));this.updateEvents(e)};B.prototype.updateEvents=function(b){var d=this.chart;a(b.enableDoubleClickZoom,b.enabled)||b.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||F(d.container,"dblclick",function(a){d.pointer.onContainerDblClick(a)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick());a(b.enableMouseWheelZoom,
628
- b.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||F(d.container,void 0!==q.onwheel?"wheel":void 0!==q.onmousewheel?"mousewheel":"DOMMouseScroll",function(a){d.pointer.inClass(a.target,"highcharts-no-mousewheel")||(d.pointer.onContainerMouseWheel(a),C(a));return!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())};x(b.prototype,{fitToBox:function(a,b){[["x","width"],["y","height"]].forEach(function(d){var f=d[0];d=d[1];a[f]+a[d]>b[f]+b[d]&&(a[d]>b[d]?(a[d]=b[d],a[f]=b[f]):
629
- a[f]=b[f]+b[d]-a[d]);a[d]>b[d]&&(a[d]=b[d]);a[f]<b[f]&&(a[f]=b[f])});return a},mapZoom:function(a,b,e,l,m){this.mapView&&(v(a)&&(a=Math.log(a)/Math.log(.5)),this.mapView.zoomBy(a,v(b)&&v(e)?this.mapView.projection.inverse([b,e]):void 0,v(l)&&v(m)?[l,m]:void 0))}});F(b,"beforeRender",function(){this.mapNavigation=new B(this);this.mapNavigation.update()});e.MapNavigation=B});J(e,"Maps/MapPointer.js",[e["Core/Pointer.js"],e["Core/Utilities.js"]],function(b,e){var u=e.defined,C=e.extend,B=e.pick;e=e.wrap;
630
- var q=b.prototype.normalize,F=0,x;C(b.prototype,{normalize:function(b,e){var l=this.chart;b=q.call(this,b,e);l&&l.mapView&&(e=l.mapView.pixelsToLonLat({x:b.chartX-l.plotLeft,y:b.chartY-l.plotTop}))&&C(b,e);return b},onContainerDblClick:function(b){var e=this.chart;b=this.normalize(b);e.options.mapNavigation.enableDoubleClickZoomTo?e.pointer.inClass(b.target,"highcharts-tracker")&&e.hoverPoint&&e.hoverPoint.zoomTo():e.isInsidePlot(b.chartX-e.plotLeft,b.chartY-e.plotTop)&&e.mapZoom(.5,void 0,void 0,
631
- b.chartX,b.chartY)},onContainerMouseWheel:function(b){var e=this.chart;b=this.normalize(b);var l=u(b.wheelDelta)&&-b.wheelDelta/120||b.deltaY||b.detail;1<=Math.abs(l)&&(F+=Math.abs(l),x&&clearTimeout(x),x=setTimeout(function(){F=0},50));10>F&&e.isInsidePlot(b.chartX-e.plotLeft,b.chartY-e.plotTop)&&e.mapView&&e.mapView.zoomBy((e.options.mapNavigation.mouseWheelSensitivity-1)*-l,void 0,[b.chartX,b.chartY],1>Math.abs(l)?!1:void 0)}});e(b.prototype,"zoomOption",function(b){var e=this.chart.options.mapNavigation;
632
- B(e.enableTouchZoom,e.enabled)&&(this.chart.options.chart.zooming.pinchType="xy");b.apply(this,[].slice.call(arguments,1))});e(b.prototype,"pinchTranslate",function(b,e,l,a,f,d,k){b.call(this,e,l,a,f,d,k);"map"===this.chart.options.chart.type&&this.hasZoom&&(b=a.scaleX>a.scaleY,this.pinchTranslateDirection(!b,e,l,a,f,d,k,b?a.scaleX:a.scaleY))})});J(e,"Series/ColorMapComposition.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var u=b.seriesTypes.column.prototype,C=e.addEvent,
633
- B=e.defined,q;(function(b){function e(b){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:b&&"hover"===b.state?1:0})}var q=[];b.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value&&(void 0===this.value||!isNaN(this.value))}};b.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],
634
- colorAttribs:function(b){var e={};!B(b.color)||b.state&&"normal"!==b.state||(e[this.colorProp||"fill"]=b.color);return e},pointAttribs:u.pointAttribs};b.compose=function(b){var l=b.prototype.pointClass;-1===q.indexOf(l)&&(q.push(l),C(l,"afterSetState",e));return b}})(q||(q={}));return q});J(e,"Maps/MapSymbols.js",[e["Core/Renderer/SVG/SVGRenderer.js"]],function(b){function e(b,e,B,q,F,x,v,m){return[["M",b+F,e],["L",b+B-x,e],["C",b+B-x/2,e,b+B,e+x/2,b+B,e+x],["L",b+B,e+q-v],["C",b+B,e+q-v/2,b+B-v/
635
- 2,e+q,b+B-v,e+q],["L",b+m,e+q],["C",b+m/2,e+q,b,e+q-m/2,b,e+q-m],["L",b,e+F],["C",b,e+F/2,b+F/2,e,b+F,e],["Z"]]}b=b.prototype.symbols;b.bottombutton=function(b,C,B,q,F){F=F&&F.r||0;return e(b-1,C-1,B,q,0,0,F,F)};b.topbutton=function(b,C,B,q,F){F=F&&F.r||0;return e(b-1,C-1,B,q,F,F,0,0)};return b});J(e,"Core/Chart/MapChart.js",[e["Core/Chart/Chart.js"],e["Core/Defaults.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(b,e,u,C){var B=this&&this.__extends||function(){var b=function(e,
636
- l){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(e,l)};return function(e,l){function a(){this.constructor=e}b(e,l);e.prototype=null===l?Object.create(l):(a.prototype=l.prototype,new a)}}(),q=e.getOptions,F=C.merge,x=C.pick;b=function(b){function e(){return null!==b&&b.apply(this,arguments)||this}B(e,b);e.prototype.init=function(e,a){var f=q().credits;e=F({chart:{panning:{enabled:!0,type:"xy"},
637
- type:"map"},credits:{mapText:x(f.mapText,' \u00a9 <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}</a>'),mapTextFull:x(f.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},e);b.prototype.init.call(this,e,a)};return e}(b);(function(b){b.maps={};b.mapChart=function(e,l,a){return new b(e,l,a)};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)?
638
- b:parseFloat(b)}));return u.prototype.pathToSegments(b)}})(b||(b={}));return b});J(e,"Maps/MapUtilities.js",[],function(){return{boundsFromPath:function(b){var e=-Number.MAX_VALUE,u=Number.MAX_VALUE,C=-Number.MAX_VALUE,B=Number.MAX_VALUE,q;b.forEach(function(b){var x=b[b.length-2];b=b[b.length-1];"number"===typeof x&&"number"===typeof b&&(u=Math.min(u,x),e=Math.max(e,x),B=Math.min(B,b),C=Math.max(C,b),q=!0)});if(q)return{x1:u,y1:B,x2:e,y2:C}},pointInPolygon:function(b,e){var u,C=!1,B=b.x,q=b.y;b=
639
- 0;for(u=e.length-1;b<e.length;u=b++){var F=e[b][1]>q;var x=e[u][1]>q;F!==x&&B<(e[u][0]-e[b][0])*(q-e[b][1])/(e[u][1]-e[b][1])+e[b][0]&&(C=!C)}return C}}});J(e,"Series/Map/MapPoint.js",[e["Series/ColorMapComposition.js"],e["Maps/MapUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C){var B=this&&this.__extends||function(){var b=function(e,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&
640
- (a[d]=b[d])};return b(e,a)};return function(e,a){function f(){this.constructor=e}b(e,a);e.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),q=e.boundsFromPath,F=C.extend,x=C.isNumber,v=C.pick;e=function(b){function e(){var a=null!==b&&b.apply(this,arguments)||this;a.options=void 0;a.path=void 0;a.series=void 0;return a}B(e,b);e.getProjectedPath=function(a,b){a.projectedPath||(b&&a.geometry?(b.hasCoordinates=!0,a.projectedPath=b.path(a.geometry)):a.projectedPath=a.path);return a.projectedPath||
641
- []};e.prototype.applyOptions=function(a,f){var d=this.series;a=b.prototype.applyOptions.call(this,a,f);f=d.joinBy;d.mapData&&d.mapMap&&(f=b.prototype.getNestedProperty.call(a,f[1]),(d="undefined"!==typeof f&&d.mapMap[f])?F(a,d):a.value=a.value||null);return a};e.prototype.getProjectedBounds=function(a){a=e.getProjectedPath(this,a);a=q(a);var b=this.properties;if(a){var d=b&&b["hc-middle-x"];b=b&&b["hc-middle-y"];a.midX=a.x1+(a.x2-a.x1)*v(this.middleX,x(d)?d:.5);d=v(this.middleY,x(b)?b:.5);this.geometry||
642
- (d=1-d);a.midY=a.y2-(a.y2-a.y1)*d;return a}};e.prototype.onMouseOver=function(a){C.clearTimeout(this.colorInterval);if(!this.isNull&&this.visible||this.series.options.nullInteraction)b.prototype.onMouseOver.call(this,a);else this.series.onMouseOut(a)};e.prototype.setVisible=function(a){var b=a?"show":"hide";this.visible=this.options.visible=!!a;if(this.dataLabel)this.dataLabel[b]();this.graphic&&this.graphic.attr(this.series.pointAttribs(this))};e.prototype.zoomTo=function(){var a=this.series.chart;
643
- a.mapView&&this.bounds&&(a.mapView.fitToBounds(this.bounds,void 0,!1),this.series.isDirty=!0,a.redraw())};return e}(u.seriesTypes.scatter.prototype.pointClass);F(e.prototype,{dataLabelOnNull:b.pointMembers.dataLabelOnNull,moveToTopOnHover:b.pointMembers.moveToTopOnHover,isValid:b.pointMembers.isValid});return e});J(e,"Maps/MapViewOptionsDefault.js",[],function(){return{center:[0,0],maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0}});J(e,"Maps/MapViewInsetsOptionsDefault.js",
644
- [],function(){return{borderColor:"#cccccc",borderWidth:1,center:[0,0],padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}});J(e,"Extensions/GeoJSON.js",[e["Core/Chart/Chart.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,u,C){function B(a,b){b||(b=Object.keys(a.objects)[0]);b=a.objects[b];if(b["hc-decoded-geojson"])return b["hc-decoded-geojson"];var d=a.arcs;if(a.transform){var f=a.transform,e=f.scale,l=f.translate;d=a.arcs.map(function(a){var b=
645
- 0,d=0;return a.map(function(a){a=a.slice();a[0]=(b+=a[0])*e[0]+l[0];a[1]=(d+=a[1])*e[1]+l[1];return a})})}var m=function(a){return"number"===typeof a[0]?a.reduce(function(a,b,f){var e=0>b?d[~b]:d[b];0>b?(e=e.slice(0,0===f?e.length:e.length-1),e.reverse()):f&&(e=e.slice(1));return a.concat(e)},[]):a.map(m)};f=b.geometries.map(function(a){return{type:"Feature",properties:a.properties,geometry:{type:a.type,coordinates:a.coordinates||m(a.arcs)}}});a={type:"FeatureCollection",copyright:a.copyright,copyrightShort:a.copyrightShort,
646
- copyrightUrl:a.copyrightUrl,features:f,"hc-recommended-mapview":b["hc-recommended-mapview"],bbox:a.bbox,title:a.title};return b["hc-decoded-geojson"]=a}function q(a,b,d){void 0===b&&(b="map");var f=[];a="Topology"===a.type?B(a):a;a.features.forEach(function(a){var d=a.geometry||{},e=d.type;d=d.coordinates;a=a.properties;var k;"map"!==b&&"mapbubble"!==b||"Polygon"!==e&&"MultiPolygon"!==e?"mapline"!==b||"LineString"!==e&&"MultiLineString"!==e?"mappoint"===b&&"Point"===e&&d.length&&(k={geometry:{coordinates:d,
647
- type:e}}):d.length&&(k={geometry:{coordinates:d,type:e}}):d.length&&(k={geometry:{coordinates:d,type:e}});if(k){e=a&&(a.name||a.NAME);d=a&&a.lon;var l=a&&a.lat;f.push(m(k,{lat:"number"===typeof l?l:void 0,lon:"number"===typeof d?d:void 0,name:"string"===typeof e?e:void 0,properties:a}))}});d&&a.copyrightShort&&(d.chart.mapCredits=F(d.chart.options.credits.mapText,{geojson:a}),d.chart.mapCreditsFull=F(d.chart.options.credits.mapTextFull,{geojson:a}));return f}var F=e.format,x=u.win,v=C.error,m=C.extend,
648
- l=C.merge;e=C.wrap;"";b.prototype.transformFromLatLon=function(a,b){var d=this.options.chart.proj4||x.proj4;if(d){var f=b.jsonmarginX;f=void 0===f?0:f;var e=b.jsonmarginY;e=void 0===e?0:e;var l=b.jsonres;l=void 0===l?1:l;var m=b.scale;m=void 0===m?1:m;var w=b.xoffset;w=void 0===w?0:w;var q=b.xpan;q=void 0===q?0:q;var t=b.yoffset;t=void 0===t?0:t;var h=b.ypan;h=void 0===h?0:h;a=d(b.crs,[a.lon,a.lat]);d=b.cosAngle||b.rotation&&Math.cos(b.rotation);var y=b.sinAngle||b.rotation&&Math.sin(b.rotation);
649
- b=b.rotation?[a[0]*d+a[1]*y,-a[0]*y+a[1]*d]:a;return{x:((b[0]-w)*m+q)*l+f,y:-(((t-b[1])*m+h)*l-e)}}v(21,!1,this)};b.prototype.transformToLatLon=function(a,b){var d=this.options.chart.proj4||x.proj4;if(!d)v(21,!1,this);else if(null!==a.y){var f=b.jsonmarginX,e=b.jsonmarginY,l=b.jsonres;l=void 0===l?1:l;var m=b.scale;m=void 0===m?1:m;var w=b.xoffset,q=b.xpan,t=b.yoffset,h=b.ypan;a={x:((a.x-(void 0===f?0:f))/l-(void 0===q?0:q))/m+(void 0===w?0:w),y:((a.y-(void 0===e?0:e))/l+(void 0===h?0:h))/m+(void 0===
650
- t?0:t)};f=b.cosAngle||b.rotation&&Math.cos(b.rotation);e=b.sinAngle||b.rotation&&Math.sin(b.rotation);b=d(b.crs,"WGS84",b.rotation?{x:a.x*f+a.y*-e,y:a.x*e+a.y*f}:a);return{lat:b.y,lon:b.x}}};b.prototype.fromPointToLatLon=function(a){return this.mapView&&this.mapView.projectedUnitsToLonLat(a)};b.prototype.fromLatLonToPoint=function(a){return this.mapView&&this.mapView.lonLatToProjectedUnits(a)};e(b.prototype,"addCredits",function(a,b){b=l(!0,this.options.credits,b);this.mapCredits&&(b.href=null);a.call(this,
651
- b);this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})});u.geojson=q;return{geojson:q,topo2geo:B}});J(e,"Core/Geometry/PolygonClip.js",[],function(){var b=function(b,e,q){return(e[0]-b[0])*(q[1]-b[1])>(e[1]-b[1])*(q[0]-b[0])},e=function(b,e,q,u){var x=[b[0]-e[0],b[1]-e[1]],v=[q[0]-u[0],q[1]-u[1]];b=b[0]*e[1]-b[1]*e[0];q=q[0]*u[1]-q[1]*u[0];u=1/(x[0]*v[1]-x[1]*v[0]);x=[(b*v[0]-q*x[0])*u,(b*v[1]-q*x[1])*u];x.isIntersection=!0;return x},u;(function(u){u.clipLineString=function(b,
652
- e){var q=[];b=u.clipPolygon(b,e,!1);for(e=1;e<b.length;e++)b[e].isIntersection&&b[e-1].isIntersection&&(q.push(b.splice(0,e)),e=0),e===b.length-1&&q.push(b);return q};u.clipPolygon=function(u,q,C){void 0===C&&(C=!0);for(var x=q[q.length-1],v,m,l=u,a=0;a<q.length;a++){var f=l;u=q[a];l=[];v=C?f[f.length-1]:f[0];for(var d=0;d<f.length;d++)m=f[d],b(x,u,m)?(b(x,u,v)||l.push(e(x,u,v,m)),l.push(m)):b(x,u,v)&&l.push(e(x,u,v,m)),v=m;x=u}return l}})(u||(u={}));return u});J(e,"Maps/Projections/LambertConformalConic.js",
653
- [],function(){var b=Math.sign||function(b){return 0===b?0:0<b?1:-1},e=Math.PI/180,u=Math.PI/2;return function(){function C(B){var q,C=(B.parallels||[]).map(function(b){return b*e}),x=C[0]||0;C=null!==(q=C[1])&&void 0!==q?q:x;q=Math.cos(x);"object"===typeof B.projectedBounds&&(this.projectedBounds=B.projectedBounds);B=x===C?Math.sin(x):Math.log(q/Math.cos(C))/Math.log(Math.tan((u+C)/2)/Math.tan((u+x)/2));1e-10>Math.abs(B)&&(B=1e-10*(b(B)||1));this.n=B;this.c=q*Math.pow(Math.tan((u+x)/2),B)/B}C.prototype.forward=
654
- function(b){var q=b[0]*e,B=this.c,x=this.n,v=this.projectedBounds;b=b[1]*e;0<B?b<-u+.000001&&(b=-u+.000001):b>u-.000001&&(b=u-.000001);var m=B/Math.pow(Math.tan((u+b)/2),x);b=m*Math.sin(x*q)*63.78137;q=63.78137*(B-m*Math.cos(x*q));B=[b,q];v&&(b<v.x1||b>v.x2||q<v.y1||q>v.y2)&&(B.outside=!0);return B};C.prototype.inverse=function(B){var q=B[0]/63.78137,C=this.c,x=this.n;B=C-B[1]/63.78137;var v=b(x)*Math.sqrt(q*q+B*B),m=Math.atan2(q,Math.abs(B))*b(B);0>B*x&&(m-=Math.PI*b(q)*b(B));return[m/x/e,(2*Math.atan(Math.pow(C/
655
- v,1/x))-u)/e]};return C}()});J(e,"Maps/Projections/EqualEarth.js",[],function(){var b=Math.sqrt(3)/2;return function(){function e(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}e.prototype.forward=function(e){var u=Math.PI/180,B=Math.asin(b*Math.sin(e[1]*u)),q=B*B,F=q*q*q;return[e[0]*u*Math.cos(B)*74.03120656864502/(b*(1.340264+3*-.081106*q+F*(7*.000893+.034164*q))),74.03120656864502*B*(1.340264+-.081106*q+F*(.000893+.003796*q))]};e.prototype.inverse=
656
- function(e){var u=e[0]/74.03120656864502;e=e[1]/74.03120656864502;var B=180/Math.PI,q=e,F;for(F=0;12>F;++F){var x=q*q;var v=x*x*x;var m=q*(1.340264+-.081106*x+v*(.000893+.003796*x))-e;x=1.340264+3*-.081106*x+v*(7*.000893+.034164*x);q-=m/=x;if(1e-9>Math.abs(m))break}x=q*q;return[B*b*u*(1.340264+3*-.081106*x+x*x*x*(7*.000893+.034164*x))/Math.cos(q),B*Math.asin(Math.sin(q)/b)]};return e}()});J(e,"Maps/Projections/Miller.js",[],function(){var b=Math.PI/4,e=Math.PI/180;return function(){function u(){this.bounds=
657
- {x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063,y2:146.91480769173063}}u.prototype.forward=function(u){return[u[0]*e*63.78137,79.7267125*Math.log(Math.tan(b+.4*u[1]*e))]};u.prototype.inverse=function(u){return[u[0]/63.78137/e,2.5*(Math.atan(Math.exp(u[1]/63.78137*.8))-b)/e]};return u}()});J(e,"Maps/Projections/Orthographic.js",[],function(){var b=Math.PI/180;return function(){function e(){this.antimeridianCutting=!1;this.bounds={x1:-63.78460826781007,x2:63.78460826781007,y1:-63.78460826781007,
658
- y2:63.78460826781007}}e.prototype.forward=function(e){var u=e[0];e=e[1]*b;e=[Math.cos(e)*Math.sin(u*b)*63.78460826781007,63.78460826781007*Math.sin(e)];if(-90>u||90<u)e.outside=!0;return e};e.prototype.inverse=function(e){var u=e[0]/63.78460826781007;e=e[1]/63.78460826781007;var B=Math.sqrt(u*u+e*e),q=Math.asin(B),F=Math.sin(q);return[Math.atan2(u*F,B*Math.cos(q))/b,Math.asin(B&&e*F/B)/b]};return e}()});J(e,"Maps/Projections/WebMercator.js",[],function(){var b=Math.PI/180;return function(){function e(){this.bounds=
659
- {x1:-200.37508342789243,x2:200.37508342789243,y1:-200.3750834278071,y2:200.3750834278071};this.maxLatitude=85.0511287798}e.prototype.forward=function(e){var u=Math.sin(e[1]*b);u=[63.78137*e[0]*b,63.78137*Math.log((1+u)/(1-u))/2];85.0511287798<Math.abs(e[1])&&(u.outside=!0);return u};e.prototype.inverse=function(e){return[e[0]/(63.78137*b),(2*Math.atan(Math.exp(e[1]/63.78137))-Math.PI/2)/b]};return e}()});J(e,"Maps/Projections/ProjectionRegistry.js",[e["Maps/Projections/LambertConformalConic.js"],
660
- e["Maps/Projections/EqualEarth.js"],e["Maps/Projections/Miller.js"],e["Maps/Projections/Orthographic.js"],e["Maps/Projections/WebMercator.js"]],function(b,e,u,C,B){return{EqualEarth:e,LambertConformalConic:b,Miller:u,Orthographic:C,WebMercator:B}});J(e,"Maps/Projection.js",[e["Core/Geometry/PolygonClip.js"],e["Maps/Projections/ProjectionRegistry.js"],e["Core/Utilities.js"]],function(b,e,u){var C=this&&this.__spreadArray||function(b,a,f){if(f||2===arguments.length)for(var d=0,e=a.length,l;d<e;d++)!l&&
661
- d in a||(l||(l=Array.prototype.slice.call(a,0,d)),l[d]=a[d]);return b.concat(l||Array.prototype.slice.call(a))},B=b.clipLineString,q=b.clipPolygon,F=u.clamp,x=u.erase,v=2*Math.PI/360,m=function(b){-180>b&&(b+=360);180<b&&(b-=360);return b};return function(){function b(a){void 0===a&&(a={});this.hasGeoProjection=this.hasCoordinates=!1;this.maxLatitude=90;this.options=a;var f=a.name,d=a.projectedBounds,e=a.rotation;this.rotator=e?this.getRotator(e):void 0;if(f=f?b.registry[f]:void 0)this.def=new f(a);
662
- var l=this.def,m=this.rotator;l&&(this.maxLatitude=l.maxLatitude||90,this.hasGeoProjection=!0);m&&l?(this.forward=function(a){return l.forward(m.forward(a))},this.inverse=function(a){return m.inverse(l.inverse(a))}):l?(this.forward=function(a){return l.forward(a)},this.inverse=function(a){return l.inverse(a)}):m&&(this.forward=m.forward,this.inverse=m.inverse);this.bounds="world"===d?l&&l.bounds:d}b.add=function(a,f){b.registry[a]=f};b.greatCircle=function(a,b,d){var f=Math.atan2,e=Math.cos,l=Math.sin,
663
- m=Math.sqrt,w=a[1]*v,q=a[0]*v,t=b[1]*v,h=b[0]*v,y=t-w,r=h-q;y=l(y/2)*l(y/2)+e(w)*e(t)*l(r/2)*l(r/2);y=2*f(m(y),m(1-y));var n=Math.round(6371E3*y/5E5);r=[];d&&r.push(a);if(1<n)for(n=a=1/n;.999>n;n+=a){var g=l((1-n)*y)/l(y),x=l(n*y)/l(y),c=g*e(w)*e(q)+x*e(t)*e(h),z=g*e(w)*l(q)+x*e(t)*l(h);g=g*l(w)+x*l(t);g=f(g,m(c*c+z*z));c=f(z,c);r.push([c/v,g/v])}d&&r.push(b);return r};b.insertGreatCircles=function(a){for(var f=a.length-1;f--;)if(10<Math.max(Math.abs(a[f][0]-a[f+1][0]),Math.abs(a[f][1]-a[f+1][1]))){var d=
664
- b.greatCircle(a[f],a[f+1]);d.length&&a.splice.apply(a,C([f+1,0],d,!1))}};b.toString=function(a){a=a||{};var b=a.rotation;return[a.name,b&&b.join(",")].join(";")};b.prototype.lineIntersectsBounds=function(a){var b=this.bounds||{},d=b.x2,e=b.y1,l=b.y2,m=function(a,b,d){var f=a[0];a=a[1];var e=b?0:1;if("number"===typeof d&&f[b]>=d!==a[b]>=d)return f=f[e]+(d-f[b])/(a[b]-f[b])*(a[e]-f[e]),b?[f,d]:[d,f]},q=a[0];if(b=m(a,0,b.x1))q=b,a[1]=b;else if(b=m(a,0,d))q=b,a[1]=b;if(b=m(a,1,e))q=b;else if(b=m(a,1,
665
- l))q=b;return q};b.prototype.getRotator=function(a){var b=a[0]*v,d=(a[1]||0)*v;a=(a[2]||0)*v;var e=Math.cos(d),l=Math.sin(d),m=Math.cos(a),q=Math.sin(a);if(0!==b||0!==d||0!==a)return{forward:function(a){var d=a[0]*v+b,f=a[1]*v,h=Math.cos(f);a=Math.cos(d)*h;d=Math.sin(d)*h;f=Math.sin(f);h=f*e+a*l;return[Math.atan2(d*m-h*q,a*e-f*l)/v,Math.asin(h*m+d*q)/v]},inverse:function(a){var d=a[0]*v,f=a[1]*v,h=Math.cos(f);a=Math.cos(d)*h;d=Math.sin(d)*h;f=Math.sin(f);h=f*m-d*q;return[(Math.atan2(d*m+f*q,a*e+h*
666
- l)-b)/v,Math.asin(h*e-a*l)/v]}}};b.prototype.forward=function(a){return a};b.prototype.inverse=function(a){return a};b.prototype.cutOnAntimeridian=function(a,f){var d=[],e=[a];a.forEach(function(b,e){var g=a[e-1];if(!e){if(!f)return;g=a[a.length-1]}var h=g[0],c=b[0];(-90>h||90<h)&&(-90>c||90<c)&&0<h!==0<c&&(c=F((180-(h+360)%360)/((c+360)%360-(h+360)%360),0,1),d.push({i:e,lat:g[1]+c*(b[1]-g[1]),direction:0>h?1:-1,previousLonLat:g,lonLat:b}))});if(d.length)if(f){if(1===d.length%2){var l=d.slice().sort(function(a,
667
- b){return Math.abs(b.lat)-Math.abs(a.lat)})[0];x(d,l)}for(var q=d.length-2;0<=q;){var v=d[q].i,w=m(180+.000001*d[q].direction),u=m(180-.000001*d[q].direction);v=a.splice.apply(a,C([v,d[q+1].i-v],b.greatCircle([w,d[q].lat],[w,d[q+1].lat],!0),!1));v.push.apply(v,b.greatCircle([u,d[q+1].lat],[u,d[q].lat],!0));e.push(v);q-=2}if(l)for(w=0;w<e.length;w++){q=l.direction;var t=l.lat;u=e[w];v=u.indexOf(l.lonLat);if(-1<v){w=(0>t?-1:1)*this.maxLatitude;var h=m(180+.000001*q),y=m(180-.000001*q);t=b.greatCircle([h,
668
- t],[h,w],!0);for(h+=120*q;-180<h&&180>h;h+=120*q)t.push([h,w]);t.push.apply(t,b.greatCircle([y,w],[y,l.lat],!0));u.splice.apply(u,C([v,0],t,!1));break}}}else for(q=d.length;q--;)v=d[q].i,v=a.splice(v,a.length,[m(180+.000001*d[q].direction),d[q].lat]),v.unshift([m(180-.000001*d[q].direction),d[q].lat]),e.push(v);return e};b.prototype.path=function(a){var f=this,d=this.bounds,e=this.def,l=this.rotator,m=[],v="Polygon"===a.type||"MultiPolygon"===a.type,w=this.hasGeoProjection,x=!e||!1!==e.antimeridianCutting,
669
- t=x?l:void 0,h=x?e||this:this,y;d&&(y=[[d.x1,d.y1],[d.x2,d.y1],[d.x2,d.y2],[d.x1,d.y2]]);var r=function(a){a=a.map(function(a){if(x){t&&(a=t.forward(a));var b=a[0];.000001>Math.abs(b-180)&&(b=180>b?179.999999:180.000001);a=[b,a[1]]}return a});var g=[a];w&&(b.insertGreatCircles(a),x&&(g=f.cutOnAntimeridian(a,v)));g.forEach(function(a){if(!(2>a.length)){var c=!1,f=!1,g=function(a){c?m.push(["L",a[0],a[1]]):(m.push(["M",a[0],a[1]]),c=!0)},e=!1,k=!1,l=a.map(function(a){a=h.forward(a);a.outside?e=!0:k=
670
- !0;Infinity===a[1]?a[1]=1E10:-Infinity===a[1]&&(a[1]=-1E10);return a});if(x){v&&l.push(l[0]);if(e){if(!k)return;if(y)if(v)l=q(l,y);else if(d){B(l,y).forEach(function(a){c=!1;a.forEach(g)});return}}l.forEach(g)}else for(var n=0;n<l.length;n++){var p=a[n],t=l[n];if(t.outside)f=!0;else{if(v&&!r){var r=p;a.push(p);l.push(t)}f&&u&&(v&&w?b.greatCircle(u,p).forEach(function(a){return g(h.forward(a))}):c=!1);g(t);var u=p;f=!1}}}})};"LineString"===a.type?r(a.coordinates):"MultiLineString"===a.type?a.coordinates.forEach(function(a){return r(a)}):
671
- "Polygon"===a.type?(a.coordinates.forEach(function(a){return r(a)}),m.length&&m.push(["Z"])):"MultiPolygon"===a.type&&(a.coordinates.forEach(function(a){a.forEach(function(a){return r(a)})}),m.length&&m.push(["Z"]));return m};b.registry=e;return b}()});J(e,"Maps/MapView.js",[e["Maps/MapViewOptionsDefault.js"],e["Maps/MapViewInsetsOptionsDefault.js"],e["Extensions/GeoJSON.js"],e["Core/Chart/MapChart.js"],e["Maps/MapUtilities.js"],e["Maps/Projection.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q,
672
- F){var x=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 c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};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)}}(),v=this&&this.__spreadArray||function(a,b,d){if(d||2===arguments.length)for(var c=0,f=b.length,g;c<f;c++)!g&&c in b||(g||(g=Array.prototype.slice.call(b,
673
- 0,c)),g[c]=b[c]);return a.concat(g||Array.prototype.slice.call(b))},m=u.topo2geo,l=C.maps,a=B.boundsFromPath,f=B.pointInPolygon,d=F.addEvent,k=F.clamp,p=F.fireEvent,E=F.isArray,A=F.isNumber,w=F.isObject,I=F.isString,t=F.merge,h=F.pick,y=F.relativeLength,r=function(a,b){return Math.log(400.979322/Math.max((a.x2-a.x1)/(b.width/256),(a.y2-a.y1)/(b.height/256)))/Math.log(2)},n=function(){function a(c,f){var e=this;this.insets=[];this.padding=[0,0,0,0];this.eventsToUnbind=[];var h;if(!(this instanceof
674
- g)){var k=v([c.options.chart.map],(c.options.series||[]).map(function(a){return a.mapData}),!0).map(function(a){return e.getGeoMap(a)}),l=[];k.forEach(function(a){a&&(h||(h=a["hc-recommended-mapview"]),a.bbox&&(a=a.bbox,l.push({x1:a[0],y1:a[1],x2:a[2],y2:a[3]})))});var m=l.length&&a.compositeBounds(l);if(m){var n=m.x1;var p=m.y1,r=m.x2;m=m.y2;n=180<r-n&&90<m-p?{name:"EqualEarth"}:{name:"LambertConformalConic",parallels:[p,m],rotation:[-(n+r)/2]}}this.geoMap=k[0]}this.userOptions=f||{};k=t(b,{projection:n},
675
- h,f);m=h&&h.insets;f=f&&f.insets;m&&f&&(k.insets=a.mergeInsets(m,f));this.chart=c;this.center=k.center;this.options=k;this.projection=new q(k.projection);this.playingField=c.plotBox;this.zoom=k.zoom||0;this.createInsets();this.eventsToUnbind.push(d(c,"afterSetChartSize",function(){e.playingField=e.getField();if(void 0===e.minZoom||e.minZoom===e.zoom)e.fitToBounds(void 0,void 0,!1),!e.chart.hasRendered&&A(e.userOptions.zoom)&&(e.zoom=e.userOptions.zoom),e.userOptions.center&&t(!0,e.center,e.userOptions.center)}));
676
- this.setUpEvents()}a.mergeInsets=function(a,b){var c=function(a){var b={};a.forEach(function(a,c){b[a&&a.id||"i".concat(c)]=a});return b},d=t(c(a),c(b));return Object.keys(d).map(function(a){return d[a]})};a.prototype.createInsets=function(){var a=this,b=this.options,d=b.insets;d&&d.forEach(function(c){c=new g(a,t(b.insetOptions,c));a.insets.push(c)})};a.prototype.fitToBounds=function(a,b,d,f){void 0===d&&(d=!0);var c=a||this.getProjectedBounds();if(c){var e=h(b,a?0:this.options.padding);b=this.getField(!1);
677
- e=E(e)?e:[e,e,e,e];this.padding=[y(e[0],b.height),y(e[1],b.width),y(e[2],b.height),y(e[3],b.width)];this.playingField=this.getField();b=r(c,this.playingField);a||(this.minZoom=b);a=this.projection.inverse([(c.x2+c.x1)/2,(c.y2+c.y1)/2]);this.setView(a,b,d,f)}};a.prototype.getField=function(a){void 0===a&&(a=!0);a=a?this.padding:[0,0,0,0];return{x:a[3],y:a[0],width:this.chart.plotWidth-a[1]-a[3],height:this.chart.plotHeight-a[0]-a[2]}};a.prototype.getGeoMap=function(a){if(I(a))return l[a];if(w(a,!0)){if("FeatureCollection"===
678
- a.type)return a;if("Topology"===a.type)return m(a)}};a.prototype.getMapBBox=function(){var a=this.getProjectedBounds(),b=this.getScale();if(a){var d=this.padding,f=this.projectedUnitsToPixels({x:a.x1,y:a.y2});return{width:(a.x2-a.x1)*b+d[1]+d[3],height:(a.y2-a.y1)*b+d[0]+d[2],x:f.x-d[3],y:f.y-d[0]}}};a.prototype.getProjectedBounds=function(){var b=this.chart.series.reduce(function(a,b){var c=b.getProjectedBounds&&b.getProjectedBounds();c&&!1!==b.options.affectsMapView&&a.push(c);return a},[]);return this.projection.bounds||
679
- a.compositeBounds(b)};a.prototype.getScale=function(){return 256/400.979322*Math.pow(2,this.zoom)};a.prototype.getSVGTransform=function(){var a=this.playingField,b=a.x,d=a.y,f=a.width;a=a.height;var e=this.projection.forward(this.center),g=this.projection.hasCoordinates?-1:1,h=this.getScale();g*=h;return{scaleX:h,scaleY:g,translateX:b+f/2-e[0]*h,translateY:d+a/2-e[1]*g}};a.prototype.lonLatToPixels=function(a){if(a=this.lonLatToProjectedUnits(a))return this.projectedUnitsToPixels(a)};a.prototype.lonLatToProjectedUnits=
680
- function(a){var b=this.chart,c=b.mapTransforms;if(c){for(var d in c)if(Object.hasOwnProperty.call(c,d)&&c[d].hitZone){var e=b.transformFromLatLon(a,c[d]);if(e&&f(e,c[d].hitZone.coordinates[0]))return e}return b.transformFromLatLon(a,c["default"])}c=0;for(d=this.insets;c<d.length;c++)if(b=d[c],b.options.geoBounds&&f({x:a.lon,y:a.lat},b.options.geoBounds.coordinates[0]))return a=b.projection.forward([a.lon,a.lat]),a=b.projectedUnitsToPixels({x:a[0],y:a[1]}),this.pixelsToProjectedUnits(a);a=this.projection.forward([a.lon,
681
- a.lat]);if(!a.outside)return{x:a[0],y:a[1]}};a.prototype.projectedUnitsToLonLat=function(a){var b=this.chart,c=b.mapTransforms;if(c){for(var d in c)if(Object.hasOwnProperty.call(c,d)&&c[d].hitZone&&f(a,c[d].hitZone.coordinates[0]))return b.transformToLatLon(a,c[d]);return b.transformToLatLon(a,c["default"])}c=this.projectedUnitsToPixels(a);d=0;for(var e=this.insets;d<e.length;d++)if(b=e[d],b.hitZone&&f(c,b.hitZone.coordinates[0]))return a=b.pixelsToProjectedUnits(c),a=b.projection.inverse([a.x,a.y]),
682
- {lon:a[0],lat:a[1]};a=this.projection.inverse([a.x,a.y]);return{lon:a[0],lat:a[1]}};a.prototype.redraw=function(a){this.chart.series.forEach(function(a){a.useMapGeometry&&(a.isDirty=!0)});this.chart.redraw(a)};a.prototype.setView=function(a,b,d,f){void 0===d&&(d=!0);a&&(this.center=a);"number"===typeof b&&("number"===typeof this.minZoom&&(b=Math.max(b,this.minZoom)),"number"===typeof this.options.maxZoom&&(b=Math.min(b,this.options.maxZoom)),A(b)&&(this.zoom=b));var c=this.getProjectedBounds();if(c){a=
683
- this.projection.forward(this.center);var e=this.playingField;b=e.x;var g=e.y,h=e.width;e=e.height;var k=this.getScale(),l=this.projectedUnitsToPixels({x:c.x1,y:c.y1}),m=this.projectedUnitsToPixels({x:c.x2,y:c.y2});c=[(c.x1+c.x2)/2,(c.y1+c.y2)/2];var n=l.x,t=m.y;m=m.x;l=l.y;m-n<h?a[0]=c[0]:n<b&&m<b+h?a[0]+=Math.max(n-b,m-h-b)/k:m>b+h&&n>b&&(a[0]+=Math.min(m-h-b,n-b)/k);l-t<e?a[1]=c[1]:t<g&&l<g+e?a[1]-=Math.max(t-g,l-e-g)/k:l>g+e&&t>g&&(a[1]-=Math.min(l-e-g,t-g)/k);this.center=this.projection.inverse(a);
684
- this.insets.forEach(function(a){a.options.field&&(a.hitZone=a.getHitZone(),a.playingField=a.getField())});this.render()}p(this,"afterSetView");d&&this.redraw(f)};a.prototype.projectedUnitsToPixels=function(a){var b=this.getScale(),c=this.projection.forward(this.center),d=this.playingField;return{x:d.x+d.width/2-b*(c[0]-a.x),y:d.y+d.height/2+b*(c[1]-a.y)}};a.prototype.pixelsToLonLat=function(a){return this.projectedUnitsToLonLat(this.pixelsToProjectedUnits(a))};a.prototype.pixelsToProjectedUnits=function(a){var b=
685
- a.x;a=a.y;var c=this.getScale(),d=this.projection.forward(this.center),e=this.playingField;return{x:d[0]+(b-(e.x+e.width/2))/c,y:d[1]-(a-(e.y+e.height/2))/c}};a.prototype.setUpEvents=function(){var a=this,b=this.chart,e,f,g,h=function(c){var d=b.pointer.pinchDown,h=a.projection,l=b.mouseDownX,m=b.mouseDownY;1===d.length&&(l=d[0].chartX,m=d[0].chartY);if("number"===typeof l&&"number"===typeof m){var n=""+l+",".concat(m),p=c.originalEvent;d=p.chartX;p=p.chartY;n!==f&&(f=n,e=a.projection.forward(a.center),
686
- g=(a.projection.options.rotation||[0,0]).slice());n=(n=h.def&&h.def.bounds)&&r(n,a.playingField)||-Infinity;"Orthographic"===h.options.name&&(a.minZoom||Infinity)<1.1*n?(h=440/(a.getScale()*Math.min(b.plotWidth,b.plotHeight)),g&&(l=(l-d)*h-g[0],m=k(-g[1]-(m-p)*h,-80,80),d=a.zoom,a.update({projection:{rotation:[-l,-m]}},!1),a.zoom=d,b.redraw(!1))):(h=a.getScale(),m=a.projection.inverse([e[0]+(l-d)/h,e[1]-(m-p)/h]),a.setView(m,void 0,!0,!1));c.preventDefault()}};d(b,"pan",h);d(b,"touchpan",h);d(b,"selection",
687
- function(c){if(c.resetSelection)a.zoomBy();else{var d=c.x-b.plotLeft,e=c.y-b.plotTop,f=a.pixelsToProjectedUnits({x:d,y:e}),g=f.y;f=f.x;d=a.pixelsToProjectedUnits({x:d+c.width,y:e+c.height});a.fitToBounds({x1:f,y1:g,x2:d.x,y2:d.y},void 0,!0,c.originalEvent.touches?!1:void 0);/^touch/.test(c.originalEvent.type)||b.showResetZoom();c.preventDefault()}})};a.prototype.render=function(){this.group||(this.group=this.chart.renderer.g("map-view").attr({zIndex:4}).add())};a.prototype.update=function(a,b,d){void 0===
688
- b&&(b=!0);var c=a.projection;c=c&&q.toString(c)!==q.toString(this.options.projection);var e=!1;t(!0,this.userOptions,a);t(!0,this.options,a);"insets"in a&&(this.insets.forEach(function(a){return a.destroy()}),this.insets.length=0,e=!0);if(c||e)this.chart.series.forEach(function(a){var b=a.transformGroups;a.clearBounds&&a.clearBounds();a.isDirty=!0;a.isDirtyData=!0;if(e&&b)for(;1<b.length;)(a=b.pop())&&a.destroy()}),c&&(this.projection=new q(this.options.projection)),e&&this.createInsets(),a.center||
689
- A(a.zoom)||this.fitToBounds(void 0,void 0,!1);(a.center||A(a.zoom))&&this.setView(this.options.center,a.zoom,!1);b&&this.chart.redraw(d)};a.prototype.zoomBy=function(a,b,d,e){var c=this.chart,f=this.projection.forward(this.center);b=b?this.projection.forward(b):[];var g=b[0],h=b[1];"number"===typeof a?(a=this.zoom+a,b=void 0,d&&(g=d[0],h=d[1],d=this.getScale(),g=g-c.plotLeft-c.plotWidth/2,c=h-c.plotTop-c.plotHeight/2,g=f[0]+g/d,h=f[1]+c/d),"number"===typeof g&&"number"===typeof h&&(d=1-Math.pow(2,
690
- this.zoom)/Math.pow(2,a),g=f[0]-g,c=f[1]-h,f[0]-=g*d,f[1]+=c*d,b=this.projection.inverse(f)),this.setView(b,a,void 0,e)):this.fitToBounds(void 0,void 0,void 0,e)};a.compositeBounds=function(a){if(a.length)return a.slice(1).reduce(function(a,b){a.x1=Math.min(a.x1,b.x1);a.y1=Math.min(a.y1,b.y1);a.x2=Math.max(a.x2,b.x2);a.y2=Math.max(a.y2,b.y2);return a},t(a[0]))};return a}(),g=function(b){function c(c,d){var f=b.call(this,c.chart,d)||this;f.id=d.id;f.mapView=c;f.options=t(e,d);f.allBounds=[];f.options.geoBounds&&
691
- (c=c.projection.path(f.options.geoBounds),f.geoBoundsProjectedBox=a(c),f.geoBoundsProjectedPolygon=c.map(function(a){return[a[1]||0,a[2]||0]}));return f}x(c,b);c.prototype.getField=function(a){void 0===a&&(a=!0);var c=this.hitZone;if(c){var d=a?this.padding:[0,0,0,0];c=c.coordinates[0];var f=c.map(function(a){return a[0]}),e=c.map(function(a){return a[1]});c=Math.min.apply(0,f)+d[3];f=Math.max.apply(0,f)-d[1];var g=Math.min.apply(0,e)+d[0];d=Math.max.apply(0,e)-d[2];if(A(c)&&A(g))return{x:c,y:g,width:f-
692
- c,height:d-g}}return b.prototype.getField.call(this,a)};c.prototype.getHitZone=function(){var a=this.chart,b=this.mapView,c=this.options,d=(c.field||{}).coordinates;if(d){d=d[0];if("percent"===c.units){var f="mapBoundingBox"===c.relativeTo&&b.getMapBBox()||t(a.plotBox,{x:0,y:0});d=d.map(function(a){return[y(""+a[0]+"%",f.width,f.x),y(""+a[1]+"%",f.height,f.y)]})}return{type:"Polygon",coordinates:[d]}}};c.prototype.getProjectedBounds=function(){return n.compositeBounds(this.allBounds)};c.prototype.isInside=
693
- function(a){var b=this.geoBoundsProjectedBox,c=this.geoBoundsProjectedPolygon;return!!(b&&a.x>=b.x1&&a.x<=b.x2&&a.y>=b.y1&&a.y<=b.y2&&c&&f(a,c))};c.prototype.render=function(){var a=this.chart,b=this.mapView,c=this.options,d=c.borderPath||c.field;if(d&&b.group){var f=!0;this.border||(this.border=a.renderer.path().addClass("highcharts-mapview-inset-border").add(b.group),f=!1);a.styledMode||this.border.attr({stroke:c.borderColor,"stroke-width":c.borderWidth});var e=Math.round(this.border.strokeWidth())%
694
- 2/2,g="mapBoundingBox"===c.relativeTo&&b.getMapBBox()||b.playingField;b=(d.coordinates||[]).reduce(function(b,d){return d.reduce(function(b,d,f){var h=d[0];d=d[1];"percent"===c.units&&(h=a.plotLeft+y(""+h+"%",g.width,g.x),d=a.plotTop+y(""+d+"%",g.height,g.y));h=Math.floor(h)+e;d=Math.floor(d)+e;b.push(0===f?["M",h,d]:["L",h,d]);return b},b)},[]);this.border[f?"animate":"attr"]({d:b})}};c.prototype.destroy=function(){this.border&&(this.border=this.border.destroy());this.eventsToUnbind.forEach(function(a){return a()})};
695
- c.prototype.setUpEvents=function(){};return c}(n);d(C,"afterInit",function(){this.mapView=new n(this,this.options.mapView)});return n});J(e,"Series/Map/MapSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Series/ColorMapComposition.js"],e["Series/CenteredUtilities.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/MapChart.js"],e["Series/Map/MapPoint.js"],e["Maps/MapView.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],
696
- e["Core/Utilities.js"]],function(b,e,u,C,B,q,F,x,v,m,l,a){var f=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=b.animObject;b=C.noop;var k=q.splitPath;q=m.seriesTypes;var p=q.column,E=q.scatter;
697
- q=a.extend;var A=a.find,w=a.fireEvent,I=a.getNestedProperty,t=a.isArray,h=a.isNumber,y=a.isObject,r=a.merge,n=a.objectEach,g=a.pick,D=a.splat;a=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.chart=void 0;b.data=void 0;b.group=void 0;b.joinBy=void 0;b.options=void 0;b.points=void 0;b.processedData=[];return b}f(b,a);b.prototype.animate=function(a){var b=this.chart,c=this.group,f=d(this.options.animation);b.renderer.isSVG&&(a?c.attr({translateX:b.plotLeft+b.plotWidth/2,translateY:b.plotTop+
698
- b.plotHeight/2,scaleX:.001,scaleY:.001}):c.animate({translateX:b.plotLeft,translateY:b.plotTop,scaleX:1,scaleY:1},f))};b.prototype.animateDrilldown=function(a){var b=this.chart,c=this.group;b.renderer.isSVG&&(a?c.attr({translateX:b.plotLeft+b.plotWidth/2,translateY:b.plotTop+b.plotHeight/2,scaleX:.1,scaleY:.1,opacity:.01}):(c.animate({translateX:b.plotLeft,translateY:b.plotTop,scaleX:1,scaleY:1,opacity:1},this.chart.options.drilldown.animation),b.drilldown&&b.drilldown.fadeInGroup(this.dataLabelsGroup)))};
699
- b.prototype.animateDrillupFrom=function(){var a=this.chart;a.renderer.isSVG&&this.group.animate({translateX:a.plotLeft+a.plotWidth/2,translateY:a.plotTop+a.plotHeight/2,scaleX:.1,scaleY:.1,opacity:.01})};b.prototype.animateDrillupTo=function(a){p.prototype.animateDrillupTo.call(this,a)};b.prototype.clearBounds=function(){this.points.forEach(function(a){delete a.bounds;delete a.insetIndex;delete a.projectedPath});delete this.bounds};b.prototype.doFullTranslate=function(){return!(!(this.isDirtyData||
700
- this.chart.isResizing||this.chart.renderer.isVML)&&this.hasRendered)};b.prototype.drawMapDataLabels=function(){v.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)};b.prototype.drawPoints=function(){var a=this,b=this,c=this.chart,d=this.group,f=this.transformGroups,e=void 0===f?[]:f,h=c.mapView,k=c.renderer;h&&(this.transformGroups=e,e[0]||(e[0]=k.g().add(d)),h.insets.forEach(function(a,b){e[b+1]||e.push(k.g().add(d))}),this.doFullTranslate()&&
701
- (this.points.forEach(function(b){var d=b.graphic,f=b.shapeArgs;b.group=e["number"===typeof b.insetIndex?b.insetIndex+1:0];d&&d.parentGroup!==b.group&&d.add(b.group);f&&c.hasRendered&&!c.styledMode&&(f.fill=a.pointAttribs(b,b.state).fill)}),p.prototype.drawPoints.apply(this),this.points.forEach(function(d){var f=d.graphic;if(f){var e=f.animate,h="";d.name&&(h+="highcharts-name-"+d.name.replace(/ /g,"-").toLowerCase());d.properties&&d.properties["hc-key"]&&(h+=" highcharts-key-"+d.properties["hc-key"].toString().toLowerCase());
702
- h&&f.addClass(h);c.styledMode&&f.css(a.pointAttribs(d,d.selected&&"select"||void 0));f.animate=function(a,d,h){var k=!1;if(a["stroke-width"]){var l=g(b.getStrokeWidth(b.options),1)/(c.mapView&&c.mapView.getScale()||1);"inherit"===f["stroke-width"]&&(f["stroke-width"]=l);"inherit"===a["stroke-width"]&&(a["stroke-width"]=l,k=!0)}return e.call(f,a,d,k?function(){f.attr({"stroke-width":"inherit"});h&&h.apply(this,arguments)}:h)}}})),e.forEach(function(b,d){var f=(0===d?h:h.insets[d-1]).getSVGTransform(),
703
- e=g(a.getStrokeWidth(a.options),1),l=f.scaleX,m=0<f.scaleY?1:-1;if(k.globalAnimation&&c.hasRendered){var n=Number(b.attr("translateX")),p=Number(b.attr("translateY")),t=Number(b.attr("scaleX"));b.attr({animator:0}).animate({animator:1},{step:function(a,c){a=t+(l-t)*c.pos;b.attr({translateX:n+(f.translateX-n)*c.pos,translateY:p+(f.translateY-p)*c.pos,scaleX:a,scaleY:a*m});b.element.setAttribute("stroke-width",e/a)}})}else b.attr(f),b.element.setAttribute("stroke-width",e/l)}),this.drawMapDataLabels())};
704
- b.prototype.getProjectedBounds=function(){if(!this.bounds&&this.chart.mapView){var a=this.chart.mapView,b=a.insets,c=a.projection,d=[];(this.points||[]).forEach(function(a){if(a.path||a.geometry){"string"===typeof a.path?a.path=k(a.path):t(a.path)&&"M"===a.path[0]&&(a.path=l.prototype.pathToSegments(a.path));if(!a.bounds){var f=a.getProjectedBounds(c);if(f){a.labelrank=g(a.labelrank,(f.x2-f.x1)*(f.y2-f.y1));var e=f.midX,m=f.midY;if(b&&h(e)&&h(m)){var n=A(b,function(a){return a.isInside({x:e,y:m})});
705
- n&&(delete a.projectedPath,(f=a.getProjectedBounds(n.projection))&&n.allBounds.push(f),a.insetIndex=b.indexOf(n))}a.bounds=f}}a.bounds&&void 0===a.insetIndex&&d.push(a.bounds)}});this.bounds=x.compositeBounds(d)}return this.bounds};b.prototype.getStrokeWidth=function(a){var b=this.pointAttrToOptions;return a[b&&b["stroke-width"]||"borderWidth"]};b.prototype.hasData=function(){return!!this.processedXData.length};b.prototype.pointAttribs=function(a,b){var c=a.series.chart,d=c.mapView;c=c.styledMode?
706
- this.colorAttribs(a):p.prototype.pointAttribs.call(this,a,b);var f=this.getStrokeWidth(a.options);b&&(b=r(this.options.states[b],a.options.states&&a.options.states[b]||{}),f=this.getStrokeWidth(b));f&&d&&(f/=d.getScale());b=this.getStrokeWidth(this.options);c.dashstyle&&d&&h(b)&&(f=b/d.getScale());a.visible||(c.fill=this.options.nullColor);c["stroke-width"]=g(f,"inherit");return c};b.prototype.updateData=function(){return this.processedData?!1:a.prototype.updateData.apply(this,arguments)};b.prototype.setData=
707
- function(b,c,d,f){void 0===c&&(c=!0);delete this.bounds;a.prototype.setData.call(this,b,!1,void 0,f);this.processData();this.generatePoints();c&&this.chart.redraw(d)};b.prototype.processData=function(){var a=this.options,b=a.data,c=this.chart.options.chart,d=this.joinBy,f=a.keys||this.pointArrayMap,e=[],g={},k=this.chart.mapView;k=k&&(y(a.mapData,!0)?k.getGeoMap(a.mapData):k.geoMap);var l=this.chart.mapTransforms;(this.chart.mapTransforms=l=c.mapTransforms||k&&k["hc-transform"]||l)&&n(l,function(a){a.rotation&&
708
- (a.cosAngle=Math.cos(a.rotation),a.sinAngle=Math.sin(a.rotation))});if(t(a.mapData))var m=a.mapData;else k&&"FeatureCollection"===k.type&&(this.mapTitle=k.title,m=C.geojson(k,this.type,this));var p=this.processedData=[];b&&b.forEach(function(c,e){var g=0;if(h(c))p[e]={value:c};else if(t(c)){p[e]={};!a.keys&&c.length>f.length&&"string"===typeof c[0]&&(p[e]["hc-key"]=c[0],++g);for(var k=0;k<f.length;++k,++g)f[k]&&"undefined"!==typeof c[g]&&(0<f[k].indexOf(".")?F.prototype.setNestedProperty(p[e],c[g],
709
- f[k]):p[e][f[k]]=c[g])}else p[e]=b[e];d&&"_i"===d[0]&&(p[e]._i=e)});if(m){this.mapData=m;this.mapMap={};for(l=0;l<m.length;l++)c=m[l],k=c.properties,c._i=l,d[0]&&k&&k[d[0]]&&(c[d[0]]=k[d[0]]),g[c[d[0]]]=c;this.mapMap=g;if(d[1]){var q=d[1];p.forEach(function(a){a=I(q,a);g[a]&&e.push(g[a])})}if(a.allAreas){if(d[1]){var w=d[1];p.forEach(function(a){e.push(I(w,a))})}var v="|"+e.map(function(a){return a&&a[d[0]]}).join("|")+"|";m.forEach(function(a){d[0]&&-1!==v.indexOf("|"+a[d[0]]+"|")||p.push(r(a,{value:null}))})}}this.processedXData=
710
- Array(p.length)};b.prototype.setOptions=function(a){a=v.prototype.setOptions.call(this,a);var b=a.joinBy;null===b&&(b="_i");b=this.joinBy=D(b);b[1]||(b[1]=b[0]);return a};b.prototype.translate=function(){var a=this.doFullTranslate(),b=this.chart.mapView,c=b&&b.projection;!this.chart.hasRendered||!this.isDirtyData&&this.hasRendered||(this.processData(),this.generatePoints(),delete this.bounds,!b||b.userOptions.center||h(b.userOptions.zoom)?this.getProjectedBounds():b.fitToBounds(void 0,void 0,!1));
711
- if(b){var d=b.getSVGTransform();this.points.forEach(function(f){var e=h(f.insetIndex)&&b.insets[f.insetIndex].getSVGTransform()||d;e&&f.bounds&&h(f.bounds.midX)&&h(f.bounds.midY)&&(f.plotX=f.bounds.midX*e.scaleX+e.translateX,f.plotY=f.bounds.midY*e.scaleY+e.translateY);a&&(f.shapeType="path",f.shapeArgs={d:F.getProjectedPath(f,c)})})}w(this,"afterTranslate")};b.defaultOptions=r(E.defaultOptions,{affectsMapView:!0,animation:!1,dataLabels:{crop:!1,formatter:function(){var a=this.series.chart.numberFormatter,
712
- b=this.point.value;return h(b)?a(b,-1):""},inside:!0,overflow:!1,padding:0,verticalAlign:"middle"},marker:null,nullColor:"#f7f7f7",stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.value}<br/>"},turboThreshold:0,allAreas:!0,borderColor:"#cccccc",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"}}});return b}(E);q(a.prototype,{type:"map",axisTypes:e.seriesMembers.axisTypes,colorAttribs:e.seriesMembers.colorAttribs,
713
- colorKey:e.seriesMembers.colorKey,directTouch:!0,drawDataLabels:b,drawGraph:b,drawLegendSymbol:B.drawRectangle,forceDL:!0,getCenter:u.getCenter,getExtremesFromAll:!0,getSymbol:b,isCartesian:!1,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:e.seriesMembers.pointArrayMap,pointClass:F,preserveAspectRatio:!0,searchPoint:b,trackerGroups:e.seriesMembers.trackerGroups,useMapGeometry:!0});e.compose(a);m.registerSeriesType("map",a);"";return a});J(e,"Series/MapLine/MapLineSeries.js",[e["Series/Map/MapSeries.js"],
714
- e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u){var C=this&&this.__extends||function(){var b=function(e,m){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(e,m)};return function(e,m){function l(){this.constructor=e}b(e,m);e.prototype=null===m?Object.create(m):(l.prototype=m.prototype,new l)}}(),B=e.series,q=u.extend,F=u.merge;u=function(e){function q(){var b=null!==
715
- e&&e.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}C(q,e);q.prototype.pointAttribs=function(e,l){e=b.prototype.pointAttribs.call(this,e,l);e.fill=this.options.fillColor;return e};q.defaultOptions=F(b.defaultOptions,{lineWidth:1,fillColor:"none"});return q}(b);q(u.prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:B.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}});e.registerSeriesType("mapline",u);"";return u});
716
- J(e,"Series/MapPoint/MapPointPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var u=this&&this.__extends||function(){var b=function(e,u){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var m in e)e.hasOwnProperty(m)&&(b[m]=e[m])};return b(e,u)};return function(e,u){function q(){this.constructor=e}b(e,u);e.prototype=null===u?Object.create(u):(q.prototype=u.prototype,new q)}}(),C=e.isNumber;return function(b){function e(){var e=
717
- null!==b&&b.apply(this,arguments)||this;e.options=void 0;e.series=void 0;return e}u(e,b);e.prototype.isValid=function(){return!!(this.options.geometry||C(this.x)&&C(this.y)||C(this.options.lon)&&C(this.options.lat))};return e}(b.seriesTypes.scatter.prototype.pointClass)});J(e,"Series/MapPoint/MapPointSeries.js",[e["Core/Globals.js"],e["Series/MapPoint/MapPointPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C){var B=this&&this.__extends||function(){var a=function(b,
718
- 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 e(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(e.prototype=d.prototype,new e)}}();b=b.noop;var q=u.seriesTypes,F=q.map,x=q.scatter;q=C.extend;var v=C.fireEvent,m=C.isNumber,l=C.merge;C=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.chart=void 0;b.data=void 0;
719
- b.options=void 0;b.points=void 0;b.clearBounds=F.prototype.clearBounds;return b}B(b,a);b.prototype.drawDataLabels=function(){a.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)};b.prototype.projectPoint=function(a){var b=this.chart.mapView;if(b){var d=a.geometry,e=a.lon;a=a.lat;d=d&&"Point"===d.type&&d.coordinates;m(e)&&m(a)&&(d=[e,a]);if(d)return b.lonLatToProjectedUnits({lon:d[0],lat:d[1]})}};b.prototype.translate=function(){var a=this,b=this.chart.mapView;
720
- this.processedXData||this.processData();this.generatePoints();this.getProjectedBounds&&this.isDirtyData&&(delete this.bounds,this.getProjectedBounds());if(b){var e=b.getSVGTransform(),f=b.projection.hasCoordinates;this.points.forEach(function(d){var k=d.x;k=void 0===k?void 0:k;var l=d.y;l=void 0===l?void 0:l;var p=m(d.insetIndex)&&b.insets[d.insetIndex].getSVGTransform()||e,h=a.projectPoint(d.options)||d.properties&&a.projectPoint(d.properties);if(h)k=h.x,l=h.y;else if(d.bounds&&(k=d.bounds.midX,
721
- l=d.bounds.midY,p&&m(k)&&m(l))){d.plotX=k*p.scaleX+p.translateX;d.plotY=l*p.scaleY+p.translateY;var q=!0}m(k)&&m(l)?q||(q=b.projectedUnitsToPixels({x:k,y:l}),d.plotX=q.x,d.plotY=f?q.y:a.chart.plotHeight-q.y):d.y=d.plotX=d.plotY=void 0;d.isInside=a.isPointInside(d);d.zone=a.zones.length?d.getZone():void 0})}v(this,"afterTranslate")};b.defaultOptions=l(x.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}});return b}(x);
722
- q(C.prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:e,searchPoint:b,useMapGeometry:!0});u.registerSeriesType("mappoint",C);"";return C});J(e,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{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",
723
- color:"#000000"},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}});J(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,u,C){var B=b.parse,q=u.noop,F=C.arrayMax,x=C.arrayMin,v=C.isNumber,m=C.merge,l=C.pick,a=C.stableSort;b=function(){function b(a,b){this.options=this.symbols=
724
- this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0;this.setState=q;this.init(a,b)}b.prototype.init=function(a,b){this.options=a;this.visible=!0;this.chart=b.chart;this.legend=b};b.prototype.addToLegend=function(a){a.splice(this.options.legendIndex,0,this)};b.prototype.drawLegendSymbol=function(b){var d=this.chart,e=l(b.options.itemDistance,20),f=this.legendItem||{},m=this.options,q=m.ranges,u=m.connectorDistance;this.fontMetrics=d.renderer.fontMetrics(m.labels.style.fontSize);
725
- q&&q.length&&v(q[0].value)?(a(q,function(a,b){return b.value-a.value}),this.ranges=q,this.setOptions(),this.render(),b=this.getMaxLabelSize(),q=this.ranges[0].radius,d=2*q,u=u-q+b.width,u=0<u?u:0,this.maxLabel=b,this.movementX="left"===m.labels.align?u:0,f.labelWidth=d+u+e,f.labelHeight=d+this.fontMetrics.h/2):b.options.bubbleLegend.autoRanges=!0};b.prototype.setOptions=function(){var a=this.ranges,b=this.options,e=this.chart.series[b.seriesIndex],f=this.legend.baseline,q={zIndex:b.zIndex,"stroke-width":b.borderWidth},
726
- w={zIndex:b.zIndex,"stroke-width":b.connectorWidth},v={align:this.legend.options.rtl||"left"===b.labels.align?"right":"left",zIndex:b.zIndex},t=e.options.marker.fillOpacity,h=this.chart.styledMode;a.forEach(function(d,k){h||(q.stroke=l(d.borderColor,b.borderColor,e.color),q.fill=l(d.color,b.color,1!==t?B(e.color).setOpacity(t).get("rgba"):e.color),w.stroke=l(d.connectorColor,b.connectorColor,e.color));a[k].radius=this.getRangeRadius(d.value);a[k]=m(a[k],{center:a[0].radius-a[k].radius+f});h||m(!0,
727
- a[k],{bubbleAttribs:m(q),connectorAttribs:m(w),labelAttribs:v})},this)};b.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)};b.prototype.render=function(){var a=this.legendItem||{},b=this.chart.renderer,e=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});a.symbol=b.g("bubble-legend");a.label=b.g("bubble-legend-item");
728
- a.symbol.translateX=0;b=a.symbol.translateY=0;for(var f=this.ranges;b<f.length;b++){var l=f[b];l.value>=e&&this.renderRange(l)}a.symbol.add(a.label);a.label.add(a.group);this.hideOverlappingLabels()};b.prototype.renderRange=function(a){var b=this.options,d=b.labels,e=this.chart,f=e.series[b.seriesIndex],l=e.renderer,m=this.symbols;e=m.labels;var t=a.center,h=Math.abs(a.radius),q=b.connectorDistance||0,r=d.align,n=b.connectorWidth,g=this.ranges[0].radius||0,v=t-h-b.borderWidth/2+n/2,c=this.fontMetrics;
729
- c=c.f/2-(c.h-c.f)/2;var u=l.styledMode;q=this.legend.options.rtl||"left"===r?-q:q;"center"===r&&(q=0,b.connectorDistance=0,a.labelAttribs.align="center");r=v+b.labels.y;var x=g+q+b.labels.x;m.bubbleItems.push(l.circle(g,t+((v%1?1:.5)-(n%2?0:.5)),h).attr(u?{}:a.bubbleAttribs).addClass((u?"highcharts-color-"+f.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(b.className||"")).add(this.legendItem.symbol));m.connectors.push(l.path(l.crispLine([["M",g,v],["L",g+q,v]],b.connectorWidth)).attr(u?{}:
730
- a.connectorAttribs).addClass((u?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(b.connectorClassName||"")).add(this.legendItem.symbol));a=l.text(this.formatLabel(a),x,r+c).attr(u?{}:a.labelAttribs).css(u?{}:d.style).addClass("highcharts-bubble-legend-labels "+(b.labels.className||"")).add(this.legendItem.symbol);e.push(a);a.placed=!0;a.alignAttr={x:x,y:r+c}};b.prototype.getMaxLabelSize=function(){var a,b;this.symbols.labels.forEach(function(d){b=d.getBBox(!0);
419
+ select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"}});H(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y,G,t,r,n){var h=
420
+ b.animObject,a=b.setAnimation,f=e.defaultOptions,d=z.registerEventOptions,k=C.hasTouch,p=C.svg,D=C.win,A=t.seriesTypes,x=n.arrayMax,E=n.arrayMin,q=n.clamp,c=n.cleanRecursively,B=n.correctFloat,m=n.defined,u=n.erase,g=n.error,F=n.extend,l=n.find,v=n.fireEvent,K=n.getNestedProperty,J=n.isArray,M=n.isNumber,I=n.isString,R=n.merge,Z=n.objectEach,L=n.pick,H=n.removeEvent,ia=n.splat,ba=n.syncTimeout;b=function(){function b(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=
421
+ 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 b=this,f=a.series;this.eventsToUnbind=[];b.chart=a;b.options=b.setOptions(c);c=b.options;b.linkedSeries=[];b.bindAxes();F(b,{name:c.name,state:"",visible:!1!==c.visible,selected:!0===c.selected});d(this,c);var g=c.events;if(g&&g.click||c.point&&c.point.events&&c.point.events.click||c.allowPointSelect)a.runTrackerClick=
422
+ !0;b.getColor();b.getSymbol();b.parallelArrays.forEach(function(a){b[a+"Data"]||(b[a+"Data"]=[])});b.isCartesian&&(a.hasCartesianSeries=!0);var l;f.length&&(l=f[f.length-1]);b._i=L(l&&l._i,-1)+1;b.opacity=b.options.opacity;a.orderSeries(this.insert(f));c.dataSorting&&c.dataSorting.enabled?b.setDataSortingOptions():b.points||b.data||b.setData(c.data,!1);v(this,"afterInit")};b.prototype.is=function(a){return A[a]&&this instanceof A[a]};b.prototype.insert=function(a){var c=this.options.index,b;if(M(c)){for(b=
423
+ a.length;b--;)if(c>=L(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 L(b,a.length-1)};b.prototype.bindAxes=function(){var a=this,c=a.options,b=a.chart,d;v(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(f){var l=0;b[f].forEach(function(b){d=b.options;if(c[f]===l&&!d.isInternal||"undefined"!==typeof c[f]&&c[f]===d.id||"undefined"===typeof c[f]&&0===d.index)a.insert(b.series),a[f]=b,b.isDirty=!0;d.isInternal||l++});a[f]||
424
+ a.optionalAxis===f||g(18,!0,b)})});v(this,"afterBindAxes")};b.prototype.updateParallelArrays=function(a,c){var b=a.series,d=arguments,f=M(c)?function(d){var f="y"===d&&b.toYData?b.toYData(a):a[d];b[d+"Data"][c]=f}:function(a){Array.prototype[c].apply(b[a+"Data"],Array.prototype.slice.call(d,2))};b.parallelArrays.forEach(f)};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=
425
+ function(a){var c=this.options,b=c.pointIntervalUnit,d=c.relativeXValue,f=this.chart.time,g=this.xIncrement,l;g=L(g,c.pointStart,0);this.pointInterval=l=L(this.pointInterval,c.pointInterval,1);d&&M(a)&&(l*=a);b&&(c=new f.Date(g),"day"===b?f.set("Date",c,f.get("Date",c)+l):"month"===b?f.set("Month",c,f.get("Month",c)+l):"year"===b&&f.set("FullYear",c,f.get("FullYear",c)+l),l=c.getTime()-g);if(d&&M(a))return g+l;this.xIncrement=g+l;return g};b.prototype.setDataSortingOptions=function(){var a=this.options;
426
+ F(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});m(a.pointRange)||(a.pointRange=1)};b.prototype.setOptions=function(a){var c=this.chart,b=c.options,d=b.plotOptions,g=c.userOptions||{};a=R(a);c=c.styledMode;var l={plotOptions:d,userOptions:a};v(this,"setOptions",l);var k=l.plotOptions[this.type],h=g.plotOptions||{};this.userOptions=l.userOptions;g=R(k,d.series,g.plotOptions&&g.plotOptions[this.type],a);this.tooltipOptions=R(f.tooltip,f.plotOptions.series&&f.plotOptions.series.tooltip,
427
+ f.plotOptions[this.type].tooltip,b.tooltip.userOptions,d.series&&d.series.tooltip,d[this.type].tooltip,a.tooltip);this.stickyTracking=L(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;d=this.zones=(g.zones||[]).slice();!g.negativeColor&&!g.negativeFillColor||g.zones||(b={value:g[this.zoneAxis+"Threshold"]||g.threshold||0,className:"highcharts-negative"},
428
+ c||(b.color=g.negativeColor,b.fillColor=g.negativeFillColor),d.push(b));d.length&&m(d[d.length-1].value)&&d.push(c?{}:{color:this.color,fillColor:this.fillColor});v(this,"afterSetOptions",{options:g});return g};b.prototype.getName=function(){return L(this.options.name,"Series "+(this.index+1))};b.prototype.getCyclic=function(a,c,b){var d=this.chart,f=this.userOptions,g=a+"Index",l=a+"Counter",k=b?b.length:L(d.options.chart[a+"Count"],d[a+"Count"]);if(!c){var h=L(f[g],f["_"+g]);m(h)||(d.series.length||
429
+ (d[l]=0),f["_"+g]=h=d[l]%k,d[l]+=1);b&&(c=b[h])}"undefined"!==typeof h&&(this[g]=h);this[a]=c};b.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":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,
430
+ this.chart.options.symbols)};b.prototype.findPointIndex=function(a,c){var b=a.id,d=a.x,f=this.points,g=this.options.dataSorting,k,h;if(b)g=this.chart.get(b),g instanceof y&&(k=g);else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)if(k=function(c){return!c.touched&&c.index===a.index},g&&g.matchByName?k=function(c){return!c.touched&&c.name===a.name}:this.options.relativeXValue&&(k=function(c){return!c.touched&&c.options.x===a.x}),k=l(f,k),!k)return;if(k){var m=k&&k.index;
431
+ "undefined"!==typeof m&&(h=!0)}"undefined"===typeof m&&M(d)&&(m=this.xData.indexOf(d,c));-1!==m&&"undefined"!==typeof m&&this.cropped&&(m=m>=this.cropStart?m-this.cropStart:m);!h&&M(m)&&f[m]&&f[m].touched&&(m=void 0);return m};b.prototype.updateData=function(a,c){var b=this.options,d=b.dataSorting,f=this.points,g=[],l=this.requireSorting,k=a.length===f.length,h,e,q,p=!0;this.xIncrement=null;a.forEach(function(a,c){var e=m(a)&&this.pointClass.prototype.optionsToObject.call({series:this},a)||{},p=e.x;
432
+ if(e.id||M(p)){if(e=this.findPointIndex(e,q),-1===e||"undefined"===typeof e?g.push(a):f[e]&&a!==b.data[e]?(f[e].update(a,!1,null,!1),f[e].touched=!0,l&&(q=e+1)):f[e]&&(f[e].touched=!0),!k||c!==e||d&&d.enabled||this.hasDerivedData)h=!0}else g.push(a)},this);if(h)for(a=f.length;a--;)(e=f[a])&&!e.touched&&e.remove&&e.remove(!1,c);else!k||d&&d.enabled?p=!1:(a.forEach(function(a,c){a!==f[c].y&&f[c].update&&f[c].update(a,!1,null,!1)}),g.length=0);f.forEach(function(a){a&&(a.touched=!1)});if(!p)return!1;
433
+ g.forEach(function(a){this.addPoint(a,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=x(this.xData),this.autoIncrement());return!0};b.prototype.setData=function(a,c,b,d){void 0===c&&(c=!0);var f=this,l=f.points,k=l&&l.length||0,h=f.options,m=f.chart,e=h.dataSorting,q=f.xAxis,p=h.turboThreshold,v=this.xData,n=this.yData,u=f.pointArrayMap;u=u&&u.length;var A=h.keys,F,x=0,B=1,D=null;if(!m.options.chart.allowMutatingData){h.data&&delete f.options.data;f.userOptions.data&&
434
+ delete f.userOptions.data;var E=R(!0,a)}a=E||a||[];E=a.length;e&&e.enabled&&(a=this.sortData(a));m.options.chart.allowMutatingData&&!1!==d&&E&&k&&!f.cropped&&!f.hasGroupedData&&f.visible&&!f.boosted&&(F=this.updateData(a,b));if(!F){f.xIncrement=null;f.colorCounter=0;this.parallelArrays.forEach(function(a){f[a+"Data"].length=0});if(p&&E>p)if(D=f.getFirstValidPoint(a),M(D))for(b=0;b<E;b++)v[b]=this.autoIncrement(),n[b]=a[b];else if(J(D))if(u)if(D.length===u)for(b=0;b<E;b++)v[b]=this.autoIncrement(),
435
+ n[b]=a[b];else for(b=0;b<E;b++)d=a[b],v[b]=d[0],n[b]=d.slice(1,u+1);else if(A&&(x=A.indexOf("x"),B=A.indexOf("y"),x=0<=x?x:0,B=0<=B?B:1),1===D.length&&(B=0),x===B)for(b=0;b<E;b++)v[b]=this.autoIncrement(),n[b]=a[b][B];else for(b=0;b<E;b++)d=a[b],v[b]=d[x],n[b]=d[B];else g(12,!1,m);else for(b=0;b<E;b++)"undefined"!==typeof a[b]&&(d={series:f},f.pointClass.prototype.applyOptions.apply(d,[a[b]]),f.updateParallelArrays(d,b));n&&I(n[0])&&g(14,!0,m);f.data=[];f.options.data=f.userOptions.data=a;for(b=k;b--;)l[b]&&
436
+ l[b].destroy&&l[b].destroy();q&&(q.minRange=q.userMinRange);f.isDirty=m.isDirtyBox=!0;f.isDirtyData=!!l;b=!1}"point"===h.legendType&&(this.processData(),this.generatePoints());c&&m.redraw(b)};b.prototype.sortData=function(a){var c=this,b=c.options.dataSorting.sortKey||"y",d=function(a,c){return m(c)&&a.pointClass.prototype.optionsToObject.call({series:a},c)||{}};a.forEach(function(b,f){a[f]=d(c,b);a[f].index=f},this);a.concat().sort(function(a,c){a=K(b,a);c=K(b,c);return c<a?-1:c>a?1:0}).forEach(function(a,
437
+ c){a.x=c},this);c.linkedSeries&&c.linkedSeries.forEach(function(c){var b=c.options,f=b.data;b.dataSorting&&b.dataSorting.enabled||!f||(f.forEach(function(b,g){f[g]=d(c,b);a[g]&&(f[g].x=a[g].x,f[g].index=g)}),c.setData(f,!1))});return a};b.prototype.getProcessedData=function(a){var c=this.xAxis,b=this.options,d=b.cropThreshold,f=a||this.getExtremesFromAll||b.getExtremesFromAll,l=this.isCartesian;a=c&&c.val2lin;b=!(!c||!c.logarithmic);var k=0,h=this.xData,m=this.yData,e=this.requireSorting;var q=!1;
438
+ var p=h.length;if(c){q=c.getExtremes();var v=q.min;var n=q.max;q=!(!c.categories||c.names.length)}if(l&&this.sorted&&!f&&(!d||p>d||this.forceCrop))if(h[p-1]<v||h[0]>n)h=[],m=[];else if(this.yData&&(h[0]<v||h[p-1]>n)){var u=this.cropData(this.xData,this.yData,v,n);h=u.xData;m=u.yData;k=u.start;u=!0}for(d=h.length||1;--d;)if(c=b?a(h[d])-a(h[d-1]):h[d]-h[d-1],0<c&&("undefined"===typeof A||c<A))var A=c;else 0>c&&e&&!q&&(g(15,!1,this.chart),e=!1);return{xData:h,yData:m,cropped:u,cropStart:k,closestPointRange:A}};
439
+ 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;v(this,"afterProcessData")};b.prototype.cropData=function(a,c,b,d,f){var g=a.length,l,k=0,h=g;f=L(f,this.cropShoulder);for(l=0;l<g;l++)if(a[l]>=b){k=Math.max(0,l-f);break}for(b=
440
+ l;b<g;b++)if(a[b]>d){h=b+f;break}return{xData:a.slice(k,h),yData:c.slice(k,h),start:k,end:h}};b.prototype.generatePoints=function(){var a=this.options,c=this.processedData||a.data,b=this.processedXData,d=this.processedYData,f=this.pointClass,g=b.length,l=this.cropStart||0,k=this.hasGroupedData,h=a.keys,m=[];a=a.dataGrouping&&a.dataGrouping.groupAll?l:0;var e,q,p=this.data;if(!p&&!k){var n=[];n.length=c.length;p=this.data=n}h&&k&&(this.options.keys=!1);for(q=0;q<g;q++){n=l+q;if(k){var u=(new f).init(this,
441
+ [b[q]].concat(ia(d[q])));u.dataGroup=this.groupMap[a+q];u.dataGroup.options&&(u.options=u.dataGroup.options,F(u,u.dataGroup.options),delete u.dataLabels)}else(u=p[n])||"undefined"===typeof c[n]||(p[n]=u=(new f).init(this,c[n],b[q]));u&&(u.index=k?a+q:n,m[q]=u)}this.options.keys=h;if(p&&(g!==(e=p.length)||k))for(q=0;q<e;q++)q!==l||k||(q+=g),p[q]&&(p[q].destroyElements(),p[q].plotX=void 0);this.data=p;this.points=m;v(this,"afterGeneratePoints")};b.prototype.getXExtremes=function(a){return{min:E(a),
442
+ max:x(a)}};b.prototype.getExtremes=function(a,c){var b=this.xAxis,d=this.yAxis,f=this.processedXData||this.xData,g=[],l=this.requireSorting?this.cropShoulder:0;d=d?d.positiveValuesOnly:!1;var k,h=0,m=0,e=0;a=a||this.stackedYData||this.processedYData||[];var q=a.length;if(b){var p=b.getExtremes();h=p.min;m=p.max}for(k=0;k<q;k++){var n=f[k];p=a[k];var u=(M(p)||J(p))&&(p.length||0<p||!d);n=c||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!b||(f[k+l]||n)>=h&&(f[k-l]||n)<=m;if(u&&
443
+ n)if(u=p.length)for(;u--;)M(p[u])&&(g[e++]=p[u]);else g[e++]=p}a={activeYData:g,dataMin:E(g),dataMax:x(g)};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=a.length,b=0,d=null;null===d&&b<c;)d=a[b],b++;return d};b.prototype.translate=function(){this.processedXData||this.processData();this.generatePoints();var a=this.options,
444
+ c=a.stacking,b=this.xAxis,d=b.categories,f=this.enabledDataSorting,g=this.yAxis,l=this.points,k=l.length,h=this.pointPlacementToXValue(),e=!!h,p=a.threshold,n=a.startFromThreshold?p:0,u=this.zoneAxis||"y",A,F,x=Number.MAX_VALUE;for(A=0;A<k;A++){var D=l[A],E=D.x,r=void 0,t=void 0,K=D.y,y=D.low,z=c&&g.stacking&&g.stacking.stacks[(this.negStacks&&K<(n?0:p)?"-":"")+this.stackKey];if(g.positiveValuesOnly&&!g.validatePositiveValue(K)||b.positiveValuesOnly&&!b.validatePositiveValue(E))D.isNull=!0;D.plotX=
445
+ F=B(q(b.translate(E,0,0,0,1,h,"flags"===this.type),-1E5,1E5));if(c&&this.visible&&z&&z[E]){var w=this.getStackIndicator(w,E,this.index);D.isNull||(r=z[E],t=r.points[w.key])}J(t)&&(y=t[0],K=t[1],y===n&&w.key===z[E].base&&(y=L(M(p)&&p,g.min)),g.positiveValuesOnly&&0>=y&&(y=null),D.total=D.stackTotal=r.total,D.percentage=r.total&&D.y/r.total*100,D.stackY=K,this.irregularWidths||r.setOffset(this.pointXOffset||0,this.barW||0));D.yBottom=m(y)?q(g.translate(y,0,1,0,1),-1E5,1E5):null;this.dataModify&&(K=
446
+ this.dataModify.modifyValue(K,A));D.plotY=void 0;M(K)&&(r=g.translate(K,!1,!0,!1,!0),"undefined"!==typeof r&&(D.plotY=q(r,-1E5,1E5)));D.isInside=this.isPointInside(D);D.clientX=e?B(b.translate(E,0,0,0,1,h)):F;D.negative=D[u]<(a[u+"Threshold"]||p||0);D.category=L(d&&d[D.x],D.x);if(!D.isNull&&!1!==D.visible){"undefined"!==typeof C&&(x=Math.min(x,Math.abs(F-C)));var C=F}D.zone=this.zones.length?D.getZone():void 0;!D.graphic&&this.group&&f&&(D.isNew=!0)}this.closestPointRangePx=x;v(this,"afterTranslate")};
447
+ b.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)})};b.prototype.getClipBox=function(){var a=this.chart,c=this.xAxis,b=this.yAxis,d=R(a.clipBox);c&&c.len!==a.plotSizeX&&(d.width=c.len);b&&b.len!==a.plotSizeY&&(d.height=b.len);return d};b.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||
448
+ 0)};b.prototype.setClip=function(){var a=this.chart,c=this.group,b=this.markerGroup,d=a.sharedClips;a=a.renderer;var f=this.getClipBox(),g=this.getSharedClipKey(),l=d[g];l?l.animate(f):d[g]=l=a.clipRect(f);c&&c.clip(!1===this.options.clip?void 0:l);b&&b.clip()};b.prototype.animate=function(a){var c=this.chart,b=this.group,d=this.markerGroup,f=c.inverted,g=h(this.options.animation),l=[this.getSharedClipKey(),g.duration,g.easing,g.defer].join(),k=c.sharedClips[l],m=c.sharedClips[l+"m"];if(a&&b)g=this.getClipBox(),
449
+ k?k.attr("height",g.height):(g.width=0,f&&(g.x=c.plotHeight),k=c.renderer.clipRect(g),c.sharedClips[l]=k,m=c.renderer.clipRect({x:f?(c.plotSizeX||0)+99:-99,y:f?-c.plotLeft:-c.plotTop,width:99,height:f?c.chartWidth:c.chartHeight}),c.sharedClips[l+"m"]=m),b.clip(k),d&&d.clip(m);else if(k&&!k.hasClass("highcharts-animating")){c=this.getClipBox();var e=g.step;d&&d.element.childNodes.length&&(g.step=function(a,c){e&&e.apply(c,arguments);m&&m.element&&m.attr(c.prop,"width"===c.prop?a+99:a)});k.addClass("highcharts-animating").animate(c,
450
+ g)}};b.prototype.afterAnimate=function(){var a=this;this.setClip();Z(this.chart.sharedClips,function(c,b,d){c&&!a.chart.container.querySelector('[clip-path="url(#'.concat(c.id,')"]'))&&(c.destroy(),delete d[b])});this.finishedAnimating=!0;v(this,"afterAnimate")};b.prototype.drawPoints=function(a){void 0===a&&(a=this.points);var c=this.chart,b=this.options.marker,d=this[this.specialGroup]||this.markerGroup,f=this.xAxis,g=L(b.enabled,!f||f.isRadial?!0:null,this.closestPointRangePx>=b.enabledThreshold*
451
+ b.radius),l,k;if(!1!==b.enabled||this._hasPointMarkers)for(l=0;l<a.length;l++){var h=a[l];var m=(k=h.graphic)?"animate":"attr";var e=h.marker||{};var q=!!h.marker;if((g&&"undefined"===typeof e.enabled||e.enabled)&&!h.isNull&&!1!==h.visible){var p=L(e.symbol,this.symbol,"rect");var v=this.markerAttribs(h,h.selected&&"select");this.enabledDataSorting&&(h.startXPos=f.reversed?-(v.width||0):f.width);var n=!1!==h.isInside;k?k[n?"show":"hide"](n).animate(v):n&&(0<(v.width||0)||h.hasImage)&&(h.graphic=k=
452
+ c.renderer.symbol(p,v.x,v.y,v.width,v.height,q?e:b).add(d),this.enabledDataSorting&&c.hasRendered&&(k.attr({x:h.startXPos}),m="animate"));k&&"animate"===m&&k[n?"show":"hide"](n).animate(v);if(k&&!c.styledMode)k[m](this.pointAttribs(h,h.selected&&"select"));k&&k.addClass(h.getClassName(),!0)}else k&&(h.graphic=k.destroy())}};b.prototype.markerAttribs=function(a,c){var b=this.options,d=b.marker,f=a.marker||{},g=f.symbol||d.symbol,l=L(f.radius,d&&d.radius);c&&(d=d.states[c],c=f.states&&f.states[c],l=
453
+ L(c&&c.radius,d&&d.radius,l&&l+(d&&d.radiusPlus||0)));a.hasImage=g&&0===g.indexOf("url");a.hasImage&&(l=0);a=M(l)?{x:b.crisp?Math.floor(a.plotX-l):a.plotX-l,y:a.plotY-l}:{};l&&(a.width=a.height=2*l);return a};b.prototype.pointAttribs=function(a,c){var b=this.options.marker,d=a&&a.options,f=d&&d.marker||{},g=d&&d.color,l=a&&a.color,k=a&&a.zone&&a.zone.color,h=this.color;a=L(f.lineWidth,b.lineWidth);d=1;h=g||k||l||h;g=f.fillColor||b.fillColor||h;l=f.lineColor||b.lineColor||h;c=c||"normal";b=b.states[c]||
454
+ {};c=f.states&&f.states[c]||{};a=L(c.lineWidth,b.lineWidth,a+L(c.lineWidthPlus,b.lineWidthPlus,0));g=c.fillColor||b.fillColor||g;l=c.lineColor||b.lineColor||l;d=L(c.opacity,b.opacity,d);return{stroke:l,"stroke-width":a,fill:g,opacity:d}};b.prototype.destroy=function(a){var c=this,b=c.chart,d=/AppleWebKit\/533/.test(D.navigator.userAgent),f=c.data||[],g,l,k,h;v(c,"destroy",{keepEventsForUpdate:a});this.removeEvents(a);(c.axisTypes||[]).forEach(function(a){(h=c[a])&&h.series&&(u(h.series,c),h.isDirty=
455
+ h.forceRedraw=!0)});c.legendItem&&c.chart.legend.destroyItem(c);for(l=f.length;l--;)(k=f[l])&&k.destroy&&k.destroy();c.clips&&c.clips.forEach(function(a){return a.destroy()});n.clearTimeout(c.animationTimeout);Z(c,function(a,c){a instanceof r&&!a.survive&&(g=d&&"group"===c?"hide":"destroy",a[g]())});b.hoverSeries===c&&(b.hoverSeries=void 0);u(b.series,c);b.orderSeries();Z(c,function(b,d){a&&"hcEvents"===d||delete c[d]})};b.prototype.applyZones=function(){var a=this,c=this.chart,b=c.renderer,d=this.zones,
456
+ f=this.clips||[],g=this.graph,l=this.area,k=Math.max(c.plotWidth,c.plotHeight),h=this[(this.zoneAxis||"y")+"Axis"],m=c.inverted,e,p,v,n,u,A,F,x,D=!1;if(d.length&&(g||l)&&h&&"undefined"!==typeof h.min){var B=h.reversed;var E=h.horiz;g&&!this.showLine&&g.hide();l&&l.hide();var r=h.getExtremes();d.forEach(function(d,t){e=B?E?c.plotWidth:0:E?0:h.toPixels(r.min)||0;e=q(L(p,e),0,k);p=q(Math.round(h.toPixels(L(d.value,r.max),!0)||0),0,k);D&&(e=p=h.toPixels(r.max));n=Math.abs(e-p);u=Math.min(e,p);A=Math.max(e,
457
+ p);h.isXAxis?(v={x:m?A:u,y:0,width:n,height:k},E||(v.x=c.plotHeight-v.x)):(v={x:0,y:m?A:u,width:k,height:n},E&&(v.y=c.plotWidth-v.y));m&&b.isVML&&(v=h.isXAxis?{x:0,y:B?u:A,height:v.width,width:c.chartWidth}:{x:v.y-c.plotLeft-c.spacingBox.x,y:0,width:v.height,height:c.chartHeight});f[t]?f[t].animate(v):f[t]=b.clipRect(v);F=a["zone-area-"+t];x=a["zone-graph-"+t];g&&x&&x.clip(f[t]);l&&F&&F.clip(f[t]);D=d.value>r.max;a.resetZones&&0===p&&(p=void 0)});this.clips=f}else a.visible&&(g&&g.show(),l&&l.show())};
458
+ b.prototype.plotGroup=function(a,c,b,d,f){var g=this[a],l=!g;b={visibility:b,zIndex:d||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(b.opacity=this.opacity);l&&(this[a]=g=this.chart.renderer.g().add(f));g.addClass("highcharts-"+c+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(m(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(g.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0);g.attr(b)[l?
459
+ "attr":"animate"](this.getPlotBox(c));return g};b.prototype.getPlotBox=function(a){var c=this.xAxis,b=this.yAxis,d=this.chart;a=d.inverted&&!d.polar&&c&&!1!==this.invertible&&("markers"===a||"series"===a);d.inverted&&(c=b,b=this.xAxis);return{translateX:c?c.left:d.plotLeft,translateY:b?b.top:d.plotTop,rotation:a?90:0,rotationOriginX:a?(c.len-b.len)/2:0,rotationOriginY:a?(c.len+b.len)/2:0,scaleX:a?-1:1,scaleY:1}};b.prototype.removeEvents=function(a){a||H(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}),
460
+ this.eventsToUnbind.length=0)};b.prototype.render=function(){var a=this,c=a.chart,b=a.options,d=h(b.animation),f=a.visible?"inherit":"hidden",g=b.zIndex,l=a.hasRendered,k=c.seriesGroup;c=!a.finishedAnimating&&c.renderer.isSVG?d.duration:0;v(this,"render");a.plotGroup("group","series",f,g,k);a.markerGroup=a.plotGroup("markerGroup","markers",f,g,k);!1!==b.clip&&a.setClip();a.animate&&c&&a.animate(!0);a.drawGraph&&(a.drawGraph(),a.applyZones());a.visible&&a.drawPoints();a.drawDataLabels&&a.drawDataLabels();
461
+ a.redrawPoints&&a.redrawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.animate&&c&&a.animate();l||(c&&d.defer&&(c+=d.defer),a.animationTimeout=ba(function(){a.afterAnimate()},c||0));a.isDirty=!1;a.hasRendered=!0;v(a,"afterRender")};b.prototype.redraw=function(){var a=this.isDirty||this.isDirtyData;this.translate();this.render();a&&delete this.kdTree};b.prototype.searchPoint=function(a,c){var b=this.xAxis,d=this.yAxis,f=this.chart.inverted;return this.searchKDTree({clientX:f?
462
+ b.len-a.chartY+b.pos:a.chartX-b.pos,plotY:f?d.len-a.chartX+d.pos:a.chartY-d.pos},c,a)};b.prototype.buildKDTree=function(a){function c(a,d,f){var g=a&&a.length;if(g){var l=b.kdAxisArray[d%f];a.sort(function(a,c){return a[l]-c[l]});g=Math.floor(g/2);return{point:a[g],left:c(a.slice(0,g),d+1,f),right:c(a.slice(g+1),d+1,f)}}}this.buildingKdTree=!0;var b=this,d=-1<b.options.findNearestPointBy.indexOf("y")?2:1;delete b.kdTree;ba(function(){b.kdTree=c(b.getValidPoints(null,!b.directTouch),d,d);b.buildingKdTree=
463
+ !1},b.options.kdNow||a&&"touchstart"===a.type?0:1)};b.prototype.searchKDTree=function(a,c,b){function d(a,c,b,h){var e=c.point,q=f.kdAxisArray[b%h],p=e,v=m(a[g])&&m(e[g])?Math.pow(a[g]-e[g],2):null;var n=m(a[l])&&m(e[l])?Math.pow(a[l]-e[l],2):null;n=(v||0)+(n||0);e.dist=m(n)?Math.sqrt(n):Number.MAX_VALUE;e.distX=m(v)?Math.sqrt(v):Number.MAX_VALUE;q=a[q]-e[q];n=0>q?"left":"right";v=0>q?"right":"left";c[n]&&(n=d(a,c[n],b+1,h),p=n[k]<p[k]?n:e);c[v]&&Math.sqrt(q*q)<p[k]&&(a=d(a,c[v],b+1,h),p=a[k]<p[k]?
464
+ a:p);return p}var f=this,g=this.kdAxisArray[0],l=this.kdAxisArray[1],k=c?"distX":"dist";c=-1<f.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(b);if(this.kdTree)return d(a,this.kdTree,c,c)};b.prototype.pointPlacementToXValue=function(){var a=this.options,c=a.pointRange,b=this.xAxis;a=a.pointPlacement;"between"===a&&(a=b.reversed?-.5:.5);return M(a)?a*(c||b.pointRange):0};b.prototype.isPointInside=function(a){var c=this.chart,b=this.xAxis,d=this.yAxis;
465
+ return"undefined"!==typeof a.plotY&&"undefined"!==typeof a.plotX&&0<=a.plotY&&a.plotY<=(d?d.len:c.plotHeight)&&0<=a.plotX&&a.plotX<=(b?b.len:c.plotWidth)};b.prototype.drawTracker=function(){var a=this,c=a.options,b=c.trackByArea,d=[].concat(b?a.areaPath:a.graphPath),f=a.chart,g=f.pointer,l=f.renderer,h=f.options.tooltip.snap,e=a.tracker,m=function(c){if(f.hoverSeries!==a)a.onMouseOver()},q="rgba(192,192,192,"+(p?.0001:.002)+")";e?e.attr({d:d}):a.graph&&(a.tracker=l.path(d).attr({visibility:a.visible?
466
+ "inherit":"hidden",zIndex:2}).addClass(b?"highcharts-tracker-area":"highcharts-tracker-line").add(a.group),f.styledMode||a.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:q,fill:b?q:"none","stroke-width":a.graph.strokeWidth()+(b?0:2*h)}),[a.tracker,a.markerGroup,a.dataLabelsGroup].forEach(function(a){if(a&&(a.addClass("highcharts-tracker").on("mouseover",m).on("mouseout",function(a){g.onTrackerMouseOut(a)}),c.cursor&&!f.styledMode&&a.css({cursor:c.cursor}),k))a.on("touchstart",
467
+ m)}));v(this,"afterDrawTracker")};b.prototype.addPoint=function(a,c,b,d,f){var g=this.options,l=this.data,k=this.chart,h=this.xAxis;h=h&&h.hasNames&&h.names;var e=g.data,m=this.xData,q;c=L(c,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[a]);var n=p.x;var u=m.length;if(this.requireSorting&&n<m[u-1])for(q=!0;u&&m[u-1]>n;)u--;this.updateParallelArrays(p,"splice",u,0,0);this.updateParallelArrays(p,u);h&&p.name&&(h[n]=p.name);e.splice(u,0,a);if(q||this.processedData)this.data.splice(u,
468
+ 0,null),this.processData();"point"===g.legendType&&this.generatePoints();b&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(p,"shift"),e.shift()));!1!==f&&v(this,"addPoint",{point:p});this.isDirtyData=this.isDirty=!0;c&&k.redraw(d)};b.prototype.removePoint=function(c,b,d){var f=this,g=f.data,l=g[c],k=f.points,h=f.chart,e=function(){k&&k.length===g.length&&k.splice(c,1);g.splice(c,1);f.options.data.splice(c,1);f.updateParallelArrays(l||{series:f},"splice",c,1);l&&l.destroy();
469
+ f.isDirty=!0;f.isDirtyData=!0;b&&h.redraw()};a(d,h);b=L(b,!0);l?l.firePointEvent("remove",null,e):e()};b.prototype.remove=function(a,c,b,d){function f(){g.destroy(d);l.isDirtyLegend=l.isDirtyBox=!0;l.linkSeries();L(a,!0)&&l.redraw(c)}var g=this,l=g.chart;!1!==b?v(g,"remove",null,f):f()};b.prototype.update=function(a,b){a=c(a,this.userOptions);v(this,"update",{options:a});var d=this,f=d.chart,l=d.userOptions,k=d.initialType||d.type,h=f.options.plotOptions,e=A[k].prototype,m=d.finishedAnimating&&{animation:!1},
470
+ q={},p=["eventOptions","navigatorSeries","baseSeries"],n=a.type||l.type||f.options.chart.type,u=!(this.hasDerivedData||n&&n!==this.type||"undefined"!==typeof a.pointStart||"undefined"!==typeof a.pointInterval||"undefined"!==typeof a.relativeXValue||a.joinBy||a.mapData||d.hasOptionChanged("dataGrouping")||d.hasOptionChanged("pointStart")||d.hasOptionChanged("pointInterval")||d.hasOptionChanged("pointIntervalUnit")||d.hasOptionChanged("keys"));n=n||k;u&&(p.push("data","isDirtyData","points","processedData",
471
+ "processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==a.visible&&p.push("area","graph"),d.parallelArrays.forEach(function(a){p.push(a+"Data")}),a.data&&(a.dataSorting&&F(d.options.dataSorting,a.dataSorting),this.setData(a.data,!1)));a=R(l,m,{index:"undefined"===typeof l.index?d.index:l.index,pointStart:L(h&&h.series&&h.series.pointStart,l.pointStart,d.xData[0])},!u&&{data:d.options.data},
472
+ a);u&&a.data&&(a.data=d.options.data);p=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(p);p.forEach(function(a){p[a]=d[a];delete d[a]});h=!1;if(A[n]){if(h=n!==d.type,d.remove(!1,!1,!1,!0),h)if(Object.setPrototypeOf)Object.setPrototypeOf(d,A[n].prototype);else{m=Object.hasOwnProperty.call(d,"hcEvents")&&d.hcEvents;for(x in e)d[x]=void 0;F(d,A[n].prototype);m?d.hcEvents=m:delete d.hcEvents}}else g(17,!0,f,{missingModuleFor:n});p.forEach(function(a){d[a]=p[a]});d.init(f,
473
+ a);if(u&&this.points){a=d.options;if(!1===a.visible)q.graphic=1,q.dataLabel=1;else if(!d._hasPointLabels){e=a.marker;var x=a.dataLabels;!e||!1!==e.enabled&&(l.marker&&l.marker.symbol)===e.symbol||(q.graphic=1);x&&!1===x.enabled&&(q.dataLabel=1)}l=0;for(e=this.points;l<e.length;l++)(x=e[l])&&x.series&&(x.resolveColor(),Object.keys(q).length&&x.destroyElements(q),!1===a.showInLegend&&x.legendItem&&f.legend.destroyItem(x))}d.initialType=k;f.linkSeries();h&&d.linkedSeries.length&&(d.isDirtyData=!0);v(this,
474
+ "afterUpdate");L(b,!0)&&f.redraw(u?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],b=this.chart.options.plotOptions,d=this.userOptions[a];return d?c!==d:c!==L(b&&b[this.type]&&b[this.type][a],b&&b.series&&b.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&&
475
+ v(this,"mouseOver");this.setState("hover");a.hoverSeries=this};b.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&&v(this,"mouseOut");!b||this.stickyTracking||b.shared&&!this.noSharedTooltip||b.hide();c.series.forEach(function(a){a.setState("",!0)})};b.prototype.setState=function(a,c){var b=this,d=b.options,f=b.graph,g=d.inactiveOtherPoints,l=d.states,k=L(l[a||"normal"]&&l[a||"normal"].animation,
476
+ b.chart.options.chart.animation),h=d.lineWidth,e=0,m=d.opacity;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(l[a]&&!1===l[a].enabled)return;a&&(h=l[a].lineWidth||h+(l[a].lineWidthPlus||0),m=L(l[a].opacity,m));if(f&&!f.dashstyle&&M(h))for(d={"stroke-width":h},f.animate(d,k);b["zone-graph-"+e];)b["zone-graph-"+e].animate(d,k),e+=
477
+ 1;g||[b.group,b.markerGroup,b.dataLabelsGroup,b.labelBySeries].forEach(function(a){a&&a.animate({opacity:m},k)})}c&&g&&b.points&&b.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 b=this,d=b.chart,f=d.options.chart.ignoreHiddenSeries,g=b.visible,l=(b.visible=a=b.options.visible=b.userOptions.visible="undefined"===typeof a?!g:a)?"show":"hide";["group","dataLabelsGroup","markerGroup",
478
+ "tracker","tt"].forEach(function(a){if(b[a])b[a][l]()});if(d.hoverSeries===b||(d.hoverPoint&&d.hoverPoint.series)===b)b.onMouseOut();b.legendItem&&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);v(b,l);!1!==c&&d.redraw()};b.prototype.show=function(){this.setVisible(!0)};b.prototype.hide=function(){this.setVisible(!1)};b.prototype.select=
479
+ 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,b){void 0===b&&(b={});b.series=this;b.visiblePlotOnly=!0;return this.chart.isInsidePlot(a,c,b)};b.defaultOptions=G;b.types=t.seriesTypes;b.registerType=t.registerSeriesType;return b}();F(b.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:w.drawLineMarker,
480
+ isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:y,requireSorting:!0,sorted:!0});t.series=b;"";"";return b});H(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/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y){var G=b.stop,t=y.addEvent,r=y.createElement,n=y.defined,h=y.merge,a=y.pick;t(z,"afterSetChartSize",function(a){var b=
481
+ this.options.chart.scrollablePlotArea,f=b&&b.minWidth;b=b&&b.minHeight;if(!this.renderer.forExport){if(f){if(this.scrollablePixelsX=f=Math.max(0,f-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox);this.plotBox.width=this.plotWidth+=f;this.inverted?this.clipBox.height+=f:this.clipBox.width+=f;var p={1:{name:"right",value:f}}}}else b&&(this.scrollablePixelsY=f=Math.max(0,b-this.chartHeight),n(f)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),
482
+ this.plotBox.height=this.plotHeight+=f,this.inverted?this.clipBox.width+=f:this.clipBox.height+=f,p={2:{name:"bottom",value:f}}));p&&!a.skipAxes&&this.axes.forEach(function(a){p[a.side]?a.getPlotLinePath=function(){var b=p[a.side].name,d=this[b];this[b]=d-p[a.side].value;var f=e.prototype.getPlotLinePath.apply(this,arguments);this[b]=d;return f}:(a.setAxisSize(),a.setAxisTranslation())})}});t(z,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),
483
+ this.applyFixed()):this.fixedDiv&&this.applyFixed()});z.prototype.setUpScrolling=function(){var a=this,b={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(b.overflowX="auto");this.scrollablePixelsY&&(b.overflowY="auto");this.scrollingParent=r("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=r("div",{className:"highcharts-scrolling"},b,this.scrollingParent);var k;t(this.scrollingContainer,"scroll",
484
+ function(){a.pointer&&(delete a.pointer.chartPosition,a.hoverPoint&&(k=a.hoverPoint),a.pointer.runPointActions(void 0,k,!0))});this.innerContainer=r("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};z.prototype.moveFixedElements=function(){var a=this.container,b=this.fixedRenderer,k=".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(" "),
485
+ 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&&k.push(""+h+":not(.highcharts-radial-axis)",""+h+"-labels:not(.highcharts-radial-axis-labels)");k.forEach(function(d){[].forEach.call(a.querySelectorAll(d),function(a){(a.namespaceURI===b.SVG_NS?b.box:b.box.parentNode).appendChild(a);a.style.pointerEvents=
486
+ "auto"})})};z.prototype.applyFixed=function(){var b=!this.fixedDiv,d=this.options.chart,k=d.scrollablePlotArea,h=w.getRendererType();b?(this.fixedDiv=r("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(this.fixedDiv,this.chartWidth,
487
+ this.chartHeight,this.options.chart.style),this.scrollableMask=d.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":a(k.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),t(this,"afterShowResetZoom",this.moveFixedElements),t(this,"afterApplyDrilldown",this.moveFixedElements),t(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);if(this.scrollableDirty||b)this.scrollableDirty=!1,this.moveFixedElements();
488
+ d=this.chartWidth+(this.scrollablePixelsX||0);h=this.chartHeight+(this.scrollablePixelsY||0);G(this.container);this.container.style.width=d+"px";this.container.style.height=h+"px";this.renderer.boxWrapper.attr({width:d,height:h,viewBox:[0,0,d,h].join(" ")});this.chartBackground.attr({width:d,height:h});this.scrollingContainer.style.height=this.chartHeight+"px";b&&(k.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*k.scrollPositionX),k.scrollPositionY&&(this.scrollingContainer.scrollTop=
489
+ this.scrollablePixelsY*k.scrollPositionY));h=this.axisOffset;b=this.plotTop-h[0]-1;k=this.plotLeft-h[3]-1;d=this.plotTop+this.plotHeight+h[2]+1;h=this.plotLeft+this.plotWidth+h[1]+1;var e=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),n=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",e,b],["L",this.chartWidth,b],["L",this.chartWidth,d],["L",e,d],["Z"]]:this.scrollablePixelsY?
490
+ [["M",k,0],["L",k,this.plotTop-1],["L",h,this.plotTop-1],["L",h,0],["Z"],["M",k,n],["L",k,this.chartHeight],["L",h,this.chartHeight],["L",h,n],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:b})};t(e,"afterInit",function(){this.chart.scrollableDirty=!0});t(C,"show",function(){this.chart.scrollableDirty=!0});""});H(e,"Core/Axis/Stacking/StackItem.js",[e["Core/FormatUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z){var C=b.format,
491
+ w=e.series,y=z.defined,G=z.destroyObjectProperties,t=z.isNumber,r=z.pick;b=function(){function b(b,a,f,d,k){var h=b.chart.inverted;this.axis=b;this.isNegative=f;this.options=a=a||{};this.x=d;this.cumulative=this.total=null;this.points={};this.hasValidPoints=!1;this.stack=k;this.rightCliff=this.leftCliff=0;this.alignOptions={align:a.align||(h?f?"left":"right":"center"),verticalAlign:a.verticalAlign||(h?"middle":f?"bottom":"top"),y:a.y,x:a.x};this.textAlign=a.textAlign||(h?f?"right":"left":"center")}
492
+ b.prototype.destroy=function(){G(this,this.axis)};b.prototype.render=function(b){var a=this.axis.chart,f=this.options,d=f.format;d=d?C(d,this,a):f.formatter.call(this);this.label?this.label.attr({text:d,visibility:"hidden"}):(this.label=a.renderer.label(d,null,null,f.shape,null,null,f.useHTML,!1,"stack-labels"),d={r:f.borderRadius||0,text:d,rotation:f.rotation,padding:r(f.padding,5),visibility:"hidden"},a.styledMode||(d.fill=f.backgroundColor,d.stroke=f.borderColor,d["stroke-width"]=f.borderWidth,
493
+ this.label.css(f.style)),this.label.attr(d),this.label.added||this.label.add(b));this.label.labelrank=a.plotSizeY};b.prototype.setOffset=function(b,a,f,d,k){var h=this.axis,e=h.chart;d=h.translate(h.stacking.usePercentage?100:d?d:this.total,0,0,0,1);f=h.translate(f?f:0);b=r(k,e.xAxis[0].translate(this.x))+b;h=y(d)&&this.getStackBox(e,this,b,d,a,Math.abs(d-f),h);a=this.label;f=this.isNegative;var n=this.textAlign;a&&h&&(b=a.getBBox(),k=a.padding,d="justify"===r(this.options.overflow,"justify"),n="left"===
494
+ n?e.inverted?-k:k:"right"===n?b.width:e.inverted&&"center"===n?b.width/2:e.inverted?f?b.width+k:-k:b.width/2,f=e.inverted?b.height/2:f?-k:b.height,this.alignOptions.x=r(this.options.x,0),this.alignOptions.y=r(this.options.y,0),h.x-=n,h.y-=f,a.align(this.alignOptions,null,h),e.isInsidePlot(a.alignAttr.x+n-this.alignOptions.x,a.alignAttr.y+f-this.alignOptions.y)?a.show():(a.hide(),d=!1),d&&w.prototype.justifyDataLabel.call(this.axis,a,this.alignOptions,a.alignAttr,b,h),a.attr({x:a.alignAttr.x,y:a.alignAttr.y}),
495
+ r(!d&&this.options.crop,!0)&&((e=t(a.x)&&t(a.y)&&e.isInsidePlot(a.x-k+a.width,a.y)&&e.isInsidePlot(a.x+k,a.y))||a.hide()))};b.prototype.getStackBox=function(b,a,f,d,k,e,n){var h=a.axis.reversed,p=b.inverted,D=n.height+n.pos-(p?b.plotLeft:b.plotTop);a=a.isNegative&&!h||!a.isNegative&&h;return{x:p?a?d-n.right:d-e+n.pos-b.plotLeft:f+b.xAxis[0].transB-b.plotLeft,y:p?n.height-f-k:a?D-d-e:D-d,width:p?e:k,height:p?k:e}};return b}();"";return b});H(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],
496
+ e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(b,e,z,C,w){function y(){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(b){var d=b.xAxis&&b.xAxis.options||{};!b.options.stacking||!0!==b.visible&&!1!==a.options.chart.ignoreHiddenSeries||(b.stackKey=[b.type,m(b.options.stack,""),c?d.top:d.left,c?d.height:
497
+ d.width].join())})}function G(){var a=this.stacking;if(a){var c=a.stacks;B(c,function(a,b){x(a);c[b]=null});a&&a.stackTotalGroup&&a.stackTotalGroup.destroy()}}function t(){this.stacking||(this.stacking=new u(this))}function r(a,c,b,d){!A(a)||a.x!==c||d&&a.stackKey!==d?a={x:c,index:0,key:d,stackKey:d}:a.index++;a.key=[b,c,a.index].join();return a}function n(){var a=this,c=a.stackKey,b=a.yAxis.stacking.stacks,d=a.processedXData,f=a[a.options.stacking+"Stacker"],g;f&&[c,"-"+c].forEach(function(c){for(var l=
498
+ d.length,k,h;l--;)k=d[l],g=a.getStackIndicator(g,k,a.index,c),(h=(k=b[c]&&b[c][k])&&k.points[g.key])&&f.call(a,h,k,l)})}function h(a,c,b){c=c.total?100/c.total:0;a[0]=D(a[0]*c);a[1]=D(a[1]*c);this.stackedYData[b]=a[1]}function a(){var a=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?k.setStackedPoints.call(this,"group"):a&&B(a.stacks,function(c,b){"group"===b.slice(-5)&&(B(c,function(a){return a.destroy()}),
499
+ delete a.stacks[b])})}function f(a){var c=this.chart,b=a||this.options.stacking;if(b&&(!0===this.visible||!1===c.options.chart.ignoreHiddenSeries)){var d=this.processedXData,f=this.processedYData,g=[],k=f.length,h=this.options,e=h.threshold,p=m(h.startFromThreshold&&e,0);h=h.stack;a=a?""+this.type+",".concat(b):this.stackKey;var n="-"+a,u=this.negStacks;c="group"===b?c.yAxis[0]:this.yAxis;var x=c.stacking.stacks,B=c.stacking.oldStacks,F,E;c.stacking.stacksTouched+=1;for(E=0;E<k;E++){var r=d[E];var t=
500
+ f[E];var y=this.getStackIndicator(y,r,this.index);var z=y.key;var w=(F=u&&t<(p?0:e))?n:a;x[w]||(x[w]={});x[w][r]||(B[w]&&B[w][r]?(x[w][r]=B[w][r],x[w][r].total=null):x[w][r]=new C(c,c.options.stackLabels,!!F,r,h));w=x[w][r];null!==t?(w.points[z]=w.points[this.index]=[m(w.cumulative,p)],A(w.cumulative)||(w.base=z),w.touched=c.stacking.stacksTouched,0<y.index&&!1===this.singleStacks&&(w.points[z][0]=w.points[this.index+","+r+",0"][0])):w.points[z]=w.points[this.index]=null;"percent"===b?(F=F?a:n,u&&
501
+ x[F]&&x[F][r]?(F=x[F][r],w.total=F.total=Math.max(F.total,w.total)+Math.abs(t)||0):w.total=D(w.total+(Math.abs(t)||0))):"group"===b?(q(t)&&(t=t[0]),null!==t&&(w.total=(w.total||0)+1)):w.total=D(w.total+(t||0));w.cumulative="group"===b?(w.total||1)-1:m(w.cumulative,p)+(t||0);null!==t&&(w.points[z].push(w.cumulative),g[E]=w.cumulative,w.hasValidPoints=!0)}"percent"===b&&(c.stacking.usePercentage=!0);"group"!==b&&(this.stackedYData=g);c.stacking.oldStacks={}}}var d=b.getDeferredAnimation,k=z.series.prototype,
502
+ p=w.addEvent,D=w.correctFloat,A=w.defined,x=w.destroyObjectProperties,E=w.fireEvent,q=w.isArray,c=w.isNumber,B=w.objectEach,m=w.pick,u=function(){function a(a){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=a}a.prototype.buildStacks=function(){var a=this.axis,c=a.series,b=a.options.reversedStacks,d=c.length,f;if(!a.isXAxis){this.usePercentage=!1;for(f=d;f--;){var g=c[b?f:d-f-1];g.setStackedPoints();g.setGroupedPoints()}for(f=0;f<d;f++)c[f].modifyStacks();E(a,"afterBuildStacks")}};
503
+ a.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var a=this.stacks=this.oldStacks;B(a,function(a){B(a,function(a){a.cumulative=a.total})})}};a.prototype.resetStacks=function(){var a=this,b=a.stacks;a.axis.isXAxis||B(b,function(b){B(b,function(d,f){c(d.touched)&&d.touched<a.stacksTouched?(d.destroy(),delete b[f]):(d.total=null,d.cumulative=null)})})};a.prototype.renderStackTotals=function(){var a=this.axis,c=a.chart,b=c.renderer,f=this.stacks;a=d(c,a.options.stackLabels&&
504
+ a.options.stackLabels.animation||!1);var g=this.stackTotalGroup=this.stackTotalGroup||b.g("stack-labels").attr({zIndex:6,opacity:0}).add();g.translate(c.plotLeft,c.plotTop);B(f,function(a){B(a,function(a){a.render(g)})});g.animate({opacity:1},a)};return a}(),g;(function(c){var b=[];c.compose=function(c,d,g){-1===b.indexOf(c)&&(b.push(c),p(c,"init",t),p(c,"destroy",G));-1===b.indexOf(d)&&(b.push(d),d.prototype.getStacks=y);-1===b.indexOf(g)&&(b.push(g),c=g.prototype,c.getStackIndicator=r,c.modifyStacks=
505
+ n,c.percentStacker=h,c.setGroupedPoints=a,c.setStackedPoints=f)}})(g||(g={}));return g});H(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z){var C=this&&this.__extends||function(){var b=function(e,r){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,h){b.__proto__=h}||function(b,h){for(var a in h)h.hasOwnProperty(a)&&(b[a]=h[a])};return b(e,r)};return function(e,r){function n(){this.constructor=e}
506
+ b(e,r);e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),w=z.defined,y=z.merge;z=function(e){function t(){var b=null!==e&&e.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}C(t,e);t.prototype.drawGraph=function(){var b=this,e=this.options,h=(this.gappedPath||this.getGraphPath).call(this),a=this.chart.styledMode,f=[["graph","highcharts-graph"]];a||f[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle);f=b.getZonesGraphs(f);f.forEach(function(d,
507
+ f){var k=d[0],n=b[k],A=n?"animate":"attr";n?(n.endX=b.preventGraphAnimation?null:h.xMap,n.animate({d:h})):h.length&&(b[k]=n=b.chart.renderer.path(h).addClass(d[1]).attr({zIndex:1}).add(b.group));n&&!a&&(k={stroke:d[2],"stroke-width":e.lineWidth||0,fill:b.fillGraph&&b.color||"none"},d[3]?k.dashstyle=d[3]:"square"!==e.linecap&&(k["stroke-linecap"]=k["stroke-linejoin"]="round"),n[A](k).shadow(2>f&&e.shadow));n&&(n.startX=h.xMap,n.isArea=h.isArea)})};t.prototype.getGraphPath=function(b,e,h){var a=this,
508
+ f=a.options,d=[],k=[],p,n=f.step;b=b||a.points;var A=b.reversed;A&&b.reverse();(n={right:1,center:2}[n]||n&&3)&&A&&(n=4-n);b=this.getValidPoints(b,!1,!(f.connectNulls&&!e&&!h));b.forEach(function(x,A){var q=x.plotX,c=x.plotY,B=b[A-1];(x.leftCliff||B&&B.rightCliff)&&!h&&(p=!0);x.isNull&&!w(e)&&0<A?p=!f.connectNulls:x.isNull&&!e?p=!0:(0===A||p?A=[["M",x.plotX,x.plotY]]:a.getPointSpline?A=[a.getPointSpline(b,x,A)]:n?(A=1===n?[["L",B.plotX,c]]:2===n?[["L",(B.plotX+q)/2,B.plotY],["L",(B.plotX+q)/2,c]]:
509
+ [["L",q,B.plotY]],A.push(["L",q,c])):A=[["L",q,c]],k.push(x.x),n&&(k.push(x.x),2===n&&k.push(x.x)),d.push.apply(d,A),p=!1)});d.xMap=k;return a.graphPath=d};t.prototype.getZonesGraphs=function(b){this.zones.forEach(function(e,h){h=["zone-graph-"+h,"highcharts-graph highcharts-zone-graph-"+h+" "+(e.className||"")];this.chart.styledMode||h.push(e.color||this.color,e.dashStyle||this.options.dashStyle);b.push(h)},this);return b};t.defaultOptions=y(b.defaultOptions,{});return t}(b);e.registerSeriesType("line",
510
+ z);"";return z});H(e,"Series/Area/AreaSeries.js",[e["Core/Color/Color.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z,C){var w=this&&this.__extends||function(){var b=function(a,f){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(a,f)};return function(a,f){function d(){this.constructor=a}b(a,f);a.prototype=null===f?Object.create(f):
511
+ (d.prototype=f.prototype,new d)}}(),y=b.parse,G=z.seriesTypes.line;b=C.extend;var t=C.merge,r=C.objectEach,n=C.pick;C=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}w(a,b);a.prototype.drawGraph=function(){this.areaPath=[];b.prototype.drawGraph.apply(this);var a=this,d=this.areaPath,k=this.options,h=[["area","highcharts-area",this.color,k.fillColor]];this.zones.forEach(function(b,d){h.push(["zone-area-"+d,"highcharts-area highcharts-zone-area-"+
512
+ d+" "+b.className,b.color||a.color,b.fillColor||k.fillColor])});h.forEach(function(b){var f=b[0],h={},e=a[f],q=e?"animate":"attr";e?(e.endX=a.preventGraphAnimation?null:d.xMap,e.animate({d:d})):(h.zIndex=0,e=a[f]=a.chart.renderer.path(d).addClass(b[1]).add(a.group),e.isArea=!0);a.chart.styledMode||(h.fill=n(b[3],y(b[2]).setOpacity(n(k.fillOpacity,.75)).get()));e[q](h);e.startX=d.xMap;e.shiftUnit=k.step?2:1})};a.prototype.getGraphPath=function(a){var b=G.prototype.getGraphPath,f=this.options,h=f.stacking,
513
+ e=this.yAxis,A=[],x=[],E=this.index,q=e.stacking.stacks[this.stackKey],c=f.threshold,B=Math.round(e.getThreshold(f.threshold));f=n(f.connectNulls,"percent"===h);var m=function(b,d,f){var g=a[b];b=h&&q[g.x].points[E];var k=g[f+"Null"]||0;f=g[f+"Cliff"]||0;g=!0;if(f||k){var m=(k?b[0]:b[1])+f;var p=b[0]+f;g=!!k}else!h&&a[d]&&a[d].isNull&&(m=p=c);"undefined"!==typeof m&&(x.push({plotX:l,plotY:null===m?B:e.getThreshold(m),isNull:g,isCliff:!0}),A.push({plotX:l,plotY:null===p?B:e.getThreshold(p),doCurve:!1}))};
514
+ a=a||this.points;h&&(a=this.getStackPoints(a));for(var u=0,g=a.length;u<g;++u){h||(a[u].leftCliff=a[u].rightCliff=a[u].leftNull=a[u].rightNull=void 0);var F=a[u].isNull;var l=n(a[u].rectPlotX,a[u].plotX);var v=h?n(a[u].yBottom,B):B;if(!F||f)f||m(u,u-1,"left"),F&&!h&&f||(x.push(a[u]),A.push({x:u,plotX:l,plotY:v})),f||m(u,u+1,"right")}m=b.call(this,x,!0,!0);A.reversed=!0;F=b.call(this,A,!0,!0);(v=F[0])&&"M"===v[0]&&(F[0]=["L",v[1],v[2]]);F=m.concat(F);F.length&&F.push(["Z"]);b=b.call(this,x,!1,f);F.xMap=
515
+ m.xMap;this.areaPath=F;return b};a.prototype.getStackPoints=function(a){var b=this,f=[],h=[],e=this.xAxis,A=this.yAxis,x=A.stacking.stacks[this.stackKey],E={},q=A.series,c=q.length,B=A.options.reversedStacks?1:-1,m=q.indexOf(b);a=a||this.points;if(this.options.stacking){for(var u=0;u<a.length;u++)a[u].leftNull=a[u].rightNull=void 0,E[a[u].x]=a[u];r(x,function(a,c){null!==a.total&&h.push(c)});h.sort(function(a,c){return a-c});var g=q.map(function(a){return a.visible});h.forEach(function(a,d){var l=
516
+ 0,k,p;if(E[a]&&!E[a].isNull)f.push(E[a]),[-1,1].forEach(function(f){var l=1===f?"rightNull":"leftNull",e=x[h[d+f]],n=0;if(e)for(var u=m;0<=u&&u<c;){var v=q[u].index;k=e.points[v];k||(v===b.index?E[a][l]=!0:g[u]&&(p=x[a].points[v])&&(n-=p[1]-p[0]));u+=B}E[a][1===f?"rightCliff":"leftCliff"]=n});else{for(var u=m;0<=u&&u<c;){if(k=x[a].points[q[u].index]){l=k[1];break}u+=B}l=n(l,0);l=A.translate(l,0,1,0,1);f.push({isNull:!0,plotX:e.translate(a,0,0,0,1),x:a,plotY:l,yBottom:l})}})}return f};a.defaultOptions=
517
+ t(G.defaultOptions,{threshold:0});return a}(G);b(C.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle});z.registerSeriesType("area",C);"";return C});H(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var z=this&&this.__extends||function(){var b=function(e,r){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,h){b.__proto__=h}||function(b,h){for(var a in h)h.hasOwnProperty(a)&&(b[a]=h[a])};return b(e,r)};return function(e,
518
+ r){function n(){this.constructor=e}b(e,r);e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),C=b.seriesTypes.line,w=e.merge,y=e.pick;e=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}z(e,b);e.prototype.getPointSpline=function(b,e,h){var a=e.plotX||0,f=e.plotY||0,d=b[h-1];h=b[h+1];if(d&&!d.isNull&&!1!==d.doCurve&&!e.isCliff&&h&&!h.isNull&&!1!==h.doCurve&&!e.isCliff){b=d.plotY||0;var k=h.plotX||0;h=
519
+ h.plotY||0;var p=0;var n=(1.5*a+(d.plotX||0))/2.5;var A=(1.5*f+b)/2.5;k=(1.5*a+k)/2.5;var x=(1.5*f+h)/2.5;k!==n&&(p=(x-A)*(k-a)/(k-n)+f-x);A+=p;x+=p;A>b&&A>f?(A=Math.max(b,f),x=2*f-A):A<b&&A<f&&(A=Math.min(b,f),x=2*f-A);x>h&&x>f?(x=Math.max(h,f),A=2*f-x):x<h&&x<f&&(x=Math.min(h,f),A=2*f-x);e.rightContX=k;e.rightContY=x}e=["C",y(d.rightContX,d.plotX,0),y(d.rightContY,d.plotY,0),y(n,a,0),y(A,f,0),a,f];d.rightContX=d.rightContY=void 0;return e};e.defaultOptions=w(C.defaultOptions);return e}(C);b.registerSeriesType("spline",
520
+ e);"";return e});H(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z,C){var w=this&&this.__extends||function(){var b=function(h,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(h,a)};return function(h,a){function f(){this.constructor=h}b(h,a);h.prototype=
521
+ null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),y=z.seriesTypes,G=y.area;y=y.area.prototype;var t=C.extend,r=C.merge;C=function(e){function h(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.points=void 0;a.options=void 0;return a}w(h,e);h.defaultOptions=r(b.defaultOptions,G.defaultOptions);return h}(b);t(C.prototype,{getGraphPath:y.getGraphPath,getStackPoints:y.getStackPoints,drawGraph:y.drawGraph,drawLegendSymbol:e.drawRectangle});z.registerSeriesType("areaspline",C);
522
+ "";return C});H(e,"Series/Column/ColumnSeriesDefaults.js",[],function(){"";return{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}});H(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],
523
+ e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y,G,t){var r=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=
524
+ c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),n=b.animObject,h=e.parse,a=C.hasTouch;b=C.noop;var f=t.clamp,d=t.defined,k=t.extend,p=t.fireEvent,D=t.isArray,A=t.isNumber,x=t.merge,E=t.pick,q=t.objectEach;t=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}r(b,c);b.prototype.animate=function(a){var c=this,b=this.yAxis,d=c.options,l=this.chart.inverted,
525
+ h={},e=l?"translateX":"translateY";if(a)h.scaleY=.001,a=f(b.toPixels(d.threshold),b.pos,b.pos+b.len),l?h.translateX=a-b.len:h.translateY=a,c.clipBox&&c.setClip(),c.group.attr(h);else{var m=Number(c.group.attr(e));c.group.animate({scaleY:1},k(n(c.options.animation),{step:function(a,d){c.group&&(h[e]=m+d.pos*(b.pos-m),c.group.attr(h))}}))}};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=
526
+ !0)})};b.prototype.getColumnMetrics=function(){var a=this,c=a.options,b=a.xAxis,d=a.yAxis,f=b.options.reversedStacks;f=b.reversed&&!f||!b.reversed&&f;var k={},h,e=0;!1===c.grouping?e=1:a.chart.series.forEach(function(c){var b=c.yAxis,f=c.options;if(c.type===a.type&&(c.visible||!a.chart.options.chart.ignoreHiddenSeries)&&d.len===b.len&&d.pos===b.pos){if(f.stacking&&"group"!==f.stacking){h=c.stackKey;"undefined"===typeof k[h]&&(k[h]=e++);var g=k[h]}else!1!==f.grouping&&(g=e++);c.columnIndex=g}});var q=
527
+ Math.min(Math.abs(b.transA)*(b.ordinal&&b.ordinal.slope||c.pointRange||b.closestPointRange||b.tickInterval||1),b.len),p=q*c.groupPadding,n=(q-2*p)/(e||1);c=Math.min(c.maxPointWidth||b.len,E(c.pointWidth,n*(1-2*c.pointPadding)));a.columnMetrics={width:c,offset:(n-c)/2+(p+((a.columnIndex||0)+(f?1:0))*n-q/2)*(f?-1:1),paddedWidth:n,columnCount:e};return a.columnMetrics};b.prototype.crispCol=function(a,c,b,d){var f=this.chart,g=this.borderWidth,k=-(g%2?.5:0);g=g%2?.5:1;f.inverted&&f.renderer.isVML&&(g+=
528
+ 1);this.options.crisp&&(b=Math.round(a+b)+k,a=Math.round(a)+k,b-=a);d=Math.round(c+d)+g;k=.5>=Math.abs(c)&&.5<d;c=Math.round(c)+g;d-=c;k&&d&&(--c,d+=1);return{x:a,y:c,width:b,height:d}};b.prototype.adjustForMissingColumns=function(a,c,b,d){var f=this,g=this.options.stacking;if(!b.isNull&&1<d.columnCount){var k=this.yAxis.options.reversedStacks,h=0,e=k?0:-d.columnCount;q(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(a){if("number"===typeof b.x){var c=a[b.x.toString()];c&&(a=c.points[f.index],
529
+ g?(a&&(h=e),c.hasValidPoints&&(k?e++:e--)):D(a)&&(a=Object.keys(c.points).filter(function(a){return!a.match(",")&&c.points[a]&&1<c.points[a].length}).map(parseFloat).sort(function(a,c){return c-a}),h=a.indexOf(f.index),e=a.length))}});a=(b.plotX||0)+((e-1)*d.paddedWidth+c)/2-c-h*d.paddedWidth}return a};b.prototype.translate=function(){var a=this,c=a.chart,b=a.options,k=a.dense=2>a.closestPointRange*a.xAxis.transA;k=a.borderWidth=E(b.borderWidth,k?0:1);var l=a.xAxis,h=a.yAxis,e=b.threshold,q=a.translatedThreshold=
530
+ h.getThreshold(e),p=E(b.minPointLength,5),n=a.getColumnMetrics(),x=n.width,B=a.pointXOffset=n.offset,D=a.dataMin,r=a.dataMax,t=a.barW=Math.max(x,1+2*k);c.inverted&&(q-=.5);b.pointPadding&&(t=Math.ceil(t));y.prototype.translate.apply(a);a.points.forEach(function(g){var k=E(g.yBottom,q),m=999+Math.abs(k),u=g.plotX||0;m=f(g.plotY,-m,h.len+m);var v=Math.min(m,k),F=Math.max(m,k)-v,y=x,w=u+B,z=t;p&&Math.abs(F)<p&&(F=p,u=!h.reversed&&!g.negative||h.reversed&&g.negative,A(e)&&A(r)&&g.y===e&&r<=e&&(h.min||
531
+ 0)<e&&(D!==r||(h.max||0)<=e)&&(u=!u),v=Math.abs(v-q)>p?k-p:q-(u?p:0));d(g.options.pointWidth)&&(y=z=Math.ceil(g.options.pointWidth),w-=Math.round((y-x)/2));b.centerInCategory&&(w=a.adjustForMissingColumns(w,y,g,n));g.barX=w;g.pointWidth=y;g.tooltipPos=c.inverted?[f(h.len+h.pos-c.plotLeft-m,h.pos-c.plotLeft,h.len+h.pos-c.plotLeft),l.len+l.pos-c.plotTop-w-z/2,F]:[l.left-c.plotLeft+w+z/2,f(m+h.pos-c.plotTop,h.pos-c.plotTop,h.len+h.pos-c.plotTop),F];g.shapeType=a.pointClass.prototype.shapeType||"rect";
532
+ g.shapeArgs=a.crispCol.apply(a,g.isNull?[w,q,z,0]:[w,v,z,F])})};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||{},f=d.stroke||"borderColor",k=d["stroke-width"]||"borderWidth",e=a&&a.color||this.color,m=a&&a[f]||b[f]||e;d=a&&a.options.dashStyle||b.dashStyle;var q=a&&a[k]||b[k]||this[k]||0,p=E(a&&a.opacity,b.opacity,1);if(a&&this.zones.length){var n=a.getZone();
533
+ e=a.options.color||n&&(n.color||a.nonZonedColor)||this.color;n&&(m=n.borderColor||m,d=n.dashStyle||d,q=n.borderWidth||q)}c&&a&&(a=x(b.states[c],a.options.states&&a.options.states[c]||{}),c=a.brightness,e=a.color||"undefined"!==typeof c&&h(e).brighten(a.brightness).get()||e,m=a[f]||m,q=a[k]||q,d=a.dashStyle||d,p=E(a.opacity,p));f={fill:e,stroke:m,"stroke-width":q,opacity:p};d&&(f.dashstyle=d);return f};b.prototype.drawPoints=function(a){void 0===a&&(a=this.points);var c=this,b=this.chart,d=c.options,
534
+ f=b.renderer,k=d.animationLimit||250,h;a.forEach(function(a){var g=a.graphic,l=!!g,e=g&&b.pointCount<k?"animate":"attr";if(A(a.plotY)&&null!==a.y){h=a.shapeArgs;g&&a.hasNewShapeType()&&(g=g.destroy());c.enabledDataSorting&&(a.startXPos=c.xAxis.reversed?-(h?h.width||0:0):c.xAxis.width);g||(a.graphic=g=f[a.shapeType](h).add(a.group||c.group))&&c.enabledDataSorting&&b.hasRendered&&b.pointCount<k&&(g.attr({x:a.startXPos}),l=!0,e="animate");if(g&&l)g[e](x(h));if(d.borderRadius)g[e]({r:d.borderRadius});
535
+ b.styledMode||g[e](c.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&d.shadow,null,d.stacking&&!d.borderRadius);g&&(g.addClass(a.getClassName(),!0),g.attr({visibility:a.visible?"inherit":"hidden"}))}else g&&(a.graphic=g.destroy())})};b.prototype.drawTracker=function(c){void 0===c&&(c=this.points);var b=this,d=b.chart,f=d.pointer,l=function(a){var c=f.getPointFromEvent(a);"undefined"!==typeof c&&(f.isDirectTouch=!0,c.onMouseOver(a))},k;c.forEach(function(a){k=D(a.dataLabels)?a.dataLabels:
536
+ 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})});b._hasTracking||(b.trackerGroups.forEach(function(c){if(b[c]){b[c].addClass("highcharts-tracker").on("mouseover",l).on("mouseout",function(a){f.onTrackerMouseOut(a)});if(a)b[c].on("touchstart",l);!d.styledMode&&b.options.cursor&&b[c].css({cursor:b.options.cursor})}}),b._hasTracking=!0);p(this,"afterDrawTracker")};b.prototype.remove=function(){var a=this,c=a.chart;c.hasRendered&&
537
+ c.series.forEach(function(c){c.type===a.type&&(c.isDirty=!0)});y.prototype.remove.apply(a,arguments)};b.defaultOptions=x(y.defaultOptions,z);return b}(y);k(t.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:w.drawRectangle,getSymbol:b,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]});G.registerSeriesType("column",t);"";return t});H(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Utilities.js"]],function(b,e,z){var C=b.getDeferredAnimation,
538
+ w=e.format,y=z.defined,G=z.extend,t=z.fireEvent,r=z.isArray,n=z.isString,h=z.merge,a=z.objectEach,f=z.pick,d=z.splat,k;(function(b){function k(a,c,b,d,l){var g=this,k=this.chart,h=this.isCartesian&&k.inverted,e=this.enabledDataSorting,m=a.plotX,q=a.plotY,p=b.rotation,n=b.align,u=y(m)&&y(q)&&k.isInsidePlot(m,Math.round(q),{inverted:h,paneCoordinates:!0,series:g}),x=function(b){e&&g.xAxis&&!A&&g.setDataLabelStartPos(a,c,l,u,b)},A="justify"===f(b.overflow,e?"none":"justify"),B=this.visible&&!1!==a.visible&&
539
+ y(m)&&(a.series.forceDL||e&&!A||u||f(b.inside,!!this.options.stacking)&&d&&k.isInsidePlot(m,h?d.x+1:d.y+d.height-1,{inverted:h,paneCoordinates:!0,series:g}));if(B&&y(m)&&y(q)){p&&c.attr({align:n});n=c.getBBox(!0);var E=[0,0];var D=k.renderer.fontMetrics(k.styledMode?void 0:b.style.fontSize,c).b;d=G({x:h?this.yAxis.len-q:m,y:Math.round(h?this.xAxis.len-m:q),width:0,height:0},d);G(b,{width:n.width,height:n.height});p?(A=!1,E=k.renderer.rotCorr(D,p),D={x:d.x+(b.x||0)+d.width/2+E.x,y:d.y+(b.y||0)+{top:0,
540
+ middle:.5,bottom:1}[b.verticalAlign]*d.height},E=[n.x-Number(c.attr("x")),n.y-Number(c.attr("y"))],x(D),c[l?"attr":"animate"](D)):(x(d),c.align(b,void 0,d),D=c.alignAttr);A&&0<=d.height?this.justifyDataLabel(c,b,D,n,d,l):f(b.crop,!0)&&(d=D.x,x=D.y,d+=E[0],x+=E[1],B=k.isInsidePlot(d,x,{paneCoordinates:!0,series:g})&&k.isInsidePlot(d+n.width,x+n.height,{paneCoordinates:!0,series:g}));if(b.shape&&!p)c[l?"attr":"animate"]({anchorX:h?k.plotWidth-q:m,anchorY:h?k.plotHeight-m:q})}l&&e&&(c.placed=!1);B||
541
+ e&&!A?c.show():(c.hide(),c.placed=!1)}function e(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 p(c){void 0===c&&(c=this.points);var b=this,g=b.chart,k=b.options,l=b.hasRendered||0,h=g.renderer,m=g.options.chart,p=m.backgroundColor;m=m.plotBackgroundColor;var x=h.getContrast(n(m)&&m||n(p)&&p||"#000000"),A=k.dataLabels,B;p=A.animation;p=A.defer?C(g,p,b):{defer:0,duration:0};
542
+ A=q(q(g.options.plotOptions&&g.options.plotOptions.series&&g.options.plotOptions.series.dataLabels,g.options.plotOptions&&g.options.plotOptions[b.type]&&g.options.plotOptions[b.type].dataLabels),A);t(this,"drawDataLabels");if(r(A)||A.enabled||b._hasPointLabels){var E=b.plotGroup("dataLabelsGroup","data-labels",l?"inherit":"hidden",A.zIndex||6);E.attr({opacity:+l});!l&&(l=b.dataLabelsGroup)&&(b.visible&&E.show(),l[k.animation?"animate":"attr"]({opacity:1},p));c.forEach(function(c){B=d(q(A,c.dlOptions||
543
+ c.options&&c.options.dataLabels));B.forEach(function(d,l){var m=d.enabled&&(!c.isNull||c.dataLabelOnNull)&&e(c,d),q=c.connectors?c.connectors[l]:c.connector,p=c.dataLabels?c.dataLabels[l]:c.dataLabel,n=!p,v=f(d.distance,c.labelDistance);if(m){var u=c.getLabelConfig();var A=f(d[c.formatPrefix+"Format"],d.format);u=y(A)?w(A,u,g):(d[c.formatPrefix+"Formatter"]||d.formatter).call(u,d);A=d.style;var B=d.rotation;g.styledMode||(A.color=f(d.color,A.color,b.color,"#000000"),"contrast"===A.color?(c.contrastColor=
544
+ h.getContrast(c.color||b.color),A.color=!y(v)&&d.inside||0>v||k.stacking?c.contrastColor:x):delete c.contrastColor,k.cursor&&(A.cursor=k.cursor));var D={r:d.borderRadius||0,rotation:B,padding:d.padding,zIndex:1};g.styledMode||(D.fill=d.backgroundColor,D.stroke=d.borderColor,D["stroke-width"]=d.borderWidth);a(D,function(a,c){"undefined"===typeof a&&delete D[c]})}!p||m&&y(u)&&!!p.div===!!d.useHTML&&(p.rotation&&d.rotation||p.rotation===d.rotation)||(n=!0,c.dataLabel=p=c.dataLabel&&c.dataLabel.destroy(),
545
+ c.dataLabels&&(1===c.dataLabels.length?delete c.dataLabels:delete c.dataLabels[l]),l||delete c.dataLabel,q&&(c.connector=c.connector.destroy(),c.connectors&&(1===c.connectors.length?delete c.connectors:delete c.connectors[l])));m&&y(u)?(p?D.text=u:(c.dataLabels=c.dataLabels||[],p=c.dataLabels[l]=B?h.text(u,0,0,d.useHTML).addClass("highcharts-data-label"):h.label(u,0,0,d.shape,null,null,d.useHTML,null,"data-label"),l||(c.dataLabel=p),p.addClass(" highcharts-data-label-color-"+c.colorIndex+" "+(d.className||
546
+ "")+(d.useHTML?" highcharts-tracker":""))),p.options=d,p.attr(D),g.styledMode||p.css(A).shadow(d.shadow),(l=d[c.formatPrefix+"TextPath"]||d.textPath)&&!d.useHTML&&(p.setTextPath(c.getDataLabelPath&&c.getDataLabelPath(p)||c.graphic,l),c.dataLabelPath&&!l.enabled&&(c.dataLabelPath=c.dataLabelPath.destroy())),p.added||p.add(E),b.alignDataLabel(c,p,d,null,n)):p&&p.hide()})})}t(this,"afterDrawDataLabels")}function E(a,c,b,d,f,k){var g=this.chart,l=c.align,h=c.verticalAlign,e=a.box?0:a.padding||0,m=c.x;
547
+ m=void 0===m?0:m;var q=c.y;q=void 0===q?0:q;var p=(b.x||0)+e;if(0>p){"right"===l&&0<=m?(c.align="left",c.inside=!0):m-=p;var n=!0}p=(b.x||0)+d.width-e;p>g.plotWidth&&("left"===l&&0>=m?(c.align="right",c.inside=!0):m+=g.plotWidth-p,n=!0);p=b.y+e;0>p&&("bottom"===h&&0<=q?(c.verticalAlign="top",c.inside=!0):q-=p,n=!0);p=(b.y||0)+d.height-e;p>g.plotHeight&&("top"===h&&0>=q?(c.verticalAlign="bottom",c.inside=!0):q+=g.plotHeight-p,n=!0);n&&(c.x=m,c.y=q,a.placed=!k,a.align(c,void 0,f));return n}function q(a,
548
+ c){var b=[],d;if(r(a)&&!r(c))b=a.map(function(a){return h(a,c)});else if(r(c)&&!r(a))b=c.map(function(c){return h(a,c)});else if(r(a)||r(c))for(d=Math.max(a.length,c.length);d--;)b[d]=h(a[d],c[d]);else b=h(a,c);return b}function c(a,c,b,d,f){var g=this.chart,l=g.inverted,k=this.xAxis,h=k.reversed,e=l?c.height/2:c.width/2;a=(a=a.pointWidth)?a/2:0;c.startXPos=l?f.x:h?-e-a:k.width-e+a;c.startYPos=l?h?this.yAxis.height-e+a:-e-a:f.y;d?"hidden"===c.visibility&&(c.show(),c.attr({opacity:0}).animate({opacity:1})):
549
+ c.attr({opacity:1}).animate({opacity:0},void 0,c.hide);g.hasRendered&&(b&&c.attr({x:c.startXPos,y:c.startYPos}),c.placed=!0)}var B=[];b.compose=function(a){if(-1===B.indexOf(a)){var b=a.prototype;B.push(a);b.alignDataLabel=k;b.drawDataLabels=p;b.justifyDataLabel=E;b.setDataLabelStartPos=c}}})(k||(k={}));"";return k});H(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z){var C=e.series,w=z.merge,y=z.pick,G;(function(e){function r(b,
550
+ a,f,d,k){var h=this.chart.inverted,e=b.series,n=(e.xAxis?e.xAxis.len:this.chart.plotSizeX)||0;e=(e.yAxis?e.yAxis.len:this.chart.plotSizeY)||0;var x=b.dlBox||b.shapeArgs,E=y(b.below,b.plotY>y(this.translatedThreshold,e)),q=y(f.inside,!!this.options.stacking);x&&(d=w(x),0>d.y&&(d.height+=d.y,d.y=0),x=d.y+d.height-e,0<x&&x<d.height&&(d.height-=x),h&&(d={x:e-d.y-d.height,y:n-d.x-d.width,width:d.height,height:d.width}),q||(h?(d.x+=E?0:d.width,d.width=0):(d.y+=E?d.height:0,d.height=0)));f.align=y(f.align,
551
+ !h||q?"center":E?"right":"left");f.verticalAlign=y(f.verticalAlign,h||q?"middle":E?"top":"bottom");C.prototype.alignDataLabel.call(this,b,a,f,d,k);f.inside&&b.contrastColor&&a.css({color:b.contrastColor})}var n=[];e.compose=function(e){b.compose(C);-1===n.indexOf(e)&&(n.push(e),e.prototype.alignDataLabel=r)}})(G||(G={}));return G});H(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z){var C=this&&this.__extends||
552
+ function(){var b=function(e,r){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var a in e)e.hasOwnProperty(a)&&(b[a]=e[a])};return b(e,r)};return function(e,r){function n(){this.constructor=e}b(e,r);e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),w=z.extend,y=z.merge;z=function(e){function t(){var b=null!==e&&e.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}C(t,e);t.defaultOptions=
553
+ y(b.defaultOptions,{});return t}(b);w(z.prototype,{inverted:!0});e.registerSeriesType("bar",z);"";return z});H(e,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){"";return{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/>"}}});H(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],
554
+ e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z){var C=this&&this.__extends||function(){var b=function(e,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(e,a)};return function(e,a){function f(){this.constructor=e}b(e,a);e.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),w=e.seriesTypes,y=w.column,G=w.line;w=z.addEvent;var t=z.extend,r=z.merge;
555
+ z=function(e){function h(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}C(h,e);h.prototype.applyJitter=function(){var a=this,b=this.options.jitter,d=this.points.length;b&&this.points.forEach(function(f,e){["x","y"].forEach(function(k,h){var p="plot"+k.toUpperCase();if(b[k]&&!f.isNull){var n=a[k+"Axis"];var q=b[k]*n.transA;if(n&&!n.isLog){var c=Math.max(0,f[p]-q);n=Math.min(n.len,f[p]+q);h=1E4*Math.sin(e+h*d);f[p]=c+(n-c)*(h-Math.floor(h));"x"===
556
+ k&&(f.clientX=f.plotX)}}})})};h.prototype.drawGraph=function(){this.options.lineWidth?e.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())};h.defaultOptions=r(G.defaultOptions,b);return h}(G);t(z.prototype,{drawTracker:y.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});w(z,"afterTranslate",function(){this.applyJitter()});e.registerSeriesType("scatter",z);return z});H(e,"Series/CenteredUtilities.js",
557
+ [e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(b,e,z){var C=b.deg2rad,w=z.fireEvent,y=z.isNumber,G=z.pick,t=z.relativeLength,r;(function(b){b.getCenter=function(){var b=this.options,a=this.chart,f=2*(b.slicedOffset||0),d=a.plotWidth-2*f,k=a.plotHeight-2*f,p=b.center,n=Math.min(d,k),A=b.thickness,x=b.size,E=b.innerSize||0;"string"===typeof x&&(x=parseFloat(x));"string"===typeof E&&(E=parseFloat(E));b=[G(p[0],"50%"),G(p[1],"50%"),G(x&&0>x?void 0:b.size,"100%"),G(E&&
558
+ 0>E?void 0:b.innerSize||0,"0%")];!a.angular||this instanceof e||(b[3]=0);for(p=0;4>p;++p)x=b[p],a=2>p||2===p&&/%$/.test(x),b[p]=t(x,[d,k,n,b[2]][p])+(a?f:0);b[3]>b[2]&&(b[3]=b[2]);y(A)&&2*A<b[2]&&0<A&&(b[3]=b[2]-2*A);w(this,"afterGetCenter",{positions:b});return b};b.getStartAndEndRadians=function(b,a){b=y(b)?b:0;a=y(a)&&a>b&&360>a-b?a:b+360;return{start:C*(b+-90),end:C*(a+-90)}}})(r||(r={}));"";return r});H(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],
559
+ e["Core/Utilities.js"]],function(b,e,z){var C=this&&this.__extends||function(){var b=function(a,f){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(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)}}(),w=b.setAnimation,y=z.addEvent,G=z.defined;b=z.extend;var t=z.isNumber,r=z.pick,n=z.relativeLength;e=function(b){function a(){var a=
560
+ null!==b&&b.apply(this,arguments)||this;a.labelDistance=void 0;a.options=void 0;a.series=void 0;return a}C(a,b);a.prototype.getConnectorPath=function(){var a=this.labelPosition,b=this.series.options.dataLabels,k=this.connectorShapes,e=b.connectorShape;k[e]&&(e=k[e]);return e.call(this,{x:a.final.x,y:a.final.y,alignment:a.alignment},a.connectorPosition,b)};a.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};a.prototype.haloPath=function(a){var b=
561
+ this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(b.x,b.y,b.r+a,b.r+a,{innerR:b.r-1,start:b.start,end:b.end})};a.prototype.init=function(){var a=this;b.prototype.init.apply(this,arguments);this.name=r(this.name,"Slice");var d=function(b){a.slice("select"===b.type)};y(this,"select",d);y(this,"unselect",d);return this};a.prototype.isValid=function(){return t(this.y)&&0<=this.y};a.prototype.setVisible=function(a,b){var d=this,f=this.series,e=f.chart,h=f.options.ignoreHiddenPoint;
562
+ b=r(b,h);a!==this.visible&&(this.visible=this.options.visible=a="undefined"===typeof a?!this.visible:a,f.options.data[f.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(b){if(d[b])d[b][a?"show":"hide"](a)}),this.legendItem&&e.legend.colorizeItem(this,a),a||"hover"!==this.state||this.setState(""),h&&(f.isDirty=!0),b&&e.redraw())};a.prototype.slice=function(a,b,k){var d=this.series;w(k,d.chart);r(b,!0);this.sliced=this.options.sliced=G(a)?a:!this.sliced;
563
+ d.options.data[d.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return a}(e);b(e.prototype,{connectorShapes:{fixedOffset:function(b,a,f){var d=a.breakAt;a=a.touchingSliceAt;return[["M",b.x,b.y],f.softConnector?["C",b.x+("left"===b.alignment?-5:5),b.y,2*d.x-a.x,2*d.y-a.y,d.x,d.y]:["L",d.x,d.y],["L",a.x,a.y]]},straight:function(b,a){a=a.touchingSliceAt;return[["M",b.x,b.y],["L",a.x,a.y]]},crookedLine:function(b,
564
+ a,f){a=a.touchingSliceAt;var d=this.series,k=d.center[0],e=d.chart.plotWidth,h=d.chart.plotLeft;d=b.alignment;var A=this.shapeArgs.r;f=n(f.crookDistance,1);e="left"===d?k+A+(e+h-k-A)*(1-f):h+(k-A)*f;f=["L",e,b.y];k=!0;if("left"===d?e>b.x||e<a.x:e<b.x||e>a.x)k=!1;b=[["M",b.x,b.y]];k&&b.push(f);b.push(["L",a.x,a.y]);return b}}});return e});H(e,"Series/Pie/PieSeriesDefaults.js",[],function(){"";return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",
565
+ 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:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}});H(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],
566
+ e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y,G,t,r,n){var h=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 c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,d)};return function(b,d){function c(){this.constructor=
567
+ b}a(b,d);b.prototype=null===d?Object.create(d):(c.prototype=d.prototype,new c)}}(),a=b.getStartAndEndRadians;z=z.noop;var f=n.clamp,d=n.extend,k=n.fireEvent,p=n.merge,D=n.pick,A=n.relativeLength;n=function(b){function d(){var a=null!==b&&b.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}h(d,b);d.prototype.animate=function(a){var c=this,b=c.points,d=c.startAngleRad;a||b.forEach(function(a){var b=a.graphic,f=a.shapeArgs;b&&
568
+ f&&(b.attr({r:D(a.startR,c.center&&c.center[3]/2),start:d,end:d}),b.animate({r:f.r,start:f.start,end:f.end},c.options.animation))})};d.prototype.drawEmpty=function(){var a=this.startAngleRad,c=this.endAngleRad,b=this.options;if(0===this.total&&this.center){var d=this.center[0];var f=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(d,f,this.center[1]/2,0,a,c).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:r.arc(d,f,this.center[2]/2,0,{start:a,end:c,innerR:this.center[3]/
569
+ 2})});this.chart.styledMode||this.graph.attr({"stroke-width":b.borderWidth,fill:b.fillColor||"none",stroke:b.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())};d.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)})};d.prototype.generatePoints=function(){b.prototype.generatePoints.call(this);
570
+ this.updateTotals()};d.prototype.getX=function(a,c,b){var d=this.center,e=this.radii?this.radii[b.index]||0:d[2]/2;a=Math.asin(f((a-d[1])/(e+b.labelDistance),-1,1));return d[0]+(c?-1:1)*Math.cos(a)*(e+b.labelDistance)+(0<b.labelDistance?(c?-1:1)*this.options.dataLabels.padding:0)};d.prototype.hasData=function(){return!!this.processedXData.length};d.prototype.redrawPoints=function(){var a=this,c=a.chart,b=c.renderer,d=a.options.shadow,f,g,e,l;this.drawEmpty();!d||a.shadowGroup||c.styledMode||(a.shadowGroup=
571
+ b.g("shadow").attr({zIndex:-1}).add(a.group));a.points.forEach(function(k){var h={};g=k.graphic;if(!k.isNull&&g){var m=void 0;l=k.shapeArgs;f=k.getTranslate();c.styledMode||(m=k.shadowGroup,d&&!m&&(m=k.shadowGroup=b.g("shadow").add(a.shadowGroup)),m&&m.attr(f),e=a.pointAttribs(k,k.selected&&"select"));k.delayedRendering?(g.setRadialReference(a.center).attr(l).attr(f),c.styledMode||g.attr(e).attr({"stroke-linejoin":"round"}).shadow(d,m),k.delayedRendering=!1):(g.setRadialReference(a.center),c.styledMode||
572
+ p(!0,h,e),p(!0,h,l,f),g.animate(h));g.attr({visibility:k.visible?"inherit":"hidden"});g.addClass(k.getClassName(),!0)}else g&&(k.graphic=g.destroy())})};d.prototype.sortByAngle=function(a,c){a.sort(function(a,b){return"undefined"!==typeof a.angle&&(b.angle-a.angle)*c})};d.prototype.translate=function(b){k(this,"translate");this.generatePoints();var c=this.options,d=c.slicedOffset,f=d+(c.borderWidth||0),e=a(c.startAngle,c.endAngle),g=this.startAngleRad=e.start;e=(this.endAngleRad=e.end)-g;var h=this.points,
573
+ l=c.dataLabels.distance;c=c.ignoreHiddenPoint;var q=h.length,p,n=0;b||(this.center=b=this.getCenter());for(p=0;p<q;p++){var x=h[p];var E=g+n*e;!x.isValid()||c&&!x.visible||(n+=x.percentage/100);var r=g+n*e;var t={x:b[0],y:b[1],r:b[2]/2,innerR:b[3]/2,start:Math.round(1E3*E)/1E3,end:Math.round(1E3*r)/1E3};x.shapeType="arc";x.shapeArgs=t;x.labelDistance=D(x.options.dataLabels&&x.options.dataLabels.distance,l);x.labelDistance=A(x.labelDistance,t.r);this.maxLabelDistance=Math.max(this.maxLabelDistance||
574
+ 0,x.labelDistance);r=(r+E)/2;r>1.5*Math.PI?r-=2*Math.PI:r<-Math.PI/2&&(r+=2*Math.PI);x.slicedTranslation={translateX:Math.round(Math.cos(r)*d),translateY:Math.round(Math.sin(r)*d)};t=Math.cos(r)*b[2]/2;var w=Math.sin(r)*b[2]/2;x.tooltipPos=[b[0]+.7*t,b[1]+.7*w];x.half=r<-Math.PI/2||r>Math.PI/2?1:0;x.angle=r;E=Math.min(f,x.labelDistance/5);x.labelPosition={natural:{x:b[0]+t+Math.cos(r)*x.labelDistance,y:b[1]+w+Math.sin(r)*x.labelDistance},"final":{},alignment:0>x.labelDistance?"center":x.half?"right":
575
+ "left",connectorPosition:{breakAt:{x:b[0]+t+Math.cos(r)*E,y:b[1]+w+Math.sin(r)*E},touchingSliceAt:{x:b[0]+t,y:b[1]+w}}}}k(this,"afterTranslate")};d.prototype.updateTotals=function(){var a=this.points,c=a.length,b=this.options.ignoreHiddenPoint,d,f=0;for(d=0;d<c;d++){var g=a[d];!g.isValid()||b&&!g.visible||(f+=g.y)}this.total=f;for(d=0;d<c;d++)g=a[d],g.percentage=0<f&&(g.visible||!b)?g.y/f*100:0,g.total=f};d.defaultOptions=p(G.defaultOptions,y);return d}(G);d(n.prototype,{axisTypes:[],directTouch:!0,
576
+ drawGraph:void 0,drawLegendSymbol:C.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:b.getCenter,getSymbol:z,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:w,requireSorting:!1,searchPoint:z,trackerGroups:["group","dataLabelsGroup"]});t.registerSeriesType("pie",n);return n});H(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],
577
+ function(b,e,z,C,w){var y=e.noop,G=z.distribute,t=C.series,r=w.arrayMax,n=w.clamp,h=w.defined,a=w.merge,f=w.pick,d=w.relativeLength,k;(function(e){function k(){var c=this,b=c.data,d=c.chart,e=c.options.dataLabels||{},g=e.connectorPadding,k=d.plotWidth,l=d.plotHeight,q=d.plotLeft,p=Math.round(d.chartWidth/3),n=c.center,x=n[2]/2,A=n[1],E=[[],[]],D=[0,0,0,0],w=c.dataLabelPositioners,y,z,C,I,H,T,V,W,U,P,X,O;c.visible&&(e.enabled||c._hasPointLabels)&&(b.forEach(function(a){a.dataLabel&&a.visible&&a.dataLabel.shortened&&
578
+ (a.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),a.dataLabel.shortened=!1)}),t.prototype.drawDataLabels.apply(c),b.forEach(function(a){a.dataLabel&&(a.visible?(E[a.half].push(a),a.dataLabel._pos=null,!h(e.style.width)&&!h(a.options.dataLabels&&a.options.dataLabels.style&&a.options.dataLabels.style.width)&&a.dataLabel.getBBox().width>p&&(a.dataLabel.css({width:Math.round(.7*p)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),a.dataLabels&&1===a.dataLabels.length&&
579
+ delete a.dataLabels))}),E.forEach(function(a,b){var m=a.length,p=[],v;if(m){c.sortByAngle(a,b-.5);if(0<c.maxLabelDistance){var u=Math.max(0,A-x-c.maxLabelDistance);var B=Math.min(A+x+c.maxLabelDistance,d.plotHeight);a.forEach(function(a){0<a.labelDistance&&a.dataLabel&&(a.top=Math.max(0,A-x-a.labelDistance),a.bottom=Math.min(A+x+a.labelDistance,d.plotHeight),v=a.dataLabel.getBBox().height||21,a.distributeBox={target:a.labelPosition.natural.y-a.top+v/2,size:v,rank:a.y},p.push(a.distributeBox))});u=
580
+ B+v-u;G(p,u,u/5)}for(X=0;X<m;X++){y=a[X];T=y.labelPosition;I=y.dataLabel;P=!1===y.visible?"hidden":"inherit";U=u=T.natural.y;p&&h(y.distributeBox)&&("undefined"===typeof y.distributeBox.pos?P="hidden":(V=y.distributeBox.size,U=w.radialDistributionY(y)));delete y.positionIndex;if(e.justify)W=w.justify(y,x,n);else switch(e.alignTo){case "connectors":W=w.alignToConnectors(a,b,k,q);break;case "plotEdges":W=w.alignToPlotEdges(I,b,k,q);break;default:W=w.radialDistributionX(c,y,U,u)}I._attr={visibility:P,
581
+ align:T.alignment};O=y.options.dataLabels||{};I._pos={x:W+f(O.x,e.x)+({left:g,right:-g}[T.alignment]||0),y:U+f(O.y,e.y)-10};T.final.x=W;T.final.y=U;f(e.crop,!0)&&(H=I.getBBox().width,u=null,W-H<g&&1===b?(u=Math.round(H-W+g),D[3]=Math.max(u,D[3])):W+H>k-g&&0===b&&(u=Math.round(W+H-k+g),D[1]=Math.max(u,D[1])),0>U-V/2?D[0]=Math.max(Math.round(-U+V/2),D[0]):U+V/2>l&&(D[2]=Math.max(Math.round(U+V/2-l),D[2])),I.sideOverflow=u)}}}),0===r(D)||this.verifyDataLabelOverflow(D))&&(this.placeDataLabels(),this.points.forEach(function(b){O=
582
+ a(e,b.options.dataLabels);if(z=f(O.connectorWidth,1)){var g;C=b.connector;if((I=b.dataLabel)&&I._pos&&b.visible&&0<b.labelDistance){P=I._attr.visibility;if(g=!C)b.connector=C=d.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+b.colorIndex+(b.className?" "+b.className:"")).add(c.dataLabelsGroup),d.styledMode||C.attr({"stroke-width":z,stroke:O.connectorColor||b.color||"#666666"});C[g?"attr":"animate"]({d:b.getConnectorPath()});C.attr("visibility",P)}else C&&(b.connector=
583
+ C.destroy())}}))}function p(){this.points.forEach(function(a){var c=a.dataLabel,b;c&&a.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 a.distributeBox},this)}function x(a){var c=this.center,b=this.options,f=b.center,g=b.minSize||80,e=null!==
584
+ b.size;if(!e){if(null!==f[0])var l=Math.max(c[2]-Math.max(a[1],a[3]),g);else l=Math.max(c[2]-a[1]-a[3],g),c[0]+=(a[3]-a[1])/2;null!==f[1]?l=n(l,g,c[2]-Math.max(a[0],a[2])):(l=n(l,g,c[2]-a[0]-a[2]),c[1]+=(a[0]-a[2])/2);l<c[2]?(c[2]=l,c[3]=Math.min(b.thickness?Math.max(0,l-2*b.thickness):Math.max(0,d(b.innerSize||0,l)),l),this.translate(c),this.drawDataLabels&&this.drawDataLabels()):e=!0}return e}var E=[],q={radialDistributionY:function(a){return a.top+a.distributeBox.pos},radialDistributionX:function(a,
585
+ 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}};e.compose=function(a){b.compose(t);-1===E.indexOf(a)&&(E.push(a),a=a.prototype,a.dataLabelPositioners=q,a.alignDataLabel=y,a.drawDataLabels=k,a.placeDataLabels=p,a.verifyDataLabelOverflow=
586
+ x)}})(k||(k={}));return k});H(e,"Extensions/OverlappingDataLabels.js",[e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],function(b,e){function z(b,e){var a=!1;if(b){var f=b.newOpacity;b.oldOpacity!==f&&(b.alignAttr&&b.placed?(b[f?"removeClass":"addClass"]("highcharts-data-label-hidden"),a=!0,b.alignAttr.opacity=f,b[b.isOld?"animate":"attr"](b.alignAttr,null,function(){e.styledMode||b.css({pointerEvents:f?"auto":"none"})}),w(e,"afterHideOverlappingLabel")):b.attr({opacity:f}));b.isOld=!0}return a}
587
+ var C=e.addEvent,w=e.fireEvent,y=e.isArray,G=e.isNumber,t=e.objectEach,r=e.pick;C(b,"render",function(){var b=this,e=[];(this.labelCollectors||[]).forEach(function(a){e=e.concat(a())});(this.yAxis||[]).forEach(function(a){a.stacking&&a.options.stackLabels&&!a.options.stackLabels.allowOverlap&&t(a.stacking.stacks,function(a){t(a,function(a){a.label&&e.push(a.label)})})});(this.series||[]).forEach(function(a){var f=a.options.dataLabels;a.visible&&(!1!==f.enabled||a._hasPointLabels)&&(f=function(a){return a.forEach(function(a){a.visible&&
588
+ (y(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[]).forEach(function(d){var f=d.options;d.labelrank=r(f.labelrank,a.labelrank,a.shapeArgs&&a.shapeArgs.height);f.allowOverlap?(d.oldOpacity=d.opacity,d.newOpacity=1,z(d,b)):e.push(d)})})},f(a.nodes||[]),f(a.points))});this.hideOverlappingLabels(e)});b.prototype.hideOverlappingLabels=function(b){var e=this,a=b.length,f=e.renderer,d,k,p,n=!1;var A=function(a){var c,b=a.box?0:a.padding||0,d=c=0,e;if(a&&(!a.alignAttr||a.placed)){var g=a.alignAttr||
589
+ {x:a.attr("x"),y:a.attr("y")};var k=a.parentGroup;a.width||(c=a.getBBox(),a.width=c.width,a.height=c.height,c=f.fontMetrics(null,a.element).h);var l=a.width-2*b;(e={left:"0",center:"0.5",right:"1"}[a.alignValue])?d=+e*l:G(a.x)&&Math.round(a.x)!==a.translateX&&(d=a.x-a.translateX);return{x:g.x+(k.translateX||0)+b-(d||0),y:g.y+(k.translateY||0)+b-c,width:a.width-2*b,height:a.height-2*b}}};for(k=0;k<a;k++)if(d=b[k])d.oldOpacity=d.opacity,d.newOpacity=1,d.absoluteBox=A(d);b.sort(function(a,c){return(c.labelrank||
590
+ 0)-(a.labelrank||0)});for(k=0;k<a;k++){var x=(A=b[k])&&A.absoluteBox;for(d=k+1;d<a;++d){var E=(p=b[d])&&p.absoluteBox;!x||!E||A===p||0===A.newOpacity||0===p.newOpacity||"hidden"===A.visibility||"hidden"===p.visibility||E.x>=x.x+x.width||E.x+E.width<=x.x||E.y>=x.y+x.height||E.y+E.height<=x.y||((A.labelrank<p.labelrank?A:p).newOpacity=0)}}b.forEach(function(a){z(a,e)&&(n=!0)});n&&w(e,"afterHideAllOverlappingLabels")}});H(e,"Core/Responsive.js",[e["Core/Utilities.js"]],function(b){var e=b.extend,z=b.find,
591
+ C=b.isArray,w=b.isObject,y=b.merge,G=b.objectEach,t=b.pick,r=b.splat,n=b.uniqueKey,h;(function(a){var b=[];a.compose=function(a){-1===b.indexOf(a)&&(b.push(a),e(a.prototype,d.prototype));return a};var d=function(){function a(){}a.prototype.currentOptions=function(a){function b(a,f,c,e){var k;G(a,function(a,g){if(!e&&-1<d.collectionsWithUpdate.indexOf(g)&&f[g])for(a=r(a),c[g]=[],k=0;k<Math.max(a.length,f[g].length);k++)f[g][k]&&(void 0===a[k]?c[g][k]=f[g][k]:(c[g][k]={},b(a[k],f[g][k],c[g][k],e+1)));
592
+ else w(a)?(c[g]=C(a)?[]:{},b(a,f[g]||{},c[g],e+1)):c[g]="undefined"===typeof f[g]?null:f[g]})}var d=this,f={};b(a,this.options,f,0);return f};a.prototype.matchResponsiveRule=function(a,b){var d=a.condition;(d.callback||function(){return this.chartWidth<=t(d.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=t(d.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=t(d.minWidth,0)&&this.chartHeight>=t(d.minHeight,0)}).call(this)&&b.push(a._id)};a.prototype.setResponsive=function(a,b){var d=this,f=this.options.responsive,
593
+ e=this.currentResponsive,k=[];!b&&f&&f.rules&&f.rules.forEach(function(a){"undefined"===typeof a._id&&(a._id=n());d.matchResponsiveRule(a,k)},this);b=y.apply(void 0,k.map(function(a){return z((f||{}).rules||[],function(c){return c._id===a})}).map(function(a){return a&&a.chartOptions}));b.isResponsiveOptions=!0;k=k.toString()||void 0;k!==(e&&e.ruleIds)&&(e&&this.update(e.undoOptions,a,!0),k?(e=this.currentOptions(b),e.isResponsiveOptions=!0,this.currentResponsive={ruleIds:k,mergedOptions:b,undoOptions:e},
594
+ this.update(b,a,!0)):this.currentResponsive=void 0)};return a}()})(h||(h={}));"";"";return h});H(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],
595
+ e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],
596
+ e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(b,e,z,C,w,y,G,t,r,n,h,a,f,d,k,p,D,A,x,E,q,c,B,m,u,g,F,l,v,K,J,M,S,R,H){b.animate=w.animate;b.animObject=w.animObject;b.getDeferredAnimation=w.getDeferredAnimation;b.setAnimation=w.setAnimation;b.stop=w.stop;b.timers=C.timers;b.AST=y;b.Axis=f;b.Chart=B;b.chart=B.chart;b.Fx=C;b.Legend=c;b.PlotLineOrBand=p;b.Point=x;b.Pointer=q.isRequired()?
597
+ q:E;b.Series=g;b.StackItem=u;b.SVGElement=r;b.SVGRenderer=n;b.Tick=D;b.Time=H;b.Tooltip=A;b.Color=R;b.color=R.parse;a.compose(n);h.compose(r);b.defaultOptions=z.defaultOptions;b.getOptions=z.getOptions;b.time=z.defaultTime;b.setOptions=z.setOptions;b.dateFormat=G.dateFormat;b.format=G.format;b.numberFormat=G.numberFormat;b.addEvent=e.addEvent;b.arrayMax=e.arrayMax;b.arrayMin=e.arrayMin;b.attr=e.attr;b.clearTimeout=e.clearTimeout;b.correctFloat=e.correctFloat;b.createElement=e.createElement;b.css=
598
+ e.css;b.defined=e.defined;b.destroyObjectProperties=e.destroyObjectProperties;b.discardElement=e.discardElement;b.distribute=t.distribute;b.erase=e.erase;b.error=e.error;b.extend=e.extend;b.extendClass=e.extendClass;b.find=e.find;b.fireEvent=e.fireEvent;b.getMagnitude=e.getMagnitude;b.getStyle=e.getStyle;b.inArray=e.inArray;b.isArray=e.isArray;b.isClass=e.isClass;b.isDOMElement=e.isDOMElement;b.isFunction=e.isFunction;b.isNumber=e.isNumber;b.isObject=e.isObject;b.isString=e.isString;b.keys=e.keys;
599
+ b.merge=e.merge;b.normalizeTickInterval=e.normalizeTickInterval;b.objectEach=e.objectEach;b.offset=e.offset;b.pad=e.pad;b.pick=e.pick;b.pInt=e.pInt;b.relativeLength=e.relativeLength;b.removeEvent=e.removeEvent;b.seriesType=F.seriesType;b.splat=e.splat;b.stableSort=e.stableSort;b.syncTimeout=e.syncTimeout;b.timeUnits=e.timeUnits;b.uniqueKey=e.uniqueKey;b.useSerialIds=e.useSerialIds;b.wrap=e.wrap;v.compose(l);M.compose(g);d.compose(f);k.compose(f);J.compose(K);p.compose(f);S.compose(B);m.compose(f,
600
+ B,g);return b});H(e,"Core/Axis/Color/ColorAxisComposition.js",[e["Core/Color/Color.js"],e["Core/Utilities.js"]],function(b,e){var z=b.parse,C=e.addEvent,w=e.extend,y=e.merge,G=e.pick,t=e.splat,r;(function(b){function e(){var a=this,c=this.options;this.colorAxis=[];c.colorAxis&&(c.colorAxis=t(c.colorAxis),c.colorAxis.forEach(function(c,b){c.index=b;new B(a,c)}))}function a(a){var c=this,b=function(b){b=a.allItems.indexOf(b);-1!==b&&(c.destroyItem(a.allItems[b]),a.allItems.splice(b,1))},d=[],f,e;(this.chart.colorAxis||
601
+ []).forEach(function(a){(f=a.options)&&f.showInLegend&&(f.dataClasses&&f.visible?d=d.concat(a.getDataClassLegendSymbols()):f.visible&&d.push(a),a.series.forEach(function(a){if(!a.options.showInLegend||f.dataClasses)"point"===a.options.legendType?a.points.forEach(function(a){b(a)}):b(a)}))});for(e=d.length;e--;)a.allItems.unshift(d[e])}function f(a){a.visible&&a.item.legendColor&&a.item.legendItem.symbol.attr({fill:a.item.legendColor})}function d(){var a=this.chart.colorAxis;a&&a.forEach(function(a,
602
+ c,b){a.update({},b)})}function k(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function p(){var a=this.axisTypes;a?-1===a.indexOf("colorAxis")&&a.push("colorAxis"):this.axisTypes=["colorAxis"]}function n(a){var c=this,b=a?"show":"hide";c.visible=c.options.visible=!!a;["graphic","dataLabel"].forEach(function(a){if(c[a])c[a][b]()});this.series.buildKDTree()}function A(){var a=this,c=this.options.nullColor,b=this.colorAxis,d=this.colorKey;(this.data.length?
603
+ this.data:this.points).forEach(function(f){var g=f.getNestedProperty(d);(g=f.options.color||(f.isNull||null===f.value?c:b&&"undefined"!==typeof g?b.toColor(g,f):f.color||a.color))&&f.color!==g&&(f.color=g,"point"===a.options.legendType&&f.legendItem&&f.legendItem.label&&a.chart.legend.colorizeItem(f,f.visible))})}function x(a){var c=a.prototype.createAxis;a.prototype.createAxis=function(a,b){if("colorAxis"!==a)return c.apply(this,arguments);var d=new B(this,y(b.axis,{index:this[a].length,isX:!1}));
604
+ this.isDirtyLegend=!0;this.axes.forEach(function(a){a.series=[]});this.series.forEach(function(a){a.bindAxes();a.isDirtyData=!0});G(b.redraw,!0)&&this.redraw(b.animation);return d}}function r(){this.elem.attr("fill",z(this.start).tweenTo(z(this.end),this.pos),void 0,!0)}function q(){this.elem.attr("stroke",z(this.start).tweenTo(z(this.end),this.pos),void 0,!0)}var c=[],B;b.compose=function(b,h,g,E,l){B||(B=b);-1===c.indexOf(h)&&(c.push(h),b=h.prototype,b.collectionsWithUpdate.push("colorAxis"),b.collectionsWithInit.colorAxis=
605
+ [b.addColorAxis],C(h,"afterGetAxes",e),x(h));-1===c.indexOf(g)&&(c.push(g),h=g.prototype,h.fillSetter=r,h.strokeSetter=q);-1===c.indexOf(E)&&(c.push(E),C(E,"afterGetAllItems",a),C(E,"afterColorizeItem",f),C(E,"afterUpdate",d));-1===c.indexOf(l)&&(c.push(l),w(l.prototype,{optionalAxis:"colorAxis",translateColors:A}),w(l.prototype.pointClass.prototype,{setVisible:n}),C(l,"afterTranslate",k),C(l,"bindAxes",p))};b.pointSetVisible=n})(r||(r={}));return r});H(e,"Core/Axis/Color/ColorAxisDefaults.js",[],
606
+ function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0}});H(e,"Core/Axis/Color/ColorAxis.js",[e["Core/Axis/Axis.js"],e["Core/Color/Color.js"],e["Core/Axis/Color/ColorAxisComposition.js"],e["Core/Axis/Color/ColorAxisDefaults.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],
607
+ e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y,G,t){var r=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 f(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}(),n=e.parse,h=G.series,a=t.extend,f=t.isNumber,d=t.merge,k=t.pick;
608
+ e=function(b){function e(a,d){var f=b.call(this,a,d)||this;f.beforePadding=!1;f.chart=void 0;f.coll="colorAxis";f.dataClasses=void 0;f.name="";f.options=void 0;f.stops=void 0;f.visible=!0;f.init(a,d);return f}r(e,b);e.compose=function(a,b,d,f){z.compose(e,a,b,d,f)};e.prototype.init=function(a,f){var k=a.options.legend||{},h=f.layout?"vertical"!==f.layout:"vertical"!==k.layout,c=f.visible;k=d(e.defaultColorAxisOptions,f,{showEmpty:!1,title:null,visible:k.enabled&&!1!==c});this.coll="colorAxis";this.side=
609
+ f.side||h?2:1;this.reversed=f.reversed||!h;this.opposite=!h;b.prototype.init.call(this,a,k);this.userOptions.visible=c;f.dataClasses&&this.initDataClasses(f);this.initStops();this.horiz=h;this.zoomEnabled=!1};e.prototype.initDataClasses=function(a){var b=this.chart,f=this.legendItem=this.legendItem||{},e=a.dataClasses.length,c=this.options,k,h=0,p=b.options.chart.colorCount;this.dataClasses=k=[];f.labels=[];(a.dataClasses||[]).forEach(function(a,f){a=d(a);k.push(a);if(b.styledMode||!a.color)"category"===
610
+ c.dataClassColor?(b.styledMode||(f=b.options.colors,p=f.length,a.color=f[h]),a.colorIndex=h,h++,h===p&&(h=0)):a.color=n(c.minColor).tweenTo(n(c.maxColor),2>e?.5:f/(e-1))})};e.prototype.hasData=function(){return!!(this.tickPositions||[]).length};e.prototype.setTickPositions=function(){if(!this.dataClasses)return b.prototype.setTickPositions.call(this)};e.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]];this.stops.forEach(function(a){a.color=
611
+ n(a[1])})};e.prototype.setOptions=function(a){b.prototype.setOptions.call(this,a);this.options.crosshair=this.options.marker};e.prototype.setAxisSize=function(){var a=this.legendItem&&this.legendItem.symbol,b=this.chart,d=b.options.legend||{},f,c;a?(this.left=d=a.attr("x"),this.top=f=a.attr("y"),this.width=c=a.attr("width"),this.height=a=a.attr("height"),this.right=b.chartWidth-d-c,this.bottom=b.chartHeight-f-a,this.len=this.horiz?c:a,this.pos=this.horiz?d:f):this.len=(this.horiz?d.symbolWidth:d.symbolHeight)||
612
+ e.defaultLegendLength};e.prototype.normalizedValue=function(a){this.logarithmic&&(a=this.logarithmic.log2lin(a));return 1-(this.max-a)/(this.max-this.min||1)};e.prototype.toColor=function(a,b){var d=this.dataClasses,f=this.stops,c;if(d)for(c=d.length;c--;){var e=d[c];var k=e.from;f=e.to;if(("undefined"===typeof k||a>=k)&&("undefined"===typeof f||a<=f)){var h=e.color;b&&(b.dataClass=c,b.colorIndex=e.colorIndex);break}}else{a=this.normalizedValue(a);for(c=f.length;c--&&!(a>f[c][0]););k=f[c]||f[c+1];
613
+ f=f[c+1]||k;a=1-(f[0]-a)/(f[0]-k[0]||1);h=k.color.tweenTo(f.color,a)}return h};e.prototype.getOffset=function(){var a=this.legendItem&&this.legendItem.group,d=this.chart.axisOffset[this.side];if(a){this.axisParent=a;b.prototype.getOffset.call(this);var f=this.chart.legend;f.allItems.forEach(function(a){a instanceof e&&a.drawLegendSymbol(f,a)});f.render();this.chart.getMargins(!0);this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width);this.chart.axisOffset[this.side]=d}};e.prototype.setLegendColor=
614
+ function(){var a=this.reversed,b=a?1:0;a=a?0:1;b=this.horiz?[b,0,a,0]:[0,a,0,b];this.legendColor={linearGradient:{x1:b[0],y1:b[1],x2:b[2],y2:b[3]},stops:this.stops}};e.prototype.drawLegendSymbol=function(a,b){b=b.legendItem||{};var d=a.padding,f=a.options,c=k(f.itemDistance,10),h=this.horiz,m=k(f.symbolWidth,h?e.defaultLegendLength:12),p=k(f.symbolHeight,h?12:e.defaultLegendLength);f=k(f.labelPadding,h?16:30);this.setLegendColor();b.symbol||(b.symbol=this.chart.renderer.rect(0,a.baseline-11,m,p).attr({zIndex:1}).add(b.group));
615
+ b.labelWidth=m+d+(h?c:this.options.labels.x+this.maxLabelLength);b.labelHeight=p+d+(h?f:0)};e.prototype.setState=function(a){this.series.forEach(function(b){b.setState(a)})};e.prototype.setVisible=function(){};e.prototype.getSeriesExtremes=function(){var a=this.series,b=a.length,d;this.dataMin=Infinity;for(this.dataMax=-Infinity;b--;){var f=a[b];var c=f.colorKey=k(f.options.colorKey,f.colorKey,f.pointValKey,f.zoneAxis,"y");var e=f.pointArrayMap;var m=f[c+"Min"]&&f[c+"Max"];if(f[c+"Data"])var p=f[c+
616
+ "Data"];else if(e){p=[];e=e.indexOf(c);var g=f.yData;if(0<=e&&g)for(d=0;d<g.length;d++)p.push(k(g[d][e],g[d]))}else p=f.yData;m?(f.minColorValue=f[c+"Min"],f.maxColorValue=f[c+"Max"]):(p=h.prototype.getExtremes.call(f,p),f.minColorValue=p.dataMin,f.maxColorValue=p.dataMax);"undefined"!==typeof f.minColorValue&&(this.dataMin=Math.min(this.dataMin,f.minColorValue),this.dataMax=Math.max(this.dataMax,f.maxColorValue));m||h.prototype.applyExtremes.call(f)}};e.prototype.drawCrosshair=function(a,d){var f=
617
+ this.legendItem||{},e=d&&d.plotX,c=d&&d.plotY,k=this.pos,h=this.len;if(d){var p=this.toPixels(d.getNestedProperty(d.series.colorKey));p<k?p=k-2:p>k+h&&(p=k+h+2);d.plotX=p;d.plotY=this.len-p;b.prototype.drawCrosshair.call(this,a,d);d.plotX=e;d.plotY=c;this.cross&&!this.cross.addedToColorAxis&&f.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(f.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!==typeof this.crosshair||this.cross.attr({fill:this.crosshair.color}))}};
618
+ e.prototype.getPlotLinePath=function(a){var d=this.left,e=a.translatedValue,k=this.top;return f(e)?this.horiz?[["M",e-4,k-6],["L",e+4,k-6],["L",e,k],["Z"]]:[["M",d,e],["L",d-6,e+6],["L",d-6,e-6],["Z"]]:b.prototype.getPlotLinePath.call(this,a)};e.prototype.update=function(a,d){var f=this.chart.legend;this.series.forEach(function(a){a.isDirtyData=!0});(a.dataClasses&&f.allItems||this.dataClasses)&&this.destroyItems();b.prototype.update.call(this,a,d);this.legendItem&&this.legendItem.label&&(this.setLegendColor(),
619
+ f.colorizeItem(this,!0))};e.prototype.destroyItems=function(){var a=this.chart,b=this.legendItem||{};if(b.label)a.legend.destroyItem(this);else if(b.labels){var d=0;for(b=b.labels;d<b.length;d++)a.legend.destroyItem(b[d])}a.isDirtyLegend=!0};e.prototype.destroy=function(){this.chart.isDirtyLegend=!0;this.destroyItems();b.prototype.destroy.apply(this,[].slice.call(arguments))};e.prototype.remove=function(a){this.destroyItems();b.prototype.remove.call(this,a)};e.prototype.getDataClassLegendSymbols=
620
+ function(){var b=this,d=b.chart,f=b.legendItem&&b.legendItem.labels||[],e=d.options.legend,c=k(e.valueDecimals,-1),h=k(e.valueSuffix,""),m=function(a){return b.series.reduce(function(c,b){c.push.apply(c,b.points.filter(function(c){return c.dataClass===a}));return c},[])},p;f.length||b.dataClasses.forEach(function(g,e){var k=g.from,n=g.to,q=d.numberFormatter,x=!0;p="";"undefined"===typeof k?p="< ":"undefined"===typeof n&&(p="> ");"undefined"!==typeof k&&(p+=q(k,c)+h);"undefined"!==typeof k&&"undefined"!==
621
+ typeof n&&(p+=" - ");"undefined"!==typeof n&&(p+=q(n,c)+h);f.push(a({chart:d,name:p,options:{},drawLegendSymbol:y.drawRectangle,visible:!0,isDataClass:!0,setState:function(a){for(var c=0,b=m(e);c<b.length;c++)b[c].setState(a)},setVisible:function(){this.visible=x=b.visible=!x;for(var a=0,c=m(e);a<c.length;a++)c[a].setVisible(x);d.legend.colorizeItem(this,x)}},g))});return f};e.defaultColorAxisOptions=C;e.defaultLegendLength=200;e.keepProps=["legendItem"];return e}(b);Array.prototype.push.apply(b.keepProps,
622
+ e.keepProps);"";return e});H(e,"Maps/MapNavigationDefaults.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(b,e){e=e.extend;var z={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};e(b.defaultOptions.lang,
623
+ {zoomIn:"Zoom in",zoomOut:"Zoom out"});return b.defaultOptions.mapNavigation=z});H(e,"Maps/MapNavigation.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,z){function C(a){a&&(a.preventDefault&&a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)}function w(a){this.navButtons=[];this.init(a)}var y=e.doc,G=z.addEvent,t=z.extend,r=z.isNumber,n=z.merge,h=z.objectEach,a=z.pick;w.prototype.init=function(a){this.chart=a};w.prototype.update=function(b){var d=
624
+ this,f=this.chart,e=f.options.mapNavigation,r,A=function(a){this.handler.call(f,a);C(a)},x=d.navButtons;b&&(e=f.options.mapNavigation=n(f.options.mapNavigation,b));for(;x.length;)x.pop().destroy();a(e.enableButtons,e.enabled)&&!f.renderer.forExport&&(d.navButtonsGroup||(d.navButtonsGroup=f.renderer.g().attr({zIndex:4}).add()),h(e.buttons,function(a,b){a=n(e.buttonOptions,a);!f.styledMode&&a.theme&&(r=a.theme,r.style=n(a.theme.style,a.style));var c=f.renderer.button(a.text||"",0,0,A,r,void 0,void 0,
625
+ void 0,"zoomIn"===b?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[b]).attr({width:a.width,height:a.height,title:f.options.lang[b],padding:a.padding,zIndex:5}).add(d.navButtonsGroup);c.handler=a.onclick;G(c.element,"dblclick",C);x.push(c);t(a,{width:c.width,height:2*c.height});if(f.hasLoaded)c.align(a,!1,a.alignTo);else var k=G(f,"load",function(){c.element&&c.align(a,!1,a.alignTo);k()})}),b=function(){var a=f.exportingGroup&&f.exportingGroup.getBBox();
626
+ if(a){var b=d.navButtonsGroup.getBBox();if(!(b.x>=a.x+a.width||b.x+b.width<=a.x||b.y>=a.y+a.height||b.y+b.height<=a.y)){var c=-b.y-b.height+a.y-5;a=a.y+a.height-b.y+5;d.navButtonsGroup.attr({translateY:"bottom"===(e.buttonOptions&&e.buttonOptions.verticalAlign)?c:a})}}},f.hasLoaded||G(f,"render",b));this.updateEvents(e)};w.prototype.updateEvents=function(b){var d=this.chart;a(b.enableDoubleClickZoom,b.enabled)||b.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||G(d.container,"dblclick",
627
+ function(a){d.pointer.onContainerDblClick(a)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick());a(b.enableMouseWheelZoom,b.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||G(d.container,void 0!==y.onwheel?"wheel":void 0!==y.onmousewheel?"mousewheel":"DOMMouseScroll",function(a){d.pointer.inClass(a.target,"highcharts-no-mousewheel")||(d.pointer.onContainerMouseWheel(a),C(a));return!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())};t(b.prototype,{fitToBox:function(a,
628
+ b){[["x","width"],["y","height"]].forEach(function(d){var f=d[0];d=d[1];a[f]+a[d]>b[f]+b[d]&&(a[d]>b[d]?(a[d]=b[d],a[f]=b[f]):a[f]=b[f]+b[d]-a[d]);a[d]>b[d]&&(a[d]=b[d]);a[f]<b[f]&&(a[f]=b[f])});return a},mapZoom:function(a,b,e,h,n){this.mapView&&(r(a)&&(a=Math.log(a)/Math.log(.5)),this.mapView.zoomBy(a,r(b)&&r(e)?this.mapView.projection.inverse([b,e]):void 0,r(h)&&r(n)?[h,n]:void 0))}});G(b,"beforeRender",function(){this.mapNavigation=new w(this);this.mapNavigation.update()});e.MapNavigation=w});
629
+ H(e,"Maps/MapPointer.js",[e["Core/Pointer.js"],e["Core/Utilities.js"]],function(b,e){var z=e.defined,C=e.extend,w=e.pick;e=e.wrap;var y=b.prototype.normalize,G=0,t;C(b.prototype,{normalize:function(b,e){var h=this.chart;b=y.call(this,b,e);h&&h.mapView&&(e=h.mapView.pixelsToLonLat({x:b.chartX-h.plotLeft,y:b.chartY-h.plotTop}))&&C(b,e);return b},onContainerDblClick:function(b){var e=this.chart;b=this.normalize(b);e.options.mapNavigation.enableDoubleClickZoomTo?e.pointer.inClass(b.target,"highcharts-tracker")&&
630
+ e.hoverPoint&&e.hoverPoint.zoomTo():e.isInsidePlot(b.chartX-e.plotLeft,b.chartY-e.plotTop)&&e.mapZoom(.5,void 0,void 0,b.chartX,b.chartY)},onContainerMouseWheel:function(b){var e=this.chart;b=this.normalize(b);var h=z(b.wheelDelta)&&-b.wheelDelta/120||b.deltaY||b.detail;1<=Math.abs(h)&&(G+=Math.abs(h),t&&clearTimeout(t),t=setTimeout(function(){G=0},50));10>G&&e.isInsidePlot(b.chartX-e.plotLeft,b.chartY-e.plotTop)&&e.mapView&&e.mapView.zoomBy((e.options.mapNavigation.mouseWheelSensitivity-1)*-h,void 0,
631
+ [b.chartX,b.chartY],1>Math.abs(h)?!1:void 0)}});e(b.prototype,"zoomOption",function(b){var e=this.chart.options.mapNavigation;w(e.enableTouchZoom,e.enabled)&&(this.chart.options.chart.zooming.pinchType="xy");b.apply(this,[].slice.call(arguments,1))});e(b.prototype,"pinchTranslate",function(b,e,h,a,f,d,k){b.call(this,e,h,a,f,d,k);"map"===this.chart.options.chart.type&&this.hasZoom&&(b=a.scaleX>a.scaleY,this.pinchTranslateDirection(!b,e,h,a,f,d,k,b?a.scaleX:a.scaleY))})});H(e,"Series/ColorMapComposition.js",
632
+ [e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var z=b.seriesTypes.column.prototype,C=e.addEvent,w=e.defined,y;(function(b){function e(b){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:b&&"hover"===b.state?1:0})}var r=[];b.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value&&(void 0===this.value||!isNaN(this.value))}};b.seriesMembers={colorKey:"value",axisTypes:["xAxis",
633
+ "yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(b){var e={};!w(b.color)||b.state&&"normal"!==b.state||(e[this.colorProp||"fill"]=b.color);return e},pointAttribs:z.pointAttribs};b.compose=function(b){var h=b.prototype.pointClass;-1===r.indexOf(h)&&(r.push(h),C(h,"afterSetState",e));return b}})(y||(y={}));return y});H(e,"Maps/MapSymbols.js",[e["Core/Renderer/SVG/SVGRenderer.js"]],function(b){function e(b,
634
+ e,w,y,G,t,r,n){return[["M",b+G,e],["L",b+w-t,e],["C",b+w-t/2,e,b+w,e+t/2,b+w,e+t],["L",b+w,e+y-r],["C",b+w,e+y-r/2,b+w-r/2,e+y,b+w-r,e+y],["L",b+n,e+y],["C",b+n/2,e+y,b,e+y-n/2,b,e+y-n],["L",b,e+G],["C",b,e+G/2,b+G/2,e,b+G,e],["Z"]]}b=b.prototype.symbols;b.bottombutton=function(b,C,w,y,G){G=G&&G.r||0;return e(b-1,C-1,w,y,0,0,G,G)};b.topbutton=function(b,C,w,y,G){G=G&&G.r||0;return e(b-1,C-1,w,y,G,G,0,0)};return b});H(e,"Core/Chart/MapChart.js",[e["Core/Chart/Chart.js"],e["Core/Defaults.js"],e["Core/Renderer/SVG/SVGRenderer.js"],
635
+ e["Core/Utilities.js"]],function(b,e,z,C){var w=this&&this.__extends||function(){var b=function(e,h){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(e,h)};return function(e,h){function a(){this.constructor=e}b(e,h);e.prototype=null===h?Object.create(h):(a.prototype=h.prototype,new a)}}(),y=e.getOptions,G=C.merge,t=C.pick;b=function(b){function e(){return null!==b&&b.apply(this,arguments)||
636
+ this}w(e,b);e.prototype.init=function(e,a){var f=y().credits;e=G({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:t(f.mapText,' \u00a9 <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}</a>'),mapTextFull:t(f.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},e);b.prototype.init.call(this,e,a)};return e}(b);(function(b){b.maps={};b.mapChart=function(e,h,a){return new b(e,h,a)};b.splitPath=function(b){"string"===typeof b&&(b=b.replace(/([A-Za-z])/g,
637
+ " $1 ").replace(/^\s*/,"").replace(/\s*$/,""),b=b.split(/[ ,;]+/).map(function(b){return/[A-za-z]/.test(b)?b:parseFloat(b)}));return z.prototype.pathToSegments(b)}})(b||(b={}));return b});H(e,"Maps/MapUtilities.js",[],function(){return{boundsFromPath:function(b){var e=-Number.MAX_VALUE,z=Number.MAX_VALUE,C=-Number.MAX_VALUE,w=Number.MAX_VALUE,y;b.forEach(function(b){var t=b[b.length-2];b=b[b.length-1];"number"===typeof t&&"number"===typeof b&&(z=Math.min(z,t),e=Math.max(e,t),w=Math.min(w,b),C=Math.max(C,
638
+ b),y=!0)});if(y)return{x1:z,y1:w,x2:e,y2:C}},pointInPolygon:function(b,e){var z,C=!1,w=b.x,y=b.y;b=0;for(z=e.length-1;b<e.length;z=b++){var G=e[b][1]>y;var t=e[z][1]>y;G!==t&&w<(e[z][0]-e[b][0])*(y-e[b][1])/(e[z][1]-e[b][1])+e[b][0]&&(C=!C)}return C}}});H(e,"Series/Map/MapPoint.js",[e["Series/ColorMapComposition.js"],e["Maps/MapUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z,C){var w=this&&this.__extends||function(){var b=function(e,a){b=Object.setPrototypeOf||
639
+ {__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(e,a)};return function(e,a){function f(){this.constructor=e}b(e,a);e.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),y=e.boundsFromPath,G=C.extend,t=C.isNumber,r=C.pick;e=function(b){function e(){var a=null!==b&&b.apply(this,arguments)||this;a.options=void 0;a.path=void 0;a.series=void 0;return a}w(e,b);e.getProjectedPath=function(a,b){a.projectedPath||
640
+ (b&&a.geometry?(b.hasCoordinates=!0,a.projectedPath=b.path(a.geometry)):a.projectedPath=a.path);return a.projectedPath||[]};e.prototype.applyOptions=function(a,f){var d=this.series;a=b.prototype.applyOptions.call(this,a,f);f=d.joinBy;d.mapData&&d.mapMap&&(f=b.prototype.getNestedProperty.call(a,f[1]),(f="undefined"!==typeof f&&d.mapMap[f])?G(a,f):-1!==d.pointArrayMap.indexOf("value")&&(a.value=a.value||null));return a};e.prototype.getProjectedBounds=function(a){a=e.getProjectedPath(this,a);a=y(a);
641
+ var b=this.properties;if(a){var d=b&&b["hc-middle-x"];b=b&&b["hc-middle-y"];a.midX=a.x1+(a.x2-a.x1)*r(this.middleX,t(d)?d:.5);d=r(this.middleY,t(b)?b:.5);this.geometry||(d=1-d);a.midY=a.y2-(a.y2-a.y1)*d;return a}};e.prototype.onMouseOver=function(a){C.clearTimeout(this.colorInterval);if(!this.isNull&&this.visible||this.series.options.nullInteraction)b.prototype.onMouseOver.call(this,a);else this.series.onMouseOut(a)};e.prototype.setVisible=function(a){var b=a?"show":"hide";this.visible=this.options.visible=
642
+ !!a;if(this.dataLabel)this.dataLabel[b]();this.graphic&&this.graphic.attr(this.series.pointAttribs(this))};e.prototype.zoomTo=function(){var a=this.series.chart,b=a.mapView,d=this.bounds;if(b&&d){var e=t(this.insetIndex)&&b.insets[this.insetIndex];if(e){var h=e.projectedUnitsToPixels({x:d.x1,y:d.y1});d=e.projectedUnitsToPixels({x:d.x2,y:d.y2});h=b.pixelsToProjectedUnits({x:h.x,y:h.y});d=b.pixelsToProjectedUnits({x:d.x,y:d.y});d={x1:h.x,y1:h.y,x2:d.x,y2:d.y}}b.fitToBounds(d,void 0,!1);this.series.isDirty=
643
+ !0;a.redraw()}};return e}(z.seriesTypes.scatter.prototype.pointClass);G(e.prototype,{dataLabelOnNull:b.pointMembers.dataLabelOnNull,moveToTopOnHover:b.pointMembers.moveToTopOnHover,isValid:b.pointMembers.isValid});return e});H(e,"Maps/MapViewOptionsDefault.js",[],function(){return{center:[0,0],maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0}});H(e,"Maps/MapViewInsetsOptionsDefault.js",[],function(){return{borderColor:"#cccccc",borderWidth:1,center:[0,
644
+ 0],padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}});H(e,"Extensions/GeoJSON.js",[e["Core/Chart/Chart.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,z,C){function w(a,b){b||(b=Object.keys(a.objects)[0]);b=a.objects[b];if(b["hc-decoded-geojson"])return b["hc-decoded-geojson"];var d=a.arcs;if(a.transform){var f=a.transform,e=f.scale,h=f.translate;d=a.arcs.map(function(a){var b=0,d=0;return a.map(function(a){a=a.slice();a[0]=(b+=a[0])*e[0]+h[0];
645
+ a[1]=(d+=a[1])*e[1]+h[1];return a})})}var n=function(a){return"number"===typeof a[0]?a.reduce(function(a,b,c){var f=0>b?d[~b]:d[b];0>b?(f=f.slice(0,0===c?f.length:f.length-1),f.reverse()):c&&(f=f.slice(1));return a.concat(f)},[]):a.map(n)};f=b.geometries.map(function(a){return{type:"Feature",properties:a.properties,geometry:{type:a.type,coordinates:a.coordinates||n(a.arcs)}}});a={type:"FeatureCollection",copyright:a.copyright,copyrightShort:a.copyrightShort,copyrightUrl:a.copyrightUrl,features:f,
646
+ "hc-recommended-mapview":b["hc-recommended-mapview"],bbox:a.bbox,title:a.title};return b["hc-decoded-geojson"]=a}function y(a,b,d){void 0===b&&(b="map");var f=[];a="Topology"===a.type?w(a):a;a.features.forEach(function(a){var d=a.geometry||{},e=d.type;d=d.coordinates;a=a.properties;var k;"map"!==b&&"mapbubble"!==b||"Polygon"!==e&&"MultiPolygon"!==e?"mapline"!==b||"LineString"!==e&&"MultiLineString"!==e?"mappoint"===b&&"Point"===e&&d.length&&(k={geometry:{coordinates:d,type:e}}):d.length&&(k={geometry:{coordinates:d,
647
+ type:e}}):d.length&&(k={geometry:{coordinates:d,type:e}});if(k){e=a&&(a.name||a.NAME);d=a&&a.lon;var h=a&&a.lat;f.push(n(k,{lat:"number"===typeof h?h:void 0,lon:"number"===typeof d?d:void 0,name:"string"===typeof e?e:void 0,properties:a}))}});d&&a.copyrightShort&&(d.chart.mapCredits=G(d.chart.options.credits.mapText,{geojson:a}),d.chart.mapCreditsFull=G(d.chart.options.credits.mapTextFull,{geojson:a}));return f}var G=e.format,t=z.win,r=C.error,n=C.extend,h=C.merge;e=C.wrap;"";b.prototype.transformFromLatLon=
648
+ function(a,b){var d=this.options.chart.proj4||t.proj4;if(d){var f=b.jsonmarginX;f=void 0===f?0:f;var e=b.jsonmarginY;e=void 0===e?0:e;var h=b.jsonres;h=void 0===h?1:h;var n=b.scale;n=void 0===n?1:n;var x=b.xoffset;x=void 0===x?0:x;var w=b.xpan;w=void 0===w?0:w;var q=b.yoffset;q=void 0===q?0:q;var c=b.ypan;c=void 0===c?0:c;a=d(b.crs,[a.lon,a.lat]);d=b.cosAngle||b.rotation&&Math.cos(b.rotation);var B=b.sinAngle||b.rotation&&Math.sin(b.rotation);b=b.rotation?[a[0]*d+a[1]*B,-a[0]*B+a[1]*d]:a;return{x:((b[0]-
649
+ x)*n+w)*h+f,y:-(((q-b[1])*n+c)*h-e)}}r(21,!1,this)};b.prototype.transformToLatLon=function(a,b){var d=this.options.chart.proj4||t.proj4;if(!d)r(21,!1,this);else if(null!==a.y){var f=b.jsonmarginX,e=b.jsonmarginY,h=b.jsonres;h=void 0===h?1:h;var n=b.scale;n=void 0===n?1:n;var x=b.xoffset,w=b.xpan,q=b.yoffset,c=b.ypan;a={x:((a.x-(void 0===f?0:f))/h-(void 0===w?0:w))/n+(void 0===x?0:x),y:((a.y-(void 0===e?0:e))/h+(void 0===c?0:c))/n+(void 0===q?0:q)};f=b.cosAngle||b.rotation&&Math.cos(b.rotation);e=
650
+ b.sinAngle||b.rotation&&Math.sin(b.rotation);b=d(b.crs,"WGS84",b.rotation?{x:a.x*f+a.y*-e,y:a.x*e+a.y*f}:a);return{lat:b.y,lon:b.x}}};b.prototype.fromPointToLatLon=function(a){return this.mapView&&this.mapView.projectedUnitsToLonLat(a)};b.prototype.fromLatLonToPoint=function(a){return this.mapView&&this.mapView.lonLatToProjectedUnits(a)};e(b.prototype,"addCredits",function(a,b){b=h(!0,this.options.credits,b);this.mapCredits&&(b.href=null);a.call(this,b);this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})});
651
+ z.geojson=y;return{geojson:y,topo2geo:w}});H(e,"Core/Geometry/PolygonClip.js",[],function(){var b=function(b,e,y){return(e[0]-b[0])*(y[1]-b[1])>(e[1]-b[1])*(y[0]-b[0])},e=function(b,e,y,z){var t=[b[0]-e[0],b[1]-e[1]],r=[y[0]-z[0],y[1]-z[1]];b=b[0]*e[1]-b[1]*e[0];y=y[0]*z[1]-y[1]*z[0];z=1/(t[0]*r[1]-t[1]*r[0]);t=[(b*r[0]-y*t[0])*z,(b*r[1]-y*t[1])*z];t.isIntersection=!0;return t},z;(function(z){z.clipLineString=function(b,e){var w=[];b=z.clipPolygon(b,e,!1);for(e=1;e<b.length;e++)b[e].isIntersection&&
652
+ b[e-1].isIntersection&&(w.push(b.splice(0,e)),e=0),e===b.length-1&&w.push(b);return w};z.clipPolygon=function(w,y,z){void 0===z&&(z=!0);for(var t=y[y.length-1],r,n,h=w,a=0;a<y.length;a++){var f=h;w=y[a];h=[];r=z?f[f.length-1]:f[0];for(var d=0;d<f.length;d++)n=f[d],b(t,w,n)?(b(t,w,r)||h.push(e(t,w,r,n)),h.push(n)):b(t,w,r)&&h.push(e(t,w,r,n)),r=n;t=w}return h}})(z||(z={}));return z});H(e,"Maps/Projections/LambertConformalConic.js",[],function(){var b=Math.sign||function(b){return 0===b?0:0<b?1:-1},
653
+ e=Math.PI/180,z=Math.PI/2;return function(){function C(w){var y,C=(w.parallels||[]).map(function(b){return b*e}),t=C[0]||0;C=null!==(y=C[1])&&void 0!==y?y:t;y=Math.cos(t);"object"===typeof w.projectedBounds&&(this.projectedBounds=w.projectedBounds);w=t===C?Math.sin(t):Math.log(y/Math.cos(C))/Math.log(Math.tan((z+C)/2)/Math.tan((z+t)/2));1e-10>Math.abs(w)&&(w=1e-10*(b(w)||1));this.n=w;this.c=y*Math.pow(Math.tan((z+t)/2),w)/w}C.prototype.forward=function(b){var y=b[0]*e,w=this.c,t=this.n,r=this.projectedBounds;
654
+ b=b[1]*e;0<w?b<-z+.000001&&(b=-z+.000001):b>z-.000001&&(b=z-.000001);var n=w/Math.pow(Math.tan((z+b)/2),t);b=n*Math.sin(t*y)*63.78137;y=63.78137*(w-n*Math.cos(t*y));w=[b,y];r&&(b<r.x1||b>r.x2||y<r.y1||y>r.y2)&&(w.outside=!0);return w};C.prototype.inverse=function(w){var y=w[0]/63.78137,C=this.c,t=this.n;w=C-w[1]/63.78137;var r=b(t)*Math.sqrt(y*y+w*w),n=Math.atan2(y,Math.abs(w))*b(w);0>w*t&&(n-=Math.PI*b(y)*b(w));return[n/t/e,(2*Math.atan(Math.pow(C/r,1/t))-z)/e]};return C}()});H(e,"Maps/Projections/EqualEarth.js",
655
+ [],function(){var b=Math.sqrt(3)/2;return function(){function e(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}e.prototype.forward=function(e){var z=Math.PI/180,w=Math.asin(b*Math.sin(e[1]*z)),y=w*w,G=y*y*y;return[e[0]*z*Math.cos(w)*74.03120656864502/(b*(1.340264+3*-.081106*y+G*(7*.000893+.034164*y))),74.03120656864502*w*(1.340264+-.081106*y+G*(.000893+.003796*y))]};e.prototype.inverse=function(e){var z=e[0]/74.03120656864502;e=e[1]/74.03120656864502;
656
+ var w=180/Math.PI,y=e,G;for(G=0;12>G;++G){var t=y*y;var r=t*t*t;var n=y*(1.340264+-.081106*t+r*(.000893+.003796*t))-e;t=1.340264+3*-.081106*t+r*(7*.000893+.034164*t);y-=n/=t;if(1e-9>Math.abs(n))break}t=y*y;return[w*b*z*(1.340264+3*-.081106*t+t*t*t*(7*.000893+.034164*t))/Math.cos(y),w*Math.asin(Math.sin(y)/b)]};return e}()});H(e,"Maps/Projections/Miller.js",[],function(){var b=Math.PI/4,e=Math.PI/180;return function(){function z(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063,
657
+ y2:146.91480769173063}}z.prototype.forward=function(z){return[z[0]*e*63.78137,79.7267125*Math.log(Math.tan(b+.4*z[1]*e))]};z.prototype.inverse=function(z){return[z[0]/63.78137/e,2.5*(Math.atan(Math.exp(z[1]/63.78137*.8))-b)/e]};return z}()});H(e,"Maps/Projections/Orthographic.js",[],function(){var b=Math.PI/180;return function(){function e(){this.antimeridianCutting=!1;this.bounds={x1:-63.78460826781007,x2:63.78460826781007,y1:-63.78460826781007,y2:63.78460826781007}}e.prototype.forward=function(e){var z=
658
+ e[0];e=e[1]*b;e=[Math.cos(e)*Math.sin(z*b)*63.78460826781007,63.78460826781007*Math.sin(e)];if(-90>z||90<z)e.outside=!0;return e};e.prototype.inverse=function(e){var z=e[0]/63.78460826781007;e=e[1]/63.78460826781007;var w=Math.sqrt(z*z+e*e),y=Math.asin(w),G=Math.sin(y);return[Math.atan2(z*G,w*Math.cos(y))/b,Math.asin(w&&e*G/w)/b]};return e}()});H(e,"Maps/Projections/WebMercator.js",[],function(){var b=Math.PI/180;return function(){function e(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,
659
+ y1:-200.3750834278071,y2:200.3750834278071};this.maxLatitude=85.0511287798}e.prototype.forward=function(e){var z=Math.sin(e[1]*b);z=[63.78137*e[0]*b,63.78137*Math.log((1+z)/(1-z))/2];85.0511287798<Math.abs(e[1])&&(z.outside=!0);return z};e.prototype.inverse=function(e){return[e[0]/(63.78137*b),(2*Math.atan(Math.exp(e[1]/63.78137))-Math.PI/2)/b]};return e}()});H(e,"Maps/Projections/ProjectionRegistry.js",[e["Maps/Projections/LambertConformalConic.js"],e["Maps/Projections/EqualEarth.js"],e["Maps/Projections/Miller.js"],
660
+ e["Maps/Projections/Orthographic.js"],e["Maps/Projections/WebMercator.js"]],function(b,e,z,C,w){return{EqualEarth:e,LambertConformalConic:b,Miller:z,Orthographic:C,WebMercator:w}});H(e,"Maps/Projection.js",[e["Core/Geometry/PolygonClip.js"],e["Maps/Projections/ProjectionRegistry.js"],e["Core/Utilities.js"]],function(b,e,z){var C=this&&this.__spreadArray||function(b,a,f){if(f||2===arguments.length)for(var d=0,e=a.length,h;d<e;d++)!h&&d in a||(h||(h=Array.prototype.slice.call(a,0,d)),h[d]=a[d]);return b.concat(h||
661
+ Array.prototype.slice.call(a))},w=b.clipLineString,y=b.clipPolygon,G=z.clamp,t=z.erase,r=2*Math.PI/360,n=function(b){-180>b&&(b+=360);180<b&&(b-=360);return b};return function(){function b(a){void 0===a&&(a={});this.hasGeoProjection=this.hasCoordinates=!1;this.maxLatitude=90;this.options=a;var f=a.name,d=a.projectedBounds,e=a.rotation;this.rotator=e?this.getRotator(e):void 0;if(f=f?b.registry[f]:void 0)this.def=new f(a);var h=this.def,n=this.rotator;h&&(this.maxLatitude=h.maxLatitude||90,this.hasGeoProjection=
662
+ !0);n&&h?(this.forward=function(a){return h.forward(n.forward(a))},this.inverse=function(a){return n.inverse(h.inverse(a))}):h?(this.forward=function(a){return h.forward(a)},this.inverse=function(a){return h.inverse(a)}):n&&(this.forward=n.forward,this.inverse=n.inverse);this.bounds="world"===d?h&&h.bounds:d}b.add=function(a,f){b.registry[a]=f};b.greatCircle=function(a,b,d){var f=Math.atan2,e=Math.cos,h=Math.sin,n=Math.sqrt,x=a[1]*r,t=a[0]*r,q=b[1]*r,c=b[0]*r,B=q-x,m=c-t;B=h(B/2)*h(B/2)+e(x)*e(q)*
663
+ h(m/2)*h(m/2);B=2*f(n(B),n(1-B));var u=Math.round(6371E3*B/5E5);m=[];d&&m.push(a);if(1<u)for(u=a=1/u;.999>u;u+=a){var g=h((1-u)*B)/h(B),y=h(u*B)/h(B),l=g*e(x)*e(t)+y*e(q)*e(c),v=g*e(x)*h(t)+y*e(q)*h(c);g=g*h(x)+y*h(q);g=f(g,n(l*l+v*v));l=f(v,l);m.push([l/r,g/r])}d&&m.push(b);return m};b.insertGreatCircles=function(a){for(var f=a.length-1;f--;)if(10<Math.max(Math.abs(a[f][0]-a[f+1][0]),Math.abs(a[f][1]-a[f+1][1]))){var d=b.greatCircle(a[f],a[f+1]);d.length&&a.splice.apply(a,C([f+1,0],d,!1))}};b.toString=
664
+ function(a){a=a||{};var b=a.rotation;return[a.name,b&&b.join(",")].join(";")};b.prototype.lineIntersectsBounds=function(a){var b=this.bounds||{},d=b.x2,e=b.y1,h=b.y2,n=function(a,b,d){var c=a[0];a=a[1];var f=b?0:1;if("number"===typeof d&&c[b]>=d!==a[b]>=d)return c=c[f]+(d-c[b])/(a[b]-c[b])*(a[f]-c[f]),b?[c,d]:[d,c]},A=a[0];if(b=n(a,0,b.x1))A=b,a[1]=b;else if(b=n(a,0,d))A=b,a[1]=b;if(b=n(a,1,e))A=b;else if(b=n(a,1,h))A=b;return A};b.prototype.getRotator=function(a){var b=a[0]*r,d=(a[1]||0)*r;a=(a[2]||
665
+ 0)*r;var e=Math.cos(d),h=Math.sin(d),n=Math.cos(a),A=Math.sin(a);if(0!==b||0!==d||0!==a)return{forward:function(a){var d=a[0]*r+b,f=a[1]*r,c=Math.cos(f);a=Math.cos(d)*c;d=Math.sin(d)*c;f=Math.sin(f);c=f*e+a*h;return[Math.atan2(d*n-c*A,a*e-f*h)/r,Math.asin(c*n+d*A)/r]},inverse:function(a){var d=a[0]*r,f=a[1]*r,c=Math.cos(f);a=Math.cos(d)*c;d=Math.sin(d)*c;f=Math.sin(f);c=f*n-d*A;return[(Math.atan2(d*n+f*A,a*e+c*h)-b)/r,Math.asin(c*e-a*h)/r]}}};b.prototype.forward=function(a){return a};b.prototype.inverse=
666
+ function(a){return a};b.prototype.cutOnAntimeridian=function(a,f){var d=[],e=[a];a.forEach(function(b,c){var e=a[c-1];if(!c){if(!f)return;e=a[a.length-1]}var k=e[0],l=b[0];(-90>k||90<k)&&(-90>l||90<l)&&0<k!==0<l&&(l=G((180-(k+360)%360)/((l+360)%360-(k+360)%360),0,1),d.push({i:c,lat:e[1]+l*(b[1]-e[1]),direction:0>k?1:-1,previousLonLat:e,lonLat:b}))});if(d.length)if(f){if(1===d.length%2){var h=d.slice().sort(function(a,b){return Math.abs(b.lat)-Math.abs(a.lat)})[0];t(d,h)}for(var r=d.length-2;0<=r;){var A=
667
+ d[r].i,x=n(180+.000001*d[r].direction),y=n(180-.000001*d[r].direction);A=a.splice.apply(a,C([A,d[r+1].i-A],b.greatCircle([x,d[r].lat],[x,d[r+1].lat],!0),!1));A.push.apply(A,b.greatCircle([y,d[r+1].lat],[y,d[r].lat],!0));e.push(A);r-=2}if(h)for(x=0;x<e.length;x++){r=h.direction;var q=h.lat;y=e[x];A=y.indexOf(h.lonLat);if(-1<A){x=(0>q?-1:1)*this.maxLatitude;var c=n(180+.000001*r),B=n(180-.000001*r);q=b.greatCircle([c,q],[c,x],!0);for(c+=120*r;-180<c&&180>c;c+=120*r)q.push([c,x]);q.push.apply(q,b.greatCircle([B,
668
+ x],[B,h.lat],!0));y.splice.apply(y,C([A,0],q,!1));break}}}else for(r=d.length;r--;)A=d[r].i,A=a.splice(A,a.length,[n(180+.000001*d[r].direction),d[r].lat]),A.unshift([n(180-.000001*d[r].direction),d[r].lat]),e.push(A);return e};b.prototype.path=function(a){var f=this,d=this.bounds,e=this.def,h=this.rotator,n=[],r="Polygon"===a.type||"MultiPolygon"===a.type,x=this.hasGeoProjection,t=!e||!1!==e.antimeridianCutting,q=t?h:void 0,c=t?e||this:this,B;d&&(B=[[d.x1,d.y1],[d.x2,d.y1],[d.x2,d.y2],[d.x1,d.y2]]);
669
+ var m=function(a){a=a.map(function(a){if(t){q&&(a=q.forward(a));var b=a[0];.000001>Math.abs(b-180)&&(b=180>b?179.999999:180.000001);a=[b,a[1]]}return a});var e=[a];x&&(b.insertGreatCircles(a),t&&(e=f.cutOnAntimeridian(a,r)));e.forEach(function(a){if(!(2>a.length)){var f=!1,e=!1,g=function(a){f?n.push(["L",a[0],a[1]]):(n.push(["M",a[0],a[1]]),f=!0)},k=!1,h=!1,m=a.map(function(a){a=c.forward(a);a.outside?k=!0:h=!0;Infinity===a[1]?a[1]=1E10:-Infinity===a[1]&&(a[1]=-1E10);return a});if(t){r&&m.push(m[0]);
670
+ if(k){if(!h)return;if(B)if(r)m=y(m,B);else if(d){w(m,B).forEach(function(a){f=!1;a.forEach(g)});return}}m.forEach(g)}else for(var p=0;p<m.length;p++){var q=a[p],u=m[p];if(u.outside)e=!0;else{if(r&&!A){var A=q;a.push(q);m.push(u)}e&&z&&(r&&x?b.greatCircle(z,q).forEach(function(a){return g(c.forward(a))}):f=!1);g(u);var z=q;e=!1}}}})};"LineString"===a.type?m(a.coordinates):"MultiLineString"===a.type?a.coordinates.forEach(function(a){return m(a)}):"Polygon"===a.type?(a.coordinates.forEach(function(a){return m(a)}),
671
+ n.length&&n.push(["Z"])):"MultiPolygon"===a.type&&(a.coordinates.forEach(function(a){a.forEach(function(a){return m(a)})}),n.length&&n.push(["Z"]));return n};b.registry=e;return b}()});H(e,"Maps/MapView.js",[e["Maps/MapViewOptionsDefault.js"],e["Maps/MapViewInsetsOptionsDefault.js"],e["Extensions/GeoJSON.js"],e["Core/Chart/MapChart.js"],e["Maps/MapUtilities.js"],e["Maps/Projection.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y,G){var t=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||
672
+ {__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=this&&this.__spreadArray||function(a,b,c){if(c||2===arguments.length)for(var d=0,f=b.length,e;d<f;d++)!e&&d in b||(e||(e=Array.prototype.slice.call(b,0,d)),e[d]=b[d]);return a.concat(e||Array.prototype.slice.call(b))},n=z.topo2geo,
673
+ h=C.maps,a=w.boundsFromPath,f=w.pointInPolygon,d=G.addEvent,k=G.clamp,p=G.fireEvent,D=G.isArray,A=G.isNumber,x=G.isObject,E=G.isString,q=G.merge,c=G.pick,B=G.relativeLength,m=function(a,b){return Math.log(400.979322/Math.max((a.x2-a.x1)/(b.width/256),(a.y2-a.y1)/(b.height/256)))/Math.log(2)},u=function(){function a(c,f){var e=this;this.insets=[];this.padding=[0,0,0,0];this.eventsToUnbind=[];var k;if(!(this instanceof g)){var l=r([c.options.chart.map],(c.options.series||[]).map(function(a){return a.mapData}),
674
+ !0).map(function(a){return e.getGeoMap(a)}),h=[];l.forEach(function(a){a&&(k||(k=a["hc-recommended-mapview"]),a.bbox&&(a=a.bbox,h.push({x1:a[0],y1:a[1],x2:a[2],y2:a[3]})))});var m=h.length&&a.compositeBounds(h);if(m){var n=m.x1;var p=m.y1,v=m.x2;m=m.y2;n=180<v-n&&90<m-p?{name:"EqualEarth"}:{name:"LambertConformalConic",parallels:[p,m],rotation:[-(n+v)/2]}}this.geoMap=l[0]}this.userOptions=f||{};l=q(b,{projection:n},k,f);m=k&&k.insets;f=f&&f.insets;m&&f&&(l.insets=a.mergeInsets(m,f));this.chart=c;
675
+ this.center=l.center;this.options=l;this.projection=new y(l.projection);this.playingField=c.plotBox;this.zoom=l.zoom||0;this.createInsets();this.eventsToUnbind.push(d(c,"afterSetChartSize",function(){e.playingField=e.getField();if(void 0===e.minZoom||e.minZoom===e.zoom)e.fitToBounds(void 0,void 0,!1),!e.chart.hasRendered&&A(e.userOptions.zoom)&&(e.zoom=e.userOptions.zoom),e.userOptions.center&&q(!0,e.center,e.userOptions.center)}));this.setUpEvents()}a.mergeInsets=function(a,b){var c=function(a){var b=
676
+ {};a.forEach(function(a,c){b[a&&a.id||"i".concat(c)]=a});return b},d=q(c(a),c(b));return Object.keys(d).map(function(a){return d[a]})};a.prototype.createInsets=function(){var a=this,b=this.options,c=b.insets;c&&c.forEach(function(c){c=new g(a,q(b.insetOptions,c));a.insets.push(c)})};a.prototype.fitToBounds=function(a,b,d,f){void 0===d&&(d=!0);var e=a||this.getProjectedBounds();if(e){var g=c(b,a?0:this.options.padding);b=this.getField(!1);g=D(g)?g:[g,g,g,g];this.padding=[B(g[0],b.height),B(g[1],b.width),
677
+ B(g[2],b.height),B(g[3],b.width)];this.playingField=this.getField();b=m(e,this.playingField);a||(this.minZoom=b);a=this.projection.inverse([(e.x2+e.x1)/2,(e.y2+e.y1)/2]);this.setView(a,b,d,f)}};a.prototype.getField=function(a){void 0===a&&(a=!0);a=a?this.padding:[0,0,0,0];return{x:a[3],y:a[0],width:this.chart.plotWidth-a[1]-a[3],height:this.chart.plotHeight-a[0]-a[2]}};a.prototype.getGeoMap=function(a){if(E(a))return h[a];if(x(a,!0)){if("FeatureCollection"===a.type)return a;if("Topology"===a.type)return n(a)}};
678
+ a.prototype.getMapBBox=function(){var a=this.getProjectedBounds(),b=this.getScale();if(a){var c=this.padding,d=this.projectedUnitsToPixels({x:a.x1,y:a.y2});return{width:(a.x2-a.x1)*b+c[1]+c[3],height:(a.y2-a.y1)*b+c[0]+c[2],x:d.x-c[3],y:d.y-c[0]}}};a.prototype.getProjectedBounds=function(){var b=this.chart.series.reduce(function(a,b){var c=b.getProjectedBounds&&b.getProjectedBounds();c&&!1!==b.options.affectsMapView&&a.push(c);return a},[]);return this.projection.bounds||a.compositeBounds(b)};a.prototype.getScale=
679
+ function(){return 256/400.979322*Math.pow(2,this.zoom)};a.prototype.getSVGTransform=function(){var a=this.playingField,b=a.x,c=a.y,d=a.width;a=a.height;var f=this.projection.forward(this.center),e=this.projection.hasCoordinates?-1:1,g=this.getScale();e*=g;return{scaleX:g,scaleY:e,translateX:b+d/2-f[0]*g,translateY:c+a/2-f[1]*e}};a.prototype.lonLatToPixels=function(a){if(a=this.lonLatToProjectedUnits(a))return this.projectedUnitsToPixels(a)};a.prototype.lonLatToProjectedUnits=function(a){var b=this.chart,
680
+ c=b.mapTransforms;if(c){for(var d in c)if(Object.hasOwnProperty.call(c,d)&&c[d].hitZone){var e=b.transformFromLatLon(a,c[d]);if(e&&f(e,c[d].hitZone.coordinates[0]))return e}return b.transformFromLatLon(a,c["default"])}c=0;for(d=this.insets;c<d.length;c++)if(b=d[c],b.options.geoBounds&&f({x:a.lon,y:a.lat},b.options.geoBounds.coordinates[0]))return a=b.projection.forward([a.lon,a.lat]),a=b.projectedUnitsToPixels({x:a[0],y:a[1]}),this.pixelsToProjectedUnits(a);a=this.projection.forward([a.lon,a.lat]);
681
+ if(!a.outside)return{x:a[0],y:a[1]}};a.prototype.projectedUnitsToLonLat=function(a){var b=this.chart,c=b.mapTransforms;if(c){for(var d in c)if(Object.hasOwnProperty.call(c,d)&&c[d].hitZone&&f(a,c[d].hitZone.coordinates[0]))return b.transformToLatLon(a,c[d]);return b.transformToLatLon(a,c["default"])}c=this.projectedUnitsToPixels(a);d=0;for(var e=this.insets;d<e.length;d++)if(b=e[d],b.hitZone&&f(c,b.hitZone.coordinates[0]))return a=b.pixelsToProjectedUnits(c),a=b.projection.inverse([a.x,a.y]),{lon:a[0],
682
+ lat:a[1]};a=this.projection.inverse([a.x,a.y]);return{lon:a[0],lat:a[1]}};a.prototype.redraw=function(a){this.chart.series.forEach(function(a){a.useMapGeometry&&(a.isDirty=!0)});this.chart.redraw(a)};a.prototype.setView=function(a,b,c,d){void 0===c&&(c=!0);a&&(this.center=a);"number"===typeof b&&("number"===typeof this.minZoom&&(b=Math.max(b,this.minZoom)),"number"===typeof this.options.maxZoom&&(b=Math.min(b,this.options.maxZoom)),A(b)&&(this.zoom=b));var f=this.getProjectedBounds();if(f){a=this.projection.forward(this.center);
683
+ var e=this.playingField;b=e.x;var g=e.y,k=e.width;e=e.height;var h=this.getScale(),l=this.projectedUnitsToPixels({x:f.x1,y:f.y1}),m=this.projectedUnitsToPixels({x:f.x2,y:f.y2});f=[(f.x1+f.x2)/2,(f.y1+f.y2)/2];var n=l.x,q=m.y;m=m.x;l=l.y;m-n<k?a[0]=f[0]:n<b&&m<b+k?a[0]+=Math.max(n-b,m-k-b)/h:m>b+k&&n>b&&(a[0]+=Math.min(m-k-b,n-b)/h);l-q<e?a[1]=f[1]:q<g&&l<g+e?a[1]-=Math.max(q-g,l-e-g)/h:l>g+e&&q>g&&(a[1]-=Math.min(l-e-g,q-g)/h);this.center=this.projection.inverse(a);this.insets.forEach(function(a){a.options.field&&
684
+ (a.hitZone=a.getHitZone(),a.playingField=a.getField())});this.render()}p(this,"afterSetView");c&&this.redraw(d)};a.prototype.projectedUnitsToPixels=function(a){var b=this.getScale(),c=this.projection.forward(this.center),d=this.playingField;return{x:d.x+d.width/2-b*(c[0]-a.x),y:d.y+d.height/2+b*(c[1]-a.y)}};a.prototype.pixelsToLonLat=function(a){return this.projectedUnitsToLonLat(this.pixelsToProjectedUnits(a))};a.prototype.pixelsToProjectedUnits=function(a){var b=a.x;a=a.y;var c=this.getScale(),
685
+ d=this.projection.forward(this.center),f=this.playingField;return{x:d[0]+(b-(f.x+f.width/2))/c,y:d[1]-(a-(f.y+f.height/2))/c}};a.prototype.setUpEvents=function(){var a=this,b=this.chart,c,f,e,g=function(d){var g=b.pointer.pinchDown,h=a.projection,l=b.mouseDownX,n=b.mouseDownY;1===g.length&&(l=g[0].chartX,n=g[0].chartY);if("number"===typeof l&&"number"===typeof n){var p=""+l+",".concat(n),q=d.originalEvent;g=q.chartX;q=q.chartY;p!==f&&(f=p,c=a.projection.forward(a.center),e=(a.projection.options.rotation||
686
+ [0,0]).slice());p=(p=h.def&&h.def.bounds)&&m(p,a.playingField)||-Infinity;"Orthographic"===h.options.name&&(a.minZoom||Infinity)<1.1*p?(h=440/(a.getScale()*Math.min(b.plotWidth,b.plotHeight)),e&&(l=(l-g)*h-e[0],n=k(-e[1]-(n-q)*h,-80,80),g=a.zoom,a.update({projection:{rotation:[-l,-n]}},!1),a.zoom=g,b.redraw(!1))):(h=a.getScale(),n=a.projection.inverse([c[0]+(l-g)/h,c[1]-(n-q)/h]),a.setView(n,void 0,!0,!1));d.preventDefault()}};d(b,"pan",g);d(b,"touchpan",g);d(b,"selection",function(c){if(c.resetSelection)a.zoomBy();
687
+ else{var d=c.x-b.plotLeft,f=c.y-b.plotTop,e=a.pixelsToProjectedUnits({x:d,y:f}),g=e.y;e=e.x;d=a.pixelsToProjectedUnits({x:d+c.width,y:f+c.height});a.fitToBounds({x1:e,y1:g,x2:d.x,y2:d.y},void 0,!0,c.originalEvent.touches?!1:void 0);/^touch/.test(c.originalEvent.type)||b.showResetZoom();c.preventDefault()}})};a.prototype.render=function(){this.group||(this.group=this.chart.renderer.g("map-view").attr({zIndex:4}).add())};a.prototype.update=function(a,b,c){void 0===b&&(b=!0);var d=a.projection;d=d&&
688
+ y.toString(d)!==y.toString(this.options.projection);var f=!1;q(!0,this.userOptions,a);q(!0,this.options,a);"insets"in a&&(this.insets.forEach(function(a){return a.destroy()}),this.insets.length=0,f=!0);if(d||f)this.chart.series.forEach(function(a){var b=a.transformGroups;a.clearBounds&&a.clearBounds();a.isDirty=!0;a.isDirtyData=!0;if(f&&b)for(;1<b.length;)(a=b.pop())&&a.destroy()}),d&&(this.projection=new y(this.options.projection)),f&&this.createInsets(),a.center||A(a.zoom)||this.fitToBounds(void 0,
689
+ void 0,!1);(a.center||A(a.zoom))&&this.setView(this.options.center,a.zoom,!1);b&&this.chart.redraw(c)};a.prototype.zoomBy=function(a,b,c,d){var f=this.chart,e=this.projection.forward(this.center);b=b?this.projection.forward(b):[];var g=b[0],k=b[1];"number"===typeof a?(a=this.zoom+a,b=void 0,c&&(g=c[0],k=c[1],c=this.getScale(),g=g-f.plotLeft-f.plotWidth/2,f=k-f.plotTop-f.plotHeight/2,g=e[0]+g/c,k=e[1]+f/c),"number"===typeof g&&"number"===typeof k&&(c=1-Math.pow(2,this.zoom)/Math.pow(2,a),g=e[0]-g,
690
+ f=e[1]-k,e[0]-=g*c,e[1]+=f*c,b=this.projection.inverse(e)),this.setView(b,a,void 0,d)):this.fitToBounds(void 0,void 0,void 0,d)};a.compositeBounds=function(a){if(a.length)return a.slice(1).reduce(function(a,b){a.x1=Math.min(a.x1,b.x1);a.y1=Math.min(a.y1,b.y1);a.x2=Math.max(a.x2,b.x2);a.y2=Math.max(a.y2,b.y2);return a},q(a[0]))};return a}(),g=function(b){function c(c,d){var f=b.call(this,c.chart,d)||this;f.id=d.id;f.mapView=c;f.options=q(e,d);f.allBounds=[];f.options.geoBounds&&(c=c.projection.path(f.options.geoBounds),
691
+ f.geoBoundsProjectedBox=a(c),f.geoBoundsProjectedPolygon=c.map(function(a){return[a[1]||0,a[2]||0]}));return f}t(c,b);c.prototype.getField=function(a){void 0===a&&(a=!0);var c=this.hitZone;if(c){var d=a?this.padding:[0,0,0,0];c=c.coordinates[0];var f=c.map(function(a){return a[0]}),e=c.map(function(a){return a[1]});c=Math.min.apply(0,f)+d[3];f=Math.max.apply(0,f)-d[1];var g=Math.min.apply(0,e)+d[0];d=Math.max.apply(0,e)-d[2];if(A(c)&&A(g))return{x:c,y:g,width:f-c,height:d-g}}return b.prototype.getField.call(this,
692
+ a)};c.prototype.getHitZone=function(){var a=this.chart,b=this.mapView,c=this.options,d=(c.field||{}).coordinates;if(d){d=d[0];if("percent"===c.units){var f="mapBoundingBox"===c.relativeTo&&b.getMapBBox()||q(a.plotBox,{x:0,y:0});d=d.map(function(a){return[B(""+a[0]+"%",f.width,f.x),B(""+a[1]+"%",f.height,f.y)]})}return{type:"Polygon",coordinates:[d]}}};c.prototype.getProjectedBounds=function(){return u.compositeBounds(this.allBounds)};c.prototype.isInside=function(a){var b=this.geoBoundsProjectedBox,
693
+ c=this.geoBoundsProjectedPolygon;return!!(b&&a.x>=b.x1&&a.x<=b.x2&&a.y>=b.y1&&a.y<=b.y2&&c&&f(a,c))};c.prototype.render=function(){var a=this.chart,b=this.mapView,c=this.options,d=c.borderPath||c.field;if(d&&b.group){var f=!0;this.border||(this.border=a.renderer.path().addClass("highcharts-mapview-inset-border").add(b.group),f=!1);a.styledMode||this.border.attr({stroke:c.borderColor,"stroke-width":c.borderWidth});var e=Math.round(this.border.strokeWidth())%2/2,g="mapBoundingBox"===c.relativeTo&&b.getMapBBox()||
694
+ b.playingField;b=(d.coordinates||[]).reduce(function(b,d){return d.reduce(function(b,d,f){var k=d[0];d=d[1];"percent"===c.units&&(k=a.plotLeft+B(""+k+"%",g.width,g.x),d=a.plotTop+B(""+d+"%",g.height,g.y));k=Math.floor(k)+e;d=Math.floor(d)+e;b.push(0===f?["M",k,d]:["L",k,d]);return b},b)},[]);this.border[f?"animate":"attr"]({d:b})}};c.prototype.destroy=function(){this.border&&(this.border=this.border.destroy());this.eventsToUnbind.forEach(function(a){return a()})};c.prototype.setUpEvents=function(){};
695
+ return c}(u);d(C,"afterInit",function(){this.mapView=new u(this,this.options.mapView)});return u});H(e,"Series/Map/MapSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Series/ColorMapComposition.js"],e["Series/CenteredUtilities.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/MapChart.js"],e["Series/Map/MapPoint.js"],e["Maps/MapView.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(b,
696
+ e,z,C,w,y,G,t,r,n,h,a){var f=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=b.animObject;b=C.noop;var k=y.splitPath;y=n.seriesTypes;var p=y.column,D=y.scatter;y=a.extend;var A=a.find,x=a.fireEvent,
697
+ E=a.getNestedProperty,q=a.isArray,c=a.defined,B=a.isNumber,m=a.isObject,u=a.merge,g=a.objectEach,F=a.pick,l=a.splat;a=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.chart=void 0;b.data=void 0;b.group=void 0;b.joinBy=void 0;b.options=void 0;b.points=void 0;b.processedData=[];return b}f(b,a);b.prototype.animate=function(a){var b=this.chart,c=this.group,f=d(this.options.animation);b.renderer.isSVG&&(a?c.attr({translateX:b.plotLeft+b.plotWidth/2,translateY:b.plotTop+b.plotHeight/
698
+ 2,scaleX:.001,scaleY:.001}):c.animate({translateX:b.plotLeft,translateY:b.plotTop,scaleX:1,scaleY:1},f))};b.prototype.animateDrilldown=function(a){var b=this.chart,c=this.group;b.renderer.isSVG&&(a?c.attr({translateX:b.plotLeft+b.plotWidth/2,translateY:b.plotTop+b.plotHeight/2,scaleX:.1,scaleY:.1,opacity:.01}):(c.animate({translateX:b.plotLeft,translateY:b.plotTop,scaleX:1,scaleY:1,opacity:1},this.chart.options.drilldown.animation),b.drilldown&&b.drilldown.fadeInGroup(this.dataLabelsGroup)))};b.prototype.animateDrillupFrom=
699
+ function(){var a=this.chart;a.renderer.isSVG&&this.group.animate({translateX:a.plotLeft+a.plotWidth/2,translateY:a.plotTop+a.plotHeight/2,scaleX:.1,scaleY:.1,opacity:.01})};b.prototype.animateDrillupTo=function(a){p.prototype.animateDrillupTo.call(this,a)};b.prototype.clearBounds=function(){this.points.forEach(function(a){delete a.bounds;delete a.insetIndex;delete a.projectedPath});delete this.bounds};b.prototype.doFullTranslate=function(){return!(!(this.isDirtyData||this.chart.isResizing||this.chart.renderer.isVML)&&
700
+ this.hasRendered)};b.prototype.drawMapDataLabels=function(){r.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)};b.prototype.drawPoints=function(){var a=this,b=this,c=this.chart,d=this.group,f=this.transformGroups,e=void 0===f?[]:f,g=c.mapView,k=c.renderer;g&&(this.transformGroups=e,e[0]||(e[0]=k.g().add(d)),g.insets.forEach(function(a,b){e[b+1]||e.push(k.g().add(d))}),this.doFullTranslate()&&(this.points.forEach(function(b){var d=b.graphic,f=
701
+ b.shapeArgs;b.group=e["number"===typeof b.insetIndex?b.insetIndex+1:0];d&&d.parentGroup!==b.group&&d.add(b.group);f&&c.hasRendered&&!c.styledMode&&(f.fill=a.pointAttribs(b,b.state).fill)}),p.prototype.drawPoints.apply(this),this.points.forEach(function(d){var f=d.graphic;if(f){var e=f.animate,g="";d.name&&(g+="highcharts-name-"+d.name.replace(/ /g,"-").toLowerCase());d.properties&&d.properties["hc-key"]&&(g+=" highcharts-key-"+d.properties["hc-key"].toString().toLowerCase());g&&f.addClass(g);c.styledMode&&
702
+ f.css(a.pointAttribs(d,d.selected&&"select"||void 0));f.animate=function(a,d,g){var k=!1;if(a["stroke-width"]){var h=F(b.getStrokeWidth(b.options),1)/(c.mapView&&c.mapView.getScale()||1);"inherit"===f["stroke-width"]&&(f["stroke-width"]=h);"inherit"===a["stroke-width"]&&(a["stroke-width"]=h,k=!0)}return e.call(f,a,d,k?function(){f.attr({"stroke-width":"inherit"});g&&g.apply(this,arguments)}:g)}}})),e.forEach(function(b,d){var f=(0===d?g:g.insets[d-1]).getSVGTransform(),e=F(a.getStrokeWidth(a.options),
703
+ 1),h=f.scaleX,l=0<f.scaleY?1:-1;if(k.globalAnimation&&c.hasRendered){var m=Number(b.attr("translateX")),n=Number(b.attr("translateY")),p=Number(b.attr("scaleX"));b.attr({animator:0}).animate({animator:1},{step:function(a,c){a=p+(h-p)*c.pos;b.attr({translateX:m+(f.translateX-m)*c.pos,translateY:n+(f.translateY-n)*c.pos,scaleX:a,scaleY:a*l});b.element.setAttribute("stroke-width",e/a)}})}else b.attr(f),b.element.setAttribute("stroke-width",e/h)}),this.drawMapDataLabels())};b.prototype.getProjectedBounds=
704
+ function(){if(!this.bounds&&this.chart.mapView){var a=this.chart.mapView,b=a.insets,c=a.projection,d=[];(this.points||[]).forEach(function(a){if(a.path||a.geometry){"string"===typeof a.path?a.path=k(a.path):q(a.path)&&"M"===a.path[0]&&(a.path=h.prototype.pathToSegments(a.path));if(!a.bounds){var f=a.getProjectedBounds(c);if(f){a.labelrank=F(a.labelrank,(f.x2-f.x1)*(f.y2-f.y1));var e=f.midX,g=f.midY;if(b&&B(e)&&B(g)){var l=A(b,function(a){return a.isInside({x:e,y:g})});l&&(delete a.projectedPath,(f=
705
+ a.getProjectedBounds(l.projection))&&l.allBounds.push(f),a.insetIndex=b.indexOf(l))}a.bounds=f}}a.bounds&&void 0===a.insetIndex&&d.push(a.bounds)}});this.bounds=t.compositeBounds(d)}return this.bounds};b.prototype.getStrokeWidth=function(a){var b=this.pointAttrToOptions;return a[b&&b["stroke-width"]||"borderWidth"]};b.prototype.hasData=function(){return!!this.processedXData.length};b.prototype.pointAttribs=function(a,b){var d=a.series.chart,f=d.mapView;d=d.styledMode?this.colorAttribs(a):p.prototype.pointAttribs.call(this,
706
+ a,b);var e=this.getStrokeWidth(a.options);b&&(b=u(this.options.states[b],a.options.states&&a.options.states[b]||{}),e=this.getStrokeWidth(b));e&&f&&(e/=f.getScale());b=this.getStrokeWidth(this.options);d.dashstyle&&f&&B(b)&&(e=b/f.getScale());a.visible||(d.fill=this.options.nullColor);c(e)?d["stroke-width"]=e:delete d["stroke-width"];return d};b.prototype.updateData=function(){return this.processedData?!1:a.prototype.updateData.apply(this,arguments)};b.prototype.setData=function(b,c,d,f){void 0===
707
+ c&&(c=!0);delete this.bounds;a.prototype.setData.call(this,b,!1,void 0,f);this.processData();this.generatePoints();c&&this.chart.redraw(d)};b.prototype.processData=function(){var a=this.options,b=a.data,c=this.chart.options.chart,d=this.joinBy,f=a.keys||this.pointArrayMap,e=[],k={},h=this.chart.mapView;h=h&&(m(a.mapData,!0)?h.getGeoMap(a.mapData):h.geoMap);var l=this.chart.mapTransforms;(this.chart.mapTransforms=l=c.mapTransforms||h&&h["hc-transform"]||l)&&g(l,function(a){a.rotation&&(a.cosAngle=
708
+ Math.cos(a.rotation),a.sinAngle=Math.sin(a.rotation))});if(q(a.mapData))var n=a.mapData;else h&&"FeatureCollection"===h.type&&(this.mapTitle=h.title,n=C.geojson(h,this.type,this));var p=this.processedData=[];b&&b.forEach(function(c,e){var g=0;if(B(c))p[e]={value:c};else if(q(c)){p[e]={};!a.keys&&c.length>f.length&&"string"===typeof c[0]&&(p[e]["hc-key"]=c[0],++g);for(var k=0;k<f.length;++k,++g)f[k]&&"undefined"!==typeof c[g]&&(0<f[k].indexOf(".")?G.prototype.setNestedProperty(p[e],c[g],f[k]):p[e][f[k]]=
709
+ c[g])}else p[e]=b[e];d&&"_i"===d[0]&&(p[e]._i=e)});if(n){this.mapData=n;this.mapMap={};for(l=0;l<n.length;l++)c=n[l],h=c.properties,c._i=l,d[0]&&h&&h[d[0]]&&(c[d[0]]=h[d[0]]),k[c[d[0]]]=c;this.mapMap=k;if(d[1]){var r=d[1];p.forEach(function(a){a=E(r,a);k[a]&&e.push(k[a])})}if(a.allAreas){if(d[1]){var x=d[1];p.forEach(function(a){e.push(E(x,a))})}var A="|"+e.map(function(a){return a&&a[d[0]]}).join("|")+"|";n.forEach(function(a){d[0]&&-1!==A.indexOf("|"+a[d[0]]+"|")||p.push(u(a,{value:null}))})}}this.processedXData=
710
+ Array(p.length)};b.prototype.setOptions=function(a){a=r.prototype.setOptions.call(this,a);var b=a.joinBy;null===b&&(b="_i");b=this.joinBy=l(b);b[1]||(b[1]=b[0]);return a};b.prototype.translate=function(){var a=this.doFullTranslate(),b=this.chart.mapView,c=b&&b.projection;!this.chart.hasRendered||!this.isDirtyData&&this.hasRendered||(this.processData(),this.generatePoints(),delete this.bounds,!b||b.userOptions.center||B(b.userOptions.zoom)?this.getProjectedBounds():b.fitToBounds(void 0,void 0,!1));
711
+ if(b){var d=b.getSVGTransform();this.points.forEach(function(f){var e=B(f.insetIndex)&&b.insets[f.insetIndex].getSVGTransform()||d;e&&f.bounds&&B(f.bounds.midX)&&B(f.bounds.midY)&&(f.plotX=f.bounds.midX*e.scaleX+e.translateX,f.plotY=f.bounds.midY*e.scaleY+e.translateY);a&&(f.shapeType="path",f.shapeArgs={d:G.getProjectedPath(f,c)})})}x(this,"afterTranslate")};b.defaultOptions=u(D.defaultOptions,{affectsMapView:!0,animation:!1,dataLabels:{crop:!1,formatter:function(){var a=this.series.chart.numberFormatter,
712
+ b=this.point.value;return B(b)?a(b,-1):""},inside:!0,overflow:!1,padding:0,verticalAlign:"middle"},marker:null,nullColor:"#f7f7f7",stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.value}<br/>"},turboThreshold:0,allAreas:!0,borderColor:"#cccccc",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"}}});return b}(D);y(a.prototype,{type:"map",axisTypes:e.seriesMembers.axisTypes,colorAttribs:e.seriesMembers.colorAttribs,
713
+ colorKey:e.seriesMembers.colorKey,directTouch:!0,drawDataLabels:b,drawGraph:b,drawLegendSymbol:w.drawRectangle,forceDL:!0,getCenter:z.getCenter,getExtremesFromAll:!0,getSymbol:b,isCartesian:!1,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:e.seriesMembers.pointArrayMap,pointClass:G,preserveAspectRatio:!0,searchPoint:b,trackerGroups:e.seriesMembers.trackerGroups,useMapGeometry:!0});e.compose(a);n.registerSeriesType("map",a);"";return a});H(e,"Series/MapLine/MapLineSeries.js",[e["Series/Map/MapSeries.js"],
714
+ e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z){var C=this&&this.__extends||function(){var b=function(e,n){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(e,n)};return function(e,n){function h(){this.constructor=e}b(e,n);e.prototype=null===n?Object.create(n):(h.prototype=n.prototype,new h)}}(),w=e.series,y=z.extend,G=z.merge;z=function(e){function r(){var b=null!==
715
+ e&&e.apply(this,arguments)||this;b.data=void 0;b.options=void 0;b.points=void 0;return b}C(r,e);r.prototype.pointAttribs=function(e,h){e=b.prototype.pointAttribs.call(this,e,h);e.fill=this.options.fillColor;return e};r.defaultOptions=G(b.defaultOptions,{lineWidth:1,fillColor:"none"});return r}(b);y(z.prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:w.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}});e.registerSeriesType("mapline",z);"";return z});
716
+ H(e,"Series/MapPoint/MapPointPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var z=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 n in e)e.hasOwnProperty(n)&&(b[n]=e[n])};return b(e,w)};return function(e,w){function t(){this.constructor=e}b(e,w);e.prototype=null===w?Object.create(w):(t.prototype=w.prototype,new t)}}(),C=e.isNumber;return function(b){function e(){var e=
717
+ null!==b&&b.apply(this,arguments)||this;e.options=void 0;e.series=void 0;return e}z(e,b);e.prototype.isValid=function(){return!!(this.options.geometry||C(this.x)&&C(this.y)||C(this.options.lon)&&C(this.options.lat))};return e}(b.seriesTypes.scatter.prototype.pointClass)});H(e,"Series/MapPoint/MapPointSeries.js",[e["Core/Globals.js"],e["Series/MapPoint/MapPointPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z,C){var w=this&&this.__extends||function(){var a=function(b,
718
+ 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 f(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}();b=b.noop;var y=z.seriesTypes,G=y.map,t=y.scatter;y=C.extend;var r=C.fireEvent,n=C.isNumber,h=C.merge;C=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.chart=void 0;b.data=void 0;
719
+ b.options=void 0;b.points=void 0;b.clearBounds=G.prototype.clearBounds;return b}w(b,a);b.prototype.drawDataLabels=function(){a.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)};b.prototype.projectPoint=function(a){var b=this.chart.mapView;if(b){var d=a.geometry,f=a.lon;a=a.lat;d=d&&"Point"===d.type&&d.coordinates;n(f)&&n(a)&&(d=[f,a]);if(d)return b.lonLatToProjectedUnits({lon:d[0],lat:d[1]})}};b.prototype.translate=function(){var a=this,b=this.chart.mapView;
720
+ this.processedXData||this.processData();this.generatePoints();this.getProjectedBounds&&this.isDirtyData&&(delete this.bounds,this.getProjectedBounds());if(b){var f=b.getSVGTransform(),e=b.projection.hasCoordinates;this.points.forEach(function(d){var k=d.x;k=void 0===k?void 0:k;var h=d.y;h=void 0===h?void 0:h;var p=n(d.insetIndex)&&b.insets[d.insetIndex].getSVGTransform()||f,c=a.projectPoint(d.options)||d.properties&&a.projectPoint(d.properties);if(c)k=c.x,h=c.y;else if(d.bounds&&(k=d.bounds.midX,
721
+ h=d.bounds.midY,p&&n(k)&&n(h))){d.plotX=k*p.scaleX+p.translateX;d.plotY=h*p.scaleY+p.translateY;var r=!0}n(k)&&n(h)?r||(r=b.projectedUnitsToPixels({x:k,y:h}),d.plotX=r.x,d.plotY=e?r.y:a.chart.plotHeight-r.y):d.y=d.plotX=d.plotY=void 0;d.isInside=a.isPointInside(d);d.zone=a.zones.length?d.getZone():void 0})}r(this,"afterTranslate")};b.defaultOptions=h(t.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}});return b}(t);
722
+ y(C.prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:e,searchPoint:b,useMapGeometry:!0});z.registerSeriesType("mappoint",C);"";return C});H(e,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{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",
723
+ color:"#000000"},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(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,z,C){var w=b.parse,y=z.noop,G=C.arrayMax,t=C.arrayMin,r=C.isNumber,n=C.merge,h=C.pick,a=C.stableSort;b=function(){function b(a,b){this.options=this.symbols=
724
+ this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0;this.setState=y;this.init(a,b)}b.prototype.init=function(a,b){this.options=a;this.visible=!0;this.chart=b.chart;this.legend=b};b.prototype.addToLegend=function(a){a.splice(this.options.legendIndex,0,this)};b.prototype.drawLegendSymbol=function(b){var d=this.chart,e=h(b.options.itemDistance,20),f=this.legendItem||{},n=this.options,x=n.ranges,t=n.connectorDistance;this.fontMetrics=d.renderer.fontMetrics(n.labels.style.fontSize);
725
+ x&&x.length&&r(x[0].value)?(a(x,function(a,b){return b.value-a.value}),this.ranges=x,this.setOptions(),this.render(),b=this.getMaxLabelSize(),x=this.ranges[0].radius,d=2*x,t=t-x+b.width,t=0<t?t:0,this.maxLabel=b,this.movementX="left"===n.labels.align?t:0,f.labelWidth=d+t+e,f.labelHeight=d+this.fontMetrics.h/2):b.options.bubbleLegend.autoRanges=!0};b.prototype.setOptions=function(){var a=this.ranges,b=this.options,e=this.chart.series[b.seriesIndex],f=this.legend.baseline,r={zIndex:b.zIndex,"stroke-width":b.borderWidth},
726
+ x={zIndex:b.zIndex,"stroke-width":b.connectorWidth},t={align:this.legend.options.rtl||"left"===b.labels.align?"right":"left",zIndex:b.zIndex},q=e.options.marker.fillOpacity,c=this.chart.styledMode;a.forEach(function(d,k){c||(r.stroke=h(d.borderColor,b.borderColor,e.color),r.fill=h(d.color,b.color,1!==q?w(e.color).setOpacity(q).get("rgba"):e.color),x.stroke=h(d.connectorColor,b.connectorColor,e.color));a[k].radius=this.getRangeRadius(d.value);a[k]=n(a[k],{center:a[0].radius-a[k].radius+f});c||n(!0,
727
+ a[k],{bubbleAttribs:n(r),connectorAttribs:n(x),labelAttribs:t})},this)};b.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)};b.prototype.render=function(){var a=this.legendItem||{},b=this.chart.renderer,e=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});a.symbol=b.g("bubble-legend");a.label=b.g("bubble-legend-item");
728
+ a.symbol.translateX=0;b=a.symbol.translateY=0;for(var f=this.ranges;b<f.length;b++){var h=f[b];h.value>=e&&this.renderRange(h)}a.symbol.add(a.label);a.label.add(a.group);this.hideOverlappingLabels()};b.prototype.renderRange=function(a){var b=this.options,d=b.labels,e=this.chart,f=e.series[b.seriesIndex],h=e.renderer,n=this.symbols;e=n.labels;var q=a.center,c=Math.abs(a.radius),r=b.connectorDistance||0,m=d.align,u=b.connectorWidth,g=this.ranges[0].radius||0,t=q-c-b.borderWidth/2+u/2,l=this.fontMetrics;
729
+ l=l.f/2-(l.h-l.f)/2;var v=h.styledMode;r=this.legend.options.rtl||"left"===m?-r:r;"center"===m&&(r=0,b.connectorDistance=0,a.labelAttribs.align="center");m=t+b.labels.y;var y=g+r+b.labels.x;n.bubbleItems.push(h.circle(g,q+((t%1?1:.5)-(u%2?0:.5)),c).attr(v?{}:a.bubbleAttribs).addClass((v?"highcharts-color-"+f.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(b.className||"")).add(this.legendItem.symbol));n.connectors.push(h.path(h.crispLine([["M",g,t],["L",g+r,t]],b.connectorWidth)).attr(v?{}:
730
+ a.connectorAttribs).addClass((v?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(b.connectorClassName||"")).add(this.legendItem.symbol));a=h.text(this.formatLabel(a),y,m+l).attr(v?{}:a.labelAttribs).css(v?{}:d.style).addClass("highcharts-bubble-legend-labels "+(b.labels.className||"")).add(this.legendItem.symbol);e.push(a);a.placed=!0;a.alignAttr={x:y,y:m+l}};b.prototype.getMaxLabelSize=function(){var a,b;this.symbols.labels.forEach(function(d){b=d.getBBox(!0);
731
731
  a=a?b.width>a.width?b:a:b});return a||{}};b.prototype.formatLabel=function(a){var b=this.options,d=b.labels.formatter;b=b.labels.format;var f=this.chart.numberFormatter;return b?e.format(b,a):d?d.call(a):f(a.value,1)};b.prototype.hideOverlappingLabels=function(){var a=this.chart,b=this.symbols;!this.options.labels.allowOverlap&&b&&(a.hideOverlappingLabels(b.labels),b.labels.forEach(function(a,d){a.newOpacity?a.newOpacity!==a.oldOpacity&&b.connectors[d].show():b.connectors[d].hide()}))};b.prototype.getRanges=
732
- function(){var a=this.legend.bubbleLegend,b=a.options.ranges,e,f=Number.MAX_VALUE,q=-Number.MAX_VALUE;a.chart.series.forEach(function(a){a.isBubble&&!a.ignoreSeries&&(e=a.zData.filter(v),e.length&&(f=l(a.options.zMin,Math.min(f,Math.max(x(e),!1===a.options.displayNegative?a.options.zThreshold:-Number.MAX_VALUE))),q=l(a.options.zMax,Math.max(q,F(e)))))});var w=f===q?[{value:q}]:[{value:f},{value:(f+q)/2},{value:q,autoRanges:!0}];b.length&&b[0].radius&&w.reverse();w.forEach(function(a,d){b&&b[d]&&(w[d]=
733
- m(b[d],a))});return w};b.prototype.predictBubbleSizes=function(){var a=this.chart,b=this.fontMetrics,e=a.legend.options,f=e.floating,l=(e="horizontal"===e.layout)?a.legend.lastLineHeight:0,m=a.plotSizeX,q=a.plotSizeY,t=a.series[this.options.seriesIndex],h=t.getPxExtremes();a=Math.ceil(h.minPxSize);h=Math.ceil(h.maxPxSize);var y=Math.min(q,m);t=t.options.maxSize;if(f||!/%$/.test(t))b=h;else if(t=parseFloat(t),b=(y+l-b.h/2)*t/100/(t/100+1),e&&q-b>=m||!e&&m-b>=q)b=h;return[a,Math.ceil(b)]};b.prototype.updateRanges=
734
- function(a,b){var d=this.legend.options.bubbleLegend;d.minSize=a;d.maxSize=b;d.ranges=this.getRanges()};b.prototype.correctSizes=function(){var a=this.legend,b=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(b.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,b.maxPxSize),a.render())};return b}();"";return b});J(e,"Series/Bubble/BubbleLegendComposition.js",[e["Series/Bubble/BubbleLegendDefaults.js"],e["Series/Bubble/BubbleLegendItem.js"],e["Core/Defaults.js"],
735
- e["Core/Utilities.js"]],function(b,e,u,C){function B(a,b,d){var e=this.legend,l=0<=q(this),k;if(e&&e.options.enabled&&e.bubbleLegend&&e.options.bubbleLegend.autoRanges&&l){var h=e.bubbleLegend.options;l=e.bubbleLegend.predictBubbleSizes();e.bubbleLegend.updateRanges(l[0],l[1]);h.placed||(e.group.placed=!1,e.allItems.forEach(function(a){k=a.legendItem||{};k.group&&(k.group.translateY=null)}));e.render();this.getMargins();this.axes.forEach(function(a){a.visible&&a.render();h.placed||(a.setScale(),a.updateNames(),
736
- f(a.ticks,function(a){a.isNew=!0;a.isNewLabel=!0}))});h.placed=!0;this.getMargins();a.call(this,b,d);e.bubbleLegend.correctSizes();m(e,F(e))}else a.call(this,b,d),e&&e.options.enabled&&e.bubbleLegend&&(e.render(),m(e,F(e)))}function q(a){a=a.series;for(var b=0;b<a.length;){if(a[b]&&a[b].isBubble&&a[b].visible&&a[b].zData.length)return b;b++}return-1}function F(a){a=a.allItems;var b=[],d=a.length,e,f=0;for(e=0;e<d;e++){var l=a[e].legendItem||{};var h=(a[e+1]||{}).legendItem||{};l.labelHeight&&(a[e].itemHeight=
737
- l.labelHeight);if(a[e]===a[d-1]||l.y!==h.y){b.push({height:0});l=b[b.length-1];for(f;f<=e;f++)a[f].itemHeight>l.height&&(l.height=a[f].itemHeight);l.step=e}}return b}function x(a){var b=this.bubbleLegend,d=this.options,f=d.bubbleLegend,l=q(this.chart);b&&b.ranges&&b.ranges.length&&(f.ranges.length&&(f.autoRanges=!!f.ranges[0].autoRanges),this.destroyItem(b));0<=l&&d.enabled&&f.enabled&&(f.seriesIndex=l,this.bubbleLegend=new e(f,this),this.bubbleLegend.addToLegend(a.allItems))}function v(){var a=this.chart,
738
- b=this.visible,d=this.chart.legend;d&&d.bubbleLegend&&(this.visible=!b,this.ignoreSeries=b,a=0<=q(a),d.bubbleLegend.visible!==a&&(d.update({bubbleLegend:{enabled:a}}),d.bubbleLegend.visible=a),this.visible=b)}function m(a,b){var d=a.options.rtl,e,f,l,h,k=0;a.allItems.forEach(function(a,m){h=a.legendItem||{};if(h.group){e=h.group.translateX||0;f=h.y||0;if((l=a.movementX)||d&&a.ranges)l=d?e-a.options.maxSize/2:e+l,h.group.attr({translateX:l});m>b[k].step&&k++;h.group.attr({translateY:Math.round(f+b[k].height/
739
- 2)});h.y=f+b[k].height/2}})}var l=u.setOptions,a=C.addEvent,f=C.objectEach,d=C.wrap,k=[];return{compose:function(e,f,m){-1===k.indexOf(e)&&(k.push(e),l({legend:{bubbleLegend:b}}),d(e.prototype,"drawChartBox",B));-1===k.indexOf(f)&&(k.push(f),a(f,"afterGetAllItems",x));-1===k.indexOf(m)&&(k.push(m),a(m,"legendItemClick",v))}}});J(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u){var C=this&&this.__extends||function(){var b=
740
- function(e,u){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var m in e)e.hasOwnProperty(m)&&(b[m]=e[m])};return b(e,u)};return function(e,u){function q(){this.constructor=e}b(e,u);e.prototype=null===u?Object.create(u):(q.prototype=u.prototype,new q)}}();u=u.extend;e=function(e){function q(){var b=null!==e&&e.apply(this,arguments)||this;b.options=void 0;b.series=void 0;return b}C(q,e);q.prototype.haloPath=function(e){return b.prototype.haloPath.call(this,
741
- 0===e?0:(this.marker?this.marker.radius||0:0)+e)};return q}(e.seriesTypes.scatter.prototype.pointClass);u(e.prototype,{ttBelow:!1});return e});J(e,"Series/Bubble/BubbleSeries.js",[e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q){function F(){var a=this,b=this.len,d=this.chart,e=this.isXAxis,f=e?"xData":"yData",g=this.min,l=this.max-g,c=0,k=b,
742
- m=b/l,p;this.series.forEach(function(b){if(b.bubblePadding&&(b.visible||!d.options.chart.ignoreHiddenSeries)){p=a.allowZoomOutside=!0;var h=b[f];e&&((b.onPoint||b).getRadii(0,0,b),b.onPoint&&(b.radii=b.onPoint.radii));if(0<l)for(var n=h.length;n--;)if(E(h[n])&&a.dataMin<=h[n]&&h[n]<=a.max){var t=b.radii&&b.radii[n]||0;c=Math.min((h[n]-g)*m-t,c);k=Math.max((h[n]-g)*m+t,k)}}});p&&0<l&&!this.logarithmic&&(k-=b,m*=(b+Math.max(0,c)-Math.min(k,b))/b,[["min","userMin",c],["max","userMax",k]].forEach(function(b){"undefined"===
743
- typeof w(a.options[b[0]],a[b[1]])&&(a[b[0]]+=b[2]/m)}))}var x=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 e(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(e.prototype=d.prototype,new e)}}(),v=u.parse;u=C.noop;var m=B.series,l=B.seriesTypes;C=l.column.prototype;var a=l.scatter;
744
- l=q.addEvent;var f=q.arrayMax,d=q.arrayMin,k=q.clamp,p=q.extend,E=q.isNumber,A=q.merge,w=q.pick,I=[];q=function(e){function h(){var a=null!==e&&e.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}x(h,e);h.compose=function(a,d,e,f){b.compose(d,e,f);-1===I.indexOf(a)&&(I.push(a),a.prototype.beforePadding=F)};h.prototype.animate=function(a){!a&&this.points.length<this.options.animationLimit&&
745
- 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)};h.prototype.getRadii=function(){var a=this,b=this.zData,d=this.yData,e=[],f=this.chart.bubbleZExtremes;var c=this.getPxExtremes();var h=c.minPxSize,l=c.maxPxSize;if(!f){var k=Number.MAX_VALUE,m=-Number.MAX_VALUE,p;this.chart.series.forEach(function(b){b.bubblePadding&&(b.visible||!a.chart.options.chart.ignoreHiddenSeries)&&
746
- (b=(b.onPoint||b).getZExtremes())&&(k=Math.min(k||b.zMin,b.zMin),m=Math.max(m||b.zMax,b.zMax),p=!0)});p?(f={zMin:k,zMax:m},this.chart.bubbleZExtremes=f):f={zMin:0,zMax:0}}var t=0;for(c=b.length;t<c;t++){var q=b[t];e.push(this.getRadius(f.zMin,f.zMax,h,l,q,d&&d[t]))}this.radii=e};h.prototype.getRadius=function(a,b,d,e,f,c){var g=this.options,h="width"!==g.sizeBy,l=g.zThreshold,k=b-a,m=.5;if(null===c||null===f)return null;if(E(f)){g.sizeByAbsoluteValue&&(f=Math.abs(f-l),k=Math.max(b-l,Math.abs(a-l)),
747
- a=0);if(f<a)return d/2-1;0<k&&(m=(f-a)/k)}h&&0<=m&&(m=Math.sqrt(m));return Math.ceil(d+m*(e-d))/2};h.prototype.hasData=function(){return!!this.processedXData.length};h.prototype.pointAttribs=function(a,b){var d=this.options.marker.fillOpacity;a=m.prototype.pointAttribs.call(this,a,b);1!==d&&(a.fill=v(a.fill).setOpacity(d).get("rgba"));return a};h.prototype.translate=function(){e.prototype.translate.call(this);this.getRadii();this.translateBubble()};h.prototype.translateBubble=function(){for(var a=
748
- this.data,b=this.radii,d=this.getPxExtremes().minPxSize,e=a.length;e--;){var f=a[e],c=b?b[e]:0;E(c)&&c>=d/2?(f.marker=p(f.marker,{radius:c,width:2*c,height:2*c}),f.dlBox={x:f.plotX-c,y:f.plotY-c,width:2*c,height:2*c}):(f.shapeArgs=f.dlBox=void 0,f.plotY=0,f.marker={width:0,height:0})}};h.prototype.getPxExtremes=function(){var a=Math.min(this.chart.plotWidth,this.chart.plotHeight),b=function(b){if("string"===typeof b){var d=/%$/.test(b);b=parseInt(b,10)}return d?a*b/100:b},d=b(w(this.options.minSize,
749
- 8));b=Math.max(b(w(this.options.maxSize,"20%")),d);return{minPxSize:d,maxPxSize:b}};h.prototype.getZExtremes=function(){var a=this.options,b=(this.zData||[]).filter(E);if(b.length){var e=w(a.zMin,k(d(b),!1===a.displayNegative?a.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));a=w(a.zMax,f(b));if(E(e)&&E(a))return{zMin:e,zMax:a}}};h.defaultOptions=A(a.defaultOptions,{dataLabels:{formatter:function(){var a=this.series.chart.numberFormatter,b=this.point.z;return E(b)?a(b,-1):""},inside:!0,verticalAlign:"middle"},
750
- 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}(a);p(q.prototype,{alignDataLabel:C.alignDataLabel,applyZones:u,bubblePadding:!0,buildKDTree:u,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:e,parallelArrays:["x","y",
751
- "z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"});l(q,"updatedData",function(a){delete a.target.chart.bubbleZExtremes});l(q,"remove",function(a){delete a.target.chart.bubbleZExtremes});B.registerSeriesType("bubble",q);"";"";return q});J(e,"Series/MapBubble/MapBubblePoint.js",[e["Series/Bubble/BubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u){var C=this&&this.__extends||function(){var b=function(e,u){b=Object.setPrototypeOf||
752
- {__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var m in e)e.hasOwnProperty(m)&&(b[m]=e[m])};return b(e,u)};return function(e,u){function q(){this.constructor=e}b(e,u);e.prototype=null===u?Object.create(u):(q.prototype=u.prototype,new q)}}();e=e.seriesTypes.map.prototype.pointClass.prototype;u=u.extend;b=function(b){function e(){return null!==b&&b.apply(this,arguments)||this}C(e,b);e.prototype.isValid=function(){return"number"===typeof this.z};return e}(b);u(b.prototype,
753
- {applyOptions:e.applyOptions,getProjectedBounds:e.getProjectedBounds});return b});J(e,"Series/MapBubble/MapBubbleSeries.js",[e["Series/Bubble/BubbleSeries.js"],e["Series/MapBubble/MapBubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,u,C){var B=this&&this.__extends||function(){var b=function(e,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(e,a)};
754
- return function(e,a){function f(){this.constructor=e}b(e,a);e.prototype=null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),q=u.seriesTypes,F=q.map.prototype,x=q.mappoint.prototype;q=C.extend;var v=C.merge;C=function(e){function l(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;a.clearBounds=F.clearBounds;return a}B(l,e);l.prototype.searchPoint=function(a,b){return this.searchKDTree({clientX:a.chartX-this.chart.plotLeft,plotY:a.chartY-this.chart.plotTop},
755
- b,a)};l.prototype.translate=function(){x.translate.call(this);this.getRadii();this.translateBubble()};l.defaultOptions=v(b.defaultOptions,{lineWidth:0,animationLimit:500,joinBy:"hc-key",tooltip:{pointFormat:"{point.name}: {point.z}"}});return l}(b);q(C.prototype,{type:"mapbubble",axisTypes:["colorAxis"],getProjectedBounds:F.getProjectedBounds,isCartesian:!1,pointArrayMap:["z"],pointClass:e,processData:F.processData,projectPoint:x.projectPoint,setData:F.setData,setOptions:F.setOptions,updateData:F.updateData,
756
- useMapGeometry:!0,xyFromShape:!0});u.registerSeriesType("mapbubble",C);"";return C});J(e,"Series/Heatmap/HeatmapPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var u=this&&this.__extends||function(){var b=function(e,m){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var e in a)a.hasOwnProperty(e)&&(b[e]=a[e])};return b(e,m)};return function(e,m){function l(){this.constructor=e}b(e,m);e.prototype=null===m?
757
- Object.create(m):(l.prototype=m.prototype,new l)}}(),C=e.clamp,B=e.defined,q=e.extend,F=e.pick;b=function(b){function e(){var e=null!==b&&b.apply(this,arguments)||this;e.options=void 0;e.series=void 0;e.value=void 0;e.x=void 0;e.y=void 0;return e}u(e,b);e.prototype.applyOptions=function(e,l){e=b.prototype.applyOptions.call(this,e,l);e.formatPrefix=e.isNull||null===e.value?"null":"point";return e};e.prototype.getCellAttributes=function(){var b=this.series,e=b.options,a=(e.colsize||1)/2,f=(e.rowsize||
758
- 1)/2,d=b.xAxis,k=b.yAxis,p=this.options.marker||b.options.marker;b=b.pointPlacementToXValue();var q=F(this.pointPadding,e.pointPadding,0),u={x1:C(Math.round(d.len-d.translate(this.x-a,!1,!0,!1,!0,-b)),-d.len,2*d.len),x2:C(Math.round(d.len-d.translate(this.x+a,!1,!0,!1,!0,-b)),-d.len,2*d.len),y1:C(Math.round(k.translate(this.y-f,!1,!0,!1,!0)),-k.len,2*k.len),y2:C(Math.round(k.translate(this.y+f,!1,!0,!1,!0)),-k.len,2*k.len)};[["width","x"],["height","y"]].forEach(function(a){var b=a[0];a=a[1];var d=
759
- a+"1",e=a+"2",f=Math.abs(u[d]-u[e]),l=p&&p.lineWidth||0,k=Math.abs(u[d]+u[e])/2;b=p&&p[b];B(b)&&b<f&&(b=b/2+l/2,u[d]=k-b,u[e]=k+b);q&&("y"===a&&(d=e,e=a+"1"),u[d]+=q,u[e]-=q)});return u};e.prototype.haloPath=function(b){if(!b)return[];var e=this.shapeArgs;return["M",e.x-b,e.y-b,"L",e.x-b,e.y+e.height+b,e.x+e.width+b,e.y+e.height+b,e.x+e.width+b,e.y-b,"Z"]};e.prototype.isValid=function(){return Infinity!==this.value&&-Infinity!==this.value};return e}(b.seriesTypes.scatter.prototype.pointClass);q(b.prototype,
760
- {dataLabelOnNull:!0,moveToTopOnHover:!0,ttBelow:!1});return b});J(e,"Series/Heatmap/HeatmapSeries.js",[e["Core/Color/Color.js"],e["Series/ColorMapComposition.js"],e["Series/Heatmap/HeatmapPoint.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(b,e,u,C,B,q,F){var x=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,
761
- b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return a(b,d)};return function(b,d){function e(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(e.prototype=d.prototype,new e)}}(),v=B.series,m=B.seriesTypes,l=m.column,a=m.scatter,f=q.prototype.symbols,d=F.extend,k=F.fireEvent,p=F.isNumber,E=F.merge,A=F.pick;q=function(e){function l(){var a=null!==e&&e.apply(this,arguments)||this;a.colorAxis=void 0;a.data=void 0;a.options=void 0;a.points=void 0;a.valueMax=NaN;a.valueMin=NaN;return a}
762
- x(l,e);l.prototype.drawPoints=function(){var a=this;if((this.options.marker||{}).enabled||this._hasPointMarkers)v.prototype.drawPoints.call(this),this.points.forEach(function(b){b.graphic&&(b.graphic[a.chart.styledMode?"css":"animate"](a.colorAttribs(b)),null===b.value&&b.graphic.addClass("highcharts-null-point"))})};l.prototype.getExtremes=function(){var a=v.prototype.getExtremes.call(this,this.valueData),b=a.dataMin;a=a.dataMax;p(b)&&(this.valueMin=b);p(a)&&(this.valueMax=a);return v.prototype.getExtremes.call(this)};
763
- l.prototype.getValidPoints=function(a,b){return v.prototype.getValidPoints.call(this,a,b,!0)};l.prototype.hasData=function(){return!!this.processedXData.length};l.prototype.init=function(){v.prototype.init.apply(this,arguments);var a=this.options;a.pointRange=A(a.pointRange,a.colsize||1);this.yAxis.axisPointRange=a.rowsize||1;f.ellipse=f.circle;a.marker&&(a.marker.r=a.borderRadius)};l.prototype.markerAttribs=function(a,b){var d=a.marker||{},e=this.options.marker||{},f=a.shapeArgs||{},g={};if(a.hasImage)return{x:a.plotX,
764
- y:a.plotY};if(b){var h=e.states[b]||{};var c=d.states&&d.states[b]||{};[["width","x"],["height","y"]].forEach(function(a){g[a[0]]=(c[a[0]]||h[a[0]]||f[a[0]])+(c[a[0]+"Plus"]||h[a[0]+"Plus"]||0);g[a[1]]=f[a[1]]+(f[a[0]]-g[a[0]])/2})}return b?g:f};l.prototype.pointAttribs=function(a,d){var e=v.prototype.pointAttribs.call(this,a,d),f=this.options||{},h=this.chart.options.plotOptions||{},g=h.series||{},l=h.heatmap||{};h=a&&a.options.borderColor||f.borderColor||l.borderColor||g.borderColor;g=a&&a.options.borderWidth||
765
- f.borderWidth||l.borderWidth||g.borderWidth||e["stroke-width"];e.stroke=a&&a.marker&&a.marker.lineColor||f.marker&&f.marker.lineColor||h||this.color;e["stroke-width"]=g;d&&(a=E(f.states[d],f.marker&&f.marker.states[d],a&&a.options.states&&a.options.states[d]||{}),d=a.brightness,e.fill=a.color||b.parse(e.fill).brighten(d||0).get(),e.stroke=a.lineColor);return e};l.prototype.setClip=function(a){var b=this.chart;v.prototype.setClip.apply(this,arguments);(!1!==this.options.clip||a)&&this.markerGroup.clip((a||
766
- this.clipBox)&&this.sharedClipKey?b.sharedClips[this.sharedClipKey]:b.clipRect)};l.prototype.translate=function(){var a=this.options,b=a.marker&&a.marker.symbol||"rect",e=f[b]?b:"rect",l=-1!==["circle","square"].indexOf(e);this.generatePoints();this.points.forEach(function(h){var g=h.getCellAttributes(),k={};k.x=Math.min(g.x1,g.x2);k.y=Math.min(g.y1,g.y2);k.width=Math.max(Math.abs(g.x2-g.x1),0);k.height=Math.max(Math.abs(g.y2-g.y1),0);var c=h.hasImage=0===(h.marker&&h.marker.symbol||b||"").indexOf("url");
767
- if(l){var m=Math.abs(k.width-k.height);k.x=Math.min(g.x1,g.x2)+(k.width<k.height?0:m/2);k.y=Math.min(g.y1,g.y2)+(k.width<k.height?m/2:0);k.width=k.height=Math.min(k.width,k.height)}m={plotX:(g.x1+g.x2)/2,plotY:(g.y1+g.y2)/2,clientX:(g.x1+g.x2)/2,shapeType:"path",shapeArgs:E(!0,k,{d:f[e](k.x,k.y,k.width,k.height,{r:a.borderRadius})})};c&&(h.marker={width:k.width,height:k.height});d(h,m)});k(this,"afterTranslate")};l.defaultOptions=E(a.defaultOptions,{animation:!1,borderRadius:0,borderWidth:0,nullColor:"#f7f7f7",
768
- dataLabels:{formatter:function(){var a=this.series.chart.numberFormatter,b=this.point.value;return p(b)?a(b,-1):""},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 l}(a);d(q.prototype,{axisTypes:e.seriesMembers.axisTypes,colorKey:e.seriesMembers.colorKey,directTouch:!0,
769
- getExtremesFromAll:!0,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:u,trackerGroups:e.seriesMembers.trackerGroups,alignDataLabel:l.prototype.alignDataLabel,colorAttribs:e.seriesMembers.colorAttribs,drawLegendSymbol:C.drawRectangle,getSymbol:v.prototype.getSymbol});e.compose(q);B.registerSeriesType("heatmap",q);"";"";return q});J(e,"masters/modules/map.src.js",[e["Core/Globals.js"],e["Core/Axis/Color/ColorAxis.js"],e["Series/MapBubble/MapBubbleSeries.js"],e["Core/Chart/MapChart.js"],
770
- e["Maps/MapView.js"],e["Maps/Projection.js"]],function(b,e,u,C,B,q){b.ColorAxis=e;b.MapChart=C;b.mapChart=b.Map=C.mapChart;b.MapView=B;b.maps=C.maps;b.Projection=q;e.compose(b.Chart,b.Fx,b.Legend,b.Series);u.compose(b.Axis,b.Chart,b.Legend,b.Series)});J(e,"masters/highmaps.src.js",[e["masters/highcharts.src.js"]],function(b){b.product="Highmaps";return b});e["masters/highmaps.src.js"]._modules=e;return e["masters/highmaps.src.js"]});
732
+ function(){var a=this.legend.bubbleLegend,b=a.options.ranges,e,f=Number.MAX_VALUE,A=-Number.MAX_VALUE;a.chart.series.forEach(function(a){a.isBubble&&!a.ignoreSeries&&(e=a.zData.filter(r),e.length&&(f=h(a.options.zMin,Math.min(f,Math.max(t(e),!1===a.options.displayNegative?a.options.zThreshold:-Number.MAX_VALUE))),A=h(a.options.zMax,Math.max(A,G(e)))))});var x=f===A?[{value:A}]:[{value:f},{value:(f+A)/2},{value:A,autoRanges:!0}];b.length&&b[0].radius&&x.reverse();x.forEach(function(a,d){b&&b[d]&&(x[d]=
733
+ n(b[d],a))});return x};b.prototype.predictBubbleSizes=function(){var a=this.chart,b=this.fontMetrics,e=a.legend.options,f=e.floating,h=(e="horizontal"===e.layout)?a.legend.lastLineHeight:0,n=a.plotSizeX,r=a.plotSizeY,q=a.series[this.options.seriesIndex],c=q.getPxExtremes();a=Math.ceil(c.minPxSize);c=Math.ceil(c.maxPxSize);var t=Math.min(r,n);q=q.options.maxSize;if(f||!/%$/.test(q))b=c;else if(q=parseFloat(q),b=(t+h-b.h/2)*q/100/(q/100+1),e&&r-b>=n||!e&&n-b>=r)b=c;return[a,Math.ceil(b)]};b.prototype.updateRanges=
734
+ function(a,b){var d=this.legend.options.bubbleLegend;d.minSize=a;d.maxSize=b;d.ranges=this.getRanges()};b.prototype.correctSizes=function(){var a=this.legend,b=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(b.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,b.maxPxSize),a.render())};return b}();"";return b});H(e,"Series/Bubble/BubbleLegendComposition.js",[e["Series/Bubble/BubbleLegendDefaults.js"],e["Series/Bubble/BubbleLegendItem.js"],e["Core/Defaults.js"],
735
+ e["Core/Utilities.js"]],function(b,e,z,C){function w(a,b,d){var e=this.legend,h=0<=y(this),k;if(e&&e.options.enabled&&e.bubbleLegend&&e.options.bubbleLegend.autoRanges&&h){var c=e.bubbleLegend.options;h=e.bubbleLegend.predictBubbleSizes();e.bubbleLegend.updateRanges(h[0],h[1]);c.placed||(e.group.placed=!1,e.allItems.forEach(function(a){k=a.legendItem||{};k.group&&(k.group.translateY=null)}));e.render();this.getMargins();this.axes.forEach(function(a){a.visible&&a.render();c.placed||(a.setScale(),a.updateNames(),
736
+ f(a.ticks,function(a){a.isNew=!0;a.isNewLabel=!0}))});c.placed=!0;this.getMargins();a.call(this,b,d);e.bubbleLegend.correctSizes();n(e,G(e))}else a.call(this,b,d),e&&e.options.enabled&&e.bubbleLegend&&(e.render(),n(e,G(e)))}function y(a){a=a.series;for(var b=0;b<a.length;){if(a[b]&&a[b].isBubble&&a[b].visible&&a[b].zData.length)return b;b++}return-1}function G(a){a=a.allItems;var b=[],d=a.length,e,f=0;for(e=0;e<d;e++){var h=a[e].legendItem||{};var c=(a[e+1]||{}).legendItem||{};h.labelHeight&&(a[e].itemHeight=
737
+ h.labelHeight);if(a[e]===a[d-1]||h.y!==c.y){b.push({height:0});h=b[b.length-1];for(f;f<=e;f++)a[f].itemHeight>h.height&&(h.height=a[f].itemHeight);h.step=e}}return b}function t(a){var b=this.bubbleLegend,d=this.options,f=d.bubbleLegend,h=y(this.chart);b&&b.ranges&&b.ranges.length&&(f.ranges.length&&(f.autoRanges=!!f.ranges[0].autoRanges),this.destroyItem(b));0<=h&&d.enabled&&f.enabled&&(f.seriesIndex=h,this.bubbleLegend=new e(f,this),this.bubbleLegend.addToLegend(a.allItems))}function r(){var a=this.chart,
738
+ b=this.visible,d=this.chart.legend;d&&d.bubbleLegend&&(this.visible=!b,this.ignoreSeries=b,a=0<=y(a),d.bubbleLegend.visible!==a&&(d.update({bubbleLegend:{enabled:a}}),d.bubbleLegend.visible=a),this.visible=b)}function n(a,b){var d=a.options.rtl,e,f,h,c,k=0;a.allItems.forEach(function(a,n){c=a.legendItem||{};if(c.group){e=c.group.translateX||0;f=c.y||0;if((h=a.movementX)||d&&a.ranges)h=d?e-a.options.maxSize/2:e+h,c.group.attr({translateX:h});n>b[k].step&&k++;c.group.attr({translateY:Math.round(f+b[k].height/
739
+ 2)});c.y=f+b[k].height/2}})}var h=z.setOptions,a=C.addEvent,f=C.objectEach,d=C.wrap,k=[];return{compose:function(e,f,n){-1===k.indexOf(e)&&(k.push(e),h({legend:{bubbleLegend:b}}),d(e.prototype,"drawChartBox",w));-1===k.indexOf(f)&&(k.push(f),a(f,"afterGetAllItems",t));-1===k.indexOf(n)&&(k.push(n),a(n,"legendItemClick",r))}}});H(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z){var C=this&&this.__extends||function(){var b=
740
+ function(e,w){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var n in e)e.hasOwnProperty(n)&&(b[n]=e[n])};return b(e,w)};return function(e,w){function t(){this.constructor=e}b(e,w);e.prototype=null===w?Object.create(w):(t.prototype=w.prototype,new t)}}();z=z.extend;e=function(e){function y(){var b=null!==e&&e.apply(this,arguments)||this;b.options=void 0;b.series=void 0;return b}C(y,e);y.prototype.haloPath=function(e){return b.prototype.haloPath.call(this,
741
+ 0===e?0:(this.marker?this.marker.radius||0:0)+e)};return y}(e.seriesTypes.scatter.prototype.pointClass);z(e.prototype,{ttBelow:!1});return e});H(e,"Series/Bubble/BubbleSeries.js",[e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y){function G(){var a=this,b=this.len,d=this.chart,e=this.isXAxis,f=e?"xData":"yData",g=this.min,h=this.max-g,k=0,n=b,
742
+ p=b/h,r;this.series.forEach(function(b){if(b.bubblePadding&&(b.visible||!d.options.chart.ignoreHiddenSeries)){r=a.allowZoomOutside=!0;var c=b[f];e&&((b.onPoint||b).getRadii(0,0,b),b.onPoint&&(b.radii=b.onPoint.radii));if(0<h)for(var l=c.length;l--;)if(D(c[l])&&a.dataMin<=c[l]&&c[l]<=a.max){var m=b.radii&&b.radii[l]||0;k=Math.min((c[l]-g)*p-m,k);n=Math.max((c[l]-g)*p+m,n)}}});r&&0<h&&!this.logarithmic&&(n-=b,p*=(b+Math.max(0,k)-Math.min(n,b))/b,[["min","userMin",k],["max","userMax",n]].forEach(function(b){"undefined"===
743
+ typeof x(a.options[b[0]],a[b[1]])&&(a[b[0]]+=b[2]/p)}))}var t=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 c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};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)}}(),r=z.parse;z=C.noop;var n=w.series,h=w.seriesTypes;C=h.column.prototype;var a=h.scatter;
744
+ h=y.addEvent;var f=y.arrayMax,d=y.arrayMin,k=y.clamp,p=y.extend,D=y.isNumber,A=y.merge,x=y.pick,E=[];y=function(e){function c(){var a=null!==e&&e.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(c,e);c.compose=function(a,c,d,e){b.compose(c,d,e);-1===E.indexOf(a)&&(E.push(a),a.prototype.beforePadding=G)};c.prototype.animate=function(a){!a&&this.points.length<this.options.animationLimit&&
745
+ 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)};c.prototype.getRadii=function(){var a=this,b=this.zData,c=this.yData,d=[],e=this.chart.bubbleZExtremes;var f=this.getPxExtremes();var h=f.minPxSize,k=f.maxPxSize;if(!e){var n=Number.MAX_VALUE,p=-Number.MAX_VALUE,q;this.chart.series.forEach(function(b){b.bubblePadding&&(b.visible||!a.chart.options.chart.ignoreHiddenSeries)&&
746
+ (b=(b.onPoint||b).getZExtremes())&&(n=Math.min(n||b.zMin,b.zMin),p=Math.max(p||b.zMax,b.zMax),q=!0)});q?(e={zMin:n,zMax:p},this.chart.bubbleZExtremes=e):e={zMin:0,zMax:0}}var r=0;for(f=b.length;r<f;r++){var t=b[r];d.push(this.getRadius(e.zMin,e.zMax,h,k,t,c&&c[r]))}this.radii=d};c.prototype.getRadius=function(a,b,c,d,e,f){var g=this.options,h="width"!==g.sizeBy,k=g.zThreshold,l=b-a,m=.5;if(null===f||null===e)return null;if(D(e)){g.sizeByAbsoluteValue&&(e=Math.abs(e-k),l=Math.max(b-k,Math.abs(a-k)),
747
+ a=0);if(e<a)return c/2-1;0<l&&(m=(e-a)/l)}h&&0<=m&&(m=Math.sqrt(m));return Math.ceil(c+m*(d-c))/2};c.prototype.hasData=function(){return!!this.processedXData.length};c.prototype.pointAttribs=function(a,b){var c=this.options.marker.fillOpacity;a=n.prototype.pointAttribs.call(this,a,b);1!==c&&(a.fill=r(a.fill).setOpacity(c).get("rgba"));return a};c.prototype.translate=function(){e.prototype.translate.call(this);this.getRadii();this.translateBubble()};c.prototype.translateBubble=function(){for(var a=
748
+ this.data,b=this.radii,c=this.getPxExtremes().minPxSize,d=a.length;d--;){var e=a[d],f=b?b[d]:0;D(f)&&f>=c/2?(e.marker=p(e.marker,{radius:f,width:2*f,height:2*f}),e.dlBox={x:e.plotX-f,y:e.plotY-f,width:2*f,height:2*f}):(e.shapeArgs=e.plotY=e.dlBox=void 0,e.isInside=!1)}};c.prototype.getPxExtremes=function(){var a=Math.min(this.chart.plotWidth,this.chart.plotHeight),b=function(b){if("string"===typeof b){var c=/%$/.test(b);b=parseInt(b,10)}return c?a*b/100:b},c=b(x(this.options.minSize,8));b=Math.max(b(x(this.options.maxSize,
749
+ "20%")),c);return{minPxSize:c,maxPxSize:b}};c.prototype.getZExtremes=function(){var a=this.options,b=(this.zData||[]).filter(D);if(b.length){var c=x(a.zMin,k(d(b),!1===a.displayNegative?a.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));a=x(a.zMax,f(b));if(D(c)&&D(a))return{zMin:c,zMax:a}}};c.defaultOptions=A(a.defaultOptions,{dataLabels:{formatter:function(){var a=this.series.chart.numberFormatter,b=this.point.z;return D(b)?a(b,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,
750
+ 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}(a);p(y.prototype,{alignDataLabel:C.alignDataLabel,applyZones:z,bubblePadding:!0,buildKDTree:z,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:e,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],
751
+ specialGroup:"group",zoneAxis:"z"});h(y,"updatedData",function(a){delete a.target.chart.bubbleZExtremes});h(y,"remove",function(a){delete a.target.chart.bubbleZExtremes});w.registerSeriesType("bubble",y);"";"";return y});H(e,"Series/MapBubble/MapBubblePoint.js",[e["Series/Bubble/BubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z){var C=this&&this.__extends||function(){var b=function(e,w){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=
752
+ e}||function(b,e){for(var n in e)e.hasOwnProperty(n)&&(b[n]=e[n])};return b(e,w)};return function(e,w){function t(){this.constructor=e}b(e,w);e.prototype=null===w?Object.create(w):(t.prototype=w.prototype,new t)}}();e=e.seriesTypes.map.prototype.pointClass.prototype;z=z.extend;b=function(b){function e(){return null!==b&&b.apply(this,arguments)||this}C(e,b);e.prototype.isValid=function(){return"number"===typeof this.z};return e}(b);z(b.prototype,{applyOptions:e.applyOptions,getProjectedBounds:e.getProjectedBounds});
753
+ return b});H(e,"Series/MapBubble/MapBubbleSeries.js",[e["Series/Bubble/BubbleSeries.js"],e["Series/MapBubble/MapBubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,z,C){var w=this&&this.__extends||function(){var b=function(e,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(e,a)};return function(e,a){function f(){this.constructor=e}b(e,a);e.prototype=
754
+ null===a?Object.create(a):(f.prototype=a.prototype,new f)}}(),y=z.seriesTypes,G=y.map.prototype,t=y.mappoint.prototype;y=C.extend;var r=C.merge;C=function(e){function h(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;a.clearBounds=G.clearBounds;return a}w(h,e);h.prototype.searchPoint=function(a,b){return this.searchKDTree({clientX:a.chartX-this.chart.plotLeft,plotY:a.chartY-this.chart.plotTop},b,a)};h.prototype.translate=function(){t.translate.call(this);
755
+ this.getRadii();this.translateBubble()};h.defaultOptions=r(b.defaultOptions,{lineWidth:0,animationLimit:500,joinBy:"hc-key",tooltip:{pointFormat:"{point.name}: {point.z}"}});return h}(b);y(C.prototype,{type:"mapbubble",axisTypes:["colorAxis"],getProjectedBounds:G.getProjectedBounds,isCartesian:!1,pointArrayMap:["z"],pointClass:e,processData:G.processData,projectPoint:t.projectPoint,setData:G.setData,setOptions:G.setOptions,updateData:G.updateData,useMapGeometry:!0,xyFromShape:!0});z.registerSeriesType("mapbubble",
756
+ C);"";return C});H(e,"Series/Heatmap/HeatmapPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var z=this&&this.__extends||function(){var b=function(e,n){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var e in a)a.hasOwnProperty(e)&&(b[e]=a[e])};return b(e,n)};return function(e,n){function h(){this.constructor=e}b(e,n);e.prototype=null===n?Object.create(n):(h.prototype=n.prototype,new h)}}(),C=e.clamp,w=e.defined,
757
+ y=e.extend,G=e.pick;b=function(b){function e(){var e=null!==b&&b.apply(this,arguments)||this;e.options=void 0;e.series=void 0;e.value=void 0;e.x=void 0;e.y=void 0;return e}z(e,b);e.prototype.applyOptions=function(e,h){e=b.prototype.applyOptions.call(this,e,h);e.formatPrefix=e.isNull||null===e.value?"null":"point";return e};e.prototype.getCellAttributes=function(){var b=this.series,e=b.options,a=(e.colsize||1)/2,f=(e.rowsize||1)/2,d=b.xAxis,k=b.yAxis,p=this.options.marker||b.options.marker;b=b.pointPlacementToXValue();
758
+ var r=G(this.pointPadding,e.pointPadding,0),t={x1:C(Math.round(d.len-d.translate(this.x-a,!1,!0,!1,!0,-b)),-d.len,2*d.len),x2:C(Math.round(d.len-d.translate(this.x+a,!1,!0,!1,!0,-b)),-d.len,2*d.len),y1:C(Math.round(k.translate(this.y-f,!1,!0,!1,!0)),-k.len,2*k.len),y2:C(Math.round(k.translate(this.y+f,!1,!0,!1,!0)),-k.len,2*k.len)};[["width","x"],["height","y"]].forEach(function(a){var b=a[0];a=a[1];var d=a+"1",c=a+"2",e=Math.abs(t[d]-t[c]),f=p&&p.lineWidth||0,h=Math.abs(t[d]+t[c])/2;b=p&&p[b];w(b)&&
759
+ b<e&&(b=b/2+f/2,t[d]=h-b,t[c]=h+b);r&&("y"===a&&(d=c,c=a+"1"),t[d]+=r,t[c]-=r)});return t};e.prototype.haloPath=function(b){if(!b)return[];var e=this.shapeArgs;return["M",e.x-b,e.y-b,"L",e.x-b,e.y+e.height+b,e.x+e.width+b,e.y+e.height+b,e.x+e.width+b,e.y-b,"Z"]};e.prototype.isValid=function(){return Infinity!==this.value&&-Infinity!==this.value};return e}(b.seriesTypes.scatter.prototype.pointClass);y(b.prototype,{dataLabelOnNull:!0,moveToTopOnHover:!0,ttBelow:!1});return b});H(e,"Series/Heatmap/HeatmapSeries.js",
760
+ [e["Core/Color/Color.js"],e["Series/ColorMapComposition.js"],e["Series/Heatmap/HeatmapPoint.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(b,e,z,C,w,y,G){var t=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 c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,d)};return function(b,d){function c(){this.constructor=
761
+ b}a(b,d);b.prototype=null===d?Object.create(d):(c.prototype=d.prototype,new c)}}(),r=w.series,n=w.seriesTypes,h=n.column,a=n.scatter,f=y.prototype.symbols,d=G.extend,k=G.fireEvent,p=G.isNumber,D=G.merge,A=G.pick;y=function(e){function h(){var a=null!==e&&e.apply(this,arguments)||this;a.colorAxis=void 0;a.data=void 0;a.options=void 0;a.points=void 0;a.valueMax=NaN;a.valueMin=NaN;return a}t(h,e);h.prototype.drawPoints=function(){var a=this;if((this.options.marker||{}).enabled||this._hasPointMarkers)r.prototype.drawPoints.call(this),
762
+ this.points.forEach(function(b){b.graphic&&(b.graphic[a.chart.styledMode?"css":"animate"](a.colorAttribs(b)),null===b.value&&b.graphic.addClass("highcharts-null-point"))})};h.prototype.getExtremes=function(){var a=r.prototype.getExtremes.call(this,this.valueData),b=a.dataMin;a=a.dataMax;p(b)&&(this.valueMin=b);p(a)&&(this.valueMax=a);return r.prototype.getExtremes.call(this)};h.prototype.getValidPoints=function(a,b){return r.prototype.getValidPoints.call(this,a,b,!0)};h.prototype.hasData=function(){return!!this.processedXData.length};
763
+ h.prototype.init=function(){r.prototype.init.apply(this,arguments);var a=this.options;a.pointRange=A(a.pointRange,a.colsize||1);this.yAxis.axisPointRange=a.rowsize||1;f.ellipse=f.circle;a.marker&&(a.marker.r=a.borderRadius)};h.prototype.markerAttribs=function(a,b){var c=a.marker||{},d=this.options.marker||{},e=a.shapeArgs||{},f={};if(a.hasImage)return{x:a.plotX,y:a.plotY};if(b){var h=d.states[b]||{};var k=c.states&&c.states[b]||{};[["width","x"],["height","y"]].forEach(function(a){f[a[0]]=(k[a[0]]||
764
+ h[a[0]]||e[a[0]])+(k[a[0]+"Plus"]||h[a[0]+"Plus"]||0);f[a[1]]=e[a[1]]+(e[a[0]]-f[a[0]])/2})}return b?f:e};h.prototype.pointAttribs=function(a,c){var d=r.prototype.pointAttribs.call(this,a,c),e=this.options||{},f=this.chart.options.plotOptions||{},g=f.series||{},h=f.heatmap||{};f=a&&a.options.borderColor||e.borderColor||h.borderColor||g.borderColor;g=a&&a.options.borderWidth||e.borderWidth||h.borderWidth||g.borderWidth||d["stroke-width"];d.stroke=a&&a.marker&&a.marker.lineColor||e.marker&&e.marker.lineColor||
765
+ f||this.color;d["stroke-width"]=g;c&&(a=D(e.states[c],e.marker&&e.marker.states[c],a&&a.options.states&&a.options.states[c]||{}),c=a.brightness,d.fill=a.color||b.parse(d.fill).brighten(c||0).get(),d.stroke=a.lineColor);return d};h.prototype.setClip=function(a){var b=this.chart;r.prototype.setClip.apply(this,arguments);(!1!==this.options.clip||a)&&this.markerGroup.clip((a||this.clipBox)&&this.sharedClipKey?b.sharedClips[this.sharedClipKey]:b.clipRect)};h.prototype.translate=function(){var a=this.options,
766
+ b=a.marker&&a.marker.symbol||"rect",e=f[b]?b:"rect",h=-1!==["circle","square"].indexOf(e);this.generatePoints();this.points.forEach(function(c){var g=c.getCellAttributes(),k={};k.x=Math.min(g.x1,g.x2);k.y=Math.min(g.y1,g.y2);k.width=Math.max(Math.abs(g.x2-g.x1),0);k.height=Math.max(Math.abs(g.y2-g.y1),0);var l=c.hasImage=0===(c.marker&&c.marker.symbol||b||"").indexOf("url");if(h){var m=Math.abs(k.width-k.height);k.x=Math.min(g.x1,g.x2)+(k.width<k.height?0:m/2);k.y=Math.min(g.y1,g.y2)+(k.width<k.height?
767
+ m/2:0);k.width=k.height=Math.min(k.width,k.height)}m={plotX:(g.x1+g.x2)/2,plotY:(g.y1+g.y2)/2,clientX:(g.x1+g.x2)/2,shapeType:"path",shapeArgs:D(!0,k,{d:f[e](k.x,k.y,k.width,k.height,{r:a.borderRadius})})};l&&(c.marker={width:k.width,height:k.height});d(c,m)});k(this,"afterTranslate")};h.defaultOptions=D(a.defaultOptions,{animation:!1,borderRadius:0,borderWidth:0,nullColor:"#f7f7f7",dataLabels:{formatter:function(){var a=this.series.chart.numberFormatter,b=this.point.value;return p(b)?a(b,-1):""},
768
+ 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}(a);d(y.prototype,{axisTypes:e.seriesMembers.axisTypes,colorKey:e.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:z,
769
+ trackerGroups:e.seriesMembers.trackerGroups,alignDataLabel:h.prototype.alignDataLabel,colorAttribs:e.seriesMembers.colorAttribs,drawLegendSymbol:C.drawRectangle,getSymbol:r.prototype.getSymbol});e.compose(y);w.registerSeriesType("heatmap",y);"";"";return y});H(e,"masters/modules/map.src.js",[e["Core/Globals.js"],e["Core/Axis/Color/ColorAxis.js"],e["Series/MapBubble/MapBubbleSeries.js"],e["Core/Chart/MapChart.js"],e["Maps/MapView.js"],e["Maps/Projection.js"]],function(b,e,z,C,w,y){b.ColorAxis=e;b.MapChart=
770
+ C;b.mapChart=b.Map=C.mapChart;b.MapView=w;b.maps=C.maps;b.Projection=y;e.compose(b.Chart,b.Fx,b.Legend,b.Series);z.compose(b.Axis,b.Chart,b.Legend,b.Series)});H(e,"masters/highmaps.src.js",[e["masters/highcharts.src.js"]],function(b){b.product="Highmaps";return b});e["masters/highmaps.src.js"]._modules=e;return e["masters/highmaps.src.js"]});
771
771
  //# sourceMappingURL=highmaps.js.map