highcharts 8.2.0 → 8.2.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 (731) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Accessibility.js +3 -2
  3. package/es-modules/Accessibility/AccessibilityComponent.js +7 -8
  4. package/es-modules/Accessibility/Components/ContainerComponent.js +6 -7
  5. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +0 -1
  6. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +4 -4
  7. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +4 -4
  8. package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +3 -2
  9. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +4 -4
  10. package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +8 -6
  11. package/es-modules/Accessibility/Components/ZoomComponent.js +7 -6
  12. package/es-modules/Accessibility/KeyboardNavigation.js +7 -3
  13. package/es-modules/Accessibility/Options/Options.js +1 -2
  14. package/es-modules/Accessibility/Utils/ChartUtilities.js +4 -4
  15. package/es-modules/Accessibility/Utils/DOMElementProvider.js +3 -3
  16. package/es-modules/Accessibility/Utils/HTMLUtilities.js +2 -3
  17. package/es-modules/Core/Animation/AnimationUtilities.js +193 -0
  18. package/es-modules/Core/Animation/Fx.js +378 -0
  19. package/es-modules/Core/Axis/Axis.js +12 -6
  20. package/es-modules/Core/Axis/BrokenAxis.js +4 -6
  21. package/es-modules/Core/Axis/ColorAxis.js +11 -10
  22. package/es-modules/Core/Axis/GridAxis.js +113 -57
  23. package/es-modules/Core/Axis/OrdinalAxis.js +4 -5
  24. package/es-modules/Core/Axis/PlotLineOrBand.js +11 -4
  25. package/es-modules/Core/Axis/StackingAxis.js +3 -1
  26. package/es-modules/Core/Axis/TreeGridAxis.js +52 -7
  27. package/es-modules/Core/Chart/Chart.js +13 -8
  28. package/es-modules/Core/Chart/Chart3D.js +2 -1
  29. package/es-modules/Core/Chart/GanttChart.js +5 -9
  30. package/es-modules/Core/Chart/StockChart.js +6 -7
  31. package/es-modules/Core/Color/Color.js +419 -0
  32. package/es-modules/Core/Color/ColorType.js +9 -0
  33. package/es-modules/Core/Dynamics.js +54 -23
  34. package/es-modules/Core/Globals.js +1 -1
  35. package/es-modules/Core/Interaction.js +9 -6
  36. package/es-modules/Core/Legend.js +3 -1
  37. package/es-modules/Core/Navigator.js +8 -4
  38. package/es-modules/Core/Options.js +13 -11
  39. package/es-modules/Core/Pointer.js +2 -2
  40. package/es-modules/Core/Renderer/DOMElementType.js +9 -0
  41. package/es-modules/Core/Renderer/HTML/HTMLElement.js +220 -0
  42. package/es-modules/Core/Renderer/HTML/{HTML.js → HTMLRenderer.js} +8 -202
  43. package/es-modules/Core/Renderer/SVG/SVGElement.js +14 -8
  44. package/es-modules/Core/Renderer/SVG/SVGLabel.js +0 -1
  45. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +2 -3
  46. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +5 -3
  47. package/es-modules/Core/Series/BaseSeries.js +157 -0
  48. package/es-modules/Core/Series/CartesianSeries.js +5553 -0
  49. package/es-modules/Core/Series/DataLabels.js +11 -9
  50. package/es-modules/Core/Series/Point.js +5 -3
  51. package/es-modules/Core/Series/Series.js +138 -5528
  52. package/es-modules/Core/Series/Series3D.js +1 -1
  53. package/es-modules/Core/Tooltip.js +2 -1
  54. package/es-modules/Core/Utilities.js +0 -582
  55. package/es-modules/Extensions/Annotations/Annotations.js +4 -2
  56. package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +3 -3
  57. package/es-modules/Extensions/Annotations/MockPoint.js +3 -3
  58. package/es-modules/Extensions/Annotations/NavigationBindings.js +5 -4
  59. package/es-modules/Extensions/Annotations/Popup.js +1 -2
  60. package/es-modules/Extensions/Annotations/Types/Measure.js +0 -1
  61. package/es-modules/Extensions/Boost/Boost.js +3 -3
  62. package/es-modules/Extensions/Boost/BoostAttach.js +5 -4
  63. package/es-modules/Extensions/Boost/BoostInit.js +1 -1
  64. package/es-modules/Extensions/Boost/BoostOverrides.js +1 -1
  65. package/es-modules/Extensions/Boost/BoostUtils.js +1 -1
  66. package/es-modules/Extensions/Boost/NamedColors.js +1 -1
  67. package/es-modules/Extensions/Boost/WGLRenderer.js +4 -4
  68. package/es-modules/Extensions/Boost/WGLShader.js +1 -2
  69. package/es-modules/Extensions/BoostCanvas.js +9 -6
  70. package/es-modules/Extensions/CurrentDateIndication.js +3 -7
  71. package/es-modules/Extensions/Data.js +7 -9
  72. package/es-modules/Extensions/DataGrouping.js +3 -2
  73. package/es-modules/Extensions/Debugger.js +3 -2
  74. package/es-modules/Extensions/DownloadURL.js +5 -3
  75. package/es-modules/Extensions/DragPanes.js +1 -1
  76. package/es-modules/Extensions/DraggablePoints.js +6 -5
  77. package/es-modules/Extensions/Drilldown.js +24 -10
  78. package/es-modules/Extensions/ExportData.js +1 -2
  79. package/es-modules/Extensions/Exporting.js +9 -2
  80. package/es-modules/Extensions/MarkerClusters.js +8 -5
  81. package/es-modules/Extensions/NoDataToDisplay.js +13 -13
  82. package/es-modules/Extensions/OfflineExporting.js +14 -14
  83. package/es-modules/Extensions/{Oldie.js → Oldie/Oldie.js} +15 -12
  84. package/es-modules/{Core/Axis → Extensions/Oldie}/VMLAxis3D.js +1 -1
  85. package/es-modules/Extensions/Oldie/VMLRenderer3D.js +46 -0
  86. package/es-modules/Extensions/OverlappingDataLabels.js +4 -0
  87. package/es-modules/Extensions/Pane.js +1 -1
  88. package/es-modules/Extensions/ParallelCoordinates.js +1 -1
  89. package/es-modules/Extensions/PatternFill.js +10 -7
  90. package/es-modules/Extensions/Polar.js +4 -2
  91. package/es-modules/Extensions/ScrollablePlotArea.js +3 -1
  92. package/es-modules/Extensions/SeriesLabel.js +4 -3
  93. package/es-modules/{modules/sonification/chartSonify.js → Extensions/Sonification/ChartSonify.js} +1 -1
  94. package/es-modules/{modules/sonification → Extensions/Sonification}/Earcon.js +0 -0
  95. package/es-modules/{modules/sonification → Extensions/Sonification}/Instrument.js +7 -2
  96. package/es-modules/{modules/sonification/instrumentDefinitions.js → Extensions/Sonification/InstrumentDefinitions.js} +1 -1
  97. package/es-modules/{modules/sonification/musicalFrequencies.js → Extensions/Sonification/MusicalFrequencies.js} +0 -0
  98. package/es-modules/{modules/sonification/options.js → Extensions/Sonification/Options.js} +0 -0
  99. package/es-modules/{modules/sonification/pointSonify.js → Extensions/Sonification/PointSonify.js} +1 -1
  100. package/es-modules/{modules/sonification/sonification.js → Extensions/Sonification/Sonification.js} +10 -9
  101. package/es-modules/{modules/sonification → Extensions/Sonification}/Timeline.js +1 -1
  102. package/es-modules/{modules/sonification/utilities.js → Extensions/Sonification/Utilities.js} +1 -1
  103. package/es-modules/Extensions/Stacking.js +1 -1
  104. package/es-modules/Extensions/StaticScale.js +3 -3
  105. package/es-modules/Extensions/Themes/Avocado.js +3 -4
  106. package/es-modules/Extensions/Themes/DarkUnica.js +5 -7
  107. package/es-modules/Extensions/Themes/Gray.js +3 -4
  108. package/es-modules/Extensions/Themes/HighContrastDark.js +3 -4
  109. package/es-modules/Extensions/Themes/Sunset.js +3 -4
  110. package/es-modules/Gantt/Pathfinder.js +6 -0
  111. package/es-modules/Maps/Map.js +9 -5
  112. package/es-modules/Maps/MapNavigation.js +0 -1
  113. package/es-modules/{mixins → Mixins}/CenteredSeries.js +0 -0
  114. package/es-modules/{mixins → Mixins}/ColorMapSeries.js +7 -3
  115. package/es-modules/{mixins → Mixins}/ColorSeries.js +7 -3
  116. package/es-modules/{mixins → Mixins}/DerivedSeries.js +1 -1
  117. package/es-modules/{mixins → Mixins}/DrawPoint.js +0 -0
  118. package/es-modules/{mixins → Mixins}/Geometry.js +0 -0
  119. package/es-modules/{mixins → Mixins}/GeometryCircles.js +0 -0
  120. package/es-modules/{mixins → Mixins}/IndicatorRequired.js +0 -0
  121. package/es-modules/{mixins → Mixins}/LegendSymbol.js +0 -0
  122. package/es-modules/{mixins → Mixins}/MultipleLines.js +0 -0
  123. package/es-modules/{mixins → Mixins}/Navigation.js +0 -0
  124. package/es-modules/{mixins → Mixins}/NelderMead.js +0 -0
  125. package/es-modules/{mixins → Mixins}/Nodes.js +1 -1
  126. package/es-modules/{mixins → Mixins}/OnSeries.js +1 -1
  127. package/es-modules/{mixins → Mixins}/Polygon.js +0 -0
  128. package/es-modules/{mixins → Mixins}/ReduceArray.js +0 -0
  129. package/es-modules/{mixins → Mixins}/TreeSeries.js +1 -1
  130. package/es-modules/Series/AreaRangeSeries.js +57 -21
  131. package/es-modules/Series/AreaSeries.js +38 -6
  132. package/es-modules/Series/AreaSplineRangeSeries.js +44 -7
  133. package/es-modules/Series/AreaSplineSeries.js +43 -6
  134. package/es-modules/Series/BarSeries.js +2 -5
  135. package/es-modules/Series/BellcurveSeries.js +45 -5
  136. package/es-modules/Series/BoxPlotSeries.js +7 -6
  137. package/es-modules/Series/Bubble/BubbleLegend.js +3 -3
  138. package/es-modules/Series/Bubble/BubbleSeries.js +13 -11
  139. package/es-modules/Series/BulletSeries.js +5 -5
  140. package/es-modules/Series/CandlestickSeries.js +7 -6
  141. package/es-modules/Series/Column3DSeries.js +77 -23
  142. package/es-modules/Series/ColumnPyramidSeries.js +5 -6
  143. package/es-modules/Series/ColumnRangeSeries.js +17 -16
  144. package/es-modules/Series/ColumnSeries.js +18 -14
  145. package/es-modules/Series/CylinderSeries.js +8 -11
  146. package/es-modules/Series/DependencyWheelSeries.js +11 -9
  147. package/es-modules/Series/DotplotSeries.js +3 -11
  148. package/es-modules/Series/DumbbellSeries.js +11 -7
  149. package/es-modules/Series/ErrorBarSeries.js +3 -5
  150. package/es-modules/Series/FlagsSeries.js +13 -9
  151. package/es-modules/Series/Funnel3DSeries.js +8 -12
  152. package/es-modules/Series/FunnelSeries.js +6 -6
  153. package/es-modules/Series/GanttSeries.js +11 -12
  154. package/es-modules/Series/GaugeSeries.js +6 -5
  155. package/es-modules/Series/HeatmapSeries.js +9 -7
  156. package/es-modules/Series/HistogramSeries.js +6 -5
  157. package/es-modules/Series/ItemSeries.js +5 -5
  158. package/es-modules/Series/LineSeries.js +13 -0
  159. package/es-modules/Series/LollipopSeries.js +11 -7
  160. package/es-modules/Series/MapBubbleSeries.js +4 -5
  161. package/es-modules/Series/MapLineSeries.js +4 -6
  162. package/es-modules/Series/MapPointSeries.js +6 -5
  163. package/es-modules/Series/MapSeries.js +15 -12
  164. package/es-modules/Series/Networkgraph/DraggableNodes.js +8 -6
  165. package/es-modules/Series/Networkgraph/Layouts.js +3 -1
  166. package/es-modules/Series/Networkgraph/Networkgraph.js +8 -7
  167. package/es-modules/Series/OHLCSeries.js +4 -6
  168. package/es-modules/Series/OrganizationSeries.js +7 -4
  169. package/es-modules/Series/PackedBubbleSeries.js +10 -10
  170. package/es-modules/Series/ParetoSeries.js +6 -5
  171. package/es-modules/Series/Pie3DSeries.js +3 -2
  172. package/es-modules/Series/PieSeries.js +36 -10
  173. package/es-modules/Series/PolygonSeries.js +6 -6
  174. package/es-modules/Series/Pyramid3DSeries.js +3 -5
  175. package/es-modules/Series/SankeySeries.js +13 -12
  176. package/es-modules/Series/Scatter3DSeries.js +4 -6
  177. package/es-modules/Series/ScatterSeries.js +10 -5
  178. package/es-modules/Series/SolidGaugeSeries.js +7 -7
  179. package/es-modules/Series/SplineSeries.js +5 -3
  180. package/es-modules/Series/StreamgraphSeries.js +41 -5
  181. package/es-modules/Series/SunburstSeries.js +15 -11
  182. package/es-modules/Series/TilemapSeries.js +8 -6
  183. package/es-modules/Series/TimelineSeries.js +6 -5
  184. package/es-modules/Series/TreemapSeries.js +36 -50
  185. package/es-modules/Series/VariablePieSeries.js +9 -7
  186. package/es-modules/Series/VariwideSeries.js +7 -6
  187. package/es-modules/Series/VectorSeries.js +5 -3
  188. package/es-modules/Series/VennSeries.js +20 -17
  189. package/es-modules/Series/WaterfallSeries.js +6 -4
  190. package/es-modules/Series/WindbarbSeries.js +9 -6
  191. package/es-modules/Series/WordcloudSeries.js +11 -9
  192. package/es-modules/Series/XRangeSeries.js +8 -7
  193. package/es-modules/Stock/Indicators/ABIndicator.js +7 -7
  194. package/es-modules/Stock/Indicators/ADIndicator.js +4 -3
  195. package/es-modules/Stock/Indicators/AOIndicator.js +5 -4
  196. package/es-modules/Stock/Indicators/APOIndicator.js +7 -7
  197. package/es-modules/Stock/Indicators/ATRIndicator.js +5 -5
  198. package/es-modules/Stock/Indicators/AroonIndicator.js +6 -5
  199. package/es-modules/Stock/Indicators/AroonOscillatorIndicator.js +5 -5
  200. package/es-modules/Stock/Indicators/BBIndicator.js +7 -7
  201. package/es-modules/Stock/Indicators/CCIIndicator.js +4 -3
  202. package/es-modules/Stock/Indicators/CMFIndicator.js +3 -4
  203. package/es-modules/Stock/Indicators/ChaikinIndicator.js +9 -8
  204. package/es-modules/Stock/Indicators/DEMAIndicator.js +7 -7
  205. package/es-modules/Stock/Indicators/DPOIndicator.js +4 -3
  206. package/es-modules/Stock/Indicators/EMAIndicator.js +3 -3
  207. package/es-modules/Stock/Indicators/IKHIndicator.js +22 -19
  208. package/es-modules/Stock/Indicators/KeltnerChannelsIndicator.js +10 -7
  209. package/es-modules/Stock/Indicators/MACDIndicator.js +7 -4
  210. package/es-modules/Stock/Indicators/MFIIndicator.js +4 -3
  211. package/es-modules/Stock/Indicators/MomentumIndicator.js +4 -3
  212. package/es-modules/Stock/Indicators/NATRIndicator.js +4 -6
  213. package/es-modules/Stock/Indicators/PCIndicator.js +8 -7
  214. package/es-modules/Stock/Indicators/PPOIndicator.js +7 -7
  215. package/es-modules/Stock/Indicators/PSARIndicator.js +3 -4
  216. package/es-modules/Stock/Indicators/PivotPointsIndicator.js +5 -5
  217. package/es-modules/Stock/Indicators/PriceEnvelopesIndicator.js +5 -5
  218. package/es-modules/Stock/Indicators/ROCIndicator.js +4 -3
  219. package/es-modules/Stock/Indicators/RSIIndicator.js +4 -3
  220. package/es-modules/Stock/Indicators/RegressionIndicators.js +7 -6
  221. package/es-modules/Stock/Indicators/{Indicators.js → SMAIndicator.js} +9 -6
  222. package/es-modules/Stock/Indicators/SlowStochasticIndicator.js +6 -8
  223. package/es-modules/Stock/Indicators/StochasticIndicator.js +8 -8
  224. package/es-modules/Stock/Indicators/SupertrendIndicator.js +7 -6
  225. package/es-modules/Stock/Indicators/TEMAIndicator.js +7 -7
  226. package/es-modules/Stock/Indicators/TRIXIndicator.js +7 -7
  227. package/es-modules/Stock/Indicators/TrendLineIndicator.js +4 -3
  228. package/es-modules/Stock/Indicators/VBPIndicator.js +7 -4
  229. package/es-modules/Stock/Indicators/VWAPIndicator.js +4 -3
  230. package/es-modules/Stock/Indicators/WMAIndicator.js +4 -3
  231. package/es-modules/Stock/Indicators/WilliamsRIndicator.js +6 -5
  232. package/es-modules/Stock/Indicators/ZigzagIndicator.js +5 -7
  233. package/es-modules/Stock/StockToolsBindings.js +16 -2
  234. package/es-modules/Stock/StockToolsGui.js +9 -9
  235. package/es-modules/masters/highcharts-3d.src.js +1 -2
  236. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  237. package/es-modules/masters/highcharts-more.src.js +1 -1
  238. package/es-modules/masters/highcharts.src.js +3 -2
  239. package/es-modules/masters/highmaps.src.js +1 -1
  240. package/es-modules/masters/highstock.src.js +1 -1
  241. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  242. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  243. package/es-modules/masters/indicators/ao.src.js +1 -1
  244. package/es-modules/masters/indicators/apo.src.js +1 -1
  245. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  246. package/es-modules/masters/indicators/aroon.src.js +1 -1
  247. package/es-modules/masters/indicators/atr.src.js +1 -1
  248. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  249. package/es-modules/masters/indicators/cci.src.js +1 -1
  250. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  251. package/es-modules/masters/indicators/cmf.src.js +1 -1
  252. package/es-modules/masters/indicators/dema.src.js +1 -1
  253. package/es-modules/masters/indicators/dpo.src.js +1 -1
  254. package/es-modules/masters/indicators/ema.src.js +1 -1
  255. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  256. package/es-modules/masters/indicators/indicators-all.src.js +2 -2
  257. package/es-modules/masters/indicators/indicators.src.js +2 -2
  258. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  259. package/es-modules/masters/indicators/macd.src.js +1 -1
  260. package/es-modules/masters/indicators/mfi.src.js +1 -1
  261. package/es-modules/masters/indicators/momentum.src.js +1 -1
  262. package/es-modules/masters/indicators/natr.src.js +1 -1
  263. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  264. package/es-modules/masters/indicators/ppo.src.js +1 -1
  265. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  266. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  267. package/es-modules/masters/indicators/psar.src.js +1 -1
  268. package/es-modules/masters/indicators/regressions.src.js +1 -1
  269. package/es-modules/masters/indicators/roc.src.js +1 -1
  270. package/es-modules/masters/indicators/rsi.src.js +1 -1
  271. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  272. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  273. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  274. package/es-modules/masters/indicators/tema.src.js +1 -1
  275. package/es-modules/masters/indicators/trendline.src.js +1 -1
  276. package/es-modules/masters/indicators/trix.src.js +1 -1
  277. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  278. package/es-modules/masters/indicators/vwap.src.js +1 -1
  279. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  280. package/es-modules/masters/indicators/wma.src.js +1 -1
  281. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  282. package/es-modules/masters/modules/accessibility.src.js +1 -1
  283. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  284. package/es-modules/masters/modules/annotations.src.js +1 -1
  285. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  286. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  287. package/es-modules/masters/modules/boost.src.js +1 -1
  288. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  289. package/es-modules/masters/modules/bullet.src.js +1 -1
  290. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  291. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  292. package/es-modules/masters/modules/cylinder.src.js +1 -1
  293. package/es-modules/masters/modules/data.src.js +1 -1
  294. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  295. package/es-modules/masters/modules/debugger.src.js +1 -1
  296. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  297. package/es-modules/masters/modules/dotplot.src.js +1 -1
  298. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  299. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  300. package/es-modules/masters/modules/drilldown.src.js +1 -1
  301. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  302. package/es-modules/masters/modules/export-data.src.js +1 -1
  303. package/es-modules/masters/modules/exporting.src.js +1 -1
  304. package/es-modules/masters/modules/full-screen.src.js +1 -1
  305. package/es-modules/masters/modules/funnel.src.js +1 -1
  306. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  307. package/es-modules/masters/modules/gantt.src.js +1 -1
  308. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  309. package/es-modules/masters/modules/heatmap.src.js +1 -1
  310. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  311. package/es-modules/masters/modules/item-series.src.js +1 -1
  312. package/es-modules/masters/modules/lollipop.src.js +1 -1
  313. package/es-modules/masters/modules/map.src.js +1 -1
  314. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  315. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  316. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  317. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  318. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  319. package/es-modules/masters/modules/oldie.src.js +2 -2
  320. package/es-modules/masters/modules/organization.src.js +1 -1
  321. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  322. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  323. package/es-modules/masters/modules/pareto.src.js +1 -1
  324. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  325. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  326. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  327. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  328. package/es-modules/masters/modules/sankey.src.js +1 -1
  329. package/es-modules/masters/modules/series-label.src.js +1 -1
  330. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  331. package/es-modules/masters/modules/sonification.src.js +2 -2
  332. package/es-modules/masters/modules/static-scale.src.js +1 -1
  333. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  334. package/es-modules/masters/modules/stock.src.js +1 -1
  335. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  336. package/es-modules/masters/modules/sunburst.src.js +1 -1
  337. package/es-modules/masters/modules/tilemap.src.js +1 -1
  338. package/es-modules/masters/modules/timeline.src.js +1 -1
  339. package/es-modules/masters/modules/treegrid.src.js +1 -1
  340. package/es-modules/masters/modules/treemap.src.js +1 -1
  341. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  342. package/es-modules/masters/modules/variwide.src.js +1 -1
  343. package/es-modules/masters/modules/vector.src.js +1 -1
  344. package/es-modules/masters/modules/venn.src.js +1 -1
  345. package/es-modules/masters/modules/windbarb.src.js +1 -1
  346. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  347. package/es-modules/masters/modules/xrange.src.js +1 -1
  348. package/es-modules/masters/themes/avocado.src.js +1 -1
  349. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  350. package/es-modules/masters/themes/dark-green.src.js +1 -1
  351. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  352. package/es-modules/masters/themes/gray.src.js +1 -1
  353. package/es-modules/masters/themes/grid-light.src.js +1 -1
  354. package/es-modules/masters/themes/grid.src.js +1 -1
  355. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  356. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  357. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  358. package/es-modules/masters/themes/skies.src.js +1 -1
  359. package/es-modules/masters/themes/sunset.src.js +1 -1
  360. package/highcharts-3d.js +86 -89
  361. package/highcharts-3d.js.map +1 -1
  362. package/highcharts-3d.src.js +88 -149
  363. package/highcharts-gantt.js +729 -717
  364. package/highcharts-gantt.js.map +1 -1
  365. package/highcharts-gantt.src.js +5570 -5094
  366. package/highcharts-more.js +164 -163
  367. package/highcharts-more.js.map +1 -1
  368. package/highcharts-more.src.js +182 -118
  369. package/highcharts.d.ts +89 -159
  370. package/highcharts.js +537 -530
  371. package/highcharts.js.map +1 -1
  372. package/highcharts.src.d.ts +89 -159
  373. package/highcharts.src.js +5341 -4976
  374. package/highmaps.js +635 -627
  375. package/highmaps.js.map +1 -1
  376. package/highmaps.src.js +5907 -5530
  377. package/highstock.js +696 -689
  378. package/highstock.js.map +1 -1
  379. package/highstock.src.js +5384 -5026
  380. package/indicators/acceleration-bands.js +8 -8
  381. package/indicators/acceleration-bands.js.map +1 -1
  382. package/indicators/acceleration-bands.src.js +7 -7
  383. package/indicators/accumulation-distribution.js +4 -4
  384. package/indicators/accumulation-distribution.js.map +1 -1
  385. package/indicators/accumulation-distribution.src.js +5 -5
  386. package/indicators/ao.js +5 -5
  387. package/indicators/ao.js.map +1 -1
  388. package/indicators/ao.src.js +6 -6
  389. package/indicators/apo.js +5 -5
  390. package/indicators/apo.js.map +1 -1
  391. package/indicators/apo.src.js +7 -7
  392. package/indicators/aroon-oscillator.js +8 -8
  393. package/indicators/aroon-oscillator.js.map +1 -1
  394. package/indicators/aroon-oscillator.src.js +6 -6
  395. package/indicators/aroon.js +7 -7
  396. package/indicators/aroon.js.map +1 -1
  397. package/indicators/aroon.src.js +6 -6
  398. package/indicators/atr.js +4 -4
  399. package/indicators/atr.js.map +1 -1
  400. package/indicators/atr.src.js +6 -14
  401. package/indicators/bollinger-bands.js +8 -8
  402. package/indicators/bollinger-bands.js.map +1 -1
  403. package/indicators/bollinger-bands.src.js +7 -7
  404. package/indicators/cci.js +4 -4
  405. package/indicators/cci.js.map +1 -1
  406. package/indicators/cci.src.js +5 -5
  407. package/indicators/chaikin.js +6 -6
  408. package/indicators/chaikin.js.map +1 -1
  409. package/indicators/chaikin.src.js +75 -74
  410. package/indicators/cmf.js +2 -2
  411. package/indicators/cmf.js.map +1 -1
  412. package/indicators/cmf.src.js +4 -4
  413. package/indicators/dema.js +5 -5
  414. package/indicators/dema.js.map +1 -1
  415. package/indicators/dema.src.js +7 -7
  416. package/indicators/dpo.js +4 -4
  417. package/indicators/dpo.js.map +1 -1
  418. package/indicators/dpo.src.js +5 -5
  419. package/indicators/ema.js +4 -4
  420. package/indicators/ema.js.map +1 -1
  421. package/indicators/ema.src.js +4 -5
  422. package/indicators/ichimoku-kinko-hyo.js +13 -13
  423. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  424. package/indicators/ichimoku-kinko-hyo.src.js +21 -20
  425. package/indicators/indicators-all.js +118 -118
  426. package/indicators/indicators-all.js.map +1 -1
  427. package/indicators/indicators-all.src.js +227 -230
  428. package/indicators/indicators.js +9 -9
  429. package/indicators/indicators.js.map +1 -1
  430. package/indicators/indicators.src.js +7 -7
  431. package/indicators/keltner-channels.js +8 -8
  432. package/indicators/keltner-channels.js.map +1 -1
  433. package/indicators/keltner-channels.src.js +12 -9
  434. package/indicators/macd.js +10 -10
  435. package/indicators/macd.js.map +1 -1
  436. package/indicators/macd.src.js +8 -7
  437. package/indicators/mfi.js +4 -4
  438. package/indicators/mfi.js.map +1 -1
  439. package/indicators/mfi.src.js +5 -5
  440. package/indicators/momentum.js +4 -4
  441. package/indicators/momentum.js.map +1 -1
  442. package/indicators/momentum.src.js +5 -5
  443. package/indicators/natr.js +3 -3
  444. package/indicators/natr.js.map +1 -1
  445. package/indicators/natr.src.js +5 -5
  446. package/indicators/pivot-points.js +8 -8
  447. package/indicators/pivot-points.js.map +1 -1
  448. package/indicators/pivot-points.src.js +6 -6
  449. package/indicators/ppo.js +5 -5
  450. package/indicators/ppo.js.map +1 -1
  451. package/indicators/ppo.src.js +7 -7
  452. package/indicators/price-channel.js +8 -8
  453. package/indicators/price-channel.js.map +1 -1
  454. package/indicators/price-channel.src.js +65 -65
  455. package/indicators/price-envelopes.js +7 -7
  456. package/indicators/price-envelopes.js.map +1 -1
  457. package/indicators/price-envelopes.src.js +6 -6
  458. package/indicators/psar.js +2 -2
  459. package/indicators/psar.js.map +1 -1
  460. package/indicators/psar.src.js +4 -4
  461. package/indicators/regressions.js +6 -6
  462. package/indicators/regressions.js.map +1 -1
  463. package/indicators/regressions.src.js +8 -8
  464. package/indicators/roc.js +3 -3
  465. package/indicators/roc.js.map +1 -1
  466. package/indicators/roc.src.js +5 -5
  467. package/indicators/rsi.js +4 -4
  468. package/indicators/rsi.js.map +1 -1
  469. package/indicators/rsi.src.js +5 -5
  470. package/indicators/slow-stochastic.js +5 -5
  471. package/indicators/slow-stochastic.js.map +1 -1
  472. package/indicators/slow-stochastic.src.js +6 -6
  473. package/indicators/stochastic.js +9 -9
  474. package/indicators/stochastic.js.map +1 -1
  475. package/indicators/stochastic.src.js +66 -66
  476. package/indicators/supertrend.js +9 -9
  477. package/indicators/supertrend.js.map +1 -1
  478. package/indicators/supertrend.src.js +9 -7
  479. package/indicators/tema.js +6 -6
  480. package/indicators/tema.js.map +1 -1
  481. package/indicators/tema.src.js +7 -7
  482. package/indicators/trendline.js +3 -3
  483. package/indicators/trendline.js.map +1 -1
  484. package/indicators/trendline.src.js +5 -5
  485. package/indicators/trix.js +4 -4
  486. package/indicators/trix.js.map +1 -1
  487. package/indicators/trix.src.js +7 -7
  488. package/indicators/volume-by-price.js +13 -13
  489. package/indicators/volume-by-price.js.map +1 -1
  490. package/indicators/volume-by-price.src.js +7 -8
  491. package/indicators/vwap.js +4 -4
  492. package/indicators/vwap.js.map +1 -1
  493. package/indicators/vwap.src.js +5 -5
  494. package/indicators/williams-r.js +4 -4
  495. package/indicators/williams-r.js.map +1 -1
  496. package/indicators/williams-r.src.js +6 -6
  497. package/indicators/wma.js +4 -4
  498. package/indicators/wma.js.map +1 -1
  499. package/indicators/wma.src.js +5 -5
  500. package/indicators/zigzag.js +4 -4
  501. package/indicators/zigzag.js.map +1 -1
  502. package/indicators/zigzag.src.js +6 -7
  503. package/modules/accessibility.js +148 -147
  504. package/modules/accessibility.js.map +1 -1
  505. package/modules/accessibility.src.js +104 -96
  506. package/modules/annotations-advanced.js +158 -158
  507. package/modules/annotations-advanced.js.map +1 -1
  508. package/modules/annotations-advanced.src.js +15 -14
  509. package/modules/annotations.js +105 -105
  510. package/modules/annotations.js.map +1 -1
  511. package/modules/annotations.src.js +15 -14
  512. package/modules/arrow-symbols.js +1 -1
  513. package/modules/arrow-symbols.src.js +1 -1
  514. package/modules/boost-canvas.js +15 -15
  515. package/modules/boost-canvas.js.map +1 -1
  516. package/modules/boost-canvas.src.js +16 -16
  517. package/modules/boost.d.ts +4 -0
  518. package/modules/boost.js +77 -64
  519. package/modules/boost.js.map +1 -1
  520. package/modules/boost.src.d.ts +4 -0
  521. package/modules/boost.src.js +561 -14
  522. package/modules/broken-axis.js +12 -12
  523. package/modules/broken-axis.js.map +1 -1
  524. package/modules/broken-axis.src.js +4 -5
  525. package/modules/bullet.js +6 -6
  526. package/modules/bullet.js.map +1 -1
  527. package/modules/bullet.src.js +5 -6
  528. package/modules/coloraxis.js +22 -21
  529. package/modules/coloraxis.js.map +1 -1
  530. package/modules/coloraxis.src.js +46 -41
  531. package/modules/current-date-indicator.js +4 -4
  532. package/modules/current-date-indicator.js.map +1 -1
  533. package/modules/current-date-indicator.src.js +4 -6
  534. package/modules/cylinder.js +8 -8
  535. package/modules/cylinder.js.map +1 -1
  536. package/modules/cylinder.src.js +18 -21
  537. package/modules/data.js +32 -32
  538. package/modules/data.js.map +1 -1
  539. package/modules/data.src.js +7 -11
  540. package/modules/datagrouping.js +17 -17
  541. package/modules/datagrouping.js.map +1 -1
  542. package/modules/datagrouping.src.js +3 -4
  543. package/modules/debugger.js +4 -4
  544. package/modules/debugger.js.map +1 -1
  545. package/modules/debugger.src.js +4 -4
  546. package/modules/dependency-wheel.js +8 -8
  547. package/modules/dependency-wheel.js.map +1 -1
  548. package/modules/dependency-wheel.src.js +9 -9
  549. package/modules/dotplot.js +5 -5
  550. package/modules/dotplot.js.map +1 -1
  551. package/modules/dotplot.src.js +4 -12
  552. package/modules/drag-panes.js +7 -7
  553. package/modules/drag-panes.js.map +1 -1
  554. package/modules/drag-panes.src.js +2 -2
  555. package/modules/draggable-points.js +33 -33
  556. package/modules/draggable-points.js.map +1 -1
  557. package/modules/draggable-points.src.js +6 -6
  558. package/modules/drilldown.js +23 -22
  559. package/modules/drilldown.js.map +1 -1
  560. package/modules/drilldown.src.js +21 -11
  561. package/modules/dumbbell.js +24 -20
  562. package/modules/dumbbell.js.map +1 -1
  563. package/modules/dumbbell.src.js +396 -136
  564. package/modules/export-data.js +21 -21
  565. package/modules/export-data.js.map +1 -1
  566. package/modules/export-data.src.js +8 -7
  567. package/modules/exporting.js +32 -32
  568. package/modules/exporting.js.map +1 -1
  569. package/modules/exporting.src.js +10 -3
  570. package/modules/full-screen.js +1 -1
  571. package/modules/full-screen.src.js +1 -1
  572. package/modules/funnel.js +9 -9
  573. package/modules/funnel.js.map +1 -1
  574. package/modules/funnel.src.js +6 -8
  575. package/modules/funnel3d.js +17 -17
  576. package/modules/funnel3d.js.map +1 -1
  577. package/modules/funnel3d.src.js +9 -12
  578. package/modules/gantt.js +194 -189
  579. package/modules/gantt.js.map +1 -1
  580. package/modules/gantt.src.js +232 -121
  581. package/modules/grid-axis.js +22 -19
  582. package/modules/grid-axis.js.map +1 -1
  583. package/modules/grid-axis.src.js +130 -64
  584. package/modules/heatmap.js +33 -33
  585. package/modules/heatmap.js.map +1 -1
  586. package/modules/heatmap.src.js +93 -84
  587. package/modules/histogram-bellcurve.js +10 -10
  588. package/modules/histogram-bellcurve.js.map +1 -1
  589. package/modules/histogram-bellcurve.src.js +49 -11
  590. package/modules/item-series.js +9 -9
  591. package/modules/item-series.js.map +1 -1
  592. package/modules/item-series.src.js +5 -6
  593. package/modules/lollipop.d.ts +20 -1
  594. package/modules/lollipop.js +26 -4
  595. package/modules/lollipop.js.map +1 -1
  596. package/modules/lollipop.src.d.ts +20 -1
  597. package/modules/lollipop.src.js +1431 -9
  598. package/modules/map.d.ts +1 -1
  599. package/modules/map.js +99 -99
  600. package/modules/map.js.map +1 -1
  601. package/modules/map.src.d.ts +1 -1
  602. package/modules/map.src.js +1421 -1409
  603. package/modules/marker-clusters.js +35 -35
  604. package/modules/marker-clusters.js.map +1 -1
  605. package/modules/marker-clusters.src.js +5 -5
  606. package/modules/networkgraph.js +47 -46
  607. package/modules/networkgraph.js.map +1 -1
  608. package/modules/networkgraph.src.js +18 -17
  609. package/modules/no-data-to-display.js +4 -4
  610. package/modules/no-data-to-display.js.map +1 -1
  611. package/modules/no-data-to-display.src.js +15 -12
  612. package/modules/offline-exporting.js +15 -15
  613. package/modules/offline-exporting.js.map +1 -1
  614. package/modules/offline-exporting.src.js +20 -18
  615. package/modules/oldie-polyfills.js +1 -1
  616. package/modules/oldie-polyfills.src.js +1 -1
  617. package/modules/oldie.js +52 -26
  618. package/modules/oldie.js.map +1 -1
  619. package/modules/oldie.src.js +1401 -22
  620. package/modules/organization.js +11 -11
  621. package/modules/organization.js.map +1 -1
  622. package/modules/organization.src.js +6 -5
  623. package/modules/overlapping-datalabels.js +1 -1
  624. package/modules/overlapping-datalabels.src.js +1 -1
  625. package/modules/parallel-coordinates.js +1 -1
  626. package/modules/parallel-coordinates.src.js +1 -1
  627. package/modules/pareto.js +5 -5
  628. package/modules/pareto.js.map +1 -1
  629. package/modules/pareto.src.js +5 -6
  630. package/modules/pathfinder.js +20 -20
  631. package/modules/pathfinder.js.map +1 -1
  632. package/modules/pathfinder.src.js +7 -1
  633. package/modules/pattern-fill.js +13 -13
  634. package/modules/pattern-fill.js.map +1 -1
  635. package/modules/pattern-fill.src.js +10 -10
  636. package/modules/price-indicator.js +1 -1
  637. package/modules/price-indicator.src.js +1 -1
  638. package/modules/pyramid3d.js +3 -3
  639. package/modules/pyramid3d.js.map +1 -1
  640. package/modules/pyramid3d.src.js +3 -4
  641. package/modules/sankey.js +25 -25
  642. package/modules/sankey.js.map +1 -1
  643. package/modules/sankey.src.js +15 -15
  644. package/modules/series-label.js +17 -17
  645. package/modules/series-label.js.map +1 -1
  646. package/modules/series-label.src.js +3 -3
  647. package/modules/solid-gauge.js +8 -8
  648. package/modules/solid-gauge.js.map +1 -1
  649. package/modules/solid-gauge.src.js +4 -5
  650. package/modules/sonification.js +46 -46
  651. package/modules/sonification.js.map +1 -1
  652. package/modules/sonification.src.js +21 -16
  653. package/modules/static-scale.js +4 -4
  654. package/modules/static-scale.js.map +1 -1
  655. package/modules/static-scale.src.js +3 -4
  656. package/modules/stock-tools.js +142 -141
  657. package/modules/stock-tools.js.map +1 -1
  658. package/modules/stock-tools.src.js +40 -21
  659. package/modules/stock.js +161 -161
  660. package/modules/stock.js.map +1 -1
  661. package/modules/stock.src.js +41 -48
  662. package/modules/streamgraph.js +2 -2
  663. package/modules/streamgraph.js.map +1 -1
  664. package/modules/streamgraph.src.js +41 -4
  665. package/modules/sunburst.js +51 -50
  666. package/modules/sunburst.js.map +1 -1
  667. package/modules/sunburst.src.js +134 -65
  668. package/modules/tilemap.js +14 -14
  669. package/modules/tilemap.js.map +1 -1
  670. package/modules/tilemap.src.js +9 -9
  671. package/modules/timeline.js +14 -14
  672. package/modules/timeline.js.map +1 -1
  673. package/modules/timeline.src.js +7 -8
  674. package/modules/treegrid.js +57 -52
  675. package/modules/treegrid.js.map +1 -1
  676. package/modules/treegrid.src.js +191 -77
  677. package/modules/treemap.js +35 -34
  678. package/modules/treemap.js.map +1 -1
  679. package/modules/treemap.src.js +205 -138
  680. package/modules/variable-pie.js +8 -8
  681. package/modules/variable-pie.js.map +1 -1
  682. package/modules/variable-pie.src.js +10 -9
  683. package/modules/variwide.js +8 -8
  684. package/modules/variwide.js.map +1 -1
  685. package/modules/variwide.src.js +6 -7
  686. package/modules/vector.js +6 -6
  687. package/modules/vector.js.map +1 -1
  688. package/modules/vector.src.js +6 -7
  689. package/modules/venn.js +26 -26
  690. package/modules/venn.js.map +1 -1
  691. package/modules/venn.src.js +23 -23
  692. package/modules/windbarb.js +11 -11
  693. package/modules/windbarb.js.map +1 -1
  694. package/modules/windbarb.src.js +8 -9
  695. package/modules/wordcloud.js +19 -19
  696. package/modules/wordcloud.js.map +1 -1
  697. package/modules/wordcloud.src.js +14 -14
  698. package/modules/xrange.js +12 -12
  699. package/modules/xrange.js.map +1 -1
  700. package/modules/xrange.src.js +8 -9
  701. package/package.json +1 -1
  702. package/themes/avocado.js +1 -1
  703. package/themes/avocado.js.map +1 -1
  704. package/themes/avocado.src.js +4 -4
  705. package/themes/dark-blue.js +1 -1
  706. package/themes/dark-blue.src.js +1 -1
  707. package/themes/dark-green.js +1 -1
  708. package/themes/dark-green.src.js +1 -1
  709. package/themes/dark-unica.js +1 -1
  710. package/themes/dark-unica.js.map +1 -1
  711. package/themes/dark-unica.src.js +6 -7
  712. package/themes/gray.js +1 -1
  713. package/themes/gray.js.map +1 -1
  714. package/themes/gray.src.js +4 -4
  715. package/themes/grid-light.js +1 -1
  716. package/themes/grid-light.src.js +1 -1
  717. package/themes/grid.js +1 -1
  718. package/themes/grid.src.js +1 -1
  719. package/themes/high-contrast-dark.js +1 -1
  720. package/themes/high-contrast-dark.js.map +1 -1
  721. package/themes/high-contrast-dark.src.js +4 -4
  722. package/themes/high-contrast-light.js +1 -1
  723. package/themes/high-contrast-light.src.js +1 -1
  724. package/themes/sand-signika.js +1 -1
  725. package/themes/sand-signika.src.js +1 -1
  726. package/themes/skies.js +1 -1
  727. package/themes/skies.src.js +1 -1
  728. package/themes/sunset.js +1 -1
  729. package/themes/sunset.js.map +1 -1
  730. package/themes/sunset.src.js +4 -4
  731. package/es-modules/Core/Renderer/VML/VMLRenderer3D.js +0 -37
package/modules/map.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highmaps JS v8.2.0 (2020-08-20)
2
+ Highmaps JS v8.2.2 (2020-10-22)
3
3
 
4
4
  Highmaps as a plugin for Highcharts or Highstock.
5
5
 
@@ -7,102 +7,102 @@
7
7
 
8
8
  License: www.highcharts.com/license
9
9
  */
10
- (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/map",["highcharts"],function(z){a(z);a.Highcharts=z;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function z(a,r,k,n){a.hasOwnProperty(r)||(a[r]=n.apply(null,k))}a=a?a._modules:{};z(a,"Core/Axis/MapAxis.js",[a["Core/Axis/Axis.js"],a["Core/Utilities.js"]],function(a,r){var k=r.addEvent,n=r.pick,c=function(){return function(c){this.axis=
11
- c}}();r=function(){function a(){}a.compose=function(a){a.keepProps.push("mapAxis");k(a,"init",function(){this.mapAxis||(this.mapAxis=new c(this))});k(a,"getSeriesExtremes",function(){if(this.mapAxis){var c=[];this.isXAxis&&(this.series.forEach(function(a,u){a.useMapGeometry&&(c[u]=a.xData,a.xData=[])}),this.mapAxis.seriesXData=c)}});k(a,"afterGetSeriesExtremes",function(){if(this.mapAxis){var c=this.mapAxis.seriesXData||[],a;if(this.isXAxis){var u=n(this.dataMin,Number.MAX_VALUE);var h=n(this.dataMax,
12
- -Number.MAX_VALUE);this.series.forEach(function(f,x){f.useMapGeometry&&(u=Math.min(u,n(f.minX,u)),h=Math.max(h,n(f.maxX,h)),f.xData=c[x],a=!0)});a&&(this.dataMin=u,this.dataMax=h);this.mapAxis.seriesXData=void 0}}});k(a,"afterSetAxisTranslation",function(){if(this.mapAxis){var c=this.chart,a=c.plotWidth/c.plotHeight;c=c.xAxis[0];var u;"yAxis"===this.coll&&"undefined"!==typeof c.transA&&this.series.forEach(function(c){c.preserveAspectRatio&&(u=!0)});if(u&&(this.transA=c.transA=Math.min(this.transA,
13
- c.transA),a/=(c.max-c.min)/(this.max-this.min),a=1>a?this:c,c=(a.max-a.min)*a.transA,a.mapAxis.pixelPadding=a.len-c,a.minPixelPadding=a.mapAxis.pixelPadding/2,c=a.mapAxis.fixTo)){c=c[1]-a.toValue(c[0],!0);c*=a.transA;if(Math.abs(c)>a.minPixelPadding||a.min===a.dataMin&&a.max===a.dataMax)c=0;a.minPixelPadding-=c}}});k(a,"render",function(){this.mapAxis&&(this.mapAxis.fixTo=void 0)})};return a}();r.compose(a);return r});z(a,"Mixins/ColorSeries.js",[a["Core/Globals.js"]],function(a){a.colorPointMixin=
14
- {setVisible:function(a){var k=this,n=a?"show":"hide";k.visible=k.options.visible=!!a;["graphic","dataLabel"].forEach(function(c){if(k[c])k[c][n]()});this.series.buildKDTree()}};a.colorSeriesMixin={optionalAxis:"colorAxis",colorAxis:0,translateColors:function(){var a=this,k=this.options.nullColor,n=this.colorAxis,c=this.colorKey;(this.data.length?this.data:this.points).forEach(function(C){var w=C.getNestedProperty(c);(w=C.options.color||(C.isNull||null===C.value?k:n&&"undefined"!==typeof w?n.toColor(w,
15
- C):C.color||a.color))&&C.color!==w&&(C.color=w,"point"===a.options.legendType&&C.legendItem&&a.chart.legend.colorizeItem(C,C.visible))})}}});z(a,"Core/Axis/ColorAxis.js",[a["Core/Axis/Axis.js"],a["Core/Chart/Chart.js"],a["Core/Color.js"],a["Core/Globals.js"],a["Core/Legend.js"],a["Mixins/LegendSymbol.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,r,k,n,c,C,D,A){var w=this&&this.__extends||function(){var b=function(e,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,
16
- e){b.__proto__=e}||function(b,e){for(var d in e)e.hasOwnProperty(d)&&(b[d]=e[d])};return b(e,d)};return function(e,d){function t(){this.constructor=e}b(e,d);e.prototype=null===d?Object.create(d):(t.prototype=d.prototype,new t)}}(),u=k.parse,h=n.noop;k=A.addEvent;var f=A.erase,x=A.extend,l=A.Fx,q=A.isNumber,p=A.merge,y=A.pick,g=A.splat;"";var d=n.Series;A=n.colorPointMixin;x(d.prototype,n.colorSeriesMixin);x(D.prototype,A);r.prototype.collectionsWithUpdate.push("colorAxis");r.prototype.collectionsWithInit.colorAxis=
17
- [r.prototype.addColorAxis];var b=function(b){function e(e,d){var t=b.call(this,e,d)||this;t.beforePadding=!1;t.chart=void 0;t.coll="colorAxis";t.dataClasses=void 0;t.legendItem=void 0;t.legendItems=void 0;t.name="";t.options=void 0;t.stops=void 0;t.visible=!0;t.init(e,d);return t}w(e,b);e.buildOptions=function(b,e,d){b=b.options.legend||{};var t=d.layout?"vertical"!==d.layout:"vertical"!==b.layout;return p(e,{side:t?2:1,reversed:!t},d,{opposite:!t,showEmpty:!1,title:null,visible:b.enabled&&(d?!1!==
18
- d.visible:!0)})};e.prototype.init=function(d,t){var v=e.buildOptions(d,e.defaultOptions,t);this.coll="colorAxis";b.prototype.init.call(this,d,v);t.dataClasses&&this.initDataClasses(t);this.initStops();this.horiz=!v.opposite;this.zoomEnabled=!1};e.prototype.initDataClasses=function(b){var e=this.chart,d,v=0,g=e.options.chart.colorCount,m=this.options,f=b.dataClasses.length;this.dataClasses=d=[];this.legendItems=[];b.dataClasses.forEach(function(b,t){b=p(b);d.push(b);if(e.styledMode||!b.color)"category"===
19
- m.dataClassColor?(e.styledMode||(t=e.options.colors,g=t.length,b.color=t[v]),b.colorIndex=v,v++,v===g&&(v=0)):b.color=u(m.minColor).tweenTo(u(m.maxColor),2>f?.5:t/(f-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(b){b.color=
20
- u(b[1])})};e.prototype.setOptions=function(e){b.prototype.setOptions.call(this,e);this.options.crosshair=this.options.marker};e.prototype.setAxisSize=function(){var b=this.legendSymbol,d=this.chart,g=d.options.legend||{},m,f;b?(this.left=g=b.attr("x"),this.top=m=b.attr("y"),this.width=f=b.attr("width"),this.height=b=b.attr("height"),this.right=d.chartWidth-g-f,this.bottom=d.chartHeight-m-b,this.len=this.horiz?f:b,this.pos=this.horiz?g:m):this.len=(this.horiz?g.symbolWidth:g.symbolHeight)||e.defaultLegendLength};
21
- e.prototype.normalizedValue=function(b){this.logarithmic&&(b=this.logarithmic.log2lin(b));return 1-(this.max-b)/(this.max-this.min||1)};e.prototype.toColor=function(b,e){var d=this.dataClasses,t=this.stops,g;if(d)for(g=d.length;g--;){var m=d[g];var v=m.from;t=m.to;if(("undefined"===typeof v||b>=v)&&("undefined"===typeof t||b<=t)){var f=m.color;e&&(e.dataClass=g,e.colorIndex=m.colorIndex);break}}else{b=this.normalizedValue(b);for(g=t.length;g--&&!(b>t[g][0]););v=t[g]||t[g+1];t=t[g+1]||v;b=1-(t[0]-
22
- b)/(t[0]-v[0]||1);f=v.color.tweenTo(t.color,b)}return f};e.prototype.getOffset=function(){var e=this.legendGroup,d=this.chart.axisOffset[this.side];e&&(this.axisParent=e,b.prototype.getOffset.call(this),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=d)};e.prototype.setLegendColor=function(){var b=this.reversed,e=b?1:0;b=b?0:1;e=this.horiz?[e,0,b,0]:[0,b,0,e];this.legendColor={linearGradient:{x1:e[0],y1:e[1],x2:e[2],y2:e[3]},stops:this.stops}};
23
- e.prototype.drawLegendSymbol=function(b,d){var t=b.padding,g=b.options,m=this.horiz,f=y(g.symbolWidth,m?e.defaultLegendLength:12),v=y(g.symbolHeight,m?12:e.defaultLegendLength),c=y(g.labelPadding,m?16:30);g=y(g.itemDistance,10);this.setLegendColor();d.legendSymbol=this.chart.renderer.rect(0,b.baseline-11,f,v).attr({zIndex:1}).add(d.legendGroup);this.legendItemWidth=f+t+(m?g:c);this.legendItemHeight=v+t+(m?c:0)};e.prototype.setState=function(b){this.series.forEach(function(e){e.setState(b)})};e.prototype.setVisible=
24
- function(){};e.prototype.getSeriesExtremes=function(){var b=this.series,e=b.length,g;this.dataMin=Infinity;for(this.dataMax=-Infinity;e--;){var m=b[e];var f=m.colorKey=y(m.options.colorKey,m.colorKey,m.pointValKey,m.zoneAxis,"y");var c=m.pointArrayMap;var a=m[f+"Min"]&&m[f+"Max"];if(m[f+"Data"])var l=m[f+"Data"];else if(c){l=[];c=c.indexOf(f);var h=m.yData;if(0<=c&&h)for(g=0;g<h.length;g++)l.push(y(h[g][c],h[g]))}else l=m.yData;a?(m.minColorValue=m[f+"Min"],m.maxColorValue=m[f+"Max"]):(l=d.prototype.getExtremes.call(m,
25
- l),m.minColorValue=l.dataMin,m.maxColorValue=l.dataMax);"undefined"!==typeof m.minColorValue&&(this.dataMin=Math.min(this.dataMin,m.minColorValue),this.dataMax=Math.max(this.dataMax,m.maxColorValue));a||d.prototype.applyExtremes.call(m)}};e.prototype.drawCrosshair=function(e,d){var m=d&&d.plotX,g=d&&d.plotY,t=this.pos,f=this.len;if(d){var c=this.toPixels(d.getNestedProperty(d.series.colorKey));c<t?c=t-2:c>t+f&&(c=t+f+2);d.plotX=c;d.plotY=this.len-c;b.prototype.drawCrosshair.call(this,e,d);d.plotX=
26
- m;d.plotY=g;this.cross&&!this.cross.addedToColorAxis&&this.legendGroup&&(this.cross.addClass("highcharts-coloraxis-marker").add(this.legendGroup),this.cross.addedToColorAxis=!0,!this.chart.styledMode&&this.crosshair&&this.cross.attr({fill:this.crosshair.color}))}};e.prototype.getPlotLinePath=function(e){var d=this.left,m=e.translatedValue,g=this.top;return q(m)?this.horiz?[["M",m-4,g-6],["L",m+4,g-6],["L",m,g],["Z"]]:[["M",d,m],["L",d-6,m+6],["L",d-6,m-6],["Z"]]:b.prototype.getPlotLinePath.call(this,
27
- e)};e.prototype.update=function(d,m){var g=this.chart,t=g.legend,f=e.buildOptions(g,{},d);this.series.forEach(function(b){b.isDirtyData=!0});(d.dataClasses&&t.allItems||this.dataClasses)&&this.destroyItems();g.options[this.coll]=p(this.userOptions,f);b.prototype.update.call(this,f,m);this.legendItem&&(this.setLegendColor(),t.colorizeItem(this,!0))};e.prototype.destroyItems=function(){var b=this.chart;this.legendItem?b.legend.destroyItem(this):this.legendItems&&this.legendItems.forEach(function(e){b.legend.destroyItem(e)});
28
- b.isDirtyLegend=!0};e.prototype.remove=function(e){this.destroyItems();b.prototype.remove.call(this,e)};e.prototype.getDataClassLegendSymbols=function(){var b=this,e=b.chart,d=b.legendItems,m=e.options.legend,g=m.valueDecimals,f=m.valueSuffix||"",c;d.length||b.dataClasses.forEach(function(m,t){var l=!0,a=m.from,v=m.to,q=e.numberFormatter;c="";"undefined"===typeof a?c="< ":"undefined"===typeof v&&(c="> ");"undefined"!==typeof a&&(c+=q(a,g)+f);"undefined"!==typeof a&&"undefined"!==typeof v&&(c+=" - ");
29
- "undefined"!==typeof v&&(c+=q(v,g)+f);d.push(x({chart:e,name:c,options:{},drawLegendSymbol:C.drawRectangle,visible:!0,setState:h,isDataClass:!0,setVisible:function(){l=b.visible=!l;b.series.forEach(function(b){b.points.forEach(function(b){b.dataClass===t&&b.setVisible(l)})});e.legend.colorizeItem(this,l)}},m))});return d};e.defaultLegendLength=200;e.defaultOptions={lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},
30
- width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0};e.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"];return e}(a);Array.prototype.push.apply(a.keepProps,b.keepProps);n.ColorAxis=b;["fill","stroke"].forEach(function(b){l.prototype[b+"Setter"]=function(){this.elem.attr(b,u(this.start).tweenTo(u(this.end),this.pos),null,!0)}});k(r,"afterGetAxes",function(){var e=this,d=e.options;
31
- this.colorAxis=[];d.colorAxis&&(d.colorAxis=g(d.colorAxis),d.colorAxis.forEach(function(d,m){d.index=m;new b(e,d)}))});k(d,"bindAxes",function(){var b=this.axisTypes;b?-1===b.indexOf("colorAxis")&&b.push("colorAxis"):this.axisTypes=["colorAxis"]});k(c,"afterGetAllItems",function(b){var e=[],d,g;(this.chart.colorAxis||[]).forEach(function(g){(d=g.options)&&d.showInLegend&&(d.dataClasses&&d.visible?e=e.concat(g.getDataClassLegendSymbols()):d.visible&&e.push(g),g.series.forEach(function(e){if(!e.options.showInLegend||
32
- d.dataClasses)"point"===e.options.legendType?e.points.forEach(function(e){f(b.allItems,e)}):f(b.allItems,e)}))});for(g=e.length;g--;)b.allItems.unshift(e[g])});k(c,"afterColorizeItem",function(b){b.visible&&b.item.legendColor&&b.item.legendSymbol.attr({fill:b.item.legendColor})});k(c,"afterUpdate",function(){var b=this.chart.colorAxis;b&&b.forEach(function(b,e,d){b.update({},d)})});k(d,"afterTranslate",function(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()});
33
- return b});z(a,"Mixins/ColorMapSeries.js",[a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,r,k){var n=k.defined;k=a.noop;var c=a.seriesTypes;a.colorMapPointMixin={dataLabelOnNull:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value},setState:function(c){r.prototype.setState.call(this,c);this.graphic&&this.graphic.attr({zIndex:"hover"===c?1:0})}};a.colorMapSeriesMixin={pointArrayMap:["value"],axisTypes:["xAxis","yAxis","colorAxis"],
34
- trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:k,parallelArrays:["x","y","value"],colorKey:"value",pointAttribs:c.column.prototype.pointAttribs,colorAttribs:function(c){var a={};n(c.color)&&(a[this.colorProp||"fill"]=c.color);return a}}});z(a,"Maps/MapNavigation.js",[a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,r,k){function n(f){f&&(f.preventDefault&&f.preventDefault(),f.stopPropagation&&f.stopPropagation(),f.cancelBubble=!0)}function c(f){this.init(f)}
35
- var C=r.doc,w=k.addEvent,A=k.extend,B=k.merge,u=k.objectEach,h=k.pick;c.prototype.init=function(f){this.chart=f;f.mapNavButtons=[]};c.prototype.update=function(f){var c=this.chart,a=c.options.mapNavigation,q,p,y,g,d,b=function(b){this.handler.call(c,b);n(b)},e=c.mapNavButtons;f&&(a=c.options.mapNavigation=B(c.options.mapNavigation,f));for(;e.length;)e.pop().destroy();h(a.enableButtons,a.enabled)&&!c.renderer.forExport&&u(a.buttons,function(m,f){q=B(a.buttonOptions,m);c.styledMode||(p=q.theme,p.style=
36
- B(q.theme.style,q.style),g=(y=p.states)&&y.hover,d=y&&y.select);m=c.renderer.button(q.text,0,0,b,p,g,d,0,"zoomIn"===f?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[f]).attr({width:q.width,height:q.height,title:c.options.lang[f],padding:q.padding,zIndex:5}).add();m.handler=q.onclick;w(m.element,"dblclick",n);e.push(m);var t=q,l=w(c,"load",function(){m.align(A(t,{width:m.width,height:2*m.height}),null,t.alignTo);l()})});this.updateEvents(a)};
37
- c.prototype.updateEvents=function(c){var f=this.chart;h(c.enableDoubleClickZoom,c.enabled)||c.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||w(f.container,"dblclick",function(c){f.pointer.onContainerDblClick(c)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick());h(c.enableMouseWheelZoom,c.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||w(f.container,"undefined"===typeof C.onmousewheel?"DOMMouseScroll":"mousewheel",function(c){f.pointer.onContainerMouseWheel(c);
38
- n(c);return!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())};A(a.prototype,{fitToBox:function(c,a){[["x","width"],["y","height"]].forEach(function(f){var l=f[0];f=f[1];c[l]+c[f]>a[l]+a[f]&&(c[f]>a[f]?(c[f]=a[f],c[l]=a[l]):c[l]=a[l]+a[f]-c[f]);c[f]>a[f]&&(c[f]=a[f]);c[l]<a[l]&&(c[l]=a[l])});return c},mapZoom:function(c,a,l,q,p){var f=this.xAxis[0],g=f.max-f.min,d=h(a,f.min+g/2),b=g*c;g=this.yAxis[0];var e=g.max-g.min,m=h(l,g.min+e/2);e*=c;d=this.fitToBox({x:d-b*(q?(q-f.pos)/
39
- f.len:.5),y:m-e*(p?(p-g.pos)/g.len:.5),width:b,height:e},{x:f.dataMin,y:g.dataMin,width:f.dataMax-f.dataMin,height:g.dataMax-g.dataMin});b=d.x<=f.dataMin&&d.width>=f.dataMax-f.dataMin&&d.y<=g.dataMin&&d.height>=g.dataMax-g.dataMin;q&&f.mapAxis&&(f.mapAxis.fixTo=[q-f.pos,a]);p&&g.mapAxis&&(g.mapAxis.fixTo=[p-g.pos,l]);"undefined"===typeof c||b?(f.setExtremes(void 0,void 0,!1),g.setExtremes(void 0,void 0,!1)):(f.setExtremes(d.x,d.x+d.width,!1),g.setExtremes(d.y,d.y+d.height,!1));this.redraw()}});w(a,
40
- "beforeRender",function(){this.mapNavigation=new c(this);this.mapNavigation.update()});r.MapNavigation=c});z(a,"Maps/MapPointer.js",[a["Core/Pointer.js"],a["Core/Utilities.js"]],function(a,r){var k=r.extend,n=r.pick;r=r.wrap;k(a.prototype,{onContainerDblClick:function(c){var a=this.chart;c=this.normalize(c);a.options.mapNavigation.enableDoubleClickZoomTo?a.pointer.inClass(c.target,"highcharts-tracker")&&a.hoverPoint&&a.hoverPoint.zoomTo():a.isInsidePlot(c.chartX-a.plotLeft,c.chartY-a.plotTop)&&a.mapZoom(.5,
41
- a.xAxis[0].toValue(c.chartX),a.yAxis[0].toValue(c.chartY),c.chartX,c.chartY)},onContainerMouseWheel:function(c){var a=this.chart;c=this.normalize(c);var k=c.detail||-(c.wheelDelta/120);a.isInsidePlot(c.chartX-a.plotLeft,c.chartY-a.plotTop)&&a.mapZoom(Math.pow(a.options.mapNavigation.mouseWheelSensitivity,k),a.xAxis[0].toValue(c.chartX),a.yAxis[0].toValue(c.chartY),c.chartX,c.chartY)}});r(a.prototype,"zoomOption",function(c){var a=this.chart.options.mapNavigation;n(a.enableTouchZoom,a.enabled)&&(this.chart.options.chart.pinchType=
42
- "xy");c.apply(this,[].slice.call(arguments,1))});r(a.prototype,"pinchTranslate",function(c,a,k,n,w,u,h){c.call(this,a,k,n,w,u,h);"map"===this.chart.options.chart.type&&this.hasZoom&&(c=n.scaleX>n.scaleY,this.pinchTranslateDirection(!c,a,k,n,w,u,h,c?n.scaleX:n.scaleY))})});z(a,"Series/MapSeries.js",[a["Core/Globals.js"],a["Mixins/LegendSymbol.js"],a["Core/Series/Point.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,r,k,n,c){var w=c.extend,z=c.fireEvent,A=c.getNestedProperty,
43
- B=c.isArray,u=c.isNumber,h=c.merge,f=c.objectEach,x=c.pick,l=c.seriesType,q=c.splat,p=a.colorMapPointMixin,y=a.noop,g=a.Series,d=a.seriesTypes;l("map","scatter",{animation:!1,dataLabels:{crop:!1,formatter:function(){return this.point.value},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",
44
- states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"},inactive:{opacity:1}}},h(a.colorMapSeriesMixin,{type:"map",getExtremesFromAll:!0,useMapGeometry:!0,forceDL:!0,searchPoint:y,directTouch:!0,preserveAspectRatio:!0,pointArrayMap:["value"],setOptions:function(b){b=g.prototype.setOptions.call(this,b);var e=b.joinBy;null===e&&(e="_i");e=this.joinBy=q(e);e[1]||(e[1]=e[0]);return b},getBox:function(b){var e=Number.MAX_VALUE,d=-e,c=e,g=-e,f=e,l=e,h=this.xAxis,p=this.yAxis,
45
- q;(b||[]).forEach(function(b){if(b.path){"string"===typeof b.path?b.path=a.splitPath(b.path):"M"===b.path[0]&&(b.path=n.prototype.pathToSegments(b.path));var m=b.path||[],t=-e,h=e,p=-e,v=e,u=b.properties;b._foundBox||(m.forEach(function(b){var e=b[b.length-2];b=b[b.length-1];"number"===typeof e&&"number"===typeof b&&(h=Math.min(h,e),t=Math.max(t,e),v=Math.min(v,b),p=Math.max(p,b))}),b._midX=h+(t-h)*x(b.middleX,u&&u["hc-middle-x"],.5),b._midY=v+(p-v)*x(b.middleY,u&&u["hc-middle-y"],.5),b._maxX=t,b._minX=
46
- h,b._maxY=p,b._minY=v,b.labelrank=x(b.labelrank,(t-h)*(p-v)),b._foundBox=!0);d=Math.max(d,b._maxX);c=Math.min(c,b._minX);g=Math.max(g,b._maxY);f=Math.min(f,b._minY);l=Math.min(b._maxX-b._minX,b._maxY-b._minY,l);q=!0}});q&&(this.minY=Math.min(f,x(this.minY,e)),this.maxY=Math.max(g,x(this.maxY,-e)),this.minX=Math.min(c,x(this.minX,e)),this.maxX=Math.max(d,x(this.maxX,-e)),h&&"undefined"===typeof h.options.minRange&&(h.minRange=Math.min(5*l,(this.maxX-this.minX)/5,h.minRange||e)),p&&"undefined"===typeof p.options.minRange&&
47
- (p.minRange=Math.min(5*l,(this.maxY-this.minY)/5,p.minRange||e)))},hasData:function(){return!!this.processedXData.length},getExtremes:function(){var b=g.prototype.getExtremes.call(this,this.valueData),e=b.dataMin;b=b.dataMax;this.chart.hasRendered&&this.isDirtyData&&this.getBox(this.options.data);u(e)&&(this.valueMin=e);u(b)&&(this.valueMax=b);return{dataMin:this.minY,dataMax:this.maxY}},translatePath:function(b){var e=this.xAxis,d=this.yAxis,a=e.min,c=e.transA,g=e.minPixelPadding,f=d.min,l=d.transA,
48
- h=d.minPixelPadding,p=[];b&&b.forEach(function(b){"M"===b[0]?p.push(["M",(b[1]-(a||0))*c+g,(b[2]-(f||0))*l+h]):"L"===b[0]?p.push(["L",(b[1]-(a||0))*c+g,(b[2]-(f||0))*l+h]):"C"===b[0]?p.push(["C",(b[1]-(a||0))*c+g,(b[2]-(f||0))*l+h,(b[3]-(a||0))*c+g,(b[4]-(f||0))*l+h,(b[5]-(a||0))*c+g,(b[6]-(f||0))*l+h]):"Q"===b[0]?p.push(["Q",(b[1]-(a||0))*c+g,(b[2]-(f||0))*l+h,(b[3]-(a||0))*c+g,(b[4]-(f||0))*l+h]):"Z"===b[0]&&p.push(["Z"])});return p},setData:function(b,e,d,c){var m=this.options,l=this.chart.options.chart,
49
- p=l&&l.map,q=m.mapData,v=this.joinBy,y=m.keys||this.pointArrayMap,n=[],x={},r=this.chart.mapTransforms;!q&&p&&(q="string"===typeof p?a.maps[p]:p);b&&b.forEach(function(e,d){var a=0;if(u(e))b[d]={value:e};else if(B(e)){b[d]={};!m.keys&&e.length>y.length&&"string"===typeof e[0]&&(b[d]["hc-key"]=e[0],++a);for(var c=0;c<y.length;++c,++a)y[c]&&"undefined"!==typeof e[a]&&(0<y[c].indexOf(".")?k.prototype.setNestedProperty(b[d],e[a],y[c]):b[d][y[c]]=e[a])}v&&"_i"===v[0]&&(b[d]._i=d)});this.getBox(b);(this.chart.mapTransforms=
50
- r=l&&l.mapTransforms||q&&q["hc-transform"]||r)&&f(r,function(b){b.rotation&&(b.cosAngle=Math.cos(b.rotation),b.sinAngle=Math.sin(b.rotation))});if(q){"FeatureCollection"===q.type&&(this.mapTitle=q.title,q=a.geojson(q,this.type,this));this.mapData=q;this.mapMap={};for(r=0;r<q.length;r++)l=q[r],p=l.properties,l._i=r,v[0]&&p&&p[v[0]]&&(l[v[0]]=p[v[0]]),x[l[v[0]]]=l;this.mapMap=x;if(b&&v[1]){var w=v[1];b.forEach(function(b){b=A(w,b);x[b]&&n.push(x[b])})}if(m.allAreas){this.getBox(q);b=b||[];if(v[1]){var C=
51
- v[1];b.forEach(function(b){n.push(A(C,b))})}n="|"+n.map(function(b){return b&&b[v[0]]}).join("|")+"|";q.forEach(function(e){v[0]&&-1!==n.indexOf("|"+e[v[0]]+"|")||(b.push(h(e,{value:null})),c=!1)})}else this.getBox(n)}g.prototype.setData.call(this,b,e,d,c)},drawGraph:y,drawDataLabels:y,doFullTranslate:function(){return this.isDirtyData||this.chart.isResizing||this.chart.renderer.isVML||!this.baseTrans},translate:function(){var b=this,e=b.xAxis,d=b.yAxis,a=b.doFullTranslate();b.generatePoints();b.data.forEach(function(c){u(c._midX)&&
52
- u(c._midY)&&(c.plotX=e.toPixels(c._midX,!0),c.plotY=d.toPixels(c._midY,!0));a&&(c.shapeType="path",c.shapeArgs={d:b.translatePath(c.path)})});z(b,"afterTranslate")},pointAttribs:function(b,e){e=b.series.chart.styledMode?this.colorAttribs(b):d.column.prototype.pointAttribs.call(this,b,e);e["stroke-width"]=x(b.options[this.pointAttrToOptions&&this.pointAttrToOptions["stroke-width"]||"borderWidth"],"inherit");return e},drawPoints:function(){var b=this,e=b.xAxis,c=b.yAxis,a=b.group,g=b.chart,f=g.renderer,
53
- l=this.baseTrans;b.transformGroup||(b.transformGroup=f.g().attr({scaleX:1,scaleY:1}).add(a),b.transformGroup.survive=!0);if(b.doFullTranslate())g.hasRendered&&!g.styledMode&&b.points.forEach(function(e){e.shapeArgs&&(e.shapeArgs.fill=b.pointAttribs(e,e.state).fill)}),b.group=b.transformGroup,d.column.prototype.drawPoints.apply(b),b.group=a,b.points.forEach(function(e){if(e.graphic){var d="";e.name&&(d+="highcharts-name-"+e.name.replace(/ /g,"-").toLowerCase());e.properties&&e.properties["hc-key"]&&
54
- (d+=" highcharts-key-"+e.properties["hc-key"].toLowerCase());d&&e.graphic.addClass(d);g.styledMode&&e.graphic.css(b.pointAttribs(e,e.selected&&"select"||void 0))}}),this.baseTrans={originX:e.min-e.minPixelPadding/e.transA,originY:c.min-c.minPixelPadding/c.transA+(c.reversed?0:c.len/c.transA),transAX:e.transA,transAY:c.transA},this.transformGroup.animate({translateX:0,translateY:0,scaleX:1,scaleY:1});else{var h=e.transA/l.transAX;var p=c.transA/l.transAY;var q=e.toPixels(l.originX,!0);var u=c.toPixels(l.originY,
55
- !0);.99<h&&1.01>h&&.99<p&&1.01>p&&(p=h=1,q=Math.round(q),u=Math.round(u));var y=this.transformGroup;if(g.renderer.globalAnimation){var n=y.attr("translateX");var k=y.attr("translateY");var r=y.attr("scaleX");var w=y.attr("scaleY");y.attr({animator:0}).animate({animator:1},{step:function(b,e){y.attr({translateX:n+(q-n)*e.pos,translateY:k+(u-k)*e.pos,scaleX:r+(h-r)*e.pos,scaleY:w+(p-w)*e.pos})}})}else y.attr({translateX:q,translateY:u,scaleX:h,scaleY:p})}g.styledMode||a.element.setAttribute("stroke-width",
56
- x(b.options[b.pointAttrToOptions&&b.pointAttrToOptions["stroke-width"]||"borderWidth"],1)/(h||1));this.drawMapDataLabels()},drawMapDataLabels:function(){g.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},render:function(){var b=this,e=g.prototype.render;b.chart.renderer.isVML&&3E3<b.data.length?setTimeout(function(){e.call(b)}):e.call(b)},animate:function(b){var e=this.options.animation,d=this.group,c=this.xAxis,a=this.yAxis,g=c.pos,f=a.pos;
57
- this.chart.renderer.isSVG&&(!0===e&&(e={duration:1E3}),b?d.attr({translateX:g+c.len/2,translateY:f+a.len/2,scaleX:.001,scaleY:.001}):d.animate({translateX:g,translateY:f,scaleX:1,scaleY:1},e))},animateDrilldown:function(b){var e=this.chart.plotBox,d=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],c=d.bBox,a=this.chart.options.drilldown.animation;b||(b=Math.min(c.width/e.width,c.height/e.height),d.shapeArgs={scaleX:b,scaleY:b,translateX:c.x,translateY:c.y},this.points.forEach(function(b){b.graphic&&
58
- b.graphic.attr(d.shapeArgs).animate({scaleX:1,scaleY:1,translateX:0,translateY:0},a)}))},drawLegendSymbol:r.drawRectangle,animateDrillupFrom:function(b){d.column.prototype.animateDrillupFrom.call(this,b)},animateDrillupTo:function(b){d.column.prototype.animateDrillupTo.call(this,b)}}),w({applyOptions:function(b,e){var d=this.series;b=k.prototype.applyOptions.call(this,b,e);e=d.joinBy;d.mapData&&d.mapMap&&(e=k.prototype.getNestedProperty.call(b,e[1]),(e="undefined"!==typeof e&&d.mapMap[e])?(d.xyFromShape&&
59
- (b.x=e._midX,b.y=e._midY),w(b,e)):b.value=b.value||null);return b},onMouseOver:function(b){c.clearTimeout(this.colorInterval);if(null!==this.value||this.series.options.nullInteraction)k.prototype.onMouseOver.call(this,b);else this.series.onMouseOut(b)},zoomTo:function(){var b=this.series;b.xAxis.setExtremes(this._minX,this._maxX,!1);b.yAxis.setExtremes(this._minY,this._maxY,!1);b.chart.redraw()}},p));""});z(a,"Series/MapLineSeries.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,r){r=
60
- r.seriesType;var k=a.seriesTypes;r("mapline","map",{lineWidth:1,fillColor:"none"},{type:"mapline",colorProp:"stroke",pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointAttribs:function(a,c){a=k.map.prototype.pointAttribs.call(this,a,c);a.fill=this.options.fillColor;return a},drawLegendSymbol:k.line.prototype.drawLegendSymbol});""});z(a,"Series/MapPointSeries.js",[a["Core/Globals.js"]],function(a){var r=a.merge,k=a.Point,n=a.Series;a=a.seriesType;a("mappoint","scatter",{dataLabels:{crop:!1,
61
- defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}},{type:"mappoint",forceDL:!0,drawDataLabels:function(){n.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)}},{applyOptions:function(c,a){c="undefined"!==typeof c.lat&&"undefined"!==typeof c.lon?r(c,this.series.chart.fromLatLonToPoint(c)):c;return k.prototype.applyOptions.call(this,c,a)}});""});z(a,"Series/Bubble/BubbleLegend.js",[a["Core/Chart/Chart.js"],
62
- a["Core/Color.js"],a["Core/Globals.js"],a["Core/Legend.js"],a["Core/Utilities.js"]],function(a,r,k,n,c){var w=r.parse;r=c.addEvent;var z=c.arrayMax,A=c.arrayMin,B=c.isNumber,u=c.merge,h=c.objectEach,f=c.pick,x=c.setOptions,l=c.stableSort,q=c.wrap;"";var p=k.Series,y=k.noop;x({legend:{bubbleLegend:{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",
63
- formatter:void 0,align:"right",style:{fontSize:10,color:void 0},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}});x=function(){function a(d,b){this.options=this.symbols=this.visible=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0;this.setState=
64
- y;this.init(d,b)}a.prototype.init=function(d,b){this.options=d;this.visible=!0;this.chart=b.chart;this.legend=b};a.prototype.addToLegend=function(d){d.splice(this.options.legendIndex,0,this)};a.prototype.drawLegendSymbol=function(d){var b=this.chart,e=this.options,a=f(d.options.itemDistance,20),c=e.ranges;var g=e.connectorDistance;this.fontMetrics=b.renderer.fontMetrics(e.labels.style.fontSize.toString()+"px");c&&c.length&&B(c[0].value)?(l(c,function(b,e){return e.value-b.value}),this.ranges=c,this.setOptions(),
65
- this.render(),b=this.getMaxLabelSize(),c=this.ranges[0].radius,d=2*c,g=g-c+b.width,g=0<g?g:0,this.maxLabel=b,this.movementX="left"===e.labels.align?g:0,this.legendItemWidth=d+g+a,this.legendItemHeight=d+this.fontMetrics.h/2):d.options.bubbleLegend.autoRanges=!0};a.prototype.setOptions=function(){var d=this.ranges,b=this.options,e=this.chart.series[b.seriesIndex],a=this.legend.baseline,c={"z-index":b.zIndex,"stroke-width":b.borderWidth},g={"z-index":b.zIndex,"stroke-width":b.connectorWidth},l=this.getLabelStyles(),
66
- h=e.options.marker.fillOpacity,p=this.chart.styledMode;d.forEach(function(m,q){p||(c.stroke=f(m.borderColor,b.borderColor,e.color),c.fill=f(m.color,b.color,1!==h?w(e.color).setOpacity(h).get("rgba"):e.color),g.stroke=f(m.connectorColor,b.connectorColor,e.color));d[q].radius=this.getRangeRadius(m.value);d[q]=u(d[q],{center:d[0].radius-d[q].radius+a});p||u(!0,d[q],{bubbleStyle:u(!1,c),connectorStyle:u(!1,g),labelStyle:l})},this)};a.prototype.getLabelStyles=function(){var d=this.options,b={},e="left"===
67
- d.labels.align,a=this.legend.options.rtl;h(d.labels.style,function(e,d){"color"!==d&&"fontSize"!==d&&"z-index"!==d&&(b[d]=e)});return u(!1,b,{"font-size":d.labels.style.fontSize,fill:f(d.labels.style.color,"#000000"),"z-index":d.zIndex,align:a||e?"right":"left"})};a.prototype.getRangeRadius=function(d){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,d)};a.prototype.render=function(){var d=
68
- this.chart.renderer,b=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});this.legendSymbol=d.g("bubble-legend");this.legendItem=d.g("bubble-legend-item");this.legendSymbol.translateX=0;this.legendSymbol.translateY=0;this.ranges.forEach(function(e){e.value>=b&&this.renderRange(e)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()};a.prototype.renderRange=function(d){var b=this.options,e=b.labels,
69
- a=this.chart.renderer,c=this.symbols,g=c.labels,f=d.center,l=Math.abs(d.radius),h=b.connectorDistance||0,p=e.align,q=e.style.fontSize;h=this.legend.options.rtl||"left"===p?-h:h;e=b.connectorWidth;var u=this.ranges[0].radius||0,y=f-l-b.borderWidth/2+e/2;q=q/2-(this.fontMetrics.h-q)/2;var k=a.styledMode;"center"===p&&(h=0,b.connectorDistance=0,d.labelStyle.align="center");p=y+b.labels.y;var n=u+h+b.labels.x;c.bubbleItems.push(a.circle(u,f+((y%1?1:.5)-(e%2?0:.5)),l).attr(k?{}:d.bubbleStyle).addClass((k?
70
- "highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-symbol "+(b.className||"")).add(this.legendSymbol));c.connectors.push(a.path(a.crispLine([["M",u,y],["L",u+h,y]],b.connectorWidth)).attr(k?{}:d.connectorStyle).addClass((k?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(b.connectorClassName||"")).add(this.legendSymbol));d=a.text(this.formatLabel(d),n,p+q).attr(k?{}:d.labelStyle).addClass("highcharts-bubble-legend-labels "+(b.labels.className||
71
- "")).add(this.legendSymbol);g.push(d);d.placed=!0;d.alignAttr={x:n,y:p+q}};a.prototype.getMaxLabelSize=function(){var d,b;this.symbols.labels.forEach(function(e){b=e.getBBox(!0);d=d?b.width>d.width?b:d:b});return d||{}};a.prototype.formatLabel=function(d){var b=this.options,e=b.labels.formatter;b=b.labels.format;var a=this.chart.numberFormatter;return b?c.format(b,d):e?e.call(d):a(d.value,1)};a.prototype.hideOverlappingLabels=function(){var d=this.chart,b=this.symbols;!this.options.labels.allowOverlap&&
72
- b&&(d.hideOverlappingLabels(b.labels),b.labels.forEach(function(e,d){e.newOpacity?e.newOpacity!==e.oldOpacity&&b.connectors[d].show():b.connectors[d].hide()}))};a.prototype.getRanges=function(){var d=this.legend.bubbleLegend,b=d.options.ranges,e,a=Number.MAX_VALUE,c=-Number.MAX_VALUE;d.chart.series.forEach(function(b){b.isBubble&&!b.ignoreSeries&&(e=b.zData.filter(B),e.length&&(a=f(b.options.zMin,Math.min(a,Math.max(A(e),!1===b.options.displayNegative?b.options.zThreshold:-Number.MAX_VALUE))),c=f(b.options.zMax,
73
- Math.max(c,z(e)))))});var g=a===c?[{value:c}]:[{value:a},{value:(a+c)/2},{value:c,autoRanges:!0}];b.length&&b[0].radius&&g.reverse();g.forEach(function(e,d){b&&b[d]&&(g[d]=u(!1,b[d],e))});return g};a.prototype.predictBubbleSizes=function(){var d=this.chart,b=this.fontMetrics,e=d.legend.options,a="horizontal"===e.layout,c=a?d.legend.lastLineHeight:0,g=d.plotSizeX,f=d.plotSizeY,l=d.series[this.options.seriesIndex];d=Math.ceil(l.minPxSize);var h=Math.ceil(l.maxPxSize);l=l.options.maxSize;var p=Math.min(f,
74
- g);if(e.floating||!/%$/.test(l))b=h;else if(l=parseFloat(l),b=(p+c-b.h/2)*l/100/(l/100+1),a&&f-b>=g||!a&&g-b>=f)b=h;return[d,Math.ceil(b)]};a.prototype.updateRanges=function(d,b){var e=this.legend.options.bubbleLegend;e.minSize=d;e.maxSize=b;e.ranges=this.getRanges()};a.prototype.correctSizes=function(){var d=this.legend,b=this.chart.series[this.options.seriesIndex];1<Math.abs(Math.ceil(b.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,b.maxPxSize),d.render())};return a}();
75
- r(n,"afterGetAllItems",function(a){var d=this.bubbleLegend,b=this.options,e=b.bubbleLegend,c=this.chart.getVisibleBubbleSeriesIndex();d&&d.ranges&&d.ranges.length&&(e.ranges.length&&(e.autoRanges=!!e.ranges[0].autoRanges),this.destroyItem(d));0<=c&&b.enabled&&e.enabled&&(e.seriesIndex=c,this.bubbleLegend=new k.BubbleLegend(e,this),this.bubbleLegend.addToLegend(a.allItems))});a.prototype.getVisibleBubbleSeriesIndex=function(){for(var a=this.series,d=0;d<a.length;){if(a[d]&&a[d].isBubble&&a[d].visible&&
76
- a[d].zData.length)return d;d++}return-1};n.prototype.getLinesHeights=function(){var a=this.allItems,d=[],b=a.length,e,c=0;for(e=0;e<b;e++)if(a[e].legendItemHeight&&(a[e].itemHeight=a[e].legendItemHeight),a[e]===a[b-1]||a[e+1]&&a[e]._legendItemPos[1]!==a[e+1]._legendItemPos[1]){d.push({height:0});var f=d[d.length-1];for(c;c<=e;c++)a[c].itemHeight>f.height&&(f.height=a[c].itemHeight);f.step=e}return d};n.prototype.retranslateItems=function(a){var d,b,e,c=this.options.rtl,f=0;this.allItems.forEach(function(g,
77
- l){d=g.legendGroup.translateX;b=g._legendItemPos[1];if((e=g.movementX)||c&&g.ranges)e=c?d-g.options.maxSize/2:d+e,g.legendGroup.attr({translateX:e});l>a[f].step&&f++;g.legendGroup.attr({translateY:Math.round(b+a[f].height/2)});g._legendItemPos[1]=b+a[f].height/2})};r(p,"legendItemClick",function(){var a=this.chart,d=this.visible,b=this.chart.legend;b&&b.bubbleLegend&&(this.visible=!d,this.ignoreSeries=d,a=0<=a.getVisibleBubbleSeriesIndex(),b.bubbleLegend.visible!==a&&(b.update({bubbleLegend:{enabled:a}}),
78
- b.bubbleLegend.visible=a),this.visible=d)});q(a.prototype,"drawChartBox",function(a,d,b){var e=this.legend,c=0<=this.getVisibleBubbleSeriesIndex();if(e&&e.options.enabled&&e.bubbleLegend&&e.options.bubbleLegend.autoRanges&&c){var f=e.bubbleLegend.options;c=e.bubbleLegend.predictBubbleSizes();e.bubbleLegend.updateRanges(c[0],c[1]);f.placed||(e.group.placed=!1,e.allItems.forEach(function(b){b.legendGroup.translateY=null}));e.render();this.getMargins();this.axes.forEach(function(b){b.visible&&b.render();
79
- f.placed||(b.setScale(),b.updateNames(),h(b.ticks,function(b){b.isNew=!0;b.isNewLabel=!0}))});f.placed=!0;this.getMargins();a.call(this,d,b);e.bubbleLegend.correctSizes();e.retranslateItems(e.getLinesHeights())}else a.call(this,d,b),e&&e.options.enabled&&e.bubbleLegend&&(e.render(),e.retranslateItems(e.getLinesHeights()))});k.BubbleLegend=x;return k.BubbleLegend});z(a,"Series/Bubble/BubbleSeries.js",[a["Core/Globals.js"],a["Core/Color.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,
80
- r,k,n){var c=r.parse,w=n.arrayMax,z=n.arrayMin,A=n.clamp,B=n.extend,u=n.isNumber,h=n.pick,f=n.pInt;r=n.seriesType;n=a.Axis;var x=a.noop,l=a.Series,q=a.seriesTypes;r("bubble","scatter",{dataLabels:{formatter:function(){return this.point.z},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},
81
- turboThreshold:0,zThreshold:0,zoneAxis:"z"},{pointArrayMap:["y","z"],parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",bubblePadding:!0,zoneAxis:"z",directTouch:!0,isBubble:!0,pointAttribs:function(a,f){var g=this.options.marker.fillOpacity;a=l.prototype.pointAttribs.call(this,a,f);1!==g&&(a.fill=c(a.fill).setOpacity(g).get("rgba"));return a},getRadii:function(a,c,f){var d=this.zData,b=this.yData,e=f.minPxSize,g=f.maxPxSize,l=[];var h=0;for(f=d.length;h<f;h++){var p=
82
- d[h];l.push(this.getRadius(a,c,e,g,p,b[h]))}this.radii=l},getRadius:function(a,c,f,d,b,e){var g=this.options,l="width"!==g.sizeBy,h=g.zThreshold,p=c-a,q=.5;if(null===e||null===b)return null;if(u(b)){g.sizeByAbsoluteValue&&(b=Math.abs(b-h),p=Math.max(c-h,Math.abs(a-h)),a=0);if(b<a)return f/2-1;0<p&&(q=(b-a)/p)}l&&0<=q&&(q=Math.sqrt(q));return Math.ceil(f+q*(d-f))/2},animate:function(a){!a&&this.points.length<this.options.animationLimit&&this.points.forEach(function(a){var c=a.graphic;c&&c.width&&(this.hasRendered||
83
- c.attr({x:a.plotX,y:a.plotY,width:1,height:1}),c.animate(this.markerAttribs(a),this.options.animation))},this)},hasData:function(){return!!this.processedXData.length},translate:function(){var a,c=this.data,f=this.radii;q.scatter.prototype.translate.call(this);for(a=c.length;a--;){var d=c[a];var b=f?f[a]:0;u(b)&&b>=this.minPxSize/2?(d.marker=B(d.marker,{radius:b,width:2*b,height:2*b}),d.dlBox={x:d.plotX-b,y:d.plotY-b,width:2*b,height:2*b}):d.shapeArgs=d.plotY=d.dlBox=void 0}},alignDataLabel:q.column.prototype.alignDataLabel,
84
- buildKDTree:x,applyZones:x},{haloPath:function(a){return k.prototype.haloPath.call(this,0===a?0:(this.marker?this.marker.radius||0:0)+a)},ttBelow:!1});n.prototype.beforePadding=function(){var a=this,c=this.len,g=this.chart,d=0,b=c,e=this.isXAxis,l=e?"xData":"yData",q=this.min,k={},n=Math.min(g.plotWidth,g.plotHeight),x=Number.MAX_VALUE,r=-Number.MAX_VALUE,C=this.max-q,B=c/C,D=[];this.series.forEach(function(b){var d=b.options;!b.bubblePadding||!b.visible&&g.options.chart.ignoreHiddenSeries||(a.allowZoomOutside=
85
- !0,D.push(b),e&&(["minSize","maxSize"].forEach(function(b){var a=d[b],e=/%$/.test(a);a=f(a);k[b]=e?n*a/100:a}),b.minPxSize=k.minSize,b.maxPxSize=Math.max(k.maxSize,k.minSize),b=b.zData.filter(u),b.length&&(x=h(d.zMin,A(z(b),!1===d.displayNegative?d.zThreshold:-Number.MAX_VALUE,x)),r=h(d.zMax,Math.max(r,w(b))))))});D.forEach(function(c){var f=c[l],g=f.length;e&&c.getRadii(x,r,c);if(0<C)for(;g--;)if(u(f[g])&&a.dataMin<=f[g]&&f[g]<=a.max){var h=c.radii?c.radii[g]:0;d=Math.min((f[g]-q)*B-h,d);b=Math.max((f[g]-
86
- q)*B+h,b)}});D.length&&0<C&&!this.logarithmic&&(b-=c,B*=(c+Math.max(0,d)-Math.min(b,c))/c,[["min","userMin",d],["max","userMax",b]].forEach(function(b){"undefined"===typeof h(a.options[b[0]],a[b[1]])&&(a[b[0]]+=b[2]/B)}))};""});z(a,"Series/MapBubbleSeries.js",[a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,r,k){var n=k.merge;k=k.seriesType;var c=a.seriesTypes;c.bubble&&k("mapbubble","bubble",{animationLimit:500,tooltip:{pointFormat:"{point.name}: {point.z}"}},{xyFromShape:!0,
87
- type:"mapbubble",pointArrayMap:["z"],getMapData:c.map.prototype.getMapData,getBox:c.map.prototype.getBox,setData:c.map.prototype.setData,setOptions:c.map.prototype.setOptions},{applyOptions:function(a,k){return a&&"undefined"!==typeof a.lat&&"undefined"!==typeof a.lon?r.prototype.applyOptions.call(this,n(a,this.series.chart.fromLatLonToPoint(a)),k):c.map.prototype.pointClass.prototype.applyOptions.call(this,a,k)},isValid:function(){return"number"===typeof this.z},ttBelow:!1});""});z(a,"Series/HeatmapSeries.js",
88
- [a["Core/Globals.js"],a["Mixins/LegendSymbol.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,r,k,n){var c=n.clamp,w=n.extend,z=n.fireEvent,A=n.isNumber,B=n.merge,u=n.pick;n=n.seriesType;"";var h=a.colorMapPointMixin,f=a.Series,x=k.prototype.symbols;n("heatmap","scatter",{animation:!1,borderWidth:0,nullColor:"#f7f7f7",dataLabels:{formatter:function(){return this.point.value},inside:!0,verticalAlign:"middle",crop:!1,overflow:!1,padding:0},marker:{symbol:"rect",radius:0,
89
- 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}}},B(a.colorMapSeriesMixin,{pointArrayMap:["y","value"],hasPointSpecificOptions:!0,getExtremesFromAll:!0,directTouch:!0,init:function(){f.prototype.init.apply(this,arguments);var a=this.options;a.pointRange=u(a.pointRange,a.colsize||1);this.yAxis.axisPointRange=a.rowsize||1;w(x,{ellipse:x.circle,rect:x.square})},
90
- getSymbol:f.prototype.getSymbol,setClip:function(a){var c=this.chart;f.prototype.setClip.apply(this,arguments);(!1!==this.options.clip||a)&&this.markerGroup.clip((a||this.clipBox)&&this.sharedClipKey?c[this.sharedClipKey]:c.clipRect)},translate:function(){var a=this.options,c=a.marker&&a.marker.symbol||"",f=x[c]?c:"rect";a=this.options;var h=-1!==["circle","square"].indexOf(f);this.generatePoints();this.points.forEach(function(a){var d=a.getCellAttributes(),b={x:Math.min(d.x1,d.x2),y:Math.min(d.y1,
91
- d.y2),width:Math.max(Math.abs(d.x2-d.x1),0),height:Math.max(Math.abs(d.y2-d.y1),0)};var e=a.hasImage=0===(a.marker&&a.marker.symbol||c||"").indexOf("url");if(h){var g=Math.abs(b.width-b.height);b.x=Math.min(d.x1,d.x2)+(b.width<b.height?0:g/2);b.y=Math.min(d.y1,d.y2)+(b.width<b.height?g/2:0);b.width=b.height=Math.min(b.width,b.height)}g={plotX:(d.x1+d.x2)/2,plotY:(d.y1+d.y2)/2,clientX:(d.x1+d.x2)/2,shapeType:"path",shapeArgs:B(!0,b,{d:x[f](b.x,b.y,b.width,b.height)})};e&&(a.marker={width:b.width,height:b.height});
92
- w(a,g)});z(this,"afterTranslate")},pointAttribs:function(c,h){var l=f.prototype.pointAttribs.call(this,c,h),q=this.options||{},g=this.chart.options.plotOptions||{},d=g.series||{},b=g.heatmap||{};g=q.borderColor||b.borderColor||d.borderColor;d=q.borderWidth||b.borderWidth||d.borderWidth||l["stroke-width"];l.stroke=c&&c.marker&&c.marker.lineColor||q.marker&&q.marker.lineColor||g||this.color;l["stroke-width"]=d;h&&(c=B(q.states[h],q.marker&&q.marker.states[h],c.options.states&&c.options.states[h]||{}),
93
- h=c.brightness,l.fill=c.color||a.color(l.fill).brighten(h||0).get(),l.stroke=c.lineColor);return l},markerAttribs:function(a,c){var f=a.marker||{},h=this.options.marker||{},g=a.shapeArgs||{},d={};if(a.hasImage)return{x:a.plotX,y:a.plotY};if(c){var b=h.states[c]||{};var e=f.states&&f.states[c]||{};[["width","x"],["height","y"]].forEach(function(a){d[a[0]]=(e[a[0]]||b[a[0]]||g[a[0]])+(e[a[0]+"Plus"]||b[a[0]+"Plus"]||0);d[a[1]]=g[a[1]]+(g[a[0]]-d[a[0]])/2})}return c?d:g},drawPoints:function(){var a=
94
- this;if((this.options.marker||{}).enabled||this._hasPointMarkers)f.prototype.drawPoints.call(this),this.points.forEach(function(c){c.graphic&&c.graphic[a.chart.styledMode?"css":"animate"](a.colorAttribs(c))})},hasData:function(){return!!this.processedXData.length},getValidPoints:function(a,c){return f.prototype.getValidPoints.call(this,a,c,!0)},getBox:a.noop,drawLegendSymbol:r.drawRectangle,alignDataLabel:a.seriesTypes.column.prototype.alignDataLabel,getExtremes:function(){var a=f.prototype.getExtremes.call(this,
95
- this.valueData),c=a.dataMin;a=a.dataMax;A(c)&&(this.valueMin=c);A(a)&&(this.valueMax=a);return f.prototype.getExtremes.call(this)}}),B(h,{applyOptions:function(c,f){c=a.Point.prototype.applyOptions.call(this,c,f);c.formatPrefix=c.isNull||null===c.value?"null":"point";return c},isValid:function(){return Infinity!==this.value&&-Infinity!==this.value},haloPath:function(a){if(!a)return[];var c=this.shapeArgs;return["M",c.x-a,c.y-a,"L",c.x-a,c.y+c.height+a,c.x+c.width+a,c.y+c.height+a,c.x+c.width+a,c.y-
96
- a,"Z"]},getCellAttributes:function(){var a=this.series,f=a.options,h=(f.colsize||1)/2,k=(f.rowsize||1)/2,g=a.xAxis,d=a.yAxis,b=this.options.marker||a.options.marker;a=a.pointPlacementToXValue();var e=u(this.pointPadding,f.pointPadding,0),m={x1:c(Math.round(g.len-(g.translate(this.x-h,!1,!0,!1,!0,-a)||0)),-g.len,2*g.len),x2:c(Math.round(g.len-(g.translate(this.x+h,!1,!0,!1,!0,-a)||0)),-g.len,2*g.len),y1:c(Math.round(d.translate(this.y-k,!1,!0,!1,!0)||0),-d.len,2*d.len),y2:c(Math.round(d.translate(this.y+
97
- k,!1,!0,!1,!0)||0),-d.len,2*d.len)};[["width","x"],["height","y"]].forEach(function(a){var c=a[0];a=a[1];var d=a+"1",f=a+"2",g=Math.abs(m[d]-m[f]),h=b&&b.lineWidth||0,l=Math.abs(m[d]+m[f])/2;b[c]&&b[c]<g&&(m[d]=l-b[c]/2-h/2,m[f]=l+b[c]/2+h/2);e&&("y"===a&&(d=f,f=a+"1"),m[d]+=e,m[f]-=e)});return m}}));""});z(a,"Extensions/GeoJSON.js",[a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,r,k){function n(a,c){var f,h=!1,l=a.x,q=a.y;a=0;for(f=c.length-1;a<c.length;f=a++){var p=
98
- c[a][1]>q;var k=c[f][1]>q;p!==k&&l<(c[f][0]-c[a][0])*(q-c[a][1])/(c[f][1]-c[a][1])+c[a][0]&&(h=!h)}return h}var c=r.win,w=k.error,z=k.extend,A=k.format,B=k.merge;k=k.wrap;"";a.prototype.transformFromLatLon=function(a,h){var f,k=(null===(f=this.userOptions.chart)||void 0===f?void 0:f.proj4)||c.proj4;if(!k)return w(21,!1,this),{x:0,y:null};a=k(h.crs,[a.lon,a.lat]);f=h.cosAngle||h.rotation&&Math.cos(h.rotation);k=h.sinAngle||h.rotation&&Math.sin(h.rotation);a=h.rotation?[a[0]*f+a[1]*k,-a[0]*k+a[1]*f]:
99
- a;return{x:((a[0]-(h.xoffset||0))*(h.scale||1)+(h.xpan||0))*(h.jsonres||1)+(h.jsonmarginX||0),y:(((h.yoffset||0)-a[1])*(h.scale||1)+(h.ypan||0))*(h.jsonres||1)-(h.jsonmarginY||0)}};a.prototype.transformToLatLon=function(a,h){if("undefined"===typeof c.proj4)w(21,!1,this);else{a={x:((a.x-(h.jsonmarginX||0))/(h.jsonres||1)-(h.xpan||0))/(h.scale||1)+(h.xoffset||0),y:((-a.y-(h.jsonmarginY||0))/(h.jsonres||1)+(h.ypan||0))/(h.scale||1)+(h.yoffset||0)};var f=h.cosAngle||h.rotation&&Math.cos(h.rotation),k=
100
- h.sinAngle||h.rotation&&Math.sin(h.rotation);h=c.proj4(h.crs,"WGS84",h.rotation?{x:a.x*f+a.y*-k,y:a.x*k+a.y*f}:a);return{lat:h.y,lon:h.x}}};a.prototype.fromPointToLatLon=function(a){var c=this.mapTransforms,f;if(c){for(f in c)if(Object.hasOwnProperty.call(c,f)&&c[f].hitZone&&n({x:a.x,y:-a.y},c[f].hitZone.coordinates[0]))return this.transformToLatLon(a,c[f]);return this.transformToLatLon(a,c["default"])}w(22,!1,this)};a.prototype.fromLatLonToPoint=function(a){var c=this.mapTransforms,f;if(!c)return w(22,
101
- !1,this),{x:0,y:null};for(f in c)if(Object.hasOwnProperty.call(c,f)&&c[f].hitZone){var k=this.transformFromLatLon(a,c[f]);if(n({x:k.x,y:-k.y},c[f].hitZone.coordinates[0]))return k}return this.transformFromLatLon(a,c["default"])};r.geojson=function(a,c,f){var h=[],l=[],k=function(a){a.forEach(function(a,c){0===c?l.push(["M",a[0],-a[1]]):l.push(["L",a[0],-a[1]])})};c=c||"map";a.features.forEach(function(a){var f=a.geometry,g=f.type;f=f.coordinates;a=a.properties;var d;l=[];"map"===c||"mapbubble"===
102
- c?("Polygon"===g?(f.forEach(k),l.push(["Z"])):"MultiPolygon"===g&&(f.forEach(function(a){a.forEach(k)}),l.push(["Z"])),l.length&&(d={path:l})):"mapline"===c?("LineString"===g?k(f):"MultiLineString"===g&&f.forEach(k),l.length&&(d={path:l})):"mappoint"===c&&"Point"===g&&(d={x:f[0],y:-f[1]});d&&h.push(z(d,{name:a.name||a.NAME,properties:a}))});f&&a.copyrightShort&&(f.chart.mapCredits=A(f.chart.options.credits.mapText,{geojson:a}),f.chart.mapCreditsFull=A(f.chart.options.credits.mapTextFull,{geojson:a}));
103
- return h};k(a.prototype,"addCredits",function(a,c){c=B(!0,this.options.credits,c);this.mapCredits&&(c.href=null);a.call(this,c);this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})})});z(a,"Maps/Map.js",[a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Options.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,r,k,n,c){function w(a,c,h,k,p,n,g,d){return[["M",a+p,c],["L",a+h-n,c],["C",a+h-n/2,c,a+h,c+n/2,a+h,c+n],["L",a+h,c+k-g],["C",a+h,
104
- c+k-g/2,a+h-g/2,c+k,a+h-g,c+k],["L",a+d,c+k],["C",a+d/2,c+k,a,c+k-d/2,a,c+k-d],["L",a,c+p],["C",a,c+p/2,a+p/2,c,a+p,c],["Z"]]}k=k.defaultOptions;var z=c.extend,A=c.getOptions,B=c.merge,u=c.pick;c=r.Renderer;var h=r.VMLRenderer;z(k.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"});k.mapNavigation={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)},
105
- text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1};r.splitPath=function(a){"string"===typeof a&&(a=a.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,""),a=a.split(/[ ,;]+/).map(function(a){return/[A-za-z]/.test(a)?a:parseFloat(a)}));return n.prototype.pathToSegments(a)};r.maps={};n.prototype.symbols.topbutton=function(a,c,h,k,p){p=p&&p.r||0;return w(a-1,c-1,h,k,p,p,0,0)};n.prototype.symbols.bottombutton=function(a,c,h,k,p){p=p&&p.r||
106
- 0;return w(a-1,c-1,h,k,0,0,p,p)};c===h&&["topbutton","bottombutton"].forEach(function(a){h.prototype.symbols[a]=n.prototype.symbols[a]});r.Map=r.mapChart=function(c,h,k){var f="string"===typeof c||c.nodeName,l=arguments[f?1:0],n=l,g={endOnTick:!1,visible:!1,minPadding:0,maxPadding:0,startOnTick:!1},d=A().credits;var b=l.series;l.series=null;l=B({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:u(d.mapText,' \u00a9 <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}</a>'),mapTextFull:u(d.mapTextFull,
107
- "{geojson.copyright}")},tooltip:{followTouchMove:!1},xAxis:g,yAxis:B(g,{reversed:!0})},l,{chart:{inverted:!1,alignTicks:!1}});l.series=n.series=b;return f?new a(c,l,k):new a(l,h)}});z(a,"masters/modules/map.src.js",[],function(){})});
10
+ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/map",["highcharts"],function(B){a(B);a.Highcharts=B;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function B(a,n,h,q){a.hasOwnProperty(n)||(a[n]=q.apply(null,h))}a=a?a._modules:{};B(a,"Core/Axis/MapAxis.js",[a["Core/Axis/Axis.js"],a["Core/Utilities.js"]],function(a,n){var h=n.addEvent,q=n.pick,c=function(){return function(a){this.axis=
11
+ a}}();n=function(){function a(){}a.compose=function(a){a.keepProps.push("mapAxis");h(a,"init",function(){this.mapAxis||(this.mapAxis=new c(this))});h(a,"getSeriesExtremes",function(){if(this.mapAxis){var a=[];this.isXAxis&&(this.series.forEach(function(c,m){c.useMapGeometry&&(a[m]=c.xData,c.xData=[])}),this.mapAxis.seriesXData=a)}});h(a,"afterGetSeriesExtremes",function(){if(this.mapAxis){var a=this.mapAxis.seriesXData||[],c;if(this.isXAxis){var m=q(this.dataMin,Number.MAX_VALUE);var k=q(this.dataMax,
12
+ -Number.MAX_VALUE);this.series.forEach(function(p,u){p.useMapGeometry&&(m=Math.min(m,q(p.minX,m)),k=Math.max(k,q(p.maxX,k)),p.xData=a[u],c=!0)});c&&(this.dataMin=m,this.dataMax=k);this.mapAxis.seriesXData=void 0}}});h(a,"afterSetAxisTranslation",function(){if(this.mapAxis){var a=this.chart,c=a.plotWidth/a.plotHeight;a=a.xAxis[0];var m;"yAxis"===this.coll&&"undefined"!==typeof a.transA&&this.series.forEach(function(a){a.preserveAspectRatio&&(m=!0)});if(m&&(this.transA=a.transA=Math.min(this.transA,
13
+ a.transA),c/=(a.max-a.min)/(this.max-this.min),c=1>c?this:a,a=(c.max-c.min)*c.transA,c.mapAxis.pixelPadding=c.len-a,c.minPixelPadding=c.mapAxis.pixelPadding/2,a=c.mapAxis.fixTo)){a=a[1]-c.toValue(a[0],!0);a*=c.transA;if(Math.abs(a)>c.minPixelPadding||c.min===c.dataMin&&c.max===c.dataMax)a=0;c.minPixelPadding-=a}}});h(a,"render",function(){this.mapAxis&&(this.mapAxis.fixTo=void 0)})};return a}();n.compose(a);return n});B(a,"Mixins/ColorSeries.js",[],function(){return{colorPointMixin:{setVisible:function(a){var n=
14
+ this,h=a?"show":"hide";n.visible=n.options.visible=!!a;["graphic","dataLabel"].forEach(function(a){if(n[a])n[a][h]()});this.series.buildKDTree()}},colorSeriesMixin:{optionalAxis:"colorAxis",colorAxis:0,translateColors:function(){var a=this,n=this.options.nullColor,h=this.colorAxis,q=this.colorKey;(this.data.length?this.data:this.points).forEach(function(c){var r=c.getNestedProperty(q);(r=c.options.color||(c.isNull||null===c.value?n:h&&"undefined"!==typeof r?h.toColor(r,c):c.color||a.color))&&c.color!==
15
+ r&&(c.color=r,"point"===a.options.legendType&&c.legendItem&&a.chart.legend.colorizeItem(c,c.visible))})}}}});B(a,"Core/Axis/ColorAxis.js",[a["Core/Axis/Axis.js"],a["Core/Chart/Chart.js"],a["Core/Color/Color.js"],a["Mixins/ColorSeries.js"],a["Core/Animation/Fx.js"],a["Core/Globals.js"],a["Core/Legend.js"],a["Mixins/LegendSymbol.js"],a["Series/LineSeries.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,n,h,q,c,r,D,y,A,m,k){var p=this&&this.__extends||function(){var b=function(f,l){b=
16
+ Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,f){l.__proto__=f}||function(l,f){for(var b in f)f.hasOwnProperty(b)&&(l[b]=f[b])};return b(f,l)};return function(f,l){function e(){this.constructor=f}b(f,l);f.prototype=null===l?Object.create(l):(e.prototype=l.prototype,new e)}}(),u=h.parse;h=q.colorPointMixin;q=q.colorSeriesMixin;var E=r.noop,x=k.addEvent,C=k.erase,g=k.extend,e=k.isNumber,b=k.merge,t=k.pick,d=k.splat;"";g(A.prototype,q);g(m.prototype,h);n.prototype.collectionsWithUpdate.push("colorAxis");
17
+ n.prototype.collectionsWithInit.colorAxis=[n.prototype.addColorAxis];var z=function(d){function f(l,f){var b=d.call(this,l,f)||this;b.beforePadding=!1;b.chart=void 0;b.coll="colorAxis";b.dataClasses=void 0;b.legendItem=void 0;b.legendItems=void 0;b.name="";b.options=void 0;b.stops=void 0;b.visible=!0;b.init(l,f);return b}p(f,d);f.buildOptions=function(l,f,e){l=l.options.legend||{};var d=e.layout?"vertical"!==e.layout:"vertical"!==l.layout;return b(f,{side:d?2:1,reversed:!d},e,{opposite:!d,showEmpty:!1,
18
+ title:null,visible:l.enabled&&(e?!1!==e.visible:!0)})};f.prototype.init=function(l,b){var e=f.buildOptions(l,f.defaultOptions,b);this.coll="colorAxis";d.prototype.init.call(this,l,e);b.dataClasses&&this.initDataClasses(b);this.initStops();this.horiz=!e.opposite;this.zoomEnabled=!1};f.prototype.initDataClasses=function(l){var f=this.chart,e,d=0,t=f.options.chart.colorCount,g=this.options,a=l.dataClasses.length;this.dataClasses=e=[];this.legendItems=[];l.dataClasses.forEach(function(l,p){l=b(l);e.push(l);
19
+ if(f.styledMode||!l.color)"category"===g.dataClassColor?(f.styledMode||(p=f.options.colors,t=p.length,l.color=p[d]),l.colorIndex=d,d++,d===t&&(d=0)):l.color=u(g.minColor).tweenTo(u(g.maxColor),2>a?.5:p/(a-1))})};f.prototype.hasData=function(){return!!(this.tickPositions||[]).length};f.prototype.setTickPositions=function(){if(!this.dataClasses)return d.prototype.setTickPositions.call(this)};f.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]];
20
+ this.stops.forEach(function(l){l.color=u(l[1])})};f.prototype.setOptions=function(l){d.prototype.setOptions.call(this,l);this.options.crosshair=this.options.marker};f.prototype.setAxisSize=function(){var l=this.legendSymbol,b=this.chart,e=b.options.legend||{},d,t;l?(this.left=e=l.attr("x"),this.top=d=l.attr("y"),this.width=t=l.attr("width"),this.height=l=l.attr("height"),this.right=b.chartWidth-e-t,this.bottom=b.chartHeight-d-l,this.len=this.horiz?t:l,this.pos=this.horiz?e:d):this.len=(this.horiz?
21
+ e.symbolWidth:e.symbolHeight)||f.defaultLegendLength};f.prototype.normalizedValue=function(l){this.logarithmic&&(l=this.logarithmic.log2lin(l));return 1-(this.max-l)/(this.max-this.min||1)};f.prototype.toColor=function(l,f){var b=this.dataClasses,e=this.stops,d;if(b)for(d=b.length;d--;){var t=b[d];var g=t.from;e=t.to;if(("undefined"===typeof g||l>=g)&&("undefined"===typeof e||l<=e)){var a=t.color;f&&(f.dataClass=d,f.colorIndex=t.colorIndex);break}}else{l=this.normalizedValue(l);for(d=e.length;d--&&
22
+ !(l>e[d][0]););g=e[d]||e[d+1];e=e[d+1]||g;l=1-(e[0]-l)/(e[0]-g[0]||1);a=g.color.tweenTo(e.color,l)}return a};f.prototype.getOffset=function(){var l=this.legendGroup,f=this.chart.axisOffset[this.side];l&&(this.axisParent=l,d.prototype.getOffset.call(this),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=f)};f.prototype.setLegendColor=function(){var l=this.reversed,f=l?1:0;l=l?0:1;f=this.horiz?[f,0,l,0]:[0,l,0,f];this.legendColor={linearGradient:{x1:f[0],
23
+ y1:f[1],x2:f[2],y2:f[3]},stops:this.stops}};f.prototype.drawLegendSymbol=function(l,b){var e=l.padding,d=l.options,g=this.horiz,a=t(d.symbolWidth,g?f.defaultLegendLength:12),p=t(d.symbolHeight,g?12:f.defaultLegendLength),c=t(d.labelPadding,g?16:30);d=t(d.itemDistance,10);this.setLegendColor();b.legendSymbol=this.chart.renderer.rect(0,l.baseline-11,a,p).attr({zIndex:1}).add(b.legendGroup);this.legendItemWidth=a+e+(g?d:c);this.legendItemHeight=p+e+(g?c:0)};f.prototype.setState=function(f){this.series.forEach(function(l){l.setState(f)})};
24
+ f.prototype.setVisible=function(){};f.prototype.getSeriesExtremes=function(){var f=this.series,b=f.length,e;this.dataMin=Infinity;for(this.dataMax=-Infinity;b--;){var d=f[b];var g=d.colorKey=t(d.options.colorKey,d.colorKey,d.pointValKey,d.zoneAxis,"y");var a=d.pointArrayMap;var p=d[g+"Min"]&&d[g+"Max"];if(d[g+"Data"])var c=d[g+"Data"];else if(a){c=[];a=a.indexOf(g);var k=d.yData;if(0<=a&&k)for(e=0;e<k.length;e++)c.push(t(k[e][a],k[e]))}else c=d.yData;p?(d.minColorValue=d[g+"Min"],d.maxColorValue=
25
+ d[g+"Max"]):(c=A.prototype.getExtremes.call(d,c),d.minColorValue=c.dataMin,d.maxColorValue=c.dataMax);"undefined"!==typeof d.minColorValue&&(this.dataMin=Math.min(this.dataMin,d.minColorValue),this.dataMax=Math.max(this.dataMax,d.maxColorValue));p||A.prototype.applyExtremes.call(d)}};f.prototype.drawCrosshair=function(f,b){var l=b&&b.plotX,e=b&&b.plotY,g=this.pos,t=this.len;if(b){var a=this.toPixels(b.getNestedProperty(b.series.colorKey));a<g?a=g-2:a>g+t&&(a=g+t+2);b.plotX=a;b.plotY=this.len-a;d.prototype.drawCrosshair.call(this,
26
+ f,b);b.plotX=l;b.plotY=e;this.cross&&!this.cross.addedToColorAxis&&this.legendGroup&&(this.cross.addClass("highcharts-coloraxis-marker").add(this.legendGroup),this.cross.addedToColorAxis=!0,!this.chart.styledMode&&this.crosshair&&this.cross.attr({fill:this.crosshair.color}))}};f.prototype.getPlotLinePath=function(f){var l=this.left,b=f.translatedValue,g=this.top;return e(b)?this.horiz?[["M",b-4,g-6],["L",b+4,g-6],["L",b,g],["Z"]]:[["M",l,b],["L",l-6,b+6],["L",l-6,b-6],["Z"]]:d.prototype.getPlotLinePath.call(this,
27
+ f)};f.prototype.update=function(l,e){var g=this.chart,t=g.legend,a=f.buildOptions(g,{},l);this.series.forEach(function(f){f.isDirtyData=!0});(l.dataClasses&&t.allItems||this.dataClasses)&&this.destroyItems();g.options[this.coll]=b(this.userOptions,a);d.prototype.update.call(this,a,e);this.legendItem&&(this.setLegendColor(),t.colorizeItem(this,!0))};f.prototype.destroyItems=function(){var f=this.chart;this.legendItem?f.legend.destroyItem(this):this.legendItems&&this.legendItems.forEach(function(l){f.legend.destroyItem(l)});
28
+ f.isDirtyLegend=!0};f.prototype.remove=function(f){this.destroyItems();d.prototype.remove.call(this,f)};f.prototype.getDataClassLegendSymbols=function(){var f=this,b=f.chart,d=f.legendItems,e=b.options.legend,t=e.valueDecimals,a=e.valueSuffix||"",p;d.length||f.dataClasses.forEach(function(l,e){var c=!0,k=l.from,v=l.to,z=b.numberFormatter;p="";"undefined"===typeof k?p="< ":"undefined"===typeof v&&(p="> ");"undefined"!==typeof k&&(p+=z(k,t)+a);"undefined"!==typeof k&&"undefined"!==typeof v&&(p+=" - ");
29
+ "undefined"!==typeof v&&(p+=z(v,t)+a);d.push(g({chart:b,name:p,options:{},drawLegendSymbol:y.drawRectangle,visible:!0,setState:E,isDataClass:!0,setVisible:function(){c=f.visible=!c;f.series.forEach(function(f){f.points.forEach(function(f){f.dataClass===e&&f.setVisible(c)})});b.legend.colorizeItem(this,c)}},l))});return d};f.defaultLegendLength=200;f.defaultOptions={lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},
30
+ width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0};f.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"];return f}(a);Array.prototype.push.apply(a.keepProps,z.keepProps);r.ColorAxis=z;["fill","stroke"].forEach(function(b){c.prototype[b+"Setter"]=function(){this.elem.attr(b,u(this.start).tweenTo(u(this.end),this.pos),null,!0)}});x(n,"afterGetAxes",function(){var b=this,f=b.options;
31
+ this.colorAxis=[];f.colorAxis&&(f.colorAxis=d(f.colorAxis),f.colorAxis.forEach(function(f,d){f.index=d;new z(b,f)}))});x(A,"bindAxes",function(){var b=this.axisTypes;b?-1===b.indexOf("colorAxis")&&b.push("colorAxis"):this.axisTypes=["colorAxis"]});x(D,"afterGetAllItems",function(b){var f=[],l,d;(this.chart.colorAxis||[]).forEach(function(d){(l=d.options)&&l.showInLegend&&(l.dataClasses&&l.visible?f=f.concat(d.getDataClassLegendSymbols()):l.visible&&f.push(d),d.series.forEach(function(f){if(!f.options.showInLegend||
32
+ l.dataClasses)"point"===f.options.legendType?f.points.forEach(function(f){C(b.allItems,f)}):C(b.allItems,f)}))});for(d=f.length;d--;)b.allItems.unshift(f[d])});x(D,"afterColorizeItem",function(b){b.visible&&b.item.legendColor&&b.item.legendSymbol.attr({fill:b.item.legendColor})});x(D,"afterUpdate",function(){var b=this.chart.colorAxis;b&&b.forEach(function(f,b,d){f.update({},d)})});x(A,"afterTranslate",function(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()});
33
+ return z});B(a,"Mixins/ColorMapSeries.js",[a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,n,h){var q=h.defined;return{colorMapPointMixin:{dataLabelOnNull:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value},setState:function(a){n.prototype.setState.call(this,a);this.graphic&&this.graphic.attr({zIndex:"hover"===a?1:0})}},colorMapSeriesMixin:{pointArrayMap:["value"],axisTypes:["xAxis","yAxis","colorAxis"],trackerGroups:["group",
34
+ "markerGroup","dataLabelsGroup"],getSymbol:a.noop,parallelArrays:["x","y","value"],colorKey:"value",pointAttribs:a.seriesTypes.column.prototype.pointAttribs,colorAttribs:function(a){var c={};q(a.color)&&(c[this.colorProp||"fill"]=a.color);return c}}}});B(a,"Maps/MapNavigation.js",[a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,n,h){function q(a){a&&(a.preventDefault&&a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)}function c(a){this.init(a)}
35
+ var r=n.doc,D=h.addEvent,y=h.extend,w=h.merge,m=h.objectEach,k=h.pick;c.prototype.init=function(a){this.chart=a;a.mapNavButtons=[]};c.prototype.update=function(a){var p=this.chart,c=p.options.mapNavigation,r,h,g,e,b,t=function(b){this.handler.call(p,b);q(b)},d=p.mapNavButtons;a&&(c=p.options.mapNavigation=w(p.options.mapNavigation,a));for(;d.length;)d.pop().destroy();k(c.enableButtons,c.enabled)&&!p.renderer.forExport&&m(c.buttons,function(a,k){r=w(c.buttonOptions,a);p.styledMode||(h=r.theme,h.style=
36
+ w(r.theme.style,r.style),e=(g=h.states)&&g.hover,b=g&&g.select);a=p.renderer.button(r.text,0,0,t,h,e,b,0,"zoomIn"===k?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[k]).attr({width:r.width,height:r.height,title:p.options.lang[k],padding:r.padding,zIndex:5}).add();a.handler=r.onclick;D(a.element,"dblclick",q);d.push(a);var f=r,l=D(p,"load",function(){a.align(y(f,{width:a.width,height:2*a.height}),null,f.alignTo);l()})});this.updateEvents(c)};
37
+ c.prototype.updateEvents=function(a){var c=this.chart;k(a.enableDoubleClickZoom,a.enabled)||a.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||D(c.container,"dblclick",function(a){c.pointer.onContainerDblClick(a)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick());k(a.enableMouseWheelZoom,a.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||D(c.container,"undefined"===typeof r.onmousewheel?"DOMMouseScroll":"mousewheel",function(a){c.pointer.onContainerMouseWheel(a);
38
+ q(a);return!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())};y(a.prototype,{fitToBox:function(a,c){[["x","width"],["y","height"]].forEach(function(p){var k=p[0];p=p[1];a[k]+a[p]>c[k]+c[p]&&(a[p]>c[p]?(a[p]=c[p],a[k]=c[k]):a[k]=c[k]+c[p]-a[p]);a[p]>c[p]&&(a[p]=c[p]);a[k]<c[k]&&(a[k]=c[k])});return a},mapZoom:function(a,c,r,m,h){var g=this.xAxis[0],e=g.max-g.min,b=k(c,g.min+e/2),t=e*a;e=this.yAxis[0];var d=e.max-e.min,p=k(r,e.min+d/2);d*=a;b=this.fitToBox({x:b-t*(m?(m-g.pos)/
39
+ g.len:.5),y:p-d*(h?(h-e.pos)/e.len:.5),width:t,height:d},{x:g.dataMin,y:e.dataMin,width:g.dataMax-g.dataMin,height:e.dataMax-e.dataMin});t=b.x<=g.dataMin&&b.width>=g.dataMax-g.dataMin&&b.y<=e.dataMin&&b.height>=e.dataMax-e.dataMin;m&&g.mapAxis&&(g.mapAxis.fixTo=[m-g.pos,c]);h&&e.mapAxis&&(e.mapAxis.fixTo=[h-e.pos,r]);"undefined"===typeof a||t?(g.setExtremes(void 0,void 0,!1),e.setExtremes(void 0,void 0,!1)):(g.setExtremes(b.x,b.x+b.width,!1),e.setExtremes(b.y,b.y+b.height,!1));this.redraw()}});D(a,
40
+ "beforeRender",function(){this.mapNavigation=new c(this);this.mapNavigation.update()});n.MapNavigation=c});B(a,"Maps/MapPointer.js",[a["Core/Pointer.js"],a["Core/Utilities.js"]],function(a,n){var h=n.extend,q=n.pick;n=n.wrap;h(a.prototype,{onContainerDblClick:function(a){var c=this.chart;a=this.normalize(a);c.options.mapNavigation.enableDoubleClickZoomTo?c.pointer.inClass(a.target,"highcharts-tracker")&&c.hoverPoint&&c.hoverPoint.zoomTo():c.isInsidePlot(a.chartX-c.plotLeft,a.chartY-c.plotTop)&&c.mapZoom(.5,
41
+ c.xAxis[0].toValue(a.chartX),c.yAxis[0].toValue(a.chartY),a.chartX,a.chartY)},onContainerMouseWheel:function(a){var c=this.chart;a=this.normalize(a);var h=a.detail||-(a.wheelDelta/120);c.isInsidePlot(a.chartX-c.plotLeft,a.chartY-c.plotTop)&&c.mapZoom(Math.pow(c.options.mapNavigation.mouseWheelSensitivity,h),c.xAxis[0].toValue(a.chartX),c.yAxis[0].toValue(a.chartY),a.chartX,a.chartY)}});n(a.prototype,"zoomOption",function(a){var c=this.chart.options.mapNavigation;q(c.enableTouchZoom,c.enabled)&&(this.chart.options.chart.pinchType=
42
+ "xy");a.apply(this,[].slice.call(arguments,1))});n(a.prototype,"pinchTranslate",function(a,h,n,q,w,m,k){a.call(this,h,n,q,w,m,k);"map"===this.chart.options.chart.type&&this.hasZoom&&(a=q.scaleX>q.scaleY,this.pinchTranslateDirection(!a,h,n,q,w,m,k,a?q.scaleX:q.scaleY))})});B(a,"Maps/Map.js",[a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Options.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,n,h,q,c){function r(a,c,k,m,h,g,e,b){return[["M",a+h,c],["L",a+k-g,c],
43
+ ["C",a+k-g/2,c,a+k,c+g/2,a+k,c+g],["L",a+k,c+m-e],["C",a+k,c+m-e/2,a+k-e/2,c+m,a+k-e,c+m],["L",a+b,c+m],["C",a+b/2,c+m,a,c+m-b/2,a,c+m-b],["L",a,c+h],["C",a,c+h/2,a+h/2,c,a+h,c],["Z"]]}h=h.defaultOptions;var D=c.extend,w=c.getOptions,A=c.merge,m=c.pick;c=n.Renderer;var k=n.VMLRenderer;D(h.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"});h.mapNavigation={buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{fontSize:"15px",fontWeight:"bold"},theme:{"stroke-width":1,
44
+ "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};h=n.splitPath=function(a){"string"===typeof a&&(a=a.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,""),a=a.split(/[ ,;]+/).map(function(a){return/[A-za-z]/.test(a)?a:parseFloat(a)}));return q.prototype.pathToSegments(a)};n.maps={};q.prototype.symbols.topbutton=function(a,c,k,m,h){h=h&&h.r||0;return r(a-
45
+ 1,c-1,k,m,h,h,0,0)};q.prototype.symbols.bottombutton=function(a,c,k,m,h){h=h&&h.r||0;return r(a-1,c-1,k,m,0,0,h,h)};c===k&&["topbutton","bottombutton"].forEach(function(a){k.prototype.symbols[a]=q.prototype.symbols[a]});return{mapChart:n.Map=n.mapChart=function(c,k,h){var p="string"===typeof c||c.nodeName,n=arguments[p?1:0],g=n,e={endOnTick:!1,visible:!1,minPadding:0,maxPadding:0,startOnTick:!1},b=w().credits;var t=n.series;n.series=null;n=A({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:m(b.mapText,
46
+ ' \u00a9 <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}</a>'),mapTextFull:m(b.mapTextFull,"{geojson.copyright}")},tooltip:{followTouchMove:!1},xAxis:e,yAxis:A(e,{reversed:!0})},n,{chart:{inverted:!1,alignTicks:!1}});n.series=g.series=t;return p?new a(c,n,h):new a(n,k)},maps:n.maps,splitPath:h}});B(a,"Series/MapSeries.js",[a["Core/Series/Series.js"],a["Mixins/ColorMapSeries.js"],a["Core/Globals.js"],a["Mixins/LegendSymbol.js"],a["Maps/Map.js"],a["Core/Series/Point.js"],a["Core/Renderer/SVG/SVGRenderer.js"],
47
+ a["Core/Utilities.js"]],function(a,n,h,q,c,r,D,y){var w=n.colorMapPointMixin,m=h.noop,k=c.maps,p=c.splitPath,u=y.extend,E=y.fireEvent,x=y.getNestedProperty,C=y.isArray,g=y.isNumber,e=y.merge,b=y.objectEach,t=y.pick,d=y.splat,z=h.Series,v=a.seriesTypes;a.seriesType("map","scatter",{animation:!1,dataLabels:{crop:!1,formatter:function(){return this.point.value},inside:!0,overflow:!1,padding:0,verticalAlign:"middle"},marker:null,nullColor:"#f7f7f7",stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.value}<br/>"},
48
+ turboThreshold:0,allAreas:!0,borderColor:"#cccccc",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"},inactive:{opacity:1}}},e(n.colorMapSeriesMixin,{type:"map",getExtremesFromAll:!0,useMapGeometry:!0,forceDL:!0,searchPoint:m,directTouch:!0,preserveAspectRatio:!0,pointArrayMap:["value"],setOptions:function(a){a=z.prototype.setOptions.call(this,a);var f=a.joinBy;null===f&&(f="_i");f=this.joinBy=d(f);f[1]||(f[1]=f[0]);return a},getBox:function(a){var f=
49
+ Number.MAX_VALUE,b=-f,d=f,e=-f,g=f,c=f,k=this.xAxis,h=this.yAxis,z;(a||[]).forEach(function(a){if(a.path){"string"===typeof a.path?a.path=p(a.path):"M"===a.path[0]&&(a.path=D.prototype.pathToSegments(a.path));var l=a.path||[],k=-f,h=f,m=-f,v=f,n=a.properties;a._foundBox||(l.forEach(function(a){var f=a[a.length-2];a=a[a.length-1];"number"===typeof f&&"number"===typeof a&&(h=Math.min(h,f),k=Math.max(k,f),v=Math.min(v,a),m=Math.max(m,a))}),a._midX=h+(k-h)*t(a.middleX,n&&n["hc-middle-x"],.5),a._midY=
50
+ v+(m-v)*t(a.middleY,n&&n["hc-middle-y"],.5),a._maxX=k,a._minX=h,a._maxY=m,a._minY=v,a.labelrank=t(a.labelrank,(k-h)*(m-v)),a._foundBox=!0);b=Math.max(b,a._maxX);d=Math.min(d,a._minX);e=Math.max(e,a._maxY);g=Math.min(g,a._minY);c=Math.min(a._maxX-a._minX,a._maxY-a._minY,c);z=!0}});z&&(this.minY=Math.min(g,t(this.minY,f)),this.maxY=Math.max(e,t(this.maxY,-f)),this.minX=Math.min(d,t(this.minX,f)),this.maxX=Math.max(b,t(this.maxX,-f)),k&&"undefined"===typeof k.options.minRange&&(k.minRange=Math.min(5*
51
+ c,(this.maxX-this.minX)/5,k.minRange||f)),h&&"undefined"===typeof h.options.minRange&&(h.minRange=Math.min(5*c,(this.maxY-this.minY)/5,h.minRange||f)))},hasData:function(){return!!this.processedXData.length},getExtremes:function(){var a=z.prototype.getExtremes.call(this,this.valueData),b=a.dataMin;a=a.dataMax;this.chart.hasRendered&&this.isDirtyData&&this.getBox(this.options.data);g(b)&&(this.valueMin=b);g(a)&&(this.valueMax=a);return{dataMin:this.minY,dataMax:this.maxY}},translatePath:function(a){var f=
52
+ this.xAxis,b=this.yAxis,d=f.min,e=f.transA,g=f.minPixelPadding,c=b.min,t=b.transA,k=b.minPixelPadding,h=[];a&&a.forEach(function(a){"M"===a[0]?h.push(["M",(a[1]-(d||0))*e+g,(a[2]-(c||0))*t+k]):"L"===a[0]?h.push(["L",(a[1]-(d||0))*e+g,(a[2]-(c||0))*t+k]):"C"===a[0]?h.push(["C",(a[1]-(d||0))*e+g,(a[2]-(c||0))*t+k,(a[3]-(d||0))*e+g,(a[4]-(c||0))*t+k,(a[5]-(d||0))*e+g,(a[6]-(c||0))*t+k]):"Q"===a[0]?h.push(["Q",(a[1]-(d||0))*e+g,(a[2]-(c||0))*t+k,(a[3]-(d||0))*e+g,(a[4]-(c||0))*t+k]):"Z"===a[0]&&h.push(["Z"])});
53
+ return h},setData:function(a,d,c,t){var f=this.options,l=this.chart.options.chart,p=l&&l.map,m=f.mapData,v=this.joinBy,n=f.keys||this.pointArrayMap,F=[],q={},u=this.chart.mapTransforms;!m&&p&&(m="string"===typeof p?k[p]:p);a&&a.forEach(function(b,d){var e=0;if(g(b))a[d]={value:b};else if(C(b)){a[d]={};!f.keys&&b.length>n.length&&"string"===typeof b[0]&&(a[d]["hc-key"]=b[0],++e);for(var l=0;l<n.length;++l,++e)n[l]&&"undefined"!==typeof b[e]&&(0<n[l].indexOf(".")?r.prototype.setNestedProperty(a[d],
54
+ b[e],n[l]):a[d][n[l]]=b[e])}v&&"_i"===v[0]&&(a[d]._i=d)});this.getBox(a);(this.chart.mapTransforms=u=l&&l.mapTransforms||m&&m["hc-transform"]||u)&&b(u,function(a){a.rotation&&(a.cosAngle=Math.cos(a.rotation),a.sinAngle=Math.sin(a.rotation))});if(m){"FeatureCollection"===m.type&&(this.mapTitle=m.title,m=h.geojson(m,this.type,this));this.mapData=m;this.mapMap={};for(u=0;u<m.length;u++)l=m[u],p=l.properties,l._i=u,v[0]&&p&&p[v[0]]&&(l[v[0]]=p[v[0]]),q[l[v[0]]]=l;this.mapMap=q;if(a&&v[1]){var G=v[1];
55
+ a.forEach(function(a){a=x(G,a);q[a]&&F.push(q[a])})}if(f.allAreas){this.getBox(m);a=a||[];if(v[1]){var w=v[1];a.forEach(function(a){F.push(x(w,a))})}F="|"+F.map(function(a){return a&&a[v[0]]}).join("|")+"|";m.forEach(function(f){v[0]&&-1!==F.indexOf("|"+f[v[0]]+"|")||(a.push(e(f,{value:null})),t=!1)})}else this.getBox(F)}z.prototype.setData.call(this,a,d,c,t)},drawGraph:m,drawDataLabels:m,doFullTranslate:function(){return this.isDirtyData||this.chart.isResizing||this.chart.renderer.isVML||!this.baseTrans},
56
+ translate:function(){var a=this,b=a.xAxis,d=a.yAxis,e=a.doFullTranslate();a.generatePoints();a.data.forEach(function(f){g(f._midX)&&g(f._midY)&&(f.plotX=b.toPixels(f._midX,!0),f.plotY=d.toPixels(f._midY,!0));e&&(f.shapeType="path",f.shapeArgs={d:a.translatePath(f.path)})});E(a,"afterTranslate")},pointAttribs:function(a,b){b=a.series.chart.styledMode?this.colorAttribs(a):v.column.prototype.pointAttribs.call(this,a,b);b["stroke-width"]=t(a.options[this.pointAttrToOptions&&this.pointAttrToOptions["stroke-width"]||
57
+ "borderWidth"],"inherit");return b},drawPoints:function(){var a=this,b=a.xAxis,d=a.yAxis,e=a.group,g=a.chart,c=g.renderer,k=this.baseTrans;a.transformGroup||(a.transformGroup=c.g().attr({scaleX:1,scaleY:1}).add(e),a.transformGroup.survive=!0);if(a.doFullTranslate())g.hasRendered&&!g.styledMode&&a.points.forEach(function(b){b.shapeArgs&&(b.shapeArgs.fill=a.pointAttribs(b,b.state).fill)}),a.group=a.transformGroup,v.column.prototype.drawPoints.apply(a),a.group=e,a.points.forEach(function(b){if(b.graphic){var f=
58
+ "";b.name&&(f+="highcharts-name-"+b.name.replace(/ /g,"-").toLowerCase());b.properties&&b.properties["hc-key"]&&(f+=" highcharts-key-"+b.properties["hc-key"].toLowerCase());f&&b.graphic.addClass(f);g.styledMode&&b.graphic.css(a.pointAttribs(b,b.selected&&"select"||void 0))}}),this.baseTrans={originX:b.min-b.minPixelPadding/b.transA,originY:d.min-d.minPixelPadding/d.transA+(d.reversed?0:d.len/d.transA),transAX:b.transA,transAY:d.transA},this.transformGroup.animate({translateX:0,translateY:0,scaleX:1,
59
+ scaleY:1});else{var h=b.transA/k.transAX;var m=d.transA/k.transAY;var p=b.toPixels(k.originX,!0);var z=d.toPixels(k.originY,!0);.99<h&&1.01>h&&.99<m&&1.01>m&&(m=h=1,p=Math.round(p),z=Math.round(z));var n=this.transformGroup;if(g.renderer.globalAnimation){var r=n.attr("translateX");var q=n.attr("translateY");var u=n.attr("scaleX");var w=n.attr("scaleY");n.attr({animator:0}).animate({animator:1},{step:function(a,b){n.attr({translateX:r+(p-r)*b.pos,translateY:q+(z-q)*b.pos,scaleX:u+(h-u)*b.pos,scaleY:w+
60
+ (m-w)*b.pos})}})}else n.attr({translateX:p,translateY:z,scaleX:h,scaleY:m})}g.styledMode||e.element.setAttribute("stroke-width",t(a.options[a.pointAttrToOptions&&a.pointAttrToOptions["stroke-width"]||"borderWidth"],1)/(h||1));this.drawMapDataLabels()},drawMapDataLabels:function(){z.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},render:function(){var a=this,b=z.prototype.render;a.chart.renderer.isVML&&3E3<a.data.length?setTimeout(function(){b.call(a)}):
61
+ b.call(a)},animate:function(a){var b=this.options.animation,d=this.group,f=this.xAxis,e=this.yAxis,g=f.pos,c=e.pos;this.chart.renderer.isSVG&&(!0===b&&(b={duration:1E3}),a?d.attr({translateX:g+f.len/2,translateY:c+e.len/2,scaleX:.001,scaleY:.001}):d.animate({translateX:g,translateY:c,scaleX:1,scaleY:1},b))},animateDrilldown:function(a){var b=this.chart.plotBox,d=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],f=d.bBox,e=this.chart.options.drilldown.animation;a||(a=Math.min(f.width/
62
+ b.width,f.height/b.height),d.shapeArgs={scaleX:a,scaleY:a,translateX:f.x,translateY:f.y},this.points.forEach(function(a){a.graphic&&a.graphic.attr(d.shapeArgs).animate({scaleX:1,scaleY:1,translateX:0,translateY:0},e)}))},drawLegendSymbol:q.drawRectangle,animateDrillupFrom:function(a){v.column.prototype.animateDrillupFrom.call(this,a)},animateDrillupTo:function(a){v.column.prototype.animateDrillupTo.call(this,a)}}),u({applyOptions:function(a,b){var d=this.series;a=r.prototype.applyOptions.call(this,
63
+ a,b);b=d.joinBy;d.mapData&&d.mapMap&&(b=r.prototype.getNestedProperty.call(a,b[1]),(b="undefined"!==typeof b&&d.mapMap[b])?(d.xyFromShape&&(a.x=b._midX,a.y=b._midY),u(a,b)):a.value=a.value||null);return a},onMouseOver:function(a){y.clearTimeout(this.colorInterval);if(null!==this.value||this.series.options.nullInteraction)r.prototype.onMouseOver.call(this,a);else this.series.onMouseOut(a)},zoomTo:function(){var a=this.series;a.xAxis.setExtremes(this._minX,this._maxX,!1);a.yAxis.setExtremes(this._minY,
64
+ this._maxY,!1);a.chart.redraw()}},w));""});B(a,"Series/MapLineSeries.js",[a["Core/Series/Series.js"]],function(a){var n=a.seriesTypes;a.seriesType("mapline","map",{lineWidth:1,fillColor:"none"},{type:"mapline",colorProp:"stroke",pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointAttribs:function(a,q){a=n.map.prototype.pointAttribs.call(this,a,q);a.fill=this.options.fillColor;return a},drawLegendSymbol:n.line.prototype.drawLegendSymbol});""});B(a,"Series/MapPointSeries.js",[a["Core/Series/Series.js"],
65
+ a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,n,h,q){var c=q.merge,r=n.Series;a.seriesType("mappoint","scatter",{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}},{type:"mappoint",forceDL:!0,drawDataLabels:function(){r.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)}},{applyOptions:function(a,n){a="undefined"!==typeof a.lat&&"undefined"!==
66
+ typeof a.lon?c(a,this.series.chart.fromLatLonToPoint(a)):a;return h.prototype.applyOptions.call(this,a,n)}});""});B(a,"Series/Bubble/BubbleLegend.js",[a["Core/Chart/Chart.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Legend.js"],a["Core/Utilities.js"]],function(a,n,h,q,c){var r=n.parse;n=c.addEvent;var w=c.arrayMax,y=c.arrayMin,A=c.isNumber,m=c.merge,k=c.objectEach,p=c.pick,u=c.setOptions,E=c.stableSort,x=c.wrap;"";var C=h.Series,g=h.noop;u({legend:{bubbleLegend:{borderColor:void 0,borderWidth:2,
67
+ className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:10,color:void 0},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}});u=function(){function a(a,e){this.options=this.symbols=this.visible=this.ranges=
68
+ this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0;this.setState=g;this.init(a,e)}a.prototype.init=function(a,e){this.options=a;this.visible=!0;this.chart=e.chart;this.legend=e};a.prototype.addToLegend=function(a){a.splice(this.options.legendIndex,0,this)};a.prototype.drawLegendSymbol=function(a){var b=this.chart,d=this.options,e=p(a.options.itemDistance,20),g=d.ranges;var f=d.connectorDistance;
69
+ this.fontMetrics=b.renderer.fontMetrics(d.labels.style.fontSize.toString()+"px");g&&g.length&&A(g[0].value)?(E(g,function(a,b){return b.value-a.value}),this.ranges=g,this.setOptions(),this.render(),b=this.getMaxLabelSize(),g=this.ranges[0].radius,a=2*g,f=f-g+b.width,f=0<f?f:0,this.maxLabel=b,this.movementX="left"===d.labels.align?f:0,this.legendItemWidth=a+f+e,this.legendItemHeight=a+this.fontMetrics.h/2):a.options.bubbleLegend.autoRanges=!0};a.prototype.setOptions=function(){var a=this.ranges,e=
70
+ this.options,d=this.chart.series[e.seriesIndex],g=this.legend.baseline,c={"z-index":e.zIndex,"stroke-width":e.borderWidth},f={"z-index":e.zIndex,"stroke-width":e.connectorWidth},l=this.getLabelStyles(),k=d.options.marker.fillOpacity,h=this.chart.styledMode;a.forEach(function(b,t){h||(c.stroke=p(b.borderColor,e.borderColor,d.color),c.fill=p(b.color,e.color,1!==k?r(d.color).setOpacity(k).get("rgba"):d.color),f.stroke=p(b.connectorColor,e.connectorColor,d.color));a[t].radius=this.getRangeRadius(b.value);
71
+ a[t]=m(a[t],{center:a[0].radius-a[t].radius+g});h||m(!0,a[t],{bubbleStyle:m(!1,c),connectorStyle:m(!1,f),labelStyle:l})},this)};a.prototype.getLabelStyles=function(){var a=this.options,e={},d="left"===a.labels.align,g=this.legend.options.rtl;k(a.labels.style,function(a,b){"color"!==b&&"fontSize"!==b&&"z-index"!==b&&(e[b]=a)});return m(!1,e,{"font-size":a.labels.style.fontSize,fill:p(a.labels.style.color,"#000000"),"z-index":a.zIndex,align:g||d?"right":"left"})};a.prototype.getRangeRadius=function(a){var b=
72
+ this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,b.ranges[b.ranges.length-1].value,b.ranges[0].value,b.minSize,b.maxSize,a)};a.prototype.render=function(){var a=this.chart.renderer,e=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});this.legendSymbol=a.g("bubble-legend");this.legendItem=a.g("bubble-legend-item");this.legendSymbol.translateX=0;this.legendSymbol.translateY=0;this.ranges.forEach(function(a){a.value>=e&&this.renderRange(a)},
73
+ this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()};a.prototype.renderRange=function(a){var b=this.options,d=b.labels,e=this.chart.renderer,g=this.symbols,f=g.labels,c=a.center,k=Math.abs(a.radius),h=b.connectorDistance||0,m=d.align,p=d.style.fontSize;h=this.legend.options.rtl||"left"===m?-h:h;d=b.connectorWidth;var n=this.ranges[0].radius||0,r=c-k-b.borderWidth/2+d/2;p=p/2-(this.fontMetrics.h-p)/2;var q=e.styledMode;"center"===m&&(h=0,
74
+ b.connectorDistance=0,a.labelStyle.align="center");m=r+b.labels.y;var u=n+h+b.labels.x;g.bubbleItems.push(e.circle(n,c+((r%1?1:.5)-(d%2?0:.5)),k).attr(q?{}:a.bubbleStyle).addClass((q?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-symbol "+(b.className||"")).add(this.legendSymbol));g.connectors.push(e.path(e.crispLine([["M",n,r],["L",n+h,r]],b.connectorWidth)).attr(q?{}:a.connectorStyle).addClass((q?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+
75
+ (b.connectorClassName||"")).add(this.legendSymbol));a=e.text(this.formatLabel(a),u,m+p).attr(q?{}:a.labelStyle).addClass("highcharts-bubble-legend-labels "+(b.labels.className||"")).add(this.legendSymbol);f.push(a);a.placed=!0;a.alignAttr={x:u,y:m+p}};a.prototype.getMaxLabelSize=function(){var a,e;this.symbols.labels.forEach(function(b){e=b.getBBox(!0);a=a?e.width>a.width?e:a:e});return a||{}};a.prototype.formatLabel=function(a){var b=this.options,d=b.labels.formatter;b=b.labels.format;var e=this.chart.numberFormatter;
76
+ return b?c.format(b,a):d?d.call(a):e(a.value,1)};a.prototype.hideOverlappingLabels=function(){var a=this.chart,e=this.symbols;!this.options.labels.allowOverlap&&e&&(a.hideOverlappingLabels(e.labels),e.labels.forEach(function(a,b){a.newOpacity?a.newOpacity!==a.oldOpacity&&e.connectors[b].show():e.connectors[b].hide()}))};a.prototype.getRanges=function(){var a=this.legend.bubbleLegend,e=a.options.ranges,d,g=Number.MAX_VALUE,c=-Number.MAX_VALUE;a.chart.series.forEach(function(a){a.isBubble&&!a.ignoreSeries&&
77
+ (d=a.zData.filter(A),d.length&&(g=p(a.options.zMin,Math.min(g,Math.max(y(d),!1===a.options.displayNegative?a.options.zThreshold:-Number.MAX_VALUE))),c=p(a.options.zMax,Math.max(c,w(d)))))});var f=g===c?[{value:c}]:[{value:g},{value:(g+c)/2},{value:c,autoRanges:!0}];e.length&&e[0].radius&&f.reverse();f.forEach(function(a,b){e&&e[b]&&(f[b]=m(!1,e[b],a))});return f};a.prototype.predictBubbleSizes=function(){var a=this.chart,e=this.fontMetrics,d=a.legend.options,g="horizontal"===d.layout,c=g?a.legend.lastLineHeight:
78
+ 0,f=a.plotSizeX,k=a.plotSizeY,h=a.series[this.options.seriesIndex];a=Math.ceil(h.minPxSize);var m=Math.ceil(h.maxPxSize);h=h.options.maxSize;var p=Math.min(k,f);if(d.floating||!/%$/.test(h))e=m;else if(h=parseFloat(h),e=(p+c-e.h/2)*h/100/(h/100+1),g&&k-e>=f||!g&&f-e>=k)e=m;return[a,Math.ceil(e)]};a.prototype.updateRanges=function(a,e){var b=this.legend.options.bubbleLegend;b.minSize=a;b.maxSize=e;b.ranges=this.getRanges()};a.prototype.correctSizes=function(){var a=this.legend,e=this.chart.series[this.options.seriesIndex];
79
+ 1<Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e.maxPxSize),a.render())};return a}();n(q,"afterGetAllItems",function(a){var b=this.bubbleLegend,e=this.options,d=e.bubbleLegend,g=this.chart.getVisibleBubbleSeriesIndex();b&&b.ranges&&b.ranges.length&&(d.ranges.length&&(d.autoRanges=!!d.ranges[0].autoRanges),this.destroyItem(b));0<=g&&e.enabled&&d.enabled&&(d.seriesIndex=g,this.bubbleLegend=new h.BubbleLegend(d,this),this.bubbleLegend.addToLegend(a.allItems))});
80
+ a.prototype.getVisibleBubbleSeriesIndex=function(){for(var a=this.series,b=0;b<a.length;){if(a[b]&&a[b].isBubble&&a[b].visible&&a[b].zData.length)return b;b++}return-1};q.prototype.getLinesHeights=function(){var a=this.allItems,b=[],g=a.length,d,c=0;for(d=0;d<g;d++)if(a[d].legendItemHeight&&(a[d].itemHeight=a[d].legendItemHeight),a[d]===a[g-1]||a[d+1]&&a[d]._legendItemPos[1]!==a[d+1]._legendItemPos[1]){b.push({height:0});var k=b[b.length-1];for(c;c<=d;c++)a[c].itemHeight>k.height&&(k.height=a[c].itemHeight);
81
+ k.step=d}return b};q.prototype.retranslateItems=function(a){var b,e,d,g=this.options.rtl,c=0;this.allItems.forEach(function(f,k){b=f.legendGroup.translateX;e=f._legendItemPos[1];if((d=f.movementX)||g&&f.ranges)d=g?b-f.options.maxSize/2:b+d,f.legendGroup.attr({translateX:d});k>a[c].step&&c++;f.legendGroup.attr({translateY:Math.round(e+a[c].height/2)});f._legendItemPos[1]=e+a[c].height/2})};n(C,"legendItemClick",function(){var a=this.chart,b=this.visible,g=this.chart.legend;g&&g.bubbleLegend&&(this.visible=
82
+ !b,this.ignoreSeries=b,a=0<=a.getVisibleBubbleSeriesIndex(),g.bubbleLegend.visible!==a&&(g.update({bubbleLegend:{enabled:a}}),g.bubbleLegend.visible=a),this.visible=b)});x(a.prototype,"drawChartBox",function(a,b,g){var d=this.legend,e=0<=this.getVisibleBubbleSeriesIndex();if(d&&d.options.enabled&&d.bubbleLegend&&d.options.bubbleLegend.autoRanges&&e){var c=d.bubbleLegend.options;e=d.bubbleLegend.predictBubbleSizes();d.bubbleLegend.updateRanges(e[0],e[1]);c.placed||(d.group.placed=!1,d.allItems.forEach(function(a){a.legendGroup.translateY=
83
+ null}));d.render();this.getMargins();this.axes.forEach(function(a){a.visible&&a.render();c.placed||(a.setScale(),a.updateNames(),k(a.ticks,function(a){a.isNew=!0;a.isNewLabel=!0}))});c.placed=!0;this.getMargins();a.call(this,b,g);d.bubbleLegend.correctSizes();d.retranslateItems(d.getLinesHeights())}else a.call(this,b,g),d&&d.options.enabled&&d.bubbleLegend&&(d.render(),d.retranslateItems(d.getLinesHeights()))});h.BubbleLegend=u;return h.BubbleLegend});B(a,"Series/Bubble/BubbleSeries.js",[a["Core/Axis/Axis.js"],
84
+ a["Core/Series/Series.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,n,h,q,c,r){var w=h.parse;h=q.noop;var y=r.arrayMax,A=r.arrayMin,m=r.clamp,k=r.extend,p=r.isNumber,u=r.pick,E=r.pInt,x=q.Series,C=n.seriesTypes;"";n.seriesType("bubble","scatter",{dataLabels:{formatter:function(){return this.point.z},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},
85
+ 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"},{pointArrayMap:["y","z"],parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",bubblePadding:!0,zoneAxis:"z",directTouch:!0,isBubble:!0,pointAttribs:function(a,e){var b=this.options.marker.fillOpacity;a=x.prototype.pointAttribs.call(this,a,e);1!==b&&(a.fill=w(a.fill).setOpacity(b).get("rgba"));
86
+ return a},getRadii:function(a,e,b){var g=this.zData,d=this.yData,c=b.minPxSize,k=b.maxPxSize,f=[];var l=0;for(b=g.length;l<b;l++){var h=g[l];f.push(this.getRadius(a,e,c,k,h,d[l]))}this.radii=f},getRadius:function(a,e,b,c,d,k){var g=this.options,f="width"!==g.sizeBy,l=g.zThreshold,h=e-a,m=.5;if(null===k||null===d)return null;if(p(d)){g.sizeByAbsoluteValue&&(d=Math.abs(d-l),h=Math.max(e-l,Math.abs(a-l)),a=0);if(d<a)return b/2-1;0<h&&(m=(d-a)/h)}f&&0<=m&&(m=Math.sqrt(m));return Math.ceil(b+m*(c-b))/
87
+ 2},animate:function(a){!a&&this.points.length<this.options.animationLimit&&this.points.forEach(function(a){var b=a.graphic;b&&b.width&&(this.hasRendered||b.attr({x:a.plotX,y:a.plotY,width:1,height:1}),b.animate(this.markerAttribs(a),this.options.animation))},this)},hasData:function(){return!!this.processedXData.length},translate:function(){var a,e=this.data,b=this.radii;C.scatter.prototype.translate.call(this);for(a=e.length;a--;){var c=e[a];var d=b?b[a]:0;p(d)&&d>=this.minPxSize/2?(c.marker=k(c.marker,
88
+ {radius:d,width:2*d,height:2*d}),c.dlBox={x:c.plotX-d,y:c.plotY-d,width:2*d,height:2*d}):c.shapeArgs=c.plotY=c.dlBox=void 0}},alignDataLabel:C.column.prototype.alignDataLabel,buildKDTree:h,applyZones:h},{haloPath:function(a){return c.prototype.haloPath.call(this,0===a?0:(this.marker?this.marker.radius||0:0)+a)},ttBelow:!1});a.prototype.beforePadding=function(){var a=this,e=this.len,b=this.chart,c=0,d=e,k=this.isXAxis,h=k?"xData":"yData",f=this.min,l={},n=Math.min(b.plotWidth,b.plotHeight),r=Number.MAX_VALUE,
89
+ q=-Number.MAX_VALUE,w=this.max-f,x=e/w,C=[];this.series.forEach(function(d){var e=d.options;!d.bubblePadding||!d.visible&&b.options.chart.ignoreHiddenSeries||(a.allowZoomOutside=!0,C.push(d),k&&(["minSize","maxSize"].forEach(function(a){var b=e[a],d=/%$/.test(b);b=E(b);l[a]=d?n*b/100:b}),d.minPxSize=l.minSize,d.maxPxSize=Math.max(l.maxSize,l.minSize),d=d.zData.filter(p),d.length&&(r=u(e.zMin,m(A(d),!1===e.displayNegative?e.zThreshold:-Number.MAX_VALUE,r)),q=u(e.zMax,Math.max(q,y(d))))))});C.forEach(function(b){var e=
90
+ b[h],g=e.length;k&&b.getRadii(r,q,b);if(0<w)for(;g--;)if(p(e[g])&&a.dataMin<=e[g]&&e[g]<=a.max){var l=b.radii?b.radii[g]:0;c=Math.min((e[g]-f)*x-l,c);d=Math.max((e[g]-f)*x+l,d)}});C.length&&0<w&&!this.logarithmic&&(d-=e,x*=(e+Math.max(0,c)-Math.min(d,e))/e,[["min","userMin",c],["max","userMax",d]].forEach(function(b){"undefined"===typeof u(a.options[b[0]],a[b[1]])&&(a[b[0]]+=b[2]/x)}))};""});B(a,"Series/MapBubbleSeries.js",[a["Core/Series/Series.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],
91
+ function(a,n,h){var q=h.merge,c=a.seriesTypes;c.bubble&&a.seriesType("mapbubble","bubble",{animationLimit:500,tooltip:{pointFormat:"{point.name}: {point.z}"}},{xyFromShape:!0,type:"mapbubble",pointArrayMap:["z"],getMapData:c.map.prototype.getMapData,getBox:c.map.prototype.getBox,setData:c.map.prototype.setData,setOptions:c.map.prototype.setOptions},{applyOptions:function(a,h){return a&&"undefined"!==typeof a.lat&&"undefined"!==typeof a.lon?n.prototype.applyOptions.call(this,q(a,this.series.chart.fromLatLonToPoint(a)),
92
+ h):c.map.prototype.pointClass.prototype.applyOptions.call(this,a,h)},isValid:function(){return"number"===typeof this.z},ttBelow:!1});""});B(a,"Series/HeatmapSeries.js",[a["Core/Series/Series.js"],a["Mixins/ColorMapSeries.js"],a["Core/Globals.js"],a["Mixins/LegendSymbol.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,n,h,q,c,r){var w=n.colorMapPointMixin;n=n.colorMapSeriesMixin;var y=h.noop,A=r.clamp,m=r.extend,k=r.fireEvent,p=r.isNumber,u=r.merge,E=r.pick,x=h.Series;
93
+ r=a.seriesTypes;var C=c.prototype.symbols;"";a.seriesType("heatmap","scatter",{animation:!1,borderWidth:0,nullColor:"#f7f7f7",dataLabels:{formatter:function(){return this.point.value},inside:!0,verticalAlign:"middle",crop:!1,overflow:!1,padding:0},marker:{symbol:"rect",radius:0,lineColor:void 0,states:{hover:{lineWidthPlus:0},select:{}}},clip:!0,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}<br/>"},states:{hover:{halo:!1,brightness:.2}}},u(n,{pointArrayMap:["y","value"],
94
+ hasPointSpecificOptions:!0,getExtremesFromAll:!0,directTouch:!0,init:function(){x.prototype.init.apply(this,arguments);var a=this.options;a.pointRange=E(a.pointRange,a.colsize||1);this.yAxis.axisPointRange=a.rowsize||1;m(C,{ellipse:C.circle,rect:C.square})},getSymbol:x.prototype.getSymbol,setClip:function(a){var e=this.chart;x.prototype.setClip.apply(this,arguments);(!1!==this.options.clip||a)&&this.markerGroup.clip((a||this.clipBox)&&this.sharedClipKey?e[this.sharedClipKey]:e.clipRect)},translate:function(){var a=
95
+ this.options,e=a.marker&&a.marker.symbol||"",b=C[e]?e:"rect";a=this.options;var c=-1!==["circle","square"].indexOf(b);this.generatePoints();this.points.forEach(function(a){var d=a.getCellAttributes(),g={x:Math.min(d.x1,d.x2),y:Math.min(d.y1,d.y2),width:Math.max(Math.abs(d.x2-d.x1),0),height:Math.max(Math.abs(d.y2-d.y1),0)};var f=a.hasImage=0===(a.marker&&a.marker.symbol||e||"").indexOf("url");if(c){var k=Math.abs(g.width-g.height);g.x=Math.min(d.x1,d.x2)+(g.width<g.height?0:k/2);g.y=Math.min(d.y1,
96
+ d.y2)+(g.width<g.height?k/2:0);g.width=g.height=Math.min(g.width,g.height)}k={plotX:(d.x1+d.x2)/2,plotY:(d.y1+d.y2)/2,clientX:(d.x1+d.x2)/2,shapeType:"path",shapeArgs:u(!0,g,{d:C[b](g.x,g.y,g.width,g.height)})};f&&(a.marker={width:g.width,height:g.height});m(a,k)});k(this,"afterTranslate")},pointAttribs:function(a,e){var b=x.prototype.pointAttribs.call(this,a,e),c=this.options||{},d=this.chart.options.plotOptions||{},g=d.series||{},k=d.heatmap||{};d=c.borderColor||k.borderColor||g.borderColor;g=c.borderWidth||
97
+ k.borderWidth||g.borderWidth||b["stroke-width"];b.stroke=a&&a.marker&&a.marker.lineColor||c.marker&&c.marker.lineColor||d||this.color;b["stroke-width"]=g;e&&(a=u(c.states[e],c.marker&&c.marker.states[e],a.options.states&&a.options.states[e]||{}),e=a.brightness,b.fill=a.color||h.color(b.fill).brighten(e||0).get(),b.stroke=a.lineColor);return b},markerAttribs:function(a,e){var b=a.marker||{},c=this.options.marker||{},d=a.shapeArgs||{},g={};if(a.hasImage)return{x:a.plotX,y:a.plotY};if(e){var k=c.states[e]||
98
+ {};var f=b.states&&b.states[e]||{};[["width","x"],["height","y"]].forEach(function(a){g[a[0]]=(f[a[0]]||k[a[0]]||d[a[0]])+(f[a[0]+"Plus"]||k[a[0]+"Plus"]||0);g[a[1]]=d[a[1]]+(d[a[0]]-g[a[0]])/2})}return e?g:d},drawPoints:function(){var a=this;if((this.options.marker||{}).enabled||this._hasPointMarkers)x.prototype.drawPoints.call(this),this.points.forEach(function(e){e.graphic&&e.graphic[a.chart.styledMode?"css":"animate"](a.colorAttribs(e))})},hasData:function(){return!!this.processedXData.length},
99
+ getValidPoints:function(a,e){return x.prototype.getValidPoints.call(this,a,e,!0)},getBox:y,drawLegendSymbol:q.drawRectangle,alignDataLabel:r.column.prototype.alignDataLabel,getExtremes:function(){var a=x.prototype.getExtremes.call(this,this.valueData),e=a.dataMin;a=a.dataMax;p(e)&&(this.valueMin=e);p(a)&&(this.valueMax=a);return x.prototype.getExtremes.call(this)}}),u(w,{applyOptions:function(a,e){a=h.Point.prototype.applyOptions.call(this,a,e);a.formatPrefix=a.isNull||null===a.value?"null":"point";
100
+ return a},isValid:function(){return Infinity!==this.value&&-Infinity!==this.value},haloPath:function(a){if(!a)return[];var e=this.shapeArgs;return["M",e.x-a,e.y-a,"L",e.x-a,e.y+e.height+a,e.x+e.width+a,e.y+e.height+a,e.x+e.width+a,e.y-a,"Z"]},getCellAttributes:function(){var a=this.series,e=a.options,b=(e.colsize||1)/2,c=(e.rowsize||1)/2,d=a.xAxis,k=a.yAxis,h=this.options.marker||a.options.marker;a=a.pointPlacementToXValue();var f=E(this.pointPadding,e.pointPadding,0),l={x1:A(Math.round(d.len-(d.translate(this.x-
101
+ b,!1,!0,!1,!0,-a)||0)),-d.len,2*d.len),x2:A(Math.round(d.len-(d.translate(this.x+b,!1,!0,!1,!0,-a)||0)),-d.len,2*d.len),y1:A(Math.round(k.translate(this.y-c,!1,!0,!1,!0)||0),-k.len,2*k.len),y2:A(Math.round(k.translate(this.y+c,!1,!0,!1,!0)||0),-k.len,2*k.len)};[["width","x"],["height","y"]].forEach(function(a){var b=a[0];a=a[1];var d=a+"1",e=a+"2",c=Math.abs(l[d]-l[e]),k=h&&h.lineWidth||0,g=Math.abs(l[d]+l[e])/2;h[b]&&h[b]<c&&(l[d]=g-h[b]/2-k/2,l[e]=g+h[b]/2+k/2);f&&("y"===a&&(d=e,e=a+"1"),l[d]+=
102
+ f,l[e]-=f)});return l}}));""});B(a,"Extensions/GeoJSON.js",[a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,n,h){function q(a,c){var k,h=!1,m=a.x,n=a.y;a=0;for(k=c.length-1;a<c.length;k=a++){var q=c[a][1]>n;var g=c[k][1]>n;q!==g&&m<(c[k][0]-c[a][0])*(n-c[a][1])/(c[k][1]-c[a][1])+c[a][0]&&(h=!h)}return h}var c=n.win,r=h.error,w=h.extend,y=h.format,A=h.merge;h=h.wrap;"";a.prototype.transformFromLatLon=function(a,k){var h,m=(null===(h=this.userOptions.chart)||void 0===
103
+ h?void 0:h.proj4)||c.proj4;if(!m)return r(21,!1,this),{x:0,y:null};a=m(k.crs,[a.lon,a.lat]);h=k.cosAngle||k.rotation&&Math.cos(k.rotation);m=k.sinAngle||k.rotation&&Math.sin(k.rotation);a=k.rotation?[a[0]*h+a[1]*m,-a[0]*m+a[1]*h]:a;return{x:((a[0]-(k.xoffset||0))*(k.scale||1)+(k.xpan||0))*(k.jsonres||1)+(k.jsonmarginX||0),y:(((k.yoffset||0)-a[1])*(k.scale||1)+(k.ypan||0))*(k.jsonres||1)-(k.jsonmarginY||0)}};a.prototype.transformToLatLon=function(a,k){if("undefined"===typeof c.proj4)r(21,!1,this);
104
+ else{a={x:((a.x-(k.jsonmarginX||0))/(k.jsonres||1)-(k.xpan||0))/(k.scale||1)+(k.xoffset||0),y:((-a.y-(k.jsonmarginY||0))/(k.jsonres||1)+(k.ypan||0))/(k.scale||1)+(k.yoffset||0)};var h=k.cosAngle||k.rotation&&Math.cos(k.rotation),m=k.sinAngle||k.rotation&&Math.sin(k.rotation);k=c.proj4(k.crs,"WGS84",k.rotation?{x:a.x*h+a.y*-m,y:a.x*m+a.y*h}:a);return{lat:k.y,lon:k.x}}};a.prototype.fromPointToLatLon=function(a){var c=this.mapTransforms,h;if(c){for(h in c)if(Object.hasOwnProperty.call(c,h)&&c[h].hitZone&&
105
+ q({x:a.x,y:-a.y},c[h].hitZone.coordinates[0]))return this.transformToLatLon(a,c[h]);return this.transformToLatLon(a,c["default"])}r(22,!1,this)};a.prototype.fromLatLonToPoint=function(a){var c=this.mapTransforms,h;if(!c)return r(22,!1,this),{x:0,y:null};for(h in c)if(Object.hasOwnProperty.call(c,h)&&c[h].hitZone){var m=this.transformFromLatLon(a,c[h]);if(q({x:m.x,y:-m.y},c[h].hitZone.coordinates[0]))return m}return this.transformFromLatLon(a,c["default"])};n.geojson=function(a,c,h){var k=[],m=[],
106
+ n=function(a){a.forEach(function(a,c){0===c?m.push(["M",a[0],-a[1]]):m.push(["L",a[0],-a[1]])})};c=c||"map";a.features.forEach(function(a){var g=a.geometry,e=g.type;g=g.coordinates;a=a.properties;var b;m=[];"map"===c||"mapbubble"===c?("Polygon"===e?(g.forEach(n),m.push(["Z"])):"MultiPolygon"===e&&(g.forEach(function(a){a.forEach(n)}),m.push(["Z"])),m.length&&(b={path:m})):"mapline"===c?("LineString"===e?n(g):"MultiLineString"===e&&g.forEach(n),m.length&&(b={path:m})):"mappoint"===c&&"Point"===e&&
107
+ (b={x:g[0],y:-g[1]});b&&k.push(w(b,{name:a.name||a.NAME,properties:a}))});h&&a.copyrightShort&&(h.chart.mapCredits=y(h.chart.options.credits.mapText,{geojson:a}),h.chart.mapCreditsFull=y(h.chart.options.credits.mapTextFull,{geojson:a}));return k};h(a.prototype,"addCredits",function(a,c){c=A(!0,this.options.credits,c);this.mapCredits&&(c.href=null);a.call(this,c);this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})})});B(a,"masters/modules/map.src.js",[],function(){})});
108
108
  //# sourceMappingURL=map.js.map