highcharts 9.3.1 → 9.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (752) hide show
  1. package/bower.json +1 -1
  2. package/css/annotations/popup.css +1 -1
  3. package/css/highcharts.css +2 -2
  4. package/css/highcharts.scss +1 -1
  5. package/css/stocktools/gui.css +1 -1
  6. package/css/themes/dark-unica.css +2 -2
  7. package/css/themes/grid-light.css +2 -2
  8. package/css/themes/sand-signika.css +2 -2
  9. package/es-modules/Accessibility/A11yI18n.js +1 -5
  10. package/es-modules/Accessibility/Accessibility.js +11 -5
  11. package/es-modules/Accessibility/AccessibilityComponent.js +1 -1
  12. package/es-modules/Accessibility/Components/AnnotationsA11y.js +9 -5
  13. package/es-modules/Accessibility/Components/ContainerComponent.js +1 -1
  14. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +8 -19
  15. package/es-modules/Accessibility/Components/LegendComponent.js +176 -86
  16. package/es-modules/Accessibility/Components/MenuComponent.js +1 -10
  17. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +10 -13
  18. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +15 -6
  19. package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +8 -4
  20. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +3 -1
  21. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -41
  22. package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +20 -31
  23. package/es-modules/Accessibility/Components/ZoomComponent.js +135 -57
  24. package/es-modules/Accessibility/FocusBorder.js +0 -5
  25. package/es-modules/Accessibility/HighContrastMode.js +2 -1
  26. package/es-modules/Accessibility/KeyboardNavigation.js +5 -4
  27. package/es-modules/Accessibility/Options/DeprecatedOptions.js +12 -5
  28. package/es-modules/Accessibility/Options/LangOptions.js +3 -3
  29. package/es-modules/Accessibility/ProxyElement.js +12 -6
  30. package/es-modules/Accessibility/ProxyProvider.js +0 -3
  31. package/es-modules/Accessibility/Utils/Announcer.js +2 -2
  32. package/es-modules/Accessibility/Utils/ChartUtilities.js +17 -32
  33. package/es-modules/Accessibility/Utils/HTMLUtilities.js +0 -12
  34. package/es-modules/Core/Animation/Fx.js +5 -14
  35. package/es-modules/Core/Axis/Axis.js +42 -68
  36. package/es-modules/Core/Axis/Axis3D.js +10 -4
  37. package/es-modules/Core/Axis/BrokenAxis.js +17 -11
  38. package/es-modules/Core/Axis/Color/ColorAxis.js +7 -4
  39. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -3
  40. package/es-modules/Core/Axis/DateTimeAxis.js +3 -14
  41. package/es-modules/Core/Axis/GridAxis.js +26 -16
  42. package/es-modules/Core/Axis/NavigatorAxis.js +0 -5
  43. package/es-modules/Core/Axis/OrdinalAxis.js +83 -79
  44. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +0 -5
  45. package/es-modules/Core/Axis/RadialAxis.js +7 -28
  46. package/es-modules/Core/Axis/ScrollbarAxis.js +18 -10
  47. package/es-modules/Core/Axis/StackingAxis.js +2 -1
  48. package/es-modules/Core/Axis/Tick.js +2 -4
  49. package/es-modules/Core/Axis/TreeGridAxis.js +26 -17
  50. package/es-modules/Core/Axis/TreeGridTick.js +4 -1
  51. package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
  52. package/es-modules/Core/Axis/ZAxis.js +1 -1
  53. package/es-modules/Core/Chart/Chart.js +42 -44
  54. package/es-modules/Core/Chart/Chart3D.js +23 -10
  55. package/es-modules/Core/Chart/GanttChart.js +4 -4
  56. package/es-modules/Core/Chart/MapChart.js +3 -3
  57. package/es-modules/Core/Chart/StockChart.js +10 -23
  58. package/es-modules/Core/DefaultOptions.js +3 -2
  59. package/es-modules/Core/Geometry/CircleUtilities.js +2 -1
  60. package/es-modules/Core/Globals.js +1 -1
  61. package/es-modules/Core/HttpUtilities.js +5 -4
  62. package/es-modules/Core/Legend/Legend.js +12 -13
  63. package/es-modules/Core/Navigator.js +34 -22
  64. package/es-modules/Core/Pointer.js +13 -9
  65. package/es-modules/Core/Renderer/HTML/AST.js +27 -14
  66. package/es-modules/Core/Renderer/HTML/HTMLElement.js +4 -2
  67. package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +8 -6
  68. package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
  69. package/es-modules/Core/Renderer/SVG/SVGElement.js +8 -16
  70. package/es-modules/Core/Renderer/SVG/SVGLabel.js +17 -8
  71. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +5 -12
  72. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +12 -5
  73. package/es-modules/Core/Renderer/SVG/TextBuilder.js +16 -10
  74. package/es-modules/Core/Responsive.js +2 -3
  75. package/es-modules/Core/Scrollbar.js +14 -12
  76. package/es-modules/Core/Series/DataLabel.js +17 -12
  77. package/es-modules/Core/Series/Point.js +17 -16
  78. package/es-modules/Core/Series/Series.js +44 -73
  79. package/es-modules/Core/Series/SeriesDefaults.js +5 -4
  80. package/es-modules/Core/Time.js +14 -11
  81. package/es-modules/Core/Tooltip.js +19 -36
  82. package/es-modules/Core/Utilities.js +5 -17
  83. package/es-modules/Data/DataConverter.js +0 -6
  84. package/es-modules/Data/DataSeriesConverter.js +9 -5
  85. package/es-modules/Data/DataTable.js +2 -1
  86. package/es-modules/Data/Modifiers/DataModifier.js +1 -1
  87. package/es-modules/Data/Parsers/CSVParser.js +3 -2
  88. package/es-modules/Data/Parsers/GoogleSheetsParser.js +5 -2
  89. package/es-modules/Data/Stores/CSVStore.js +2 -2
  90. package/es-modules/Data/Stores/DataStore.js +1 -1
  91. package/es-modules/Data/Stores/GoogleSheetsStore.js +3 -1
  92. package/es-modules/Data/Stores/HTMLTableStore.js +3 -1
  93. package/es-modules/Extensions/Annotations/Annotations.js +11 -10
  94. package/es-modules/Extensions/Annotations/ControlPoint.js +0 -2
  95. package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +1 -1
  96. package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +1 -1
  97. package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +1 -1
  98. package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +3 -6
  99. package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +3 -2
  100. package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +1 -1
  101. package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +6 -3
  102. package/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +0 -1
  103. package/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +5 -4
  104. package/es-modules/Extensions/Annotations/NavigationBindings.js +34 -29
  105. package/es-modules/Extensions/Annotations/Popup.js +40 -32
  106. package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -2
  107. package/es-modules/Extensions/Annotations/Types/ElliottWave.js +1 -1
  108. package/es-modules/Extensions/Annotations/Types/Measure.js +15 -11
  109. package/es-modules/Extensions/Annotations/Types/Pitchfork.js +2 -1
  110. package/es-modules/Extensions/Annotations/Types/TimeCycles.js +8 -4
  111. package/es-modules/Extensions/Annotations/Types/Tunnel.js +10 -5
  112. package/es-modules/Extensions/Boost/BoostOverrides.js +3 -9
  113. package/es-modules/Extensions/Boost/BoostUtils.js +0 -6
  114. package/es-modules/Extensions/Boost/WGLRenderer.js +16 -12
  115. package/es-modules/Extensions/Boost/WGLShader.js +9 -8
  116. package/es-modules/Extensions/Boost/WGLVBuffer.js +4 -7
  117. package/es-modules/Extensions/Data.js +4 -48
  118. package/es-modules/Extensions/DataGrouping.js +22 -15
  119. package/es-modules/Extensions/DraggablePoints.js +7 -8
  120. package/es-modules/Extensions/Drilldown.js +9 -4
  121. package/es-modules/Extensions/ExportData.js +6 -5
  122. package/es-modules/Extensions/Exporting/Exporting.js +23 -37
  123. package/es-modules/Extensions/FullScreen.js +4 -3
  124. package/es-modules/Extensions/GeoJSON.js +3 -3
  125. package/es-modules/Extensions/MarkerClusters.js +3 -1
  126. package/es-modules/Extensions/Math3D.js +4 -4
  127. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +23 -24
  128. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  129. package/es-modules/Extensions/Oldie/Oldie.js +13 -77
  130. package/es-modules/Extensions/Oldie/VMLAxis3D.js +5 -1
  131. package/es-modules/Extensions/OverlappingDataLabels.js +10 -6
  132. package/es-modules/Extensions/Pane.js +6 -6
  133. package/es-modules/Extensions/ParallelCoordinates.js +5 -3
  134. package/es-modules/Extensions/PatternFill.js +17 -11
  135. package/es-modules/Extensions/Polar.js +6 -3
  136. package/es-modules/Extensions/PriceIndication.js +2 -1
  137. package/es-modules/Extensions/RangeSelector.js +19 -55
  138. package/es-modules/Extensions/ScrollablePlotArea.js +2 -2
  139. package/es-modules/Extensions/SeriesLabel.js +1 -1
  140. package/es-modules/Extensions/Sonification/ChartSonify.js +32 -26
  141. package/es-modules/Extensions/Sonification/Instrument.js +12 -15
  142. package/es-modules/Extensions/Sonification/PointSonify.js +12 -8
  143. package/es-modules/Extensions/Sonification/SeriesSonify.js +33 -18
  144. package/es-modules/Extensions/Sonification/SignalHandler.js +4 -6
  145. package/es-modules/Extensions/Sonification/Sonification.js +1 -1
  146. package/es-modules/Extensions/Sonification/SonificationUtilities.js +11 -7
  147. package/es-modules/Extensions/Sonification/Timeline.js +2 -7
  148. package/es-modules/Extensions/Sonification/TimelineEvent.js +0 -1
  149. package/es-modules/Extensions/Sonification/TimelinePath.js +8 -8
  150. package/es-modules/Extensions/Stacking.js +5 -23
  151. package/es-modules/Extensions/Themes/BrandDark.js +293 -0
  152. package/es-modules/Extensions/Themes/BrandLight.js +259 -0
  153. package/es-modules/Extensions/Themes/DarkUnica.js +4 -2
  154. package/es-modules/Extensions/Themes/Grid.js +4 -2
  155. package/es-modules/Extensions/Themes/GridLight.js +4 -2
  156. package/es-modules/Gantt/Connection.js +2 -2
  157. package/es-modules/Gantt/Pathfinder.js +6 -5
  158. package/es-modules/Gantt/PathfinderAlgorithms.js +12 -12
  159. package/es-modules/Maps/MapNavigation.js +6 -7
  160. package/es-modules/Maps/MapPointer.js +2 -1
  161. package/es-modules/Maps/MapSymbols.js +23 -3
  162. package/es-modules/Maps/MapViewOptionsDefault.js +1 -1
  163. package/es-modules/Series/Area/AreaSeries.js +13 -13
  164. package/es-modules/Series/Area3DSeries.js +4 -2
  165. package/es-modules/Series/AreaRange/AreaRangeSeries.js +24 -12
  166. package/es-modules/Series/Bellcurve/BellcurveSeries.js +2 -1
  167. package/es-modules/Series/Bubble/BubbleLegendItem.js +2 -12
  168. package/es-modules/Series/Candlestick/CandlestickSeries.js +0 -1
  169. package/es-modules/Series/ColorMapMixin.js +84 -0
  170. package/es-modules/Series/Column/ColumnSeries.js +16 -14
  171. package/es-modules/Series/Column3D/Column3DComposition.js +1 -2
  172. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +5 -2
  173. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
  174. package/es-modules/Series/Cylinder/CylinderComposition.js +36 -4
  175. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +1 -1
  176. package/es-modules/Series/Dumbbell/DumbbellPoint.js +0 -1
  177. package/es-modules/Series/Dumbbell/DumbbellSeries.js +0 -3
  178. package/es-modules/Series/Flags/FlagsSymbols.js +2 -2
  179. package/es-modules/Series/Funnel3D/Funnel3DComposition.js +14 -8
  180. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +2 -1
  181. package/es-modules/Series/Gantt/GanttPoint.js +1 -1
  182. package/es-modules/Series/Gantt/GanttSeries.js +3 -1
  183. package/es-modules/Series/HLC/HLCSeries.js +1 -6
  184. package/es-modules/Series/Heatmap/HeatmapPoint.js +10 -10
  185. package/es-modules/Series/Heatmap/HeatmapSeries.js +9 -10
  186. package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +8 -6
  187. package/es-modules/Series/Histogram/HistogramSeries.js +4 -4
  188. package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +1 -4
  189. package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +19 -20
  190. package/es-modules/Series/Item/ItemSeries.js +4 -5
  191. package/es-modules/Series/Map/MapPoint.js +6 -0
  192. package/es-modules/Series/Map/MapSeries.js +24 -25
  193. package/es-modules/Series/MapLine/MapLineSeries.js +0 -4
  194. package/es-modules/Series/Networkgraph/DraggableNodes.js +0 -4
  195. package/es-modules/Series/Networkgraph/Integrations.js +8 -22
  196. package/es-modules/Series/Networkgraph/Networkgraph.js +1 -5
  197. package/es-modules/Series/Networkgraph/QuadTree.js +1 -3
  198. package/es-modules/Series/NodesComposition.js +2 -1
  199. package/es-modules/Series/OHLC/OHLCPoint.js +0 -1
  200. package/es-modules/Series/OHLC/OHLCSeries.js +1 -1
  201. package/es-modules/Series/Organization/OrganizationSeries.js +4 -2
  202. package/es-modules/Series/PackedBubble/PackedBubbleComposition.js +1 -0
  203. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
  204. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +2 -4
  205. package/es-modules/Series/Pie/PiePoint.js +2 -2
  206. package/es-modules/Series/Pie/PieSeries.js +1 -1
  207. package/es-modules/Series/Pie3D/Pie3DComposition.js +2 -1
  208. package/es-modules/Series/Pie3D/Pie3DPoint.js +2 -1
  209. package/es-modules/Series/Pie3D/Pie3DSeries.js +1 -1
  210. package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +2 -1
  211. package/es-modules/Series/Sankey/SankeySeries.js +3 -2
  212. package/es-modules/Series/SolidGauge/SolidGaugeComposition.js +3 -1
  213. package/es-modules/Series/Spline/SplineSeries.js +0 -8
  214. package/es-modules/Series/Sunburst/SunburstSeries.js +2 -2
  215. package/es-modules/Series/Sunburst/SunburstUtilities.js +3 -2
  216. package/es-modules/Series/Tilemap/TilemapPoint.js +0 -2
  217. package/es-modules/Series/Tilemap/TilemapShapes.js +0 -7
  218. package/es-modules/Series/TreeUtilities.js +2 -2
  219. package/es-modules/Series/Treemap/TreemapSeries.js +18 -21
  220. package/es-modules/Series/Variwide/VariwideSeries.js +5 -1
  221. package/es-modules/Series/Venn/VennSeries.js +6 -9
  222. package/es-modules/Series/Venn/VennUtils.js +8 -7
  223. package/es-modules/Series/Waterfall/WaterfallSeries.js +6 -3
  224. package/es-modules/Series/Wordcloud/WordcloudSeries.js +2 -2
  225. package/es-modules/Series/Wordcloud/WordcloudUtils.js +6 -10
  226. package/es-modules/Series/XRange/XRangePoint.js +6 -12
  227. package/es-modules/Series/XRange/XRangeSeries.js +4 -20
  228. package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +12 -0
  229. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -0
  230. package/es-modules/Stock/Indicators/BB/BBIndicator.js +12 -0
  231. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +35 -15
  232. package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +9 -5
  233. package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +2 -1
  234. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +6 -6
  235. package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +12 -0
  236. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +8 -3
  237. package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +30 -12
  238. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -1
  239. package/es-modules/Stock/Indicators/MultipleLinesComposition.js +70 -6
  240. package/es-modules/Stock/Indicators/PC/PCIndicator.js +11 -0
  241. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +2 -1
  242. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +2 -1
  243. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -3
  244. package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -1
  245. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -3
  246. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +19 -7
  247. package/es-modules/Stock/StockToolsBindings.js +13 -6
  248. package/es-modules/Stock/StockToolsGui.js +34 -23
  249. package/es-modules/masters/highcharts-3d.src.js +1 -1
  250. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  251. package/es-modules/masters/highcharts-more.src.js +1 -1
  252. package/es-modules/masters/highcharts.src.js +1 -1
  253. package/es-modules/masters/highmaps.src.js +1 -1
  254. package/es-modules/masters/highstock.src.js +1 -1
  255. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  256. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  257. package/es-modules/masters/indicators/ao.src.js +1 -1
  258. package/es-modules/masters/indicators/apo.src.js +1 -1
  259. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  260. package/es-modules/masters/indicators/aroon.src.js +1 -1
  261. package/es-modules/masters/indicators/atr.src.js +1 -1
  262. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  263. package/es-modules/masters/indicators/cci.src.js +1 -1
  264. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  265. package/es-modules/masters/indicators/cmf.src.js +1 -1
  266. package/es-modules/masters/indicators/cmo.src.js +1 -1
  267. package/es-modules/masters/indicators/dema.src.js +1 -1
  268. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  269. package/es-modules/masters/indicators/dmi.src.js +1 -1
  270. package/es-modules/masters/indicators/dpo.src.js +1 -1
  271. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  272. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  273. package/es-modules/masters/indicators/indicators.src.js +1 -1
  274. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  275. package/es-modules/masters/indicators/klinger.src.js +1 -1
  276. package/es-modules/masters/indicators/macd.src.js +1 -1
  277. package/es-modules/masters/indicators/mfi.src.js +1 -1
  278. package/es-modules/masters/indicators/momentum.src.js +1 -1
  279. package/es-modules/masters/indicators/natr.src.js +1 -1
  280. package/es-modules/masters/indicators/obv.src.js +1 -1
  281. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  282. package/es-modules/masters/indicators/ppo.src.js +1 -1
  283. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  284. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  285. package/es-modules/masters/indicators/psar.src.js +1 -1
  286. package/es-modules/masters/indicators/regressions.src.js +1 -1
  287. package/es-modules/masters/indicators/roc.src.js +1 -1
  288. package/es-modules/masters/indicators/rsi.src.js +1 -1
  289. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  290. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  291. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  292. package/es-modules/masters/indicators/tema.src.js +1 -1
  293. package/es-modules/masters/indicators/trendline.src.js +1 -1
  294. package/es-modules/masters/indicators/trix.src.js +1 -1
  295. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  296. package/es-modules/masters/indicators/vwap.src.js +1 -1
  297. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  298. package/es-modules/masters/indicators/wma.src.js +1 -1
  299. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  300. package/es-modules/masters/modules/accessibility.src.js +2 -2
  301. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  302. package/es-modules/masters/modules/annotations.src.js +1 -1
  303. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  304. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  305. package/es-modules/masters/modules/boost.src.js +1 -1
  306. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  307. package/es-modules/masters/modules/bullet.src.js +1 -1
  308. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  309. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  310. package/es-modules/masters/modules/cylinder.src.js +1 -1
  311. package/es-modules/masters/modules/data.src.js +1 -1
  312. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  313. package/es-modules/masters/modules/debugger.src.js +1 -1
  314. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  315. package/es-modules/masters/modules/dotplot.src.js +1 -1
  316. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  317. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  318. package/es-modules/masters/modules/drilldown.src.js +1 -1
  319. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  320. package/es-modules/masters/modules/export-data.src.js +1 -1
  321. package/es-modules/masters/modules/exporting.src.js +1 -1
  322. package/es-modules/masters/modules/full-screen.src.js +1 -1
  323. package/es-modules/masters/modules/funnel.src.js +1 -1
  324. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  325. package/es-modules/masters/modules/gantt.src.js +1 -1
  326. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  327. package/es-modules/masters/modules/heatmap.src.js +1 -1
  328. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  329. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  330. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  331. package/es-modules/masters/modules/item-series.src.js +1 -1
  332. package/es-modules/masters/modules/lollipop.src.js +1 -1
  333. package/es-modules/masters/modules/map.src.js +1 -1
  334. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  335. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  336. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  337. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  338. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  339. package/es-modules/masters/modules/oldie.src.js +1 -1
  340. package/es-modules/masters/modules/organization.src.js +1 -1
  341. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  342. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  343. package/es-modules/masters/modules/pareto.src.js +1 -1
  344. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  345. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  346. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  347. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  348. package/es-modules/masters/modules/sankey.src.js +1 -1
  349. package/es-modules/masters/modules/series-label.src.js +1 -1
  350. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  351. package/es-modules/masters/modules/sonification.src.js +1 -1
  352. package/es-modules/masters/modules/static-scale.src.js +1 -1
  353. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  354. package/es-modules/masters/modules/stock.src.js +1 -1
  355. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  356. package/es-modules/masters/modules/sunburst.src.js +1 -1
  357. package/es-modules/masters/modules/tilemap.src.js +1 -1
  358. package/es-modules/masters/modules/timeline.src.js +1 -1
  359. package/es-modules/masters/modules/treegrid.src.js +1 -1
  360. package/es-modules/masters/modules/treemap.src.js +1 -1
  361. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  362. package/es-modules/masters/modules/variwide.src.js +1 -1
  363. package/es-modules/masters/modules/vector.src.js +1 -1
  364. package/es-modules/masters/modules/venn.src.js +1 -1
  365. package/es-modules/masters/modules/windbarb.src.js +1 -1
  366. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  367. package/es-modules/masters/modules/xrange.src.js +1 -1
  368. package/es-modules/masters/themes/avocado.src.js +1 -1
  369. package/es-modules/masters/themes/brand-dark.src.js +14 -0
  370. package/es-modules/masters/themes/brand-light.src.js +14 -0
  371. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  372. package/es-modules/masters/themes/dark-green.src.js +1 -1
  373. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  374. package/es-modules/masters/themes/gray.src.js +1 -1
  375. package/es-modules/masters/themes/grid-light.src.js +1 -1
  376. package/es-modules/masters/themes/grid.src.js +1 -1
  377. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  378. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  379. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  380. package/es-modules/masters/themes/skies.src.js +1 -1
  381. package/es-modules/masters/themes/sunset.src.js +1 -1
  382. package/highcharts-3d.js +1 -1
  383. package/highcharts-3d.js.map +1 -1
  384. package/highcharts-3d.src.js +65 -35
  385. package/highcharts-gantt.js +799 -799
  386. package/highcharts-gantt.js.map +1 -1
  387. package/highcharts-gantt.src.js +589 -698
  388. package/highcharts-more.js +1 -1
  389. package/highcharts-more.js.map +1 -1
  390. package/highcharts-more.src.js +73 -103
  391. package/highcharts.d.ts +5586 -1709
  392. package/highcharts.js +577 -577
  393. package/highcharts.js.map +1 -1
  394. package/highcharts.src.d.ts +5586 -1709
  395. package/highcharts.src.js +391 -486
  396. package/highmaps.js +723 -723
  397. package/highmaps.js.map +1 -1
  398. package/highmaps.src.js +552 -656
  399. package/highstock.js +782 -782
  400. package/highstock.js.map +1 -1
  401. package/highstock.src.js +612 -731
  402. package/indicators/acceleration-bands.d.ts +17 -1
  403. package/indicators/acceleration-bands.js +11 -10
  404. package/indicators/acceleration-bands.js.map +1 -1
  405. package/indicators/acceleration-bands.src.d.ts +17 -1
  406. package/indicators/acceleration-bands.src.js +88 -6
  407. package/indicators/accumulation-distribution.js +1 -1
  408. package/indicators/accumulation-distribution.src.js +1 -1
  409. package/indicators/ao.js +1 -1
  410. package/indicators/ao.src.js +1 -1
  411. package/indicators/apo.js +1 -1
  412. package/indicators/apo.src.js +1 -1
  413. package/indicators/aroon-oscillator.d.ts +17 -1
  414. package/indicators/aroon-oscillator.js +10 -9
  415. package/indicators/aroon-oscillator.js.map +1 -1
  416. package/indicators/aroon-oscillator.src.d.ts +17 -1
  417. package/indicators/aroon-oscillator.src.js +76 -6
  418. package/indicators/aroon.d.ts +17 -1
  419. package/indicators/aroon.js +11 -9
  420. package/indicators/aroon.js.map +1 -1
  421. package/indicators/aroon.src.d.ts +17 -1
  422. package/indicators/aroon.src.js +77 -6
  423. package/indicators/atr.js +1 -1
  424. package/indicators/atr.src.js +1 -1
  425. package/indicators/bollinger-bands.d.ts +17 -1
  426. package/indicators/bollinger-bands.js +12 -10
  427. package/indicators/bollinger-bands.js.map +1 -1
  428. package/indicators/bollinger-bands.src.d.ts +17 -1
  429. package/indicators/bollinger-bands.src.js +88 -6
  430. package/indicators/cci.js +1 -1
  431. package/indicators/cci.src.js +1 -1
  432. package/indicators/chaikin.js +1 -1
  433. package/indicators/chaikin.src.js +1 -1
  434. package/indicators/cmf.js +1 -1
  435. package/indicators/cmf.js.map +1 -1
  436. package/indicators/cmf.src.js +36 -16
  437. package/indicators/cmo.js +1 -1
  438. package/indicators/cmo.src.js +1 -1
  439. package/indicators/dema.js +1 -1
  440. package/indicators/dema.src.js +1 -1
  441. package/indicators/disparity-index.js +1 -1
  442. package/indicators/disparity-index.js.map +1 -1
  443. package/indicators/disparity-index.src.js +3 -2
  444. package/indicators/dmi.js +12 -11
  445. package/indicators/dmi.js.map +1 -1
  446. package/indicators/dmi.src.js +85 -11
  447. package/indicators/dpo.js +1 -1
  448. package/indicators/dpo.src.js +1 -1
  449. package/indicators/ichimoku-kinko-hyo.js +1 -1
  450. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  451. package/indicators/ichimoku-kinko-hyo.src.js +7 -7
  452. package/indicators/indicators-all.d.ts +17 -1
  453. package/indicators/indicators-all.js +198 -197
  454. package/indicators/indicators-all.js.map +1 -1
  455. package/indicators/indicators-all.src.d.ts +17 -1
  456. package/indicators/indicators-all.src.js +246 -65
  457. package/indicators/indicators.js +1 -1
  458. package/indicators/indicators.js.map +1 -1
  459. package/indicators/indicators.src.js +3 -4
  460. package/indicators/keltner-channels.d.ts +17 -1
  461. package/indicators/keltner-channels.js +11 -10
  462. package/indicators/keltner-channels.js.map +1 -1
  463. package/indicators/keltner-channels.src.d.ts +17 -1
  464. package/indicators/keltner-channels.src.js +88 -6
  465. package/indicators/klinger.js +14 -12
  466. package/indicators/klinger.js.map +1 -1
  467. package/indicators/klinger.src.js +84 -9
  468. package/indicators/macd.js +1 -1
  469. package/indicators/macd.js.map +1 -1
  470. package/indicators/macd.src.js +2 -2
  471. package/indicators/mfi.js +1 -1
  472. package/indicators/mfi.src.js +1 -1
  473. package/indicators/momentum.js +1 -1
  474. package/indicators/momentum.src.js +1 -1
  475. package/indicators/natr.js +1 -1
  476. package/indicators/natr.src.js +1 -1
  477. package/indicators/obv.js +1 -1
  478. package/indicators/obv.src.js +1 -1
  479. package/indicators/pivot-points.js +1 -1
  480. package/indicators/pivot-points.js.map +1 -1
  481. package/indicators/pivot-points.src.js +3 -2
  482. package/indicators/ppo.js +1 -1
  483. package/indicators/ppo.src.js +1 -1
  484. package/indicators/price-channel.d.ts +17 -1
  485. package/indicators/price-channel.js +11 -9
  486. package/indicators/price-channel.js.map +1 -1
  487. package/indicators/price-channel.src.d.ts +17 -1
  488. package/indicators/price-channel.src.js +87 -6
  489. package/indicators/price-envelopes.js +1 -1
  490. package/indicators/price-envelopes.src.js +1 -1
  491. package/indicators/psar.js +1 -1
  492. package/indicators/psar.src.js +1 -1
  493. package/indicators/regressions.js +1 -1
  494. package/indicators/regressions.js.map +1 -1
  495. package/indicators/regressions.src.js +31 -13
  496. package/indicators/roc.js +1 -1
  497. package/indicators/roc.src.js +1 -1
  498. package/indicators/rsi.js +1 -1
  499. package/indicators/rsi.js.map +1 -1
  500. package/indicators/rsi.src.js +3 -2
  501. package/indicators/slow-stochastic.js +1 -1
  502. package/indicators/slow-stochastic.src.js +1 -1
  503. package/indicators/stochastic.d.ts +17 -1
  504. package/indicators/stochastic.js +12 -10
  505. package/indicators/stochastic.js.map +1 -1
  506. package/indicators/stochastic.src.d.ts +17 -1
  507. package/indicators/stochastic.src.js +79 -7
  508. package/indicators/supertrend.js +1 -1
  509. package/indicators/supertrend.src.js +1 -1
  510. package/indicators/tema.js +1 -1
  511. package/indicators/tema.src.js +1 -1
  512. package/indicators/trendline.js +1 -1
  513. package/indicators/trendline.src.js +1 -1
  514. package/indicators/trix.js +1 -1
  515. package/indicators/trix.src.js +1 -1
  516. package/indicators/volume-by-price.js +1 -1
  517. package/indicators/volume-by-price.src.js +4 -4
  518. package/indicators/vwap.js +1 -1
  519. package/indicators/vwap.js.map +1 -1
  520. package/indicators/vwap.src.js +20 -8
  521. package/indicators/williams-r.js +1 -1
  522. package/indicators/williams-r.src.js +1 -1
  523. package/indicators/wma.js +1 -1
  524. package/indicators/wma.src.js +1 -1
  525. package/indicators/zigzag.js +1 -1
  526. package/indicators/zigzag.src.js +1 -1
  527. package/modules/accessibility.d.ts +0 -35
  528. package/modules/accessibility.js +225 -222
  529. package/modules/accessibility.js.map +1 -1
  530. package/modules/accessibility.src.d.ts +0 -35
  531. package/modules/accessibility.src.js +503 -418
  532. package/modules/annotations-advanced.js +128 -128
  533. package/modules/annotations-advanced.js.map +1 -1
  534. package/modules/annotations-advanced.src.js +152 -124
  535. package/modules/annotations.js +122 -122
  536. package/modules/annotations.js.map +1 -1
  537. package/modules/annotations.src.js +112 -100
  538. package/modules/arrow-symbols.js +1 -1
  539. package/modules/arrow-symbols.src.js +1 -1
  540. package/modules/boost-canvas.js +1 -1
  541. package/modules/boost-canvas.src.js +1 -1
  542. package/modules/boost.js +1 -1
  543. package/modules/boost.js.map +1 -1
  544. package/modules/boost.src.js +33 -43
  545. package/modules/broken-axis.js +1 -1
  546. package/modules/broken-axis.js.map +1 -1
  547. package/modules/broken-axis.src.js +18 -12
  548. package/modules/bullet.js +1 -1
  549. package/modules/bullet.src.js +1 -1
  550. package/modules/coloraxis.js +1 -1
  551. package/modules/coloraxis.js.map +1 -1
  552. package/modules/coloraxis.src.js +11 -8
  553. package/modules/current-date-indicator.js +1 -1
  554. package/modules/current-date-indicator.src.js +1 -1
  555. package/modules/cylinder.js +1 -1
  556. package/modules/cylinder.js.map +1 -1
  557. package/modules/cylinder.src.js +37 -5
  558. package/modules/data.d.ts +6 -6
  559. package/modules/data.js +31 -31
  560. package/modules/data.js.map +1 -1
  561. package/modules/data.src.d.ts +6 -6
  562. package/modules/data.src.js +10 -53
  563. package/modules/datagrouping.js +2 -2
  564. package/modules/datagrouping.js.map +1 -1
  565. package/modules/datagrouping.src.js +23 -16
  566. package/modules/debugger.js +1 -1
  567. package/modules/debugger.src.js +1 -1
  568. package/modules/dependency-wheel.js +3 -3
  569. package/modules/dependency-wheel.js.map +1 -1
  570. package/modules/dependency-wheel.src.js +2 -2
  571. package/modules/dotplot.js +1 -1
  572. package/modules/dotplot.src.js +1 -1
  573. package/modules/drag-panes.js +1 -1
  574. package/modules/drag-panes.src.js +1 -1
  575. package/modules/draggable-points.js +1 -1
  576. package/modules/draggable-points.js.map +1 -1
  577. package/modules/draggable-points.src.js +8 -9
  578. package/modules/drilldown.js +1 -1
  579. package/modules/drilldown.js.map +1 -1
  580. package/modules/drilldown.src.js +10 -5
  581. package/modules/dumbbell.js +1 -1
  582. package/modules/dumbbell.js.map +1 -1
  583. package/modules/dumbbell.src.js +1 -5
  584. package/modules/export-data.js +19 -19
  585. package/modules/export-data.js.map +1 -1
  586. package/modules/export-data.src.js +7 -6
  587. package/modules/exporting.js +1 -1
  588. package/modules/exporting.js.map +1 -1
  589. package/modules/exporting.src.js +33 -45
  590. package/modules/full-screen.js +1 -1
  591. package/modules/full-screen.js.map +1 -1
  592. package/modules/full-screen.src.js +5 -4
  593. package/modules/funnel.js +1 -1
  594. package/modules/funnel.src.js +1 -1
  595. package/modules/funnel3d.js +1 -1
  596. package/modules/funnel3d.js.map +1 -1
  597. package/modules/funnel3d.src.js +17 -10
  598. package/modules/gantt.js +1 -1
  599. package/modules/gantt.js.map +1 -1
  600. package/modules/gantt.src.js +199 -213
  601. package/modules/grid-axis.js +1 -1
  602. package/modules/grid-axis.js.map +1 -1
  603. package/modules/grid-axis.src.js +27 -19
  604. package/modules/heatmap.js +39 -39
  605. package/modules/heatmap.js.map +1 -1
  606. package/modules/heatmap.src.js +88 -112
  607. package/modules/heikinashi.js +1 -1
  608. package/modules/heikinashi.js.map +1 -1
  609. package/modules/heikinashi.src.js +9 -7
  610. package/modules/histogram-bellcurve.js +1 -1
  611. package/modules/histogram-bellcurve.js.map +1 -1
  612. package/modules/histogram-bellcurve.src.js +7 -6
  613. package/modules/hollowcandlestick.js +1 -1
  614. package/modules/hollowcandlestick.js.map +1 -1
  615. package/modules/hollowcandlestick.src.js +21 -25
  616. package/modules/item-series.js +6 -6
  617. package/modules/item-series.js.map +1 -1
  618. package/modules/item-series.src.js +6 -6
  619. package/modules/lollipop.js +1 -1
  620. package/modules/lollipop.src.js +1 -1
  621. package/modules/map.d.ts +2 -0
  622. package/modules/map.js +144 -144
  623. package/modules/map.js.map +1 -1
  624. package/modules/map.src.d.ts +2 -0
  625. package/modules/map.src.js +162 -171
  626. package/modules/marker-clusters.js +1 -1
  627. package/modules/marker-clusters.js.map +1 -1
  628. package/modules/marker-clusters.src.js +4 -2
  629. package/modules/networkgraph.js +1 -1
  630. package/modules/networkgraph.js.map +1 -1
  631. package/modules/networkgraph.src.js +13 -36
  632. package/modules/no-data-to-display.js +1 -1
  633. package/modules/no-data-to-display.src.js +1 -1
  634. package/modules/offline-exporting.js +18 -18
  635. package/modules/offline-exporting.js.map +1 -1
  636. package/modules/offline-exporting.src.js +27 -32
  637. package/modules/oldie-polyfills.js +1 -1
  638. package/modules/oldie-polyfills.src.js +1 -1
  639. package/modules/oldie.js +2 -2
  640. package/modules/oldie.js.map +1 -1
  641. package/modules/oldie.src.js +19 -79
  642. package/modules/organization.js +1 -1
  643. package/modules/organization.js.map +1 -1
  644. package/modules/organization.src.js +5 -3
  645. package/modules/overlapping-datalabels.js +1 -1
  646. package/modules/overlapping-datalabels.src.js +1 -1
  647. package/modules/parallel-coordinates.js +1 -1
  648. package/modules/parallel-coordinates.js.map +1 -1
  649. package/modules/parallel-coordinates.src.js +6 -4
  650. package/modules/pareto.js +1 -1
  651. package/modules/pareto.src.js +1 -1
  652. package/modules/pathfinder.js +1 -1
  653. package/modules/pathfinder.js.map +1 -1
  654. package/modules/pathfinder.src.js +21 -20
  655. package/modules/pattern-fill.js +1 -1
  656. package/modules/pattern-fill.js.map +1 -1
  657. package/modules/pattern-fill.src.js +18 -12
  658. package/modules/price-indicator.js +1 -1
  659. package/modules/price-indicator.js.map +1 -1
  660. package/modules/price-indicator.src.js +3 -2
  661. package/modules/pyramid3d.js +1 -1
  662. package/modules/pyramid3d.js.map +1 -1
  663. package/modules/pyramid3d.src.js +3 -2
  664. package/modules/sankey.js +1 -1
  665. package/modules/sankey.js.map +1 -1
  666. package/modules/sankey.src.js +8 -6
  667. package/modules/series-label.js +1 -1
  668. package/modules/series-label.js.map +1 -1
  669. package/modules/series-label.src.js +2 -2
  670. package/modules/solid-gauge.js +1 -1
  671. package/modules/solid-gauge.js.map +1 -1
  672. package/modules/solid-gauge.src.js +17 -2
  673. package/modules/sonification.js +53 -53
  674. package/modules/sonification.js.map +1 -1
  675. package/modules/sonification.src.js +121 -103
  676. package/modules/static-scale.js +1 -1
  677. package/modules/static-scale.src.js +1 -1
  678. package/modules/stock-tools.js +66 -66
  679. package/modules/stock-tools.js.map +1 -1
  680. package/modules/stock-tools.src.js +119 -96
  681. package/modules/stock.js +3 -3
  682. package/modules/stock.js.map +1 -1
  683. package/modules/stock.src.js +222 -246
  684. package/modules/streamgraph.js +1 -1
  685. package/modules/streamgraph.src.js +1 -1
  686. package/modules/sunburst.js +60 -61
  687. package/modules/sunburst.js.map +1 -1
  688. package/modules/sunburst.src.js +83 -113
  689. package/modules/tilemap.js +1 -1
  690. package/modules/tilemap.js.map +1 -1
  691. package/modules/tilemap.src.js +1 -10
  692. package/modules/timeline.js +1 -1
  693. package/modules/timeline.src.js +1 -1
  694. package/modules/treegrid.js +1 -1
  695. package/modules/treegrid.js.map +1 -1
  696. package/modules/treegrid.src.js +76 -50
  697. package/modules/treemap.js +41 -41
  698. package/modules/treemap.js.map +1 -1
  699. package/modules/treemap.src.js +78 -109
  700. package/modules/variable-pie.js +1 -1
  701. package/modules/variable-pie.src.js +1 -1
  702. package/modules/variwide.js +1 -1
  703. package/modules/variwide.js.map +1 -1
  704. package/modules/variwide.src.js +7 -3
  705. package/modules/vector.js +1 -1
  706. package/modules/vector.src.js +1 -1
  707. package/modules/venn.js +1 -1
  708. package/modules/venn.js.map +1 -1
  709. package/modules/venn.src.js +17 -18
  710. package/modules/windbarb.js +1 -1
  711. package/modules/windbarb.src.js +1 -1
  712. package/modules/wordcloud.js +1 -1
  713. package/modules/wordcloud.js.map +1 -1
  714. package/modules/wordcloud.src.js +9 -13
  715. package/modules/xrange.js +1 -1
  716. package/modules/xrange.js.map +1 -1
  717. package/modules/xrange.src.js +11 -33
  718. package/package.json +1 -1
  719. package/themes/avocado.js +1 -1
  720. package/themes/avocado.src.js +1 -1
  721. package/themes/brand-dark.js +15 -0
  722. package/themes/brand-dark.js.map +1 -0
  723. package/themes/brand-dark.src.js +328 -0
  724. package/themes/brand-light.js +15 -0
  725. package/themes/brand-light.js.map +1 -0
  726. package/themes/brand-light.src.js +294 -0
  727. package/themes/dark-blue.js +1 -1
  728. package/themes/dark-blue.src.js +1 -1
  729. package/themes/dark-green.js +1 -1
  730. package/themes/dark-green.src.js +1 -1
  731. package/themes/dark-unica.js +1 -1
  732. package/themes/dark-unica.js.map +1 -1
  733. package/themes/dark-unica.src.js +5 -3
  734. package/themes/gray.js +1 -1
  735. package/themes/gray.src.js +1 -1
  736. package/themes/grid-light.js +1 -1
  737. package/themes/grid-light.js.map +1 -1
  738. package/themes/grid-light.src.js +5 -3
  739. package/themes/grid.js +1 -1
  740. package/themes/grid.js.map +1 -1
  741. package/themes/grid.src.js +5 -3
  742. package/themes/high-contrast-dark.js +1 -1
  743. package/themes/high-contrast-dark.src.js +1 -1
  744. package/themes/high-contrast-light.js +1 -1
  745. package/themes/high-contrast-light.src.js +1 -1
  746. package/themes/sand-signika.js +1 -1
  747. package/themes/sand-signika.src.js +1 -1
  748. package/themes/skies.js +1 -1
  749. package/themes/skies.src.js +1 -1
  750. package/themes/sunset.js +1 -1
  751. package/themes/sunset.src.js +1 -1
  752. package/es-modules/Series/ColorMapComposition.js +0 -109
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts Gantt JS v9.3.1 (2021-11-05)
2
+ * @license Highcharts Gantt JS v9.3.2 (2021-11-29)
3
3
  *
4
4
  * Tree Grid
5
5
  *
@@ -211,8 +211,11 @@
211
211
  (threshold > brk.from && y < brk.from)) {
212
212
  eventName = 'pointBreak';
213
213
  }
214
- else if ((threshold < brk.from && y > brk.from && y < brk.to) ||
215
- (threshold > brk.from && y > brk.to && y < brk.from)) {
214
+ else if ((threshold < brk.from &&
215
+ y > brk.from &&
216
+ y < brk.to) || (threshold > brk.from &&
217
+ y > brk.to &&
218
+ y < brk.from)) {
216
219
  eventName = 'pointInBreak';
217
220
  }
218
221
  if (eventName) {
@@ -331,12 +334,9 @@
331
334
  isNull: true,
332
335
  x: xRange
333
336
  });
334
- // For stacked chart generate empty stack items,
335
- // #6546
337
+ // For stacked chart generate empty stack items, #6546
336
338
  if (yAxis.stacking && this.options.stacking) {
337
- stack = yAxis.stacking.stacks[this.stackKey][xRange] =
338
- new StackItem(yAxis, yAxis.options
339
- .stackLabels, false, xRange, this.stack);
339
+ stack = yAxis.stacking.stacks[this.stackKey][xRange] = new StackItem(yAxis, yAxis.options.stackLabels, false, xRange, this.stack);
340
340
  stack.total = 0;
341
341
  }
342
342
  }
@@ -573,10 +573,12 @@
573
573
  repeat_1 = brk.repeat || Infinity;
574
574
  if (isNumber(min_1) && isNumber(max_1)) {
575
575
  if (Additions.isInBreak(brk, min_1)) {
576
- min_1 += (brk.to % repeat_1) - (min_1 % repeat_1);
576
+ min_1 += ((brk.to % repeat_1) -
577
+ (min_1 % repeat_1));
577
578
  }
578
579
  if (Additions.isInBreak(brk, max_1)) {
579
- max_1 -= (max_1 % repeat_1) - (brk.from % repeat_1);
580
+ max_1 -= ((max_1 % repeat_1) -
581
+ (brk.from % repeat_1));
580
582
  }
581
583
  }
582
584
  });
@@ -624,13 +626,17 @@
624
626
  to: brk.value,
625
627
  len: brk.value - start_1 - (brk.size || 0)
626
628
  });
627
- length_1 += brk.value - start_1 - (brk.size || 0);
629
+ length_1 += (brk.value -
630
+ start_1 -
631
+ (brk.size || 0));
628
632
  }
629
633
  });
630
634
  brokenAxis.breakArray = breakArray_1;
631
635
  // Used with staticScale, and below the actual axis
632
636
  // length, when breaks are substracted.
633
- if (isNumber(min_1) && isNumber(max_1) && isNumber(axis.min)) {
637
+ if (isNumber(min_1) &&
638
+ isNumber(max_1) &&
639
+ isNumber(axis.min)) {
634
640
  brokenAxis.unitLength = max_1 - min_1 - length_1 +
635
641
  pointRangePadding;
636
642
  fireEvent(axis, 'afterBreaks');
@@ -836,7 +842,8 @@
836
842
  this.treeGrid &&
837
843
  this.treeGrid.mapOfPosToGridNode) {
838
844
  var treeDepth = this.treeGrid.mapOfPosToGridNode[-1].height || 0;
839
- dimensions.width += this.options.labels.indentation * (treeDepth - 1);
845
+ dimensions.width += (this.options.labels.indentation *
846
+ (treeDepth - 1));
840
847
  }
841
848
  return dimensions;
842
849
  }
@@ -1002,8 +1009,10 @@
1002
1009
  axis.left,
1003
1010
  startPoint[2] || 0
1004
1011
  ],
1005
- upperBorderPath = [upperBorderStartPoint,
1006
- upperBorderEndPoint],
1012
+ upperBorderPath = [
1013
+ upperBorderStartPoint,
1014
+ upperBorderEndPoint
1015
+ ],
1007
1016
  lowerBorderEndPoint = [
1008
1017
  'L',
1009
1018
  axis.chart.chartWidth - axis.chart.marginRight,
@@ -1014,8 +1023,10 @@
1014
1023
  endPoint[1] || 0,
1015
1024
  axis.toPixels(max + axis.tickmarkOffset)
1016
1025
  ],
1017
- lowerBorderPath = [lowerBorderStartPoint,
1018
- lowerBorderEndPoint];
1026
+ lowerBorderPath = [
1027
+ lowerBorderStartPoint,
1028
+ lowerBorderEndPoint
1029
+ ];
1019
1030
  if (!axis.grid.upperBorder && min % 1 !== 0) {
1020
1031
  axis.grid.upperBorder = axis.grid.renderBorder(upperBorderPath);
1021
1032
  }
@@ -1041,8 +1052,8 @@
1041
1052
  });
1042
1053
  }
1043
1054
  }
1044
- // Render an extra line parallel to the existing axes,
1045
- // to close the grid.
1055
+ // Render an extra line parallel to the existing axes, to
1056
+ // close the grid.
1046
1057
  if (!axis.grid.axisLineExtra) {
1047
1058
  axis.grid.axisLineExtra = axis.grid.renderBorder(linePath);
1048
1059
  }
@@ -1055,8 +1066,7 @@
1055
1066
  d: linePath
1056
1067
  });
1057
1068
  }
1058
- // show or hide the line depending on
1059
- // options.showEmpty
1069
+ // show or hide the line depending on options.showEmpty
1060
1070
  axis.axisLine[axis.showAxis ? 'show' : 'hide'](true);
1061
1071
  }
1062
1072
  }
@@ -1098,7 +1108,8 @@
1098
1108
  }
1099
1109
  var mark = axis.ticks[lastTick].mark;
1100
1110
  if (mark) {
1101
- if (lastTick - max < tickmarkOffset && lastTick - max > 0 && axis.ticks[lastTick].isLast) {
1111
+ if (lastTick - max < tickmarkOffset &&
1112
+ lastTick - max > 0 && axis.ticks[lastTick].isLast) {
1102
1113
  mark.hide();
1103
1114
  }
1104
1115
  else if (axis.ticks[lastTick - 1]) {
@@ -1131,7 +1142,8 @@
1131
1142
  options.dateTimeLabelFormats &&
1132
1143
  options.labels &&
1133
1144
  !defined(userLabels.align) &&
1134
- (options.dateTimeLabelFormats[tickInfo.unitName].range === false ||
1145
+ (options.dateTimeLabelFormats[tickInfo.unitName]
1146
+ .range === false ||
1135
1147
  tickInfo.count > 1 // years
1136
1148
  )) {
1137
1149
  options.labels.align = 'left';
@@ -1345,7 +1357,8 @@
1345
1357
  if (gridOptions.enabled && maxLabelDimensions) {
1346
1358
  var labelPadding = (Math.abs(defaultLeftAxisOptions.labels.x) * 2);
1347
1359
  var distance = horiz ?
1348
- gridOptions.cellHeight || labelPadding + maxLabelDimensions.height :
1360
+ (gridOptions.cellHeight ||
1361
+ labelPadding + maxLabelDimensions.height) :
1349
1362
  labelPadding + maxLabelDimensions.width;
1350
1363
  if (isArray(e.tickSize)) {
1351
1364
  e.tickSize[0] = distance;
@@ -1385,7 +1398,7 @@
1385
1398
  var userOptions = e.userOptions || {};
1386
1399
  var gridOptions = userOptions.grid || {};
1387
1400
  if (gridOptions.enabled && defined(gridOptions.borderColor)) {
1388
- userOptions.tickColor = userOptions.lineColor = gridOptions.borderColor;
1401
+ userOptions.tickColor = userOptions.lineColor = (gridOptions.borderColor);
1389
1402
  }
1390
1403
  if (!axis.grid) {
1391
1404
  axis.grid = new Additions(axis);
@@ -1632,7 +1645,8 @@
1632
1645
  var thisIndex = -1,
1633
1646
  lastIndex = 0;
1634
1647
  chart[axis.coll].forEach(function (otherAxis, index) {
1635
- if (otherAxis.side === axis.side && !otherAxis.options.isInternal) {
1648
+ if (otherAxis.side === axis.side &&
1649
+ !otherAxis.options.isInternal) {
1636
1650
  lastIndex = index;
1637
1651
  if (otherAxis === parentAxis) {
1638
1652
  // Get the index of the axis in question
@@ -1641,17 +1655,17 @@
1641
1655
  }
1642
1656
  });
1643
1657
  return (lastIndex === thisIndex &&
1644
- (isNumber(columnIndex) ? columns.length === columnIndex : true));
1658
+ (isNumber(columnIndex) ?
1659
+ columns.length === columnIndex :
1660
+ true));
1645
1661
  };
1646
1662
  /**
1647
1663
  * Add extra border based on the provided path.
1648
- * *
1649
1664
  * @private
1650
- *
1651
1665
  * @param {SVGPath} path
1652
1666
  * The path of the border.
1653
- *
1654
1667
  * @return {Highcharts.SVGElement}
1668
+ * Border
1655
1669
  */
1656
1670
  Additions.prototype.renderBorder = function (path) {
1657
1671
  var axis = this.axis,
@@ -2120,7 +2134,10 @@
2120
2134
  node.descendants > 0) {
2121
2135
  collapsed = axis.treeGrid.isCollapsed(node);
2122
2136
  renderLabelIcon(tick, {
2123
- color: !styledMode && label.styles && label.styles.color || '',
2137
+ color: (!styledMode &&
2138
+ label.styles &&
2139
+ label.styles.color ||
2140
+ ''),
2124
2141
  collapsed: collapsed,
2125
2142
  group: label.parentGroup,
2126
2143
  options: symbolOptions,
@@ -2349,7 +2366,7 @@
2349
2366
  *
2350
2367
  * @private
2351
2368
  *
2352
- * @param {object} params
2369
+ * @param {Object} params
2353
2370
  * Object containing parameters.
2354
2371
  * - `defaults` Object containing default options. The default options are
2355
2372
  * merged with the userOptions to get the final options for a specific
@@ -2459,7 +2476,7 @@
2459
2476
  *
2460
2477
  * @private
2461
2478
  *
2462
- * @param {object} series
2479
+ * @param {Object} series
2463
2480
  * The series to operate on.
2464
2481
  *
2465
2482
  * @return {string}
@@ -2595,7 +2612,7 @@
2595
2612
  *
2596
2613
  * @param {number} numberOfSeries
2597
2614
  *
2598
- * @return {object}
2615
+ * @return {Object}
2599
2616
  * Returns an object containing categories, mapOfIdToNode,
2600
2617
  * mapOfPosToGridNode, and tree.
2601
2618
  *
@@ -2608,7 +2625,8 @@
2608
2625
  var categories = [],
2609
2626
  collapsedNodes = [],
2610
2627
  mapOfIdToNode = {},
2611
- uniqueNamesEnabled = typeof uniqueNames === 'boolean' ? uniqueNames : false;
2628
+ uniqueNamesEnabled = typeof uniqueNames === 'boolean' ?
2629
+ uniqueNames : false;
2612
2630
  var mapOfPosToGridNode = {},
2613
2631
  posIterator = -1;
2614
2632
  // Build the tree from the series data.
@@ -2631,7 +2649,9 @@
2631
2649
  // Before the children has been created.
2632
2650
  before: function (node) {
2633
2651
  var data = isObject(node.data,
2634
- true) ? node.data : {},
2652
+ true) ?
2653
+ node.data :
2654
+ {},
2635
2655
  name = isString(data.name) ? data.name : '',
2636
2656
  parentNode = mapOfIdToNode[node.parent],
2637
2657
  parentGridNode = (isObject(parentNode,
@@ -2740,8 +2760,8 @@
2740
2760
  /**
2741
2761
  * Builds the tree of categories and calculates its positions.
2742
2762
  * @private
2743
- * @param {object} e Event object
2744
- * @param {object} e.target The chart instance which the event was fired on.
2763
+ * @param {Object} e Event object
2764
+ * @param {Object} e.target The chart instance which the event was fired on.
2745
2765
  * @param {object[]} e.target.axes The axes of the chart.
2746
2766
  */
2747
2767
  function onBeforeRender(e) {
@@ -2756,8 +2776,8 @@
2756
2776
  max = options.max,
2757
2777
  // Check whether any of series is rendering for the first
2758
2778
  // time, visibility has changed, or its data is dirty, and
2759
- // only then update. #10570, #10580
2760
- // Also check if mapOfPosToGridNode exists. #10887
2779
+ // only then update. #10570, #10580. Also check if
2780
+ // mapOfPosToGridNode exists. #10887
2761
2781
  isDirty = (!axis.treeGrid.mapOfPosToGridNode ||
2762
2782
  axis.series.some(function (series) {
2763
2783
  return !series.hasRendered ||
@@ -2775,13 +2795,15 @@
2775
2795
  (s.options.data || []).forEach(function (data) {
2776
2796
  // For using keys - rebuild the data structure
2777
2797
  if (s.options.keys && s.options.keys.length) {
2778
- data = s.pointClass.prototype.optionsToObject.call({ series: s }, data);
2798
+ data = s.pointClass.prototype
2799
+ .optionsToObject
2800
+ .call({ series: s }, data);
2779
2801
  s.pointClass.setGanttPointAliases(data);
2780
2802
  }
2781
2803
  if (isObject(data, true)) {
2782
2804
  // Set series index on data. Removed again
2783
2805
  // after use.
2784
- data.seriesIndex = numberOfSeries;
2806
+ data.seriesIndex = (numberOfSeries);
2785
2807
  arr.push(data);
2786
2808
  }
2787
2809
  });
@@ -2808,17 +2830,20 @@
2808
2830
  treeGrid = getTreeGridFromData(data, uniqueNames || false, (uniqueNames === true) ? numberOfSeries : 1);
2809
2831
  // Assign values to the axis.
2810
2832
  axis.categories = treeGrid.categories;
2811
- axis.treeGrid.mapOfPosToGridNode = treeGrid.mapOfPosToGridNode;
2833
+ axis.treeGrid.mapOfPosToGridNode = (treeGrid.mapOfPosToGridNode);
2812
2834
  axis.hasNames = true;
2813
2835
  axis.treeGrid.tree = treeGrid.tree;
2814
2836
  // Update yData now that we have calculated the y values
2815
2837
  axis.series.forEach(function (series) {
2816
2838
  var axisData = (series.options.data || []).map(function (d) {
2817
- if (isArray(d) && series.options.keys && series.options.keys.length) {
2839
+ if (isArray(d) &&
2840
+ series.options.keys &&
2841
+ series.options.keys.length) {
2818
2842
  // Get the axisData from the data array used to
2819
2843
  // build the treeGrid where has been modified
2820
2844
  data.forEach(function (point) {
2821
- if (d.indexOf(point.x) >= 0 && d.indexOf(point.x2) >= 0) {
2845
+ if (d.indexOf(point.x) >= 0 &&
2846
+ d.indexOf(point.x2) >= 0) {
2822
2847
  d = point;
2823
2848
  }
2824
2849
  });
@@ -2928,10 +2953,11 @@
2928
2953
  axis.brokenAxis.setBreaks(breaks, false);
2929
2954
  // remove the node from the axis collapsedNodes
2930
2955
  if (axis.treeGrid.collapsedNodes) {
2931
- axis.treeGrid.collapsedNodes = axis.treeGrid.collapsedNodes.filter(function (n) {
2932
- return node.collapseStart !== n.collapseStart ||
2933
- node.collapseEnd !== n.collapseEnd;
2934
- });
2956
+ axis.treeGrid.collapsedNodes = axis.treeGrid
2957
+ .collapsedNodes
2958
+ .filter(function (n) { return ((node.collapseStart !==
2959
+ n.collapseStart) ||
2960
+ node.collapseEnd !== n.collapseEnd); });
2935
2961
  }
2936
2962
  }
2937
2963
  });
@@ -3212,7 +3238,7 @@
3212
3238
  * @param {Highcharts.Axis} axis
3213
3239
  * The axis to check against.
3214
3240
  *
3215
- * @param {object} node
3241
+ * @param {Object} node
3216
3242
  * The node to check if is collapsed.
3217
3243
  *
3218
3244
  * @param {number} pos
@@ -1,49 +1,49 @@
1
1
  /*
2
- Highcharts JS v9.3.1 (2021-11-05)
2
+ Highcharts JS v9.3.2 (2021-11-29)
3
3
 
4
4
  (c) 2014-2021 Highsoft AS
5
5
  Authors: Jon Arild Nygard / Oystein Moseng
6
6
 
7
7
  License: www.highcharts.com/license
8
8
  */
9
- 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/treemap",["highcharts"],function(l){a(l);a.Highcharts=l;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function l(a,e,d,t){a.hasOwnProperty(e)||(a[e]=t.apply(null,d))}a=a?a._modules:{};l(a,"Series/ColorMapComposition.js",[a["Core/Utilities.js"]],function(a){var e=a.defined,d=a.wrap,t={pointArrayMap:["value"],
10
- axisTypes:["xAxis","yAxis","colorAxis"],trackerGroups:["group","markerGroup","dataLabelsGroup"],parallelArrays:["x","y","value"],colorKey:"value"},p;(function(n){function a(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value}function f(b){var g={};!e(b.color)||b.state&&"normal"!==b.state||(g[this.colorProp||"fill"]=b.color);return g}function r(b,g,a){b=b.call(this,g,a);g.moveToTopOnHover&&(b.zIndex="hover"===a?1:0);return b}n.colorMapSeriesMixin=t;var b=[];n.compose=function(m,
11
- g){g&&-1===b.indexOf(g)&&(b.push(g),g=g.prototype,g.dataLabelOnNull=!0,g.moveToTopOnHover=!0,g.isValid=a);-1===b.indexOf(m)&&(b.push(m),g=m.prototype,g.colorAttribs=f,d(g,"pointAttribs",r));return m};n.seriesColorAttribs=f})(p||(p={}));return p});l(a,"Series/Treemap/TreemapAlgorithmGroup.js",[],function(){return function(){function a(a,d,t,p){this.height=a;this.width=d;this.plot=p;this.startDirection=this.direction=t;this.lH=this.nH=this.lW=this.nW=this.total=0;this.elArr=[];this.lP={total:0,lH:0,
12
- nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(a,d){return Math.max(a/d,d/a)}}}a.prototype.addElement=function(a){this.lP.total=this.elArr[this.elArr.length-1];this.total+=a;0===this.direction?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,
13
- this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH));this.elArr.push(a)};a.prototype.reset=function(){this.lW=this.nW=0;this.elArr=[];this.total=0};return a}()});l(a,"Series/DrawPointComposition.js",[],function(){var a;(function(a){function d(a){var d=this,f=a.animatableAttribs,n=a.onComplete,b=a.css,m=a.renderer,g=this.series&&this.series.chart.hasRendered?void 0:this.series&&this.series.options.animation,A=this.graphic;a.attribs=
14
- a.attribs||{};a.attribs["class"]=this.getClassName();if(this.shouldDraw())A||(this.graphic=A=m[a.shapeType](a.shapeArgs).add(a.group)),A.css(b).attr(a.attribs).animate(f,a.isNew?!1:g,n);else if(A){var z=function(){d.graphic=A=A&&A.destroy();"function"===typeof n&&n()};Object.keys(f).length?A.animate(f,void 0,function(){z()}):z()}}function e(){return!this.isNull}var p=[];a.compose=function(a){if(-1===p.indexOf(a)){p.push(a);var n=a.prototype;n.draw=d;n.shouldDraw||(n.shouldDraw=e)}return a}})(a||(a=
15
- {}));return a});l(a,"Series/Treemap/TreemapPoint.js",[a["Series/DrawPointComposition.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,e,d){var t=this&&this.__extends||function(){var b=function(a,g){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var g in a)a.hasOwnProperty(g)&&(b[g]=a[g])};return b(a,g)};return function(a,g){function m(){this.constructor=a}b(a,g);a.prototype=null===g?Object.create(g):(m.prototype=g.prototype,
16
- new m)}}(),p=e.series.prototype.pointClass,n=e.seriesTypes;e=n.pie.prototype.pointClass;var q=d.extend,f=d.isNumber,r=d.pick;d=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.name=void 0;b.node=void 0;b.options=void 0;b.series=void 0;b.value=void 0;return b}t(b,a);b.prototype.getClassName=function(){var b=p.prototype.getClassName.call(this),a=this.series,m=a.options;this.node.level<=a.nodeMap[a.rootNode].level?b+=" highcharts-above-level":this.node.isLeaf||r(m.interactByLeaf,
17
- !m.allowTraversingTree)?this.node.isLeaf||(b+=" highcharts-internal-node"):b+=" highcharts-internal-node-interactive";return b};b.prototype.isValid=function(){return!(!this.id&&!f(this.value))};b.prototype.setState=function(b){p.prototype.setState.call(this,b);this.graphic&&this.graphic.attr({zIndex:"hover"===b?1:0})};b.prototype.shouldDraw=function(){return f(this.plotY)&&null!==this.y};return b}(n.scatter.prototype.pointClass);q(d.prototype,{setVisible:e.prototype.setVisible});a.compose(d);return d});
18
- l(a,"Series/Treemap/TreemapUtilities.js",[a["Core/Utilities.js"]],function(a){var e=a.objectEach,d;(function(a){function d(a,e,f){void 0===f&&(f=this);a=e.call(f,a);!1!==a&&d(a,e,f)}a.AXIS_MAX=100;a.isBoolean=function(a){return"boolean"===typeof a};a.eachObject=function(a,d,f){f=f||this;e(a,function(e,b){d.call(f,e,b,a)})};a.recursive=d})(d||(d={}));return d});l(a,"Series/TreeUtilities.js",[a["Core/Color/Color.js"],a["Core/Utilities.js"]],function(a,e){function d(a,m){var b=m.before,f=m.idRoot,e=
19
- m.mapIdToNode[f],n=m.points[a.i],p=n&&n.options||{},F=[],q=0;a.levelDynamic=a.level-(!1!==m.levelIsConstant?0:e.level);a.name=r(n&&n.name,"");a.visible=f===a.id||!0===m.visible;"function"===typeof b&&(a=b(a,m));a.children.forEach(function(b,f){var g=t({},m);t(g,{index:f,siblings:a.children.length,visible:a.visible});b=d(b,g);F.push(b);b.visible&&(q+=b.val)});b=r(p.value,q);a.visible=0<=b&&(0<q||a.visible);a.children=F;a.childrenTotal=q;a.isLeaf=a.visible&&!q;a.val=b;return a}var t=e.extend,p=e.isArray,
20
- n=e.isNumber,q=e.isObject,f=e.merge,r=e.pick;return{getColor:function(b,m){var d=m.index,f=m.mapOptionsToLevel,e=m.parentColor,n=m.parentColorIndex,q=m.series,p=m.colors,t=m.siblings,l=q.points,E=q.chart.options.chart,x;if(b){l=l[b.i];b=f[b.level]||{};if(f=l&&b.colorByPoint){var G=l.index%(p?p.length:E.colorCount);var C=p&&p[G]}if(!q.chart.styledMode){p=l&&l.options.color;E=b&&b.color;if(x=e)x=(x=b&&b.colorVariation)&&"brightness"===x.key&&d&&t?a.parse(e).brighten(d/t*x.to).get():e;x=r(p,E,C,x,q.color)}var I=
21
- r(l&&l.options.colorIndex,b&&b.colorIndex,G,n,m.colorIndex)}return{color:x,colorIndex:I}},getLevelOptions:function(a){var b=null;if(q(a)){b={};var d=n(a.from)?a.from:1;var e=a.levels;var l={};var t=q(a.defaults)?a.defaults:{};p(e)&&(l=e.reduce(function(a,b){if(q(b)&&n(b.level)){var e=f({},b);var m=r(e.levelIsConstant,t.levelIsConstant);delete e.levelIsConstant;delete e.level;b=b.level+(m?0:d-1);q(a[b])?f(!0,a[b],e):a[b]=e}return a},{}));e=n(a.to)?a.to:1;for(a=0;a<=e;a++)b[a]=f({},t,q(l[a])?l[a]:{})}return b},
22
- setTreeValues:d,updateRootId:function(a){if(q(a)){var b=q(a.options)?a.options:{};b=r(a.rootNode,b.rootId,"");q(a.userOptions)&&(a.userOptions.rootId=b);a.rootNode=b}return b}}});l(a,"Series/Treemap/TreemapComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Series/Treemap/TreemapUtilities.js"],a["Core/Utilities.js"]],function(a,e,d){var l=d.addEvent,p=d.extend,n=!1;l(a.series,"afterBindAxes",function(){var a=this.xAxis,d=this.yAxis;if(a&&d)if(this.is("treemap")){var l={endOnTick:!1,gridLineWidth:0,
23
- lineWidth:0,min:0,minPadding:0,max:e.AXIS_MAX,maxPadding:0,startOnTick:!1,title:void 0,tickPositions:[]};p(d.options,l);p(a.options,l);n=!0}else n&&(d.setOptions(d.userOptions),a.setOptions(a.userOptions),n=!1)})});l(a,"Series/Treemap/TreemapSeries.js",[a["Core/Color/Color.js"],a["Series/ColorMapComposition.js"],a["Core/Globals.js"],a["Core/Legend/LegendSymbol.js"],a["Core/Series/SeriesRegistry.js"],a["Series/Treemap/TreemapAlgorithmGroup.js"],a["Series/Treemap/TreemapPoint.js"],a["Series/Treemap/TreemapUtilities.js"],
24
- a["Series/TreeUtilities.js"],a["Core/Utilities.js"]],function(a,e,d,l,p,n,q,f,r,b){var m=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var h in a)a.hasOwnProperty(h)&&(c[h]=a[h])};return a(b,c)};return function(b,c){function h(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(h.prototype=c.prototype,new h)}}(),g=a.parse,t=e.colorMapSeriesMixin;a=d.noop;var z=p.series;d=
25
- p.seriesTypes;var E=d.column,M=d.heatmap,F=d.scatter,N=r.getColor,O=r.getLevelOptions,P=r.updateRootId,x=b.addEvent,G=b.correctFloat,C=b.defined,I=b.error,H=b.extend,Q=b.fireEvent,K=b.isArray,R=b.isObject,J=b.isString,D=b.merge,y=b.pick,S=b.stableSort;r=function(a){function b(){var c=null!==a&&a.apply(this,arguments)||this;c.axisRatio=void 0;c.data=void 0;c.mapOptionsToLevel=void 0;c.nodeMap=void 0;c.options=void 0;c.points=void 0;c.rootNode=void 0;c.tree=void 0;return c}m(b,a);b.prototype.algorithmCalcPoints=
26
- function(a,b,k,B){var c,h,u,d,e=k.lW,w=k.lH,f=k.plot,g=0,m=k.elArr.length-1;if(b)e=k.nW,w=k.nH;else var l=k.elArr[k.elArr.length-1];k.elArr.forEach(function(a){if(b||g<m)0===k.direction?(c=f.x,h=f.y,u=e,d=a/u):(c=f.x,h=f.y,d=w,u=a/d),B.push({x:c,y:h,width:u,height:G(d)}),0===k.direction?f.y+=d:f.x+=u;g+=1});k.reset();0===k.direction?k.width-=e:k.height-=w;f.y=f.parent.y+(f.parent.height-k.height);f.x=f.parent.x+(f.parent.width-k.width);a&&(k.direction=1-k.direction);b||k.addElement(l)};b.prototype.algorithmFill=
27
- function(a,b,k){var c=[],h,d=b.direction,u=b.x,f=b.y,e=b.width,w=b.height,g,m,l,n;k.forEach(function(k){h=k.val/b.val*b.height*b.width;g=u;m=f;0===d?(n=w,l=h/n,e-=l,u+=l):(l=e,n=h/l,w-=n,f+=n);c.push({x:g,y:m,width:l,height:n});a&&(d=1-d)});return c};b.prototype.algorithmLowAspectRatio=function(a,b,k){var c=[],h=this,d,f={x:b.x,y:b.y,parent:b},e=0,g=k.length-1,w=new n(b.height,b.width,b.direction,f);k.forEach(function(k){d=k.val/b.val*b.height*b.width;w.addElement(d);w.lP.nR>w.lP.lR&&h.algorithmCalcPoints(a,
28
- !1,w,c,f);e===g&&h.algorithmCalcPoints(a,!0,w,c,f);e+=1});return c};b.prototype.alignDataLabel=function(a,b,k){var c=k.style;c&&!C(c.textOverflow)&&b.text&&b.getBBox().width>b.text.textWidth&&b.css({textOverflow:"ellipsis",width:c.width+="px"});E.prototype.alignDataLabel.apply(this,arguments);a.dataLabel&&a.dataLabel.attr({zIndex:(a.node.zIndex||0)+1})};b.prototype.buildNode=function(a,b,k,d,v){var c=this,h=[],f=c.points[b],e=0,B;(d[a]||[]).forEach(function(b){B=c.buildNode(c.points[b].id,b,k+1,d,
29
- a);e=Math.max(B.height+1,e);h.push(B)});b={id:a,i:b,children:h,height:e,level:k,parent:v,visible:!1};c.nodeMap[b.id]=b;f&&(f.node=b);return b};b.prototype.calculateChildrenAreas=function(a,b){var c=this,h=c.options,v=c.mapOptionsToLevel[a.level+1],d=y(c[v&&v.layoutAlgorithm]&&v.layoutAlgorithm,h.layoutAlgorithm),e=h.alternateStartingDirection,g=[];a=a.children.filter(function(a){return!a.ignore});v&&v.layoutStartingDirection&&(b.direction="vertical"===v.layoutStartingDirection?0:1);g=c[d](b,a);a.forEach(function(a,
30
- h){h=g[h];a.values=D(h,{val:a.childrenTotal,direction:e?1-b.direction:b.direction});a.pointValues=D(h,{x:h.x/c.axisRatio,y:f.AXIS_MAX-h.y-h.height,width:h.width/c.axisRatio});a.children.length&&c.calculateChildrenAreas(a,a.values)})};b.prototype.drawDataLabels=function(){var a=this,b=a.mapOptionsToLevel,k,d;a.points.filter(function(a){return a.node.visible}).forEach(function(c){d=b[c.node.level];k={style:{}};c.node.isLeaf||(k.enabled=!1);d&&d.dataLabels&&(k=D(k,d.dataLabels),a._hasPointLabels=!0);
31
- c.shapeArgs&&(k.style.width=c.shapeArgs.width,c.dataLabel&&c.dataLabel.css({width:c.shapeArgs.width+"px"}));c.dlOptions=D(k,c.options.dataLabels)});z.prototype.drawDataLabels.call(this)};b.prototype.drawPoints=function(){var a=this,b=a.chart,k=b.renderer,d=b.styledMode,e=a.options,f=d?{}:e.shadow,g=e.borderRadius,l=b.pointCount<e.animationLimit,m=e.allowTraversingTree;a.points.forEach(function(c){var b=c.node.levelDynamic,h={},v={},B={},u="level-group-"+c.node.level,L=!!c.graphic,n=l&&L,p=c.shapeArgs;
32
- c.shouldDraw()&&(c.isInside=!0,g&&(v.r=g),D(!0,n?h:v,L?p:{},d?{}:a.pointAttribs(c,c.selected?"select":void 0)),a.colorAttribs&&d&&H(B,a.colorAttribs(c)),a[u]||(a[u]=k.g(u).attr({zIndex:1E3-(b||0)}).add(a.group),a[u].survive=!0));c.draw({animatableAttribs:h,attribs:v,css:B,group:a[u],renderer:k,shadow:f,shapeArgs:p,shapeType:"rect"});m&&c.graphic&&(c.drillId=e.interactByLeaf?a.drillToByLeaf(c):a.drillToByGroup(c))})};b.prototype.drillToByGroup=function(a){var c=!1;1!==a.node.level-this.nodeMap[this.rootNode].level||
33
- a.node.isLeaf||(c=a.id);return c};b.prototype.drillToByLeaf=function(a){var c=!1;if(a.node.parent!==this.rootNode&&a.node.isLeaf)for(a=a.node;!c;)a=this.nodeMap[a.parent],a.parent===this.rootNode&&(c=a.id);return c};b.prototype.drillToNode=function(a,b){I(32,!1,void 0,{"treemap.drillToNode":"use treemap.setRootNode"});this.setRootNode(a,b)};b.prototype.drillUp=function(){var a=this.nodeMap[this.rootNode];a&&J(a.parent)&&this.setRootNode(a.parent,!0,{trigger:"traverseUpButton"})};b.prototype.getExtremes=
34
- function(){var a=z.prototype.getExtremes.call(this,this.colorValueData),b=a.dataMax;this.valueMin=a.dataMin;this.valueMax=b;return z.prototype.getExtremes.call(this)};b.prototype.getListOfParents=function(a,b){a=K(a)?a:[];var c=K(b)?b:[];b=a.reduce(function(a,b,c){b=y(b.parent,"");"undefined"===typeof a[b]&&(a[b]=[]);a[b].push(c);return a},{"":[]});f.eachObject(b,function(a,b,h){""!==b&&-1===c.indexOf(b)&&(a.forEach(function(a){h[""].push(a)}),delete h[b])});return b};b.prototype.getTree=function(){var a=
35
- this.data.map(function(a){return a.id});a=this.getListOfParents(this.data,a);this.nodeMap={};return this.buildNode("",-1,0,a)};b.prototype.hasData=function(){return!!this.processedXData.length};b.prototype.init=function(a,b){t&&(this.colorAttribs=e.seriesColorAttribs);var c=x(this,"setOptions",function(a){a=a.userOptions;C(a.allowDrillToNode)&&!C(a.allowTraversingTree)&&(a.allowTraversingTree=a.allowDrillToNode,delete a.allowDrillToNode);C(a.drillUpButton)&&!C(a.traverseUpButton)&&(a.traverseUpButton=
36
- a.drillUpButton,delete a.drillUpButton)});z.prototype.init.call(this,a,b);delete this.opacity;this.eventsToUnbind.push(c);this.options.allowTraversingTree&&this.eventsToUnbind.push(x(this,"click",this.onClickDrillToNode))};b.prototype.onClickDrillToNode=function(a){var b=(a=a.point)&&a.drillId;J(b)&&(a.setState(""),this.setRootNode(b,!0,{trigger:"click"}))};b.prototype.pointAttribs=function(a,b){var c=R(this.mapOptionsToLevel)?this.mapOptionsToLevel:{},h=a&&c[a.node.level]||{};c=this.options;var d=
37
- b&&c.states[b]||{},e=a&&a.getClassName()||"";a={stroke:a&&a.borderColor||h.borderColor||d.borderColor||c.borderColor,"stroke-width":y(a&&a.borderWidth,h.borderWidth,d.borderWidth,c.borderWidth),dashstyle:a&&a.borderDashStyle||h.borderDashStyle||d.borderDashStyle||c.borderDashStyle,fill:a&&a.color||this.color};-1!==e.indexOf("highcharts-above-level")?(a.fill="none",a["stroke-width"]=0):-1!==e.indexOf("highcharts-internal-node-interactive")?(b=y(d.opacity,c.opacity),a.fill=g(a.fill).setOpacity(b).get(),
38
- a.cursor="pointer"):-1!==e.indexOf("highcharts-internal-node")?a.fill="none":b&&(a.fill=g(a.fill).brighten(d.brightness).get());return a};b.prototype.renderTraverseUpButton=function(a){var b=this,c=b.options.traverseUpButton,d=y(c.text,b.nodeMap[a].name,"\u25c1 Back");if(""===a||b.is("sunburst")&&1===b.tree.children.length&&a===b.tree.children[0].id)b.drillUpButton&&(b.drillUpButton=b.drillUpButton.destroy());else if(this.drillUpButton)this.drillUpButton.placed=!1,this.drillUpButton.attr({text:d}).align();
39
- else{var e=(a=c.theme)&&a.states;this.drillUpButton=this.chart.renderer.button(d,0,0,function(){b.drillUp()},a,e&&e.hover,e&&e.select).addClass("highcharts-drillup-button").attr({align:c.position.align,zIndex:7}).add().align(c.position,!1,c.relativeTo||"plotBox")}};b.prototype.setColorRecursive=function(a,b,d,e,f){var c=this,h=c&&c.chart;h=h&&h.options&&h.options.colors;if(a){var k=N(a,{colors:h,index:e,mapOptionsToLevel:c.mapOptionsToLevel,parentColor:b,parentColorIndex:d,series:c,siblings:f});if(b=
40
- c.points[a.i])b.color=k.color,b.colorIndex=k.colorIndex;(a.children||[]).forEach(function(b,d){c.setColorRecursive(b,k.color,k.colorIndex,d,a.children.length)})}};b.prototype.setPointValues=function(){var a=this,b=a.xAxis,d=a.yAxis,e=a.chart.styledMode;a.points.forEach(function(c){var h=c.node,k=h.pointValues;h=h.visible;if(k&&h){h=k.height;var f=k.width,g=k.x,l=k.y,m=e?0:(a.pointAttribs(c)["stroke-width"]||0)%2/2;k=Math.round(b.toPixels(g,!0))-m;f=Math.round(b.toPixels(g+f,!0))-m;g=Math.round(d.toPixels(l,
41
- !0))-m;h=Math.round(d.toPixels(l+h,!0))-m;h={x:Math.min(k,f),y:Math.min(g,h),width:Math.abs(f-k),height:Math.abs(h-g)};c.plotX=h.x+h.width/2;c.plotY=h.y+h.height/2;c.shapeArgs=h}else delete c.plotX,delete c.plotY})};b.prototype.setRootNode=function(a,b,d){a=H({newRootId:a,previousRootId:this.rootNode,redraw:y(b,!0),series:this},d);Q(this,"setRootNode",a,function(a){var b=a.series;b.idPreviousRoot=a.previousRootId;b.rootNode=a.newRootId;b.isDirty=!0;a.redraw&&b.chart.redraw()})};b.prototype.setState=
42
- function(a){this.options.inactiveOtherPoints=!0;z.prototype.setState.call(this,a,!1);this.options.inactiveOtherPoints=!1};b.prototype.setTreeValues=function(a){var b=this,c=b.options,d=b.nodeMap[b.rootNode];c=f.isBoolean(c.levelIsConstant)?c.levelIsConstant:!0;var e=0,g=[],l=b.points[a.i];a.children.forEach(function(a){a=b.setTreeValues(a);g.push(a);a.ignore||(e+=a.val)});S(g,function(a,b){return(a.sortIndex||0)-(b.sortIndex||0)});var m=y(l&&l.options.value,e);l&&(l.value=m);H(a,{children:g,childrenTotal:e,
43
- ignore:!(y(l&&l.visible,!0)&&0<m),isLeaf:a.visible&&!e,levelDynamic:a.level-(c?0:d.level),name:y(l&&l.name,""),sortIndex:y(l&&l.sortIndex,-m),val:m});return a};b.prototype.sliceAndDice=function(a,b){return this.algorithmFill(!0,a,b)};b.prototype.squarified=function(a,b){return this.algorithmLowAspectRatio(!0,a,b)};b.prototype.strip=function(a,b){return this.algorithmLowAspectRatio(!1,a,b)};b.prototype.stripes=function(a,b){return this.algorithmFill(!1,a,b)};b.prototype.translate=function(){var a=
44
- this,b=a.options,d=P(a);z.prototype.translate.call(a);var e=a.tree=a.getTree();var g=a.nodeMap[d];""===d||g&&g.children.length||(a.setRootNode("",!1),d=a.rootNode,g=a.nodeMap[d]);a.renderTraverseUpButton(d);a.mapOptionsToLevel=O({from:g.level+1,levels:b.levels,to:e.height,defaults:{levelIsConstant:a.options.levelIsConstant,colorByPoint:b.colorByPoint}});f.recursive(a.nodeMap[a.rootNode],function(b){var c=!1,d=b.parent;b.visible=!0;if(d||""===d)c=a.nodeMap[d];return c});f.recursive(a.nodeMap[a.rootNode].children,
45
- function(a){var b=!1;a.forEach(function(a){a.visible=!0;a.children.length&&(b=(b||[]).concat(a.children))});return b});a.setTreeValues(e);a.axisRatio=a.xAxis.len/a.yAxis.len;a.nodeMap[""].pointValues=d={x:0,y:0,width:f.AXIS_MAX,height:f.AXIS_MAX};a.nodeMap[""].values=d=D(d,{width:d.width*a.axisRatio,direction:"vertical"===b.layoutStartingDirection?0:1,val:e.val});a.calculateChildrenAreas(e,d);a.colorAxis||b.colorByPoint||a.setColorRecursive(a.tree);b.allowTraversingTree&&(b=g.pointValues,a.xAxis.setExtremes(b.x,
46
- b.x+b.width,!1),a.yAxis.setExtremes(b.y,b.y+b.height,!1),a.xAxis.setScale(),a.yAxis.setScale());a.setPointValues()};b.defaultOptions=D(F.defaultOptions,{allowTraversingTree:!1,animationLimit:250,borderRadius:0,showInLegend:!1,marker:void 0,colorByPoint:!1,dataLabels:{defer:!1,enabled:!0,formatter:function(){var a=this&&this.point?this.point:{};return J(a.name)?a.name:""},inside:!0,verticalAlign:"middle"},tooltip:{headerFormat:"",pointFormat:"<b>{point.name}</b>: {point.value}<br/>"},ignoreHiddenPoint:!0,
47
- layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,drillUpButton:{position:{align:"right",x:-10,y:10}},traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"#e6e6e6",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:M?0:.1,halo:!1,opacity:.75,shadow:!1}}});return b}(F);H(r.prototype,{buildKDTree:a,colorKey:"colorValue",directTouch:!0,drawLegendSymbol:l.drawRectangle,getExtremesFromAll:!0,
48
- getSymbol:a,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value"],pointClass:q,trackerGroups:["group","dataLabelsGroup"],utils:{recursive:f.recursive}});e.compose(r);p.registerSeriesType("treemap",r);"";return r});l(a,"masters/modules/treemap.src.js",[],function(){})});
9
+ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/treemap",["highcharts"],function(f){a(f);a.Highcharts=f;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function f(a,e,c,r){a.hasOwnProperty(e)||(a[e]=r.apply(null,c))}a=a?a._modules:{};f(a,"Series/ColorMapMixin.js",[a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,e,c){var r=
10
+ a.noop;a=a.seriesTypes;var l=c.defined;c=c.addEvent;c(e,"afterSetState",function(g){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:g&&"hover"===g.state?1:0})});return{PointMixin:{dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value}},SeriesMixin:{pointArrayMap:["value"],axisTypes:["xAxis","yAxis","colorAxis"],trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:r,parallelArrays:["x","y","value"],
11
+ colorKey:"value",pointAttribs:a.column.prototype.pointAttribs,colorAttribs:function(g){var a={};!l(g.color)||g.state&&"normal"!==g.state||(a[this.colorProp||"fill"]=g.color);return a}}}});f(a,"Series/Treemap/TreemapAlgorithmGroup.js",[],function(){return function(){function a(a,c,r,l){this.height=a;this.width=c;this.plot=l;this.startDirection=this.direction=r;this.lH=this.nH=this.lW=this.nW=this.total=0;this.elArr=[];this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(a,c){return Math.max(a/
12
+ c,c/a)}}}a.prototype.addElement=function(a){this.lP.total=this.elArr[this.elArr.length-1];this.total+=a;0===this.direction?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,
13
+ this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH));this.elArr.push(a)};a.prototype.reset=function(){this.lW=this.nW=0;this.elArr=[];this.total=0};return a}()});f(a,"Series/DrawPointComposition.js",[],function(){var a;(function(a){function c(a){var c=this,g=a.animatableAttribs,q=a.onComplete,b=a.css,n=a.renderer,K=this.series&&this.series.chart.hasRendered?void 0:this.series&&this.series.options.animation,t=this.graphic;a.attribs=a.attribs||{};a.attribs["class"]=this.getClassName();if(this.shouldDraw())t||
14
+ (this.graphic=t=n[a.shapeType](a.shapeArgs).add(a.group)),t.css(b).attr(a.attribs).animate(g,a.isNew?!1:K,q);else if(t){var e=function(){c.graphic=t=t&&t.destroy();"function"===typeof q&&q()};Object.keys(g).length?t.animate(g,void 0,function(){e()}):e()}}function e(){return!this.isNull}var l=[];a.compose=function(a){if(-1===l.indexOf(a)){l.push(a);var g=a.prototype;g.draw=c;g.shouldDraw||(g.shouldDraw=e)}return a}})(a||(a={}));return a});f(a,"Series/Treemap/TreemapPoint.js",[a["Series/DrawPointComposition.js"],
15
+ a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,e,c){var r=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var n in b)b.hasOwnProperty(n)&&(a[n]=b[n])};return a(b,c)};return function(b,c){function n(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(n.prototype=c.prototype,new n)}}(),l=e.series.prototype.pointClass,g=e.seriesTypes;e=g.pie.prototype.pointClass;
16
+ var m=c.extend,k=c.isNumber,q=c.pick;c=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.name=void 0;b.node=void 0;b.options=void 0;b.series=void 0;b.value=void 0;return b}r(b,a);b.prototype.getClassName=function(){var a=l.prototype.getClassName.call(this),b=this.series,c=b.options;this.node.level<=b.nodeMap[b.rootNode].level?a+=" highcharts-above-level":this.node.isLeaf||q(c.interactByLeaf,!c.allowTraversingTree)?this.node.isLeaf||(a+=" highcharts-internal-node"):a+=" highcharts-internal-node-interactive";
17
+ return a};b.prototype.isValid=function(){return!(!this.id&&!k(this.value))};b.prototype.setState=function(a){l.prototype.setState.call(this,a);this.graphic&&this.graphic.attr({zIndex:"hover"===a?1:0})};b.prototype.shouldDraw=function(){return k(this.plotY)&&null!==this.y};return b}(g.scatter.prototype.pointClass);m(c.prototype,{setVisible:e.prototype.setVisible});a.compose(c);return c});f(a,"Series/Treemap/TreemapUtilities.js",[a["Core/Utilities.js"]],function(a){var e=a.objectEach,c;(function(a){function c(a,
18
+ e,k){void 0===k&&(k=this);a=e.call(k,a);!1!==a&&c(a,e,k)}a.AXIS_MAX=100;a.isBoolean=function(a){return"boolean"===typeof a};a.eachObject=function(a,c,k){k=k||this;e(a,function(e,b){c.call(k,e,b,a)})};a.recursive=c})(c||(c={}));return c});f(a,"Series/TreeUtilities.js",[a["Core/Color/Color.js"],a["Core/Utilities.js"]],function(a,e){function c(a,n){var b=n.before,e=n.idRoot,k=n.mapIdToNode[e],g=n.points[a.i],l=g&&g.options||{},D=[],m=0;a.levelDynamic=a.level-(!1!==n.levelIsConstant?0:k.level);a.name=
19
+ q(g&&g.name,"");a.visible=e===a.id||!0===n.visible;"function"===typeof b&&(a=b(a,n));a.children.forEach(function(b,e){var g=r({},n);r(g,{index:e,siblings:a.children.length,visible:a.visible});b=c(b,g);D.push(b);b.visible&&(m+=b.val)});b=q(l.value,m);a.visible=0<=b&&(0<m||a.visible);a.children=D;a.childrenTotal=m;a.isLeaf=a.visible&&!m;a.val=b;return a}var r=e.extend,l=e.isArray,g=e.isNumber,m=e.isObject,k=e.merge,q=e.pick;return{getColor:function(b,c){var e=c.index,g=c.mapOptionsToLevel,k=c.parentColor,
20
+ n=c.parentColorIndex,m=c.series,l=c.colors,r=c.siblings,f=m.points,C=m.chart.options.chart,v;if(b){f=f[b.i];b=g[b.level]||{};if(g=f&&b.colorByPoint){var x=f.index%(l?l.length:C.colorCount);var E=l&&l[x]}if(!m.chart.styledMode){l=f&&f.options.color;C=b&&b.color;if(v=k)v=(v=b&&b.colorVariation)&&"brightness"===v.key&&e&&r?a.parse(k).brighten(e/r*v.to).get():k;v=q(l,C,E,v,m.color)}var B=q(f&&f.options.colorIndex,b&&b.colorIndex,x,n,c.colorIndex)}return{color:v,colorIndex:B}},getLevelOptions:function(a){var b=
21
+ null;if(m(a)){b={};var c=g(a.from)?a.from:1;var e=a.levels;var f={};var r=m(a.defaults)?a.defaults:{};l(e)&&(f=e.reduce(function(a,b){if(m(b)&&g(b.level)){var e=k({},b);var l=q(e.levelIsConstant,r.levelIsConstant);delete e.levelIsConstant;delete e.level;b=b.level+(l?0:c-1);m(a[b])?k(!0,a[b],e):a[b]=e}return a},{}));e=g(a.to)?a.to:1;for(a=0;a<=e;a++)b[a]=k({},r,m(f[a])?f[a]:{})}return b},setTreeValues:c,updateRootId:function(a){if(m(a)){var b=m(a.options)?a.options:{};b=q(a.rootNode,b.rootId,"");m(a.userOptions)&&
22
+ (a.userOptions.rootId=b);a.rootNode=b}return b}}});f(a,"Series/Treemap/TreemapComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Series/Treemap/TreemapUtilities.js"],a["Core/Utilities.js"]],function(a,e,c){var f=c.addEvent,l=c.extend,g=!1;f(a.series,"afterBindAxes",function(){var a=this.xAxis,c=this.yAxis;if(a&&c)if(this.is("treemap")){var f={endOnTick:!1,gridLineWidth:0,lineWidth:0,min:0,minPadding:0,max:e.AXIS_MAX,maxPadding:0,startOnTick:!1,title:void 0,tickPositions:[]};l(c.options,f);l(a.options,
23
+ f);g=!0}else g&&(c.setOptions(c.userOptions),a.setOptions(a.userOptions),g=!1)})});f(a,"Series/Treemap/TreemapSeries.js",[a["Core/Color/Color.js"],a["Series/ColorMapMixin.js"],a["Core/Globals.js"],a["Core/Legend/LegendSymbol.js"],a["Core/Series/SeriesRegistry.js"],a["Series/Treemap/TreemapAlgorithmGroup.js"],a["Series/Treemap/TreemapPoint.js"],a["Series/Treemap/TreemapUtilities.js"],a["Series/TreeUtilities.js"],a["Core/Utilities.js"]],function(a,e,c,f,l,g,m,k,q,b){var n=this&&this.__extends||function(){var a=
24
+ function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var h in d)d.hasOwnProperty(h)&&(a[h]=d[h])};return a(b,d)};return function(b,d){function h(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(h.prototype=d.prototype,new h)}}(),r=a.parse;a=c.noop;var t=l.series;c=l.seriesTypes;var C=c.column,L=c.heatmap,G=c.scatter,D=q.getColor,M=q.getLevelOptions,N=q.updateRootId,H=b.addEvent,v=b.correctFloat,x=b.defined,E=b.error,
25
+ B=b.extend,O=b.fireEvent,I=b.isArray,P=b.isObject,F=b.isString,z=b.merge,w=b.pick,Q=b.stableSort;q=function(a){function b(){var d=null!==a&&a.apply(this,arguments)||this;d.axisRatio=void 0;d.data=void 0;d.mapOptionsToLevel=void 0;d.nodeMap=void 0;d.options=void 0;d.points=void 0;d.rootNode=void 0;d.tree=void 0;return d}n(b,a);b.prototype.algorithmCalcPoints=function(a,h,b,y){var d,c,p,e,g=b.lW,u=b.lH,f=b.plot,k=0,l=b.elArr.length-1;if(h)g=b.nW,u=b.nH;else var m=b.elArr[b.elArr.length-1];b.elArr.forEach(function(a){if(h||
26
+ k<l)0===b.direction?(d=f.x,c=f.y,p=g,e=a/p):(d=f.x,c=f.y,e=u,p=a/e),y.push({x:d,y:c,width:p,height:v(e)}),0===b.direction?f.y+=e:f.x+=p;k+=1});b.reset();0===b.direction?b.width-=g:b.height-=u;f.y=f.parent.y+(f.parent.height-b.height);f.x=f.parent.x+(f.parent.width-b.width);a&&(b.direction=1-b.direction);h||b.addElement(m)};b.prototype.algorithmFill=function(a,b,c){var d=[],h,p=b.direction,e=b.x,f=b.y,g=b.width,u=b.height,k,l,m,n;c.forEach(function(c){h=c.val/b.val*b.height*b.width;k=e;l=f;0===p?(n=
27
+ u,m=h/n,g-=m,e+=m):(m=g,n=h/m,u-=n,f+=n);d.push({x:k,y:l,width:m,height:n});a&&(p=1-p)});return d};b.prototype.algorithmLowAspectRatio=function(a,b,c){var d=[],h=this,p,e={x:b.x,y:b.y,parent:b},f=0,k=c.length-1,u=new g(b.height,b.width,b.direction,e);c.forEach(function(c){p=c.val/b.val*b.height*b.width;u.addElement(p);u.lP.nR>u.lP.lR&&h.algorithmCalcPoints(a,!1,u,d,e);f===k&&h.algorithmCalcPoints(a,!0,u,d,e);f+=1});return d};b.prototype.alignDataLabel=function(a,b,c){var d=c.style;d&&!x(d.textOverflow)&&
28
+ b.text&&b.getBBox().width>b.text.textWidth&&b.css({textOverflow:"ellipsis",width:d.width+="px"});C.prototype.alignDataLabel.apply(this,arguments);a.dataLabel&&a.dataLabel.attr({zIndex:(a.node.zIndex||0)+1})};b.prototype.buildNode=function(a,b,c,e,A){var d=this,h=[],p=d.points[b],y=0,f;(e[a]||[]).forEach(function(b){f=d.buildNode(d.points[b].id,b,c+1,e,a);y=Math.max(f.height+1,y);h.push(f)});b={id:a,i:b,children:h,height:y,level:c,parent:A,visible:!1};d.nodeMap[b.id]=b;p&&(p.node=b);return b};b.prototype.calculateChildrenAreas=
29
+ function(a,b){var d=this,h=d.options,c=d.mapOptionsToLevel[a.level+1],e=w(d[c&&c.layoutAlgorithm]&&c.layoutAlgorithm,h.layoutAlgorithm),f=h.alternateStartingDirection,g=[];a=a.children.filter(function(a){return!a.ignore});c&&c.layoutStartingDirection&&(b.direction="vertical"===c.layoutStartingDirection?0:1);g=d[e](b,a);a.forEach(function(a,h){h=g[h];a.values=z(h,{val:a.childrenTotal,direction:f?1-b.direction:b.direction});a.pointValues=z(h,{x:h.x/d.axisRatio,y:k.AXIS_MAX-h.y-h.height,width:h.width/
30
+ d.axisRatio});a.children.length&&d.calculateChildrenAreas(a,a.values)})};b.prototype.drawDataLabels=function(){var a=this,b=a.mapOptionsToLevel,c,e;a.points.filter(function(a){return a.node.visible}).forEach(function(d){e=b[d.node.level];c={style:{}};d.node.isLeaf||(c.enabled=!1);e&&e.dataLabels&&(c=z(c,e.dataLabels),a._hasPointLabels=!0);d.shapeArgs&&(c.style.width=d.shapeArgs.width,d.dataLabel&&d.dataLabel.css({width:d.shapeArgs.width+"px"}));d.dlOptions=z(c,d.options.dataLabels)});t.prototype.drawDataLabels.call(this)};
31
+ b.prototype.drawPoints=function(){var a=this,b=a.chart,c=b.renderer,e=b.styledMode,f=a.options,g=e?{}:f.shadow,k=f.borderRadius,l=b.pointCount<f.animationLimit,m=f.allowTraversingTree;a.points.forEach(function(d){var b=d.node.levelDynamic,h={},p={},y={},A="level-group-"+d.node.level,J=!!d.graphic,R=l&&J,n=d.shapeArgs;d.shouldDraw()&&(d.isInside=!0,k&&(p.r=k),z(!0,R?h:p,J?n:{},e?{}:a.pointAttribs(d,d.selected?"select":void 0)),a.colorAttribs&&e&&B(y,a.colorAttribs(d)),a[A]||(a[A]=c.g(A).attr({zIndex:1E3-
32
+ (b||0)}).add(a.group),a[A].survive=!0));d.draw({animatableAttribs:h,attribs:p,css:y,group:a[A],renderer:c,shadow:g,shapeArgs:n,shapeType:"rect"});m&&d.graphic&&(d.drillId=f.interactByLeaf?a.drillToByLeaf(d):a.drillToByGroup(d))})};b.prototype.drillToByGroup=function(a){var d=!1;1!==a.node.level-this.nodeMap[this.rootNode].level||a.node.isLeaf||(d=a.id);return d};b.prototype.drillToByLeaf=function(a){var d=!1;if(a.node.parent!==this.rootNode&&a.node.isLeaf)for(a=a.node;!d;)a=this.nodeMap[a.parent],
33
+ a.parent===this.rootNode&&(d=a.id);return d};b.prototype.drillToNode=function(a,b){E(32,!1,void 0,{"treemap.drillToNode":"use treemap.setRootNode"});this.setRootNode(a,b)};b.prototype.drillUp=function(){var a=this.nodeMap[this.rootNode];a&&F(a.parent)&&this.setRootNode(a.parent,!0,{trigger:"traverseUpButton"})};b.prototype.getExtremes=function(){var a=t.prototype.getExtremes.call(this,this.colorValueData),b=a.dataMax;this.valueMin=a.dataMin;this.valueMax=b;return t.prototype.getExtremes.call(this)};
34
+ b.prototype.getListOfParents=function(a,b){a=I(a)?a:[];var d=I(b)?b:[];b=a.reduce(function(a,b,d){b=w(b.parent,"");"undefined"===typeof a[b]&&(a[b]=[]);a[b].push(d);return a},{"":[]});k.eachObject(b,function(a,b,c){""!==b&&-1===d.indexOf(b)&&(a.forEach(function(a){c[""].push(a)}),delete c[b])});return b};b.prototype.getTree=function(){var a=this.data.map(function(a){return a.id});a=this.getListOfParents(this.data,a);this.nodeMap={};return this.buildNode("",-1,0,a)};b.prototype.hasData=function(){return!!this.processedXData.length};
35
+ b.prototype.init=function(a,b){this.colorAttribs=e.SeriesMixin.colorAttribs;var d=H(this,"setOptions",function(a){a=a.userOptions;x(a.allowDrillToNode)&&!x(a.allowTraversingTree)&&(a.allowTraversingTree=a.allowDrillToNode,delete a.allowDrillToNode);x(a.drillUpButton)&&!x(a.traverseUpButton)&&(a.traverseUpButton=a.drillUpButton,delete a.drillUpButton)});t.prototype.init.call(this,a,b);delete this.opacity;this.eventsToUnbind.push(d);this.options.allowTraversingTree&&this.eventsToUnbind.push(H(this,
36
+ "click",this.onClickDrillToNode))};b.prototype.onClickDrillToNode=function(a){var b=(a=a.point)&&a.drillId;F(b)&&(a.setState(""),this.setRootNode(b,!0,{trigger:"click"}))};b.prototype.pointAttribs=function(a,b){var d=P(this.mapOptionsToLevel)?this.mapOptionsToLevel:{},c=a&&d[a.node.level]||{};d=this.options;var h=b&&d.states[b]||{},e=a&&a.getClassName()||"";a={stroke:a&&a.borderColor||c.borderColor||h.borderColor||d.borderColor,"stroke-width":w(a&&a.borderWidth,c.borderWidth,h.borderWidth,d.borderWidth),
37
+ dashstyle:a&&a.borderDashStyle||c.borderDashStyle||h.borderDashStyle||d.borderDashStyle,fill:a&&a.color||this.color};-1!==e.indexOf("highcharts-above-level")?(a.fill="none",a["stroke-width"]=0):-1!==e.indexOf("highcharts-internal-node-interactive")?(b=w(h.opacity,d.opacity),a.fill=r(a.fill).setOpacity(b).get(),a.cursor="pointer"):-1!==e.indexOf("highcharts-internal-node")?a.fill="none":b&&(a.fill=r(a.fill).brighten(h.brightness).get());return a};b.prototype.renderTraverseUpButton=function(a){var b=
38
+ this,d=b.options.traverseUpButton,c=w(d.text,b.nodeMap[a].name,"\u25c1 Back");if(""===a||b.is("sunburst")&&1===b.tree.children.length&&a===b.tree.children[0].id)b.drillUpButton&&(b.drillUpButton=b.drillUpButton.destroy());else if(this.drillUpButton)this.drillUpButton.placed=!1,this.drillUpButton.attr({text:c}).align();else{var e=(a=d.theme)&&a.states;this.drillUpButton=this.chart.renderer.button(c,0,0,function(){b.drillUp()},a,e&&e.hover,e&&e.select).addClass("highcharts-drillup-button").attr({align:d.position.align,
39
+ zIndex:7}).add().align(d.position,!1,d.relativeTo||"plotBox")}};b.prototype.setColorRecursive=function(a,b,c,e,f){var d=this,h=d&&d.chart;h=h&&h.options&&h.options.colors;if(a){var g=D(a,{colors:h,index:e,mapOptionsToLevel:d.mapOptionsToLevel,parentColor:b,parentColorIndex:c,series:d,siblings:f});if(b=d.points[a.i])b.color=g.color,b.colorIndex=g.colorIndex;(a.children||[]).forEach(function(b,c){d.setColorRecursive(b,g.color,g.colorIndex,c,a.children.length)})}};b.prototype.setPointValues=function(){var a=
40
+ this,b=a.xAxis,c=a.yAxis,e=a.chart.styledMode;a.points.forEach(function(d){var h=d.node,f=h.pointValues;h=h.visible;if(f&&h){h=f.height;var g=f.width,k=f.x,p=f.y,l=e?0:(a.pointAttribs(d)["stroke-width"]||0)%2/2;f=Math.round(b.toPixels(k,!0))-l;g=Math.round(b.toPixels(k+g,!0))-l;k=Math.round(c.toPixels(p,!0))-l;h=Math.round(c.toPixels(p+h,!0))-l;h={x:Math.min(f,g),y:Math.min(k,h),width:Math.abs(g-f),height:Math.abs(h-k)};d.plotX=h.x+h.width/2;d.plotY=h.y+h.height/2;d.shapeArgs=h}else delete d.plotX,
41
+ delete d.plotY})};b.prototype.setRootNode=function(a,b,c){a=B({newRootId:a,previousRootId:this.rootNode,redraw:w(b,!0),series:this},c);O(this,"setRootNode",a,function(a){var b=a.series;b.idPreviousRoot=a.previousRootId;b.rootNode=a.newRootId;b.isDirty=!0;a.redraw&&b.chart.redraw()})};b.prototype.setState=function(a){this.options.inactiveOtherPoints=!0;t.prototype.setState.call(this,a,!1);this.options.inactiveOtherPoints=!1};b.prototype.setTreeValues=function(a){var b=this,d=b.options,c=b.nodeMap[b.rootNode];
42
+ d=k.isBoolean(d.levelIsConstant)?d.levelIsConstant:!0;var e=0,f=[],g=b.points[a.i];a.children.forEach(function(a){a=b.setTreeValues(a);f.push(a);a.ignore||(e+=a.val)});Q(f,function(a,b){return(a.sortIndex||0)-(b.sortIndex||0)});var l=w(g&&g.options.value,e);g&&(g.value=l);B(a,{children:f,childrenTotal:e,ignore:!(w(g&&g.visible,!0)&&0<l),isLeaf:a.visible&&!e,levelDynamic:a.level-(d?0:c.level),name:w(g&&g.name,""),sortIndex:w(g&&g.sortIndex,-l),val:l});return a};b.prototype.sliceAndDice=function(a,
43
+ b){return this.algorithmFill(!0,a,b)};b.prototype.squarified=function(a,b){return this.algorithmLowAspectRatio(!0,a,b)};b.prototype.strip=function(a,b){return this.algorithmLowAspectRatio(!1,a,b)};b.prototype.stripes=function(a,b){return this.algorithmFill(!1,a,b)};b.prototype.translate=function(){var a=this,b=a.options,c=N(a);t.prototype.translate.call(a);var e=a.tree=a.getTree();var f=a.nodeMap[c];""===c||f&&f.children.length||(a.setRootNode("",!1),c=a.rootNode,f=a.nodeMap[c]);a.renderTraverseUpButton(c);
44
+ a.mapOptionsToLevel=M({from:f.level+1,levels:b.levels,to:e.height,defaults:{levelIsConstant:a.options.levelIsConstant,colorByPoint:b.colorByPoint}});k.recursive(a.nodeMap[a.rootNode],function(b){var c=!1,d=b.parent;b.visible=!0;if(d||""===d)c=a.nodeMap[d];return c});k.recursive(a.nodeMap[a.rootNode].children,function(a){var b=!1;a.forEach(function(a){a.visible=!0;a.children.length&&(b=(b||[]).concat(a.children))});return b});a.setTreeValues(e);a.axisRatio=a.xAxis.len/a.yAxis.len;a.nodeMap[""].pointValues=
45
+ c={x:0,y:0,width:k.AXIS_MAX,height:k.AXIS_MAX};a.nodeMap[""].values=c=z(c,{width:c.width*a.axisRatio,direction:"vertical"===b.layoutStartingDirection?0:1,val:e.val});a.calculateChildrenAreas(e,c);a.colorAxis||b.colorByPoint||a.setColorRecursive(a.tree);b.allowTraversingTree&&(b=f.pointValues,a.xAxis.setExtremes(b.x,b.x+b.width,!1),a.yAxis.setExtremes(b.y,b.y+b.height,!1),a.xAxis.setScale(),a.yAxis.setScale());a.setPointValues()};b.defaultOptions=z(G.defaultOptions,{allowTraversingTree:!1,animationLimit:250,
46
+ borderRadius:0,showInLegend:!1,marker:void 0,colorByPoint:!1,dataLabels:{defer:!1,enabled:!0,formatter:function(){var a=this&&this.point?this.point:{};return F(a.name)?a.name:""},inside:!0,verticalAlign:"middle"},tooltip:{headerFormat:"",pointFormat:"<b>{point.name}</b>: {point.value}<br/>"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,drillUpButton:{position:{align:"right",x:-10,y:10}},traverseUpButton:{position:{align:"right",
47
+ x:-10,y:10}},borderColor:"#e6e6e6",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:L?0:.1,halo:!1,opacity:.75,shadow:!1}}});return b}(G);B(q.prototype,{buildKDTree:a,colorKey:"colorValue",directTouch:!0,drawLegendSymbol:f.drawRectangle,getExtremesFromAll:!0,getSymbol:a,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value"],pointClass:m,trackerGroups:["group","dataLabelsGroup"],utils:{recursive:k.recursive}});l.registerSeriesType("treemap",
48
+ q);"";return q});f(a,"masters/modules/treemap.src.js",[],function(){})});
49
49
  //# sourceMappingURL=treemap.js.map