highcharts 9.3.0 → 9.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 (442) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Accessibility.js +5 -1
  3. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +130 -84
  4. package/es-modules/Accessibility/Components/MenuComponent.js +195 -120
  5. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +166 -81
  6. package/es-modules/Accessibility/KeyboardNavigation.js +2 -1
  7. package/es-modules/Core/Axis/OrdinalAxis.js +0 -4
  8. package/es-modules/Core/Globals.js +1 -1
  9. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
  10. package/es-modules/Extensions/Annotations/NavigationBindings.js +23 -10
  11. package/es-modules/Extensions/Annotations/Popup.js +1 -1
  12. package/es-modules/Extensions/Boost/BoostOptions.js +2 -2
  13. package/es-modules/Extensions/Exporting/Exporting.js +2 -2
  14. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  15. package/es-modules/Extensions/Oldie/Oldie.js +1 -1
  16. package/es-modules/Extensions/Polar.js +1 -1
  17. package/es-modules/Maps/MapView.js +5 -5
  18. package/es-modules/Maps/MapViewOptionsDefault.js +4 -2
  19. package/es-modules/Maps/Projection.js +3 -0
  20. package/es-modules/Maps/Projections/EqualEarth.js +7 -7
  21. package/es-modules/Maps/Projections/LambertConformalConic.js +52 -0
  22. package/es-modules/Maps/Projections/Miller.js +5 -6
  23. package/es-modules/Maps/Projections/Orthographic.js +4 -4
  24. package/es-modules/Maps/Projections/ProjectionRegistry.js +2 -0
  25. package/es-modules/Maps/Projections/WebMercator.js +2 -3
  26. package/es-modules/Series/Map/MapSeries.js +3 -0
  27. package/es-modules/Series/MapLine/MapLineSeries.js +2 -0
  28. package/es-modules/Series/MapPoint/MapPointSeries.js +13 -11
  29. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +23 -17
  30. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -4
  31. package/es-modules/Stock/StockToolsGui.js +5 -5
  32. package/es-modules/masters/highcharts-3d.src.js +1 -1
  33. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  34. package/es-modules/masters/highcharts-more.src.js +1 -1
  35. package/es-modules/masters/highcharts.src.js +1 -1
  36. package/es-modules/masters/highmaps.src.js +1 -1
  37. package/es-modules/masters/highstock.src.js +1 -1
  38. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  39. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  40. package/es-modules/masters/indicators/ao.src.js +1 -1
  41. package/es-modules/masters/indicators/apo.src.js +1 -1
  42. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  43. package/es-modules/masters/indicators/aroon.src.js +1 -1
  44. package/es-modules/masters/indicators/atr.src.js +1 -1
  45. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  46. package/es-modules/masters/indicators/cci.src.js +1 -1
  47. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  48. package/es-modules/masters/indicators/cmf.src.js +1 -1
  49. package/es-modules/masters/indicators/cmo.src.js +1 -1
  50. package/es-modules/masters/indicators/dema.src.js +1 -1
  51. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  52. package/es-modules/masters/indicators/dmi.src.js +1 -1
  53. package/es-modules/masters/indicators/dpo.src.js +1 -1
  54. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  55. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  56. package/es-modules/masters/indicators/indicators.src.js +1 -1
  57. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  58. package/es-modules/masters/indicators/klinger.src.js +1 -1
  59. package/es-modules/masters/indicators/macd.src.js +1 -1
  60. package/es-modules/masters/indicators/mfi.src.js +1 -1
  61. package/es-modules/masters/indicators/momentum.src.js +1 -1
  62. package/es-modules/masters/indicators/natr.src.js +1 -1
  63. package/es-modules/masters/indicators/obv.src.js +1 -1
  64. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  65. package/es-modules/masters/indicators/ppo.src.js +1 -1
  66. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  67. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  68. package/es-modules/masters/indicators/psar.src.js +1 -1
  69. package/es-modules/masters/indicators/regressions.src.js +1 -1
  70. package/es-modules/masters/indicators/roc.src.js +1 -1
  71. package/es-modules/masters/indicators/rsi.src.js +1 -1
  72. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  73. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  74. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  75. package/es-modules/masters/indicators/tema.src.js +1 -1
  76. package/es-modules/masters/indicators/trendline.src.js +1 -1
  77. package/es-modules/masters/indicators/trix.src.js +1 -1
  78. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  79. package/es-modules/masters/indicators/vwap.src.js +1 -1
  80. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  81. package/es-modules/masters/indicators/wma.src.js +1 -1
  82. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  83. package/es-modules/masters/modules/accessibility.src.js +2 -2
  84. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  85. package/es-modules/masters/modules/annotations.src.js +1 -1
  86. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  87. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  88. package/es-modules/masters/modules/boost.src.js +1 -1
  89. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  90. package/es-modules/masters/modules/bullet.src.js +1 -1
  91. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  92. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  93. package/es-modules/masters/modules/cylinder.src.js +1 -1
  94. package/es-modules/masters/modules/data.src.js +1 -1
  95. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  96. package/es-modules/masters/modules/debugger.src.js +1 -1
  97. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  98. package/es-modules/masters/modules/dotplot.src.js +1 -1
  99. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  100. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  101. package/es-modules/masters/modules/drilldown.src.js +1 -1
  102. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  103. package/es-modules/masters/modules/export-data.src.js +1 -1
  104. package/es-modules/masters/modules/exporting.src.js +1 -1
  105. package/es-modules/masters/modules/full-screen.src.js +1 -1
  106. package/es-modules/masters/modules/funnel.src.js +1 -1
  107. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  108. package/es-modules/masters/modules/gantt.src.js +1 -1
  109. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  110. package/es-modules/masters/modules/heatmap.src.js +1 -1
  111. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  112. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  113. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  114. package/es-modules/masters/modules/item-series.src.js +1 -1
  115. package/es-modules/masters/modules/lollipop.src.js +1 -1
  116. package/es-modules/masters/modules/map.src.js +1 -1
  117. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  118. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  119. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  120. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  121. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  122. package/es-modules/masters/modules/oldie.src.js +1 -1
  123. package/es-modules/masters/modules/organization.src.js +1 -1
  124. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  125. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  126. package/es-modules/masters/modules/pareto.src.js +1 -1
  127. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  128. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  129. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  130. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  131. package/es-modules/masters/modules/sankey.src.js +1 -1
  132. package/es-modules/masters/modules/series-label.src.js +1 -1
  133. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  134. package/es-modules/masters/modules/sonification.src.js +1 -1
  135. package/es-modules/masters/modules/static-scale.src.js +1 -1
  136. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  137. package/es-modules/masters/modules/stock.src.js +1 -1
  138. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  139. package/es-modules/masters/modules/sunburst.src.js +1 -1
  140. package/es-modules/masters/modules/tilemap.src.js +1 -1
  141. package/es-modules/masters/modules/timeline.src.js +1 -1
  142. package/es-modules/masters/modules/treegrid.src.js +1 -1
  143. package/es-modules/masters/modules/treemap.src.js +1 -1
  144. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  145. package/es-modules/masters/modules/variwide.src.js +1 -1
  146. package/es-modules/masters/modules/vector.src.js +1 -1
  147. package/es-modules/masters/modules/venn.src.js +1 -1
  148. package/es-modules/masters/modules/windbarb.src.js +1 -1
  149. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  150. package/es-modules/masters/modules/xrange.src.js +1 -1
  151. package/es-modules/masters/themes/avocado.src.js +1 -1
  152. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  153. package/es-modules/masters/themes/dark-green.src.js +1 -1
  154. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  155. package/es-modules/masters/themes/gray.src.js +1 -1
  156. package/es-modules/masters/themes/grid-light.src.js +1 -1
  157. package/es-modules/masters/themes/grid.src.js +1 -1
  158. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  159. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  160. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  161. package/es-modules/masters/themes/skies.src.js +1 -1
  162. package/es-modules/masters/themes/sunset.src.js +1 -1
  163. package/highcharts-3d.js +1 -1
  164. package/highcharts-3d.src.js +1 -1
  165. package/highcharts-gantt.js +3 -3
  166. package/highcharts-gantt.src.js +3 -3
  167. package/highcharts-more.js +2 -2
  168. package/highcharts-more.js.map +1 -1
  169. package/highcharts-more.src.js +2 -2
  170. package/highcharts.d.ts +126 -9
  171. package/highcharts.js +3 -3
  172. package/highcharts.src.d.ts +126 -9
  173. package/highcharts.src.js +3 -3
  174. package/highmaps.js +655 -653
  175. package/highmaps.js.map +1 -1
  176. package/highmaps.src.js +131 -43
  177. package/highstock.js +61 -61
  178. package/highstock.js.map +1 -1
  179. package/highstock.src.js +3 -7
  180. package/indicators/acceleration-bands.js +1 -1
  181. package/indicators/acceleration-bands.src.js +1 -1
  182. package/indicators/accumulation-distribution.js +1 -1
  183. package/indicators/accumulation-distribution.src.js +1 -1
  184. package/indicators/ao.js +1 -1
  185. package/indicators/ao.src.js +1 -1
  186. package/indicators/apo.js +1 -1
  187. package/indicators/apo.src.js +1 -1
  188. package/indicators/aroon-oscillator.js +1 -1
  189. package/indicators/aroon-oscillator.src.js +1 -1
  190. package/indicators/aroon.js +1 -1
  191. package/indicators/aroon.src.js +1 -1
  192. package/indicators/atr.js +1 -1
  193. package/indicators/atr.src.js +1 -1
  194. package/indicators/bollinger-bands.js +1 -1
  195. package/indicators/bollinger-bands.src.js +1 -1
  196. package/indicators/cci.js +1 -1
  197. package/indicators/cci.src.js +1 -1
  198. package/indicators/chaikin.js +1 -1
  199. package/indicators/chaikin.src.js +1 -1
  200. package/indicators/cmf.js +1 -1
  201. package/indicators/cmf.src.js +1 -1
  202. package/indicators/cmo.js +1 -1
  203. package/indicators/cmo.src.js +1 -1
  204. package/indicators/dema.js +1 -1
  205. package/indicators/dema.src.js +1 -1
  206. package/indicators/disparity-index.js +1 -1
  207. package/indicators/disparity-index.src.js +1 -1
  208. package/indicators/dmi.js +1 -1
  209. package/indicators/dmi.src.js +1 -1
  210. package/indicators/dpo.js +1 -1
  211. package/indicators/dpo.src.js +1 -1
  212. package/indicators/ichimoku-kinko-hyo.js +1 -1
  213. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  214. package/indicators/indicators-all.js +72 -72
  215. package/indicators/indicators-all.js.map +1 -1
  216. package/indicators/indicators-all.src.js +29 -24
  217. package/indicators/indicators.js +10 -10
  218. package/indicators/indicators.js.map +1 -1
  219. package/indicators/indicators.src.js +26 -20
  220. package/indicators/keltner-channels.js +1 -1
  221. package/indicators/keltner-channels.src.js +1 -1
  222. package/indicators/klinger.js +1 -1
  223. package/indicators/klinger.src.js +1 -1
  224. package/indicators/macd.js +1 -1
  225. package/indicators/macd.src.js +1 -1
  226. package/indicators/mfi.js +1 -1
  227. package/indicators/mfi.src.js +1 -1
  228. package/indicators/momentum.js +1 -1
  229. package/indicators/momentum.src.js +1 -1
  230. package/indicators/natr.js +1 -1
  231. package/indicators/natr.src.js +1 -1
  232. package/indicators/obv.js +1 -1
  233. package/indicators/obv.src.js +1 -1
  234. package/indicators/pivot-points.js +1 -1
  235. package/indicators/pivot-points.src.js +1 -1
  236. package/indicators/ppo.js +1 -1
  237. package/indicators/ppo.src.js +1 -1
  238. package/indicators/price-channel.js +1 -1
  239. package/indicators/price-channel.src.js +1 -1
  240. package/indicators/price-envelopes.js +1 -1
  241. package/indicators/price-envelopes.src.js +1 -1
  242. package/indicators/psar.js +1 -1
  243. package/indicators/psar.src.js +1 -1
  244. package/indicators/regressions.js +1 -1
  245. package/indicators/regressions.src.js +1 -1
  246. package/indicators/roc.js +1 -1
  247. package/indicators/roc.src.js +1 -1
  248. package/indicators/rsi.js +1 -1
  249. package/indicators/rsi.src.js +1 -1
  250. package/indicators/slow-stochastic.js +1 -1
  251. package/indicators/slow-stochastic.src.js +1 -1
  252. package/indicators/stochastic.js +1 -1
  253. package/indicators/stochastic.src.js +1 -1
  254. package/indicators/supertrend.js +1 -1
  255. package/indicators/supertrend.src.js +1 -1
  256. package/indicators/tema.js +1 -1
  257. package/indicators/tema.src.js +1 -1
  258. package/indicators/trendline.js +1 -1
  259. package/indicators/trendline.src.js +1 -1
  260. package/indicators/trix.js +1 -1
  261. package/indicators/trix.src.js +1 -1
  262. package/indicators/volume-by-price.js +2 -2
  263. package/indicators/volume-by-price.js.map +1 -1
  264. package/indicators/volume-by-price.src.js +4 -5
  265. package/indicators/vwap.js +1 -1
  266. package/indicators/vwap.src.js +1 -1
  267. package/indicators/williams-r.js +1 -1
  268. package/indicators/williams-r.src.js +1 -1
  269. package/indicators/wma.js +1 -1
  270. package/indicators/wma.src.js +1 -1
  271. package/indicators/zigzag.js +1 -1
  272. package/indicators/zigzag.src.js +1 -1
  273. package/modules/accessibility.js +225 -222
  274. package/modules/accessibility.js.map +1 -1
  275. package/modules/accessibility.src.js +1306 -1085
  276. package/modules/annotations-advanced.js +153 -152
  277. package/modules/annotations-advanced.js.map +1 -1
  278. package/modules/annotations-advanced.src.js +26 -12
  279. package/modules/annotations.js +81 -80
  280. package/modules/annotations.js.map +1 -1
  281. package/modules/annotations.src.js +26 -12
  282. package/modules/arrow-symbols.js +1 -1
  283. package/modules/arrow-symbols.src.js +1 -1
  284. package/modules/boost-canvas.js +1 -1
  285. package/modules/boost-canvas.src.js +1 -1
  286. package/modules/boost.js +1 -1
  287. package/modules/boost.src.js +1 -1
  288. package/modules/broken-axis.js +1 -1
  289. package/modules/broken-axis.src.js +1 -1
  290. package/modules/bullet.js +1 -1
  291. package/modules/bullet.src.js +1 -1
  292. package/modules/coloraxis.js +1 -1
  293. package/modules/coloraxis.src.js +1 -1
  294. package/modules/current-date-indicator.js +1 -1
  295. package/modules/current-date-indicator.src.js +1 -1
  296. package/modules/cylinder.js +1 -1
  297. package/modules/cylinder.src.js +1 -1
  298. package/modules/data.js +1 -1
  299. package/modules/data.src.js +1 -1
  300. package/modules/datagrouping.js +1 -1
  301. package/modules/datagrouping.src.js +1 -1
  302. package/modules/debugger.js +1 -1
  303. package/modules/debugger.src.js +1 -1
  304. package/modules/dependency-wheel.js +1 -1
  305. package/modules/dependency-wheel.src.js +1 -1
  306. package/modules/dotplot.js +1 -1
  307. package/modules/dotplot.src.js +1 -1
  308. package/modules/drag-panes.js +1 -1
  309. package/modules/drag-panes.src.js +1 -1
  310. package/modules/draggable-points.js +1 -1
  311. package/modules/draggable-points.src.js +1 -1
  312. package/modules/drilldown.js +1 -1
  313. package/modules/drilldown.src.js +1 -1
  314. package/modules/dumbbell.js +1 -1
  315. package/modules/dumbbell.src.js +1 -1
  316. package/modules/export-data.js +1 -1
  317. package/modules/export-data.src.js +1 -1
  318. package/modules/exporting.js +35 -35
  319. package/modules/exporting.js.map +1 -1
  320. package/modules/exporting.src.js +3 -3
  321. package/modules/full-screen.js +1 -1
  322. package/modules/full-screen.src.js +1 -1
  323. package/modules/funnel.js +1 -1
  324. package/modules/funnel.src.js +1 -1
  325. package/modules/funnel3d.js +1 -1
  326. package/modules/funnel3d.src.js +1 -1
  327. package/modules/gantt.js +1 -1
  328. package/modules/gantt.src.js +1 -1
  329. package/modules/grid-axis.js +1 -1
  330. package/modules/grid-axis.src.js +1 -1
  331. package/modules/heatmap.js +1 -1
  332. package/modules/heatmap.src.js +1 -1
  333. package/modules/heikinashi.js +1 -1
  334. package/modules/heikinashi.src.js +1 -1
  335. package/modules/histogram-bellcurve.js +1 -1
  336. package/modules/histogram-bellcurve.src.js +1 -1
  337. package/modules/hollowcandlestick.js +1 -1
  338. package/modules/hollowcandlestick.src.js +1 -1
  339. package/modules/item-series.js +1 -1
  340. package/modules/item-series.src.js +1 -1
  341. package/modules/lollipop.js +1 -1
  342. package/modules/lollipop.src.js +1 -1
  343. package/modules/map.d.ts +2 -2
  344. package/modules/map.js +143 -141
  345. package/modules/map.js.map +1 -1
  346. package/modules/map.src.d.ts +2 -2
  347. package/modules/map.src.js +129 -41
  348. package/modules/marker-clusters.js +1 -1
  349. package/modules/marker-clusters.src.js +1 -1
  350. package/modules/networkgraph.js +1 -1
  351. package/modules/networkgraph.src.js +1 -1
  352. package/modules/no-data-to-display.js +1 -1
  353. package/modules/no-data-to-display.src.js +1 -1
  354. package/modules/offline-exporting.js +2 -2
  355. package/modules/offline-exporting.src.js +2 -2
  356. package/modules/oldie-polyfills.js +1 -1
  357. package/modules/oldie-polyfills.src.js +1 -1
  358. package/modules/oldie.js +2 -2
  359. package/modules/oldie.src.js +2 -2
  360. package/modules/organization.js +1 -1
  361. package/modules/organization.src.js +1 -1
  362. package/modules/overlapping-datalabels.js +1 -1
  363. package/modules/overlapping-datalabels.src.js +1 -1
  364. package/modules/parallel-coordinates.js +1 -1
  365. package/modules/parallel-coordinates.src.js +1 -1
  366. package/modules/pareto.js +1 -1
  367. package/modules/pareto.src.js +1 -1
  368. package/modules/pathfinder.js +1 -1
  369. package/modules/pathfinder.src.js +1 -1
  370. package/modules/pattern-fill.js +1 -1
  371. package/modules/pattern-fill.src.js +1 -1
  372. package/modules/price-indicator.js +1 -1
  373. package/modules/price-indicator.src.js +1 -1
  374. package/modules/pyramid3d.js +1 -1
  375. package/modules/pyramid3d.src.js +1 -1
  376. package/modules/sankey.js +1 -1
  377. package/modules/sankey.src.js +1 -1
  378. package/modules/series-label.js +1 -1
  379. package/modules/series-label.src.js +1 -1
  380. package/modules/solid-gauge.js +1 -1
  381. package/modules/solid-gauge.src.js +1 -1
  382. package/modules/sonification.js +1 -1
  383. package/modules/sonification.src.js +1 -1
  384. package/modules/static-scale.js +1 -1
  385. package/modules/static-scale.src.js +1 -1
  386. package/modules/stock-tools.js +86 -84
  387. package/modules/stock-tools.js.map +1 -1
  388. package/modules/stock-tools.src.js +30 -16
  389. package/modules/stock.js +90 -90
  390. package/modules/stock.js.map +1 -1
  391. package/modules/stock.src.js +1 -5
  392. package/modules/streamgraph.js +1 -1
  393. package/modules/streamgraph.src.js +1 -1
  394. package/modules/sunburst.js +1 -1
  395. package/modules/sunburst.src.js +1 -1
  396. package/modules/tilemap.js +1 -1
  397. package/modules/tilemap.src.js +1 -1
  398. package/modules/timeline.js +1 -1
  399. package/modules/timeline.src.js +1 -1
  400. package/modules/treegrid.js +1 -1
  401. package/modules/treegrid.src.js +1 -1
  402. package/modules/treemap.js +1 -1
  403. package/modules/treemap.src.js +1 -1
  404. package/modules/variable-pie.js +1 -1
  405. package/modules/variable-pie.src.js +1 -1
  406. package/modules/variwide.js +1 -1
  407. package/modules/variwide.src.js +1 -1
  408. package/modules/vector.js +1 -1
  409. package/modules/vector.src.js +1 -1
  410. package/modules/venn.js +1 -1
  411. package/modules/venn.src.js +1 -1
  412. package/modules/windbarb.js +1 -1
  413. package/modules/windbarb.src.js +1 -1
  414. package/modules/wordcloud.js +1 -1
  415. package/modules/wordcloud.src.js +1 -1
  416. package/modules/xrange.js +1 -1
  417. package/modules/xrange.src.js +1 -1
  418. package/package.json +1 -1
  419. package/themes/avocado.js +1 -1
  420. package/themes/avocado.src.js +1 -1
  421. package/themes/dark-blue.js +1 -1
  422. package/themes/dark-blue.src.js +1 -1
  423. package/themes/dark-green.js +1 -1
  424. package/themes/dark-green.src.js +1 -1
  425. package/themes/dark-unica.js +1 -1
  426. package/themes/dark-unica.src.js +1 -1
  427. package/themes/gray.js +1 -1
  428. package/themes/gray.src.js +1 -1
  429. package/themes/grid-light.js +1 -1
  430. package/themes/grid-light.src.js +1 -1
  431. package/themes/grid.js +1 -1
  432. package/themes/grid.src.js +1 -1
  433. package/themes/high-contrast-dark.js +1 -1
  434. package/themes/high-contrast-dark.src.js +1 -1
  435. package/themes/high-contrast-light.js +1 -1
  436. package/themes/high-contrast-light.src.js +1 -1
  437. package/themes/sand-signika.js +1 -1
  438. package/themes/sand-signika.src.js +1 -1
  439. package/themes/skies.js +1 -1
  440. package/themes/skies.src.js +1 -1
  441. package/themes/sunset.js +1 -1
  442. package/themes/sunset.src.js +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Annotations module
5
5
  *
@@ -4479,8 +4479,13 @@
4479
4479
  */
4480
4480
  NavigationBindings.prototype.bindingsButtonClick = function (button, events, clickEvent) {
4481
4481
  var navigation = this,
4482
- chart = navigation.chart;
4482
+ chart = navigation.chart,
4483
+ svgContainer = chart.renderer.boxWrapper;
4484
+ var shouldEventBeFired = true;
4483
4485
  if (navigation.selectedButtonElement) {
4486
+ if (navigation.selectedButtonElement.classList === button.classList) {
4487
+ shouldEventBeFired = false;
4488
+ }
4484
4489
  fireEvent(navigation, 'deselectButton', { button: navigation.selectedButtonElement });
4485
4490
  if (navigation.nextEvent) {
4486
4491
  // Remove in-progress annotations adders:
@@ -4491,15 +4496,24 @@
4491
4496
  navigation.mouseMoveEvent = navigation.nextEvent = false;
4492
4497
  }
4493
4498
  }
4494
- navigation.selectedButton = events;
4495
- navigation.selectedButtonElement = button;
4496
- fireEvent(navigation, 'selectButton', { button: button });
4497
- // Call "init" event, for example to open modal window
4498
- if (events.init) {
4499
- events.init.call(navigation, button, clickEvent);
4499
+ if (shouldEventBeFired) {
4500
+ navigation.selectedButton = events;
4501
+ navigation.selectedButtonElement = button;
4502
+ fireEvent(navigation, 'selectButton', { button: button });
4503
+ // Call "init" event, for example to open modal window
4504
+ if (events.init) {
4505
+ events.init.call(navigation, button, clickEvent);
4506
+ }
4507
+ if (events.start || events.steps) {
4508
+ chart.renderer.boxWrapper.addClass(PREFIX + 'draw-mode');
4509
+ }
4500
4510
  }
4501
- if (events.start || events.steps) {
4502
- chart.renderer.boxWrapper.addClass(PREFIX + 'draw-mode');
4511
+ else {
4512
+ chart.stockTools && chart.stockTools.toggleButtonAciveClass(button);
4513
+ svgContainer.removeClass(PREFIX + 'draw-mode');
4514
+ navigation.nextEvent = false;
4515
+ navigation.mouseMoveEvent = false;
4516
+ navigation.selectedButton = null;
4503
4517
  }
4504
4518
  };
4505
4519
  /**
@@ -5357,7 +5371,7 @@
5357
5371
  * from a different server.
5358
5372
  *
5359
5373
  * @type {string}
5360
- * @default https://code.highcharts.com/9.3.0/gfx/stock-icons/
5374
+ * @default https://code.highcharts.com/9.3.1/gfx/stock-icons/
5361
5375
  * @since 7.1.3
5362
5376
  * @apioption navigation.iconsURL
5363
5377
  */
@@ -6667,7 +6681,7 @@
6667
6681
  this.popup = new H.Popup(this.chart.container, (this.chart.options.navigation.iconsURL ||
6668
6682
  (this.chart.options.stockTools &&
6669
6683
  this.chart.options.stockTools.gui.iconsURL) ||
6670
- 'https://code.highcharts.com/9.3.0/gfx/stock-icons/'), this.chart);
6684
+ 'https://code.highcharts.com/9.3.1/gfx/stock-icons/'), this.chart);
6671
6685
  }
6672
6686
  this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit);
6673
6687
  });
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Arrow Symbols
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Arrow Symbols
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Boost module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Boost module
5
5
  *
package/modules/boost.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Boost module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Boost module
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  (c) 2009-2021 Torstein Honsi
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * (c) 2009-2021 Torstein Honsi
5
5
  *
package/modules/bullet.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Bullet graph series type for Highcharts
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Bullet graph series type for Highcharts
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  ColorAxis module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * ColorAxis module
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts Gantt JS v9.3.0 (2021-10-21)
2
+ Highcharts Gantt JS v9.3.1 (2021-11-05)
3
3
 
4
4
  CurrentDateIndicator
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts Gantt JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts Gantt JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * CurrentDateIndicator
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Highcharts cylinder module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Highcharts cylinder module
5
5
  *
package/modules/data.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Data module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Data module
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highstock JS v9.3.0 (2021-10-21)
2
+ Highstock JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Data grouping module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v9.3.0 (2021-10-21)
2
+ * @license Highstock JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Data grouping module
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Debugger module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Debugger module
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Dependency wheel module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Dependency wheel module
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Dot plot series type for Highcharts
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Dot plot series type for Highcharts
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highstock JS v9.3.0 (2021-10-21)
2
+ Highstock JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Drag-panes module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v9.3.0 (2021-10-21)
2
+ * @license Highstock JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Drag-panes module
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  (c) 2009-2021 Torstein Honsi
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * (c) 2009-2021 Torstein Honsi
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Highcharts Drilldown module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Highcharts Drilldown module
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  (c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * (c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Exporting module
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.3.0 (2021-10-21)
2
+ * @license Highcharts JS v9.3.1 (2021-11-05)
3
3
  *
4
4
  * Exporting module
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v9.3.0 (2021-10-21)
2
+ Highcharts JS v9.3.1 (2021-11-05)
3
3
 
4
4
  Exporting module
5
5
 
@@ -7,42 +7,42 @@
7
7
 
8
8
  License: www.highcharts.com/license
9
9
  */
10
- 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/exporting",["highcharts"],function(h){a(h);a.Highcharts=h;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function h(a,k,n,f){a.hasOwnProperty(k)||(a[k]=f.apply(null,n))}a=a?a._modules:{};h(a,"Extensions/FullScreen.js",[a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Renderer/HTML/AST.js"],a["Core/Utilities.js"]],
11
- function(a,k,n,f){var g=f.addEvent;f=function(){function a(d){this.chart=d;this.isOpen=!1;d=d.renderTo;this.browserProps||("function"===typeof d.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:d.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:d.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",
10
+ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/exporting",["highcharts"],function(g){a(g);a.Highcharts=g;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function g(a,e,r,t){a.hasOwnProperty(e)||(a[e]=t.apply(null,r))}a=a?a._modules:{};g(a,"Extensions/FullScreen.js",[a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/Renderer/HTML/AST.js"],a["Core/Utilities.js"]],
11
+ function(a,e,r,t){var l=t.addEvent;t=function(){function a(d){this.chart=d;this.isOpen=!1;d=d.renderTo;this.browserProps||("function"===typeof d.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:d.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:d.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",
12
12
  requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:d.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}a.prototype.close=function(){var d=this.chart,a=d.options.chart;if(this.isOpen&&this.browserProps&&d.container.ownerDocument instanceof Document)d.container.ownerDocument[this.browserProps.exitFullscreen]();this.unbindFullscreenEvent&&(this.unbindFullscreenEvent=
13
- this.unbindFullscreenEvent());d.setSize(this.origWidth,this.origHeight,!1);this.origHeight=this.origWidth=void 0;a.width=this.origWidthOption;a.height=this.origHeightOption;this.origHeightOption=this.origWidthOption=void 0;this.isOpen=!1;this.setButtonText()};a.prototype.open=function(){var d=this,a=d.chart,b=a.options.chart;b&&(d.origWidthOption=b.width,d.origHeightOption=b.height);d.origWidth=a.chartWidth;d.origHeight=a.chartHeight;if(d.browserProps){var p=g(a.container.ownerDocument,d.browserProps.fullscreenChange,
14
- function(){d.isOpen?(d.isOpen=!1,d.close()):(a.setSize(null,null,!1),d.isOpen=!0,d.setButtonText())}),f=g(a,"destroy",p);d.unbindFullscreenEvent=function(){p();f()};if(b=a.renderTo[d.browserProps.requestFullscreen]())b["catch"](function(){alert("Full screen is not supported inside a frame.")})}};a.prototype.setButtonText=function(){var d=this.chart,a=d.exportDivElements,b=d.options.exporting,p=b&&b.buttons&&b.buttons.contextButton.menuItems;d=d.options.lang;b&&b.menuItemDefinitions&&d&&d.exitFullscreen&&
15
- d.viewFullscreen&&p&&a&&(a=a[p.indexOf("viewFullscreen")])&&n.setElementHTML(a,this.isOpen?d.exitFullscreen:b.menuItemDefinitions.viewFullscreen.text||d.viewFullscreen)};a.prototype.toggle=function(){this.isOpen?this.close():this.open()};return a}();k.Fullscreen=f;g(a,"beforeRender",function(){this.fullscreen=new k.Fullscreen(this)});return k.Fullscreen});h(a,"Core/Chart/ChartNavigationComposition.js",[],function(){var a;(function(a){a.compose=function(a){a.navigation||(a.navigation=new g(a));return a};
16
- var g=function(){function a(a){this.updates=[];this.chart=a}a.prototype.addUpdate=function(a){this.chart.navigation.updates.push(a)};a.prototype.update=function(a,p){var d=this;this.updates.forEach(function(g){g.call(d.chart,a,p)})};return a}();a.Additions=g})(a||(a={}));return a});h(a,"Extensions/Exporting/ExportingDefaults.js",[a["Core/Globals.js"]],function(a){return{exporting:{type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",
13
+ this.unbindFullscreenEvent());d.setSize(this.origWidth,this.origHeight,!1);this.origHeight=this.origWidth=void 0;a.width=this.origWidthOption;a.height=this.origHeightOption;this.origHeightOption=this.origWidthOption=void 0;this.isOpen=!1;this.setButtonText()};a.prototype.open=function(){var d=this,a=d.chart,b=a.options.chart;b&&(d.origWidthOption=b.width,d.origHeightOption=b.height);d.origWidth=a.chartWidth;d.origHeight=a.chartHeight;if(d.browserProps){var k=l(a.container.ownerDocument,d.browserProps.fullscreenChange,
14
+ function(){d.isOpen?(d.isOpen=!1,d.close()):(a.setSize(null,null,!1),d.isOpen=!0,d.setButtonText())}),e=l(a,"destroy",k);d.unbindFullscreenEvent=function(){k();e()};if(b=a.renderTo[d.browserProps.requestFullscreen]())b["catch"](function(){alert("Full screen is not supported inside a frame.")})}};a.prototype.setButtonText=function(){var d=this.chart,a=d.exportDivElements,b=d.options.exporting,k=b&&b.buttons&&b.buttons.contextButton.menuItems;d=d.options.lang;b&&b.menuItemDefinitions&&d&&d.exitFullscreen&&
15
+ d.viewFullscreen&&k&&a&&(a=a[k.indexOf("viewFullscreen")])&&r.setElementHTML(a,this.isOpen?d.exitFullscreen:b.menuItemDefinitions.viewFullscreen.text||d.viewFullscreen)};a.prototype.toggle=function(){this.isOpen?this.close():this.open()};return a}();e.Fullscreen=t;l(a,"beforeRender",function(){this.fullscreen=new e.Fullscreen(this)});return e.Fullscreen});g(a,"Core/Chart/ChartNavigationComposition.js",[],function(){var a;(function(a){a.compose=function(a){a.navigation||(a.navigation=new e(a));return a};
16
+ var e=function(){function a(a){this.updates=[];this.chart=a}a.prototype.addUpdate=function(a){this.chart.navigation.updates.push(a)};a.prototype.update=function(a,k){var d=this;this.updates.forEach(function(e){e.call(d.chart,a,k)})};return a}();a.Additions=e})(a||(a={}));return a});g(a,"Extensions/Exporting/ExportingDefaults.js",[a["Core/Globals.js"]],function(a){return{exporting:{type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",
17
17
  menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",
18
18
  onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",
19
19
  contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}},menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:a.isTouchDevice?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",
20
- color:"#ffffff"}}}});h(a,"Extensions/Exporting/ExportingSymbols.js",[],function(){var a;(function(a){function g(a,d,g,b){return[["M",a,d+2.5],["L",a+g,d+2.5],["M",a,d+b/2+.5],["L",a+g,d+b/2+.5],["M",a,d+b-1.5],["L",a+g,d+b-1.5]]}function f(a,d,g,b){a=b/3-2;b=[];return b=b.concat(this.circle(g-a,d,a,a),this.circle(g-a,d+a+4,a,a),this.circle(g-a,d+2*(a+4),a,a))}var k=[];a.compose=function(a){-1===k.indexOf(a)&&(k.push(a),a=a.prototype.symbols,a.menu=g,a.menuball=f.bind(a))}})(a||(a={}));return a});
21
- h(a,"Core/HttpUtilities.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,k){var g=a.doc,f=k.createElement,h=k.discardElement,p=k.merge,d=k.objectEach,H={ajax:function(a){var b=p(!0,{url:!1,type:"get",dataType:"json",success:!1,error:!1,data:!1,headers:{}},a);a={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"};var g=new XMLHttpRequest;if(!b.url)return!1;g.open(b.type.toUpperCase(),b.url,!0);b.headers["Content-Type"]||g.setRequestHeader("Content-Type",
22
- a[b.dataType]||a.text);d(b.headers,function(a,d){g.setRequestHeader(d,a)});g.onreadystatechange=function(){if(4===g.readyState){if(200===g.status){var a=g.responseText;if("json"===b.dataType)try{a=JSON.parse(a)}catch(q){b.error&&b.error(g,q);return}return b.success&&b.success(a)}b.error&&b.error(g,g.responseText)}};try{b.data=JSON.stringify(b.data)}catch(x){}g.send(b.data||!0)},getJSON:function(a,d){H.ajax({url:a,success:d,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(a,k,
23
- n){var b=f("form",p({method:"post",action:a,enctype:"multipart/form-data"},n),{display:"none"},g.body);d(k,function(a,d){f("input",{type:"hidden",name:d,value:a},null,b)});b.submit();h(b)}};"";return H});h(a,"Extensions/Exporting/Exporting.js",[a["Core/Renderer/HTML/AST.js"],a["Core/Chart/Chart.js"],a["Core/Chart/ChartNavigationComposition.js"],a["Core/DefaultOptions.js"],a["Extensions/Exporting/ExportingDefaults.js"],a["Extensions/Exporting/ExportingSymbols.js"],a["Core/Globals.js"],a["Core/HttpUtilities.js"],
24
- a["Core/Utilities.js"]],function(a,k,h,f,A,p,d,H,b){f=f.defaultOptions;var g=d.doc,n=d.win,x=b.addEvent,q=b.css,B=b.createElement,J=b.discardElement,C=b.extend,P=b.find,D=b.fireEvent,Q=b.isObject,t=b.merge,K=b.objectEach,u=b.pick,R=b.removeEvent,S=b.uniqueKey,E;(function(f){function A(a){var c=this,d=c.renderer,b=t(c.options.navigation.buttonOptions,a),g=b.onclick,l=b.menuItems,f=b.symbolSize||12;c.btnCount||(c.btnCount=0);c.exportDivElements||(c.exportDivElements=[],c.exportSVGElements=[]);if(!1!==
25
- b.enabled&&b.theme){var e=b.theme,y=e.states,k=y&&y.hover;y=y&&y.select;var z;c.styledMode||(e.fill=u(e.fill,"#ffffff"),e.stroke=u(e.stroke,"none"));delete e.states;g?z=function(a){a&&a.stopPropagation();g.call(c,a)}:l&&(z=function(a){a&&a.stopPropagation();c.contextMenu(r.menuClassName,l,r.translateX,r.translateY,r.width,r.height,r);r.setState(2)});b.text&&b.symbol?e.paddingLeft=u(e.paddingLeft,30):b.text||C(e,{width:b.width,height:b.height,padding:0});c.styledMode||(e["stroke-linecap"]="round",
26
- e.fill=u(e.fill,"#ffffff"),e.stroke=u(e.stroke,"none"));var r=d.button(b.text,0,0,z,e,k,y).addClass(a.className).attr({title:u(c.options.lang[b._titleKey||b.titleKey],"")});r.menuClassName=a.menuClassName||"highcharts-menu-"+c.btnCount++;if(b.symbol){var n=d.symbol(b.symbol,b.symbolX-f/2,b.symbolY-f/2,f,f,{width:f,height:f}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(r);c.styledMode||n.attr({stroke:b.symbolStroke,fill:b.symbolFill,"stroke-width":b.symbolStrokeWidth||1})}r.add(c.exportingGroup).align(C(b,
27
- {width:r.width,x:u(b.x,c.buttonOffset)}),!0,"spacingBox");c.buttonOffset+=(r.width+b.buttonSpacing)*("right"===b.align?-1:1);c.exportSVGElements.push(r,n)}}function E(){if(this.printReverseInfo){var a=this.printReverseInfo,b=a.childNodes,d=a.origDisplay;a=a.resetParams;this.moveContainers(this.renderTo);[].forEach.call(b,function(a,c){1===a.nodeType&&(a.style.display=d[c]||"")});this.isPrinting=!1;a&&this.setSize.apply(this,a);delete this.printReverseInfo;G=void 0;D(this,"afterPrint")}}function T(){var a=
28
- g.body,b=this.options.exporting.printMaxWidth,d={childNodes:a.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0;this.pointer.reset(null,0);D(this,"beforePrint");b&&this.chartWidth>b&&(d.resetParams=[this.options.chart.width,void 0,!1],this.setSize(b,void 0,!1));[].forEach.call(d.childNodes,function(a,c){1===a.nodeType&&(d.origDisplay[c]=a.style.display,a.style.display="none")});this.moveContainers(a);this.printReverseInfo=d}function U(a){a.renderExporting();x(a,"redraw",a.renderExporting);
29
- x(a,"destroy",a.destroyExport)}function V(c,d,F,f,k,l,I){var e=this,w=e.options.navigation,L=e.chartWidth,z=e.chartHeight,r="cache-"+c,v=Math.max(k,l),m=e[r];if(!m){e.exportContextMenu=e[r]=m=B("div",{className:c},{position:"absolute",zIndex:1E3,padding:v+"px",pointerEvents:"auto"},e.fixedDiv||e.container);var h=B("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},m);e.styledMode||q(h,C({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},
30
- w.menuStyle));m.hideMenu=function(){q(m,{display:"none"});I&&I.setState(0);e.openMenu=!1;q(e.renderTo,{overflow:"hidden"});q(e.container,{overflow:"hidden"});b.clearTimeout(m.hideTimer);D(e,"exportMenuHidden")};e.exportEvents.push(x(m,"mouseleave",function(){m.hideTimer=n.setTimeout(m.hideMenu,500)}),x(m,"mouseenter",function(){b.clearTimeout(m.hideTimer)}),x(g,"mouseup",function(a){e.pointer.inClass(a.target,c)||m.hideMenu()}),x(m,"click",function(){e.openMenu&&m.hideMenu()}));d.forEach(function(c){"string"===
31
- typeof c&&(c=e.options.exporting.menuItemDefinitions[c]);if(Q(c,!0)){var b=void 0;c.separator?b=B("hr",void 0,void 0,h):("viewData"===c.textKey&&e.isDataTableVisible&&(c.textKey="hideData"),b=B("li",{className:"highcharts-menu-item",onclick:function(a){a&&a.stopPropagation();m.hideMenu();c.onclick&&c.onclick.apply(e,arguments)}},void 0,h),a.setElementHTML(b,c.text||e.options.lang[c.textKey]),e.styledMode||(b.onmouseover=function(){q(this,w.menuItemHoverStyle)},b.onmouseout=function(){q(this,w.menuItemStyle)},
32
- q(b,C({cursor:"pointer"},w.menuItemStyle))));e.exportDivElements.push(b)}});e.exportDivElements.push(h,m);e.exportMenuWidth=m.offsetWidth;e.exportMenuHeight=m.offsetHeight}d={display:"block"};F+e.exportMenuWidth>L?d.right=L-F-k-v+"px":d.left=F-v+"px";f+l+e.exportMenuHeight>z&&"top"!==I.alignOptions.verticalAlign?d.bottom=z-f-v+"px":d.top=f+l-v+"px";q(m,d);q(e.renderTo,{overflow:""});q(e.container,{overflow:""});e.openMenu=!0;D(e,"exportMenuShown")}function W(a){var c=a?a.target:this,d=c.exportSVGElements,
33
- g=c.exportDivElements;a=c.exportEvents;var f;d&&(d.forEach(function(a,b){a&&(a.onclick=a.ontouchstart=null,f="cache-"+a.menuClassName,c[f]&&delete c[f],d[b]=a.destroy())}),d.length=0);c.exportingGroup&&(c.exportingGroup.destroy(),delete c.exportingGroup);g&&(g.forEach(function(a,c){a&&(b.clearTimeout(a.hideTimer),R(a,"mouseleave"),g[c]=a.onmouseout=a.onmouseover=a.ontouchstart=a.onclick=null,J(a))}),g.length=0);a&&(a.forEach(function(a){a()}),a.length=0)}function X(a,b){b=this.getSVGForExport(a,b);
34
- a=t(this.options.exporting,a);H.post(a.url,{filename:a.filename?a.filename.replace(/\//g,"-"):this.getFilename(),type:a.type,width:a.width||0,scale:a.scale,svg:b},a.formAttributes)}function Y(){this.styledMode&&this.inlineStyles();return this.container.innerHTML}function Z(){var a=this.userOptions.title&&this.userOptions.title.text,b=this.options.exporting.filename;if(b)return b.replace(/\//g,"-");"string"===typeof a&&(b=a.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,
35
- "").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,""));if(!b||5>b.length)b="chart";return b}function aa(a){var b,c=t(this.options,a);c.plotOptions=t(this.userOptions.plotOptions,a&&a.plotOptions);c.time=t(this.userOptions.time,a&&a.time);var d=B("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},g.body),f=this.renderTo.style.width;var l=this.renderTo.style.height;f=c.exporting.sourceWidth||c.chart.width||/px$/.test(f)&&
36
- parseInt(f,10)||(c.isGantt?800:600);l=c.exporting.sourceHeight||c.chart.height||/px$/.test(l)&&parseInt(l,10)||400;C(c.chart,{animation:!1,renderTo:d,forExport:!0,renderer:"SVGRenderer",width:f,height:l});c.exporting.enabled=!1;delete c.data;c.series=[];this.series.forEach(function(a){b=t(a.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:a.visible});b.isInternal||c.series.push(b)});var n={};this.axes.forEach(function(a){a.userOptions.internalKey||(a.userOptions.internalKey=
37
- S());a.options.isInternal||(n[a.coll]||(n[a.coll]=!0,c[a.coll]=[]),c[a.coll].push(t(a.userOptions,{visible:a.visible})))});var e=new k(c,this.callback);a&&["xAxis","yAxis","series"].forEach(function(c){var b={};a[c]&&(b[c]=a[c],e.update(b))});this.axes.forEach(function(a){var c=P(e.axes,function(c){return c.options.internalKey===a.userOptions.internalKey}),b=a.getExtremes(),d=b.userMin;b=b.userMax;c&&("undefined"!==typeof d&&d!==c.min||"undefined"!==typeof b&&b!==c.max)&&c.setExtremes(d,b,!0,!1)});
38
- l=e.getChartHTML();D(this,"getSVG",{chartCopy:e});l=this.sanitizeSVG(l,c);c=null;e.destroy();J(d);return l}function ba(a,b){var c=this.options.exporting;return this.getSVG(t({chart:{borderRadius:0}},c.chartOptions,b,{exporting:{sourceWidth:a&&a.sourceWidth||c.sourceWidth,sourceHeight:a&&a.sourceHeight||c.sourceHeight}}))}function M(a){return a.replace(/([A-Z])/g,function(a,c){return"-"+c.toLowerCase()})}function ca(){function a(c){function g(a,d){f=w=!1;if(k.length){for(l=k.length;l--&&!w;)w=k[l].test(d);
39
- f=!w}"transform"===d&&"none"===a&&(f=!0);for(l=b.length;l--&&!f;)f=b[l].test(d)||"function"===typeof a;f||F[d]===a&&"svg"!==c.nodeName||h[c.nodeName][d]===a||(N&&-1===N.indexOf(d)?e+=M(d)+":"+a+";":a&&c.setAttribute(M(d),a))}var e="",f,w,l;if(1===c.nodeType&&-1===da.indexOf(c.nodeName)){var m=n.getComputedStyle(c,null);var F="svg"===c.nodeName?{}:n.getComputedStyle(c.parentNode,null);if(!h[c.nodeName]){v=p.getElementsByTagName("svg")[0];var q=p.createElementNS(c.namespaceURI,c.nodeName);v.appendChild(q);
40
- h[c.nodeName]=t(n.getComputedStyle(q,null));"text"===c.nodeName&&delete h.text.fill;v.removeChild(q)}if(d.isFirefox||d.isMS)for(var u in m)g(m[u],u);else K(m,g);e&&(m=c.getAttribute("style"),c.setAttribute("style",(m?m+";":"")+e));"svg"===c.nodeName&&c.setAttribute("stroke-width","1px");"text"!==c.nodeName&&[].forEach.call(c.children||c.childNodes,a)}}var b=ea,k=f.inlineWhitelist,h={},v,l=g.createElement("iframe");q(l,{width:"1px",height:"1px",visibility:"hidden"});g.body.appendChild(l);var p=l.contentWindow.document;
41
- p.open();p.write('<svg xmlns="http://www.w3.org/2000/svg"></svg>');p.close();a(this.container.querySelector("svg"));v.parentNode.removeChild(v);l.parentNode.removeChild(l)}function fa(a){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach(function(c){a.appendChild(c)})}function ha(){var a=this;a.exporting={update:function(c,b){a.isDirtyExporting=!0;t(!0,a.options.exporting,c);u(b,!0)&&a.redraw()}};h.compose(a).navigation.addUpdate(function(c,b){a.isDirtyExporting=!0;t(!0,
42
- a.options.navigation,c);u(b,!0)&&a.redraw()})}function ia(){var a=this;a.isPrinting||(G=a,d.isSafari||a.beforePrint(),setTimeout(function(){n.focus();n.print();d.isSafari||setTimeout(function(){a.afterPrint()},1E3)},1))}function ja(){var a=this,b=a.options.exporting,d=b.buttons,g=a.isDirtyExporting||!a.exportSVGElements;a.buttonOffset=0;a.isDirtyExporting&&a.destroyExport();g&&!1!==b.enabled&&(a.exportEvents=[],a.exportingGroup=a.exportingGroup||a.renderer.g("exporting-group").attr({zIndex:3}).add(),
43
- K(d,function(b){a.addButton(b)}),a.isDirtyExporting=!1)}function ka(a,b){var c=a.indexOf("</svg>")+6,d=a.substr(c);a=a.substr(0,c);b&&b.exporting&&b.exporting.allowHTML&&d&&(d='<foreignObject x="0" y="0" width="'+b.chart.width+'" height="'+b.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+d.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",a=a.replace("</svg>",d+"</svg>"));a=a.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,
44
- "").replace(/url\(("|&quot;)(.*?)("|&quot;);?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/&nbsp;/g,"\u00a0").replace(/&shy;/g,"\u00ad");this.ieSanitizeSVG&&(a=this.ieSanitizeSVG(a));return a}var O=[],ea=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,
45
- /[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],N="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");f.inlineWhitelist=[];var da=["clipPath","defs","desc"],G;f.compose=function(a,b){p.compose(b);-1===O.indexOf(a)&&(O.push(a),b=a.prototype,b.afterPrint=E,b.exportChart=X,b.inlineStyles=ca,b.print=ia,b.sanitizeSVG=ka,b.getChartHTML=Y,b.getSVG=aa,b.getSVGForExport=ba,b.getFilename=Z,b.moveContainers=fa,b.beforePrint=T,b.contextMenu=
46
- V,b.addButton=A,b.destroyExport=W,b.renderExporting=ja,b.callbacks.push(U),x(a,"init",ha),d.isSafari&&d.win.matchMedia("print").addListener(function(a){G&&(a.matches?G.beforePrint():G.afterPrint())}))}})(E||(E={}));f.exporting=t(A.exporting,f.exporting);f.lang=t(A.lang,f.lang);f.navigation=t(A.navigation,f.navigation);"";"";return E});h(a,"masters/modules/exporting.src.js",[a["Core/Globals.js"],a["Extensions/Exporting/Exporting.js"],a["Core/HttpUtilities.js"]],function(a,k,h){a.HttpUtilities=h;a.ajax=
47
- h.ajax;a.getJSON=h.getJSON;a.post=h.post;k.compose(a.Chart,a.Renderer)})});
20
+ color:"#ffffff"}}}});g(a,"Extensions/Exporting/ExportingSymbols.js",[],function(){var a;(function(a){function e(a,d,e,b){return[["M",a,d+2.5],["L",a+e,d+2.5],["M",a,d+b/2+.5],["L",a+e,d+b/2+.5],["M",a,d+b-1.5],["L",a+e,d+b-1.5]]}function l(a,d,e,b){a=b/3-2;b=[];return b=b.concat(this.circle(e-a,d,a,a),this.circle(e-a,d+a+4,a,a),this.circle(e-a,d+2*(a+4),a,a))}var g=[];a.compose=function(a){-1===g.indexOf(a)&&(g.push(a),a=a.prototype.symbols,a.menu=e,a.menuball=l.bind(a))}})(a||(a={}));return a});
21
+ g(a,"Core/HttpUtilities.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,e){var l=a.doc,g=e.createElement,z=e.discardElement,k=e.merge,d=e.objectEach,J={ajax:function(a){var b=k(!0,{url:!1,type:"get",dataType:"json",success:!1,error:!1,data:!1,headers:{}},a);a={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"};var e=new XMLHttpRequest;if(!b.url)return!1;e.open(b.type.toUpperCase(),b.url,!0);b.headers["Content-Type"]||e.setRequestHeader("Content-Type",
22
+ a[b.dataType]||a.text);d(b.headers,function(a,d){e.setRequestHeader(d,a)});e.onreadystatechange=function(){if(4===e.readyState){if(200===e.status){var a=e.responseText;if("json"===b.dataType)try{a=JSON.parse(a)}catch(q){b.error&&b.error(e,q);return}return b.success&&b.success(a)}b.error&&b.error(e,e.responseText)}};try{b.data=JSON.stringify(b.data)}catch(x){}e.send(b.data||!0)},getJSON:function(a,d){J.ajax({url:a,success:d,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(a,e,
23
+ r){var b=g("form",k({method:"post",action:a,enctype:"multipart/form-data"},r),{display:"none"},l.body);d(e,function(a,d){g("input",{type:"hidden",name:d,value:a},null,b)});b.submit();z(b)}};"";return J});g(a,"Extensions/Exporting/Exporting.js",[a["Core/Renderer/HTML/AST.js"],a["Core/Chart/Chart.js"],a["Core/Chart/ChartNavigationComposition.js"],a["Core/DefaultOptions.js"],a["Extensions/Exporting/ExportingDefaults.js"],a["Extensions/Exporting/ExportingSymbols.js"],a["Core/Globals.js"],a["Core/HttpUtilities.js"],
24
+ a["Core/Utilities.js"]],function(a,e,g,t,z,k,d,J,b){e=t.defaultOptions;var l=d.doc,r=d.win,x=b.addEvent,q=b.css,E=b.createElement,K=b.discardElement,F=b.extend,P=b.find,G=b.fireEvent,Q=b.isObject,m=b.merge,L=b.objectEach,w=b.pick,R=b.removeEvent,S=b.uniqueKey,H;(function(e){function t(a){var c=this,d=c.renderer,b=m(c.options.navigation.buttonOptions,a),e=b.onclick,B=b.menuItems,n=b.symbolSize||12;c.btnCount||(c.btnCount=0);c.exportDivElements||(c.exportDivElements=[],c.exportSVGElements=[]);if(!1!==
25
+ b.enabled&&b.theme){var f=b.theme,C=f.states,l=C&&C.hover;C=C&&C.select;var D;c.styledMode||(f.fill=w(f.fill,"#ffffff"),f.stroke=w(f.stroke,"none"));delete f.states;e?D=function(a){a&&a.stopPropagation();e.call(c,a)}:B&&(D=function(a){a&&a.stopPropagation();c.contextMenu(p.menuClassName,B,p.translateX,p.translateY,p.width,p.height,p);p.setState(2)});b.text&&b.symbol?f.paddingLeft=w(f.paddingLeft,30):b.text||F(f,{width:b.width,height:b.height,padding:0});c.styledMode||(f["stroke-linecap"]="round",
26
+ f.fill=w(f.fill,"#ffffff"),f.stroke=w(f.stroke,"none"));var p=d.button(b.text,0,0,D,f,l,C).addClass(a.className).attr({title:w(c.options.lang[b._titleKey||b.titleKey],"")});p.menuClassName=a.menuClassName||"highcharts-menu-"+c.btnCount++;if(b.symbol){var g=d.symbol(b.symbol,b.symbolX-n/2,b.symbolY-n/2,n,n,{width:n,height:n}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(p);c.styledMode||g.attr({stroke:b.symbolStroke,fill:b.symbolFill,"stroke-width":b.symbolStrokeWidth||1})}p.add(c.exportingGroup).align(F(b,
27
+ {width:p.width,x:w(b.x,c.buttonOffset)}),!0,"spacingBox");c.buttonOffset+=(p.width+b.buttonSpacing)*("right"===b.align?-1:1);c.exportSVGElements.push(p,g)}}function z(){if(this.printReverseInfo){var a=this.printReverseInfo,b=a.childNodes,d=a.origDisplay;a=a.resetParams;this.moveContainers(this.renderTo);[].forEach.call(b,function(a,c){1===a.nodeType&&(a.style.display=d[c]||"")});this.isPrinting=!1;a&&this.setSize.apply(this,a);delete this.printReverseInfo;I=void 0;G(this,"afterPrint")}}function H(){var a=
28
+ l.body,b=this.options.exporting.printMaxWidth,d={childNodes:a.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0;this.pointer.reset(null,0);G(this,"beforePrint");b&&this.chartWidth>b&&(d.resetParams=[this.options.chart.width,void 0,!1],this.setSize(b,void 0,!1));[].forEach.call(d.childNodes,function(a,c){1===a.nodeType&&(d.origDisplay[c]=a.style.display,a.style.display="none")});this.moveContainers(a);this.printReverseInfo=d}function T(a){a.renderExporting();x(a,"redraw",a.renderExporting);
29
+ x(a,"destroy",a.destroyExport)}function U(c,d,e,y,g,B,n){var f=this,u=f.options.navigation,A=f.chartWidth,D=f.chartHeight,p="cache-"+c,v=Math.max(g,B),h=f[p];if(!h){f.exportContextMenu=f[p]=h=E("div",{className:c},{position:"absolute",zIndex:1E3,padding:v+"px",pointerEvents:"auto"},f.fixedDiv||f.container);var m=E("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},h);f.styledMode||q(m,F({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},
30
+ u.menuStyle));h.hideMenu=function(){q(h,{display:"none"});n&&n.setState(0);f.openMenu=!1;q(f.renderTo,{overflow:"hidden"});q(f.container,{overflow:"hidden"});b.clearTimeout(h.hideTimer);G(f,"exportMenuHidden")};f.exportEvents.push(x(h,"mouseleave",function(){h.hideTimer=r.setTimeout(h.hideMenu,500)}),x(h,"mouseenter",function(){b.clearTimeout(h.hideTimer)}),x(l,"mouseup",function(a){f.pointer.inClass(a.target,c)||h.hideMenu()}),x(h,"click",function(){f.openMenu&&h.hideMenu()}));d.forEach(function(c){"string"===
31
+ typeof c&&(c=f.options.exporting.menuItemDefinitions[c]);if(Q(c,!0)){var b=void 0;c.separator?b=E("hr",void 0,void 0,m):("viewData"===c.textKey&&f.isDataTableVisible&&(c.textKey="hideData"),b=E("li",{className:"highcharts-menu-item",onclick:function(a){a&&a.stopPropagation();h.hideMenu();c.onclick&&c.onclick.apply(f,arguments)}},void 0,m),a.setElementHTML(b,c.text||f.options.lang[c.textKey]),f.styledMode||(b.onmouseover=function(){q(this,u.menuItemHoverStyle)},b.onmouseout=function(){q(this,u.menuItemStyle)},
32
+ q(b,F({cursor:"pointer"},u.menuItemStyle))));f.exportDivElements.push(b)}});f.exportDivElements.push(m,h);f.exportMenuWidth=h.offsetWidth;f.exportMenuHeight=h.offsetHeight}d={display:"block"};e+f.exportMenuWidth>A?d.right=A-e-g-v+"px":d.left=e-v+"px";y+B+f.exportMenuHeight>D&&"top"!==n.alignOptions.verticalAlign?d.bottom=D-y-v+"px":d.top=y+B-v+"px";q(h,d);q(f.renderTo,{overflow:""});q(f.container,{overflow:""});f.openMenu=!0;G(f,"exportMenuShown")}function V(a){var c=a?a.target:this,d=c.exportSVGElements,
33
+ e=c.exportDivElements;a=c.exportEvents;var g;d&&(d.forEach(function(a,b){a&&(a.onclick=a.ontouchstart=null,g="cache-"+a.menuClassName,c[g]&&delete c[g],d[b]=a.destroy())}),d.length=0);c.exportingGroup&&(c.exportingGroup.destroy(),delete c.exportingGroup);e&&(e.forEach(function(a,c){a&&(b.clearTimeout(a.hideTimer),R(a,"mouseleave"),e[c]=a.onmouseout=a.onmouseover=a.ontouchstart=a.onclick=null,K(a))}),e.length=0);a&&(a.forEach(function(a){a()}),a.length=0)}function W(a,b){b=this.getSVGForExport(a,b);
34
+ a=m(this.options.exporting,a);J.post(a.url,{filename:a.filename?a.filename.replace(/\//g,"-"):this.getFilename(),type:a.type,width:a.width||0,scale:a.scale,svg:b},a.formAttributes)}function X(){this.styledMode&&this.inlineStyles();return this.container.innerHTML}function Y(){var a=this.userOptions.title&&this.userOptions.title.text,b=this.options.exporting.filename;if(b)return b.replace(/\//g,"-");"string"===typeof a&&(b=a.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,
35
+ "").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,""));if(!b||5>b.length)b="chart";return b}function Z(a){var b,c=m(this.options,a);c.plotOptions=m(this.userOptions.plotOptions,a&&a.plotOptions);c.time=m(this.userOptions.time,a&&a.time);var d=E("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},l.body),e=this.renderTo.style.width;var g=this.renderTo.style.height;e=c.exporting.sourceWidth||c.chart.width||/px$/.test(e)&&
36
+ parseInt(e,10)||(c.isGantt?800:600);g=c.exporting.sourceHeight||c.chart.height||/px$/.test(g)&&parseInt(g,10)||400;F(c.chart,{animation:!1,renderTo:d,forExport:!0,renderer:"SVGRenderer",width:e,height:g});c.exporting.enabled=!1;delete c.data;c.series=[];this.series.forEach(function(a){b=m(a.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:a.visible});b.isInternal||c.series.push(b)});var n={};this.axes.forEach(function(a){a.userOptions.internalKey||(a.userOptions.internalKey=
37
+ S());a.options.isInternal||(n[a.coll]||(n[a.coll]=!0,c[a.coll]=[]),c[a.coll].push(m(a.userOptions,{visible:a.visible})))});var f=new this.constructor(c,this.callback);a&&["xAxis","yAxis","series"].forEach(function(c){var b={};a[c]&&(b[c]=a[c],f.update(b))});this.axes.forEach(function(a){var c=P(f.axes,function(c){return c.options.internalKey===a.userOptions.internalKey}),b=a.getExtremes(),d=b.userMin;b=b.userMax;c&&("undefined"!==typeof d&&d!==c.min||"undefined"!==typeof b&&b!==c.max)&&c.setExtremes(d,
38
+ b,!0,!1)});g=f.getChartHTML();G(this,"getSVG",{chartCopy:f});g=this.sanitizeSVG(g,c);c=null;f.destroy();K(d);return g}function aa(a,b){var c=this.options.exporting;return this.getSVG(m({chart:{borderRadius:0}},c.chartOptions,b,{exporting:{sourceWidth:a&&a.sourceWidth||c.sourceWidth,sourceHeight:a&&a.sourceHeight||c.sourceHeight}}))}function M(a){return a.replace(/([A-Z])/g,function(a,c){return"-"+c.toLowerCase()})}function ba(){function a(c){function e(a,d){u=l=!1;if(g.length){for(k=g.length;k--&&
39
+ !l;)l=g[k].test(d);u=!l}"transform"===d&&"none"===a&&(u=!0);for(k=b.length;k--&&!u;)u=b[k].test(d)||"function"===typeof a;u||q[d]===a&&"svg"!==c.nodeName||y[c.nodeName][d]===a||(N&&-1===N.indexOf(d)?f+=M(d)+":"+a+";":a&&c.setAttribute(M(d),a))}var f="",u,l,k;if(1===c.nodeType&&-1===ca.indexOf(c.nodeName)){var h=r.getComputedStyle(c,null);var q="svg"===c.nodeName?{}:r.getComputedStyle(c.parentNode,null);if(!y[c.nodeName]){v=n.getElementsByTagName("svg")[0];var A=n.createElementNS(c.namespaceURI,c.nodeName);
40
+ v.appendChild(A);y[c.nodeName]=m(r.getComputedStyle(A,null));"text"===c.nodeName&&delete y.text.fill;v.removeChild(A)}if(d.isFirefox||d.isMS)for(var t in h)e(h[t],t);else L(h,e);f&&(h=c.getAttribute("style"),c.setAttribute("style",(h?h+";":"")+f));"svg"===c.nodeName&&c.setAttribute("stroke-width","1px");"text"!==c.nodeName&&[].forEach.call(c.children||c.childNodes,a)}}var b=da,g=e.inlineWhitelist,y={},v,k=l.createElement("iframe");q(k,{width:"1px",height:"1px",visibility:"hidden"});l.body.appendChild(k);
41
+ var n=k.contentWindow.document;n.open();n.write('<svg xmlns="http://www.w3.org/2000/svg"></svg>');n.close();a(this.container.querySelector("svg"));v.parentNode.removeChild(v);k.parentNode.removeChild(k)}function ea(a){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach(function(c){a.appendChild(c)})}function fa(){var a=this;a.exporting={update:function(c,b){a.isDirtyExporting=!0;m(!0,a.options.exporting,c);w(b,!0)&&a.redraw()}};g.compose(a).navigation.addUpdate(function(c,
42
+ b){a.isDirtyExporting=!0;m(!0,a.options.navigation,c);w(b,!0)&&a.redraw()})}function ha(){var a=this;a.isPrinting||(I=a,d.isSafari||a.beforePrint(),setTimeout(function(){r.focus();r.print();d.isSafari||setTimeout(function(){a.afterPrint()},1E3)},1))}function ia(){var a=this,b=a.options.exporting,d=b.buttons,e=a.isDirtyExporting||!a.exportSVGElements;a.buttonOffset=0;a.isDirtyExporting&&a.destroyExport();e&&!1!==b.enabled&&(a.exportEvents=[],a.exportingGroup=a.exportingGroup||a.renderer.g("exporting-group").attr({zIndex:3}).add(),
43
+ L(d,function(b){a.addButton(b)}),a.isDirtyExporting=!1)}function ja(a,b){var c=a.indexOf("</svg>")+6,d=a.substr(c);a=a.substr(0,c);b&&b.exporting&&b.exporting.allowHTML&&d&&(d='<foreignObject x="0" y="0" width="'+b.chart.width+'" height="'+b.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+d.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",a=a.replace("</svg>",d+"</svg>"));a=a.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,
44
+ "").replace(/url\(("|&quot;)(.*?)("|&quot;);?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/&nbsp;/g,"\u00a0").replace(/&shy;/g,"\u00ad");this.ieSanitizeSVG&&(a=this.ieSanitizeSVG(a));return a}var O=[],da=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,
45
+ /[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],N="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");e.inlineWhitelist=[];var ca=["clipPath","defs","desc"],I;e.compose=function(a,b){k.compose(b);-1===O.indexOf(a)&&(O.push(a),b=a.prototype,b.afterPrint=z,b.exportChart=W,b.inlineStyles=ba,b.print=ha,b.sanitizeSVG=ja,b.getChartHTML=X,b.getSVG=Z,b.getSVGForExport=aa,b.getFilename=Y,b.moveContainers=ea,b.beforePrint=H,b.contextMenu=
46
+ U,b.addButton=t,b.destroyExport=V,b.renderExporting=ia,b.callbacks.push(T),x(a,"init",fa),d.isSafari&&d.win.matchMedia("print").addListener(function(a){I&&(a.matches?I.beforePrint():I.afterPrint())}))}})(H||(H={}));e.exporting=m(z.exporting,e.exporting);e.lang=m(z.lang,e.lang);e.navigation=m(z.navigation,e.navigation);"";"";return H});g(a,"masters/modules/exporting.src.js",[a["Core/Globals.js"],a["Extensions/Exporting/Exporting.js"],a["Core/HttpUtilities.js"]],function(a,e,g){a.HttpUtilities=g;a.ajax=
47
+ g.ajax;a.getJSON=g.getJSON;a.post=g.post;e.compose(a.Chart,a.Renderer)})});
48
48
  //# sourceMappingURL=exporting.js.map