highcharts 10.2.1 → 10.3.1

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 (732) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Accessibility.js +1 -1
  3. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +9 -6
  4. package/es-modules/Accessibility/Components/LegendComponent.js +36 -32
  5. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +1 -1
  6. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -16
  7. package/es-modules/Accessibility/Options/LangDefaults.js +4 -0
  8. package/es-modules/Core/Axis/Axis.js +42 -32
  9. package/es-modules/Core/Axis/Axis3DComposition.js +501 -0
  10. package/es-modules/Core/Axis/Axis3DDefaults.js +130 -0
  11. package/es-modules/Core/Axis/AxisDefaults.js +20 -7
  12. package/es-modules/Core/Axis/Color/ColorAxis.js +46 -52
  13. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +4 -2
  14. package/es-modules/Core/Axis/NavigatorAxisComposition.js +161 -0
  15. package/es-modules/Core/Axis/OrdinalAxis.js +2 -1
  16. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +1 -1
  17. package/es-modules/Core/Axis/RadialAxis.js +19 -5
  18. package/es-modules/Core/Axis/Tick.js +1 -1
  19. package/es-modules/Core/Axis/Tick3DComposition.js +71 -0
  20. package/es-modules/Core/Chart/Chart.js +16 -20
  21. package/es-modules/Core/Chart/Chart3D.js +4 -4
  22. package/es-modules/Core/Chart/ChartDefaults.js +33 -43
  23. package/es-modules/Core/Chart/GanttChart.js +1 -1
  24. package/es-modules/Core/Chart/MapChart.js +1 -1
  25. package/es-modules/Core/Chart/StockChart.js +11 -28
  26. package/es-modules/Core/{DefaultOptions.js → Defaults.js} +21 -37
  27. package/es-modules/Core/FormatUtilities.js +1 -1
  28. package/es-modules/Core/Globals.js +1 -1
  29. package/es-modules/Core/Legend/Legend.js +114 -110
  30. package/es-modules/Core/Legend/LegendSymbol.js +9 -6
  31. package/es-modules/Core/MSPointer.js +4 -2
  32. package/es-modules/Core/Pointer.js +125 -75
  33. package/es-modules/Core/Renderer/SVG/SVGElement.js +0 -3
  34. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +28 -14
  35. package/es-modules/Core/Series/DataLabel.js +8 -5
  36. package/es-modules/Core/Series/Point.js +38 -22
  37. package/es-modules/Core/Series/Series.js +12 -9
  38. package/es-modules/Core/Series/SeriesDefaults.js +36 -24
  39. package/es-modules/Core/Series/SeriesRegistry.js +2 -2
  40. package/es-modules/Core/Time.js +6 -5
  41. package/es-modules/Core/Tooltip.js +6 -28
  42. package/es-modules/Core/Utilities.js +6 -8
  43. package/es-modules/Extensions/Annotations/Annotation.js +1 -1
  44. package/es-modules/Extensions/Annotations/AnnotationDefaults.js +13 -8
  45. package/es-modules/Extensions/Annotations/MockPoint.js +2 -1
  46. package/es-modules/Extensions/Annotations/NavigationBindings.js +4 -5
  47. package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
  48. package/es-modules/Extensions/Annotations/Popup/Popup.js +2 -2
  49. package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -4
  50. package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
  51. package/es-modules/Extensions/Boost/BoostSeries.js +11 -8
  52. package/es-modules/Extensions/Breadcrumbs.js +2 -2
  53. package/es-modules/Extensions/Data.js +2 -2
  54. package/es-modules/Extensions/DataGrouping/ApproximationDefaults.js +157 -0
  55. package/es-modules/Extensions/DataGrouping/ApproximationRegistry.js +35 -0
  56. package/es-modules/Extensions/DataGrouping/DataGrouping.js +469 -0
  57. package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +174 -0
  58. package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +143 -0
  59. package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +479 -0
  60. package/es-modules/Extensions/Debugger/Debugger.js +1 -1
  61. package/es-modules/Extensions/DraggablePoints.js +6 -2
  62. package/es-modules/Extensions/Drilldown.js +3 -5
  63. package/es-modules/Extensions/ExportData/ExportData.js +31 -5
  64. package/es-modules/Extensions/Exporting/Exporting.js +47 -60
  65. package/es-modules/Extensions/Exporting/ExportingDefaults.js +22 -24
  66. package/es-modules/Extensions/GeoJSON.js +3 -1
  67. package/es-modules/Extensions/MarkerClusters.js +1 -1
  68. package/es-modules/Extensions/NoDataToDisplay.js +1 -1
  69. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +5 -5
  70. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  71. package/es-modules/Extensions/Oldie/Oldie.js +3 -3
  72. package/es-modules/Extensions/Oldie/VMLRenderer3D.js +1 -1
  73. package/es-modules/Extensions/OldiePolyfills.js +3 -1
  74. package/es-modules/Extensions/Pane.js +42 -5
  75. package/es-modules/Extensions/ParallelCoordinates.js +5 -1
  76. package/es-modules/Extensions/PatternFill.js +10 -10
  77. package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +2 -2
  78. package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +4 -0
  79. package/es-modules/Extensions/Sonification/Sonification.js +1 -1
  80. package/es-modules/Extensions/Themes/Avocado.js +1 -1
  81. package/es-modules/Extensions/Themes/BrandDark.js +1 -1
  82. package/es-modules/Extensions/Themes/BrandLight.js +1 -1
  83. package/es-modules/Extensions/Themes/DarkBlue.js +1 -1
  84. package/es-modules/Extensions/Themes/DarkGreen.js +1 -1
  85. package/es-modules/Extensions/Themes/DarkUnica.js +1 -1
  86. package/es-modules/Extensions/Themes/Gray.js +1 -1
  87. package/es-modules/Extensions/Themes/Grid.js +1 -1
  88. package/es-modules/Extensions/Themes/GridLight.js +1 -1
  89. package/es-modules/Extensions/Themes/HighContrastDark.js +1 -1
  90. package/es-modules/Extensions/Themes/HighContrastLight.js +1 -1
  91. package/es-modules/Extensions/Themes/SandSignika.js +1 -1
  92. package/es-modules/Extensions/Themes/Skies.js +1 -1
  93. package/es-modules/Extensions/Themes/Sunset.js +1 -1
  94. package/es-modules/Gantt/Connection.js +5 -5
  95. package/es-modules/Gantt/Pathfinder.js +6 -6
  96. package/es-modules/Maps/MapNavigation.js +1 -1
  97. package/es-modules/Maps/{MapNavigationOptionsDefault.js → MapNavigationDefaults.js} +4 -4
  98. package/es-modules/Maps/MapViewOptionsDefault.js +4 -4
  99. package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -5
  100. package/es-modules/Series/AreaRange/AreaRangePoint.js +6 -10
  101. package/es-modules/Series/AreaRange/AreaRangeSeries.js +59 -48
  102. package/es-modules/Series/BoxPlot/BoxPlotSeries.js +4 -1
  103. package/es-modules/Series/Bubble/BubbleLegendComposition.js +22 -16
  104. package/es-modules/Series/Bubble/BubbleLegendItem.js +17 -21
  105. package/es-modules/Series/Candlestick/CandlestickSeries.js +15 -175
  106. package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +179 -0
  107. package/es-modules/Series/Column/ColumnSeries.js +25 -506
  108. package/es-modules/Series/Column/ColumnSeriesDefaults.js +487 -0
  109. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +40 -36
  110. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +2 -106
  111. package/es-modules/Series/DependencyWheel/DependencyWheelSeriesDefaults.js +183 -0
  112. package/es-modules/Series/DotPlot/DotPlotSeries.js +11 -12
  113. package/es-modules/Series/DrawPointUtilities.js +2 -14
  114. package/es-modules/Series/Dumbbell/DumbbellPoint.js +5 -4
  115. package/es-modules/Series/Dumbbell/DumbbellSeries.js +11 -7
  116. package/es-modules/Series/ErrorBar/ErrorBarSeries.js +19 -136
  117. package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +147 -0
  118. package/es-modules/Series/Flags/FlagsPoint.js +2 -3
  119. package/es-modules/Series/Flags/FlagsSeries.js +31 -298
  120. package/es-modules/Series/Flags/FlagsSeriesDefaults.js +295 -0
  121. package/es-modules/Series/Flags/FlagsSymbols.js +96 -71
  122. package/es-modules/Series/HLC/HLCPoint.js +2 -2
  123. package/es-modules/Series/HLC/HLCSeries.js +7 -172
  124. package/es-modules/Series/HLC/HLCSeriesDefaults.js +184 -0
  125. package/es-modules/Series/Heatmap/HeatmapSeries.js +3 -0
  126. package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -20
  127. package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +78 -139
  128. package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +102 -0
  129. package/es-modules/Series/Item/ItemPoint.js +0 -1
  130. package/es-modules/Series/Item/ItemSeries.js +13 -8
  131. package/es-modules/Series/Line/LineSeries.js +8 -4
  132. package/es-modules/Series/Map/MapPoint.js +19 -1
  133. package/es-modules/Series/Map/MapSeries.js +7 -3
  134. package/es-modules/Series/MapBubble/MapBubbleSeries.js +4 -0
  135. package/es-modules/Series/MapPoint/MapPointPoint.js +0 -5
  136. package/es-modules/Series/MapPoint/MapPointSeries.js +24 -9
  137. package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +2 -5
  138. package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +2 -0
  139. package/es-modules/Series/OHLC/OHLCPoint.js +0 -2
  140. package/es-modules/Series/OHLC/OHLCSeries.js +64 -160
  141. package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +151 -0
  142. package/es-modules/Series/Organization/OrganizationPoint.js +0 -2
  143. package/es-modules/Series/Organization/OrganizationSeries.js +96 -469
  144. package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +415 -0
  145. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -10
  146. package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -0
  147. package/es-modules/Series/PathUtilities.js +74 -0
  148. package/es-modules/Series/Pie/PieSeries.js +2 -644
  149. package/es-modules/Series/Pie/PieSeriesDefaults.js +660 -0
  150. package/es-modules/Series/PolarComposition.js +233 -15
  151. package/es-modules/Series/Sankey/SankeySeries.js +27 -530
  152. package/es-modules/Series/Sankey/SankeySeriesDefaults.js +522 -0
  153. package/es-modules/Series/Scatter/ScatterSeries.js +2 -172
  154. package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +188 -0
  155. package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +12 -182
  156. package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +199 -0
  157. package/es-modules/Series/Sunburst/SunburstNode.js +34 -0
  158. package/es-modules/Series/Sunburst/SunburstPoint.js +2 -1
  159. package/es-modules/Series/Sunburst/SunburstSeries.js +3 -1
  160. package/es-modules/Series/Timeline/TimelineSeries.js +2 -231
  161. package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +248 -0
  162. package/es-modules/Series/TreeUtilities.js +1 -2
  163. package/es-modules/Series/Treegraph/TreegraphLayout.js +338 -0
  164. package/es-modules/Series/Treegraph/TreegraphLink.js +92 -0
  165. package/es-modules/Series/Treegraph/TreegraphNode.js +206 -0
  166. package/es-modules/Series/Treegraph/TreegraphPoint.js +175 -0
  167. package/es-modules/Series/Treegraph/TreegraphSeries.js +510 -0
  168. package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +231 -0
  169. package/es-modules/Series/Treemap/TreemapNode.js +48 -0
  170. package/es-modules/Series/Treemap/TreemapPoint.js +2 -1
  171. package/es-modules/Series/Treemap/TreemapSeries.js +29 -27
  172. package/es-modules/Series/Variwide/VariwideComposition.js +70 -26
  173. package/es-modules/Series/Variwide/VariwidePoint.js +8 -7
  174. package/es-modules/Series/Variwide/VariwideSeries.js +19 -14
  175. package/es-modules/Series/Vector/VectorSeries.js +2 -2
  176. package/es-modules/Series/Venn/VennSeries.js +14 -0
  177. package/es-modules/Series/Waterfall/WaterfallSeries.js +0 -1
  178. package/es-modules/Series/Windbarb/WindbarbSeries.js +3 -2
  179. package/es-modules/Series/Wordcloud/WordcloudSeries.js +3 -0
  180. package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -2
  181. package/es-modules/Stock/Indicators/BB/BBIndicator.js +15 -4
  182. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +21 -18
  183. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +1 -2
  184. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -2
  185. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +1 -1
  186. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +0 -1
  187. package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +3 -4
  188. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -2
  189. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +6 -7
  190. package/es-modules/{Core → Stock/Navigator}/Navigator.js +112 -686
  191. package/es-modules/Stock/Navigator/NavigatorComposition.js +218 -0
  192. package/es-modules/Stock/Navigator/NavigatorDefaults.js +490 -0
  193. package/es-modules/Stock/Navigator/NavigatorSymbols.js +44 -0
  194. package/es-modules/{Extensions → Stock/RangeSelector}/RangeSelector.js +154 -818
  195. package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +286 -0
  196. package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +521 -0
  197. package/es-modules/{Core → Stock/Scrollbar}/Scrollbar.js +4 -4
  198. package/es-modules/{Core → Stock/Scrollbar}/ScrollbarDefaults.js +1 -1
  199. package/es-modules/Stock/{StockToolbar.js → StockTools/StockToolbar.js} +2 -2
  200. package/es-modules/Stock/{StockTools.js → StockTools/StockTools.js} +3 -3
  201. package/es-modules/Stock/{StockToolsBindings.js → StockTools/StockToolsBindings.js} +3 -3
  202. package/es-modules/Stock/{StockToolsDefaults.js → StockTools/StockToolsDefaults.js} +4 -4
  203. package/es-modules/Stock/{StockToolsGui.js → StockTools/StockToolsGui.js} +4 -4
  204. package/es-modules/Stock/{StockToolsUtilities.js → StockTools/StockToolsUtilities.js} +4 -4
  205. package/es-modules/masters/highcharts-3d.src.js +3 -5
  206. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  207. package/es-modules/masters/highcharts-more.src.js +1 -1
  208. package/es-modules/masters/highcharts.src.js +6 -6
  209. package/es-modules/masters/highmaps.src.js +1 -1
  210. package/es-modules/masters/highstock.src.js +1 -1
  211. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  212. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  213. package/es-modules/masters/indicators/ao.src.js +1 -1
  214. package/es-modules/masters/indicators/apo.src.js +1 -1
  215. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  216. package/es-modules/masters/indicators/aroon.src.js +1 -1
  217. package/es-modules/masters/indicators/atr.src.js +1 -1
  218. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  219. package/es-modules/masters/indicators/cci.src.js +1 -1
  220. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  221. package/es-modules/masters/indicators/cmf.src.js +1 -1
  222. package/es-modules/masters/indicators/cmo.src.js +1 -1
  223. package/es-modules/masters/indicators/dema.src.js +1 -1
  224. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  225. package/es-modules/masters/indicators/dmi.src.js +1 -1
  226. package/es-modules/masters/indicators/dpo.src.js +1 -1
  227. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  228. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  229. package/es-modules/masters/indicators/indicators.src.js +1 -1
  230. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  231. package/es-modules/masters/indicators/klinger.src.js +1 -1
  232. package/es-modules/masters/indicators/macd.src.js +1 -1
  233. package/es-modules/masters/indicators/mfi.src.js +1 -1
  234. package/es-modules/masters/indicators/momentum.src.js +1 -1
  235. package/es-modules/masters/indicators/natr.src.js +1 -1
  236. package/es-modules/masters/indicators/obv.src.js +1 -1
  237. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  238. package/es-modules/masters/indicators/ppo.src.js +1 -1
  239. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  240. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  241. package/es-modules/masters/indicators/psar.src.js +1 -1
  242. package/es-modules/masters/indicators/regressions.src.js +1 -1
  243. package/es-modules/masters/indicators/roc.src.js +1 -1
  244. package/es-modules/masters/indicators/rsi.src.js +1 -1
  245. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  246. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  247. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  248. package/es-modules/masters/indicators/tema.src.js +1 -1
  249. package/es-modules/masters/indicators/trendline.src.js +1 -1
  250. package/es-modules/masters/indicators/trix.src.js +1 -1
  251. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  252. package/es-modules/masters/indicators/vwap.src.js +1 -1
  253. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  254. package/es-modules/masters/indicators/wma.src.js +1 -1
  255. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  256. package/es-modules/masters/modules/accessibility.src.js +1 -1
  257. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  258. package/es-modules/masters/modules/annotations.src.js +1 -1
  259. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  260. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  261. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  262. package/es-modules/masters/modules/boost.src.js +1 -1
  263. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  264. package/es-modules/masters/modules/bullet.src.js +1 -1
  265. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  266. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  267. package/es-modules/masters/modules/cylinder.src.js +1 -1
  268. package/es-modules/masters/modules/data.src.js +1 -1
  269. package/es-modules/masters/modules/datagrouping.src.js +11 -3
  270. package/es-modules/masters/modules/debugger.src.js +1 -1
  271. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  272. package/es-modules/masters/modules/dotplot.src.js +1 -1
  273. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  274. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  275. package/es-modules/masters/modules/drilldown.src.js +1 -1
  276. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  277. package/es-modules/masters/modules/export-data.src.js +1 -1
  278. package/es-modules/masters/modules/exporting.src.js +1 -1
  279. package/es-modules/masters/modules/full-screen.src.js +1 -1
  280. package/es-modules/masters/modules/funnel.src.js +1 -1
  281. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  282. package/es-modules/masters/modules/gantt.src.js +9 -5
  283. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  284. package/es-modules/masters/modules/heatmap.src.js +1 -1
  285. package/es-modules/masters/modules/heikinashi.src.js +5 -2
  286. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  287. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  288. package/es-modules/masters/modules/item-series.src.js +1 -1
  289. package/es-modules/masters/modules/lollipop.src.js +1 -1
  290. package/es-modules/masters/modules/map.src.js +1 -1
  291. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  292. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  293. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  294. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  295. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  296. package/es-modules/masters/modules/oldie.src.js +1 -1
  297. package/es-modules/masters/modules/organization.src.js +1 -1
  298. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  299. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  300. package/es-modules/masters/modules/pareto.src.js +1 -1
  301. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  302. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  303. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  304. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  305. package/es-modules/masters/modules/sankey.src.js +1 -1
  306. package/es-modules/masters/modules/series-label.src.js +1 -1
  307. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  308. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  309. package/es-modules/masters/modules/sonification.src.js +1 -1
  310. package/es-modules/masters/modules/static-scale.src.js +1 -1
  311. package/es-modules/masters/modules/stock-tools.src.js +4 -4
  312. package/es-modules/masters/modules/stock.src.js +17 -11
  313. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  314. package/es-modules/masters/modules/sunburst.src.js +1 -1
  315. package/es-modules/masters/modules/tilemap.src.js +1 -1
  316. package/es-modules/masters/modules/timeline.src.js +1 -1
  317. package/es-modules/masters/modules/treegraph.src.js +13 -0
  318. package/es-modules/masters/modules/treegrid.src.js +1 -1
  319. package/es-modules/masters/modules/treemap.src.js +1 -1
  320. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  321. package/es-modules/masters/modules/variwide.src.js +5 -2
  322. package/es-modules/masters/modules/vector.src.js +1 -1
  323. package/es-modules/masters/modules/venn.src.js +1 -1
  324. package/es-modules/masters/modules/windbarb.src.js +1 -1
  325. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  326. package/es-modules/masters/modules/xrange.src.js +1 -1
  327. package/es-modules/masters/themes/avocado.src.js +1 -1
  328. package/es-modules/masters/themes/brand-dark.src.js +1 -1
  329. package/es-modules/masters/themes/brand-light.src.js +1 -1
  330. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  331. package/es-modules/masters/themes/dark-green.src.js +1 -1
  332. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  333. package/es-modules/masters/themes/gray.src.js +1 -1
  334. package/es-modules/masters/themes/grid-light.src.js +1 -1
  335. package/es-modules/masters/themes/grid.src.js +1 -1
  336. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  337. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  338. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  339. package/es-modules/masters/themes/skies.src.js +1 -1
  340. package/es-modules/masters/themes/sunset.src.js +1 -1
  341. package/highcharts-3d.js +97 -98
  342. package/highcharts-3d.js.map +1 -1
  343. package/highcharts-3d.src.js +476 -449
  344. package/highcharts-gantt.js +811 -808
  345. package/highcharts-gantt.js.map +1 -1
  346. package/highcharts-gantt.src.js +14619 -14112
  347. package/highcharts-more.d.ts +0 -8
  348. package/highcharts-more.js +208 -201
  349. package/highcharts-more.js.map +1 -1
  350. package/highcharts-more.src.d.ts +0 -8
  351. package/highcharts-more.src.js +679 -289
  352. package/highcharts.d.ts +30739 -6156
  353. package/highcharts.js +590 -589
  354. package/highcharts.js.map +1 -1
  355. package/highcharts.src.d.ts +30739 -6156
  356. package/highcharts.src.js +1988 -1799
  357. package/highmaps.js +759 -757
  358. package/highmaps.js.map +1 -1
  359. package/highmaps.src.js +2339 -2077
  360. package/highstock.js +802 -794
  361. package/highstock.js.map +1 -1
  362. package/highstock.src.js +12349 -11416
  363. package/indicators/acceleration-bands.js +1 -1
  364. package/indicators/acceleration-bands.src.js +1 -1
  365. package/indicators/accumulation-distribution.js +1 -1
  366. package/indicators/accumulation-distribution.src.js +1 -1
  367. package/indicators/ao.js +6 -6
  368. package/indicators/ao.js.map +1 -1
  369. package/indicators/ao.src.js +4 -3
  370. package/indicators/apo.js +1 -1
  371. package/indicators/apo.src.js +1 -1
  372. package/indicators/aroon-oscillator.js +1 -1
  373. package/indicators/aroon-oscillator.src.js +1 -1
  374. package/indicators/aroon.js +1 -1
  375. package/indicators/aroon.src.js +1 -1
  376. package/indicators/atr.js +1 -1
  377. package/indicators/atr.src.js +1 -1
  378. package/indicators/bollinger-bands.js +1 -1
  379. package/indicators/bollinger-bands.js.map +1 -1
  380. package/indicators/bollinger-bands.src.js +16 -5
  381. package/indicators/cci.js +1 -1
  382. package/indicators/cci.src.js +1 -1
  383. package/indicators/chaikin.js +1 -1
  384. package/indicators/chaikin.src.js +1 -1
  385. package/indicators/cmf.js +1 -1
  386. package/indicators/cmf.src.js +1 -1
  387. package/indicators/cmo.d.ts +17 -0
  388. package/indicators/cmo.js +1 -1
  389. package/indicators/cmo.src.d.ts +17 -0
  390. package/indicators/cmo.src.js +1 -1
  391. package/indicators/dema.js +1 -1
  392. package/indicators/dema.src.js +1 -1
  393. package/indicators/disparity-index.d.ts +17 -0
  394. package/indicators/disparity-index.js +1 -1
  395. package/indicators/disparity-index.src.d.ts +17 -0
  396. package/indicators/disparity-index.src.js +1 -1
  397. package/indicators/dmi.d.ts +17 -0
  398. package/indicators/dmi.js +1 -1
  399. package/indicators/dmi.src.d.ts +17 -0
  400. package/indicators/dmi.src.js +1 -1
  401. package/indicators/dpo.js +1 -1
  402. package/indicators/dpo.src.js +1 -1
  403. package/indicators/ichimoku-kinko-hyo.js +14 -14
  404. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  405. package/indicators/ichimoku-kinko-hyo.src.js +22 -19
  406. package/indicators/indicators-all.js +198 -199
  407. package/indicators/indicators-all.js.map +1 -1
  408. package/indicators/indicators-all.src.js +63 -57
  409. package/indicators/indicators.js +13 -13
  410. package/indicators/indicators.js.map +1 -1
  411. package/indicators/indicators.src.js +1 -15
  412. package/indicators/keltner-channels.js +1 -1
  413. package/indicators/keltner-channels.src.js +1 -1
  414. package/indicators/klinger.d.ts +17 -0
  415. package/indicators/klinger.js +12 -12
  416. package/indicators/klinger.js.map +1 -1
  417. package/indicators/klinger.src.d.ts +17 -0
  418. package/indicators/klinger.src.js +4 -3
  419. package/indicators/macd.js +1 -1
  420. package/indicators/macd.js.map +1 -1
  421. package/indicators/macd.src.js +4 -3
  422. package/indicators/mfi.js +1 -1
  423. package/indicators/mfi.src.js +1 -1
  424. package/indicators/momentum.js +1 -1
  425. package/indicators/momentum.src.js +1 -1
  426. package/indicators/natr.js +1 -1
  427. package/indicators/natr.src.js +1 -1
  428. package/indicators/obv.d.ts +17 -0
  429. package/indicators/obv.js +1 -1
  430. package/indicators/obv.src.d.ts +17 -0
  431. package/indicators/obv.src.js +1 -1
  432. package/indicators/pivot-points.js +2 -2
  433. package/indicators/pivot-points.js.map +1 -1
  434. package/indicators/pivot-points.src.js +2 -2
  435. package/indicators/ppo.js +1 -1
  436. package/indicators/ppo.src.js +1 -1
  437. package/indicators/price-channel.js +1 -1
  438. package/indicators/price-channel.src.js +1 -1
  439. package/indicators/price-envelopes.js +1 -1
  440. package/indicators/price-envelopes.src.js +1 -1
  441. package/indicators/psar.js +1 -1
  442. package/indicators/psar.src.js +1 -1
  443. package/indicators/regressions.js +1 -1
  444. package/indicators/regressions.src.js +1 -1
  445. package/indicators/roc.js +1 -1
  446. package/indicators/roc.src.js +1 -1
  447. package/indicators/rsi.js +1 -1
  448. package/indicators/rsi.src.js +1 -1
  449. package/indicators/slow-stochastic.js +5 -5
  450. package/indicators/slow-stochastic.js.map +1 -1
  451. package/indicators/slow-stochastic.src.js +6 -5
  452. package/indicators/stochastic.js +1 -1
  453. package/indicators/stochastic.src.js +1 -1
  454. package/indicators/supertrend.js +7 -7
  455. package/indicators/supertrend.js.map +1 -1
  456. package/indicators/supertrend.src.js +4 -3
  457. package/indicators/tema.js +1 -1
  458. package/indicators/tema.src.js +1 -1
  459. package/indicators/trendline.js +1 -1
  460. package/indicators/trendline.src.js +1 -1
  461. package/indicators/trix.js +1 -1
  462. package/indicators/trix.src.js +1 -1
  463. package/indicators/volume-by-price.js +17 -17
  464. package/indicators/volume-by-price.js.map +1 -1
  465. package/indicators/volume-by-price.src.js +9 -8
  466. package/indicators/vwap.js +1 -1
  467. package/indicators/vwap.src.js +1 -1
  468. package/indicators/williams-r.js +1 -1
  469. package/indicators/williams-r.src.js +1 -1
  470. package/indicators/wma.js +1 -1
  471. package/indicators/wma.src.js +1 -1
  472. package/indicators/zigzag.js +1 -1
  473. package/indicators/zigzag.src.js +1 -1
  474. package/modules/accessibility.js +214 -213
  475. package/modules/accessibility.js.map +1 -1
  476. package/modules/accessibility.src.js +991 -835
  477. package/modules/annotations-advanced.js +16 -16
  478. package/modules/annotations-advanced.js.map +1 -1
  479. package/modules/annotations-advanced.src.js +29 -24
  480. package/modules/annotations.js +91 -91
  481. package/modules/annotations.js.map +1 -1
  482. package/modules/annotations.src.js +29 -24
  483. package/modules/arc-diagram.d.ts +17 -0
  484. package/modules/arc-diagram.js +15 -15
  485. package/modules/arc-diagram.js.map +1 -1
  486. package/modules/arc-diagram.src.d.ts +17 -0
  487. package/modules/arc-diagram.src.js +6 -6
  488. package/modules/arrow-symbols.js +1 -1
  489. package/modules/arrow-symbols.src.js +1 -1
  490. package/modules/boost-canvas.js +19 -19
  491. package/modules/boost-canvas.js.map +1 -1
  492. package/modules/boost-canvas.src.js +13 -8
  493. package/modules/boost.js +37 -37
  494. package/modules/boost.js.map +1 -1
  495. package/modules/boost.src.js +13 -8
  496. package/modules/broken-axis.js +1 -1
  497. package/modules/broken-axis.src.js +1 -1
  498. package/modules/bullet.js +1 -1
  499. package/modules/bullet.src.js +1 -1
  500. package/modules/coloraxis.js +25 -24
  501. package/modules/coloraxis.js.map +1 -1
  502. package/modules/coloraxis.src.js +77 -58
  503. package/modules/current-date-indicator.js +1 -1
  504. package/modules/current-date-indicator.src.js +1 -1
  505. package/modules/cylinder.js +1 -1
  506. package/modules/cylinder.src.js +1 -1
  507. package/modules/data.js +27 -27
  508. package/modules/data.js.map +1 -1
  509. package/modules/data.src.js +3 -3
  510. package/modules/datagrouping.d.ts +31 -0
  511. package/modules/datagrouping.js +23 -21
  512. package/modules/datagrouping.js.map +1 -1
  513. package/modules/datagrouping.src.d.ts +31 -0
  514. package/modules/datagrouping.src.js +921 -640
  515. package/modules/debugger.js +3 -3
  516. package/modules/debugger.js.map +1 -1
  517. package/modules/debugger.src.js +2 -2
  518. package/modules/dependency-wheel.js +12 -12
  519. package/modules/dependency-wheel.js.map +1 -1
  520. package/modules/dependency-wheel.src.js +191 -108
  521. package/modules/dotplot.js +6 -6
  522. package/modules/dotplot.js.map +1 -1
  523. package/modules/dotplot.src.js +10 -13
  524. package/modules/drag-panes.js +1 -1
  525. package/modules/drag-panes.src.js +1 -1
  526. package/modules/draggable-points.js +5 -5
  527. package/modules/draggable-points.js.map +1 -1
  528. package/modules/draggable-points.src.js +7 -3
  529. package/modules/drilldown.js +37 -37
  530. package/modules/drilldown.js.map +1 -1
  531. package/modules/drilldown.src.js +5 -6
  532. package/modules/dumbbell.js +17 -17
  533. package/modules/dumbbell.js.map +1 -1
  534. package/modules/dumbbell.src.js +27 -22
  535. package/modules/export-data.js +26 -25
  536. package/modules/export-data.js.map +1 -1
  537. package/modules/export-data.src.js +33 -6
  538. package/modules/exporting.js +36 -35
  539. package/modules/exporting.js.map +1 -1
  540. package/modules/exporting.src.js +81 -88
  541. package/modules/full-screen.js +1 -1
  542. package/modules/full-screen.src.js +1 -1
  543. package/modules/funnel.js +1 -1
  544. package/modules/funnel.src.js +1 -1
  545. package/modules/funnel3d.js +1 -1
  546. package/modules/funnel3d.src.js +1 -1
  547. package/modules/gantt.js +221 -219
  548. package/modules/gantt.js.map +1 -1
  549. package/modules/gantt.src.js +12842 -12524
  550. package/modules/grid-axis.js +1 -1
  551. package/modules/grid-axis.src.js +1 -1
  552. package/modules/heatmap.js +40 -40
  553. package/modules/heatmap.js.map +1 -1
  554. package/modules/heatmap.src.js +80 -58
  555. package/modules/heikinashi.d.ts +17 -0
  556. package/modules/heikinashi.js +9 -8
  557. package/modules/heikinashi.js.map +1 -1
  558. package/modules/heikinashi.src.d.ts +17 -0
  559. package/modules/heikinashi.src.js +192 -165
  560. package/modules/histogram-bellcurve.js +1 -1
  561. package/modules/histogram-bellcurve.src.js +1 -1
  562. package/modules/hollowcandlestick.d.ts +17 -0
  563. package/modules/hollowcandlestick.js +1 -1
  564. package/modules/hollowcandlestick.src.d.ts +17 -0
  565. package/modules/hollowcandlestick.src.js +1 -1
  566. package/modules/item-series.js +12 -12
  567. package/modules/item-series.js.map +1 -1
  568. package/modules/item-series.src.js +14 -10
  569. package/modules/lollipop.js +1 -1
  570. package/modules/lollipop.src.js +1 -1
  571. package/modules/map.js +172 -171
  572. package/modules/map.js.map +1 -1
  573. package/modules/map.src.js +194 -121
  574. package/modules/marker-clusters.js +2 -2
  575. package/modules/marker-clusters.js.map +1 -1
  576. package/modules/marker-clusters.src.js +2 -2
  577. package/modules/networkgraph.js +8 -8
  578. package/modules/networkgraph.js.map +1 -1
  579. package/modules/networkgraph.src.js +5 -6
  580. package/modules/no-data-to-display.js +4 -4
  581. package/modules/no-data-to-display.js.map +1 -1
  582. package/modules/no-data-to-display.src.js +2 -2
  583. package/modules/offline-exporting.js +4 -4
  584. package/modules/offline-exporting.js.map +1 -1
  585. package/modules/offline-exporting.src.js +7 -7
  586. package/modules/oldie-polyfills.js +7 -7
  587. package/modules/oldie-polyfills.js.map +1 -1
  588. package/modules/oldie-polyfills.src.js +9 -7
  589. package/modules/oldie.js +30 -30
  590. package/modules/oldie.js.map +1 -1
  591. package/modules/oldie.src.js +5 -5
  592. package/modules/organization.js +18 -16
  593. package/modules/organization.js.map +1 -1
  594. package/modules/organization.src.js +659 -495
  595. package/modules/overlapping-datalabels.js +1 -1
  596. package/modules/overlapping-datalabels.src.js +1 -1
  597. package/modules/parallel-coordinates.js +10 -10
  598. package/modules/parallel-coordinates.js.map +1 -1
  599. package/modules/parallel-coordinates.src.js +6 -2
  600. package/modules/pareto.js +1 -1
  601. package/modules/pareto.src.js +1 -1
  602. package/modules/pathfinder.js +31 -31
  603. package/modules/pathfinder.js.map +1 -1
  604. package/modules/pathfinder.src.js +19 -23
  605. package/modules/pattern-fill.js +2 -2
  606. package/modules/pattern-fill.js.map +1 -1
  607. package/modules/pattern-fill.src.js +11 -11
  608. package/modules/price-indicator.js +1 -1
  609. package/modules/price-indicator.src.js +1 -1
  610. package/modules/pyramid3d.js +1 -1
  611. package/modules/pyramid3d.src.js +1 -1
  612. package/modules/sankey.js +33 -32
  613. package/modules/sankey.js.map +1 -1
  614. package/modules/sankey.src.js +571 -550
  615. package/modules/series-label.js +17 -17
  616. package/modules/series-label.js.map +1 -1
  617. package/modules/series-label.src.js +7 -3
  618. package/modules/series-on-point.d.ts +17 -0
  619. package/modules/series-on-point.js +1 -1
  620. package/modules/series-on-point.src.d.ts +17 -0
  621. package/modules/series-on-point.src.js +1 -1
  622. package/modules/solid-gauge.js +11 -10
  623. package/modules/solid-gauge.js.map +1 -1
  624. package/modules/solid-gauge.src.js +220 -192
  625. package/modules/sonification.js +2 -2
  626. package/modules/sonification.js.map +1 -1
  627. package/modules/sonification.src.js +2 -2
  628. package/modules/static-scale.js +1 -1
  629. package/modules/static-scale.src.js +1 -1
  630. package/modules/stock-tools.js +59 -59
  631. package/modules/stock-tools.js.map +1 -1
  632. package/modules/stock-tools.src.js +19 -21
  633. package/modules/stock.d.ts +26 -6
  634. package/modules/stock.js +212 -205
  635. package/modules/stock.js.map +1 -1
  636. package/modules/stock.src.d.ts +26 -6
  637. package/modules/stock.src.js +11361 -10617
  638. package/modules/streamgraph.js +1 -1
  639. package/modules/streamgraph.src.js +1 -1
  640. package/modules/sunburst.js +75 -73
  641. package/modules/sunburst.js.map +1 -1
  642. package/modules/sunburst.src.js +133 -57
  643. package/modules/tilemap.js +1 -1
  644. package/modules/tilemap.src.js +1 -1
  645. package/modules/timeline.js +18 -18
  646. package/modules/timeline.js.map +1 -1
  647. package/modules/timeline.src.js +257 -233
  648. package/modules/treegraph.d.ts +17 -0
  649. package/modules/treegraph.js +44 -0
  650. package/modules/treegraph.js.map +1 -0
  651. package/modules/treegraph.src.d.ts +17 -0
  652. package/modules/treegraph.src.js +1829 -0
  653. package/modules/treegrid.js +2 -2
  654. package/modules/treegrid.js.map +1 -1
  655. package/modules/treegrid.src.js +2 -3
  656. package/modules/treemap.js +54 -53
  657. package/modules/treemap.js.map +1 -1
  658. package/modules/treemap.src.js +90 -52
  659. package/modules/variable-pie.js +1 -1
  660. package/modules/variable-pie.src.js +1 -1
  661. package/modules/variwide.js +12 -12
  662. package/modules/variwide.js.map +1 -1
  663. package/modules/variwide.src.js +158 -106
  664. package/modules/vector.js +1 -1
  665. package/modules/vector.src.js +3 -3
  666. package/modules/venn.js +31 -31
  667. package/modules/venn.js.map +1 -1
  668. package/modules/venn.src.js +17 -16
  669. package/modules/windbarb.js +15 -15
  670. package/modules/windbarb.js.map +1 -1
  671. package/modules/windbarb.src.js +41 -4
  672. package/modules/wordcloud.js +23 -23
  673. package/modules/wordcloud.js.map +1 -1
  674. package/modules/wordcloud.src.js +6 -15
  675. package/modules/xrange.js +1 -1
  676. package/modules/xrange.src.js +1 -1
  677. package/package.json +1 -1
  678. package/themes/avocado.js +2 -3
  679. package/themes/avocado.js.map +1 -1
  680. package/themes/avocado.src.js +2 -2
  681. package/themes/brand-dark.d.ts +22 -0
  682. package/themes/brand-dark.js +3 -3
  683. package/themes/brand-dark.js.map +1 -1
  684. package/themes/brand-dark.src.d.ts +22 -0
  685. package/themes/brand-dark.src.js +2 -2
  686. package/themes/brand-light.d.ts +22 -0
  687. package/themes/brand-light.js +2 -2
  688. package/themes/brand-light.js.map +1 -1
  689. package/themes/brand-light.src.d.ts +22 -0
  690. package/themes/brand-light.src.js +2 -2
  691. package/themes/dark-blue.js +2 -2
  692. package/themes/dark-blue.js.map +1 -1
  693. package/themes/dark-blue.src.js +2 -2
  694. package/themes/dark-green.js +2 -2
  695. package/themes/dark-green.js.map +1 -1
  696. package/themes/dark-green.src.js +2 -2
  697. package/themes/dark-unica.js +2 -2
  698. package/themes/dark-unica.js.map +1 -1
  699. package/themes/dark-unica.src.js +2 -2
  700. package/themes/gray.js +2 -2
  701. package/themes/gray.js.map +1 -1
  702. package/themes/gray.src.js +2 -2
  703. package/themes/grid-light.js +2 -2
  704. package/themes/grid-light.js.map +1 -1
  705. package/themes/grid-light.src.js +2 -2
  706. package/themes/grid.js +2 -2
  707. package/themes/grid.js.map +1 -1
  708. package/themes/grid.src.js +2 -2
  709. package/themes/high-contrast-dark.d.ts +22 -0
  710. package/themes/high-contrast-dark.js +2 -2
  711. package/themes/high-contrast-dark.js.map +1 -1
  712. package/themes/high-contrast-dark.src.d.ts +22 -0
  713. package/themes/high-contrast-dark.src.js +2 -2
  714. package/themes/high-contrast-light.d.ts +22 -0
  715. package/themes/high-contrast-light.js +2 -2
  716. package/themes/high-contrast-light.js.map +1 -1
  717. package/themes/high-contrast-light.src.d.ts +22 -0
  718. package/themes/high-contrast-light.src.js +2 -2
  719. package/themes/sand-signika.js +2 -2
  720. package/themes/sand-signika.js.map +1 -1
  721. package/themes/sand-signika.src.js +2 -2
  722. package/themes/skies.js +2 -2
  723. package/themes/skies.js.map +1 -1
  724. package/themes/skies.src.js +2 -2
  725. package/themes/sunset.js +2 -2
  726. package/themes/sunset.js.map +1 -1
  727. package/themes/sunset.src.js +2 -2
  728. package/es-modules/Core/Axis/Axis3D.js +0 -612
  729. package/es-modules/Core/Axis/NavigatorAxis.js +0 -159
  730. package/es-modules/Core/Axis/Tick3D.js +0 -68
  731. package/es-modules/Extensions/DataGrouping.js +0 -1177
  732. package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -12
package/highcharts-3d.js CHANGED
@@ -1,105 +1,104 @@
1
1
  /*
2
- Highcharts JS v10.2.1 (2022-08-29)
2
+ Highcharts JS v10.3.1 (2022-10-31)
3
3
 
4
4
  3D features for Highcharts JS
5
5
 
6
6
  License: www.highcharts.com/license
7
7
  */
8
- (function(d){"object"===typeof module&&module.exports?(d["default"]=d,module.exports=d):"function"===typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(D){d(D);d.Highcharts=D;return d}):d("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(d){function D(d,u,x,B){d.hasOwnProperty(u)||(d[u]=B.apply(null,x),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:u,module:d[u]}})))}d=d?d._modules:{};D(d,"Core/Math3D.js",
9
- [d["Core/Globals.js"],d["Core/Utilities.js"]],function(d,u){function x(f,c,k,n){var b=c.options.chart.options3d,m=v(n,k?c.inverted:!1),e={x:c.plotWidth/2,y:c.plotHeight/2,z:b.depth/2,vd:v(b.depth,1)*v(b.viewDistance,0)},z=c.scale3d||1;n=y*b.beta*(m?-1:1);b=y*b.alpha*(m?-1:1);var a=Math.cos(b),l=Math.cos(-n),t=Math.sin(b),p=Math.sin(-n);k||(e.x+=c.plotLeft,e.y+=c.plotTop);return f.map(function(b){var c=(m?b.y:b.x)-e.x;var k=(m?b.x:b.y)-e.y;b=(b.z||0)-e.z;c={x:l*c-p*b,y:-t*p*c+a*k-l*t*b,z:a*p*c+t*k+
10
- a*l*b};k=A(c,e,e.vd);k.x=k.x*z+e.x;k.y=k.y*z+e.y;k.z=c.z*z+e.z;return{x:m?k.y:k.x,y:m?k.x:k.y,z:k.z}})}function A(f,c,k){c=0<k&&k<Number.POSITIVE_INFINITY?k/(f.z+c.z+k):1;return{x:f.x*c,y:f.y*c}}function f(f){var c=0,k;for(k=0;k<f.length;k++){var n=(k+1)%f.length;c+=f[k].x*f[n].y-f[n].x*f[k].y}return c/2}var y=d.deg2rad,v=u.pick;return{perspective:x,perspective3D:A,pointCameraDistance:function(f,c){var k=c.options.chart.options3d,n=c.plotWidth/2;c=c.plotHeight/2;k=v(k.depth,1)*v(k.viewDistance,0)+
11
- k.depth;return Math.sqrt(Math.pow(n-v(f.plotX,f.x),2)+Math.pow(c-v(f.plotY,f.y),2)+Math.pow(k-v(f.plotZ,f.z),2))},shapeArea:f,shapeArea3D:function(d,c,k){return f(x(d,c,k))}}});D(d,"Core/Renderer/SVG/SVGElement3D.js",[d["Core/Color/Color.js"],d["Core/Renderer/SVG/SVGElement.js"],d["Core/Utilities.js"]],function(d,u,x){var A=d.parse,f=x.defined;d=x.merge;var y=x.objectEach,v=x.pick,E={base:{initArgs:function(c){var f=this,n=f.renderer,b=n[f.pathType+"Path"](c),d=b.zIndexes;f.parts.forEach(function(e){var c=
12
- {"class":"highcharts-3d-"+e,zIndex:d[e]||0};n.styledMode&&("top"===e?c.filter="url(#highcharts-brighter)":"side"===e&&(c.filter="url(#highcharts-darker)"));f[e]=n.path(b[e]).attr(c).add(f)});f.attr({"stroke-linejoin":"round",zIndex:d.group});f.originalDestroy=f.destroy;f.destroy=f.destroyParts;f.forcedSides=b.forcedSides},singleSetterForParts:function(f,k,n,b,d,e){var c={};b=[null,null,b||"attr",d,e];var a=n&&n.zIndexes;n?(a&&a.group&&this.attr({zIndex:a.group}),y(n,function(b,e){c[e]={};c[e][f]=
13
- b;a&&(c[e].zIndex=n.zIndexes[e]||0)}),b[1]=c):(c[f]=k,b[0]=c);return this.processParts.apply(this,b)},processParts:function(f,k,d,b,m){var e=this;e.parts.forEach(function(c){k&&(f=v(k[c],!1));if(!1!==f)e[c][d](f,b,m)});return e},destroyParts:function(){this.processParts(null,null,"destroy");return this.originalDestroy()}}};E.cuboid=d(E.base,{parts:["front","top","side"],pathType:"cuboid",attr:function(c,k,d,b){if("string"===typeof c&&"undefined"!==typeof k){var n=c;c={};c[n]=k}return c.shapeArgs||
14
- f(c.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](c.shapeArgs||c)):u.prototype.attr.call(this,c,void 0,d,b)},animate:function(c,k,d){if(f(c.x)&&f(c.y)){c=this.renderer[this.pathType+"Path"](c);var b=c.forcedSides;this.singleSetterForParts("d",null,c,"animate",k,d);this.attr({zIndex:c.zIndexes.group});b!==this.forcedSides&&(this.forcedSides=b,this.renderer.styledMode||E.cuboid.fillSetter.call(this,this.fill))}else u.prototype.animate.call(this,c,k,d);return this},fillSetter:function(f){this.forcedSides=
15
- this.forcedSides||[];this.singleSetterForParts("fill",null,{front:f,top:A(f).brighten(0<=this.forcedSides.indexOf("top")?0:.1).get(),side:A(f).brighten(0<=this.forcedSides.indexOf("side")?0:-.1).get()});this.color=this.fill=f;return this}});return E});D(d,"Core/Renderer/SVG/SVGRenderer3D.js",[d["Core/Animation/AnimationUtilities.js"],d["Core/Color/Color.js"],d["Core/Globals.js"],d["Core/Math3D.js"],d["Core/Renderer/SVG/SVGElement.js"],d["Core/Renderer/SVG/SVGElement3D.js"],d["Core/Renderer/SVG/SVGRenderer.js"],
16
- d["Core/Utilities.js"]],function(d,u,x,B,f,y,v,E){var c=this&&this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,h){a.__proto__=h}||function(a,h){for(var r in h)h.hasOwnProperty(r)&&(a[r]=h[r])};return a(b,f)};return function(b,f){function e(){this.constructor=b}a(b,f);b.prototype=null===f?Object.create(f):(e.prototype=f.prototype,new e)}}(),k=d.animObject,n=u.parse,b=x.charts,m=x.deg2rad,e=B.perspective,z=B.shapeArea,a=E.defined,l=E.extend,
17
- t=E.merge,p=E.pick,G=Math.cos,H=Math.sin,I=Math.PI,F=4*(Math.sqrt(2)-1)/3/(I/2);return function(d){function w(){return null!==d&&d.apply(this,arguments)||this}c(w,d);w.compose=function(a){a=a.prototype;var b=w.prototype;a.elements3d=y;a.arc3d=b.arc3d;a.arc3dPath=b.arc3dPath;a.cuboid=b.cuboid;a.cuboidPath=b.cuboidPath;a.element3d=b.element3d;a.face3d=b.face3d;a.polyhedron=b.polyhedron;a.toLinePath=b.toLinePath;a.toLineSegments=b.toLineSegments};w.curveTo=function(a,b,h,r,g,q,C,f){var e=[],l=q-g;return q>
18
- g&&q-g>Math.PI/2+.0001?(e=e.concat(this.curveTo(a,b,h,r,g,g+Math.PI/2,C,f)),e=e.concat(this.curveTo(a,b,h,r,g+Math.PI/2,q,C,f))):q<g&&g-q>Math.PI/2+.0001?(e=e.concat(this.curveTo(a,b,h,r,g,g-Math.PI/2,C,f)),e=e.concat(this.curveTo(a,b,h,r,g-Math.PI/2,q,C,f))):[["C",a+h*Math.cos(g)-h*F*l*Math.sin(g)+C,b+r*Math.sin(g)+r*F*l*Math.cos(g)+f,a+h*Math.cos(q)+h*F*l*Math.sin(q)+C,b+r*Math.sin(q)-r*F*l*Math.cos(q)+f,a+h*Math.cos(q)+C,b+r*Math.sin(q)+f]]};w.prototype.toLinePath=function(a,b){var h=[];a.forEach(function(a){h.push(["L",
19
- a.x,a.y])});a.length&&(h[0][0]="M",b&&h.push(["Z"]));return h};w.prototype.toLineSegments=function(a){var b=[],h=!0;a.forEach(function(a){b.push(h?["M",a.x,a.y]:["L",a.x,a.y]);h=!h});return b};w.prototype.face3d=function(l){var c=this,h=this.createElement("path");h.vertexes=[];h.insidePlotArea=!1;h.enabled=!0;h.attr=function(h){if("object"===typeof h&&(a(h.enabled)||a(h.vertexes)||a(h.insidePlotArea))){this.enabled=p(h.enabled,this.enabled);this.vertexes=p(h.vertexes,this.vertexes);this.insidePlotArea=
20
- p(h.insidePlotArea,this.insidePlotArea);delete h.enabled;delete h.vertexes;delete h.insidePlotArea;var g=e(this.vertexes,b[c.chartIndex],this.insidePlotArea),q=c.toLinePath(g,!0);g=z(g);h.d=q;h.visibility=this.enabled&&0<g?"inherit":"hidden"}return f.prototype.attr.apply(this,arguments)};h.animate=function(h){if("object"===typeof h&&(a(h.enabled)||a(h.vertexes)||a(h.insidePlotArea))){this.enabled=p(h.enabled,this.enabled);this.vertexes=p(h.vertexes,this.vertexes);this.insidePlotArea=p(h.insidePlotArea,
21
- this.insidePlotArea);delete h.enabled;delete h.vertexes;delete h.insidePlotArea;var g=e(this.vertexes,b[c.chartIndex],this.insidePlotArea),q=c.toLinePath(g,!0);g=z(g);g=this.enabled&&0<g?"visible":"hidden";h.d=q;this.attr("visibility",g)}return f.prototype.animate.apply(this,arguments)};return h.attr(l)};w.prototype.polyhedron=function(b){var e=this,h=this.g(),r=h.destroy;this.styledMode||h.attr({"stroke-linejoin":"round"});h.faces=[];h.destroy=function(){for(var g=0;g<h.faces.length;g++)h.faces[g].destroy();
22
- return r.call(this)};h.attr=function(g,q,b,r){if("object"===typeof g&&a(g.faces)){for(;h.faces.length>g.faces.length;)h.faces.pop().destroy();for(;h.faces.length<g.faces.length;)h.faces.push(e.face3d().add(h));for(var C=0;C<g.faces.length;C++)e.styledMode&&delete g.faces[C].fill,h.faces[C].attr(g.faces[C],null,b,r);delete g.faces}return f.prototype.attr.apply(this,arguments)};h.animate=function(g,a,b){if(g&&g.faces){for(;h.faces.length>g.faces.length;)h.faces.pop().destroy();for(;h.faces.length<g.faces.length;)h.faces.push(e.face3d().add(h));
23
- for(var q=0;q<g.faces.length;q++)h.faces[q].animate(g.faces[q],a,b);delete g.faces}return f.prototype.animate.apply(this,arguments)};return h.attr(b)};w.prototype.element3d=function(a,b){var h=this.g();l(h,this.elements3d[a]);h.initArgs(b);return h};w.prototype.cuboid=function(a){return this.element3d("cuboid",a)};w.prototype.cuboidPath=function(a){function f(a){return 0===C&&1<a&&6>a?{x:t[a].x,y:t[a].y+10,z:t[a].z}:t[0].x===t[7].x&&4<=a?{x:t[a].x+10,y:t[a].y,z:t[a].z}:0===c&&2>a||5<a?{x:t[a].x,y:t[a].y,
24
- z:t[a].z+10}:t[a]}function h(a){return t[a]}var r=a.x||0,g=a.y||0,q=a.z||0,C=a.height||0,l=a.width||0,c=a.depth||0,p=b[this.chartIndex],d=p.options.chart.options3d.alpha,k=0,t=[{x:r,y:g,z:q},{x:r+l,y:g,z:q},{x:r+l,y:g+C,z:q},{x:r,y:g+C,z:q},{x:r,y:g+C,z:q+c},{x:r+l,y:g+C,z:q+c},{x:r+l,y:g,z:q+c},{x:r,y:g,z:q+c}],w=[];t=e(t,p,a.insidePlotArea);var n=function(a,g,q){var b=[[],-1],r=a.map(h),C=g.map(h);a=a.map(f);g=g.map(f);0>z(r)?b=[r,0]:0>z(C)?b=[C,1]:q&&(w.push(q),b=0>z(a)?[r,0]:0>z(g)?[C,1]:[r,0]);
25
- return b};var m=n([3,2,1,0],[7,6,5,4],"front");a=m[0];var H=m[1];m=n([1,6,7,0],[4,5,2,3],"top");l=m[0];var G=m[1];m=n([1,2,5,6],[0,7,4,3],"side");n=m[0];m=m[1];1===m?k+=1E6*(p.plotWidth-r):m||(k+=1E6*r);k+=10*(!G||0<=d&&180>=d||360>d&&357.5<d?p.plotHeight-g:10+g);1===H?k+=100*q:H||(k+=100*(1E3-q));return{front:this.toLinePath(a,!0),top:this.toLinePath(l,!0),side:this.toLinePath(n,!0),zIndexes:{group:Math.round(k)},forcedSides:w,isFront:H,isTop:G}};w.prototype.arc3d=function(a){function b(a){var h=
26
- !1,b={},q;a=t(a);for(q in a)-1!==g.indexOf(q)&&(b[q]=a[q],delete a[q],h=!0);return h?[b,a]:!1}var h=this.g(),r=h.renderer,g="x y r innerR start end depth".split(" ");a=t(a);a.alpha=(a.alpha||0)*m;a.beta=(a.beta||0)*m;h.top=r.path();h.side1=r.path();h.side2=r.path();h.inn=r.path();h.out=r.path();h.onAdd=function(){var a=h.parentGroup,g=h.attr("class");h.top.add(h);["out","inn","side1","side2"].forEach(function(b){h[b].attr({"class":g+" highcharts-3d-side"}).add(a)})};["addClass","removeClass"].forEach(function(a){h[a]=
27
- function(){var g=arguments;["top","out","inn","side1","side2"].forEach(function(b){h[b][a].apply(h[b],g)})}});h.setPaths=function(a){var g=h.renderer.arc3dPath(a),b=100*g.zTop;h.attribs=a;h.top.attr({d:g.top,zIndex:g.zTop});h.inn.attr({d:g.inn,zIndex:g.zInn});h.out.attr({d:g.out,zIndex:g.zOut});h.side1.attr({d:g.side1,zIndex:g.zSide1});h.side2.attr({d:g.side2,zIndex:g.zSide2});h.zIndex=b;h.attr({zIndex:b});a.center&&(h.top.setRadialReference(a.center),delete a.center)};h.setPaths(a);h.fillSetter=
28
- function(a){var g=n(a).brighten(-.1).get();this.fill=a;this.side1.attr({fill:g});this.side2.attr({fill:g});this.inn.attr({fill:g});this.out.attr({fill:g});this.top.attr({fill:a});return this};["opacity","translateX","translateY","visibility"].forEach(function(a){h[a+"Setter"]=function(a,g){h[g]=a;["out","inn","side1","side2","top"].forEach(function(b){h[b].attr(g,a)})}});h.attr=function(a){var g;if("object"===typeof a&&(g=b(a))){var q=g[0];arguments[0]=g[1];l(h.attribs,q);h.setPaths(h.attribs)}return f.prototype.attr.apply(h,
29
- arguments)};h.animate=function(a,g,r){var q=this.attribs,e="data-"+Math.random().toString(26).substring(2,9);delete a.center;delete a.z;delete a.alpha;delete a.beta;var l=k(p(g,this.renderer.globalAnimation));if(l.duration){g=b(a);h[e]=0;a[e]=1;h[e+"Setter"]=x.noop;if(g){var c=g[0];l.step=function(a,g){function h(a){return q[a]+(p(c[a],q[a])-q[a])*g.pos}g.prop===e&&g.elem.setPaths(t(q,{x:h("x"),y:h("y"),r:h("r"),innerR:h("innerR"),start:h("start"),end:h("end"),depth:h("depth")}))}}g=l}return f.prototype.animate.call(this,
30
- a,g,r)};h.destroy=function(){this.top.destroy();this.out.destroy();this.inn.destroy();this.side1.destroy();this.side2.destroy();return f.prototype.destroy.call(this)};h.hide=function(){this.top.hide();this.out.hide();this.inn.hide();this.side1.hide();this.side2.hide()};h.show=function(a){this.top.show(a);this.out.show(a);this.inn.show(a);this.side1.show(a);this.side2.show(a)};return h};w.prototype.arc3dPath=function(a){function b(a){a%=2*Math.PI;a>Math.PI&&(a=2*Math.PI-a);return a}var h=a.x||0,r=
31
- a.y||0,g=a.start||0,q=(a.end||0)-.00001,f=a.r||0,e=a.innerR||0,l=a.depth||0,c=a.alpha||0,p=a.beta||0,t=Math.cos(g),d=Math.sin(g);a=Math.cos(q);var k=Math.sin(q),n=f*Math.cos(p);f*=Math.cos(c);var m=e*Math.cos(p),z=e*Math.cos(c);e=l*Math.sin(p);var v=l*Math.sin(c);l=[["M",h+n*t,r+f*d]];l=l.concat(w.curveTo(h,r,n,f,g,q,0,0));l.push(["L",h+m*a,r+z*k]);l=l.concat(w.curveTo(h,r,m,z,q,g,0,0));l.push(["Z"]);var F=0<p?Math.PI/2:0;p=0<c?0:Math.PI/2;F=g>-F?g:q>-F?-F:g;var y=q<I-p?q:g<I-p?I-p:q,u=2*I-p;c=[["M",
32
- h+n*G(F),r+f*H(F)]];c=c.concat(w.curveTo(h,r,n,f,F,y,0,0));q>u&&g<u?(c.push(["L",h+n*G(y)+e,r+f*H(y)+v]),c=c.concat(w.curveTo(h,r,n,f,y,u,e,v)),c.push(["L",h+n*G(u),r+f*H(u)]),c=c.concat(w.curveTo(h,r,n,f,u,q,0,0)),c.push(["L",h+n*G(q)+e,r+f*H(q)+v]),c=c.concat(w.curveTo(h,r,n,f,q,u,e,v)),c.push(["L",h+n*G(u),r+f*H(u)]),c=c.concat(w.curveTo(h,r,n,f,u,y,0,0))):q>I-p&&g<I-p&&(c.push(["L",h+n*Math.cos(y)+e,r+f*Math.sin(y)+v]),c=c.concat(w.curveTo(h,r,n,f,y,q,e,v)),c.push(["L",h+n*Math.cos(q),r+f*Math.sin(q)]),
33
- c=c.concat(w.curveTo(h,r,n,f,q,y,0,0)));c.push(["L",h+n*Math.cos(y)+e,r+f*Math.sin(y)+v]);c=c.concat(w.curveTo(h,r,n,f,y,F,e,v));c.push(["Z"]);p=[["M",h+m*t,r+z*d]];p=p.concat(w.curveTo(h,r,m,z,g,q,0,0));p.push(["L",h+m*Math.cos(q)+e,r+z*Math.sin(q)+v]);p=p.concat(w.curveTo(h,r,m,z,q,g,e,v));p.push(["Z"]);t=[["M",h+n*t,r+f*d],["L",h+n*t+e,r+f*d+v],["L",h+m*t+e,r+z*d+v],["L",h+m*t,r+z*d],["Z"]];h=[["M",h+n*a,r+f*k],["L",h+n*a+e,r+f*k+v],["L",h+m*a+e,r+z*k+v],["L",h+m*a,r+z*k],["Z"]];k=Math.atan2(v,
34
- -e);r=Math.abs(q+k);a=Math.abs(g+k);g=Math.abs((g+q)/2+k);r=b(r);a=b(a);g=b(g);g*=1E5;q=1E5*a;r*=1E5;return{top:l,zTop:1E5*Math.PI+1,out:c,zOut:Math.max(g,q,r),inn:p,zInn:Math.max(g,q,r),side1:t,zSide1:.99*r,side2:h,zSide2:.99*q}};return w}(v)});D(d,"Core/Chart/Chart3D.js",[d["Core/Color/Color.js"],d["Core/Math3D.js"],d["Core/DefaultOptions.js"],d["Core/Utilities.js"]],function(d,u,x,B){var f=d.parse,y=u.perspective,v=u.shapeArea3D,A=x.defaultOptions,c=B.addEvent,k=B.isArray,n=B.merge,b=B.pick,m=
35
- B.wrap,e;(function(e){function a(a){this.is3d()&&"scatter"===a.options.type&&(a.options.type="scatter3d")}function l(){if(this.chart3d&&this.is3d()){var a=this.renderer,b=this.options.chart.options3d,g=this.chart3d.get3dFrame(),q=this.plotLeft,e=this.plotLeft+this.plotWidth,c=this.plotTop,l=this.plotTop+this.plotHeight;b=b.depth;var p=q-(g.left.visible?g.left.size:0),d=e+(g.right.visible?g.right.size:0),t=c-(g.top.visible?g.top.size:0),n=l+(g.bottom.visible?g.bottom.size:0),k=0-(g.front.visible?g.front.size:
36
- 0),m=b+(g.back.visible?g.back.size:0),w=this.hasRendered?"animate":"attr";this.chart3d.frame3d=g;this.frameShapes||(this.frameShapes={bottom:a.polyhedron().add(),top:a.polyhedron().add(),left:a.polyhedron().add(),right:a.polyhedron().add(),back:a.polyhedron().add(),front:a.polyhedron().add()});this.frameShapes.bottom[w]({"class":"highcharts-3d-frame highcharts-3d-frame-bottom",zIndex:g.bottom.frontFacing?-1E3:1E3,faces:[{fill:f(g.bottom.color).brighten(.1).get(),vertexes:[{x:p,y:n,z:k},{x:d,y:n,z:k},
37
- {x:d,y:n,z:m},{x:p,y:n,z:m}],enabled:g.bottom.visible},{fill:f(g.bottom.color).brighten(.1).get(),vertexes:[{x:q,y:l,z:b},{x:e,y:l,z:b},{x:e,y:l,z:0},{x:q,y:l,z:0}],enabled:g.bottom.visible},{fill:f(g.bottom.color).brighten(-.1).get(),vertexes:[{x:p,y:n,z:k},{x:p,y:n,z:m},{x:q,y:l,z:b},{x:q,y:l,z:0}],enabled:g.bottom.visible&&!g.left.visible},{fill:f(g.bottom.color).brighten(-.1).get(),vertexes:[{x:d,y:n,z:m},{x:d,y:n,z:k},{x:e,y:l,z:0},{x:e,y:l,z:b}],enabled:g.bottom.visible&&!g.right.visible},{fill:f(g.bottom.color).get(),
38
- vertexes:[{x:d,y:n,z:k},{x:p,y:n,z:k},{x:q,y:l,z:0},{x:e,y:l,z:0}],enabled:g.bottom.visible&&!g.front.visible},{fill:f(g.bottom.color).get(),vertexes:[{x:p,y:n,z:m},{x:d,y:n,z:m},{x:e,y:l,z:b},{x:q,y:l,z:b}],enabled:g.bottom.visible&&!g.back.visible}]});this.frameShapes.top[w]({"class":"highcharts-3d-frame highcharts-3d-frame-top",zIndex:g.top.frontFacing?-1E3:1E3,faces:[{fill:f(g.top.color).brighten(.1).get(),vertexes:[{x:p,y:t,z:m},{x:d,y:t,z:m},{x:d,y:t,z:k},{x:p,y:t,z:k}],enabled:g.top.visible},
39
- {fill:f(g.top.color).brighten(.1).get(),vertexes:[{x:q,y:c,z:0},{x:e,y:c,z:0},{x:e,y:c,z:b},{x:q,y:c,z:b}],enabled:g.top.visible},{fill:f(g.top.color).brighten(-.1).get(),vertexes:[{x:p,y:t,z:m},{x:p,y:t,z:k},{x:q,y:c,z:0},{x:q,y:c,z:b}],enabled:g.top.visible&&!g.left.visible},{fill:f(g.top.color).brighten(-.1).get(),vertexes:[{x:d,y:t,z:k},{x:d,y:t,z:m},{x:e,y:c,z:b},{x:e,y:c,z:0}],enabled:g.top.visible&&!g.right.visible},{fill:f(g.top.color).get(),vertexes:[{x:p,y:t,z:k},{x:d,y:t,z:k},{x:e,y:c,
40
- z:0},{x:q,y:c,z:0}],enabled:g.top.visible&&!g.front.visible},{fill:f(g.top.color).get(),vertexes:[{x:d,y:t,z:m},{x:p,y:t,z:m},{x:q,y:c,z:b},{x:e,y:c,z:b}],enabled:g.top.visible&&!g.back.visible}]});this.frameShapes.left[w]({"class":"highcharts-3d-frame highcharts-3d-frame-left",zIndex:g.left.frontFacing?-1E3:1E3,faces:[{fill:f(g.left.color).brighten(.1).get(),vertexes:[{x:p,y:n,z:k},{x:q,y:l,z:0},{x:q,y:l,z:b},{x:p,y:n,z:m}],enabled:g.left.visible&&!g.bottom.visible},{fill:f(g.left.color).brighten(.1).get(),
41
- vertexes:[{x:p,y:t,z:m},{x:q,y:c,z:b},{x:q,y:c,z:0},{x:p,y:t,z:k}],enabled:g.left.visible&&!g.top.visible},{fill:f(g.left.color).brighten(-.1).get(),vertexes:[{x:p,y:n,z:m},{x:p,y:t,z:m},{x:p,y:t,z:k},{x:p,y:n,z:k}],enabled:g.left.visible},{fill:f(g.left.color).brighten(-.1).get(),vertexes:[{x:q,y:c,z:b},{x:q,y:l,z:b},{x:q,y:l,z:0},{x:q,y:c,z:0}],enabled:g.left.visible},{fill:f(g.left.color).get(),vertexes:[{x:p,y:n,z:k},{x:p,y:t,z:k},{x:q,y:c,z:0},{x:q,y:l,z:0}],enabled:g.left.visible&&!g.front.visible},
42
- {fill:f(g.left.color).get(),vertexes:[{x:p,y:t,z:m},{x:p,y:n,z:m},{x:q,y:l,z:b},{x:q,y:c,z:b}],enabled:g.left.visible&&!g.back.visible}]});this.frameShapes.right[w]({"class":"highcharts-3d-frame highcharts-3d-frame-right",zIndex:g.right.frontFacing?-1E3:1E3,faces:[{fill:f(g.right.color).brighten(.1).get(),vertexes:[{x:d,y:n,z:m},{x:e,y:l,z:b},{x:e,y:l,z:0},{x:d,y:n,z:k}],enabled:g.right.visible&&!g.bottom.visible},{fill:f(g.right.color).brighten(.1).get(),vertexes:[{x:d,y:t,z:k},{x:e,y:c,z:0},{x:e,
43
- y:c,z:b},{x:d,y:t,z:m}],enabled:g.right.visible&&!g.top.visible},{fill:f(g.right.color).brighten(-.1).get(),vertexes:[{x:e,y:c,z:0},{x:e,y:l,z:0},{x:e,y:l,z:b},{x:e,y:c,z:b}],enabled:g.right.visible},{fill:f(g.right.color).brighten(-.1).get(),vertexes:[{x:d,y:n,z:k},{x:d,y:t,z:k},{x:d,y:t,z:m},{x:d,y:n,z:m}],enabled:g.right.visible},{fill:f(g.right.color).get(),vertexes:[{x:d,y:t,z:k},{x:d,y:n,z:k},{x:e,y:l,z:0},{x:e,y:c,z:0}],enabled:g.right.visible&&!g.front.visible},{fill:f(g.right.color).get(),
44
- vertexes:[{x:d,y:n,z:m},{x:d,y:t,z:m},{x:e,y:c,z:b},{x:e,y:l,z:b}],enabled:g.right.visible&&!g.back.visible}]});this.frameShapes.back[w]({"class":"highcharts-3d-frame highcharts-3d-frame-back",zIndex:g.back.frontFacing?-1E3:1E3,faces:[{fill:f(g.back.color).brighten(.1).get(),vertexes:[{x:d,y:n,z:m},{x:p,y:n,z:m},{x:q,y:l,z:b},{x:e,y:l,z:b}],enabled:g.back.visible&&!g.bottom.visible},{fill:f(g.back.color).brighten(.1).get(),vertexes:[{x:p,y:t,z:m},{x:d,y:t,z:m},{x:e,y:c,z:b},{x:q,y:c,z:b}],enabled:g.back.visible&&
45
- !g.top.visible},{fill:f(g.back.color).brighten(-.1).get(),vertexes:[{x:p,y:n,z:m},{x:p,y:t,z:m},{x:q,y:c,z:b},{x:q,y:l,z:b}],enabled:g.back.visible&&!g.left.visible},{fill:f(g.back.color).brighten(-.1).get(),vertexes:[{x:d,y:t,z:m},{x:d,y:n,z:m},{x:e,y:l,z:b},{x:e,y:c,z:b}],enabled:g.back.visible&&!g.right.visible},{fill:f(g.back.color).get(),vertexes:[{x:q,y:c,z:b},{x:e,y:c,z:b},{x:e,y:l,z:b},{x:q,y:l,z:b}],enabled:g.back.visible},{fill:f(g.back.color).get(),vertexes:[{x:p,y:n,z:m},{x:d,y:n,z:m},
46
- {x:d,y:t,z:m},{x:p,y:t,z:m}],enabled:g.back.visible}]});this.frameShapes.front[w]({"class":"highcharts-3d-frame highcharts-3d-frame-front",zIndex:g.front.frontFacing?-1E3:1E3,faces:[{fill:f(g.front.color).brighten(.1).get(),vertexes:[{x:p,y:n,z:k},{x:d,y:n,z:k},{x:e,y:l,z:0},{x:q,y:l,z:0}],enabled:g.front.visible&&!g.bottom.visible},{fill:f(g.front.color).brighten(.1).get(),vertexes:[{x:d,y:t,z:k},{x:p,y:t,z:k},{x:q,y:c,z:0},{x:e,y:c,z:0}],enabled:g.front.visible&&!g.top.visible},{fill:f(g.front.color).brighten(-.1).get(),
47
- vertexes:[{x:p,y:t,z:k},{x:p,y:n,z:k},{x:q,y:l,z:0},{x:q,y:c,z:0}],enabled:g.front.visible&&!g.left.visible},{fill:f(g.front.color).brighten(-.1).get(),vertexes:[{x:d,y:n,z:k},{x:d,y:t,z:k},{x:e,y:c,z:0},{x:e,y:l,z:0}],enabled:g.front.visible&&!g.right.visible},{fill:f(g.front.color).get(),vertexes:[{x:e,y:c,z:0},{x:q,y:c,z:0},{x:q,y:l,z:0},{x:e,y:l,z:0}],enabled:g.front.visible},{fill:f(g.front.color).get(),vertexes:[{x:d,y:n,z:k},{x:p,y:n,z:k},{x:p,y:t,z:k},{x:d,y:t,z:k}],enabled:g.front.visible}]})}}
48
- function t(){this.styledMode&&[{name:"darker",slope:.6},{name:"brighter",slope:1.4}].forEach(function(a){this.renderer.definition({tagName:"filter",attributes:{id:"highcharts-"+a.name},children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncR",attributes:{type:"linear",slope:a.slope}},{tagName:"feFuncG",attributes:{type:"linear",slope:a.slope}},{tagName:"feFuncB",attributes:{type:"linear",slope:a.slope}}]}]})},this)}function p(){var a=this.options;this.is3d()&&(a.series||[]).forEach(function(b){"scatter"===
49
- (b.type||a.chart.type||a.chart.defaultSeriesType)&&(b.type="scatter3d")})}function d(){var a=this.options.chart.options3d;if(this.chart3d&&this.is3d()){a&&(a.alpha=a.alpha%360+(0<=a.alpha?0:360),a.beta=a.beta%360+(0<=a.beta?0:360));var b=this.inverted,g=this.clipBox,e=this.margin;g[b?"y":"x"]=-(e[3]||0);g[b?"x":"y"]=-(e[0]||0);g[b?"height":"width"]=this.chartWidth+(e[3]||0)+(e[1]||0);g[b?"width":"height"]=this.chartHeight+(e[0]||0)+(e[2]||0);this.scale3d=1;!0===a.fitToPlot&&(this.scale3d=this.chart3d.getScale(a.depth));
50
- this.chart3d.frame3d=this.chart3d.get3dFrame()}}function z(){this.is3d()&&(this.isDirtyBox=!0)}function u(){this.chart3d&&this.is3d()&&(this.chart3d.frame3d=this.chart3d.get3dFrame())}function F(){this.chart3d||(this.chart3d=new B(this))}function w(a){return this.is3d()||a.apply(this,[].slice.call(arguments,1))}function x(a){var b=this.series.length;if(this.is3d())for(;b--;)a=this.series[b],a.translate(),a.render();else a.call(this)}function E(a){a.apply(this,[].slice.call(arguments,1));this.is3d()&&
51
- (this.container.className+=" highcharts-3d-chart")}var B=function(){function a(a){this.frame3d=void 0;this.chart=a}a.prototype.get3dFrame=function(){var a=this.chart,g=a.options.chart.options3d,e=g.frame,c=a.plotLeft,l=a.plotLeft+a.plotWidth,h=a.plotTop,f=a.plotTop+a.plotHeight,p=g.depth,d=function(g){g=v(g,a);return.5<g?1:-.5>g?-1:0},t=d([{x:c,y:f,z:p},{x:l,y:f,z:p},{x:l,y:f,z:0},{x:c,y:f,z:0}]),n=d([{x:c,y:h,z:0},{x:l,y:h,z:0},{x:l,y:h,z:p},{x:c,y:h,z:p}]),k=d([{x:c,y:h,z:0},{x:c,y:h,z:p},{x:c,
52
- y:f,z:p},{x:c,y:f,z:0}]),m=d([{x:l,y:h,z:p},{x:l,y:h,z:0},{x:l,y:f,z:0},{x:l,y:f,z:p}]),w=d([{x:c,y:f,z:0},{x:l,y:f,z:0},{x:l,y:h,z:0},{x:c,y:h,z:0}]);d=d([{x:c,y:h,z:p},{x:l,y:h,z:p},{x:l,y:f,z:p},{x:c,y:f,z:p}]);var z=!1,H=!1,G=!1,F=!1;[].concat(a.xAxis,a.yAxis,a.zAxis).forEach(function(a){a&&(a.horiz?a.opposite?H=!0:z=!0:a.opposite?F=!0:G=!0)});var u=function(a,g,e){for(var c=["size","color","visible"],l={},h=0;h<c.length;h++)for(var f=c[h],p=0;p<a.length;p++)if("object"===typeof a[p]){var d=a[p][f];
53
- if("undefined"!==typeof d&&null!==d){l[f]=d;break}}a=e;!0===l.visible||!1===l.visible?a=l.visible:"auto"===l.visible&&(a=0<g);return{size:b(l.size,1),color:b(l.color,"none"),frontFacing:0<g,visible:a}};e={axes:{},bottom:u([e.bottom,e.top,e],t,z),top:u([e.top,e.bottom,e],n,H),left:u([e.left,e.right,e.side,e],k,G),right:u([e.right,e.left,e.side,e],m,F),back:u([e.back,e.front,e],d,!0),front:u([e.front,e.back,e],w,!1)};"auto"===g.axisLabelPosition?(m=function(a,g){return a.visible!==g.visible||a.visible&&
54
- g.visible&&a.frontFacing!==g.frontFacing},g=[],m(e.left,e.front)&&g.push({y:(h+f)/2,x:c,z:0,xDir:{x:1,y:0,z:0}}),m(e.left,e.back)&&g.push({y:(h+f)/2,x:c,z:p,xDir:{x:0,y:0,z:-1}}),m(e.right,e.front)&&g.push({y:(h+f)/2,x:l,z:0,xDir:{x:0,y:0,z:1}}),m(e.right,e.back)&&g.push({y:(h+f)/2,x:l,z:p,xDir:{x:-1,y:0,z:0}}),t=[],m(e.bottom,e.front)&&t.push({x:(c+l)/2,y:f,z:0,xDir:{x:1,y:0,z:0}}),m(e.bottom,e.back)&&t.push({x:(c+l)/2,y:f,z:p,xDir:{x:-1,y:0,z:0}}),n=[],m(e.top,e.front)&&n.push({x:(c+l)/2,y:h,z:0,
55
- xDir:{x:1,y:0,z:0}}),m(e.top,e.back)&&n.push({x:(c+l)/2,y:h,z:p,xDir:{x:-1,y:0,z:0}}),k=[],m(e.bottom,e.left)&&k.push({z:(0+p)/2,y:f,x:c,xDir:{x:0,y:0,z:-1}}),m(e.bottom,e.right)&&k.push({z:(0+p)/2,y:f,x:l,xDir:{x:0,y:0,z:1}}),f=[],m(e.top,e.left)&&f.push({z:(0+p)/2,y:h,x:c,xDir:{x:0,y:0,z:-1}}),m(e.top,e.right)&&f.push({z:(0+p)/2,y:h,x:l,xDir:{x:0,y:0,z:1}}),c=function(g,e,b){if(0===g.length)return null;if(1===g.length)return g[0];for(var c=y(g,a,!1),l=0,h=1;h<c.length;h++)b*c[h][e]>b*c[l][e]?l=
56
- h:b*c[h][e]===b*c[l][e]&&c[h].z<c[l].z&&(l=h);return g[l]},e.axes={y:{left:c(g,"x",-1),right:c(g,"x",1)},x:{top:c(n,"y",-1),bottom:c(t,"y",1)},z:{top:c(f,"y",-1),bottom:c(k,"y",1)}}):e.axes={y:{left:{x:c,z:0,xDir:{x:1,y:0,z:0}},right:{x:l,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:h,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:f,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:G?l:c,y:h,xDir:G?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:G?l:c,y:f,xDir:G?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}};return e};a.prototype.getScale=function(a){var g=
57
- this.chart,e=g.plotLeft,b=g.plotWidth+e,c=g.plotTop,l=g.plotHeight+c,h=e+g.plotWidth/2,f=c+g.plotHeight/2,p=Number.MAX_VALUE,d=-Number.MAX_VALUE,t=Number.MAX_VALUE,n=-Number.MAX_VALUE,k=1;var m=[{x:e,y:c,z:0},{x:e,y:c,z:a}];[0,1].forEach(function(a){m.push({x:b,y:m[a].y,z:m[a].z})});[0,1,2,3].forEach(function(a){m.push({x:m[a].x,y:l,z:m[a].z})});m=y(m,g,!1);m.forEach(function(a){p=Math.min(p,a.x);d=Math.max(d,a.x);t=Math.min(t,a.y);n=Math.max(n,a.y)});e>p&&(k=Math.min(k,1-Math.abs((e+h)/(p+h))%1));
58
- b<d&&(k=Math.min(k,(b-h)/(d-h)));c>t&&(k=0>t?Math.min(k,(c+f)/(-t+c+f)):Math.min(k,1-(c+f)/(t+f)%1));l<n&&(k=Math.min(k,Math.abs((l-f)/(n-f))));return k};return a}();e.Composition=B;e.defaultOptions={chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:null,frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}};e.compose=function(b,f){var g=b.prototype;f=f.prototype;g.is3d=function(){return!(!this.options.chart.options3d||
59
- !this.options.chart.options3d.enabled)};g.propsRequireDirtyBox.push("chart.options3d");g.propsRequireUpdateSeries.push("chart.options3d");f.matrixSetter=function(){if(1>this.pos&&(k(this.start)||k(this.end))){var a=this.start||[1,0,0,1,0,0],g=this.end||[1,0,0,1,0,0];var b=[];for(var e=0;6>e;e++)b.push(this.pos*g[e]+(1-this.pos)*a[e])}else b=this.end;this.elem.attr(this.prop,b,null,!0)};n(!0,A,e.defaultOptions);c(b,"init",F);c(b,"addSeries",a);c(b,"afterDrawChartBox",l);c(b,"afterGetContainer",t);
60
- c(b,"afterInit",p);c(b,"afterSetChartSize",d);c(b,"beforeRedraw",z);c(b,"beforeRender",u);m(g,"isInsidePlot",w);m(b,"renderSeries",x);m(b,"setClassName",E)}})(e||(e={}));"";return e});D(d,"Core/Axis/ZAxis.js",[d["Core/Axis/Axis.js"],d["Core/Utilities.js"]],function(d,u){function x(b){return new n(this,b)}function A(){var b=this,f=this.options.zAxis=c(this.options.zAxis||{});this.is3d()&&(this.zAxis=[],f.forEach(function(e,c){e.index=c;e.isX=!0;b.addZAxis(e).setScale()}))}var f=this&&this.__extends||
61
- function(){var b=function(c,e){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var e in a)a.hasOwnProperty(e)&&(b[e]=a[e])};return b(c,e)};return function(c,e){function f(){this.constructor=c}b(c,e);c.prototype=null===e?Object.create(e):(f.prototype=e.prototype,new f)}}(),y=u.addEvent,v=u.merge,E=u.pick,c=u.splat,k=[],n=function(b){function c(e,c){e=b.call(this,e,c)||this;e.isZAxis=!0;return e}f(c,b);c.compose=function(b){-1===k.indexOf(b)&&
62
- (k.push(b),y(b,"afterGetAxes",A),b=b.prototype,b.addZAxis=x,b.collectionsWithInit.zAxis=[b.addZAxis],b.collectionsWithUpdate.push("zAxis"))};c.prototype.getSeriesExtremes=function(){var b=this,c=this.chart;this.hasVisibleSeries=!1;this.dataMin=this.dataMax=this.ignoreMinPadding=this.ignoreMaxPadding=void 0;this.stacking&&this.stacking.buildStacks();this.series.forEach(function(a){if(a.visible||!c.options.chart.ignoreHiddenSeries)b.hasVisibleSeries=!0,a=a.zData,a.length&&(b.dataMin=Math.min(E(b.dataMin,
63
- a[0]),Math.min.apply(null,a)),b.dataMax=Math.max(E(b.dataMax,a[0]),Math.max.apply(null,a)))})};c.prototype.setAxisSize=function(){var e=this.chart;b.prototype.setAxisSize.call(this);this.width=this.len=e.options.chart.options3d&&e.options.chart.options3d.depth||0;this.right=e.chartWidth-this.width-this.left};c.prototype.setOptions=function(e){e=v({offset:0,lineWidth:0},e);this.isZAxis=!0;b.prototype.setOptions.call(this,e);this.coll="zAxis"};return c}(d);return n});D(d,"Core/Axis/Tick3D.js",[d["Core/Utilities.js"]],
64
- function(d){var u=d.addEvent,x=d.extend,A=d.wrap;return function(){function f(){}f.compose=function(d){u(d,"afterGetLabelPosition",f.onAfterGetLabelPosition);A(d.prototype,"getMarkPath",f.wrapGetMarkPath)};f.onAfterGetLabelPosition=function(f){var d=this.axis.axis3D;d&&x(f.pos,d.fix3dPosition(f.pos))};f.wrapGetMarkPath=function(f){var d=this.axis.axis3D,u=f.apply(this,[].slice.call(arguments,1));if(d){var c=u[0],k=u[1];if("M"===c[0]&&"L"===k[0])return d=[d.fix3dPosition({x:c[1],y:c[2],z:0}),d.fix3dPosition({x:k[1],
65
- y:k[2],z:0})],this.axis.chart.renderer.toLineSegments(d)}return u};return f}()});D(d,"Core/Axis/Axis3D.js",[d["Core/Globals.js"],d["Core/Math3D.js"],d["Core/Axis/Tick.js"],d["Core/Axis/Tick3D.js"],d["Core/Utilities.js"]],function(d,u,x,B,f){var y=d.deg2rad,v=u.perspective,A=u.perspective3D,c=u.shapeArea,k=f.addEvent,n=f.merge,b=f.pick,m=f.wrap,e=function(){function e(a){this.axis=a}e.prototype.fix3dPosition=function(a,e){var f=this.axis,l=f.chart;if("colorAxis"===f.coll||!l.chart3d||!l.is3d())return a;
66
- var d=y*l.options.chart.options3d.alpha,k=y*l.options.chart.options3d.beta,n=b(e&&f.options.title.position3d,f.options.labels.position3d);e=b(e&&f.options.title.skew3d,f.options.labels.skew3d);var m=l.chart3d.frame3d,w=l.plotLeft,u=l.plotWidth+w,z=l.plotTop,x=l.plotHeight+z,h=l=0,r={x:0,y:1,z:0},g=!1;a=f.axis3D.swapZ({x:a.x,y:a.y,z:0});if(f.isZAxis)if(f.opposite){if(null===m.axes.z.top)return{};h=a.y-z;a.x=m.axes.z.top.x;a.y=m.axes.z.top.y;w=m.axes.z.top.xDir;g=!m.top.frontFacing}else{if(null===m.axes.z.bottom)return{};
67
- h=a.y-x;a.x=m.axes.z.bottom.x;a.y=m.axes.z.bottom.y;w=m.axes.z.bottom.xDir;g=!m.bottom.frontFacing}else if(f.horiz)if(f.opposite){if(null===m.axes.x.top)return{};h=a.y-z;a.y=m.axes.x.top.y;a.z=m.axes.x.top.z;w=m.axes.x.top.xDir;g=!m.top.frontFacing}else{if(null===m.axes.x.bottom)return{};h=a.y-x;a.y=m.axes.x.bottom.y;a.z=m.axes.x.bottom.z;w=m.axes.x.bottom.xDir;g=!m.bottom.frontFacing}else if(f.opposite){if(null===m.axes.y.right)return{};l=a.x-u;a.x=m.axes.y.right.x;a.z=m.axes.y.right.z;w=m.axes.y.right.xDir;
68
- w={x:w.z,y:w.y,z:-w.x}}else{if(null===m.axes.y.left)return{};l=a.x-w;a.x=m.axes.y.left.x;a.z=m.axes.y.left.z;w=m.axes.y.left.xDir}"chart"!==n&&("flap"===n?f.horiz?(k=Math.sin(d),d=Math.cos(d),f.opposite&&(k=-k),g&&(k=-k),r={x:w.z*k,y:d,z:-w.x*k}):w={x:Math.cos(k),y:0,z:Math.sin(k)}:"ortho"===n?f.horiz?(r=Math.cos(d),n=Math.sin(k)*r,d=-Math.sin(d),k=-r*Math.cos(k),r={x:w.y*k-w.z*d,y:w.z*n-w.x*k,z:w.x*d-w.y*n},d=1/Math.sqrt(r.x*r.x+r.y*r.y+r.z*r.z),g&&(d=-d),r={x:d*r.x,y:d*r.y,z:d*r.z}):w={x:Math.cos(k),
69
- y:0,z:Math.sin(k)}:f.horiz?r={x:Math.sin(k)*Math.sin(d),y:Math.cos(d),z:-Math.cos(k)*Math.sin(d)}:w={x:Math.cos(k),y:0,z:Math.sin(k)});a.x+=l*w.x+h*r.x;a.y+=l*w.y+h*r.y;a.z+=l*w.z+h*r.z;l=v([a],f.chart)[0];e&&(0>c(v([a,{x:a.x+w.x,y:a.y+w.y,z:a.z+w.z},{x:a.x+r.x,y:a.y+r.y,z:a.z+r.z}],f.chart))&&(w={x:-w.x,y:-w.y,z:-w.z}),a=v([{x:a.x,y:a.y,z:a.z},{x:a.x+w.x,y:a.y+w.y,z:a.z+w.z},{x:a.x+r.x,y:a.y+r.y,z:a.z+r.z}],f.chart),l.matrix=[a[1].x-a[0].x,a[1].y-a[0].y,a[2].x-a[0].x,a[2].y-a[0].y,l.x,l.y],l.matrix[4]-=
70
- l.x*l.matrix[0]+l.y*l.matrix[2],l.matrix[5]-=l.x*l.matrix[1]+l.y*l.matrix[3]);return l};e.prototype.swapZ=function(a,b){var e=this.axis;return e.isZAxis?(b=b?0:e.chart.plotLeft,{x:b+a.z,y:a.y,z:a.x-b}):a};return e}();return function(){function c(){}c.compose=function(a){n(!0,a.defaultOptions,c.defaultOptions);a.keepProps.push("axis3D");k(a,"init",c.onInit);k(a,"afterSetOptions",c.onAfterSetOptions);k(a,"drawCrosshair",c.onDrawCrosshair);a=a.prototype;m(a,"getLinePath",c.wrapGetLinePath);m(a,"getPlotBandPath",
71
- c.wrapGetPlotBandPath);m(a,"getPlotLinePath",c.wrapGetPlotLinePath);m(a,"getSlotWidth",c.wrapGetSlotWidth);m(a,"getTitlePosition",c.wrapGetTitlePosition);B.compose(x)};c.onAfterSetOptions=function(){var a=this.chart,c=this.options;a.is3d&&a.is3d()&&"colorAxis"!==this.coll&&(c.tickWidth=b(c.tickWidth,0),c.gridLineWidth=b(c.gridLineWidth,1))};c.onDrawCrosshair=function(a){this.chart.is3d()&&"colorAxis"!==this.coll&&a.point&&(a.point.crosshairPos=this.isXAxis?a.point.axisXpos:this.len-a.point.axisYpos)};
72
- c.onInit=function(){this.axis3D||(this.axis3D=new e(this))};c.wrapGetLinePath=function(a){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:a.apply(this,[].slice.call(arguments,1))};c.wrapGetPlotBandPath=function(a){if(!this.chart.is3d()||"colorAxis"===this.coll)return a.apply(this,[].slice.call(arguments,1));var b=arguments,c=b[2],e=[];b=this.getPlotLinePath({value:b[1]});c=this.getPlotLinePath({value:c});if(b&&c)for(var f=0;f<b.length;f+=2){var d=b[f],k=b[f+1],m=c[f],n=c[f+1];"M"===d[0]&&"L"===
73
- k[0]&&"M"===m[0]&&"L"===n[0]&&e.push(d,k,n,["L",m[1],m[2]],["Z"])}return e};c.wrapGetPlotLinePath=function(a){var b=this.axis3D,c=this.chart,e=a.apply(this,[].slice.call(arguments,1));if("colorAxis"===this.coll||!c.chart3d||!c.is3d()||null===e)return e;var f=c.options.chart.options3d,d=this.isZAxis?c.plotWidth:f.depth;f=c.chart3d.frame3d;var k=e[0],m=e[1];e=[];"M"===k[0]&&"L"===m[0]&&(b=[b.swapZ({x:k[1],y:k[2],z:0}),b.swapZ({x:k[1],y:k[2],z:d}),b.swapZ({x:m[1],y:m[2],z:0}),b.swapZ({x:m[1],y:m[2],
74
- z:d})],this.horiz?(this.isZAxis?(f.left.visible&&e.push(b[0],b[2]),f.right.visible&&e.push(b[1],b[3])):(f.front.visible&&e.push(b[0],b[2]),f.back.visible&&e.push(b[1],b[3])),f.top.visible&&e.push(b[0],b[1]),f.bottom.visible&&e.push(b[2],b[3])):(f.front.visible&&e.push(b[0],b[2]),f.back.visible&&e.push(b[1],b[3]),f.left.visible&&e.push(b[0],b[1]),f.right.visible&&e.push(b[2],b[3])),e=v(e,this.chart,!1));return c.renderer.toLineSegments(e)};c.wrapGetSlotWidth=function(a,c){var e=this.chart,f=this.ticks,
75
- d=this.gridGroup;if(this.categories&&e.frameShapes&&e.is3d()&&d&&c&&c.label){d=d.element.childNodes[0].getBBox();var l=e.frameShapes.left.getBBox(),k=e.options.chart.options3d;e={x:e.plotWidth/2,y:e.plotHeight/2,z:k.depth/2,vd:b(k.depth,1)*b(k.viewDistance,0)};k=c.pos;var m=f[k-1],n=f[k+1],v=f=void 0;0!==k&&m&&m.label&&m.label.xy&&(f=A({x:m.label.xy.x,y:m.label.xy.y,z:null},e,e.vd));n&&n.label&&n.label.xy&&(v=A({x:n.label.xy.x,y:n.label.xy.y,z:null},e,e.vd));k={x:c.label.xy.x,y:c.label.xy.y,z:null};
76
- k=A(k,e,e.vd);return Math.abs(f?k.x-f.x:v?v.x-k.x:d.x-l.x)}return a.apply(this,[].slice.call(arguments,1))};c.wrapGetTitlePosition=function(a){var b=a.apply(this,[].slice.call(arguments,1));return this.axis3D?this.axis3D.fix3dPosition(b,!0):b};c.defaultOptions={labels:{position3d:"offset",skew3d:!1},title:{position3d:null,skew3d:null}};return c}()});D(d,"Core/Series/Series3D.js",[d["Core/Math3D.js"],d["Core/Series/Series.js"],d["Core/Utilities.js"]],function(d,u,x){var A=this&&this.__extends||function(){var c=
77
- function(f,b){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var c in e)e.hasOwnProperty(c)&&(b[c]=e[c])};return c(f,b)};return function(f,b){function d(){this.constructor=f}c(f,b);f.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),f=d.perspective;d=x.addEvent;var y=x.extend,v=x.merge,E=x.pick,c=x.isNumber;x=function(d){function k(){return null!==d&&d.apply(this,arguments)||this}A(k,d);k.prototype.translate=function(){d.prototype.translate.apply(this,
78
- arguments);this.chart.is3d()&&this.translate3dPoints()};k.prototype.translate3dPoints=function(){var b=this.options,d=this.chart,e=E(this.zAxis,d.options.zAxis[0]),k=[],a,l=[];this.zPadding=(b.stacking?c(b.stack)?b.stack:0:this.index||0)*(b.depth||0+(b.groupZPadding||1));for(a=0;a<this.data.length;a++){b=this.data[a];if(e&&e.translate){var n=e.logarithmic&&e.val2lin?e.val2lin(b.z):b.z;b.plotZ=e.translate(n);b.isInside=b.isInside?n>=e.min&&n<=e.max:!1}else b.plotZ=this.zPadding;b.axisXpos=b.plotX;
79
- b.axisYpos=b.plotY;b.axisZpos=b.plotZ;k.push({x:b.plotX,y:b.plotY,z:b.plotZ});l.push(b.plotX||0)}this.rawPointsX=l;d=f(k,d,!0);for(a=0;a<this.data.length;a++)b=this.data[a],e=d[a],b.plotX=e.x,b.plotY=e.y,b.plotZ=e.z};k.defaultOptions=v(u.defaultOptions);return k}(u);d(u,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()});y(u.prototype,{translate3dPoints:x.prototype.translate3dPoints});return x});D(d,"Series/Area3D/Area3DSeries.js",[d["Core/Math3D.js"],d["Core/Series/SeriesRegistry.js"],
80
- d["Core/Utilities.js"]],function(d,u,x){function A(c){var d=c.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d())return d;var n=y.getGraphPath,b=this.options,m=Math.round(this.yAxis.getThreshold(b.threshold)),e=[];if(this.rawPointsX)for(var v=0;v<this.points.length;v++)e.push({x:this.rawPointsX[v],y:b.stacking?this.points[v].yBottom:m,z:this.zPadding});b=this.chart.options.chart.options3d;e=f(e,this.chart,!0).map(function(a){return{plotX:a.x,plotY:a.y,plotZ:a.z}});this.group&&b&&b.depth&&
81
- b.beta&&(this.markerGroup&&(this.markerGroup.add(this.group),this.markerGroup.attr({translateX:0,translateY:0})),this.group.attr({zIndex:Math.max(1,270<b.beta||90>b.beta?b.depth-Math.round(this.zPadding||0):Math.round(this.zPadding||0))}));e.reversed=!0;n=n.call(this,e,!0,!0);n[0]&&"M"===n[0][0]&&(n[0]=["L",n[0][1],n[0][2]]);this.areaPath&&(n=this.areaPath.splice(0,this.areaPath.length/2).concat(n),n.xMap=this.areaPath.xMap,this.areaPath=n);return d}var f=d.perspective,y=u.seriesTypes.line.prototype,
82
- v=x.wrap,E=[];return{compose:function(c){-1===E.indexOf(c)&&(E.push(c),v(c.prototype,"getGraphPath",A))}}});D(d,"Series/Column3D/Column3DComposition.js",[d["Series/Column/ColumnSeries.js"],d["Core/Globals.js"],d["Core/Series/Series.js"],d["Core/Math3D.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Axis/Stacking/StackItem.js"],d["Core/Utilities.js"]],function(d,u,x,B,f,y,v){function A(a,b){var c=a.series,e={totalStacks:0},f,d=1;c.forEach(function(a){f=z(a.options.stack,b?0:c.length-1-a.index);e[f]?
83
- e[f].series.push(a):(e[f]={series:[a],position:d},d++)});e.totalStacks=d+1;return e}function c(a){var b=a.apply(this,[].slice.call(arguments,1));this.chart.is3d&&this.chart.is3d()&&(b.stroke=this.options.edgeColor||b.fill,b["stroke-width"]=z(this.options.edgeWidth,1));return b}function k(a,b,c){var e=this.chart.is3d&&this.chart.is3d();e&&(this.options.inactiveOtherPoints=!0);a.call(this,b,c);e&&(this.options.inactiveOtherPoints=!1)}function n(a){for(var b=[],e=1;e<arguments.length;e++)b[e-1]=arguments[e];
84
- return this.series.chart.is3d()?this.graphic&&"g"!==this.graphic.element.nodeName:a.apply(this,b)}var b=d.prototype,m=u.svg,e=B.perspective;u=v.addEvent;var z=v.pick;v=v.wrap;v(b,"translate",function(a){a.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.translate3dShapes()});v(x.prototype,"justifyDataLabel",function(a){return arguments[2].outside3dPlot?!1:a.apply(this,[].slice.call(arguments,1))});b.translate3dPoints=function(){};b.translate3dShapes=function(){var a=this,b=a.chart,c=
85
- a.options,f=c.depth,d=(c.stacking?c.stack||0:a.index)*(f+(c.groupZPadding||1)),k=a.borderWidth%2?.5:0,m;b.inverted&&!a.yAxis.reversed&&(k*=-1);!1!==c.grouping&&(d=0);d+=c.groupZPadding||1;a.data.forEach(function(c){c.outside3dPlot=null;if(null!==c.y){var l=c.shapeArgs,n=c.tooltipPos,p;[["x","width"],["y","height"]].forEach(function(b){p=l[b[0]]-k;0>p&&(l[b[1]]+=l[b[0]]+k,l[b[0]]=-k,p=0);p+l[b[1]]>a[b[0]+"Axis"].len&&0!==l[b[1]]&&(l[b[1]]=a[b[0]+"Axis"].len-l[b[0]]);if(0!==l[b[1]]&&(l[b[0]]>=a[b[0]+
86
- "Axis"].len||l[b[0]]+l[b[1]]<=k)){for(var e in l)l[e]="y"===e?-9999:0;c.outside3dPlot=!0}});"rect"===c.shapeType&&(c.shapeType="cuboid");l.z=d;l.depth=f;l.insidePlotArea=!0;m={x:l.x+l.width/2,y:l.y,z:d+f/2};b.inverted&&(m.x=l.height,m.y=c.clientX);c.plot3d=e([m],b,!0,!1)[0];n=e([{x:n[0],y:n[1],z:d+f/2}],b,!0,!1)[0];c.tooltipPos=[n.x,n.y]}});a.z=d};v(b,"animate",function(a){if(this.chart.is3d()){var b=arguments[1],c=this.yAxis,e=this,f=this.yAxis.reversed;m&&(b?e.data.forEach(function(a){null!==a.y&&
87
- (a.height=a.shapeArgs.height,a.shapey=a.shapeArgs.y,a.shapeArgs.height=1,f||(a.shapeArgs.y=a.stackY?a.plotY+c.translate(a.stackY):a.plotY+(a.negative?-a.height:a.height)))}):(e.data.forEach(function(a){if(null!==a.y&&(a.shapeArgs.height=a.height,a.shapeArgs.y=a.shapey,a.graphic))a.graphic[a.outside3dPlot?"attr":"animate"](a.shapeArgs,e.options.animation)}),this.drawDataLabels()))}else a.apply(this,[].slice.call(arguments,1))});v(b,"plotGroup",function(a,b,c,e,f,d){"dataLabelsGroup"!==b&&this.chart.is3d()&&
88
- (this[b]&&delete this[b],d&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(d)),this[b]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[b].survive=!0,"group"===b||"markerGroup"===b))&&(arguments[3]="visible");return a.apply(this,Array.prototype.slice.call(arguments,1))});v(b,"setVisible",function(a,b){var c=this;c.chart.is3d()&&c.data.forEach(function(a){a.visible=a.options.visible=b="undefined"===typeof b?!z(c.visible,a.visible):
89
- b;c.options.data[c.data.indexOf(a)]=a.options;a.graphic&&a.graphic.attr({visibility:b?"visible":"hidden"})});a.apply(this,Array.prototype.slice.call(arguments,1))});u(d,"afterInit",function(){if(this.chart.is3d()){var a=this.options,b=a.grouping,c=a.stacking,e=this.yAxis.options.reversedStacks,f=0;if("undefined"===typeof b||b){b=A(this.chart,c);f=a.stack||0;for(c=0;c<b[f].series.length&&b[f].series[c]!==this;c++);f=10*(b.totalStacks-b[f].position)+(e?c:-c);this.xAxis.reversed||(f=10*b.totalStacks-
90
- f)}a.depth=a.depth||25;this.z=this.z||0;a.zIndex=f}});v(b,"pointAttribs",c);v(b,"setState",k);v(b.pointClass.prototype,"hasNewShapeType",n);f.seriesTypes.columnRange&&(u=f.seriesTypes.columnrange.prototype,v(u,"pointAttribs",c),v(u,"setState",k),v(u.pointClass.prototype,"hasNewShapeType",n),u.plotGroup=b.plotGroup,u.setVisible=b.setVisible);v(x.prototype,"alignDataLabel",function(a,b,c,f,d){var k=this.chart;f.outside3dPlot=b.outside3dPlot;if(k.is3d()&&this.is("column")){var m=this.options,l=z(f.inside,
91
- !!this.options.stacking),n=k.options.chart.options3d,p=b.pointWidth/2||0;m={x:d.x+p,y:d.y,z:this.z+m.depth/2};k.inverted&&(l&&(d.width=0,m.x+=b.shapeArgs.height/2),90<=n.alpha&&270>=n.alpha&&(m.y+=b.shapeArgs.width));m=e([m],k,!0,!1)[0];d.x=m.x-p;d.y=b.outside3dPlot?-9E9:m.y}a.apply(this,[].slice.call(arguments,1))});v(y.prototype,"getStackBox",function(a,b,c,d,k,m,n,v){var l=a.apply(this,[].slice.call(arguments,1));if(b.is3d()&&c.base){var p=+c.base.split(",")[0],t=b.series[p];p=b.options.chart.options3d;
92
- t&&t instanceof f.seriesTypes.column&&(t={x:l.x+(b.inverted?n:m/2),y:l.y,z:t.options.depth/2},b.inverted&&(l.width=0,90<=p.alpha&&270>=p.alpha&&(t.y+=m)),t=e([t],b,!0,!1)[0],l.x=t.x-m/2,l.y=t.y)}return l});"";return d});D(d,"Series/Pie3D/Pie3DPoint.js",[d["Core/Series/SeriesRegistry.js"]],function(d){var u=this&&this.__extends||function(){var d=function(f,u){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,d){f.__proto__=d}||function(f,d){for(var c in d)d.hasOwnProperty(c)&&(f[c]=
93
- d[c])};return d(f,u)};return function(f,u){function v(){this.constructor=f}d(f,u);f.prototype=null===u?Object.create(u):(v.prototype=u.prototype,new v)}}();d=d.seriesTypes.pie.prototype.pointClass;var x=d.prototype.haloPath;return function(d){function f(){var f=null!==d&&d.apply(this,arguments)||this;f.series=void 0;return f}u(f,d);f.prototype.haloPath=function(){return this.series.chart.is3d()?[]:x.apply(this,arguments)};return f}(d)});D(d,"Series/Pie3D/Pie3DSeries.js",[d["Core/Globals.js"],d["Series/Pie3D/Pie3DPoint.js"],
94
- d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,u,x,B){var f=this&&this.__extends||function(){var c=function(f,d){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var e in c)c.hasOwnProperty(e)&&(b[e]=c[e])};return c(f,d)};return function(f,d){function b(){this.constructor=f}c(f,d);f.prototype=null===d?Object.create(d):(b.prototype=d.prototype,new b)}}(),y=d.deg2rad,v=d.svg;d=B.extend;var A=B.pick;x=function(c){function d(){return null!==
95
- c&&c.apply(this,arguments)||this}f(d,c);d.prototype.addPoint=function(){c.prototype.addPoint.apply(this,arguments);this.chart.is3d()&&this.update(this.userOptions,!0)};d.prototype.animate=function(f){if(this.chart.is3d()){var b=this.options.animation;var d=this.center;var e=this.group,k=this.markerGroup;v&&(!0===b&&(b={}),f?(e.oldtranslateX=A(e.oldtranslateX,e.translateX),e.oldtranslateY=A(e.oldtranslateY,e.translateY),d={translateX:d[0],translateY:d[1],scaleX:.001,scaleY:.001},e.attr(d),k&&(k.attrSetters=
96
- e.attrSetters,k.attr(d))):(d={translateX:e.oldtranslateX,translateY:e.oldtranslateY,scaleX:1,scaleY:1},e.animate(d,b),k&&k.animate(d,b)))}else c.prototype.animate.apply(this,arguments)};d.prototype.drawDataLabels=function(){if(this.chart.is3d()){var f=this.chart.options.chart.options3d;this.data.forEach(function(b){var c=b.shapeArgs,e=c.r,d=(c.start+c.end)/2;b=b.labelPosition;var a=b.connectorPosition,k=-e*(1-Math.cos((c.alpha||f.alpha)*y))*Math.sin(d),n=e*(Math.cos((c.beta||f.beta)*y)-1)*Math.cos(d);
97
- [b.natural,a.breakAt,a.touchingSliceAt].forEach(function(a){a.x+=n;a.y+=k})})}c.prototype.drawDataLabels.apply(this,arguments)};d.prototype.pointAttribs=function(f){var b=c.prototype.pointAttribs.apply(this,arguments),d=this.options;this.chart.is3d()&&!this.chart.styledMode&&(b.stroke=d.edgeColor||f.color||this.color,b["stroke-width"]=A(d.edgeWidth,1));return b};d.prototype.translate=function(){c.prototype.translate.apply(this,arguments);if(this.chart.is3d()){var d=this,b=d.options,f=b.depth||0,e=
98
- d.chart.options.chart.options3d,k=e.alpha,a=e.beta,l=b.stacking?(b.stack||0)*f:d._i*f;l+=f/2;!1!==b.grouping&&(l=0);d.data.forEach(function(c){var e=c.shapeArgs;c.shapeType="arc3d";e.z=l;e.depth=.75*f;e.alpha=k;e.beta=a;e.center=d.center;e=(e.end+e.start)/2;c.slicedTranslation={translateX:Math.round(Math.cos(e)*b.slicedOffset*Math.cos(k*y)),translateY:Math.round(Math.sin(e)*b.slicedOffset*Math.cos(k*y))}})}};d.prototype.drawTracker=function(){c.prototype.drawTracker.apply(this,arguments);this.chart.is3d()&&
99
- this.points.forEach(function(c){c.graphic&&["out","inn","side1","side2"].forEach(function(b){c.graphic&&(c.graphic[b].element.point=c)})})};return d}(x.seriesTypes.pie);d(x.prototype,{pointClass:u});"";return x});D(d,"Series/Pie3D/Pie3DComposition.js",[d["Series/Pie3D/Pie3DPoint.js"],d["Series/Pie3D/Pie3DSeries.js"],d["Core/Series/SeriesRegistry.js"]],function(d,u,x){x.seriesTypes.pie.prototype.pointClass.prototype.haloPath=d.prototype.haloPath;x.seriesTypes.pie=u});D(d,"Series/Scatter3D/Scatter3DPoint.js",
100
- [d["Series/Scatter/ScatterSeries.js"],d["Core/Utilities.js"]],function(d,u){var x=this&&this.__extends||function(){var d=function(f,u){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return d(f,u)};return function(f,u){function v(){this.constructor=f}d(f,u);f.prototype=null===u?Object.create(u):(v.prototype=u.prototype,new v)}}(),A=u.defined;return function(d){function f(){var f=null!==d&&d.apply(this,
101
- arguments)||this;f.options=void 0;f.series=void 0;return f}x(f,d);f.prototype.applyOptions=function(){d.prototype.applyOptions.apply(this,arguments);A(this.z)||(this.z=0);return this};return f}(d.prototype.pointClass)});D(d,"Series/Scatter3D/Scatter3DSeries.js",[d["Core/Math3D.js"],d["Series/Scatter3D/Scatter3DPoint.js"],d["Series/Scatter/ScatterSeries.js"],d["Core/Series/SeriesRegistry.js"],d["Core/Utilities.js"]],function(d,u,x,B,f){var y=this&&this.__extends||function(){var c=function(d,f){c=Object.setPrototypeOf||
102
- {__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var d in c)c.hasOwnProperty(d)&&(b[d]=c[d])};return c(d,f)};return function(d,f){function b(){this.constructor=d}c(d,f);d.prototype=null===f?Object.create(f):(b.prototype=f.prototype,new b)}}(),v=d.pointCameraDistance;d=f.extend;var A=f.merge;f=function(c){function d(){var d=null!==c&&c.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;return d}y(d,c);d.prototype.pointAttribs=function(d){var b=
103
- c.prototype.pointAttribs.apply(this,arguments);this.chart.is3d()&&d&&(b.zIndex=v(d,this.chart));return b};d.defaultOptions=A(x.defaultOptions,{tooltip:{pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>z: <b>{point.z}</b><br/>"}});return d}(x);d(f.prototype,{axisTypes:["xAxis","yAxis","zAxis"],directTouch:!0,parallelArrays:["x","y","z"],pointArrayMap:["x","y","z"],pointClass:u});B.registerSeriesType("scatter3d",f);"";return f});D(d,"masters/highcharts-3d.src.js",[d["Core/Globals.js"],d["Core/Renderer/SVG/SVGRenderer3D.js"],
104
- d["Core/Chart/Chart3D.js"],d["Core/Axis/ZAxis.js"],d["Core/Axis/Axis3D.js"],d["Series/Area3D/Area3DSeries.js"]],function(d,u,x,B,f,y){u.compose(d.SVGRenderer);x.compose(d.Chart,d.Fx);B.compose(d.Chart);f.compose(d.Axis);y.compose(d.seriesTypes.area)})});
8
+ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(F){a(F);a.Highcharts=F;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function F(a,z,y,D){a.hasOwnProperty(z)||(a[z]=D.apply(null,y),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:z,module:a[z]}})))}a=a?a._modules:{};F(a,"Core/Math3D.js",
9
+ [a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,z){function y(m,f,k,c){var b=f.options.chart.options3d,a=r(c,k?f.inverted:!1),g={x:f.plotWidth/2,y:f.plotHeight/2,z:b.depth/2,vd:r(b.depth,1)*r(b.viewDistance,0)},B=f.scale3d||1;c=H*b.beta*(a?-1:1);b=H*b.alpha*(a?-1:1);var p=Math.cos(b),t=Math.cos(-c),C=Math.sin(b),n=Math.sin(-c);k||(g.x+=f.plotLeft,g.y+=f.plotTop);return m.map(function(b){var f=(a?b.y:b.x)-g.x;var c=(a?b.x:b.y)-g.y;b=(b.z||0)-g.z;f={x:t*f-n*b,y:-C*n*f+p*c-t*C*b,z:p*n*f+C*c+
10
+ p*t*b};c=x(f,g,g.vd);c.x=c.x*B+g.x;c.y=c.y*B+g.y;c.z=f.z*B+g.z;return{x:a?c.y:c.x,y:a?c.x:c.y,z:c.z}})}function x(a,f,k){f=0<k&&k<Number.POSITIVE_INFINITY?k/(a.z+f.z+k):1;return{x:a.x*f,y:a.y*f}}function m(a){var f=0,k;for(k=0;k<a.length;k++){var c=(k+1)%a.length;f+=a[k].x*a[c].y-a[c].x*a[k].y}return f/2}var H=a.deg2rad,r=z.pick;return{perspective:y,perspective3D:x,pointCameraDistance:function(a,f){var k=f.options.chart.options3d,c=f.plotWidth/2;f=f.plotHeight/2;k=r(k.depth,1)*r(k.viewDistance,0)+
11
+ k.depth;return Math.sqrt(Math.pow(c-r(a.plotX,a.x),2)+Math.pow(f-r(a.plotY,a.y),2)+Math.pow(k-r(a.plotZ,a.z),2))},shapeArea:m,shapeArea3D:function(a,f,k){return m(y(a,f,k))}}});F(a,"Core/Renderer/SVG/SVGElement3D.js",[a["Core/Color/Color.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,z,y){var x=a.parse,m=y.defined;a=y.merge;var H=y.objectEach,r=y.pick,C={base:{initArgs:function(f){var a=this,c=a.renderer,b=c[a.pathType+"Path"](f),m=b.zIndexes;a.parts.forEach(function(g){var f=
12
+ {"class":"highcharts-3d-"+g,zIndex:m[g]||0};c.styledMode&&("top"===g?f.filter="url(#highcharts-brighter)":"side"===g&&(f.filter="url(#highcharts-darker)"));a[g]=c.path(b[g]).attr(f).add(a)});a.attr({"stroke-linejoin":"round",zIndex:m.group});a.originalDestroy=a.destroy;a.destroy=a.destroyParts;a.forcedSides=b.forcedSides},singleSetterForParts:function(a,m,c,b,l,g){var f={};b=[null,null,b||"attr",l,g];var p=c&&c.zIndexes;c?(p&&p.group&&this.attr({zIndex:p.group}),H(c,function(b,g){f[g]={};f[g][a]=
13
+ b;p&&(f[g].zIndex=c.zIndexes[g]||0)}),b[1]=f):(f[a]=m,b[0]=f);return this.processParts.apply(this,b)},processParts:function(a,m,c,b,l){var g=this;g.parts.forEach(function(f){m&&(a=r(m[f],!1));if(!1!==a)g[f][c](a,b,l)});return g},destroyParts:function(){this.processParts(null,null,"destroy");return this.originalDestroy()}}};C.cuboid=a(C.base,{parts:["front","top","side"],pathType:"cuboid",attr:function(a,k,c,b){if("string"===typeof a&&"undefined"!==typeof k){var f=a;a={};a[f]=k}return a.shapeArgs||
14
+ m(a.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](a.shapeArgs||a)):z.prototype.attr.call(this,a,void 0,c,b)},animate:function(a,k,c){if(m(a.x)&&m(a.y)){a=this.renderer[this.pathType+"Path"](a);var b=a.forcedSides;this.singleSetterForParts("d",null,a,"animate",k,c);this.attr({zIndex:a.zIndexes.group});b!==this.forcedSides&&(this.forcedSides=b,this.renderer.styledMode||C.cuboid.fillSetter.call(this,this.fill))}else z.prototype.animate.call(this,a,k,c);return this},fillSetter:function(a){this.forcedSides=
15
+ this.forcedSides||[];this.singleSetterForParts("fill",null,{front:a,top:x(a).brighten(0<=this.forcedSides.indexOf("top")?0:.1).get(),side:x(a).brighten(0<=this.forcedSides.indexOf("side")?0:-.1).get()});this.color=this.fill=a;return this}});return C});F(a,"Core/Renderer/SVG/SVGRenderer3D.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Math3D.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Renderer/SVG/SVGElement3D.js"],a["Core/Renderer/SVG/SVGRenderer.js"],
16
+ a["Core/Utilities.js"]],function(a,z,y,D,m,H,r,C){var f=this&&this.__extends||function(){var a=function(h,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,e){a.__proto__=e}||function(a,e){for(var u in e)e.hasOwnProperty(u)&&(a[u]=e[u])};return a(h,b)};return function(h,b){function g(){this.constructor=h}a(h,b);h.prototype=null===b?Object.create(b):(g.prototype=b.prototype,new g)}}(),k=a.animObject,c=z.parse,b=y.charts,l=y.deg2rad,g=D.perspective,B=D.shapeArea,p=C.defined,t=C.extend,
17
+ v=C.merge,n=C.pick,x=Math.cos,E=Math.sin,J=Math.PI,K=4*(Math.sqrt(2)-1)/3/(J/2);return function(a){function h(){return null!==a&&a.apply(this,arguments)||this}f(h,a);h.compose=function(a){a=a.prototype;var b=h.prototype;a.elements3d=H;a.arc3d=b.arc3d;a.arc3dPath=b.arc3dPath;a.cuboid=b.cuboid;a.cuboidPath=b.cuboidPath;a.element3d=b.element3d;a.face3d=b.face3d;a.polyhedron=b.polyhedron;a.toLinePath=b.toLinePath;a.toLineSegments=b.toLineSegments};h.curveTo=function(a,b,e,u,d,q,w,A){var h=[],g=q-d;return q>
18
+ d&&q-d>Math.PI/2+.0001?(h=h.concat(this.curveTo(a,b,e,u,d,d+Math.PI/2,w,A)),h=h.concat(this.curveTo(a,b,e,u,d+Math.PI/2,q,w,A))):q<d&&d-q>Math.PI/2+.0001?(h=h.concat(this.curveTo(a,b,e,u,d,d-Math.PI/2,w,A)),h=h.concat(this.curveTo(a,b,e,u,d-Math.PI/2,q,w,A))):[["C",a+e*Math.cos(d)-e*K*g*Math.sin(d)+w,b+u*Math.sin(d)+u*K*g*Math.cos(d)+A,a+e*Math.cos(q)+e*K*g*Math.sin(q)+w,b+u*Math.sin(q)-u*K*g*Math.cos(q)+A,a+e*Math.cos(q)+w,b+u*Math.sin(q)+A]]};h.prototype.toLinePath=function(a,b){var e=[];a.forEach(function(a){e.push(["L",
19
+ a.x,a.y])});a.length&&(e[0][0]="M",b&&e.push(["Z"]));return e};h.prototype.toLineSegments=function(a){var b=[],e=!0;a.forEach(function(a){b.push(e?["M",a.x,a.y]:["L",a.x,a.y]);e=!e});return b};h.prototype.face3d=function(a){var h=this,e=this.createElement("path");e.vertexes=[];e.insidePlotArea=!1;e.enabled=!0;e.attr=function(e){if("object"===typeof e&&(p(e.enabled)||p(e.vertexes)||p(e.insidePlotArea))){this.enabled=n(e.enabled,this.enabled);this.vertexes=n(e.vertexes,this.vertexes);this.insidePlotArea=
20
+ n(e.insidePlotArea,this.insidePlotArea);delete e.enabled;delete e.vertexes;delete e.insidePlotArea;var d=g(this.vertexes,b[h.chartIndex],this.insidePlotArea),q=h.toLinePath(d,!0);d=B(d);e.d=q;e.visibility=this.enabled&&0<d?"inherit":"hidden"}return m.prototype.attr.apply(this,arguments)};e.animate=function(e){if("object"===typeof e&&(p(e.enabled)||p(e.vertexes)||p(e.insidePlotArea))){this.enabled=n(e.enabled,this.enabled);this.vertexes=n(e.vertexes,this.vertexes);this.insidePlotArea=n(e.insidePlotArea,
21
+ this.insidePlotArea);delete e.enabled;delete e.vertexes;delete e.insidePlotArea;var d=g(this.vertexes,b[h.chartIndex],this.insidePlotArea),q=h.toLinePath(d,!0);d=B(d);d=this.enabled&&0<d?"visible":"hidden";e.d=q;this.attr("visibility",d)}return m.prototype.animate.apply(this,arguments)};return e.attr(a)};h.prototype.polyhedron=function(a){var b=this,e=this.g(),h=e.destroy;this.styledMode||e.attr({"stroke-linejoin":"round"});e.faces=[];e.destroy=function(){for(var d=0;d<e.faces.length;d++)e.faces[d].destroy();
22
+ return h.call(this)};e.attr=function(d,q,a,h){if("object"===typeof d&&p(d.faces)){for(;e.faces.length>d.faces.length;)e.faces.pop().destroy();for(;e.faces.length<d.faces.length;)e.faces.push(b.face3d().add(e));for(var w=0;w<d.faces.length;w++)b.styledMode&&delete d.faces[w].fill,e.faces[w].attr(d.faces[w],null,a,h);delete d.faces}return m.prototype.attr.apply(this,arguments)};e.animate=function(d,q,a){if(d&&d.faces){for(;e.faces.length>d.faces.length;)e.faces.pop().destroy();for(;e.faces.length<d.faces.length;)e.faces.push(b.face3d().add(e));
23
+ for(var w=0;w<d.faces.length;w++)e.faces[w].animate(d.faces[w],q,a);delete d.faces}return m.prototype.animate.apply(this,arguments)};return e.attr(a)};h.prototype.element3d=function(a,b){var e=this.g();t(e,this.elements3d[a]);e.initArgs(b);return e};h.prototype.cuboid=function(a){return this.element3d("cuboid",a)};h.prototype.cuboidPath=function(a){function h(e){return 0===w&&1<e&&6>e?{x:I[e].x,y:I[e].y+10,z:I[e].z}:I[0].x===I[7].x&&4<=e?{x:I[e].x+10,y:I[e].y,z:I[e].z}:0===c&&2>e||5<e?{x:I[e].x,y:I[e].y,
24
+ z:I[e].z+10}:I[e]}function e(e){return I[e]}var u=a.x||0,d=a.y||0,q=a.z||0,w=a.height||0,A=a.width||0,c=a.depth||0,f=b[this.chartIndex],m=f.options.chart.options3d.alpha,p=0,I=[{x:u,y:d,z:q},{x:u+A,y:d,z:q},{x:u+A,y:d+w,z:q},{x:u,y:d+w,z:q},{x:u,y:d+w,z:q+c},{x:u+A,y:d+w,z:q+c},{x:u+A,y:d,z:q+c},{x:u,y:d,z:q+c}],k=[];I=g(I,f,a.insidePlotArea);var G=function(d,a,q){var w=[[],-1],b=d.map(e),u=a.map(e);d=d.map(h);a=a.map(h);0>B(b)?w=[b,0]:0>B(u)?w=[u,1]:q&&(k.push(q),w=0>B(d)?[b,0]:0>B(a)?[u,1]:[b,0]);
25
+ return w};var l=G([3,2,1,0],[7,6,5,4],"front");a=l[0];var t=l[1];l=G([1,6,7,0],[4,5,2,3],"top");A=l[0];var r=l[1];l=G([1,2,5,6],[0,7,4,3],"side");G=l[0];l=l[1];1===l?p+=1E6*(f.plotWidth-u):l||(p+=1E6*u);p+=10*(!r||0<=m&&180>=m||360>m&&357.5<m?f.plotHeight-d:10+d);1===t?p+=100*q:t||(p+=100*(1E3-q));return{front:this.toLinePath(a,!0),top:this.toLinePath(A,!0),side:this.toLinePath(G,!0),zIndexes:{group:Math.round(p)},forcedSides:k,isFront:t,isTop:r}};h.prototype.arc3d=function(a){function b(e){var a=
26
+ !1,q={},b;e=v(e);for(b in e)-1!==d.indexOf(b)&&(q[b]=e[b],delete e[b],a=!0);return a?[q,e]:!1}var e=this.g(),h=e.renderer,d="x y r innerR start end depth".split(" ");a=v(a);a.alpha=(a.alpha||0)*l;a.beta=(a.beta||0)*l;e.top=h.path();e.side1=h.path();e.side2=h.path();e.inn=h.path();e.out=h.path();e.onAdd=function(){var d=e.parentGroup,a=e.attr("class");e.top.add(e);["out","inn","side1","side2"].forEach(function(q){e[q].attr({"class":a+" highcharts-3d-side"}).add(d)})};["addClass","removeClass"].forEach(function(d){e[d]=
27
+ function(){var a=arguments;["top","out","inn","side1","side2"].forEach(function(q){e[q][d].apply(e[q],a)})}});e.setPaths=function(d){var a=e.renderer.arc3dPath(d),q=100*a.zTop;e.attribs=d;e.top.attr({d:a.top,zIndex:a.zTop});e.inn.attr({d:a.inn,zIndex:a.zInn});e.out.attr({d:a.out,zIndex:a.zOut});e.side1.attr({d:a.side1,zIndex:a.zSide1});e.side2.attr({d:a.side2,zIndex:a.zSide2});e.zIndex=q;e.attr({zIndex:q});d.center&&(e.top.setRadialReference(d.center),delete d.center)};e.setPaths(a);e.fillSetter=
28
+ function(e){var d=c(e).brighten(-.1).get();this.fill=e;this.side1.attr({fill:d});this.side2.attr({fill:d});this.inn.attr({fill:d});this.out.attr({fill:d});this.top.attr({fill:e});return this};["opacity","translateX","translateY","visibility"].forEach(function(d){e[d+"Setter"]=function(d,a){e[a]=d;["out","inn","side1","side2","top"].forEach(function(q){e[q].attr(a,d)})}});e.attr=function(d){var a;if("object"===typeof d&&(a=b(d))){var q=a[0];arguments[0]=a[1];t(e.attribs,q);e.setPaths(e.attribs)}return m.prototype.attr.apply(e,
29
+ arguments)};e.animate=function(d,a,h){var q=this.attribs,u="data-"+Math.random().toString(26).substring(2,9);delete d.center;delete d.z;delete d.alpha;delete d.beta;var w=k(n(a,this.renderer.globalAnimation));if(w.duration){a=b(d);e[u]=0;d[u]=1;e[u+"Setter"]=y.noop;if(a){var A=a[0];w.step=function(d,e){function a(d){return q[d]+(n(A[d],q[d])-q[d])*e.pos}e.prop===u&&e.elem.setPaths(v(q,{x:a("x"),y:a("y"),r:a("r"),innerR:a("innerR"),start:a("start"),end:a("end"),depth:a("depth")}))}}a=w}return m.prototype.animate.call(this,
30
+ d,a,h)};e.destroy=function(){this.top.destroy();this.out.destroy();this.inn.destroy();this.side1.destroy();this.side2.destroy();return m.prototype.destroy.call(this)};e.hide=function(){this.top.hide();this.out.hide();this.inn.hide();this.side1.hide();this.side2.hide()};e.show=function(d){this.top.show(d);this.out.show(d);this.inn.show(d);this.side1.show(d);this.side2.show(d)};return e};h.prototype.arc3dPath=function(a){function b(d){d%=2*Math.PI;d>Math.PI&&(d=2*Math.PI-d);return d}var e=a.x||0,u=
31
+ a.y||0,d=a.start||0,q=(a.end||0)-.00001,w=a.r||0,A=a.innerR||0,g=a.depth||0,c=a.alpha||0,f=a.beta||0,m=Math.cos(d),p=Math.sin(d);a=Math.cos(q);var k=Math.sin(q),l=w*Math.cos(f);w*=Math.cos(c);var t=A*Math.cos(f),r=A*Math.cos(c);A=g*Math.sin(f);var n=g*Math.sin(c);g=[["M",e+l*m,u+w*p]];g=g.concat(h.curveTo(e,u,l,w,d,q,0,0));g.push(["L",e+t*a,u+r*k]);g=g.concat(h.curveTo(e,u,t,r,q,d,0,0));g.push(["Z"]);var B=0<f?Math.PI/2:0;f=0<c?0:Math.PI/2;B=d>-B?d:q>-B?-B:d;var G=q<J-f?q:d<J-f?J-f:q,v=2*J-f;c=[["M",
32
+ e+l*x(B),u+w*E(B)]];c=c.concat(h.curveTo(e,u,l,w,B,G,0,0));q>v&&d<v?(c.push(["L",e+l*x(G)+A,u+w*E(G)+n]),c=c.concat(h.curveTo(e,u,l,w,G,v,A,n)),c.push(["L",e+l*x(v),u+w*E(v)]),c=c.concat(h.curveTo(e,u,l,w,v,q,0,0)),c.push(["L",e+l*x(q)+A,u+w*E(q)+n]),c=c.concat(h.curveTo(e,u,l,w,q,v,A,n)),c.push(["L",e+l*x(v),u+w*E(v)]),c=c.concat(h.curveTo(e,u,l,w,v,G,0,0))):q>J-f&&d<J-f&&(c.push(["L",e+l*Math.cos(G)+A,u+w*Math.sin(G)+n]),c=c.concat(h.curveTo(e,u,l,w,G,q,A,n)),c.push(["L",e+l*Math.cos(q),u+w*Math.sin(q)]),
33
+ c=c.concat(h.curveTo(e,u,l,w,q,G,0,0)));c.push(["L",e+l*Math.cos(G)+A,u+w*Math.sin(G)+n]);c=c.concat(h.curveTo(e,u,l,w,G,B,A,n));c.push(["Z"]);f=[["M",e+t*m,u+r*p]];f=f.concat(h.curveTo(e,u,t,r,d,q,0,0));f.push(["L",e+t*Math.cos(q)+A,u+r*Math.sin(q)+n]);f=f.concat(h.curveTo(e,u,t,r,q,d,A,n));f.push(["Z"]);m=[["M",e+l*m,u+w*p],["L",e+l*m+A,u+w*p+n],["L",e+t*m+A,u+r*p+n],["L",e+t*m,u+r*p],["Z"]];e=[["M",e+l*a,u+w*k],["L",e+l*a+A,u+w*k+n],["L",e+t*a+A,u+r*k+n],["L",e+t*a,u+r*k],["Z"]];k=Math.atan2(n,
34
+ -A);u=Math.abs(q+k);a=Math.abs(d+k);d=Math.abs((d+q)/2+k);u=b(u);a=b(a);d=b(d);d*=1E5;q=1E5*a;u*=1E5;return{top:g,zTop:1E5*Math.PI+1,out:c,zOut:Math.max(d,q,u),inn:f,zInn:Math.max(d,q,u),side1:m,zSide1:.99*u,side2:e,zSide2:.99*q}};return h}(r)});F(a,"Core/Chart/Chart3D.js",[a["Core/Color/Color.js"],a["Core/Defaults.js"],a["Core/Math3D.js"],a["Core/Utilities.js"]],function(a,z,y,D){var m=a.parse,x=z.defaultOptions,r=y.perspective,C=y.shapeArea3D,f=D.addEvent,k=D.isArray,c=D.merge,b=D.pick,l=D.wrap,
35
+ g;(function(a){function g(a){this.is3d()&&"scatter"===a.options.type&&(a.options.type="scatter3d")}function t(){if(this.chart3d&&this.is3d()){var a=this.renderer,b=this.options.chart.options3d,d=this.chart3d.get3dFrame(),q=this.plotLeft,h=this.plotLeft+this.plotWidth,g=this.plotTop,c=this.plotTop+this.plotHeight;b=b.depth;var f=q-(d.left.visible?d.left.size:0),l=h+(d.right.visible?d.right.size:0),p=g-(d.top.visible?d.top.size:0),k=c+(d.bottom.visible?d.bottom.size:0),t=0-(d.front.visible?d.front.size:
36
+ 0),n=b+(d.back.visible?d.back.size:0),r=this.hasRendered?"animate":"attr";this.chart3d.frame3d=d;this.frameShapes||(this.frameShapes={bottom:a.polyhedron().add(),top:a.polyhedron().add(),left:a.polyhedron().add(),right:a.polyhedron().add(),back:a.polyhedron().add(),front:a.polyhedron().add()});this.frameShapes.bottom[r]({"class":"highcharts-3d-frame highcharts-3d-frame-bottom",zIndex:d.bottom.frontFacing?-1E3:1E3,faces:[{fill:m(d.bottom.color).brighten(.1).get(),vertexes:[{x:f,y:k,z:t},{x:l,y:k,z:t},
37
+ {x:l,y:k,z:n},{x:f,y:k,z:n}],enabled:d.bottom.visible},{fill:m(d.bottom.color).brighten(.1).get(),vertexes:[{x:q,y:c,z:b},{x:h,y:c,z:b},{x:h,y:c,z:0},{x:q,y:c,z:0}],enabled:d.bottom.visible},{fill:m(d.bottom.color).brighten(-.1).get(),vertexes:[{x:f,y:k,z:t},{x:f,y:k,z:n},{x:q,y:c,z:b},{x:q,y:c,z:0}],enabled:d.bottom.visible&&!d.left.visible},{fill:m(d.bottom.color).brighten(-.1).get(),vertexes:[{x:l,y:k,z:n},{x:l,y:k,z:t},{x:h,y:c,z:0},{x:h,y:c,z:b}],enabled:d.bottom.visible&&!d.right.visible},{fill:m(d.bottom.color).get(),
38
+ vertexes:[{x:l,y:k,z:t},{x:f,y:k,z:t},{x:q,y:c,z:0},{x:h,y:c,z:0}],enabled:d.bottom.visible&&!d.front.visible},{fill:m(d.bottom.color).get(),vertexes:[{x:f,y:k,z:n},{x:l,y:k,z:n},{x:h,y:c,z:b},{x:q,y:c,z:b}],enabled:d.bottom.visible&&!d.back.visible}]});this.frameShapes.top[r]({"class":"highcharts-3d-frame highcharts-3d-frame-top",zIndex:d.top.frontFacing?-1E3:1E3,faces:[{fill:m(d.top.color).brighten(.1).get(),vertexes:[{x:f,y:p,z:n},{x:l,y:p,z:n},{x:l,y:p,z:t},{x:f,y:p,z:t}],enabled:d.top.visible},
39
+ {fill:m(d.top.color).brighten(.1).get(),vertexes:[{x:q,y:g,z:0},{x:h,y:g,z:0},{x:h,y:g,z:b},{x:q,y:g,z:b}],enabled:d.top.visible},{fill:m(d.top.color).brighten(-.1).get(),vertexes:[{x:f,y:p,z:n},{x:f,y:p,z:t},{x:q,y:g,z:0},{x:q,y:g,z:b}],enabled:d.top.visible&&!d.left.visible},{fill:m(d.top.color).brighten(-.1).get(),vertexes:[{x:l,y:p,z:t},{x:l,y:p,z:n},{x:h,y:g,z:b},{x:h,y:g,z:0}],enabled:d.top.visible&&!d.right.visible},{fill:m(d.top.color).get(),vertexes:[{x:f,y:p,z:t},{x:l,y:p,z:t},{x:h,y:g,
40
+ z:0},{x:q,y:g,z:0}],enabled:d.top.visible&&!d.front.visible},{fill:m(d.top.color).get(),vertexes:[{x:l,y:p,z:n},{x:f,y:p,z:n},{x:q,y:g,z:b},{x:h,y:g,z:b}],enabled:d.top.visible&&!d.back.visible}]});this.frameShapes.left[r]({"class":"highcharts-3d-frame highcharts-3d-frame-left",zIndex:d.left.frontFacing?-1E3:1E3,faces:[{fill:m(d.left.color).brighten(.1).get(),vertexes:[{x:f,y:k,z:t},{x:q,y:c,z:0},{x:q,y:c,z:b},{x:f,y:k,z:n}],enabled:d.left.visible&&!d.bottom.visible},{fill:m(d.left.color).brighten(.1).get(),
41
+ vertexes:[{x:f,y:p,z:n},{x:q,y:g,z:b},{x:q,y:g,z:0},{x:f,y:p,z:t}],enabled:d.left.visible&&!d.top.visible},{fill:m(d.left.color).brighten(-.1).get(),vertexes:[{x:f,y:k,z:n},{x:f,y:p,z:n},{x:f,y:p,z:t},{x:f,y:k,z:t}],enabled:d.left.visible},{fill:m(d.left.color).brighten(-.1).get(),vertexes:[{x:q,y:g,z:b},{x:q,y:c,z:b},{x:q,y:c,z:0},{x:q,y:g,z:0}],enabled:d.left.visible},{fill:m(d.left.color).get(),vertexes:[{x:f,y:k,z:t},{x:f,y:p,z:t},{x:q,y:g,z:0},{x:q,y:c,z:0}],enabled:d.left.visible&&!d.front.visible},
42
+ {fill:m(d.left.color).get(),vertexes:[{x:f,y:p,z:n},{x:f,y:k,z:n},{x:q,y:c,z:b},{x:q,y:g,z:b}],enabled:d.left.visible&&!d.back.visible}]});this.frameShapes.right[r]({"class":"highcharts-3d-frame highcharts-3d-frame-right",zIndex:d.right.frontFacing?-1E3:1E3,faces:[{fill:m(d.right.color).brighten(.1).get(),vertexes:[{x:l,y:k,z:n},{x:h,y:c,z:b},{x:h,y:c,z:0},{x:l,y:k,z:t}],enabled:d.right.visible&&!d.bottom.visible},{fill:m(d.right.color).brighten(.1).get(),vertexes:[{x:l,y:p,z:t},{x:h,y:g,z:0},{x:h,
43
+ y:g,z:b},{x:l,y:p,z:n}],enabled:d.right.visible&&!d.top.visible},{fill:m(d.right.color).brighten(-.1).get(),vertexes:[{x:h,y:g,z:0},{x:h,y:c,z:0},{x:h,y:c,z:b},{x:h,y:g,z:b}],enabled:d.right.visible},{fill:m(d.right.color).brighten(-.1).get(),vertexes:[{x:l,y:k,z:t},{x:l,y:p,z:t},{x:l,y:p,z:n},{x:l,y:k,z:n}],enabled:d.right.visible},{fill:m(d.right.color).get(),vertexes:[{x:l,y:p,z:t},{x:l,y:k,z:t},{x:h,y:c,z:0},{x:h,y:g,z:0}],enabled:d.right.visible&&!d.front.visible},{fill:m(d.right.color).get(),
44
+ vertexes:[{x:l,y:k,z:n},{x:l,y:p,z:n},{x:h,y:g,z:b},{x:h,y:c,z:b}],enabled:d.right.visible&&!d.back.visible}]});this.frameShapes.back[r]({"class":"highcharts-3d-frame highcharts-3d-frame-back",zIndex:d.back.frontFacing?-1E3:1E3,faces:[{fill:m(d.back.color).brighten(.1).get(),vertexes:[{x:l,y:k,z:n},{x:f,y:k,z:n},{x:q,y:c,z:b},{x:h,y:c,z:b}],enabled:d.back.visible&&!d.bottom.visible},{fill:m(d.back.color).brighten(.1).get(),vertexes:[{x:f,y:p,z:n},{x:l,y:p,z:n},{x:h,y:g,z:b},{x:q,y:g,z:b}],enabled:d.back.visible&&
45
+ !d.top.visible},{fill:m(d.back.color).brighten(-.1).get(),vertexes:[{x:f,y:k,z:n},{x:f,y:p,z:n},{x:q,y:g,z:b},{x:q,y:c,z:b}],enabled:d.back.visible&&!d.left.visible},{fill:m(d.back.color).brighten(-.1).get(),vertexes:[{x:l,y:p,z:n},{x:l,y:k,z:n},{x:h,y:c,z:b},{x:h,y:g,z:b}],enabled:d.back.visible&&!d.right.visible},{fill:m(d.back.color).get(),vertexes:[{x:q,y:g,z:b},{x:h,y:g,z:b},{x:h,y:c,z:b},{x:q,y:c,z:b}],enabled:d.back.visible},{fill:m(d.back.color).get(),vertexes:[{x:f,y:k,z:n},{x:l,y:k,z:n},
46
+ {x:l,y:p,z:n},{x:f,y:p,z:n}],enabled:d.back.visible}]});this.frameShapes.front[r]({"class":"highcharts-3d-frame highcharts-3d-frame-front",zIndex:d.front.frontFacing?-1E3:1E3,faces:[{fill:m(d.front.color).brighten(.1).get(),vertexes:[{x:f,y:k,z:t},{x:l,y:k,z:t},{x:h,y:c,z:0},{x:q,y:c,z:0}],enabled:d.front.visible&&!d.bottom.visible},{fill:m(d.front.color).brighten(.1).get(),vertexes:[{x:l,y:p,z:t},{x:f,y:p,z:t},{x:q,y:g,z:0},{x:h,y:g,z:0}],enabled:d.front.visible&&!d.top.visible},{fill:m(d.front.color).brighten(-.1).get(),
47
+ vertexes:[{x:f,y:p,z:t},{x:f,y:k,z:t},{x:q,y:c,z:0},{x:q,y:g,z:0}],enabled:d.front.visible&&!d.left.visible},{fill:m(d.front.color).brighten(-.1).get(),vertexes:[{x:l,y:k,z:t},{x:l,y:p,z:t},{x:h,y:g,z:0},{x:h,y:c,z:0}],enabled:d.front.visible&&!d.right.visible},{fill:m(d.front.color).get(),vertexes:[{x:h,y:g,z:0},{x:q,y:g,z:0},{x:q,y:c,z:0},{x:h,y:c,z:0}],enabled:d.front.visible},{fill:m(d.front.color).get(),vertexes:[{x:l,y:k,z:t},{x:f,y:k,z:t},{x:f,y:p,z:t},{x:l,y:p,z:t}],enabled:d.front.visible}]})}}
48
+ function v(){this.styledMode&&[{name:"darker",slope:.6},{name:"brighter",slope:1.4}].forEach(function(a){this.renderer.definition({tagName:"filter",attributes:{id:"highcharts-"+a.name},children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncR",attributes:{type:"linear",slope:a.slope}},{tagName:"feFuncG",attributes:{type:"linear",slope:a.slope}},{tagName:"feFuncB",attributes:{type:"linear",slope:a.slope}}]}]})},this)}function n(){var a=this.options;this.is3d()&&(a.series||[]).forEach(function(e){"scatter"===
49
+ (e.type||a.chart.type||a.chart.defaultSeriesType)&&(e.type="scatter3d")})}function B(){var a=this.options.chart.options3d;if(this.chart3d&&this.is3d()){a&&(a.alpha=a.alpha%360+(0<=a.alpha?0:360),a.beta=a.beta%360+(0<=a.beta?0:360));var b=this.inverted,d=this.clipBox,h=this.margin;d[b?"y":"x"]=-(h[3]||0);d[b?"x":"y"]=-(h[0]||0);d[b?"height":"width"]=this.chartWidth+(h[3]||0)+(h[1]||0);d[b?"width":"height"]=this.chartHeight+(h[0]||0)+(h[2]||0);this.scale3d=1;!0===a.fitToPlot&&(this.scale3d=this.chart3d.getScale(a.depth));
50
+ this.chart3d.frame3d=this.chart3d.get3dFrame()}}function E(){this.is3d()&&(this.isDirtyBox=!0)}function y(){this.chart3d&&this.is3d()&&(this.chart3d.frame3d=this.chart3d.get3dFrame())}function z(){this.chart3d||(this.chart3d=new M(this))}function N(a){return this.is3d()||a.apply(this,[].slice.call(arguments,1))}function h(a){var e=this.series.length;if(this.is3d())for(;e--;)a=this.series[e],a.translate(),a.render();else a.call(this)}function G(a){a.apply(this,[].slice.call(arguments,1));this.is3d()&&
51
+ (this.container.className+=" highcharts-3d-chart")}var M=function(){function a(a){this.frame3d=void 0;this.chart=a}a.prototype.get3dFrame=function(){var a=this.chart,d=a.options.chart.options3d,e=d.frame,h=a.plotLeft,g=a.plotLeft+a.plotWidth,c=a.plotTop,f=a.plotTop+a.plotHeight,l=d.depth,p=function(d){d=C(d,a);return.5<d?1:-.5>d?-1:0},k=p([{x:h,y:f,z:l},{x:g,y:f,z:l},{x:g,y:f,z:0},{x:h,y:f,z:0}]),t=p([{x:h,y:c,z:0},{x:g,y:c,z:0},{x:g,y:c,z:l},{x:h,y:c,z:l}]),m=p([{x:h,y:c,z:0},{x:h,y:c,z:l},{x:h,
52
+ y:f,z:l},{x:h,y:f,z:0}]),n=p([{x:g,y:c,z:l},{x:g,y:c,z:0},{x:g,y:f,z:0},{x:g,y:f,z:l}]),G=p([{x:h,y:f,z:0},{x:g,y:f,z:0},{x:g,y:c,z:0},{x:h,y:c,z:0}]);p=p([{x:h,y:c,z:l},{x:g,y:c,z:l},{x:g,y:f,z:l},{x:h,y:f,z:l}]);var M=!1,B=!1,v=!1,E=!1;[].concat(a.xAxis,a.yAxis,a.zAxis).forEach(function(a){a&&(a.horiz?a.opposite?B=!0:M=!0:a.opposite?E=!0:v=!0)});var x=function(a,d,e){for(var h=["size","color","visible"],g={},c=0;c<h.length;c++)for(var f=h[c],l=0;l<a.length;l++)if("object"===typeof a[l]){var p=a[l][f];
53
+ if("undefined"!==typeof p&&null!==p){g[f]=p;break}}a=e;!0===g.visible||!1===g.visible?a=g.visible:"auto"===g.visible&&(a=0<d);return{size:b(g.size,1),color:b(g.color,"none"),frontFacing:0<d,visible:a}};e={axes:{},bottom:x([e.bottom,e.top,e],k,M),top:x([e.top,e.bottom,e],t,B),left:x([e.left,e.right,e.side,e],m,v),right:x([e.right,e.left,e.side,e],n,E),back:x([e.back,e.front,e],p,!0),front:x([e.front,e.back,e],G,!1)};"auto"===d.axisLabelPosition?(n=function(a,d){return a.visible!==d.visible||a.visible&&
54
+ d.visible&&a.frontFacing!==d.frontFacing},d=[],n(e.left,e.front)&&d.push({y:(c+f)/2,x:h,z:0,xDir:{x:1,y:0,z:0}}),n(e.left,e.back)&&d.push({y:(c+f)/2,x:h,z:l,xDir:{x:0,y:0,z:-1}}),n(e.right,e.front)&&d.push({y:(c+f)/2,x:g,z:0,xDir:{x:0,y:0,z:1}}),n(e.right,e.back)&&d.push({y:(c+f)/2,x:g,z:l,xDir:{x:-1,y:0,z:0}}),k=[],n(e.bottom,e.front)&&k.push({x:(h+g)/2,y:f,z:0,xDir:{x:1,y:0,z:0}}),n(e.bottom,e.back)&&k.push({x:(h+g)/2,y:f,z:l,xDir:{x:-1,y:0,z:0}}),t=[],n(e.top,e.front)&&t.push({x:(h+g)/2,y:c,z:0,
55
+ xDir:{x:1,y:0,z:0}}),n(e.top,e.back)&&t.push({x:(h+g)/2,y:c,z:l,xDir:{x:-1,y:0,z:0}}),m=[],n(e.bottom,e.left)&&m.push({z:(0+l)/2,y:f,x:h,xDir:{x:0,y:0,z:-1}}),n(e.bottom,e.right)&&m.push({z:(0+l)/2,y:f,x:g,xDir:{x:0,y:0,z:1}}),f=[],n(e.top,e.left)&&f.push({z:(0+l)/2,y:c,x:h,xDir:{x:0,y:0,z:-1}}),n(e.top,e.right)&&f.push({z:(0+l)/2,y:c,x:g,xDir:{x:0,y:0,z:1}}),h=function(d,e,h){if(0===d.length)return null;if(1===d.length)return d[0];for(var b=r(d,a,!1),g=0,c=1;c<b.length;c++)h*b[c][e]>h*b[g][e]?g=
56
+ c:h*b[c][e]===h*b[g][e]&&b[c].z<b[g].z&&(g=c);return d[g]},e.axes={y:{left:h(d,"x",-1),right:h(d,"x",1)},x:{top:h(t,"y",-1),bottom:h(k,"y",1)},z:{top:h(f,"y",-1),bottom:h(m,"y",1)}}):e.axes={y:{left:{x:h,z:0,xDir:{x:1,y:0,z:0}},right:{x:g,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:c,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:f,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:v?g:h,y:c,xDir:v?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:v?g:h,y:f,xDir:v?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}};return e};a.prototype.getScale=function(a){var d=
57
+ this.chart,e=d.plotLeft,h=d.plotWidth+e,b=d.plotTop,g=d.plotHeight+b,c=e+d.plotWidth/2,f=b+d.plotHeight/2,l=Number.MAX_VALUE,p=-Number.MAX_VALUE,k=Number.MAX_VALUE,t=-Number.MAX_VALUE,n=1;var m=[{x:e,y:b,z:0},{x:e,y:b,z:a}];[0,1].forEach(function(a){m.push({x:h,y:m[a].y,z:m[a].z})});[0,1,2,3].forEach(function(a){m.push({x:m[a].x,y:g,z:m[a].z})});m=r(m,d,!1);m.forEach(function(a){l=Math.min(l,a.x);p=Math.max(p,a.x);k=Math.min(k,a.y);t=Math.max(t,a.y)});e>l&&(n=Math.min(n,1-Math.abs((e+c)/(l+c))%1));
58
+ h<p&&(n=Math.min(n,(h-c)/(p-c)));b>k&&(n=0>k?Math.min(n,(b+f)/(-k+b+f)):Math.min(n,1-(b+f)/(k+f)%1));g<t&&(n=Math.min(n,Math.abs((g-f)/(t-f))));return n};return a}();a.Composition=M;a.defaultOptions={chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:null,frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}};a.compose=function(e,b){var d=e.prototype;b=b.prototype;d.is3d=function(){return!(!this.options.chart.options3d||
59
+ !this.options.chart.options3d.enabled)};d.propsRequireDirtyBox.push("chart.options3d");d.propsRequireUpdateSeries.push("chart.options3d");b.matrixSetter=function(){if(1>this.pos&&(k(this.start)||k(this.end))){var a=this.start||[1,0,0,1,0,0],d=this.end||[1,0,0,1,0,0];var e=[];for(var h=0;6>h;h++)e.push(this.pos*d[h]+(1-this.pos)*a[h])}else e=this.end;this.elem.attr(this.prop,e,null,!0)};c(!0,x,a.defaultOptions);f(e,"init",z);f(e,"addSeries",g);f(e,"afterDrawChartBox",t);f(e,"afterGetContainer",v);
60
+ f(e,"afterInit",n);f(e,"afterSetChartSize",B);f(e,"beforeRedraw",E);f(e,"beforeRender",y);l(d,"isInsidePlot",N);l(d,"renderSeries",h);l(d,"setClassName",G)}})(g||(g={}));"";return g});F(a,"Core/Axis/ZAxis.js",[a["Core/Axis/Axis.js"],a["Core/Utilities.js"]],function(a,z){function x(a){return new c(this,a)}function D(){var a=this,c=this.options.zAxis=f(this.options.zAxis||{});this.is3d()&&(this.zAxis=[],c.forEach(function(b,c){b.index=c;b.isX=!0;a.addZAxis(b).setScale()}))}var m=this&&this.__extends||
61
+ function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function g(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}(),H=z.addEvent,r=z.merge,C=z.pick,f=z.splat,k=[],c=function(a){function b(b,c){b=a.call(this,b,c)||this;b.isZAxis=!0;return b}m(b,a);b.compose=function(a){-1===k.indexOf(a)&&
62
+ (k.push(a),H(a,"afterGetAxes",D),a=a.prototype,a.addZAxis=x,a.collectionsWithInit.zAxis=[a.addZAxis],a.collectionsWithUpdate.push("zAxis"))};b.prototype.getSeriesExtremes=function(){var a=this,b=this.chart;this.hasVisibleSeries=!1;this.dataMin=this.dataMax=this.ignoreMinPadding=this.ignoreMaxPadding=void 0;this.stacking&&this.stacking.buildStacks();this.series.forEach(function(c){if(c.visible||!b.options.chart.ignoreHiddenSeries)a.hasVisibleSeries=!0,c=c.zData,c.length&&(a.dataMin=Math.min(C(a.dataMin,
63
+ c[0]),Math.min.apply(null,c)),a.dataMax=Math.max(C(a.dataMax,c[0]),Math.max.apply(null,c)))})};b.prototype.setAxisSize=function(){var b=this.chart;a.prototype.setAxisSize.call(this);this.width=this.len=b.options.chart.options3d&&b.options.chart.options3d.depth||0;this.right=b.chartWidth-this.width-this.left};b.prototype.setOptions=function(b){b=r({offset:0,lineWidth:0},b);this.isZAxis=!0;a.prototype.setOptions.call(this,b);this.coll="zAxis"};return b}(a);return c});F(a,"Core/Axis/Axis3DDefaults.js",
64
+ [],function(){return{labels:{position3d:"offset",skew3d:!1},title:{position3d:null,skew3d:null}}});F(a,"Core/Axis/Tick3DComposition.js",[a["Core/Utilities.js"]],function(a){function x(a){var f=this.axis.axis3D;f&&m(a.pos,f.fix3dPosition(a.pos))}function y(a){var f=this.axis.axis3D,k=a.apply(this,[].slice.call(arguments,1));if(f){var c=k[0],b=k[1];if("M"===c[0]&&"L"===b[0])return f=[f.fix3dPosition({x:c[1],y:c[2],z:0}),f.fix3dPosition({x:b[1],y:b[2],z:0})],this.axis.chart.renderer.toLineSegments(f)}return k}
65
+ var D=a.addEvent,m=a.extend,H=a.wrap,r=[];return{compose:function(a){-1===r.indexOf(a)&&(r.push(a),D(a,"afterGetLabelPosition",x),H(a.prototype,"getMarkPath",y))}}});F(a,"Core/Axis/Axis3DComposition.js",[a["Core/Axis/Axis3DDefaults.js"],a["Core/Globals.js"],a["Core/Math3D.js"],a["Core/Axis/Tick3DComposition.js"],a["Core/Utilities.js"]],function(a,z,y,D,m){function x(){var a=this.chart,b=this.options;a.is3d&&a.is3d()&&"colorAxis"!==this.coll&&(b.tickWidth=L(b.tickWidth,0),b.gridLineWidth=L(b.gridLineWidth,
66
+ 1))}function r(a){this.chart.is3d()&&"colorAxis"!==this.coll&&a.point&&(a.point.crosshairPos=this.isXAxis?a.point.axisXpos:this.len-a.point.axisYpos)}function C(){this.axis3D||(this.axis3D=new K(this))}function f(a){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:a.apply(this,[].slice.call(arguments,1))}function k(a){if(!this.chart.is3d()||"colorAxis"===this.coll)return a.apply(this,[].slice.call(arguments,1));var b=arguments,c=b[2],f=[];b=this.getPlotLinePath({value:b[1]});c=this.getPlotLinePath({value:c});
67
+ if(b&&c)for(var e=0;e<b.length;e+=2){var g=b[e],d=b[e+1],l=c[e],k=c[e+1];"M"===g[0]&&"L"===d[0]&&"M"===l[0]&&"L"===k[0]&&f.push(g,d,k,["L",l[1],l[2]],["Z"])}return f}function c(a){var b=this.axis3D,c=this.chart,f=a.apply(this,[].slice.call(arguments,1));if("colorAxis"===this.coll||!c.chart3d||!c.is3d()||null===f)return f;var e=c.options.chart.options3d,g=this.isZAxis?c.plotWidth:e.depth;e=c.chart3d.frame3d;var d=f[0],l=f[1];f=[];"M"===d[0]&&"L"===l[0]&&(b=[b.swapZ({x:d[1],y:d[2],z:0}),b.swapZ({x:d[1],
68
+ y:d[2],z:g}),b.swapZ({x:l[1],y:l[2],z:0}),b.swapZ({x:l[1],y:l[2],z:g})],this.horiz?(this.isZAxis?(e.left.visible&&f.push(b[0],b[2]),e.right.visible&&f.push(b[1],b[3])):(e.front.visible&&f.push(b[0],b[2]),e.back.visible&&f.push(b[1],b[3])),e.top.visible&&f.push(b[0],b[1]),e.bottom.visible&&f.push(b[2],b[3])):(e.front.visible&&f.push(b[0],b[2]),e.back.visible&&f.push(b[1],b[3]),e.left.visible&&f.push(b[0],b[1]),e.right.visible&&f.push(b[2],b[3])),f=B(f,this.chart,!1));return c.renderer.toLineSegments(f)}
69
+ function b(a,b){var c=this.chart,h=this.ticks,e=this.gridGroup;if(this.categories&&c.frameShapes&&c.is3d()&&e&&b&&b.label){e=e.element.childNodes[0].getBBox();var f=c.frameShapes.left.getBBox(),d=c.options.chart.options3d;c={x:c.plotWidth/2,y:c.plotHeight/2,z:d.depth/2,vd:L(d.depth,1)*L(d.viewDistance,0)};d=b.pos;var g=h[d-1],l=h[d+1],k=h=void 0;0!==d&&g&&g.label&&g.label.xy&&(h=p({x:g.label.xy.x,y:g.label.xy.y,z:null},c,c.vd));l&&l.label&&l.label.xy&&(k=p({x:l.label.xy.x,y:l.label.xy.y,z:null},c,
70
+ c.vd));d={x:b.label.xy.x,y:b.label.xy.y,z:null};d=p(d,c,c.vd);return Math.abs(h?d.x-h.x:k?k.x-d.x:e.x-f.x)}return a.apply(this,[].slice.call(arguments,1))}function l(a){var b=a.apply(this,[].slice.call(arguments,1));return this.axis3D?this.axis3D.fix3dPosition(b,!0):b}var g=z.deg2rad,B=y.perspective,p=y.perspective3D,t=y.shapeArea,v=m.addEvent,n=m.merge,L=m.pick,E=m.wrap,J=[],K=function(){function p(a){this.axis=a}p.compose=function(h,g){D.compose(g);-1===J.indexOf(h)&&(J.push(h),n(!0,h.defaultOptions,
71
+ a),h.keepProps.push("axis3D"),v(h,"init",C),v(h,"afterSetOptions",x),v(h,"drawCrosshair",r),h=h.prototype,E(h,"getLinePath",f),E(h,"getPlotBandPath",k),E(h,"getPlotLinePath",c),E(h,"getSlotWidth",b),E(h,"getTitlePosition",l))};p.prototype.fix3dPosition=function(a,b){var c=this.axis,e=c.chart;if("colorAxis"===c.coll||!e.chart3d||!e.is3d())return a;var f=g*e.options.chart.options3d.alpha,d=g*e.options.chart.options3d.beta,h=L(b&&c.options.title.position3d,c.options.labels.position3d);b=L(b&&c.options.title.skew3d,
72
+ c.options.labels.skew3d);var l=e.chart3d.frame3d,k=e.plotLeft,p=e.plotWidth+k,n=e.plotTop,m=e.plotHeight+n,r=e=0,v={x:0,y:1,z:0},E=!1;a=c.axis3D.swapZ({x:a.x,y:a.y,z:0});if(c.isZAxis)if(c.opposite){if(null===l.axes.z.top)return{};r=a.y-n;a.x=l.axes.z.top.x;a.y=l.axes.z.top.y;k=l.axes.z.top.xDir;E=!l.top.frontFacing}else{if(null===l.axes.z.bottom)return{};r=a.y-m;a.x=l.axes.z.bottom.x;a.y=l.axes.z.bottom.y;k=l.axes.z.bottom.xDir;E=!l.bottom.frontFacing}else if(c.horiz)if(c.opposite){if(null===l.axes.x.top)return{};
73
+ r=a.y-n;a.y=l.axes.x.top.y;a.z=l.axes.x.top.z;k=l.axes.x.top.xDir;E=!l.top.frontFacing}else{if(null===l.axes.x.bottom)return{};r=a.y-m;a.y=l.axes.x.bottom.y;a.z=l.axes.x.bottom.z;k=l.axes.x.bottom.xDir;E=!l.bottom.frontFacing}else if(c.opposite){if(null===l.axes.y.right)return{};e=a.x-p;a.x=l.axes.y.right.x;a.z=l.axes.y.right.z;k=l.axes.y.right.xDir;k={x:k.z,y:k.y,z:-k.x}}else{if(null===l.axes.y.left)return{};e=a.x-k;a.x=l.axes.y.left.x;a.z=l.axes.y.left.z;k=l.axes.y.left.xDir}"chart"!==h&&("flap"===
74
+ h?c.horiz?(d=Math.sin(f),f=Math.cos(f),c.opposite&&(d=-d),E&&(d=-d),v={x:k.z*d,y:f,z:-k.x*d}):k={x:Math.cos(d),y:0,z:Math.sin(d)}:"ortho"===h?c.horiz?(v=Math.cos(f),h=Math.sin(d)*v,f=-Math.sin(f),d=-v*Math.cos(d),v={x:k.y*d-k.z*f,y:k.z*h-k.x*d,z:k.x*f-k.y*h},f=1/Math.sqrt(v.x*v.x+v.y*v.y+v.z*v.z),E&&(f=-f),v={x:f*v.x,y:f*v.y,z:f*v.z}):k={x:Math.cos(d),y:0,z:Math.sin(d)}:c.horiz?v={x:Math.sin(d)*Math.sin(f),y:Math.cos(f),z:-Math.cos(d)*Math.sin(f)}:k={x:Math.cos(d),y:0,z:Math.sin(d)});a.x+=e*k.x+r*
75
+ v.x;a.y+=e*k.y+r*v.y;a.z+=e*k.z+r*v.z;e=B([a],c.chart)[0];b&&(0>t(B([a,{x:a.x+k.x,y:a.y+k.y,z:a.z+k.z},{x:a.x+v.x,y:a.y+v.y,z:a.z+v.z}],c.chart))&&(k={x:-k.x,y:-k.y,z:-k.z}),a=B([{x:a.x,y:a.y,z:a.z},{x:a.x+k.x,y:a.y+k.y,z:a.z+k.z},{x:a.x+v.x,y:a.y+v.y,z:a.z+v.z}],c.chart),e.matrix=[a[1].x-a[0].x,a[1].y-a[0].y,a[2].x-a[0].x,a[2].y-a[0].y,e.x,e.y],e.matrix[4]-=e.x*e.matrix[0]+e.y*e.matrix[2],e.matrix[5]-=e.x*e.matrix[1]+e.y*e.matrix[3]);return e};p.prototype.swapZ=function(a,b){var c=this.axis;return c.isZAxis?
76
+ (b=b?0:c.chart.plotLeft,{x:b+a.z,y:a.y,z:a.x-b}):a};return p}();return K});F(a,"Core/Series/Series3D.js",[a["Core/Math3D.js"],a["Core/Series/Series.js"],a["Core/Utilities.js"]],function(a,z,y){var x=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(c,b)};return function(c,b){function f(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):
77
+ (f.prototype=b.prototype,new f)}}(),m=a.perspective;a=y.addEvent;var H=y.extend,r=y.merge,C=y.pick,f=y.isNumber;y=function(a){function c(){return null!==a&&a.apply(this,arguments)||this}x(c,a);c.prototype.translate=function(){a.prototype.translate.apply(this,arguments);this.chart.is3d()&&this.translate3dPoints()};c.prototype.translate3dPoints=function(){var a=this.options,c=this.chart,g=C(this.zAxis,c.options.zAxis[0]),k=[],p,t=[];this.zPadding=(a.stacking?f(a.stack)?a.stack:0:this.index||0)*(a.depth||
78
+ 0+(a.groupZPadding||1));for(p=0;p<this.data.length;p++){a=this.data[p];if(g&&g.translate){var v=g.logarithmic&&g.val2lin?g.val2lin(a.z):a.z;a.plotZ=g.translate(v);a.isInside=a.isInside?v>=g.min&&v<=g.max:!1}else a.plotZ=this.zPadding;a.axisXpos=a.plotX;a.axisYpos=a.plotY;a.axisZpos=a.plotZ;k.push({x:a.plotX,y:a.plotY,z:a.plotZ});t.push(a.plotX||0)}this.rawPointsX=t;c=m(k,c,!0);for(p=0;p<this.data.length;p++)a=this.data[p],g=c[p],a.plotX=g.x,a.plotY=g.y,a.plotZ=g.z};c.defaultOptions=r(z.defaultOptions);
79
+ return c}(z);a(z,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()});H(z.prototype,{translate3dPoints:y.prototype.translate3dPoints});return y});F(a,"Series/Area3D/Area3DSeries.js",[a["Core/Math3D.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,z,y){function x(a){var f=a.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d())return f;var c=H.getGraphPath,b=this.options,l=Math.round(this.yAxis.getThreshold(b.threshold)),g=[];if(this.rawPointsX)for(var r=
80
+ 0;r<this.points.length;r++)g.push({x:this.rawPointsX[r],y:b.stacking?this.points[r].yBottom:l,z:this.zPadding});b=this.chart.options.chart.options3d;g=m(g,this.chart,!0).map(function(a){return{plotX:a.x,plotY:a.y,plotZ:a.z}});this.group&&b&&b.depth&&b.beta&&(this.markerGroup&&(this.markerGroup.add(this.group),this.markerGroup.attr({translateX:0,translateY:0})),this.group.attr({zIndex:Math.max(1,270<b.beta||90>b.beta?b.depth-Math.round(this.zPadding||0):Math.round(this.zPadding||0))}));g.reversed=
81
+ !0;c=c.call(this,g,!0,!0);c[0]&&"M"===c[0][0]&&(c[0]=["L",c[0][1],c[0][2]]);this.areaPath&&(c=this.areaPath.splice(0,this.areaPath.length/2).concat(c),c.xMap=this.areaPath.xMap,this.areaPath=c);return f}var m=a.perspective,H=z.seriesTypes.line.prototype,r=y.wrap,C=[];return{compose:function(a){-1===C.indexOf(a)&&(C.push(a),r(a.prototype,"getGraphPath",x))}}});F(a,"Series/Column3D/Column3DComposition.js",[a["Series/Column/ColumnSeries.js"],a["Core/Globals.js"],a["Core/Series/Series.js"],a["Core/Math3D.js"],
82
+ a["Core/Series/SeriesRegistry.js"],a["Core/Axis/Stacking/StackItem.js"],a["Core/Utilities.js"]],function(a,z,y,D,m,H,r){function x(a,b){var c=a.series,f={totalStacks:0},g,l=1;c.forEach(function(a){g=B(a.options.stack,b?0:c.length-1-a.index);f[g]?f[g].series.push(a):(f[g]={series:[a],position:l},l++)});f.totalStacks=l+1;return f}function f(a){var b=a.apply(this,[].slice.call(arguments,1));this.chart.is3d&&this.chart.is3d()&&(b.stroke=this.options.edgeColor||b.fill,b["stroke-width"]=B(this.options.edgeWidth,
83
+ 1));return b}function k(a,b,c){var f=this.chart.is3d&&this.chart.is3d();f&&(this.options.inactiveOtherPoints=!0);a.call(this,b,c);f&&(this.options.inactiveOtherPoints=!1)}function c(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];return this.series.chart.is3d()?this.graphic&&"g"!==this.graphic.element.nodeName:a.apply(this,b)}var b=a.prototype,l=z.svg,g=D.perspective;z=r.addEvent;var B=r.pick;r=r.wrap;r(b,"translate",function(a){a.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&
84
+ this.translate3dShapes()});r(y.prototype,"justifyDataLabel",function(a){return arguments[2].outside3dPlot?!1:a.apply(this,[].slice.call(arguments,1))});b.translate3dPoints=function(){};b.translate3dShapes=function(){var a=this,b=a.chart,c=a.options,f=c.depth,l=(c.stacking?c.stack||0:a.index)*(f+(c.groupZPadding||1)),k=a.borderWidth%2?.5:0,m;b.inverted&&!a.yAxis.reversed&&(k*=-1);!1!==c.grouping&&(l=0);l+=c.groupZPadding||1;a.data.forEach(function(c){c.outside3dPlot=null;if(null!==c.y){var n=c.shapeArgs,
85
+ h=c.tooltipPos,p;[["x","width"],["y","height"]].forEach(function(b){p=n[b[0]]-k;0>p&&(n[b[1]]+=n[b[0]]+k,n[b[0]]=-k,p=0);p+n[b[1]]>a[b[0]+"Axis"].len&&0!==n[b[1]]&&(n[b[1]]=a[b[0]+"Axis"].len-n[b[0]]);if(0!==n[b[1]]&&(n[b[0]]>=a[b[0]+"Axis"].len||n[b[0]]+n[b[1]]<=k)){for(var e in n)n[e]="y"===e?-9999:0;c.outside3dPlot=!0}});"rect"===c.shapeType&&(c.shapeType="cuboid");n.z=l;n.depth=f;n.insidePlotArea=!0;m={x:n.x+n.width/2,y:n.y,z:l+f/2};b.inverted&&(m.x=n.height,m.y=c.clientX);c.plot3d=g([m],b,!0,
86
+ !1)[0];h=g([{x:h[0],y:h[1],z:l+f/2}],b,!0,!1)[0];c.tooltipPos=[h.x,h.y]}});a.z=l};r(b,"animate",function(a){if(this.chart.is3d()){var b=arguments[1],c=this.yAxis,f=this,g=this.yAxis.reversed;l&&(b?f.data.forEach(function(a){null!==a.y&&(a.height=a.shapeArgs.height,a.shapey=a.shapeArgs.y,a.shapeArgs.height=1,g||(a.shapeArgs.y=a.stackY?a.plotY+c.translate(a.stackY):a.plotY+(a.negative?-a.height:a.height)))}):(f.data.forEach(function(a){if(null!==a.y&&(a.shapeArgs.height=a.height,a.shapeArgs.y=a.shapey,
87
+ a.graphic))a.graphic[a.outside3dPlot?"attr":"animate"](a.shapeArgs,f.options.animation)}),this.drawDataLabels()))}else a.apply(this,[].slice.call(arguments,1))});r(b,"plotGroup",function(a,b,c,f,g,l){"dataLabelsGroup"!==b&&this.chart.is3d()&&(this[b]&&delete this[b],l&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(l)),this[b]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[b].survive=!0,"group"===b||"markerGroup"===b))&&(arguments[3]=
88
+ "visible");return a.apply(this,Array.prototype.slice.call(arguments,1))});r(b,"setVisible",function(a,b){var c=this;c.chart.is3d()&&c.data.forEach(function(a){a.visible=a.options.visible=b="undefined"===typeof b?!B(c.visible,a.visible):b;c.options.data[c.data.indexOf(a)]=a.options;a.graphic&&a.graphic.attr({visibility:b?"visible":"hidden"})});a.apply(this,Array.prototype.slice.call(arguments,1))});z(a,"afterInit",function(){if(this.chart.is3d()){var a=this.options,b=a.grouping,c=a.stacking,f=this.yAxis.options.reversedStacks,
89
+ g=0;if("undefined"===typeof b||b){b=x(this.chart,c);g=a.stack||0;for(c=0;c<b[g].series.length&&b[g].series[c]!==this;c++);g=10*(b.totalStacks-b[g].position)+(f?c:-c);this.xAxis.reversed||(g=10*b.totalStacks-g)}a.depth=a.depth||25;this.z=this.z||0;a.zIndex=g}});r(b,"pointAttribs",f);r(b,"setState",k);r(b.pointClass.prototype,"hasNewShapeType",c);m.seriesTypes.columnRange&&(z=m.seriesTypes.columnrange.prototype,r(z,"pointAttribs",f),r(z,"setState",k),r(z.pointClass.prototype,"hasNewShapeType",c),z.plotGroup=
90
+ b.plotGroup,z.setVisible=b.setVisible);r(y.prototype,"alignDataLabel",function(a,b,c,f,l){var k=this.chart;f.outside3dPlot=b.outside3dPlot;if(k.is3d()&&this.is("column")){var m=this.options,n=B(f.inside,!!this.options.stacking),p=k.options.chart.options3d,h=b.pointWidth/2||0;m={x:l.x+h,y:l.y,z:this.z+m.depth/2};k.inverted&&(n&&(l.width=0,m.x+=b.shapeArgs.height/2),90<=p.alpha&&270>=p.alpha&&(m.y+=b.shapeArgs.width));m=g([m],k,!0,!1)[0];l.x=m.x-h;l.y=b.outside3dPlot?-9E9:m.y}a.apply(this,[].slice.call(arguments,
91
+ 1))});r(H.prototype,"getStackBox",function(a,b,c,f,l,k,r,x){var n=a.apply(this,[].slice.call(arguments,1));if(b.is3d()&&c.base){var h=+c.base.split(",")[0],p=b.series[h];h=b.options.chart.options3d;p&&p instanceof m.seriesTypes.column&&(p={x:n.x+(b.inverted?r:k/2),y:n.y,z:p.options.depth/2},b.inverted&&(n.width=0,90<=h.alpha&&270>=h.alpha&&(p.y+=k)),p=g([p],b,!0,!1)[0],n.x=p.x-k/2,n.y=p.y)}return n});"";return a});F(a,"Series/Pie3D/Pie3DPoint.js",[a["Core/Series/SeriesRegistry.js"]],function(a){var x=
92
+ this&&this.__extends||function(){var a=function(m,x){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,m){a.__proto__=m}||function(a,m){for(var f in m)m.hasOwnProperty(f)&&(a[f]=m[f])};return a(m,x)};return function(m,x){function r(){this.constructor=m}a(m,x);m.prototype=null===x?Object.create(x):(r.prototype=x.prototype,new r)}}();a=a.seriesTypes.pie.prototype.pointClass;var y=a.prototype.haloPath;return function(a){function m(){var m=null!==a&&a.apply(this,arguments)||this;m.series=
93
+ void 0;return m}x(m,a);m.prototype.haloPath=function(){return this.series.chart.is3d()?[]:y.apply(this,arguments)};return m}(a)});F(a,"Series/Pie3D/Pie3DSeries.js",[a["Core/Globals.js"],a["Series/Pie3D/Pie3DPoint.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,z,y,D){var m=this&&this.__extends||function(){var a=function(f,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};
94
+ return a(f,c)};return function(f,c){function b(){this.constructor=f}a(f,c);f.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),x=a.deg2rad,r=a.svg;a=D.extend;var C=D.pick;y=function(a){function f(){return null!==a&&a.apply(this,arguments)||this}m(f,a);f.prototype.addPoint=function(){a.prototype.addPoint.apply(this,arguments);this.chart.is3d()&&this.update(this.userOptions,!0)};f.prototype.animate=function(c){if(this.chart.is3d()){var b=this.options.animation;var f=this.center;
95
+ var g=this.group,k=this.markerGroup;r&&(!0===b&&(b={}),c?(g.oldtranslateX=C(g.oldtranslateX,g.translateX),g.oldtranslateY=C(g.oldtranslateY,g.translateY),f={translateX:f[0],translateY:f[1],scaleX:.001,scaleY:.001},g.attr(f),k&&(k.attrSetters=g.attrSetters,k.attr(f))):(f={translateX:g.oldtranslateX,translateY:g.oldtranslateY,scaleX:1,scaleY:1},g.animate(f,b),k&&k.animate(f,b)))}else a.prototype.animate.apply(this,arguments)};f.prototype.drawDataLabels=function(){if(this.chart.is3d()){var c=this.chart.options.chart.options3d;
96
+ this.data.forEach(function(a){var b=a.shapeArgs,f=b.r,k=(b.start+b.end)/2;a=a.labelPosition;var m=a.connectorPosition,r=-f*(1-Math.cos((b.alpha||c.alpha)*x))*Math.sin(k),v=f*(Math.cos((b.beta||c.beta)*x)-1)*Math.cos(k);[a.natural,m.breakAt,m.touchingSliceAt].forEach(function(a){a.x+=v;a.y+=r})})}a.prototype.drawDataLabels.apply(this,arguments)};f.prototype.pointAttribs=function(c){var b=a.prototype.pointAttribs.apply(this,arguments),f=this.options;this.chart.is3d()&&!this.chart.styledMode&&(b.stroke=
97
+ f.edgeColor||c.color||this.color,b["stroke-width"]=C(f.edgeWidth,1));return b};f.prototype.translate=function(){a.prototype.translate.apply(this,arguments);if(this.chart.is3d()){var c=this,b=c.options,f=b.depth||0,g=c.chart.options.chart.options3d,k=g.alpha,m=g.beta,r=b.stacking?(b.stack||0)*f:c._i*f;r+=f/2;!1!==b.grouping&&(r=0);c.data.forEach(function(a){var g=a.shapeArgs;a.shapeType="arc3d";g.z=r;g.depth=.75*f;g.alpha=k;g.beta=m;g.center=c.center;g=(g.end+g.start)/2;a.slicedTranslation={translateX:Math.round(Math.cos(g)*
98
+ b.slicedOffset*Math.cos(k*x)),translateY:Math.round(Math.sin(g)*b.slicedOffset*Math.cos(k*x))}})}};f.prototype.drawTracker=function(){a.prototype.drawTracker.apply(this,arguments);this.chart.is3d()&&this.points.forEach(function(a){a.graphic&&["out","inn","side1","side2"].forEach(function(b){a.graphic&&(a.graphic[b].element.point=a)})})};return f}(y.seriesTypes.pie);a(y.prototype,{pointClass:z});"";return y});F(a,"Series/Pie3D/Pie3DComposition.js",[a["Series/Pie3D/Pie3DPoint.js"],a["Series/Pie3D/Pie3DSeries.js"],
99
+ a["Core/Series/SeriesRegistry.js"]],function(a,z,y){y.seriesTypes.pie.prototype.pointClass.prototype.haloPath=a.prototype.haloPath;y.seriesTypes.pie=z});F(a,"Series/Scatter3D/Scatter3DPoint.js",[a["Series/Scatter/ScatterSeries.js"],a["Core/Utilities.js"]],function(a,z){var x=this&&this.__extends||function(){var a=function(m,r){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var k in f)f.hasOwnProperty(k)&&(a[k]=f[k])};return a(m,r)};return function(m,
100
+ r){function x(){this.constructor=m}a(m,r);m.prototype=null===r?Object.create(r):(x.prototype=r.prototype,new x)}}(),D=z.defined;return function(a){function m(){var m=null!==a&&a.apply(this,arguments)||this;m.options=void 0;m.series=void 0;return m}x(m,a);m.prototype.applyOptions=function(){a.prototype.applyOptions.apply(this,arguments);D(this.z)||(this.z=0);return this};return m}(a.prototype.pointClass)});F(a,"Series/Scatter3D/Scatter3DSeries.js",[a["Core/Math3D.js"],a["Series/Scatter3D/Scatter3DPoint.js"],
101
+ a["Series/Scatter/ScatterSeries.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,z,y,D,m){var x=this&&this.__extends||function(){var a=function(f,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(f,c)};return function(f,c){function b(){this.constructor=f}a(f,c);f.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),r=a.pointCameraDistance;a=m.extend;
102
+ var C=m.merge;m=function(a){function f(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}x(f,a);f.prototype.pointAttribs=function(c){var b=a.prototype.pointAttribs.apply(this,arguments);this.chart.is3d()&&c&&(b.zIndex=r(c,this.chart));return b};f.defaultOptions=C(y.defaultOptions,{tooltip:{pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>z: <b>{point.z}</b><br/>"}});return f}(y);a(m.prototype,{axisTypes:["xAxis","yAxis","zAxis"],directTouch:!0,
103
+ parallelArrays:["x","y","z"],pointArrayMap:["x","y","z"],pointClass:z});D.registerSeriesType("scatter3d",m);"";return m});F(a,"masters/highcharts-3d.src.js",[a["Core/Globals.js"],a["Core/Renderer/SVG/SVGRenderer3D.js"],a["Core/Chart/Chart3D.js"],a["Core/Axis/ZAxis.js"],a["Core/Axis/Axis3DComposition.js"],a["Series/Area3D/Area3DSeries.js"]],function(a,z,y,D,m,F){z.compose(a.SVGRenderer);y.compose(a.Chart,a.Fx);D.compose(a.Chart);m.compose(a.Axis,a.Tick);F.compose(a.seriesTypes.area)})});
105
104
  //# sourceMappingURL=highcharts-3d.js.map