highcharts 13.0.1 → 13.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (915) hide show
  1. package/bower.json +2 -3
  2. package/es-modules/Accessibility/A11yI18n.js +4 -4
  3. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +6 -4
  4. package/es-modules/Accessibility/Components/LegendComponent.js +2 -2
  5. package/es-modules/Accessibility/Components/NavigatorComponent.js +2 -2
  6. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +13 -10
  7. package/es-modules/Accessibility/Components/ZoomComponent.js +2 -2
  8. package/es-modules/Accessibility/FocusBorder.js +2 -2
  9. package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
  10. package/es-modules/Core/Animation/AnimationUtilities.js +3 -2
  11. package/es-modules/Core/Axis/Axis.js +48 -57
  12. package/es-modules/Core/Axis/Axis3DComposition.js +8 -6
  13. package/es-modules/Core/Axis/BrokenAxis.js +6 -5
  14. package/es-modules/Core/Axis/Color/ColorAxis.js +17 -10
  15. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +2 -2
  16. package/es-modules/Core/Axis/GridAxis.js +4 -4
  17. package/es-modules/Core/Axis/LogarithmicAxis.js +5 -3
  18. package/es-modules/Core/Axis/NavigatorAxisComposition.js +2 -2
  19. package/es-modules/Core/Axis/OrdinalAxis.js +9 -7
  20. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -2
  21. package/es-modules/Core/Axis/RadialAxis.js +15 -9
  22. package/es-modules/Core/Axis/ScrollbarAxis.js +3 -3
  23. package/es-modules/Core/Axis/Stacking/StackItem.js +5 -5
  24. package/es-modules/Core/Axis/Stacking/StackingAxis.js +4 -4
  25. package/es-modules/Core/Axis/Tick.js +10 -11
  26. package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -3
  27. package/es-modules/Core/Chart/Chart.js +14 -14
  28. package/es-modules/Core/Chart/Chart3D.js +3 -3
  29. package/es-modules/Core/Chart/ChartDefaults.js +23 -0
  30. package/es-modules/Core/Chart/MapChart.js +7 -5
  31. package/es-modules/Core/Chart/StockChart.js +15 -11
  32. package/es-modules/Core/Color/Color.js +3 -1
  33. package/es-modules/Core/Defaults.js +35 -0
  34. package/es-modules/Core/Globals.js +1 -1
  35. package/es-modules/Core/Legend/Legend.js +16 -12
  36. package/es-modules/Core/Legend/LegendSymbol.js +2 -2
  37. package/es-modules/Core/MSPointer.js +2 -2
  38. package/es-modules/Core/Math3D.js +6 -7
  39. package/es-modules/Core/Pointer.js +9 -9
  40. package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
  41. package/es-modules/Core/Renderer/SVG/SVGElement.js +11 -9
  42. package/es-modules/Core/Renderer/SVG/SVGElement3D.js +2 -2
  43. package/es-modules/Core/Renderer/SVG/SVGLabel.js +5 -5
  44. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +5 -5
  45. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +11 -9
  46. package/es-modules/Core/Renderer/SVG/Symbols.js +6 -5
  47. package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
  48. package/es-modules/Core/Responsive.js +7 -5
  49. package/es-modules/Core/Series/DataLabel.js +8 -6
  50. package/es-modules/Core/Series/OverlappingDataLabels.js +5 -2
  51. package/es-modules/Core/Series/Point.js +3 -3
  52. package/es-modules/Core/Series/Series.js +37 -21
  53. package/es-modules/Core/Series/Series3D.js +2 -2
  54. package/es-modules/Core/Templating.js +2 -2
  55. package/es-modules/Core/Tooltip.js +11 -7
  56. package/es-modules/Core/Utilities.js +4 -3
  57. package/es-modules/Data/Connectors/DataConnector.js +2 -2
  58. package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
  59. package/es-modules/Data/DataTable.js +17 -0
  60. package/es-modules/Extensions/Annotations/Annotation.js +4 -4
  61. package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -2
  62. package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
  63. package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +2 -2
  64. package/es-modules/Extensions/Annotations/EventEmitter.js +4 -4
  65. package/es-modules/Extensions/Annotations/NavigationBindings.js +6 -3
  66. package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +2 -2
  67. package/es-modules/Extensions/Annotations/Popup/Popup.js +3 -2
  68. package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -6
  69. package/es-modules/Extensions/Annotations/Types/Measure.js +3 -3
  70. package/es-modules/Extensions/Annotations/Types/VerticalLine.js +3 -3
  71. package/es-modules/Extensions/Boost/BoostChart.js +11 -4
  72. package/es-modules/Extensions/Boost/BoostSeries.js +8 -9
  73. package/es-modules/Extensions/Boost/WGLRenderer.js +9 -6
  74. package/es-modules/Extensions/Boost/WGLShader.js +3 -3
  75. package/es-modules/Extensions/BoostCanvas.js +2 -2
  76. package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +5 -4
  77. package/es-modules/Extensions/DataGrouping/DataGrouping.js +2 -2
  78. package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +4 -3
  79. package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +2 -2
  80. package/es-modules/Extensions/DraggablePoints/DragDropProps.js +2 -3
  81. package/es-modules/Extensions/ExportData/ExportData.js +17 -16
  82. package/es-modules/Extensions/Exporting/Exporting.js +7 -7
  83. package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +2 -2
  84. package/es-modules/Extensions/Pane/PaneComposition.js +2 -2
  85. package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -2
  86. package/es-modules/Extensions/PatternFill.js +7 -5
  87. package/es-modules/Extensions/PriceIndication.js +5 -4
  88. package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +7 -7
  89. package/es-modules/Extensions/Sonification/MIDI.js +2 -3
  90. package/es-modules/Extensions/Sonification/Sonification.js +2 -2
  91. package/es-modules/Extensions/Sonification/SonificationSpeaker.js +3 -2
  92. package/es-modules/Extensions/Sonification/SynthPatch.js +3 -3
  93. package/es-modules/Extensions/Sonification/TimelineFromChart.js +11 -11
  94. package/es-modules/Gantt/Legacy.js +2 -2
  95. package/es-modules/Gantt/Pathfinder.js +3 -3
  96. package/es-modules/Gantt/PathfinderAlgorithms.js +4 -3
  97. package/es-modules/Gantt/Tree.js +1 -1
  98. package/es-modules/Maps/MapNavigation.js +4 -4
  99. package/es-modules/Maps/MapPointer.js +2 -2
  100. package/es-modules/Maps/MapView.js +2 -2
  101. package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +8 -6
  102. package/es-modules/Series/Area/AreaSeries.js +4 -5
  103. package/es-modules/Series/BoxPlot/BoxPlotSeries.js +13 -4
  104. package/es-modules/Series/Bubble/BubbleLegendItem.js +10 -6
  105. package/es-modules/Series/Bubble/BubbleSeries.js +10 -9
  106. package/es-modules/Series/Bullet/BulletSeries.js +17 -10
  107. package/es-modules/Series/CenteredUtilities.js +7 -5
  108. package/es-modules/Series/Column/ColumnSeries.js +2 -2
  109. package/es-modules/Series/Column3D/Column3DComposition.js +6 -5
  110. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +4 -4
  111. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +4 -2
  112. package/es-modules/Series/Cylinder/CylinderComposition.js +2 -2
  113. package/es-modules/Series/DataModifyComposition.js +9 -7
  114. package/es-modules/Series/DotPlot/DotPlotSeries.js +3 -2
  115. package/es-modules/Series/Dumbbell/DumbbellPoint.js +14 -3
  116. package/es-modules/Series/Dumbbell/DumbbellSeries.js +24 -7
  117. package/es-modules/Series/FlowMap/FlowMapPoint.js +5 -3
  118. package/es-modules/Series/FlowMap/FlowMapSeries.js +17 -9
  119. package/es-modules/Series/Funnel/FunnelSeries.js +2 -2
  120. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +7 -5
  121. package/es-modules/Series/Gauge/GaugeSeries.js +2 -2
  122. package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +4 -4
  123. package/es-modules/Series/Heatmap/HeatmapPoint.js +6 -6
  124. package/es-modules/Series/Heatmap/HeatmapPointOptions.js +12 -0
  125. package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -13
  126. package/es-modules/Series/Heatmap/HeatmapSeriesOptions.js +12 -0
  127. package/es-modules/Series/Histogram/HistogramPoint.js +17 -0
  128. package/es-modules/Series/Histogram/HistogramPointOptions.js +12 -0
  129. package/es-modules/Series/Histogram/HistogramSeries.js +14 -2
  130. package/es-modules/Series/Histogram/HistogramSeriesOptions.js +12 -0
  131. package/es-modules/Series/InterpolationUtilities.js +5 -5
  132. package/es-modules/Series/Item/ItemPointOptions.js +14 -0
  133. package/es-modules/Series/Item/ItemSeries.js +18 -6
  134. package/es-modules/Series/Item/ItemSeriesOptions.js +14 -0
  135. package/es-modules/Series/Map/MapPoint.js +5 -3
  136. package/es-modules/Series/Map/MapSeries.js +5 -8
  137. package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +3 -3
  138. package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -2
  139. package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +18 -9
  140. package/es-modules/Series/NodesComposition.js +9 -10
  141. package/es-modules/Series/Organization/OrganizationPoint.js +3 -2
  142. package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -3
  143. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +5 -5
  144. package/es-modules/Series/Pictorial/PictorialSeries.js +4 -2
  145. package/es-modules/Series/Pie/PieDataLabel.js +2 -2
  146. package/es-modules/Series/Pie/PiePoint.js +2 -2
  147. package/es-modules/Series/Pie/PieSeries.js +3 -2
  148. package/es-modules/Series/Pie3D/Pie3DSeries.js +8 -4
  149. package/es-modules/Series/PolarComposition.js +8 -7
  150. package/es-modules/Series/Sankey/SankeySeries.js +11 -5
  151. package/es-modules/Series/Scatter/ScatterSeries.js +6 -5
  152. package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +2 -2
  153. package/es-modules/Series/Spline/SplineSeries.js +5 -5
  154. package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +8 -6
  155. package/es-modules/Series/Tilemap/TilemapShapes.js +2 -2
  156. package/es-modules/Series/Timeline/TimelinePoint.js +2 -2
  157. package/es-modules/Series/Timeline/TimelineSeries.js +4 -3
  158. package/es-modules/Series/TreeUtilities.js +16 -7
  159. package/es-modules/Series/Treegraph/TreegraphLink.js +2 -2
  160. package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
  161. package/es-modules/Series/Treemap/TreemapSeries.js +14 -11
  162. package/es-modules/Series/VariablePie/VariablePieSeries.js +6 -4
  163. package/es-modules/Series/Variwide/VariwideSeries.js +2 -2
  164. package/es-modules/Series/Waterfall/WaterfallSeries.js +2 -2
  165. package/es-modules/Series/Windbarb/WindbarbSeries.js +2 -2
  166. package/es-modules/Shared/TimeBase.js +8 -2
  167. package/es-modules/Shared/Utilities.js +9 -7
  168. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -3
  169. package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +4 -3
  170. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +1 -1
  171. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -2
  172. package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +4 -4
  173. package/es-modules/Stock/Navigator/Navigator.js +26 -26
  174. package/es-modules/Stock/Navigator/StandaloneNavigator.js +4 -4
  175. package/es-modules/Stock/RangeSelector/RangeSelector.js +15 -11
  176. package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +3 -3
  177. package/es-modules/Stock/Scrollbar/Scrollbar.js +8 -7
  178. package/es-modules/Stock/StockTools/StockToolbar.js +5 -5
  179. package/es-modules/Stock/StockTools/StockTools.js +2 -2
  180. package/es-modules/Stock/StockTools/StockToolsGui.js +4 -2
  181. package/es-modules/masters/highcharts-3d.src.js +1 -1
  182. package/es-modules/masters/highcharts-autoload.src.js +1 -1
  183. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  184. package/es-modules/masters/highcharts-more.src.js +1 -1
  185. package/es-modules/masters/highcharts.src.js +7 -2
  186. package/es-modules/masters/highmaps.src.js +1 -1
  187. package/es-modules/masters/highstock.src.js +1 -1
  188. package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
  189. package/es-modules/masters/i18n/fr-FR.src.js +1 -1
  190. package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
  191. package/es-modules/masters/i18n/nb-NO.src.js +1 -1
  192. package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
  193. package/es-modules/masters/i18n/zh-CN.src.js +1 -1
  194. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  195. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  196. package/es-modules/masters/indicators/ao.src.js +1 -1
  197. package/es-modules/masters/indicators/apo.src.js +1 -1
  198. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  199. package/es-modules/masters/indicators/aroon.src.js +1 -1
  200. package/es-modules/masters/indicators/atr.src.js +1 -1
  201. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  202. package/es-modules/masters/indicators/cci.src.js +1 -1
  203. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  204. package/es-modules/masters/indicators/cmf.src.js +1 -1
  205. package/es-modules/masters/indicators/cmo.src.js +1 -1
  206. package/es-modules/masters/indicators/dema.src.js +1 -1
  207. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  208. package/es-modules/masters/indicators/dmi.src.js +1 -1
  209. package/es-modules/masters/indicators/dpo.src.js +1 -1
  210. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  211. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  212. package/es-modules/masters/indicators/indicators.src.js +1 -1
  213. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  214. package/es-modules/masters/indicators/klinger.src.js +1 -1
  215. package/es-modules/masters/indicators/macd.src.js +1 -1
  216. package/es-modules/masters/indicators/mfi.src.js +1 -1
  217. package/es-modules/masters/indicators/momentum.src.js +1 -1
  218. package/es-modules/masters/indicators/natr.src.js +1 -1
  219. package/es-modules/masters/indicators/obv.src.js +1 -1
  220. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  221. package/es-modules/masters/indicators/ppo.src.js +1 -1
  222. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  223. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  224. package/es-modules/masters/indicators/psar.src.js +1 -1
  225. package/es-modules/masters/indicators/regressions.src.js +1 -1
  226. package/es-modules/masters/indicators/roc.src.js +1 -1
  227. package/es-modules/masters/indicators/rsi.src.js +1 -1
  228. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  229. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  230. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  231. package/es-modules/masters/indicators/tema.src.js +1 -1
  232. package/es-modules/masters/indicators/trendline.src.js +1 -1
  233. package/es-modules/masters/indicators/trix.src.js +1 -1
  234. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  235. package/es-modules/masters/indicators/vwap.src.js +1 -1
  236. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  237. package/es-modules/masters/indicators/wma.src.js +1 -1
  238. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  239. package/es-modules/masters/modules/accessibility.src.js +1 -1
  240. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  241. package/es-modules/masters/modules/annotations.src.js +1 -1
  242. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  243. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  244. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  245. package/es-modules/masters/modules/boost.src.js +1 -1
  246. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  247. package/es-modules/masters/modules/bullet.src.js +1 -1
  248. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  249. package/es-modules/masters/modules/contour.src.js +1 -1
  250. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  251. package/es-modules/masters/modules/cylinder.src.js +1 -1
  252. package/es-modules/masters/modules/data-sorting.src.js +1 -1
  253. package/es-modules/masters/modules/data-tools.src.js +1 -1
  254. package/es-modules/masters/modules/data.src.js +1 -1
  255. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  256. package/es-modules/masters/modules/debugger.src.js +1 -1
  257. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  258. package/es-modules/masters/modules/dotplot.src.js +1 -1
  259. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  260. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  261. package/es-modules/masters/modules/drilldown.src.js +1 -1
  262. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  263. package/es-modules/masters/modules/export-data.src.js +1 -1
  264. package/es-modules/masters/modules/exporting.src.js +1 -1
  265. package/es-modules/masters/modules/flowmap.src.js +1 -1
  266. package/es-modules/masters/modules/full-screen.src.js +1 -1
  267. package/es-modules/masters/modules/funnel.src.js +1 -1
  268. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  269. package/es-modules/masters/modules/gantt.src.js +1 -1
  270. package/es-modules/masters/modules/geoheatmap.src.js +1 -1
  271. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  272. package/es-modules/masters/modules/heatmap.src.js +1 -1
  273. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  274. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  275. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  276. package/es-modules/masters/modules/item-series.src.js +1 -1
  277. package/es-modules/masters/modules/lollipop.src.js +1 -1
  278. package/es-modules/masters/modules/map.src.js +1 -1
  279. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  280. package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
  281. package/es-modules/masters/modules/navigator.src.js +1 -1
  282. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  283. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  284. package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
  285. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  286. package/es-modules/masters/modules/organization.src.js +1 -1
  287. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  288. package/es-modules/masters/modules/pareto.src.js +1 -1
  289. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  290. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  291. package/es-modules/masters/modules/pictorial.src.js +1 -1
  292. package/es-modules/masters/modules/pointandfigure.src.js +1 -1
  293. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  294. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  295. package/es-modules/masters/modules/renko.src.js +1 -1
  296. package/es-modules/masters/modules/sankey.src.js +1 -1
  297. package/es-modules/masters/modules/series-label.src.js +1 -1
  298. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  299. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  300. package/es-modules/masters/modules/sonification.src.js +1 -1
  301. package/es-modules/masters/modules/static-scale.src.js +1 -1
  302. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  303. package/es-modules/masters/modules/stock.src.js +1 -1
  304. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  305. package/es-modules/masters/modules/sunburst.src.js +1 -1
  306. package/es-modules/masters/modules/textpath.src.js +1 -1
  307. package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
  308. package/es-modules/masters/modules/tilemap.src.js +1 -1
  309. package/es-modules/masters/modules/timeline.src.js +1 -1
  310. package/es-modules/masters/modules/treegraph.src.js +1 -1
  311. package/es-modules/masters/modules/treegrid.src.js +1 -1
  312. package/es-modules/masters/modules/treemap.src.js +1 -1
  313. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  314. package/es-modules/masters/modules/variwide.src.js +1 -1
  315. package/es-modules/masters/modules/vector.src.js +1 -1
  316. package/es-modules/masters/modules/venn.src.js +1 -1
  317. package/es-modules/masters/modules/windbarb.src.js +1 -1
  318. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  319. package/es-modules/masters/modules/xrange.src.js +1 -1
  320. package/es-modules/masters/standalone-navigator.src.js +1 -1
  321. package/es-modules/masters/themes/adaptive.src.js +1 -1
  322. package/es-modules/masters/themes/avocado.src.js +1 -1
  323. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  324. package/es-modules/masters/themes/grid-light.src.js +1 -1
  325. package/es-modules/masters/themes/high-contrast.src.js +1 -1
  326. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  327. package/es-modules/masters/themes/sunset.src.js +1 -1
  328. package/es-modules/tsconfig.tsbuildinfo +1 -1
  329. package/esm/highcharts-3d.js +2 -2
  330. package/esm/highcharts-3d.src.js +40 -32
  331. package/esm/highcharts-autoload.js +1 -1
  332. package/esm/highcharts-autoload.src.js +1 -1
  333. package/esm/highcharts-gantt.js +1 -1
  334. package/esm/highcharts-gantt.src.js +1 -1
  335. package/esm/highcharts-more.js +2 -2
  336. package/esm/highcharts-more.src.js +90 -56
  337. package/esm/highcharts.js +4 -4
  338. package/esm/highcharts.src.js +312 -207
  339. package/esm/highmaps.js +1 -1
  340. package/esm/highmaps.src.js +1 -1
  341. package/esm/highstock.js +1 -1
  342. package/esm/highstock.src.js +1 -1
  343. package/esm/i18n/fr-FR.js +1 -1
  344. package/esm/i18n/fr-FR.src.js +1 -1
  345. package/esm/i18n/nb-NO.js +1 -1
  346. package/esm/i18n/nb-NO.src.js +1 -1
  347. package/esm/i18n/zh-CN.js +1 -1
  348. package/esm/i18n/zh-CN.src.js +1 -1
  349. package/esm/indicators/acceleration-bands.js +1 -1
  350. package/esm/indicators/acceleration-bands.src.js +1 -1
  351. package/esm/indicators/accumulation-distribution.js +1 -1
  352. package/esm/indicators/accumulation-distribution.src.js +1 -1
  353. package/esm/indicators/ao.js +1 -1
  354. package/esm/indicators/ao.src.js +1 -1
  355. package/esm/indicators/apo.js +1 -1
  356. package/esm/indicators/apo.src.js +1 -1
  357. package/esm/indicators/aroon-oscillator.js +1 -1
  358. package/esm/indicators/aroon-oscillator.src.js +1 -1
  359. package/esm/indicators/aroon.js +2 -2
  360. package/esm/indicators/aroon.src.js +3 -3
  361. package/esm/indicators/atr.js +1 -1
  362. package/esm/indicators/atr.src.js +1 -1
  363. package/esm/indicators/bollinger-bands.js +1 -1
  364. package/esm/indicators/bollinger-bands.src.js +1 -1
  365. package/esm/indicators/cci.js +1 -1
  366. package/esm/indicators/cci.src.js +1 -1
  367. package/esm/indicators/chaikin.js +1 -1
  368. package/esm/indicators/chaikin.src.js +1 -1
  369. package/esm/indicators/cmf.js +1 -1
  370. package/esm/indicators/cmf.src.js +1 -1
  371. package/esm/indicators/cmo.js +1 -1
  372. package/esm/indicators/cmo.src.js +1 -1
  373. package/esm/indicators/dema.js +1 -1
  374. package/esm/indicators/dema.src.js +1 -1
  375. package/esm/indicators/disparity-index.js +1 -1
  376. package/esm/indicators/disparity-index.src.js +1 -1
  377. package/esm/indicators/dmi.js +1 -1
  378. package/esm/indicators/dmi.src.js +1 -1
  379. package/esm/indicators/dpo.js +2 -2
  380. package/esm/indicators/dpo.src.js +4 -3
  381. package/esm/indicators/ichimoku-kinko-hyo.js +1 -1
  382. package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
  383. package/esm/indicators/indicators-all.js +2 -2
  384. package/esm/indicators/indicators-all.src.js +8 -7
  385. package/esm/indicators/indicators.js +2 -2
  386. package/esm/indicators/indicators.src.js +2 -2
  387. package/esm/indicators/keltner-channels.js +1 -1
  388. package/esm/indicators/keltner-channels.src.js +1 -1
  389. package/esm/indicators/klinger.js +1 -1
  390. package/esm/indicators/klinger.src.js +1 -1
  391. package/esm/indicators/macd.js +1 -1
  392. package/esm/indicators/macd.src.js +1 -1
  393. package/esm/indicators/mfi.js +1 -1
  394. package/esm/indicators/mfi.src.js +1 -1
  395. package/esm/indicators/momentum.js +1 -1
  396. package/esm/indicators/momentum.src.js +1 -1
  397. package/esm/indicators/natr.js +1 -1
  398. package/esm/indicators/natr.src.js +1 -1
  399. package/esm/indicators/obv.js +1 -1
  400. package/esm/indicators/obv.src.js +1 -1
  401. package/esm/indicators/pivot-points.js +1 -1
  402. package/esm/indicators/pivot-points.src.js +1 -1
  403. package/esm/indicators/ppo.js +1 -1
  404. package/esm/indicators/ppo.src.js +1 -1
  405. package/esm/indicators/price-channel.js +1 -1
  406. package/esm/indicators/price-channel.src.js +1 -1
  407. package/esm/indicators/price-envelopes.js +1 -1
  408. package/esm/indicators/price-envelopes.src.js +1 -1
  409. package/esm/indicators/psar.js +1 -1
  410. package/esm/indicators/psar.src.js +1 -1
  411. package/esm/indicators/regressions.js +1 -1
  412. package/esm/indicators/regressions.src.js +1 -1
  413. package/esm/indicators/roc.js +1 -1
  414. package/esm/indicators/roc.src.js +1 -1
  415. package/esm/indicators/rsi.js +1 -1
  416. package/esm/indicators/rsi.src.js +2 -2
  417. package/esm/indicators/slow-stochastic.js +1 -1
  418. package/esm/indicators/slow-stochastic.src.js +1 -1
  419. package/esm/indicators/stochastic.js +1 -1
  420. package/esm/indicators/stochastic.src.js +1 -1
  421. package/esm/indicators/supertrend.js +1 -1
  422. package/esm/indicators/supertrend.src.js +1 -1
  423. package/esm/indicators/tema.js +1 -1
  424. package/esm/indicators/tema.src.js +1 -1
  425. package/esm/indicators/trendline.js +1 -1
  426. package/esm/indicators/trendline.src.js +1 -1
  427. package/esm/indicators/trix.js +1 -1
  428. package/esm/indicators/trix.src.js +1 -1
  429. package/esm/indicators/volume-by-price.js +1 -1
  430. package/esm/indicators/volume-by-price.src.js +1 -1
  431. package/esm/indicators/vwap.js +1 -1
  432. package/esm/indicators/vwap.src.js +1 -1
  433. package/esm/indicators/williams-r.js +1 -1
  434. package/esm/indicators/williams-r.src.js +1 -1
  435. package/esm/indicators/wma.js +1 -1
  436. package/esm/indicators/wma.src.js +1 -1
  437. package/esm/indicators/zigzag.js +1 -1
  438. package/esm/indicators/zigzag.src.js +1 -1
  439. package/esm/modules/accessibility.js +2 -2
  440. package/esm/modules/accessibility.src.js +69 -63
  441. package/esm/modules/annotations-advanced.js +3 -3
  442. package/esm/modules/annotations-advanced.src.js +25 -23
  443. package/esm/modules/annotations.js +3 -3
  444. package/esm/modules/annotations.src.js +21 -19
  445. package/esm/modules/arc-diagram.js +2 -2
  446. package/esm/modules/arc-diagram.src.js +16 -15
  447. package/esm/modules/arrow-symbols.js +1 -1
  448. package/esm/modules/arrow-symbols.src.js +1 -1
  449. package/esm/modules/boost-canvas.js +2 -2
  450. package/esm/modules/boost-canvas.src.js +29 -20
  451. package/esm/modules/boost.js +2 -2
  452. package/esm/modules/boost.src.js +28 -19
  453. package/esm/modules/broken-axis.js +2 -2
  454. package/esm/modules/broken-axis.src.js +6 -5
  455. package/esm/modules/bullet.js +2 -2
  456. package/esm/modules/bullet.src.js +17 -10
  457. package/esm/modules/coloraxis.js +2 -2
  458. package/esm/modules/coloraxis.src.js +18 -11
  459. package/esm/modules/contour.js +1 -1
  460. package/esm/modules/contour.src.js +1 -1
  461. package/esm/modules/current-date-indicator.js +1 -1
  462. package/esm/modules/current-date-indicator.src.js +1 -1
  463. package/esm/modules/cylinder.js +2 -2
  464. package/esm/modules/cylinder.src.js +9 -10
  465. package/esm/modules/data-sorting.js +1 -1
  466. package/esm/modules/data-sorting.src.js +1 -1
  467. package/esm/modules/data-tools.js +2 -2
  468. package/esm/modules/data-tools.src.js +20 -3
  469. package/esm/modules/data.js +1 -1
  470. package/esm/modules/data.src.js +1 -1
  471. package/esm/modules/datagrouping.js +2 -2
  472. package/esm/modules/datagrouping.src.js +6 -5
  473. package/esm/modules/debugger.js +1 -1
  474. package/esm/modules/debugger.src.js +1 -1
  475. package/esm/modules/dependency-wheel.js +1 -1
  476. package/esm/modules/dependency-wheel.src.js +1 -1
  477. package/esm/modules/dotplot.js +2 -2
  478. package/esm/modules/dotplot.src.js +3 -2
  479. package/esm/modules/drag-panes.js +1 -1
  480. package/esm/modules/drag-panes.src.js +1 -1
  481. package/esm/modules/draggable-points.js +2 -2
  482. package/esm/modules/draggable-points.src.js +2 -3
  483. package/esm/modules/drilldown.js +2 -2
  484. package/esm/modules/drilldown.src.js +5 -4
  485. package/esm/modules/dumbbell.js +2 -2
  486. package/esm/modules/dumbbell.src.js +37 -9
  487. package/esm/modules/export-data.js +2 -2
  488. package/esm/modules/export-data.src.js +17 -16
  489. package/esm/modules/exporting.js +2 -2
  490. package/esm/modules/exporting.src.js +7 -7
  491. package/esm/modules/flowmap.js +2 -2
  492. package/esm/modules/flowmap.src.js +21 -11
  493. package/esm/modules/full-screen.js +1 -1
  494. package/esm/modules/full-screen.src.js +1 -1
  495. package/esm/modules/funnel.js +2 -2
  496. package/esm/modules/funnel.src.js +2 -2
  497. package/esm/modules/funnel3d.js +2 -2
  498. package/esm/modules/funnel3d.src.js +14 -13
  499. package/esm/modules/gantt.js +2 -2
  500. package/esm/modules/gantt.src.js +93 -76
  501. package/esm/modules/geoheatmap.js +2 -2
  502. package/esm/modules/geoheatmap.src.js +8 -8
  503. package/esm/modules/grid-axis.js +2 -2
  504. package/esm/modules/grid-axis.src.js +4 -4
  505. package/esm/modules/heatmap.js +2 -2
  506. package/esm/modules/heatmap.src.js +22 -22
  507. package/esm/modules/heikinashi.js +1 -1
  508. package/esm/modules/heikinashi.src.js +1 -1
  509. package/esm/modules/histogram-bellcurve.js +1 -1
  510. package/esm/modules/histogram-bellcurve.src.js +15 -3
  511. package/esm/modules/hollowcandlestick.js +1 -1
  512. package/esm/modules/hollowcandlestick.src.js +1 -1
  513. package/esm/modules/item-series.js +2 -2
  514. package/esm/modules/item-series.src.js +18 -6
  515. package/esm/modules/lollipop.js +1 -1
  516. package/esm/modules/lollipop.src.js +1 -1
  517. package/esm/modules/map.js +2 -2
  518. package/esm/modules/map.src.js +65 -57
  519. package/esm/modules/marker-clusters.js +1 -1
  520. package/esm/modules/marker-clusters.src.js +1 -1
  521. package/esm/modules/mouse-wheel-zoom.js +2 -2
  522. package/esm/modules/mouse-wheel-zoom.src.js +3 -3
  523. package/esm/modules/navigator.js +2 -2
  524. package/esm/modules/navigator.src.js +47 -45
  525. package/esm/modules/networkgraph.js +2 -2
  526. package/esm/modules/networkgraph.src.js +31 -21
  527. package/esm/modules/no-data-to-display.js +1 -1
  528. package/esm/modules/no-data-to-display.src.js +1 -1
  529. package/esm/modules/non-cartesian-zoom.js +1 -1
  530. package/esm/modules/non-cartesian-zoom.src.js +1 -1
  531. package/esm/modules/offline-exporting.js +1 -1
  532. package/esm/modules/offline-exporting.src.js +1 -1
  533. package/esm/modules/organization.js +2 -2
  534. package/esm/modules/organization.src.js +3 -2
  535. package/esm/modules/parallel-coordinates.js +2 -2
  536. package/esm/modules/parallel-coordinates.src.js +2 -2
  537. package/esm/modules/pareto.js +1 -1
  538. package/esm/modules/pareto.src.js +1 -1
  539. package/esm/modules/pathfinder.js +2 -2
  540. package/esm/modules/pathfinder.src.js +7 -6
  541. package/esm/modules/pattern-fill.js +2 -2
  542. package/esm/modules/pattern-fill.src.js +7 -5
  543. package/esm/modules/pictorial.js +2 -2
  544. package/esm/modules/pictorial.src.js +10 -6
  545. package/esm/modules/pointandfigure.js +1 -1
  546. package/esm/modules/pointandfigure.src.js +1 -1
  547. package/esm/modules/price-indicator.js +2 -2
  548. package/esm/modules/price-indicator.src.js +5 -4
  549. package/esm/modules/pyramid3d.js +1 -1
  550. package/esm/modules/pyramid3d.src.js +1 -1
  551. package/esm/modules/renko.js +1 -1
  552. package/esm/modules/renko.src.js +1 -1
  553. package/esm/modules/sankey.js +2 -2
  554. package/esm/modules/sankey.src.js +34 -20
  555. package/esm/modules/series-label.js +2 -2
  556. package/esm/modules/series-label.src.js +7 -7
  557. package/esm/modules/series-on-point.js +1 -1
  558. package/esm/modules/series-on-point.src.js +1 -1
  559. package/esm/modules/solid-gauge.js +2 -2
  560. package/esm/modules/solid-gauge.src.js +2 -2
  561. package/esm/modules/sonification.js +2 -2
  562. package/esm/modules/sonification.src.js +19 -19
  563. package/esm/modules/static-scale.js +1 -1
  564. package/esm/modules/static-scale.src.js +1 -1
  565. package/esm/modules/stock-tools.js +3 -3
  566. package/esm/modules/stock-tools.src.js +15 -10
  567. package/esm/modules/stock.js +2 -2
  568. package/esm/modules/stock.src.js +90 -76
  569. package/esm/modules/streamgraph.js +1 -1
  570. package/esm/modules/streamgraph.src.js +1 -1
  571. package/esm/modules/sunburst.js +2 -2
  572. package/esm/modules/sunburst.src.js +41 -26
  573. package/esm/modules/textpath.js +1 -1
  574. package/esm/modules/textpath.src.js +1 -1
  575. package/esm/modules/tiledwebmap.js +2 -2
  576. package/esm/modules/tiledwebmap.src.js +8 -6
  577. package/esm/modules/tilemap.js +2 -2
  578. package/esm/modules/tilemap.src.js +3 -3
  579. package/esm/modules/timeline.js +2 -2
  580. package/esm/modules/timeline.src.js +5 -4
  581. package/esm/modules/treegraph.js +2 -2
  582. package/esm/modules/treegraph.src.js +17 -8
  583. package/esm/modules/treegrid.js +2 -2
  584. package/esm/modules/treegrid.src.js +28 -18
  585. package/esm/modules/treemap.js +2 -2
  586. package/esm/modules/treemap.src.js +35 -22
  587. package/esm/modules/variable-pie.js +2 -2
  588. package/esm/modules/variable-pie.src.js +6 -4
  589. package/esm/modules/variwide.js +2 -2
  590. package/esm/modules/variwide.src.js +2 -2
  591. package/esm/modules/vector.js +1 -1
  592. package/esm/modules/vector.src.js +1 -1
  593. package/esm/modules/venn.js +1 -1
  594. package/esm/modules/venn.src.js +1 -1
  595. package/esm/modules/windbarb.js +2 -2
  596. package/esm/modules/windbarb.src.js +2 -2
  597. package/esm/modules/wordcloud.js +1 -1
  598. package/esm/modules/wordcloud.src.js +1 -1
  599. package/esm/modules/xrange.js +1 -1
  600. package/esm/modules/xrange.src.js +1 -1
  601. package/esm/standalone-navigator.js +4 -4
  602. package/esm/standalone-navigator.src.js +355 -249
  603. package/esm/themes/adaptive.js +1 -1
  604. package/esm/themes/adaptive.src.js +1 -1
  605. package/esm/themes/avocado.js +1 -1
  606. package/esm/themes/avocado.src.js +1 -1
  607. package/esm/themes/dark-unica.js +1 -1
  608. package/esm/themes/dark-unica.src.js +1 -1
  609. package/esm/themes/grid-light.js +1 -1
  610. package/esm/themes/grid-light.src.js +1 -1
  611. package/esm/themes/high-contrast.js +1 -1
  612. package/esm/themes/high-contrast.src.js +1 -1
  613. package/esm/themes/sand-signika.js +1 -1
  614. package/esm/themes/sand-signika.src.js +1 -1
  615. package/esm/themes/sunset.js +1 -1
  616. package/esm/themes/sunset.src.js +1 -1
  617. package/highcharts-3d.js +2 -2
  618. package/highcharts-3d.src.js +40 -32
  619. package/highcharts-autoload.d.ts +8 -2
  620. package/highcharts-autoload.js +4 -4
  621. package/highcharts-autoload.src.d.ts +8 -2
  622. package/highcharts-autoload.src.js +313 -208
  623. package/highcharts-gantt.js +4 -4
  624. package/highcharts-gantt.src.js +404 -283
  625. package/highcharts-more.js +2 -2
  626. package/highcharts-more.src.js +90 -56
  627. package/highcharts.d.ts +61 -4
  628. package/highcharts.js +4 -4
  629. package/highcharts.src.d.ts +61 -4
  630. package/highcharts.src.js +312 -207
  631. package/highmaps.js +4 -4
  632. package/highmaps.src.js +390 -272
  633. package/highstock.js +4 -4
  634. package/highstock.src.js +413 -293
  635. package/i18n/fr-FR.js +1 -1
  636. package/i18n/fr-FR.src.js +1 -1
  637. package/i18n/nb-NO.js +1 -1
  638. package/i18n/nb-NO.src.js +1 -1
  639. package/i18n/zh-CN.js +1 -1
  640. package/i18n/zh-CN.src.js +1 -1
  641. package/indicators/acceleration-bands.js +1 -1
  642. package/indicators/acceleration-bands.src.js +1 -1
  643. package/indicators/accumulation-distribution.js +1 -1
  644. package/indicators/accumulation-distribution.src.js +1 -1
  645. package/indicators/ao.js +1 -1
  646. package/indicators/ao.src.js +1 -1
  647. package/indicators/apo.js +1 -1
  648. package/indicators/apo.src.js +1 -1
  649. package/indicators/aroon-oscillator.js +1 -1
  650. package/indicators/aroon-oscillator.src.js +1 -1
  651. package/indicators/aroon.js +2 -2
  652. package/indicators/aroon.src.js +3 -3
  653. package/indicators/atr.js +1 -1
  654. package/indicators/atr.src.js +1 -1
  655. package/indicators/bollinger-bands.js +1 -1
  656. package/indicators/bollinger-bands.src.js +1 -1
  657. package/indicators/cci.js +1 -1
  658. package/indicators/cci.src.js +1 -1
  659. package/indicators/chaikin.js +1 -1
  660. package/indicators/chaikin.src.js +1 -1
  661. package/indicators/cmf.js +1 -1
  662. package/indicators/cmf.src.js +1 -1
  663. package/indicators/cmo.js +1 -1
  664. package/indicators/cmo.src.js +1 -1
  665. package/indicators/dema.js +1 -1
  666. package/indicators/dema.src.js +1 -1
  667. package/indicators/disparity-index.js +1 -1
  668. package/indicators/disparity-index.src.js +1 -1
  669. package/indicators/dmi.js +1 -1
  670. package/indicators/dmi.src.js +1 -1
  671. package/indicators/dpo.js +2 -2
  672. package/indicators/dpo.src.js +4 -3
  673. package/indicators/ichimoku-kinko-hyo.js +1 -1
  674. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  675. package/indicators/indicators-all.js +2 -2
  676. package/indicators/indicators-all.src.js +8 -7
  677. package/indicators/indicators.js +2 -2
  678. package/indicators/indicators.src.js +2 -2
  679. package/indicators/keltner-channels.js +1 -1
  680. package/indicators/keltner-channels.src.js +1 -1
  681. package/indicators/klinger.js +1 -1
  682. package/indicators/klinger.src.js +1 -1
  683. package/indicators/macd.js +1 -1
  684. package/indicators/macd.src.js +1 -1
  685. package/indicators/mfi.js +1 -1
  686. package/indicators/mfi.src.js +1 -1
  687. package/indicators/momentum.js +1 -1
  688. package/indicators/momentum.src.js +1 -1
  689. package/indicators/natr.js +1 -1
  690. package/indicators/natr.src.js +1 -1
  691. package/indicators/obv.js +1 -1
  692. package/indicators/obv.src.js +1 -1
  693. package/indicators/pivot-points.js +1 -1
  694. package/indicators/pivot-points.src.js +1 -1
  695. package/indicators/ppo.js +1 -1
  696. package/indicators/ppo.src.js +1 -1
  697. package/indicators/price-channel.js +1 -1
  698. package/indicators/price-channel.src.js +1 -1
  699. package/indicators/price-envelopes.js +1 -1
  700. package/indicators/price-envelopes.src.js +1 -1
  701. package/indicators/psar.js +1 -1
  702. package/indicators/psar.src.js +1 -1
  703. package/indicators/regressions.js +1 -1
  704. package/indicators/regressions.src.js +1 -1
  705. package/indicators/roc.js +1 -1
  706. package/indicators/roc.src.js +1 -1
  707. package/indicators/rsi.js +1 -1
  708. package/indicators/rsi.src.js +2 -2
  709. package/indicators/slow-stochastic.js +1 -1
  710. package/indicators/slow-stochastic.src.js +1 -1
  711. package/indicators/stochastic.js +1 -1
  712. package/indicators/stochastic.src.js +1 -1
  713. package/indicators/supertrend.js +1 -1
  714. package/indicators/supertrend.src.js +1 -1
  715. package/indicators/tema.js +1 -1
  716. package/indicators/tema.src.js +1 -1
  717. package/indicators/trendline.js +1 -1
  718. package/indicators/trendline.src.js +1 -1
  719. package/indicators/trix.js +1 -1
  720. package/indicators/trix.src.js +1 -1
  721. package/indicators/volume-by-price.js +1 -1
  722. package/indicators/volume-by-price.src.js +1 -1
  723. package/indicators/vwap.js +1 -1
  724. package/indicators/vwap.src.js +1 -1
  725. package/indicators/williams-r.js +1 -1
  726. package/indicators/williams-r.src.js +1 -1
  727. package/indicators/wma.js +1 -1
  728. package/indicators/wma.src.js +1 -1
  729. package/indicators/zigzag.js +1 -1
  730. package/indicators/zigzag.src.js +1 -1
  731. package/modules/accessibility.js +2 -2
  732. package/modules/accessibility.src.js +69 -63
  733. package/modules/annotations-advanced.js +3 -3
  734. package/modules/annotations-advanced.src.js +25 -23
  735. package/modules/annotations.js +3 -3
  736. package/modules/annotations.src.js +21 -19
  737. package/modules/arc-diagram.js +2 -2
  738. package/modules/arc-diagram.src.js +16 -15
  739. package/modules/arrow-symbols.js +1 -1
  740. package/modules/arrow-symbols.src.js +1 -1
  741. package/modules/boost-canvas.js +2 -2
  742. package/modules/boost-canvas.src.js +29 -20
  743. package/modules/boost.js +2 -2
  744. package/modules/boost.src.js +28 -19
  745. package/modules/broken-axis.js +2 -2
  746. package/modules/broken-axis.src.js +6 -5
  747. package/modules/bullet.js +2 -2
  748. package/modules/bullet.src.js +17 -10
  749. package/modules/coloraxis.js +2 -2
  750. package/modules/coloraxis.src.js +18 -11
  751. package/modules/contour.js +4 -4
  752. package/modules/contour.src.js +19 -12
  753. package/modules/current-date-indicator.js +1 -1
  754. package/modules/current-date-indicator.src.js +1 -1
  755. package/modules/cylinder.js +2 -2
  756. package/modules/cylinder.src.js +9 -10
  757. package/modules/data-sorting.js +1 -1
  758. package/modules/data-sorting.src.js +1 -1
  759. package/modules/data-tools.js +2 -2
  760. package/modules/data-tools.src.js +20 -3
  761. package/modules/data.js +1 -1
  762. package/modules/data.src.js +1 -1
  763. package/modules/datagrouping.js +2 -2
  764. package/modules/datagrouping.src.js +6 -5
  765. package/modules/debugger.js +1 -1
  766. package/modules/debugger.src.js +1 -1
  767. package/modules/dependency-wheel.js +1 -1
  768. package/modules/dependency-wheel.src.js +1 -1
  769. package/modules/dotplot.js +2 -2
  770. package/modules/dotplot.src.js +3 -2
  771. package/modules/drag-panes.js +1 -1
  772. package/modules/drag-panes.src.js +1 -1
  773. package/modules/draggable-points.js +2 -2
  774. package/modules/draggable-points.src.js +2 -3
  775. package/modules/drilldown.js +2 -2
  776. package/modules/drilldown.src.js +5 -4
  777. package/modules/dumbbell.js +2 -2
  778. package/modules/dumbbell.src.js +37 -9
  779. package/modules/export-data.js +2 -2
  780. package/modules/export-data.src.js +17 -16
  781. package/modules/exporting.js +2 -2
  782. package/modules/exporting.src.js +7 -7
  783. package/modules/flowmap.js +2 -2
  784. package/modules/flowmap.src.js +21 -11
  785. package/modules/full-screen.js +1 -1
  786. package/modules/full-screen.src.js +1 -1
  787. package/modules/funnel.js +2 -2
  788. package/modules/funnel.src.js +2 -2
  789. package/modules/funnel3d.js +2 -2
  790. package/modules/funnel3d.src.js +14 -13
  791. package/modules/gantt.js +6 -6
  792. package/modules/gantt.src.js +96 -79
  793. package/modules/geoheatmap.d.ts +0 -12
  794. package/modules/geoheatmap.js +2 -2
  795. package/modules/geoheatmap.src.d.ts +0 -12
  796. package/modules/geoheatmap.src.js +8 -8
  797. package/modules/grid-axis.js +2 -2
  798. package/modules/grid-axis.src.js +4 -4
  799. package/modules/heatmap.d.ts +0 -12
  800. package/modules/heatmap.js +4 -4
  801. package/modules/heatmap.src.d.ts +0 -12
  802. package/modules/heatmap.src.js +40 -33
  803. package/modules/heikinashi.js +1 -1
  804. package/modules/heikinashi.src.js +1 -1
  805. package/modules/histogram-bellcurve.js +1 -1
  806. package/modules/histogram-bellcurve.src.js +15 -3
  807. package/modules/hollowcandlestick.js +1 -1
  808. package/modules/hollowcandlestick.src.js +1 -1
  809. package/modules/item-series.js +2 -2
  810. package/modules/item-series.src.js +18 -6
  811. package/modules/lollipop.js +1 -1
  812. package/modules/lollipop.src.js +1 -1
  813. package/modules/map.d.ts +0 -12
  814. package/modules/map.js +4 -4
  815. package/modules/map.src.d.ts +0 -12
  816. package/modules/map.src.js +83 -68
  817. package/modules/marker-clusters.js +1 -1
  818. package/modules/marker-clusters.src.js +1 -1
  819. package/modules/mouse-wheel-zoom.js +2 -2
  820. package/modules/mouse-wheel-zoom.src.js +3 -3
  821. package/modules/navigator.js +2 -2
  822. package/modules/navigator.src.js +47 -45
  823. package/modules/networkgraph.js +2 -2
  824. package/modules/networkgraph.src.js +31 -21
  825. package/modules/no-data-to-display.js +1 -1
  826. package/modules/no-data-to-display.src.js +1 -1
  827. package/modules/non-cartesian-zoom.js +1 -1
  828. package/modules/non-cartesian-zoom.src.js +1 -1
  829. package/modules/offline-exporting.js +1 -1
  830. package/modules/offline-exporting.src.js +1 -1
  831. package/modules/organization.js +2 -2
  832. package/modules/organization.src.js +3 -2
  833. package/modules/parallel-coordinates.js +2 -2
  834. package/modules/parallel-coordinates.src.js +2 -2
  835. package/modules/pareto.js +1 -1
  836. package/modules/pareto.src.js +1 -1
  837. package/modules/pathfinder.js +2 -2
  838. package/modules/pathfinder.src.js +7 -6
  839. package/modules/pattern-fill.js +2 -2
  840. package/modules/pattern-fill.src.js +7 -5
  841. package/modules/pictorial.js +2 -2
  842. package/modules/pictorial.src.js +10 -6
  843. package/modules/pointandfigure.js +1 -1
  844. package/modules/pointandfigure.src.js +1 -1
  845. package/modules/price-indicator.js +2 -2
  846. package/modules/price-indicator.src.js +5 -4
  847. package/modules/pyramid3d.js +1 -1
  848. package/modules/pyramid3d.src.js +1 -1
  849. package/modules/renko.js +1 -1
  850. package/modules/renko.src.js +1 -1
  851. package/modules/sankey.js +2 -2
  852. package/modules/sankey.src.js +34 -20
  853. package/modules/series-label.js +2 -2
  854. package/modules/series-label.src.js +7 -7
  855. package/modules/series-on-point.js +1 -1
  856. package/modules/series-on-point.src.js +1 -1
  857. package/modules/solid-gauge.js +2 -2
  858. package/modules/solid-gauge.src.js +2 -2
  859. package/modules/sonification.js +2 -2
  860. package/modules/sonification.src.js +19 -19
  861. package/modules/static-scale.js +1 -1
  862. package/modules/static-scale.src.js +1 -1
  863. package/modules/stock-tools.js +3 -3
  864. package/modules/stock-tools.src.js +15 -10
  865. package/modules/stock.js +6 -6
  866. package/modules/stock.src.js +105 -89
  867. package/modules/streamgraph.js +1 -1
  868. package/modules/streamgraph.src.js +1 -1
  869. package/modules/sunburst.js +2 -2
  870. package/modules/sunburst.src.js +41 -26
  871. package/modules/textpath.js +1 -1
  872. package/modules/textpath.src.js +1 -1
  873. package/modules/tiledwebmap.js +2 -2
  874. package/modules/tiledwebmap.src.js +8 -6
  875. package/modules/tilemap.js +2 -2
  876. package/modules/tilemap.src.js +3 -3
  877. package/modules/timeline.js +2 -2
  878. package/modules/timeline.src.js +5 -4
  879. package/modules/treegraph.js +2 -2
  880. package/modules/treegraph.src.js +17 -8
  881. package/modules/treegrid.js +2 -2
  882. package/modules/treegrid.src.js +28 -18
  883. package/modules/treemap.js +2 -2
  884. package/modules/treemap.src.js +35 -22
  885. package/modules/variable-pie.js +2 -2
  886. package/modules/variable-pie.src.js +6 -4
  887. package/modules/variwide.js +2 -2
  888. package/modules/variwide.src.js +2 -2
  889. package/modules/vector.js +1 -1
  890. package/modules/vector.src.js +1 -1
  891. package/modules/venn.js +1 -1
  892. package/modules/venn.src.js +1 -1
  893. package/modules/windbarb.js +2 -2
  894. package/modules/windbarb.src.js +2 -2
  895. package/modules/wordcloud.js +1 -1
  896. package/modules/wordcloud.src.js +1 -1
  897. package/modules/xrange.js +1 -1
  898. package/modules/xrange.src.js +1 -1
  899. package/package.json +2 -3
  900. package/standalone-navigator.js +4 -4
  901. package/standalone-navigator.src.js +355 -249
  902. package/themes/adaptive.js +1 -1
  903. package/themes/adaptive.src.js +1 -1
  904. package/themes/avocado.js +1 -1
  905. package/themes/avocado.src.js +1 -1
  906. package/themes/dark-unica.js +1 -1
  907. package/themes/dark-unica.src.js +1 -1
  908. package/themes/grid-light.js +1 -1
  909. package/themes/grid-light.src.js +1 -1
  910. package/themes/high-contrast.js +1 -1
  911. package/themes/high-contrast.src.js +1 -1
  912. package/themes/sand-signika.js +1 -1
  913. package/themes/sand-signika.src.js +1 -1
  914. package/themes/sunset.js +1 -1
  915. package/themes/sunset.src.js +1 -1
@@ -1,5 +1,5 @@
1
1
  let t,e;/**
2
- * Highcharts JS v13.0.1 (2026-08-17)
2
+ * Highcharts JS v13.0.2 (2026-08-27)
3
3
  * @module highcharts/modules/pattern-fill
4
4
  * @requires highcharts
5
5
  *
@@ -10,4 +10,4 @@ let t,e;/**
10
10
  *
11
11
  * A commercial license may be required depending on use,
12
12
  * see www.highcharts.com/license
13
- */import*as r from"../highcharts.js";let i={};i.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{if(Array.isArray(e))for(var r=0;r<e.length;){var a=e[r++],n=e[r++];i.o(t,a)?0===n&&r++:0===n?Object.defineProperty(t,a,{enumerable:!0,value:e[r++]}):Object.defineProperty(t,a,{enumerable:!0,get:n})}else for(var a in e)i.o(e,a)&&!i.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let a=r.default;var n,o,h,s=i.n(a);let{getOptions:l}=s(),p=function(){let t=[],e=l().colors,r=0;for(let i of["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"])t.push({path:i,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"});for(let i of(r=5,["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"]))t.push({path:i,color:e[r++],width:10,height:10});return t}();function d(t,e){let r=JSON.stringify(t),i=r.length||0,a=0,n=0,o;if(e){o=Math.max(Math.floor(i/500),1);for(let t=0;t<i;t+=o)a+=r.charCodeAt(t);a&=a}for(;n<i;++n)a=(a<<5)-a+r.charCodeAt(n),a&=a;return a.toString(16).replace("-","1")}function c(t){if(t.width&&t.height&&!t.anchorToPoint)return;let e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},r=this.shapeArgs;if(r&&(e.width=r.width||e.width,e.height=r.height||e.height,e.x=r.x||e.x,e.y=r.y||e.y),t.image){if(!e.width||!e.height){t._width="defer",t._height="defer";let e=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;(0,a.defined)(e)&&e<0&&(t._inverted=!0);return}t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.anchorToPoint?(t._x=0,t._y=0,t.width||(t._width=e.width),t.height||(t._height=e.height)):(t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0)))}function f(){if(!this.chart?.mapView)return;let t=this.chart.renderer,e=t.patternElements;t.defIds?.length&&e&&this.points.filter(function(t){return!!t.graphic&&(t.graphic.element.hasAttribute("fill")||t.graphic.element.hasAttribute("color")||t.graphic.element.hasAttribute("stroke"))&&!t.options.color?.pattern?.image&&!!t.group?.scaleX&&!!t.group?.scaleY}).map(function(e){return{id:(e.graphic?.element.getAttribute("fill")||e.graphic?.element.getAttribute("color")||e.graphic?.element.getAttribute("stroke")||"").replace(t.url,"").replace("url(#","").replace(")",""),x:e.group?.scaleX||1,y:e.group?.scaleY||1}}).filter(function(t,e,r){return""!==t.id&&-1!==t.id.indexOf("highcharts-pattern-")&&!r.some(function(r,i){return r.id===t.id&&i<e})}).forEach(function(t){let r=t.id;e[r].scaleX=1/t.x,e[r].scaleY=1/t.y,e[r].updateTransform("patternTransform")})}let g=s();g.patterns=p,n=g.Chart,o=g.Series,h=g.SVGRenderer,(e=(t=o.prototype.pointClass).prototype).calculatePatternDimensions||((0,a.addEvent)(n,"endResize",function(){if(this.renderer&&(this.renderer.defIds||[]).filter(t=>t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")).length){for(let t of this.series)if(t.visible)for(let e of t.points){let t=e.options&&e.options.color;t&&t.pattern&&(t.pattern._width="defer",t.pattern._height="defer")}this.redraw(!1)}}),(0,a.addEvent)(n,"redraw",function(){let t={},e=this.renderer,r=(e.defIds||[]).filter(t=>t.indexOf&&0===t.indexOf("highcharts-pattern-"));if(r.length)for(let i of([].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),r=>{let i=r.getAttribute("fill")||r.getAttribute("color")||r.getAttribute("stroke");i&&(t[i.replace(e.url,"").replace("url(#","").replace(")","")]=!0)}),r))!t[i]&&((0,a.erase)(e.defIds,i),e.patternElements[i]&&(e.patternElements[i].destroy(),delete e.patternElements[i]))}),(0,a.extend)(e,{calculatePatternDimensions:c}),(0,a.addEvent)(t,"afterInit",function(){let t=this.options.color;t&&(t.pattern||void 0!==t.patternIndex)&&("string"==typeof t.pattern?.path&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=(0,a.merge)(this.series.options.color,t))}),(0,a.addEvent)(o,"render",function(){let t=this.chart.isResizing;if(this.isDirtyData||t||!this.chart.hasRendered)for(let e of this.points){let r=e.options&&e.options.color;r&&r.pattern&&(t&&!(e.shapeArgs&&e.shapeArgs.width&&e.shapeArgs.height)?(r.pattern._width="defer",r.pattern._height="defer"):e.calculatePatternDimensions(r.pattern))}}),(0,a.wrap)(o.prototype,"getColor",function(t){let e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,[].slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,[].slice.call(arguments,1))}),(0,a.addEvent)(o,"afterRender",f),(0,a.addEvent)(o,"mapZoomComplete",f),(0,a.extend)(h.prototype,{addPattern:function(t,e){let r=(0,a.pick)(e,!0),i=(0,a.animObject)(r),n=t.color||"var(--highcharts-neutral-color-80)",o=t.height||("number"==typeof t._height?t._height:0)||32,h=t.width||("number"==typeof t._width?t._width:0)||32,s=t.anchorToPoint?"userSpaceOnUse":t.patternContentUnits||"userSpaceOnUse",l=t=>this.rect(0,0,h,o).attr({fill:t}).add(g),p,d=t.id,c;if(!d&&(this.idCounter=this.idCounter||0,d="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(d+="-export"),this.defIds=this.defIds||[],this.defIds.indexOf(d)>-1)return;this.defIds.push(d);let f={id:d,patternUnits:"userSpaceOnUse",patternContentUnits:s,width:h,height:o,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(f.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(f.patternTransform=t.patternTransform);let g=this.createElement("pattern").attr(f).add(this.defs);return g.id=d,t.path?(c=(0,a.isObject)(t.path)?t.path:{d:t.path},t.backgroundColor&&l(t.backgroundColor),p={d:c.d},this.styledMode||(p.stroke=c.stroke||n,p["stroke-width"]=(0,a.pick)(c.strokeWidth,2),p.fill=c.fill||"none"),c.transform&&(p.transform=c.transform),this.createElement("path").attr(p).add(g),g.color=n):t.image&&(r?this.image(t.image,0,0,h,o,function(){this.animate({opacity:(0,a.pick)(t.opacity,1)},i),(0,a.removeEvent)(this.element,"load")}).attr({opacity:0}).add(g):this.image(t.image,0,0,h,o).add(g)),t.image&&r||void 0===t.opacity||[].forEach.call(g.element.childNodes,e=>{e.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[d]=g,g}}),(0,a.addEvent)(h,"complexColor",function(t){let e=t.args[0],r=t.args[1],i=t.args[2],n=this.chartIndex||0,o=e.pattern,h="var(--highcharts-neutral-color-80)";if(void 0!==e.patternIndex&&p&&(o=p[e.patternIndex]),!o)return!0;if(o.image||"string"==typeof o.path||o.path&&o.path.d){let t=i.parentNode&&i.parentNode.getAttribute("class");if(t=t&&t.indexOf("highcharts-legend")>-1,("defer"===o._width||"defer"===o._height)&&c.call({graphic:{element:i}},o),t||!o.id||o.anchorToPoint){var s;let t,e;(o=(0,a.merge)({},o)).anchorToPoint&&(s=o,t=(0,a.merge)({},s),t._x=(e=i.getBBox?i.getBBox():{x:0,y:0,width:32,height:32}).x,t._y=e.y,o=t),o.id="highcharts-pattern-"+n+"-"+d(o)+d(o,!0)+(o.anchorToPoint?"-anchored":"")}this.addPattern(o,!this.forExport&&(0,a.pick)(o.animation,this.globalAnimation,{duration:100})),h=`url(${this.url}#${o.id+(this.forExport?"-export":"")})`}else h=o.color||h;return i.setAttribute(r,h),e.toString=function(){return h},!1}));let u=s();export{u as default};
13
+ */import*as r from"../highcharts.js";let i={};i.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{if(Array.isArray(e))for(var r=0;r<e.length;){var a=e[r++],n=e[r++];i.o(t,a)?0===n&&r++:0===n?Object.defineProperty(t,a,{enumerable:!0,value:e[r++]}):Object.defineProperty(t,a,{enumerable:!0,get:n})}else for(var a in e)i.o(e,a)&&!i.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let a=r.default;var n,o,h,s=i.n(a);let{getOptions:l}=s(),d=function(){let t=[],e=l().colors,r=0;for(let i of["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"])t.push({path:i,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"});for(let i of(r=5,["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"]))t.push({path:i,color:e[r++],width:10,height:10});return t}();function p(t,e){let r=JSON.stringify(t),i=r.length||0,a=0,n=0,o;if(e){o=Math.max(Math.floor(i/500),1);for(let t=0;t<i;t+=o)a+=r.charCodeAt(t);a&=a}for(;n<i;++n)a=(a<<5)-a+r.charCodeAt(n),a&=a;return a.toString(16).replace("-","1")}function c(t){if(t.width&&t.height&&!t.anchorToPoint)return;let e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},r=this.shapeArgs;if(r&&(e.width=r.width||e.width,e.height=r.height||e.height,e.x=r.x||e.x,e.y=r.y||e.y),t.image){if(!e.width||!e.height){t._width="defer",t._height="defer";let e=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;(0,a.defined)(e)&&e<0&&(t._inverted=!0);return}t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.anchorToPoint?(t._x=0,t._y=0,t.width||(t._width=e.width),t.height||(t._height=e.height)):(t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0)))}function f(){if(!this.chart?.mapView)return;let t=this.chart.renderer,e=t.patternElements;t.defIds?.length&&e&&this.points.filter(function(t){return!!t.graphic&&(t.graphic.element.hasAttribute("fill")||t.graphic.element.hasAttribute("color")||t.graphic.element.hasAttribute("stroke"))&&!t.options.color?.pattern?.image&&!!t.group?.scaleX&&!!t.group?.scaleY}).map(function(e){return{id:(e.graphic?.element.getAttribute("fill")||e.graphic?.element.getAttribute("color")||e.graphic?.element.getAttribute("stroke")||"").replace(t.url,"").replace("url(#","").replace(")",""),x:e.group?.scaleX||1,y:e.group?.scaleY||1}}).filter(function(t,e,r){return""!==t.id&&-1!==t.id.indexOf("highcharts-pattern-")&&!r.some(function(r,i){return r.id===t.id&&i<e})}).forEach(function(t){let r=t.id;e[r].scaleX=1/t.x,e[r].scaleY=1/t.y,e[r].updateTransform("patternTransform")})}let g=s();g.patterns=d,n=g.Chart,o=g.Series,h=g.SVGRenderer,(e=(t=o.prototype.pointClass).prototype).calculatePatternDimensions||((0,a.addEvent)(n,"endResize",function(){if(this.renderer&&(this.renderer.defIds||[]).filter(t=>t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")).length){for(let t of this.series)if(t.visible)for(let e of t.points){let t=e.options&&e.options.color;t&&t.pattern&&(t.pattern._width="defer",t.pattern._height="defer")}this.redraw(!1)}}),(0,a.addEvent)(n,"redraw",function(){let t={},e=this.renderer,r=(e.defIds||[]).filter(t=>t.indexOf&&0===t.indexOf("highcharts-pattern-"));if(r.length)for(let i of([].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),r=>{let i=r.getAttribute("fill")||r.getAttribute("color")||r.getAttribute("stroke");i&&(t[i.replace(e.url,"").replace("url(#","").replace(")","")]=!0)}),r))!t[i]&&((0,a.erase)(e.defIds,i),e.patternElements[i]&&(e.patternElements[i].destroy(),delete e.patternElements[i]))}),(0,a.extend)(e,{calculatePatternDimensions:c}),(0,a.addEvent)(t,"afterInit",function(){let t=this.options.color;t&&(t.pattern||void 0!==t.patternIndex)&&("string"==typeof t.pattern?.path&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=(0,a.merge)(this.series.options.color,t))}),(0,a.addEvent)(o,"render",function(){let t=this.chart.isResizing;if(this.isDirtyData||t||!this.chart.hasRendered)for(let e of this.points){let r=e.options&&e.options.color;r&&r.pattern&&(t&&!(e.shapeArgs&&e.shapeArgs.width&&e.shapeArgs.height)?(r.pattern._width="defer",r.pattern._height="defer"):e.calculatePatternDimensions(r.pattern))}}),(0,a.wrap)(o.prototype,"getColor",function(t){let e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,[].slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,[].slice.call(arguments,1))}),(0,a.addEvent)(o,"afterRender",f),(0,a.addEvent)(o,"mapZoomComplete",f),(0,a.extend)(h.prototype,{addPattern:function(t,e){let r=e??!0,i=(0,a.animObject)(r),n=t.color||"var(--highcharts-neutral-color-80)",o=t.height||("number"==typeof t._height?t._height:0)||32,h=t.width||("number"==typeof t._width?t._width:0)||32,s=t.anchorToPoint?"userSpaceOnUse":t.patternContentUnits||"userSpaceOnUse",l=t=>this.rect(0,0,h,o).attr({fill:t}).add(g),d,p=t.id,c;if(!p&&(this.idCounter=this.idCounter||0,p="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(p+="-export"),this.defIds=this.defIds||[],this.defIds.indexOf(p)>-1)return;this.defIds.push(p);let f={id:p,patternUnits:"userSpaceOnUse",patternContentUnits:s,width:h,height:o,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(f.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(f.patternTransform=t.patternTransform);let g=this.createElement("pattern").attr(f).add(this.defs);return g.id=p,t.path?(c=(0,a.isObject)(t.path)?t.path:{d:t.path},t.backgroundColor&&l(t.backgroundColor),d={d:c.d},this.styledMode||(d.stroke=c.stroke||n,d["stroke-width"]=c.strokeWidth??2,d.fill=c.fill||"none"),c.transform&&(d.transform=c.transform),this.createElement("path").attr(d).add(g),g.color=n):t.image&&(r?this.image(t.image,0,0,h,o,function(){this.animate({opacity:t.opacity??1},i),(0,a.removeEvent)(this.element,"load")}).attr({opacity:0}).add(g):this.image(t.image,0,0,h,o).add(g)),t.image&&r||void 0===t.opacity||[].forEach.call(g.element.childNodes,e=>{e.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[p]=g,g}}),(0,a.addEvent)(h,"complexColor",function(t){let e=t.args[0],r=t.args[1],i=t.args[2],n=this.chartIndex||0,o=e.pattern,h="var(--highcharts-neutral-color-80)";if(void 0!==e.patternIndex&&d&&(o=d[e.patternIndex]),!o)return!0;if(o.image||"string"==typeof o.path||o.path&&o.path.d){let t=i.parentNode&&i.parentNode.getAttribute("class");if(t=t&&t.indexOf("highcharts-legend")>-1,("defer"===o._width||"defer"===o._height)&&c.call({graphic:{element:i}},o),t||!o.id||o.anchorToPoint){var s;let t,e;(o=(0,a.merge)({},o)).anchorToPoint&&(s=o,t=(0,a.merge)({},s),t._x=(e=i.getBBox?i.getBBox():{x:0,y:0,width:32,height:32}).x,t._y=e.y,o=t),o.id="highcharts-pattern-"+n+"-"+p(o)+p(o,!0)+(o.anchorToPoint?"-anchored":"")}this.addPattern(o,!this.forExport&&(o.animation??this.globalAnimation??{duration:100})),h=`url(${this.url}#${o.id+(this.forExport?"-export":"")})`}else h=o.color||h;return i.setAttribute(r,h),e.toString=function(){return h},!1}));let u=s();export{u as default};
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v13.0.1 (2026-08-17)
3
+ * @license Highcharts JS v13.0.2 (2026-08-27)
4
4
  * @module highcharts/modules/pattern-fill
5
5
  * @requires highcharts
6
6
  *
@@ -353,7 +353,9 @@ function onRendererComplexColor(args) {
353
353
  }
354
354
  // Add it. This function does nothing if an element with this ID
355
355
  // already exists.
356
- this.addPattern(pattern, !this.forExport && (0,external_highcharts_src_js_default_namespaceObject.pick)(pattern.animation, this.globalAnimation, { duration: 100 }));
356
+ this.addPattern(pattern, !this.forExport && (pattern.animation ??
357
+ this.globalAnimation ??
358
+ { duration: 100 }));
357
359
  value = `url(${this.url}#${pattern.id + (this.forExport ? '-export' : '')})`;
358
360
  }
359
361
  else {
@@ -517,7 +519,7 @@ function pointCalculatePatternDimensions(pattern) {
517
519
  * @requires modules/pattern-fill
518
520
  */
519
521
  function rendererAddPattern(options, animation) {
520
- const animate = (0,external_highcharts_src_js_default_namespaceObject.pick)(animation, true), animationOptions = (0,external_highcharts_src_js_default_namespaceObject.animObject)(animate), color = options.color ||
522
+ const animate = (animation ?? true), animationOptions = (0,external_highcharts_src_js_default_namespaceObject.animObject)(animate), color = options.color ||
521
523
  'var(--highcharts-neutral-color-80)', defaultSize = 32, height = options.height ||
522
524
  (typeof options._height === 'number' ? options._height : 0) ||
523
525
  defaultSize, width = options.width ||
@@ -585,7 +587,7 @@ function rendererAddPattern(options, animation) {
585
587
  };
586
588
  if (!this.styledMode) {
587
589
  attribs.stroke = path.stroke || color;
588
- attribs['stroke-width'] = (0,external_highcharts_src_js_default_namespaceObject.pick)(path.strokeWidth, 2);
590
+ attribs['stroke-width'] = (path.strokeWidth ?? 2);
589
591
  attribs.fill = path.fill || 'none';
590
592
  }
591
593
  if (path.transform) {
@@ -600,7 +602,7 @@ function rendererAddPattern(options, animation) {
600
602
  this.image(options.image, 0, 0, width, height, function () {
601
603
  // Onload
602
604
  this.animate({
603
- opacity: (0,external_highcharts_src_js_default_namespaceObject.pick)(options.opacity, 1)
605
+ opacity: (options.opacity ?? 1)
604
606
  }, animationOptions);
605
607
  (0,external_highcharts_src_js_default_namespaceObject.removeEvent)(this.element, 'load');
606
608
  }).attr({ opacity: 0 }).add(pattern);
@@ -1,5 +1,5 @@
1
1
  let t,e;/**
2
- * Highcharts JS v13.0.1 (2026-08-17)
2
+ * Highcharts JS v13.0.2 (2026-08-27)
3
3
  * @module highcharts/modules/pictorial
4
4
  * @requires highcharts
5
5
  *
@@ -10,4 +10,4 @@ let t,e;/**
10
10
  *
11
11
  * A commercial license may be required depending on use,
12
12
  * see www.highcharts.com/license
13
- */import*as r from"../highcharts.js";let i={};i.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{if(Array.isArray(e))for(var r=0;r<e.length;){var a=e[r++],s=e[r++];i.o(t,a)?0===s&&r++:0===s?Object.defineProperty(t,a,{enumerable:!0,value:e[r++]}):Object.defineProperty(t,a,{enumerable:!0,get:s})}else for(var a in e)i.o(e,a)&&!i.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let a=r.default;var s,o,n,h=i.n(a);i.d({},{});let{getOptions:l}=h(),d=function(){let t=[],e=l().colors,r=0;for(let i of["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"])t.push({path:i,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"});for(let i of(r=5,["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"]))t.push({path:i,color:e[r++],width:10,height:10});return t}();function p(t,e){let r=JSON.stringify(t),i=r.length||0,a=0,s=0,o;if(e){o=Math.max(Math.floor(i/500),1);for(let t=0;t<i;t+=o)a+=r.charCodeAt(t);a&=a}for(;s<i;++s)a=(a<<5)-a+r.charCodeAt(s),a&=a;return a.toString(16).replace("-","1")}function c(t){if(t.width&&t.height&&!t.anchorToPoint)return;let e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},r=this.shapeArgs;if(r&&(e.width=r.width||e.width,e.height=r.height||e.height,e.x=r.x||e.x,e.y=r.y||e.y),t.image){if(!e.width||!e.height){t._width="defer",t._height="defer";let e=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;(0,a.defined)(e)&&e<0&&(t._inverted=!0);return}t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.anchorToPoint?(t._x=0,t._y=0,t.width||(t._width=e.width),t.height||(t._height=e.height)):(t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0)))}function f(){if(!this.chart?.mapView)return;let t=this.chart.renderer,e=t.patternElements;t.defIds?.length&&e&&this.points.filter(function(t){return!!t.graphic&&(t.graphic.element.hasAttribute("fill")||t.graphic.element.hasAttribute("color")||t.graphic.element.hasAttribute("stroke"))&&!t.options.color?.pattern?.image&&!!t.group?.scaleX&&!!t.group?.scaleY}).map(function(e){return{id:(e.graphic?.element.getAttribute("fill")||e.graphic?.element.getAttribute("color")||e.graphic?.element.getAttribute("stroke")||"").replace(t.url,"").replace("url(#","").replace(")",""),x:e.group?.scaleX||1,y:e.group?.scaleY||1}}).filter(function(t,e,r){return""!==t.id&&-1!==t.id.indexOf("highcharts-pattern-")&&!r.some(function(r,i){return r.id===t.id&&i<e})}).forEach(function(t){let r=t.id;e[r].scaleX=1/t.x,e[r].scaleY=1/t.y,e[r].updateTransform("patternTransform")})}let g=r.default.Chart;var u=i.n(g);let m=r.default.SeriesRegistry;var x=i.n(m);let w={rescalePatternFill:function(t,e,r,i,a=1){let s=t&&t.attr("fill"),o=s&&s.match(/url\(([^)]+)\)/);if(o){let s=document.querySelector(`${o[1]} path`);if(s){let o=s.getBBox();if(0===o.width){let e=s.parentElement;t.renderer.box.appendChild(s),o=s.getBBox(),e.appendChild(s)}let n=1/(o.width+a),h=e/i/o.height,l=o.width/o.height,d=r/e,p=-o.width/2;l<d&&(n=n*l/d),s.setAttribute("stroke-width",a/(r*n)),s.setAttribute("transform",`translate(0.5, 0)scale(${n} ${h}) translate(${p+a*n/2}, ${-o.y})`)}}},invertShadowGroup:function(t,e){let r=e.chart.inverted;r&&t.attr({rotation:90*!!r,scaleX:r?-1:1})},getStackMetrics:function(t,e){let r=t.len,i=0;return e&&(0,a.defined)(e.max)&&(i=t.toPixels(e.max,!0),r=t.len-i),{height:r,y:i}}},y=x().seriesTypes.column.prototype.pointClass,{rescalePatternFill:b,getStackMetrics:v}=w,A=class extends y{setState(){super.setState.apply(this,arguments);let t=this.series,e=t.options.paths;if(this.graphic&&this.shapeArgs&&e){let r=e[this.index%e.length];b(this.graphic,v(t.yAxis,r).height,this.shapeArgs.width||0,this.shapeArgs.height||1/0,this.series.options.borderWidth||0)}}},E=r.default.Series;var M=i.n(E);let k=r.default.StackItem;var C=i.n(k);let _=r.default.SVGRenderer;var O=i.n(_);s=u(),o=M(),n=O(),(e=(t=o.prototype.pointClass).prototype).calculatePatternDimensions||((0,a.addEvent)(s,"endResize",function(){if(this.renderer&&(this.renderer.defIds||[]).filter(t=>t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")).length){for(let t of this.series)if(t.visible)for(let e of t.points){let t=e.options&&e.options.color;t&&t.pattern&&(t.pattern._width="defer",t.pattern._height="defer")}this.redraw(!1)}}),(0,a.addEvent)(s,"redraw",function(){let t={},e=this.renderer,r=(e.defIds||[]).filter(t=>t.indexOf&&0===t.indexOf("highcharts-pattern-"));if(r.length)for(let i of([].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),r=>{let i=r.getAttribute("fill")||r.getAttribute("color")||r.getAttribute("stroke");i&&(t[i.replace(e.url,"").replace("url(#","").replace(")","")]=!0)}),r))!t[i]&&((0,a.erase)(e.defIds,i),e.patternElements[i]&&(e.patternElements[i].destroy(),delete e.patternElements[i]))}),(0,a.extend)(e,{calculatePatternDimensions:c}),(0,a.addEvent)(t,"afterInit",function(){let t=this.options.color;t&&(t.pattern||void 0!==t.patternIndex)&&("string"==typeof t.pattern?.path&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=(0,a.merge)(this.series.options.color,t))}),(0,a.addEvent)(o,"render",function(){let t=this.chart.isResizing;if(this.isDirtyData||t||!this.chart.hasRendered)for(let e of this.points){let r=e.options&&e.options.color;r&&r.pattern&&(t&&!(e.shapeArgs&&e.shapeArgs.width&&e.shapeArgs.height)?(r.pattern._width="defer",r.pattern._height="defer"):e.calculatePatternDimensions(r.pattern))}}),(0,a.wrap)(o.prototype,"getColor",function(t){let e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,[].slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,[].slice.call(arguments,1))}),(0,a.addEvent)(o,"afterRender",f),(0,a.addEvent)(o,"mapZoomComplete",f),(0,a.extend)(n.prototype,{addPattern:function(t,e){let r=(0,a.pick)(e,!0),i=(0,a.animObject)(r),s=t.color||"var(--highcharts-neutral-color-80)",o=t.height||("number"==typeof t._height?t._height:0)||32,n=t.width||("number"==typeof t._width?t._width:0)||32,h=t.anchorToPoint?"userSpaceOnUse":t.patternContentUnits||"userSpaceOnUse",l=t=>this.rect(0,0,n,o).attr({fill:t}).add(g),d,p=t.id,c;if(!p&&(this.idCounter=this.idCounter||0,p="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(p+="-export"),this.defIds=this.defIds||[],this.defIds.indexOf(p)>-1)return;this.defIds.push(p);let f={id:p,patternUnits:"userSpaceOnUse",patternContentUnits:h,width:n,height:o,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(f.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(f.patternTransform=t.patternTransform);let g=this.createElement("pattern").attr(f).add(this.defs);return g.id=p,t.path?(c=(0,a.isObject)(t.path)?t.path:{d:t.path},t.backgroundColor&&l(t.backgroundColor),d={d:c.d},this.styledMode||(d.stroke=c.stroke||s,d["stroke-width"]=(0,a.pick)(c.strokeWidth,2),d.fill=c.fill||"none"),c.transform&&(d.transform=c.transform),this.createElement("path").attr(d).add(g),g.color=s):t.image&&(r?this.image(t.image,0,0,n,o,function(){this.animate({opacity:(0,a.pick)(t.opacity,1)},i),(0,a.removeEvent)(this.element,"load")}).attr({opacity:0}).add(g):this.image(t.image,0,0,n,o).add(g)),t.image&&r||void 0===t.opacity||[].forEach.call(g.element.childNodes,e=>{e.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[p]=g,g}}),(0,a.addEvent)(n,"complexColor",function(t){let e=t.args[0],r=t.args[1],i=t.args[2],s=this.chartIndex||0,o=e.pattern,n="var(--highcharts-neutral-color-80)";if(void 0!==e.patternIndex&&d&&(o=d[e.patternIndex]),!o)return!0;if(o.image||"string"==typeof o.path||o.path&&o.path.d){let t=i.parentNode&&i.parentNode.getAttribute("class");if(t=t&&t.indexOf("highcharts-legend")>-1,("defer"===o._width||"defer"===o._height)&&c.call({graphic:{element:i}},o),t||!o.id||o.anchorToPoint){var h;let t,e;(o=(0,a.merge)({},o)).anchorToPoint&&(h=o,t=(0,a.merge)({},h),t._x=(e=i.getBBox?i.getBBox():{x:0,y:0,width:32,height:32}).x,t._y=e.y,o=t),o.id="highcharts-pattern-"+s+"-"+p(o)+p(o,!0)+(o.anchorToPoint?"-anchored":"")}this.addPattern(o,!this.forExport&&(0,a.pick)(o.animation,this.globalAnimation,{duration:100})),n=`url(${this.url}#${o.id+(this.forExport?"-export":"")})`}else n=o.color||n;return i.setAttribute(r,n),e.toString=function(){return n},!1}));let L=x().seriesTypes.column,{getStackMetrics:S,invertShadowGroup:B,rescalePatternFill:P}=w;class T extends L{animate(t){let{chart:e,group:r}=this,i=(0,a.animObject)(this.options.animation),s=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(","),o=e.sharedClips[s];if(t&&r){let t=e.getClipBox(this);o||(t.y=t.height,t.height=0,o=e.renderer.clipRect(t),e.sharedClips[s]=o),r.clip(o)}else if(o&&!o.hasClass("highcharts-animating")){let t=e.getClipBox(this);o.addClass("highcharts-animating").animate(t,i)}}animateDrilldown(){}animateDrillupFrom(){}pointAttribs(t){let e=super.pointAttribs.apply(this,arguments),r=this.options.paths;if(t&&t.shapeArgs&&r){let i=r[t.index%r.length],{y:a,height:s}=S(this.yAxis,i),o=i.definition;o!==t.pathDef?(t.pathDef=o,e.fill={pattern:{path:{d:o,fill:e.fill,strokeWidth:e["stroke-width"],stroke:e.stroke},x:t.shapeArgs.x,y:a,width:t.shapeArgs.width||0,height:s,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"#ff0000"}}):t.pathDef&&t.graphic&&delete e.fill}return delete e.stroke,delete e.strokeWidth,e}getExtremes(){let t=super.getExtremes.apply(this,arguments),e=this.options.paths;return e&&e.forEach(function(e){(0,a.defined)(e.max)&&(0,a.defined)(t.dataMax)&&e.max>t.dataMax&&(t.dataMax=e.max)}),t}}function G(t){let e=Object.keys(t.points).filter(t=>t.split(",").length>1),r=t.axis.chart.series,i=e.map(t=>parseFloat(t.split(",")[0])),s=-1;i.forEach(t=>{r[t]&&r[t].visible&&(s=t)});let o=t.axis.chart.series[s];if(o&&o.is("pictorial")&&t.axis.hasData()&&o.xAxis.hasData()){let e=o.xAxis,r=t.axis.options,i=t.axis.chart,s=t.shadow,n=e.toPixels(t.x,!0),h=i.inverted?e.len-n:n,l=o.options.paths||[],d=t.x%l.length,p=l[d],c=o.getColumnMetrics&&o.getColumnMetrics().width,{height:f,y:g}=S(o.yAxis,p),u=r.stackShadow,m=(0,a.pick)(u&&u.borderWidth,o.options.borderWidth,1);if(!s&&u&&u.enabled&&p)t.shadowGroup||(t.shadowGroup=i.renderer.g("shadow-group").add()),t.shadowGroup.attr({translateX:i.inverted?t.axis.pos:e.pos,translateY:i.inverted?e.pos:t.axis.pos}),t.shadow=i.renderer.rect(h,g,c,f).attr({fill:{pattern:{path:{d:p.definition,fill:u.color||"var(--highcharts-neutral-color-20)",strokeWidth:m,stroke:u.borderColor||"transparent"},x:h,y:g,width:c,height:f,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"var(--highcharts-neutral-color-20)"}}}).add(t.shadowGroup),B(t.shadowGroup,t.axis),P(t.shadow,f,c,f,m),t.setOffset(o.pointXOffset||0,o.barW||0);else if(s&&t.shadowGroup){s.animate({x:h,y:g,width:c,height:f});let r=s.attr("fill"),a=r&&r.match(/url\(([^)]+)\)/);a&&i.renderer.patternElements&&i.renderer.patternElements[a[1].slice(1)].animate({x:h,y:g,width:c,height:f}),t.shadowGroup.animate({translateX:i.inverted?t.axis.pos:e.pos,translateY:i.inverted?e.pos:t.axis.pos}),B(t.shadowGroup,t.axis),P(s,f,c,f,m),t.setOffset(o.pointXOffset||0,o.barW||0)}}else t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadow=void 0,t.shadowGroup.destroy(),t.shadowGroup=void 0)}function I(t,e){t.axes&&t.axes.forEach(function(t){if(!t.stacking)return;let r=t.stacking.stacks;(0,a.objectEach)(r,function(t){(0,a.objectEach)(t,function(t){e(t)})})})}function W(t){I(t,function(t){t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadowGroup.destroy(),delete t.shadow,delete t.shadowGroup)})}T.defaultOptions=(0,a.merge)(L.defaultOptions,{borderWidth:0}),(0,a.addEvent)(T,"afterRender",function(){let t=this,e=t.options.paths,r=/url\(([^)]+)\)/;t.points.forEach(function(i){if(i.graphic&&i.shapeArgs&&e){let a=e[i.index%e.length],s=i.graphic.attr("fill"),o=s&&s.match(r),{y:n,height:h}=S(t.yAxis,a);if(o&&t.chart.renderer.patternElements){let e=t.chart.renderer.patternElements[o[1].slice(1)];e&&e.animate({x:i.shapeArgs.x,y:n,width:i.shapeArgs.width||0,height:h})}P(i.graphic,S(t.yAxis,a).height,i.shapeArgs.width||0,i.shapeArgs.height||1/0,t.options.borderWidth||0)}})}),(0,a.addEvent)(u(),"render",function(){I(this,G)}),(0,a.addEvent)(C(),"afterSetOffset",function(t){if(this.shadow){let{chart:e,len:r}=this.axis,{xOffset:i,width:a}=t,s=e.inverted?i-e.xAxis[0].len:i,o=e.inverted?-r:0;this.shadow.attr({translateX:s,translateY:o}),this.shadow.animate({width:a})}}),(0,a.addEvent)(u(),"afterDrilldown",function(){W(this)}),(0,a.addEvent)(u(),"afterDrillUp",function(){W(this)}),T.prototype.pointClass=A,x().registerSeriesType("pictorial",T);let j=h();export{j as default};
13
+ */import*as r from"../highcharts.js";let i={};i.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{if(Array.isArray(e))for(var r=0;r<e.length;){var a=e[r++],s=e[r++];i.o(t,a)?0===s&&r++:0===s?Object.defineProperty(t,a,{enumerable:!0,value:e[r++]}):Object.defineProperty(t,a,{enumerable:!0,get:s})}else for(var a in e)i.o(e,a)&&!i.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let a=r.default;var s,o,n,h=i.n(a);i.d({},{});let{getOptions:l}=h(),d=function(){let t=[],e=l().colors,r=0;for(let i of["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"])t.push({path:i,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"});for(let i of(r=5,["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"]))t.push({path:i,color:e[r++],width:10,height:10});return t}();function p(t,e){let r=JSON.stringify(t),i=r.length||0,a=0,s=0,o;if(e){o=Math.max(Math.floor(i/500),1);for(let t=0;t<i;t+=o)a+=r.charCodeAt(t);a&=a}for(;s<i;++s)a=(a<<5)-a+r.charCodeAt(s),a&=a;return a.toString(16).replace("-","1")}function c(t){if(t.width&&t.height&&!t.anchorToPoint)return;let e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},r=this.shapeArgs;if(r&&(e.width=r.width||e.width,e.height=r.height||e.height,e.x=r.x||e.x,e.y=r.y||e.y),t.image){if(!e.width||!e.height){t._width="defer",t._height="defer";let e=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;(0,a.defined)(e)&&e<0&&(t._inverted=!0);return}t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.anchorToPoint?(t._x=0,t._y=0,t.width||(t._width=e.width),t.height||(t._height=e.height)):(t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0)))}function f(){if(!this.chart?.mapView)return;let t=this.chart.renderer,e=t.patternElements;t.defIds?.length&&e&&this.points.filter(function(t){return!!t.graphic&&(t.graphic.element.hasAttribute("fill")||t.graphic.element.hasAttribute("color")||t.graphic.element.hasAttribute("stroke"))&&!t.options.color?.pattern?.image&&!!t.group?.scaleX&&!!t.group?.scaleY}).map(function(e){return{id:(e.graphic?.element.getAttribute("fill")||e.graphic?.element.getAttribute("color")||e.graphic?.element.getAttribute("stroke")||"").replace(t.url,"").replace("url(#","").replace(")",""),x:e.group?.scaleX||1,y:e.group?.scaleY||1}}).filter(function(t,e,r){return""!==t.id&&-1!==t.id.indexOf("highcharts-pattern-")&&!r.some(function(r,i){return r.id===t.id&&i<e})}).forEach(function(t){let r=t.id;e[r].scaleX=1/t.x,e[r].scaleY=1/t.y,e[r].updateTransform("patternTransform")})}let g=r.default.Chart;var u=i.n(g);let m=r.default.SeriesRegistry;var x=i.n(m);let w={rescalePatternFill:function(t,e,r,i,a=1){let s=t&&t.attr("fill"),o=s&&s.match(/url\(([^)]+)\)/);if(o){let s=document.querySelector(`${o[1]} path`);if(s){let o=s.getBBox();if(0===o.width){let e=s.parentElement;t.renderer.box.appendChild(s),o=s.getBBox(),e.appendChild(s)}let n=1/(o.width+a),h=e/i/o.height,l=o.width/o.height,d=r/e,p=-o.width/2;l<d&&(n=n*l/d),s.setAttribute("stroke-width",a/(r*n)),s.setAttribute("transform",`translate(0.5, 0)scale(${n} ${h}) translate(${p+a*n/2}, ${-o.y})`)}}},invertShadowGroup:function(t,e){let r=e.chart.inverted;r&&t.attr({rotation:90*!!r,scaleX:r?-1:1})},getStackMetrics:function(t,e){let r=t.len,i=0;return e&&(0,a.defined)(e.max)&&(i=t.toPixels(e.max,!0),r=t.len-i),{height:r,y:i}}},y=x().seriesTypes.column.prototype.pointClass,{rescalePatternFill:b,getStackMetrics:v}=w,A=class extends y{setState(){super.setState.apply(this,arguments);let t=this.series,e=t.options.paths;if(this.graphic&&this.shapeArgs&&e){let r=e[this.index%e.length];b(this.graphic,v(t.yAxis,r).height,this.shapeArgs.width||0,this.shapeArgs.height||1/0,this.series.options.borderWidth||0)}}},E=r.default.Series;var M=i.n(E);let C=r.default.StackItem;var _=i.n(C);let k=r.default.SVGRenderer;var O=i.n(k);s=u(),o=M(),n=O(),(e=(t=o.prototype.pointClass).prototype).calculatePatternDimensions||((0,a.addEvent)(s,"endResize",function(){if(this.renderer&&(this.renderer.defIds||[]).filter(t=>t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")).length){for(let t of this.series)if(t.visible)for(let e of t.points){let t=e.options&&e.options.color;t&&t.pattern&&(t.pattern._width="defer",t.pattern._height="defer")}this.redraw(!1)}}),(0,a.addEvent)(s,"redraw",function(){let t={},e=this.renderer,r=(e.defIds||[]).filter(t=>t.indexOf&&0===t.indexOf("highcharts-pattern-"));if(r.length)for(let i of([].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),r=>{let i=r.getAttribute("fill")||r.getAttribute("color")||r.getAttribute("stroke");i&&(t[i.replace(e.url,"").replace("url(#","").replace(")","")]=!0)}),r))!t[i]&&((0,a.erase)(e.defIds,i),e.patternElements[i]&&(e.patternElements[i].destroy(),delete e.patternElements[i]))}),(0,a.extend)(e,{calculatePatternDimensions:c}),(0,a.addEvent)(t,"afterInit",function(){let t=this.options.color;t&&(t.pattern||void 0!==t.patternIndex)&&("string"==typeof t.pattern?.path&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=(0,a.merge)(this.series.options.color,t))}),(0,a.addEvent)(o,"render",function(){let t=this.chart.isResizing;if(this.isDirtyData||t||!this.chart.hasRendered)for(let e of this.points){let r=e.options&&e.options.color;r&&r.pattern&&(t&&!(e.shapeArgs&&e.shapeArgs.width&&e.shapeArgs.height)?(r.pattern._width="defer",r.pattern._height="defer"):e.calculatePatternDimensions(r.pattern))}}),(0,a.wrap)(o.prototype,"getColor",function(t){let e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,[].slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,[].slice.call(arguments,1))}),(0,a.addEvent)(o,"afterRender",f),(0,a.addEvent)(o,"mapZoomComplete",f),(0,a.extend)(n.prototype,{addPattern:function(t,e){let r=e??!0,i=(0,a.animObject)(r),s=t.color||"var(--highcharts-neutral-color-80)",o=t.height||("number"==typeof t._height?t._height:0)||32,n=t.width||("number"==typeof t._width?t._width:0)||32,h=t.anchorToPoint?"userSpaceOnUse":t.patternContentUnits||"userSpaceOnUse",l=t=>this.rect(0,0,n,o).attr({fill:t}).add(g),d,p=t.id,c;if(!p&&(this.idCounter=this.idCounter||0,p="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(p+="-export"),this.defIds=this.defIds||[],this.defIds.indexOf(p)>-1)return;this.defIds.push(p);let f={id:p,patternUnits:"userSpaceOnUse",patternContentUnits:h,width:n,height:o,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(f.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(f.patternTransform=t.patternTransform);let g=this.createElement("pattern").attr(f).add(this.defs);return g.id=p,t.path?(c=(0,a.isObject)(t.path)?t.path:{d:t.path},t.backgroundColor&&l(t.backgroundColor),d={d:c.d},this.styledMode||(d.stroke=c.stroke||s,d["stroke-width"]=c.strokeWidth??2,d.fill=c.fill||"none"),c.transform&&(d.transform=c.transform),this.createElement("path").attr(d).add(g),g.color=s):t.image&&(r?this.image(t.image,0,0,n,o,function(){this.animate({opacity:t.opacity??1},i),(0,a.removeEvent)(this.element,"load")}).attr({opacity:0}).add(g):this.image(t.image,0,0,n,o).add(g)),t.image&&r||void 0===t.opacity||[].forEach.call(g.element.childNodes,e=>{e.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[p]=g,g}}),(0,a.addEvent)(n,"complexColor",function(t){let e=t.args[0],r=t.args[1],i=t.args[2],s=this.chartIndex||0,o=e.pattern,n="var(--highcharts-neutral-color-80)";if(void 0!==e.patternIndex&&d&&(o=d[e.patternIndex]),!o)return!0;if(o.image||"string"==typeof o.path||o.path&&o.path.d){let t=i.parentNode&&i.parentNode.getAttribute("class");if(t=t&&t.indexOf("highcharts-legend")>-1,("defer"===o._width||"defer"===o._height)&&c.call({graphic:{element:i}},o),t||!o.id||o.anchorToPoint){var h;let t,e;(o=(0,a.merge)({},o)).anchorToPoint&&(h=o,t=(0,a.merge)({},h),t._x=(e=i.getBBox?i.getBBox():{x:0,y:0,width:32,height:32}).x,t._y=e.y,o=t),o.id="highcharts-pattern-"+s+"-"+p(o)+p(o,!0)+(o.anchorToPoint?"-anchored":"")}this.addPattern(o,!this.forExport&&(o.animation??this.globalAnimation??{duration:100})),n=`url(${this.url}#${o.id+(this.forExport?"-export":"")})`}else n=o.color||n;return i.setAttribute(r,n),e.toString=function(){return n},!1}));let L=x().seriesTypes.column,{getStackMetrics:S,invertShadowGroup:B,rescalePatternFill:P}=w;class T extends L{animate(t){let{chart:e,group:r}=this,i=(0,a.animObject)(this.options.animation),s=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(","),o=e.sharedClips[s];if(t&&r){let t=e.getClipBox(this);o||(t.y=t.height,t.height=0,o=e.renderer.clipRect(t),e.sharedClips[s]=o),r.clip(o)}else if(o&&!o.hasClass("highcharts-animating")){let t=e.getClipBox(this);o.addClass("highcharts-animating").animate(t,i)}}animateDrilldown(){}animateDrillupFrom(){}pointAttribs(t){let e=super.pointAttribs.apply(this,arguments),r=this.options.paths;if(t&&t.shapeArgs&&r){let i=r[t.index%r.length],{y:a,height:s}=S(this.yAxis,i),o=i.definition;o!==t.pathDef?(t.pathDef=o,e.fill={pattern:{path:{d:o,fill:e.fill,strokeWidth:e["stroke-width"],stroke:e.stroke},x:t.shapeArgs.x,y:a,width:t.shapeArgs.width||0,height:s,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"#ff0000"}}):t.pathDef&&t.graphic&&delete e.fill}return delete e.stroke,delete e.strokeWidth,e}getExtremes(){let t=super.getExtremes.apply(this,arguments),e=this.options.paths;return e&&e.forEach(function(e){(0,a.defined)(e.max)&&(0,a.defined)(t.dataMax)&&e.max>t.dataMax&&(t.dataMax=e.max)}),t}}function G(t){let e=Object.keys(t.points).filter(t=>t.split(",").length>1),r=t.axis.chart.series,i=e.map(t=>parseFloat(t.split(",")[0])),a=-1;i.forEach(t=>{r[t]&&r[t].visible&&(a=t)});let s=t.axis.chart.series[a];if(s&&s.is("pictorial")&&t.axis.hasData()&&s.xAxis.hasData()){let e=s.xAxis,r=t.axis.options,i=t.axis.chart,a=t.shadow,o=e.toPixels(t.x,!0),n=i.inverted?e.len-o:o,h=s.options.paths||[],l=t.x%h.length,d=h[l],p=s.getColumnMetrics&&s.getColumnMetrics().width,{height:c,y:f}=S(s.yAxis,d),g=r.stackShadow,u=(g&&g.borderWidth)??s.options.borderWidth??1;if(!a&&g&&g.enabled&&d)t.shadowGroup||(t.shadowGroup=i.renderer.g("shadow-group").add()),t.shadowGroup.attr({translateX:i.inverted?t.axis.pos:e.pos,translateY:i.inverted?e.pos:t.axis.pos}),t.shadow=i.renderer.rect(n,f,p,c).attr({fill:{pattern:{path:{d:d.definition,fill:g.color||"var(--highcharts-neutral-color-20)",strokeWidth:u,stroke:g.borderColor||"transparent"},x:n,y:f,width:p,height:c,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"var(--highcharts-neutral-color-20)"}}}).add(t.shadowGroup),B(t.shadowGroup,t.axis),P(t.shadow,c,p,c,u),t.setOffset(s.pointXOffset||0,s.barW||0);else if(a&&t.shadowGroup){a.animate({x:n,y:f,width:p,height:c});let r=a.attr("fill"),o=r&&r.match(/url\(([^)]+)\)/);o&&i.renderer.patternElements&&i.renderer.patternElements[o[1].slice(1)].animate({x:n,y:f,width:p,height:c}),t.shadowGroup.animate({translateX:i.inverted?t.axis.pos:e.pos,translateY:i.inverted?e.pos:t.axis.pos}),B(t.shadowGroup,t.axis),P(a,c,p,c,u),t.setOffset(s.pointXOffset||0,s.barW||0)}}else t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadow=void 0,t.shadowGroup.destroy(),t.shadowGroup=void 0)}function I(t,e){t.axes&&t.axes.forEach(function(t){if(!t.stacking)return;let r=t.stacking.stacks;(0,a.objectEach)(r,function(t){(0,a.objectEach)(t,function(t){e(t)})})})}function W(t){I(t,function(t){t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadowGroup.destroy(),delete t.shadow,delete t.shadowGroup)})}T.defaultOptions=(0,a.merge)(L.defaultOptions,{borderWidth:0}),(0,a.addEvent)(T,"afterRender",function(){let t=this,e=t.options.paths,r=/url\(([^)]+)\)/;t.points.forEach(function(i){if(i.graphic&&i.shapeArgs&&e){let a=e[i.index%e.length],s=i.graphic.attr("fill"),o=s&&s.match(r),{y:n,height:h}=S(t.yAxis,a);if(o&&t.chart.renderer.patternElements){let e=t.chart.renderer.patternElements[o[1].slice(1)];e&&e.animate({x:i.shapeArgs.x,y:n,width:i.shapeArgs.width||0,height:h})}P(i.graphic,S(t.yAxis,a).height,i.shapeArgs.width||0,i.shapeArgs.height||1/0,t.options.borderWidth||0)}})}),(0,a.addEvent)(u(),"render",function(){I(this,G)}),(0,a.addEvent)(_(),"afterSetOffset",function(t){if(this.shadow){let{chart:e,len:r}=this.axis,{xOffset:i,width:a}=t,s=e.inverted?i-e.xAxis[0].len:i,o=e.inverted?-r:0;this.shadow.attr({translateX:s,translateY:o}),this.shadow.animate({width:a})}}),(0,a.addEvent)(u(),"afterDrilldown",function(){W(this)}),(0,a.addEvent)(u(),"afterDrillUp",function(){W(this)}),T.prototype.pointClass=A,x().registerSeriesType("pictorial",T);let j=h();export{j as default};
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v13.0.1 (2026-08-17)
3
+ * @license Highcharts JS v13.0.2 (2026-08-27)
4
4
  * @module highcharts/modules/pictorial
5
5
  * @requires highcharts
6
6
  *
@@ -359,7 +359,9 @@ function onRendererComplexColor(args) {
359
359
  }
360
360
  // Add it. This function does nothing if an element with this ID
361
361
  // already exists.
362
- this.addPattern(pattern, !this.forExport && (0,external_highcharts_src_js_default_namespaceObject.pick)(pattern.animation, this.globalAnimation, { duration: 100 }));
362
+ this.addPattern(pattern, !this.forExport && (pattern.animation ??
363
+ this.globalAnimation ??
364
+ { duration: 100 }));
363
365
  value = `url(${this.url}#${pattern.id + (this.forExport ? '-export' : '')})`;
364
366
  }
365
367
  else {
@@ -523,7 +525,7 @@ function pointCalculatePatternDimensions(pattern) {
523
525
  * @requires modules/pattern-fill
524
526
  */
525
527
  function rendererAddPattern(options, animation) {
526
- const animate = (0,external_highcharts_src_js_default_namespaceObject.pick)(animation, true), animationOptions = (0,external_highcharts_src_js_default_namespaceObject.animObject)(animate), color = options.color ||
528
+ const animate = (animation ?? true), animationOptions = (0,external_highcharts_src_js_default_namespaceObject.animObject)(animate), color = options.color ||
527
529
  'var(--highcharts-neutral-color-80)', defaultSize = 32, height = options.height ||
528
530
  (typeof options._height === 'number' ? options._height : 0) ||
529
531
  defaultSize, width = options.width ||
@@ -591,7 +593,7 @@ function rendererAddPattern(options, animation) {
591
593
  };
592
594
  if (!this.styledMode) {
593
595
  attribs.stroke = path.stroke || color;
594
- attribs['stroke-width'] = (0,external_highcharts_src_js_default_namespaceObject.pick)(path.strokeWidth, 2);
596
+ attribs['stroke-width'] = (path.strokeWidth ?? 2);
595
597
  attribs.fill = path.fill || 'none';
596
598
  }
597
599
  if (path.transform) {
@@ -606,7 +608,7 @@ function rendererAddPattern(options, animation) {
606
608
  this.image(options.image, 0, 0, width, height, function () {
607
609
  // Onload
608
610
  this.animate({
609
- opacity: (0,external_highcharts_src_js_default_namespaceObject.pick)(options.opacity, 1)
611
+ opacity: (options.opacity ?? 1)
610
612
  }, animationOptions);
611
613
  (0,external_highcharts_src_js_default_namespaceObject.removeEvent)(this.element, 'load');
612
614
  }).attr({ opacity: 0 }).add(pattern);
@@ -1198,7 +1200,9 @@ function renderStackShadow(stack) {
1198
1200
  stack.axis.hasData() &&
1199
1201
  series.xAxis.hasData()) {
1200
1202
  const xAxis = series.xAxis, options = stack.axis.options, chart = stack.axis.chart, stackShadow = stack.shadow, xCenter = xAxis.toPixels(stack.x, true), x = chart.inverted ? xAxis.len - xCenter : xCenter, paths = series.options.paths || [], index = stack.x % paths.length, shape = paths[index], width = series.getColumnMetrics &&
1201
- series.getColumnMetrics().width, { height, y } = PictorialSeries_getStackMetrics(series.yAxis, shape), shadowOptions = options.stackShadow, strokeWidth = (0,external_highcharts_src_js_default_namespaceObject.pick)(shadowOptions && shadowOptions.borderWidth, series.options.borderWidth, 1);
1203
+ series.getColumnMetrics().width, { height, y } = PictorialSeries_getStackMetrics(series.yAxis, shape), shadowOptions = options.stackShadow, strokeWidth = ((shadowOptions && shadowOptions.borderWidth) ??
1204
+ series.options.borderWidth ??
1205
+ 1);
1202
1206
  if (!stackShadow &&
1203
1207
  shadowOptions &&
1204
1208
  shadowOptions.enabled &&
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Highstock JS v13.0.1 (2026-08-17)
2
+ * Highstock JS v13.0.2 (2026-08-27)
3
3
  * @module highcharts/modules/pointandfigure
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highstock JS v13.0.1 (2026-08-17)
3
+ * @license Highstock JS v13.0.2 (2026-08-27)
4
4
  * @module highcharts/modules/pointandfigure
5
5
  * @requires highcharts
6
6
  * @requires highcharts/modules/stock
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Highstock JS v13.0.1 (2026-08-17)
2
+ * Highstock JS v13.0.2 (2026-08-27)
3
3
  * @module highcharts/modules/price-indicator
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -11,4 +11,4 @@
11
11
  *
12
12
  * A commercial license may be required depending on use,
13
13
  * see www.highcharts.com/license
14
- */import*as s from"../highcharts.js";let e={};e.n=s=>{let i=s&&s.__esModule?()=>s.default:()=>s;return e.d(i,{a:i}),i},e.d=(s,i)=>{if(Array.isArray(i))for(var r=0;r<i.length;){var t=i[r++],l=i[r++];e.o(s,t)?0===l&&r++:0===l?Object.defineProperty(s,t,{enumerable:!0,value:i[r++]}):Object.defineProperty(s,t,{enumerable:!0,get:l})}else for(var t in i)e.o(i,t)&&!e.o(s,t)&&Object.defineProperty(s,t,{enumerable:!0,get:i[t]})},e.o=(s,e)=>Object.prototype.hasOwnProperty.call(s,e);let i=s.default;var r,t=e.n(i);let{composed:l}=t();r=t().Series,(0,i.pushUnique)(l,"PriceIndication")&&((0,i.addEvent)(r,"afterRender",function(){let s=this.options,e=s.lastVisiblePrice,r=s.lastPrice;if((e||r)&&"highcharts-navigator-series"!==s.id&&this.visible){let{points:t,xAxis:l,yAxis:o}=this,{cross:a,crosshair:c,crossLabel:h}=o,n=t.length,d=this.dataTable.rowCount,b=this.getColumn("x")[d-1],P=this.getColumn("y")[d-1]??this.getColumn("close")[d-1];if(r?.enabled&&(o.crosshair=o.options.crosshair=s.lastPrice,!this.chart.styledMode&&o.crosshair&&o.options.crosshair&&s.lastPrice&&(o.crosshair.color=o.options.crosshair.color=s.lastPrice.color||this.color),o.cross=this.lastPrice,this.lastPriceLabel&&this.lastPriceLabel.destroy(),delete o.crossLabel,o.drawCrosshair(void 0,{x:b,y:P,plotX:l.toPixels(b,!0),plotY:o.toPixels(P,!0)}),this.yAxis.cross&&(this.lastPrice=this.yAxis.cross,this.lastPrice.addClass("highcharts-color-"+this.colorIndex),this.lastPrice.y=P),this.lastPriceLabel=o.crossLabel),e?.enabled&&n>0){o.crosshair=o.options.crosshair=(0,i.merge)({color:"transparent"},s.lastVisiblePrice),o.cross=this.lastVisiblePrice;let e=t[n-1].isInside?t[n-1]:t[n-2];this.lastVisiblePriceLabel?.destroy(),delete o.crossLabel,o.drawCrosshair(void 0,e),o.cross&&(this.lastVisiblePrice=o.cross,e&&"number"==typeof e.y&&(this.lastVisiblePrice.y=e.y)),this.lastVisiblePriceLabel=o.crossLabel}o.crosshair=o.options.crosshair=c,o.cross=a,o.crossLabel=h}}),(0,i.addEvent)(r,"hide",function(){let s=this;["lastPrice","lastPriceLabel","lastVisiblePrice","lastVisiblePriceLabel"].forEach(e=>{s[e]?.hide()})}));let o=t();export{o as default};
14
+ */import*as s from"../highcharts.js";let e={};e.n=s=>{let i=s&&s.__esModule?()=>s.default:()=>s;return e.d(i,{a:i}),i},e.d=(s,i)=>{if(Array.isArray(i))for(var r=0;r<i.length;){var t=i[r++],a=i[r++];e.o(s,t)?0===a&&r++:0===a?Object.defineProperty(s,t,{enumerable:!0,value:i[r++]}):Object.defineProperty(s,t,{enumerable:!0,get:a})}else for(var t in i)e.o(i,t)&&!e.o(s,t)&&Object.defineProperty(s,t,{enumerable:!0,get:i[t]})},e.o=(s,e)=>Object.prototype.hasOwnProperty.call(s,e);let i=s.default;var r,t=e.n(i);let{composed:a}=t();r=t().Series,(0,i.pushUnique)(a,"PriceIndication")&&((0,i.addEvent)(r,"afterRender",function(){let s=this.options,e=s.lastVisiblePrice,r=s.lastPrice;if((e||r)&&"highcharts-navigator-series"!==s.id&&this.visible){let{points:t,xAxis:a,yAxis:l}=this,{cross:o,crosshair:c,crossLabel:h}=l,n=t.length,d=this.dataTable.rowCount,b=this.getColumn("x")[d-1],P=this.getColumn("y")[d-1]??this.getColumn("close")[d-1],p=this.dataModify?.modifyValue(P)??P;if(r?.enabled&&(l.crosshair=l.options.crosshair=s.lastPrice,!this.chart.styledMode&&l.crosshair&&l.options.crosshair&&s.lastPrice&&(l.crosshair.color=l.options.crosshair.color=s.lastPrice.color||this.color),l.cross=this.lastPrice,this.lastPriceLabel&&this.lastPriceLabel.destroy(),delete l.crossLabel,l.drawCrosshair(void 0,{x:b,y:P,series:this,plotX:(0,i.clamp)(a.toPixels(b,!0),0,a.len),plotY:l.toPixels(p,!0)}),this.yAxis.cross&&(this.lastPrice=this.yAxis.cross,this.lastPrice.addClass("highcharts-color-"+this.colorIndex),this.lastPrice.y=P),this.lastPriceLabel=l.crossLabel),e?.enabled&&n>0){l.crosshair=l.options.crosshair=(0,i.merge)({color:"transparent"},s.lastVisiblePrice),l.cross=this.lastVisiblePrice;let e=t[n-1].isInside?t[n-1]:t[n-2];this.lastVisiblePriceLabel?.destroy(),delete l.crossLabel,l.drawCrosshair(void 0,e),l.cross&&(this.lastVisiblePrice=l.cross,e&&"number"==typeof e.y&&(this.lastVisiblePrice.y=e.y)),this.lastVisiblePriceLabel=l.crossLabel}l.crosshair=l.options.crosshair=c,l.cross=o,l.crossLabel=h}}),(0,i.addEvent)(r,"hide",function(){let s=this;["lastPrice","lastPriceLabel","lastVisiblePrice","lastVisiblePriceLabel"].forEach(e=>{s[e]?.hide()})}));let l=t();export{l as default};
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highstock JS v13.0.1 (2026-08-17)
3
+ * @license Highstock JS v13.0.2 (2026-08-27)
4
4
  * @module highcharts/modules/price-indicator
5
5
  * @requires highcharts
6
6
  * @requires highcharts/modules/stock
@@ -126,7 +126,7 @@ function onSeriesAfterRender() {
126
126
  seriesOptions.id !== 'highcharts-navigator-series' &&
127
127
  series.visible) {
128
128
  const { points, xAxis, yAxis } = series, { cross, crosshair, crossLabel } = yAxis, pLength = points.length, dataLength = series.dataTable.rowCount, x = series.getColumn('x')[dataLength - 1], y = series.getColumn('y')[dataLength - 1] ??
129
- series.getColumn('close')[dataLength - 1];
129
+ series.getColumn('close')[dataLength - 1], modifiedY = series.dataModify?.modifyValue(y) ?? y;
130
130
  if (lastPrice?.enabled) {
131
131
  yAxis.crosshair = yAxis.options.crosshair = seriesOptions.lastPrice;
132
132
  if (!series.chart.styledMode &&
@@ -145,8 +145,9 @@ function onSeriesAfterRender() {
145
145
  yAxis.drawCrosshair(void 0, ({
146
146
  x: x,
147
147
  y,
148
- plotX: xAxis.toPixels(x, true),
149
- plotY: yAxis.toPixels(y, true)
148
+ series,
149
+ plotX: (0,external_highcharts_src_js_default_namespaceObject.clamp)(xAxis.toPixels(x, true), 0, xAxis.len),
150
+ plotY: yAxis.toPixels(modifiedY, true)
150
151
  }));
151
152
  // Save price
152
153
  if (series.yAxis.cross) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Highcharts JS v13.0.1 (2026-08-17)
2
+ * Highcharts JS v13.0.2 (2026-08-27)
3
3
  * @module highcharts/modules/pyramid3d
4
4
  * @requires highcharts
5
5
  * @requires highcharts/highcharts-3d
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v13.0.1 (2026-08-17)
3
+ * @license Highcharts JS v13.0.2 (2026-08-27)
4
4
  * @module highcharts/modules/pyramid3d
5
5
  * @requires highcharts
6
6
  * @requires highcharts/highcharts-3d
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Highstock JS v13.0.1 (2026-08-17)
2
+ * Highstock JS v13.0.2 (2026-08-27)
3
3
  * @module highcharts/modules/renko
4
4
  * @requires highcharts
5
5
  * @requires highcharts/modules/stock
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highstock JS v13.0.1 (2026-08-17)
3
+ * @license Highstock JS v13.0.2 (2026-08-27)
4
4
  * @module highcharts/modules/renko
5
5
  * @requires highcharts
6
6
  * @requires highcharts/modules/stock
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Highcharts JS v13.0.1 (2026-08-17)
2
+ * Highcharts JS v13.0.2 (2026-08-27)
3
3
  * @module highcharts/modules/sankey
4
4
  * @requires highcharts
5
5
  *
@@ -10,4 +10,4 @@
10
10
  *
11
11
  * A commercial license may be required depending on use,
12
12
  * see www.highcharts.com/license
13
- */import*as t from"../highcharts.js";let e={};e.n=t=>{let o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},e.d=(t,o)=>{if(Array.isArray(o))for(var i=0;i<o.length;){var s=o[i++],n=o[i++];e.o(t,s)?0===n&&i++:0===n?Object.defineProperty(t,s,{enumerable:!0,value:o[i++]}):Object.defineProperty(t,s,{enumerable:!0,get:n})}else for(var s in o)e.o(o,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:o[s]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let o=t.default;var i,s,n,r=e.n(o);let l=t.default.SeriesRegistry;var a=e.n(l);let{series:{prototype:d,prototype:{pointClass:{prototype:h}}}}=a();!function(t){function e(){if(!this.hasDataLabels?.()&&this.nodes)for(let t of this.nodes)t.destroyElements({dataLabel:1})}function i(){return this.data=[].concat(this.points||[],this.nodes),d.destroy.apply(this,arguments)}function s(){this.nodes&&(this.nodes.forEach(t=>{t.destroy()}),this.nodes.length=0),d.setData.apply(this,arguments)}function n(t){let e=arguments,o=this.isNode?this.linksTo.concat(this.linksFrom):[this.fromNode,this.toNode];"select"!==t&&o.forEach(t=>{t&&t.series&&(h.setState.apply(t,e),!t.isNode&&(t.fromNode.graphic&&h.setState.apply(t.fromNode,e),t.toNode&&t.toNode.graphic&&h.setState.apply(t.toNode,e)))}),h.setState.apply(this,e)}function r(t,e,i,s){let n=this.series.options.nodes,r=this.series.options.data,l=r?.length||0,a=r?.[this.index];if(h.update.call(this,t,!this.isNode&&e,i,s),this.isNode){let t=(n||[]).reduce((t,e,o)=>this.id===e.id?o:t,-1),s=(0,o.merge)(n&&n[t]||{},r?.[this.index]||{});r&&(a?r[this.index]=a:r.length=l),n?t>=0?n[t]=s:n.push(s):this.series.options.nodes=[s],(0,o.pick)(e,!0)&&this.series.chart.redraw(i)}}t.compose=function(t,l){let a=t.prototype,d=l.prototype;return a.setNodeState=n,a.setState=n,a.update=r,d.destroy=i,d.setData=s,(0,o.addEvent)(l,"afterUpdate",e),l},t.createNode=function(t){let e=this.pointClass,i=(t,e)=>(0,o.find)(t,t=>t.id===e),s=i(this.nodes,t),n;if(!s){n=this.options.nodes&&i(this.options.nodes,t);let r=new e(this,(0,o.extend)({className:"highcharts-node",isNode:!0,id:t,y:1},n));r.linksTo=[],r.linksFrom=[],r.getSum=function(){let t=0,e=0;return r.linksTo.forEach(e=>{t+=e.weight||0}),r.linksFrom.forEach(t=>{e+=t.weight||0}),Math.max(t,e)},r.offset=function(t,e){let o=0;for(let i=0;i<r[e].length;i++){if(r[e][i]===t)return o;o+=r[e][i].weight}},r.hasShape=function(){let t=0;return r.linksTo.forEach(e=>{e.outgoing&&t++}),!r.linksTo.length||t!==r.linksTo.length},r.index=this.nodes.push(r)-1,s=r}return s.formatPrefix="node",s.name=s.name||s.options.id||"",s.mass=(0,o.pick)(s.options.mass,s.options.marker&&s.options.marker.radius,this.options.marker&&this.options.marker.radius,4),s},t.destroy=i,t.generatePoints=function(){let t=this.chart,e={};d.generatePoints.call(this),this.nodes||(this.nodes=[]),this.colorCounter=0,this.nodes.forEach(t=>{t.linksFrom.length=0,t.linksTo.length=0,t.level=t.options.level}),this.points.forEach(i=>{(0,o.defined)(i.from)&&(e[i.from]||(e[i.from]=this.createNode(i.from)),e[i.from].linksFrom.push(i),i.fromNode=e[i.from],t.styledMode?i.colorIndex=(0,o.pick)(i.options.colorIndex,e[i.from].colorIndex):i.color=i.options.color||e[i.from].color),(0,o.defined)(i.to)&&(e[i.to]||(e[i.to]=this.createNode(i.to)),e[i.to].linksTo.push(i),i.toNode=e[i.to]),i.name=i.name||i.id},this),this.nodeLookup=e},t.setNodeState=n,t.updateNode=r}(s||(s={}));let p=s,c=t.default.Point;var f=e.n(c);let{column:u}=a().seriesTypes;class m extends u.prototype.pointClass{applyOptions(t,e){return f().prototype.applyOptions.call(this,t,e),(0,o.defined)(this.options.level)&&(this.options.column=this.column=this.options.level),this}getClassName(){return(this.isNode?"highcharts-node ":"highcharts-link ")+f().prototype.getClassName.call(this)}getFromNode(){let t=-1,e;for(let o=0;o<this.linksTo.length;o++){let i=this.linksTo[o];i.fromNode.column>t&&i.fromNode!==this&&(t=(e=i.fromNode).column)}return{fromNode:e,fromColumn:t}}setNodeColumn(){(0,o.defined)(this.options.column)||(0===this.linksTo.length?this.column=0:this.column=this.getFromNode().fromColumn+1)}isValid(){return this.isNode||"number"==typeof this.weight}}var g=n||(n={});g.compose=function(t,e){return t.sankeyColumn=new y(t,e),t};class y{constructor(t,e){this.points=t,this.series=e}getTranslationFactor(t){let e=this.points,o=e.slice(),i=t.chart,s=t.options.minLinkWidth||0,n,r=0,l,a=(i.plotSizeY||0)-(t.options.borderWidth||0)-(e.length-1)*t.nodePadding;for(;e.length;){for(r=a/e.sankeyColumn.sum(),n=!1,l=e.length;l--;)e[l].getSum()*r<s&&(e.splice(l,1),a=Math.max(0,a-s),n=!0);if(!n)break}for(let t of(e.length=0,o))e.push(t);return r}top(t){let e=this.series,i=e.nodePadding,s=this.points.reduce((o,s)=>(o>0&&(o+=i),o+=Math.max(s.getSum()*t,e.options.minLinkWidth||0)),0);return(0,o.getAlignFactor)(e.options.nodeAlignment||"center")*((e.chart.plotSizeY||0)-s)}left(t){let e=this.series,o=e.chart,i=e.options.equalNodes,s=o.inverted?o.plotHeight:o.plotWidth,n=e.nodePadding,r=this.points.reduce((o,r)=>(o>0&&(o+=n),o+=i?s/r.series.nodes.length-n:Math.max(r.getSum()*t,e.options.minLinkWidth||0)),0);return((o.plotSizeX||0)-Math.round(r))/2}sum(){return this.points.reduce((t,e)=>t+e.getSum(),0)}offset(t,e){let i=this.points,s=this.series,n=s.nodePadding,r=0,l;if(s.is("organization")&&t.hangsFrom)return{absoluteTop:t.hangsFrom.nodeY};for(let a=0;a<i.length;a++){let d=i[a].getSum(),h=Math.max(d*e,s.options.minLinkWidth||0),p=t.options[s.chart.inverted?"offsetHorizontal":"offsetVertical"],c=t.options.offset||0;if(l=d?h+n:0,i[a]===t)return{relativeTop:r+((0,o.defined)(p)?(0,o.relativeLength)(p,h):(0,o.relativeLength)(c,l))};r+=l}}}g.SankeyColumnAdditions=y;let b=n,v=t.default.Color;var k=e.n(v);let x=t.default.SVGElement;var N=e.n(x);let{composed:C,deg2rad:P}=r(),{column:L,line:O}=a().seriesTypes,{parse:T}=k(),{getLevelOptions:S,getNodeWidth:w}={getColor:function(t,e){let i,s,n,r,l,a,d=e.index,h=e.mapOptionsToLevel,p=e.parentColor,c=e.parentColorIndex,f=e.series,u=e.colors,m=e.siblings,g=f.points,y=f.chart.options.chart;if(t){let b;i=g[t.i],s=h[t.level]||{},i&&s.colorByPoint&&(r=i.index%(u?u.length:y.colorCount),n=u&&u[r]),f.chart.styledMode||(l=(0,o.pick)(i&&i.options.color,s&&s.color,n,p&&((b=s&&s.colorVariation)&&"brightness"===b.key&&d&&m?k().parse(p).brighten(b.to*(d/m)).get():p),f.color)),a=(0,o.pick)(i&&i.options.colorIndex,s&&s.colorIndex,r,c,e.colorIndex)}return{color:l,colorIndex:a}},getLevelOptions:function(t){let e,i,s,n,r,l,a={};if((0,o.isObject)(t))for(n=(0,o.isNumber)(t.from)?t.from:1,l=t.levels,i={},e=(0,o.isObject)(t.defaults)?t.defaults:{},(0,o.isArray)(l)&&(i=l.reduce((t,i)=>{let s,r,l;return(0,o.isObject)(i)&&(0,o.isNumber)(i.level)&&(l=(0,o.merge)({},i),r=(0,o.pick)(l.levelIsConstant,e.levelIsConstant),delete l.levelIsConstant,delete l.level,s=i.level+(r?0:n-1),(0,o.isObject)(t[s])?(0,o.merge)(!0,t[s],l):t[s]=l),t},{})),r=(0,o.isNumber)(t.to)?t.to:1,s=0;s<=r;s++)a[s]=(0,o.merge)({},e,(0,o.isObject)(i[s])?i[s]:{});return a},getNodeWidth:function(t,e){let{chart:i,options:s}=t,{nodeDistance:n=0,nodeWidth:r=0}=s,{plotSizeX:l=1}=i;if("auto"===r){if("string"==typeof n&&/%$/.test(n))return l/(e+parseFloat(n)/100*(e-1));let t=Number(n);return(l+t)/(e||1)-t}return(0,o.relativeLength)(r,l)},setTreeValues:function t(e,i){let s=i.before,n=i.idRoot,r=i.mapIdToNode[n],l=!1!==i.levelIsConstant,a=i.points[e.i],d=a&&a.options||{},h=[],p=0;e.levelDynamic=e.level-(l?0:r.level),e.name=(0,o.pick)(a&&a.name,""),e.visible=n===e.id||!0===i.visible,"function"==typeof s&&(e=s(e,i)),e.children.forEach((s,n)=>{let r=(0,o.extend)({},i);(0,o.extend)(r,{index:n,siblings:e.children.length,visible:e.visible}),s=t(s,r),h.push(s),s.visible&&(p+=s.val)});let c=(0,o.pick)(d.value,p);return e.visible=c>=0&&(p>0||e.visible),e.children=h,e.childrenTotal=p,e.isLeaf=e.visible&&!p,e.val=c,e},updateRootId:function(t){let e,i;return(0,o.isObject)(t)&&(i=(0,o.isObject)(t.options)?t.options:{},e=(0,o.pick)(t.rootNode,i.rootId,""),(0,o.isObject)(t.userOptions)&&(t.userOptions.rootId=e),t.rootNode=e),e}};i=N(),(0,o.pushUnique)(C,"TextPath")&&((0,o.addEvent)(i,"afterGetBBox",function(t){let e=t.bBox,o=this.element?.querySelector("textPath");if(o){let t=[],{b:i,h:s}=this.renderer.fontMetrics(this.element),n=s-i,r=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),l=o.innerHTML.replace(r,"").split(/<tspan class="highcharts-br"[^>]*>/),a=l.length,d=(t,e)=>{let{x:s,y:r}=e,l=(o.getRotationOfChar(t)-90)*P,a=Math.cos(l),d=Math.sin(l);return[[s-n*a,r-n*d],[s+i*a,r+i*d]]};for(let e=0,i=0;i<a;i++){let s=l[i].length;for(let n=0;n<s;n+=5)try{let s=e+n+i,[r,l]=d(s,o.getStartPositionOfChar(s));0===n?(t.push(l),t.push(r)):(0===i&&t.unshift(l),i===a-1&&t.push(r))}catch{break}e+=s-1;try{let s=e+i,n=o.getEndPositionOfChar(s),[r,l]=d(s,n);t.unshift(l),t.unshift(r)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,o.addEvent)(i,"beforeAddingDataLabel",function(t){let e=t.labelOptions,o=t.point,i=e[o.formatPrefix+"TextPath"]||e.textPath;i&&!e.useHTML&&(this.setTextPath(o.getDataLabelPath?.(this)||o.graphic,i),o.dataLabelPath&&!i.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy()))}),i.prototype.setTextPath=i.prototype.setTextPath??function(t,e){let i=this.renderer.url,s=this.text||this,n=s.textPath,{attributes:r,enabled:l}=(0,o.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||n&&n.path,n?.undo(),t&&l){let e=(0,o.addEvent)(s,"afterModifyTree",e=>{if(t&&l){let n=t.attr("id");n||t.attr("id",n=(0,o.uniqueKey)());let l={x:0,y:0};(0,o.defined)(r.dx)&&(l.dx=r.dx,delete r.dx),(0,o.defined)(r.dy)&&(l.dy=r.dy,delete r.dy),s.attr(l),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let a=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,o.extend)(r,{"text-anchor":r.textAnchor,href:`${i}#${n}`}),children:a}}});s.textPath={path:t,undo:e}}else s.attr({dx:0,dy:0}),delete s.textPath;return this.added&&(s.textCache="",this.renderer.buildText(s)),this});class M extends L{static getDLOptions(t){let e=(0,o.isObject)(t.optionsPoint)?t.optionsPoint.dataLabels:{},i=(0,o.isObject)(t.level)?t.level.dataLabels:{};return(0,o.merge)({style:{}},i,e,{zIndex:i?.zIndex})}createNodeColumns(){let t=[];for(let e of this.nodes)e.setNodeColumn(),t[e.column]||(t[e.column]=b.compose([],this)),t[e.column].push(e);for(let e=0;e<t.length;e++)void 0===t[e]&&(t[e]=b.compose([],this));return t}order(t,e,o){if(o||(o=new Set),void 0===t.level||t.level<e){for(let i of(t.level=e,o.add(t),t.linksFrom))i.toNode&&!o.has(i.toNode)&&this.order(i.toNode,e+1,o);o.delete(t)}}generatePoints(){if(p.generatePoints.apply(this,arguments),this.orderNodes){for(let t of this.nodes)0===t.linksTo.length&&this.order(t,0);(0,o.stableSort)(this.nodes,(t,e)=>t.level-e.level)}}getNodePadding(){let t=this.options.nodePadding||0;if(this.nodeColumns){let e=this.nodeColumns.reduce((t,e)=>Math.max(t,e.length),0);e*t>this.chart.plotSizeY&&(t=this.chart.plotSizeY/e)}return t}hasData(){return!!this.dataTable.rowCount}pointAttribs(t,e){if(!t)return{};let i=this,s=t.isNode?t.level:t.fromNode.level,n=i.mapOptionsToLevel[s||0]||{},r=t.options,l=n.states&&n.states[e||""]||{},a=["colorByPoint","borderColor","borderWidth","linkOpacity","opacity"].reduce((t,e)=>(t[e]=(0,o.pick)(l[e],r[e],n[e],i.options[e]),t),{}),d=(0,o.pick)(l.color,r.color,a.colorByPoint?t.color:n.color);return t.isNode?{fill:d,stroke:a.borderColor,"stroke-width":a.borderWidth,opacity:a.opacity}:{fill:d,"fill-opacity":a.linkOpacity}}drawTracker(){L.prototype.drawTracker.call(this,this.points),L.prototype.drawTracker.call(this,this.nodes)}drawPoints(){L.prototype.drawPoints.call(this,this.points),L.prototype.drawPoints.call(this,this.nodes)}drawDataLabels(){L.prototype.drawDataLabels.call(this,this.points),L.prototype.drawDataLabels.call(this,this.nodes)}translate(){this.generatePoints(),this.nodeColumns=this.createNodeColumns();let t=this,e=this.chart,o=this.options,i=this.nodeColumns,s=i.length;for(let n of(this.nodeWidth=w(this,s),this.nodePadding=this.getNodePadding(),this.translationFactor=i.reduce((e,o)=>Math.min(e,o.sankeyColumn.getTranslationFactor(t)),1/0),this.colDistance=(e.plotSizeX-this.nodeWidth-o.borderWidth)/Math.max(1,i.length-1),t.mapOptionsToLevel=S({from:1,levels:o.levels,to:i.length-1,defaults:{borderColor:o.borderColor,borderRadius:o.borderRadius,borderWidth:o.borderWidth,color:t.color,colorByPoint:o.colorByPoint,levelIsConstant:!0,linkColor:o.linkColor,linkLineWidth:o.linkLineWidth,linkOpacity:o.linkOpacity,states:o.states}}),i))for(let e of n)t.translateNode(e,n);for(let e of this.nodes)for(let o of e.linksFrom)(o.weight||o.isNull)&&o.to&&(t.translateLink(o),o.allowShadow=!1)}getY(t,e,o,i){let s=(e.offset(t,o)||0)*this.translationFactor;return Math.min(e.nodeY+s,e.nodeY+(e.shapeArgs&&e.shapeArgs.height||0)-i)}translateLink(t,e){let i=t.fromNode,s=t.toNode,n=this.chart,{inverted:r}=n,l=this.translationFactor,a=this.options,d=(0,o.pick)(t.linkColorMode,a.linkColorMode),h=(n.inverted?-this.colDistance:this.colDistance)*a.curveFactor,p=i.nodeX,c=s.nodeX,f=t.outgoing,u=Math.max((t.weight||0)*l,this.options.minLinkWidth||0),m=this.getY(t,i,"linksFrom",u),g=e||this.getY(t,s,"linksTo",u),y=this.nodeWidth,b=c>p+y;if(n.inverted&&(m=n.plotSizeY-m,g=(n.plotSizeY||0)-g,y=-y,u=-u,b=p>c),t.shapeType="path",t.linkBase=[m,m+u,g,g+u],b&&"number"==typeof g)t.shapeArgs={d:[["M",p+y,m],["C",p+y+h,m,c-h,g,c,g],["L",c+(f?y:0),g+u/2],["L",c,g+u],["C",c-h,g+u,p+y+h,m+u,p+y,m+u],["Z"]]};else if("number"==typeof g){let e=n.plotHeight-m-u,o=c-20-u,i=c-20,s=p+y,r=s+20,l=r+u,a=m,d=m+u,h=d+20,f=h+e,b=f+20,v=b+u,k=g,x=k+u,N=x+20,C=d-.7*u,P=b+.7*u,L=x-.7*u,O=c-.7*u,T=s+.7*u;t.shapeArgs={d:[["M",s,a],["C",T,a,l,C,l,h],["L",l,f],["C",l,P,T,v,s,v],["L",c,v],["C",O,v,o,P,o,f],["L",o,N],["C",o,L,O,k,c,k],["L",c,x],["C",i,x,i,x,i,N],["L",i,f],["C",i,b,i,b,c,b],["L",s,b],["C",r,b,r,b,r,f],["L",r,h],["C",r,d,r,d,s,d],["Z"]]}}if(t.dlBox={x:p+(c-p+y)/2,y:m+(g-m)/2,height:u,width:0},t.tooltipPos=n.inverted?[n.plotSizeY-t.dlBox.y-u/2,n.plotSizeX-t.dlBox.x]:[t.dlBox.x,t.dlBox.y+u/2],t.y=t.plotY=1,t.x=t.plotX=1,!t.options.color){if("from"===d)t.color=i.color;else if("to"===d)t.color=s.color;else if("gradient"===d){let e=T(i.color).get(),o=T(s.color).get();t.color={linearGradient:{x1:1,x2:0,y1:0,y2:0},stops:[[0,r?e:o],[1,r?o:e]]}}}}translateNode(t,e){let i=this.translationFactor,s=this.chart,n=this.options,{borderRadius:r,borderWidth:l=0}=n,a=t.getSum(),d=Math.max(Math.round(a*i),this.options.minLinkWidth),h=Math.round(this.nodeWidth),p=e.sankeyColumn.offset(t,i),c=(0,o.crisp)((0,o.pick)(p.absoluteTop,e.sankeyColumn.top(i)+p.relativeTop),l),f=(0,o.crisp)(this.colDistance*t.column+l/2,l)+(0,o.relativeLength)(t.options[s.inverted?"offsetVertical":"offsetHorizontal"]||0,h),u=s.inverted?s.plotSizeX-f:f;if(t.sum=a,a){t.shapeType="roundedRect",t.nodeX=u,t.nodeY=c;let e=u,i=c,l=t.options.width||n.width||h,a=t.options.height||n.height||d,p=(0,o.clamp)((0,o.relativeLength)(((0,o.isObject)(r)?r.radius:r)||0,l),0,d/2);s.inverted&&(e=u-h,i=s.plotSizeY-c-d,l=t.options.height||n.height||h,a=t.options.width||n.width||d),t.dlOptions={...M.getDLOptions({level:this.mapOptionsToLevel[t.level],optionsPoint:t.options}),zIndex:void 0},delete t.dlOptions.zIndex,t.plotX=1,t.plotY=1,t.tooltipPos=s.inverted?[s.plotSizeY-i-a/2,s.plotSizeX-e-l/2]:[e+l/2,i+a/2],t.shapeArgs={x:e,y:i,width:l,height:a,r:p,display:t.hasShape()?"":"none"}}else t.dlOptions={enabled:!1}}}M.defaultOptions=(0,o.merge)(L.defaultOptions,{borderWidth:0,colorByPoint:!0,curveFactor:.33,dataLabels:{enabled:!0,backgroundColor:"none",crop:!1,nodeFormat:void 0,nodeFormatter:function(){return this.point.name},format:void 0,formatter:function(){},inside:!0},inactiveOtherPoints:!0,linkColorMode:"from",linkOpacity:.5,opacity:1,minLinkWidth:0,nodeAlignment:"center",nodeWidth:20,nodePadding:10,nodeDistance:30,showInLegend:!1,states:{hover:{linkOpacity:1,opacity:1},inactive:{linkOpacity:.1,opacity:.1,animation:{duration:50}}},tooltip:{followPointer:!0,headerFormat:'<span style="font-size: 0.8em">{series.name}</span><br/>',pointFormat:"{point.fromNode.name} → {point.toNode.name}: <b>{point.weight}</b><br/>",nodeFormat:"{point.name}: <b>{point.sum}</b><br/>"}}),p.compose(m,M),(0,o.extend)(M.prototype,{animate:O.prototype.animate,createNode:p.createNode,forceDL:!0,invertible:!0,isCartesian:!1,orderNodes:!0,noSharedTooltip:!0,pointArrayMap:["from","to","weight"],pointClass:m,searchPoint:r().noop}),a().registerSeriesType("sankey",M);let F=r();export{F as default};
13
+ */import*as t from"../highcharts.js";let e={};e.n=t=>{let o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},e.d=(t,o)=>{if(Array.isArray(o))for(var i=0;i<o.length;){var s=o[i++],n=o[i++];e.o(t,s)?0===n&&i++:0===n?Object.defineProperty(t,s,{enumerable:!0,value:o[i++]}):Object.defineProperty(t,s,{enumerable:!0,get:n})}else for(var s in o)e.o(o,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:o[s]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let o=t.default;var i,s,n,r=e.n(o);let l=t.default.SeriesRegistry;var a=e.n(l);let{series:{prototype:d,prototype:{pointClass:{prototype:h}}}}=a();!function(t){function e(){if(!this.hasDataLabels?.()&&this.nodes)for(let t of this.nodes)t.destroyElements({dataLabel:1})}function i(){return this.data=[].concat(this.points||[],this.nodes),d.destroy.apply(this,arguments)}function s(){this.nodes&&(this.nodes.forEach(t=>{t.destroy()}),this.nodes.length=0),d.setData.apply(this,arguments)}function n(t){let e=arguments,o=this.isNode?this.linksTo.concat(this.linksFrom):[this.fromNode,this.toNode];"select"!==t&&o.forEach(t=>{t&&t.series&&(h.setState.apply(t,e),!t.isNode&&(t.fromNode.graphic&&h.setState.apply(t.fromNode,e),t.toNode&&t.toNode.graphic&&h.setState.apply(t.toNode,e)))}),h.setState.apply(this,e)}function r(t,e,i,s){let n=this.series.options.nodes,r=this.series.options.data,l=r?.length||0,a=r?.[this.index];if(h.update.call(this,t,!this.isNode&&e,i,s),this.isNode){let t=(n||[]).reduce((t,e,o)=>this.id===e.id?o:t,-1),s=(0,o.merge)(n&&n[t]||{},r?.[this.index]||{});r&&(a?r[this.index]=a:r.length=l),n?t>=0?n[t]=s:n.push(s):this.series.options.nodes=[s],(e??!0)&&this.series.chart.redraw(i)}}t.compose=function(t,l){let a=t.prototype,d=l.prototype;return a.setNodeState=n,a.setState=n,a.update=r,d.destroy=i,d.setData=s,(0,o.addEvent)(l,"afterUpdate",e),l},t.createNode=function(t){let e=this.pointClass,i=(t,e)=>(0,o.find)(t,t=>t.id===e),s=i(this.nodes,t),n;if(!s){n=this.options.nodes&&i(this.options.nodes,t);let r=new e(this,(0,o.extend)({className:"highcharts-node",isNode:!0,id:t,y:1},n));r.linksTo=[],r.linksFrom=[],r.getSum=function(){let t=0,e=0;return r.linksTo.forEach(e=>{t+=e.weight||0}),r.linksFrom.forEach(t=>{e+=t.weight||0}),Math.max(t,e)},r.offset=function(t,e){let o=0;for(let i=0;i<r[e].length;i++){if(r[e][i]===t)return o;o+=r[e][i].weight}},r.hasShape=function(){let t=0;return r.linksTo.forEach(e=>{e.outgoing&&t++}),!r.linksTo.length||t!==r.linksTo.length},r.index=this.nodes.push(r)-1,s=r}return s.formatPrefix="node",s.name=s.name||s.options.id||"",s.mass=s.options.mass??(s.options.marker&&s.options.marker.radius)??(this.options.marker&&this.options.marker.radius)??4,s},t.destroy=i,t.generatePoints=function(){let t=this.chart,e={};d.generatePoints.call(this),this.nodes||(this.nodes=[]),this.colorCounter=0,this.nodes.forEach(t=>{t.linksFrom.length=0,t.linksTo.length=0,t.level=t.options.level}),this.points.forEach(i=>{(0,o.defined)(i.from)&&(e[i.from]||(e[i.from]=this.createNode(i.from)),e[i.from].linksFrom.push(i),i.fromNode=e[i.from],t.styledMode?i.colorIndex=i.options.colorIndex??e[i.from].colorIndex:i.color=i.options.color||e[i.from].color),(0,o.defined)(i.to)&&(e[i.to]||(e[i.to]=this.createNode(i.to)),e[i.to].linksTo.push(i),i.toNode=e[i.to]),i.name=i.name||i.id},this),this.nodeLookup=e},t.setNodeState=n,t.updateNode=r}(s||(s={}));let p=s,c=t.default.Point;var f=e.n(c);let{column:u}=a().seriesTypes;class m extends u.prototype.pointClass{applyOptions(t,e){return f().prototype.applyOptions.call(this,t,e),(0,o.defined)(this.options.level)&&(this.options.column=this.column=this.options.level),this}getClassName(){return(this.isNode?"highcharts-node ":"highcharts-link ")+f().prototype.getClassName.call(this)}getFromNode(){let t=-1,e;for(let o=0;o<this.linksTo.length;o++){let i=this.linksTo[o];i.fromNode.column>t&&i.fromNode!==this&&(t=(e=i.fromNode).column)}return{fromNode:e,fromColumn:t}}setNodeColumn(){(0,o.defined)(this.options.column)||(0===this.linksTo.length?this.column=0:this.column=this.getFromNode().fromColumn+1)}isValid(){return this.isNode||"number"==typeof this.weight}}var g=n||(n={});g.compose=function(t,e){return t.sankeyColumn=new y(t,e),t};class y{constructor(t,e){this.points=t,this.series=e}getTranslationFactor(t){let e=this.points,o=e.slice(),i=t.chart,s=t.options.minLinkWidth||0,n,r=0,l,a=(i.plotSizeY||0)-(t.options.borderWidth||0)-(e.length-1)*t.nodePadding;for(;e.length;){for(r=a/e.sankeyColumn.sum(),n=!1,l=e.length;l--;)e[l].getSum()*r<s&&(e.splice(l,1),a=Math.max(0,a-s),n=!0);if(!n)break}for(let t of(e.length=0,o))e.push(t);return r}top(t){let e=this.series,i=e.nodePadding,s=this.points.reduce((o,s)=>(o>0&&(o+=i),o+=Math.max(s.getSum()*t,e.options.minLinkWidth||0)),0);return(0,o.getAlignFactor)(e.options.nodeAlignment||"center")*((e.chart.plotSizeY||0)-s)}left(t){let e=this.series,o=e.chart,i=e.options.equalNodes,s=o.inverted?o.plotHeight:o.plotWidth,n=e.nodePadding,r=this.points.reduce((o,r)=>(o>0&&(o+=n),o+=i?s/r.series.nodes.length-n:Math.max(r.getSum()*t,e.options.minLinkWidth||0)),0);return((o.plotSizeX||0)-Math.round(r))/2}sum(){return this.points.reduce((t,e)=>t+e.getSum(),0)}offset(t,e){let i=this.points,s=this.series,n=s.nodePadding,r=0,l;if(s.is("organization")&&t.hangsFrom)return{absoluteTop:t.hangsFrom.nodeY};for(let a=0;a<i.length;a++){let d=i[a].getSum(),h=Math.max(d*e,s.options.minLinkWidth||0),p=t.options[s.chart.inverted?"offsetHorizontal":"offsetVertical"],c=t.options.offset||0;if(l=d?h+n:0,i[a]===t)return{relativeTop:r+((0,o.defined)(p)?(0,o.relativeLength)(p,h):(0,o.relativeLength)(c,l))};r+=l}}}g.SankeyColumnAdditions=y;let b=n,v=t.default.Color;var x=e.n(v);let k=t.default.SVGElement;var N=e.n(k);let{composed:C,deg2rad:P}=r(),{column:L,line:O}=a().seriesTypes,{parse:T}=x(),{getLevelOptions:S,getNodeWidth:w}={getColor:function(t,e){let o,i,s,n,r,l,a=e.index,d=e.mapOptionsToLevel,h=e.parentColor,p=e.parentColorIndex,c=e.series,f=e.colors,u=e.siblings,m=c.points,g=c.chart.options.chart;if(t){let y;o=m[t.i],i=d[t.level]||{},o&&i.colorByPoint&&(n=o.index%(f?f.length:g.colorCount),s=f&&f[n]),c.chart.styledMode||(r=(o&&o.options.color)??(i&&i.color)??s??(h&&((y=i&&i.colorVariation)&&"brightness"===y.key&&a&&u?x().parse(h).brighten(y.to*(a/u)).get():h))??c.color),l=(o&&o.options.colorIndex)??(i&&i.colorIndex)??n??p??e.colorIndex}return{color:r,colorIndex:l}},getLevelOptions:function(t){let e,i,s,n,r,l,a={};if((0,o.isObject)(t))for(n=(0,o.isNumber)(t.from)?t.from:1,l=t.levels,i={},e=(0,o.isObject)(t.defaults)?t.defaults:{},(0,o.isArray)(l)&&(i=l.reduce((t,i)=>{let s,r,l;return(0,o.isObject)(i)&&(0,o.isNumber)(i.level)&&(r=(l=(0,o.merge)({},i)).levelIsConstant??e.levelIsConstant,delete l.levelIsConstant,delete l.level,s=i.level+(r?0:n-1),(0,o.isObject)(t[s])?(0,o.merge)(!0,t[s],l):t[s]=l),t},{})),r=(0,o.isNumber)(t.to)?t.to:1,s=0;s<=r;s++)a[s]=(0,o.merge)({},e,(0,o.isObject)(i[s])?i[s]:{});return a},getNodeWidth:function(t,e){let{chart:i,options:s}=t,{nodeDistance:n=0,nodeWidth:r=0}=s,{plotSizeX:l=1}=i;if("auto"===r){if("string"==typeof n&&/%$/.test(n))return l/(e+parseFloat(n)/100*(e-1));let t=Number(n);return(l+t)/(e||1)-t}return(0,o.relativeLength)(r,l)},setTreeValues:function t(e,i){let s=i.before,n=i.idRoot,r=i.mapIdToNode[n],l=!1!==i.levelIsConstant,a=i.points[e.i],d=a&&a.options||{},h=[],p=0;e.levelDynamic=e.level-(l?0:r.level),e.name=(a&&a.name)??"",e.visible=n===e.id||!0===i.visible,"function"==typeof s&&(e=s(e,i)),e.children.forEach((s,n)=>{let r=(0,o.extend)({},i);(0,o.extend)(r,{index:n,siblings:e.children.length,visible:e.visible}),s=t(s,r),h.push(s),s.visible&&(p+=s.val)});let c=d.value??p;return e.visible=c>=0&&(p>0||e.visible),e.children=h,e.childrenTotal=p,e.isLeaf=e.visible&&!p,e.val=c,e},updateRootId:function(t){let e,i;return(0,o.isObject)(t)&&(i=(0,o.isObject)(t.options)?t.options:{},e=t.rootNode??i.rootId??"",(0,o.isObject)(t.userOptions)&&(t.userOptions.rootId=e),t.rootNode=e),e}};i=N(),(0,o.pushUnique)(C,"TextPath")&&((0,o.addEvent)(i,"afterGetBBox",function(t){let e=t.bBox,o=this.element?.querySelector("textPath");if(o){let t=[],{b:i,h:s}=this.renderer.fontMetrics(this.element),n=s-i,r=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),l=o.innerHTML.replace(r,"").split(/<tspan class="highcharts-br"[^>]*>/),a=l.length,d=(t,e)=>{let{x:s,y:r}=e,l=(o.getRotationOfChar(t)-90)*P,a=Math.cos(l),d=Math.sin(l);return[[s-n*a,r-n*d],[s+i*a,r+i*d]]};for(let e=0,i=0;i<a;i++){let s=l[i].length;for(let n=0;n<s;n+=5)try{let s=e+n+i,[r,l]=d(s,o.getStartPositionOfChar(s));0===n?(t.push(l),t.push(r)):(0===i&&t.unshift(l),i===a-1&&t.push(r))}catch{break}e+=s-1;try{let s=e+i,n=o.getEndPositionOfChar(s),[r,l]=d(s,n);t.unshift(l),t.unshift(r)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,o.addEvent)(i,"beforeAddingDataLabel",function(t){let e=t.labelOptions,o=t.point,i=e[o.formatPrefix+"TextPath"]||e.textPath;i&&!e.useHTML&&(this.setTextPath(o.getDataLabelPath?.(this)||o.graphic,i),o.dataLabelPath&&!i.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy()))}),i.prototype.setTextPath=i.prototype.setTextPath??function(t,e){let i=this.renderer.url,s=this.text||this,n=s.textPath,{attributes:r,enabled:l}=(0,o.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||n&&n.path,n?.undo(),t&&l){let e=(0,o.addEvent)(s,"afterModifyTree",e=>{if(t&&l){let n=t.attr("id");n||t.attr("id",n=(0,o.uniqueKey)());let l={x:0,y:0};(0,o.defined)(r.dx)&&(l.dx=r.dx,delete r.dx),(0,o.defined)(r.dy)&&(l.dy=r.dy,delete r.dy),s.attr(l),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let a=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,o.extend)(r,{"text-anchor":r.textAnchor,href:`${i}#${n}`}),children:a}}});s.textPath={path:t,undo:e}}else s.attr({dx:0,dy:0}),delete s.textPath;return this.added&&(s.textCache="",this.renderer.buildText(s)),this});class M extends L{static getDLOptions(t){let e=(0,o.isObject)(t.optionsPoint)?t.optionsPoint.dataLabels:{},i=(0,o.isObject)(t.level)?t.level.dataLabels:{};return(0,o.merge)({style:{}},i,e,{zIndex:i?.zIndex})}createNodeColumns(){let t=[];for(let e of this.nodes)e.setNodeColumn(),t[e.column]||(t[e.column]=b.compose([],this)),t[e.column].push(e);for(let e=0;e<t.length;e++)void 0===t[e]&&(t[e]=b.compose([],this));return t}order(t,e,o){if(o||(o=new Set),void 0===t.level||t.level<e){for(let i of(t.level=e,o.add(t),t.linksFrom))i.toNode&&!o.has(i.toNode)&&this.order(i.toNode,e+1,o);o.delete(t)}}generatePoints(){if(p.generatePoints.apply(this,arguments),this.orderNodes){for(let t of this.nodes)0===t.linksTo.length&&this.order(t,0);(0,o.stableSort)(this.nodes,(t,e)=>t.level-e.level)}}getNodePadding(){let t=this.options.nodePadding||0;if(this.nodeColumns){let e=this.nodeColumns.reduce((t,e)=>Math.max(t,e.length),0);e*t>this.chart.plotSizeY&&(t=this.chart.plotSizeY/e)}return t}hasData(){return!!this.dataTable.rowCount}pointAttribs(t,e){if(!t)return{};let o=this,i=t.isNode?t.level:t.fromNode.level,s=o.mapOptionsToLevel[i||0]||{},n=t.options,r=s.states&&s.states[e||""]||{},l=["colorByPoint","borderColor","borderWidth","linkOpacity","opacity"].reduce((t,e)=>(t[e]=r[e]??n[e]??s[e]??o.options[e],t),{}),a=r.color??n.color??(l.colorByPoint?t.color:s.color);return t.isNode?{fill:a,stroke:l.borderColor,"stroke-width":l.borderWidth,opacity:l.opacity}:{fill:a,"fill-opacity":l.linkOpacity}}drawTracker(){L.prototype.drawTracker.call(this,this.points),L.prototype.drawTracker.call(this,this.nodes)}drawPoints(){L.prototype.drawPoints.call(this,this.points),L.prototype.drawPoints.call(this,this.nodes)}drawDataLabels(){L.prototype.drawDataLabels.call(this,this.points),L.prototype.drawDataLabels.call(this,this.nodes)}translate(){this.generatePoints(),this.nodeColumns=this.createNodeColumns();let t=this,e=this.chart,o=this.options,i=this.nodeColumns,s=i.length;for(let n of(this.nodeWidth=w(this,s),this.nodePadding=this.getNodePadding(),this.translationFactor=i.reduce((e,o)=>Math.min(e,o.sankeyColumn.getTranslationFactor(t)),1/0),this.colDistance=(e.plotSizeX-this.nodeWidth-o.borderWidth)/Math.max(1,i.length-1),t.mapOptionsToLevel=S({from:1,levels:o.levels,to:i.length-1,defaults:{borderColor:o.borderColor,borderRadius:o.borderRadius,borderWidth:o.borderWidth,color:t.color,colorByPoint:o.colorByPoint,levelIsConstant:!0,linkColor:o.linkColor,linkLineWidth:o.linkLineWidth,linkOpacity:o.linkOpacity,states:o.states}}),i))for(let e of n)t.translateNode(e,n);for(let e of this.nodes)for(let o of e.linksFrom)(o.weight||o.isNull)&&o.to&&(t.translateLink(o),o.allowShadow=!1)}getY(t,e,o,i){let s=(e.offset(t,o)||0)*this.translationFactor;return Math.min(e.nodeY+s,e.nodeY+(e.shapeArgs&&e.shapeArgs.height||0)-i)}translateLink(t,e){let o=t.fromNode,i=t.toNode,s=this.chart,{inverted:n}=s,r=this.translationFactor,l=this.options,a=t.linkColorMode??l.linkColorMode,d=(s.inverted?-this.colDistance:this.colDistance)*l.curveFactor,h=o.nodeX,p=i.nodeX,c=t.outgoing,f=Math.max((t.weight||0)*r,this.options.minLinkWidth||0),u=this.getY(t,o,"linksFrom",f),m=e||this.getY(t,i,"linksTo",f),g=this.nodeWidth,y=p>h+g;if(s.inverted&&(u=s.plotSizeY-u,m=(s.plotSizeY||0)-m,g=-g,f=-f,y=h>p),t.shapeType="path",t.linkBase=[u,u+f,m,m+f],y&&"number"==typeof m)t.shapeArgs={d:[["M",h+g,u],["C",h+g+d,u,p-d,m,p,m],["L",p+(c?g:0),m+f/2],["L",p,m+f],["C",p-d,m+f,h+g+d,u+f,h+g,u+f],["Z"]]};else if("number"==typeof m){let e=s.plotHeight-u-f,o=p-20-f,i=p-20,n=h+g,r=n+20,l=r+f,a=u,d=u+f,c=d+20,y=c+e,b=y+20,v=b+f,x=m,k=x+f,N=k+20,C=d-.7*f,P=b+.7*f,L=k-.7*f,O=p-.7*f,T=n+.7*f;t.shapeArgs={d:[["M",n,a],["C",T,a,l,C,l,c],["L",l,y],["C",l,P,T,v,n,v],["L",p,v],["C",O,v,o,P,o,y],["L",o,N],["C",o,L,O,x,p,x],["L",p,k],["C",i,k,i,k,i,N],["L",i,y],["C",i,b,i,b,p,b],["L",n,b],["C",r,b,r,b,r,y],["L",r,c],["C",r,d,r,d,n,d],["Z"]]}}if(t.dlBox={x:h+(p-h+g)/2,y:u+(m-u)/2,height:f,width:0},t.tooltipPos=s.inverted?[s.plotSizeY-t.dlBox.y-f/2,s.plotSizeX-t.dlBox.x]:[t.dlBox.x,t.dlBox.y+f/2],t.y=t.plotY=1,t.x=t.plotX=1,!t.options.color){if("from"===a)t.color=o.color;else if("to"===a)t.color=i.color;else if("gradient"===a){let e=T(o.color).get(),s=T(i.color).get();t.color={linearGradient:{x1:1,x2:0,y1:0,y2:0},stops:[[0,n?e:s],[1,n?s:e]]}}}}translateNode(t,e){let i=this.translationFactor,s=this.chart,n=this.options,{borderRadius:r,borderWidth:l=0}=n,a=t.getSum(),d=Math.max(Math.round(a*i),this.options.minLinkWidth),h=Math.round(this.nodeWidth),p=e.sankeyColumn.offset(t,i),c=(0,o.crisp)(p.absoluteTop??e.sankeyColumn.top(i)+p.relativeTop,l),f=(0,o.crisp)(this.colDistance*t.column+l/2,l)+(0,o.relativeLength)(t.options[s.inverted?"offsetVertical":"offsetHorizontal"]||0,h),u=s.inverted?s.plotSizeX-f:f;if(t.sum=a,a){t.shapeType="roundedRect",t.nodeX=u,t.nodeY=c;let e=u,i=c,l=t.options.width||n.width||h,a=t.options.height||n.height||d,p=(0,o.clamp)((0,o.relativeLength)(((0,o.isObject)(r)?r.radius:r)||0,l),0,d/2);s.inverted&&(e=u-h,i=s.plotSizeY-c-d,l=t.options.height||n.height||h,a=t.options.width||n.width||d),t.dlOptions={...M.getDLOptions({level:this.mapOptionsToLevel[t.level],optionsPoint:t.options}),zIndex:void 0},delete t.dlOptions.zIndex,t.plotX=1,t.plotY=1,t.tooltipPos=s.inverted?[s.plotSizeY-i-a/2,s.plotSizeX-e-l/2]:[e+l/2,i+a/2],t.shapeArgs={x:e,y:i,width:l,height:a,r:p,display:t.hasShape()?"":"none"}}else t.dlOptions={enabled:!1}}}M.defaultOptions=(0,o.merge)(L.defaultOptions,{borderWidth:0,colorByPoint:!0,curveFactor:.33,dataLabels:{enabled:!0,backgroundColor:"none",crop:!1,nodeFormat:void 0,nodeFormatter:function(){return this.point.name},format:void 0,formatter:function(){},inside:!0},inactiveOtherPoints:!0,linkColorMode:"from",linkOpacity:.5,opacity:1,minLinkWidth:0,nodeAlignment:"center",nodeWidth:20,nodePadding:10,nodeDistance:30,showInLegend:!1,states:{hover:{linkOpacity:1,opacity:1},inactive:{linkOpacity:.1,opacity:.1,animation:{duration:50}}},tooltip:{followPointer:!0,headerFormat:'<span style="font-size: 0.8em">{series.name}</span><br/>',pointFormat:"{point.fromNode.name} → {point.toNode.name}: <b>{point.weight}</b><br/>",nodeFormat:"{point.name}: <b>{point.sum}</b><br/>"}}),p.compose(m,M),(0,o.extend)(M.prototype,{animate:O.prototype.animate,createNode:p.createNode,forceDL:!0,invertible:!0,isCartesian:!1,orderNodes:!0,noSharedTooltip:!0,pointArrayMap:["from","to","weight"],pointClass:m,searchPoint:r().noop}),a().registerSeriesType("sankey",M);let F=r();export{F as default};
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v13.0.1 (2026-08-17)
3
+ * @license Highcharts JS v13.0.2 (2026-08-27)
4
4
  * @module highcharts/modules/sankey
5
5
  * @requires highcharts
6
6
  *
@@ -184,13 +184,10 @@ var NodesComposition;
184
184
  // For use in formats
185
185
  node.name = node.name || node.options.id || '';
186
186
  // Mass is used in networkgraph:
187
- node.mass = (0,external_highcharts_src_js_default_namespaceObject.pick)(
188
- // Node:
189
- node.options.mass, node.options.marker && node.options.marker.radius,
190
- // Series:
191
- this.options.marker && this.options.marker.radius,
192
- // Default:
193
- 4);
187
+ node.mass = (node.options.mass ??
188
+ (node.options.marker && node.options.marker.radius) ??
189
+ (this.options.marker && this.options.marker.radius) ??
190
+ 4);
194
191
  return node;
195
192
  }
196
193
  NodesComposition.createNode = createNode;
@@ -233,7 +230,9 @@ var NodesComposition;
233
230
  point.fromNode = nodeLookup[point.from];
234
231
  // Point color defaults to the fromNode's color
235
232
  if (chart.styledMode) {
236
- point.colorIndex = (0,external_highcharts_src_js_default_namespaceObject.pick)(point.options.colorIndex, nodeLookup[point.from].colorIndex);
233
+ point.colorIndex =
234
+ point.options.colorIndex ??
235
+ nodeLookup[point.from].colorIndex;
237
236
  }
238
237
  else {
239
238
  point.color =
@@ -331,7 +330,7 @@ var NodesComposition;
331
330
  else {
332
331
  this.series.options.nodes = [nodeConfig];
333
332
  }
334
- if ((0,external_highcharts_src_js_default_namespaceObject.pick)(redraw, true)) {
333
+ if (redraw ?? true) {
335
334
  this.series.chart.redraw(animation);
336
335
  }
337
336
  }
@@ -1323,9 +1322,17 @@ function getColor(node, options) {
1323
1322
  }
1324
1323
  // Select either point color, level color or inherited color.
1325
1324
  if (!series.chart.styledMode) {
1326
- color = (0,external_highcharts_src_js_default_namespaceObject.pick)(point && point.options.color, level && level.color, colorByPoint, parentColor && variateColor(parentColor), series.color);
1325
+ color = ((point && point.options.color) ??
1326
+ (level && level.color) ??
1327
+ colorByPoint ??
1328
+ (parentColor && variateColor(parentColor)) ??
1329
+ series.color);
1327
1330
  }
1328
- colorIndex = (0,external_highcharts_src_js_default_namespaceObject.pick)(point && point.options.colorIndex, level && level.colorIndex, colorIndexByPoint, parentColorIndex, options.colorIndex);
1331
+ colorIndex = ((point && point.options.colorIndex) ??
1332
+ (level && level.colorIndex) ??
1333
+ colorIndexByPoint ??
1334
+ parentColorIndex ??
1335
+ options.colorIndex);
1329
1336
  }
1330
1337
  return {
1331
1338
  color: color,
@@ -1362,7 +1369,8 @@ function getLevelOptions(params) {
1362
1369
  let level, levelIsConstant, options;
1363
1370
  if ((0,external_highcharts_src_js_default_namespaceObject.isObject)(item) && (0,external_highcharts_src_js_default_namespaceObject.isNumber)(item.level)) {
1364
1371
  options = (0,external_highcharts_src_js_default_namespaceObject.merge)({}, item);
1365
- levelIsConstant = (0,external_highcharts_src_js_default_namespaceObject.pick)(options.levelIsConstant, defaults.levelIsConstant);
1372
+ levelIsConstant =
1373
+ options.levelIsConstant ?? defaults.levelIsConstant;
1366
1374
  // Delete redundant properties.
1367
1375
  delete options.levelIsConstant;
1368
1376
  delete options.level;
@@ -1394,7 +1402,7 @@ function setTreeValues(tree, options) {
1394
1402
  const before = options.before, idRoot = options.idRoot, mapIdToNode = options.mapIdToNode, nodeRoot = mapIdToNode[idRoot], levelIsConstant = (options.levelIsConstant !== false), points = options.points, point = points[tree.i], optionsPoint = point && point.options || {}, children = [];
1395
1403
  let childrenTotal = 0;
1396
1404
  tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
1397
- tree.name = (0,external_highcharts_src_js_default_namespaceObject.pick)(point && point.name, '');
1405
+ tree.name = ((point && point.name) ?? '');
1398
1406
  tree.visible = (idRoot === tree.id ||
1399
1407
  options.visible === true);
1400
1408
  if (typeof before === 'function') {
@@ -1415,7 +1423,7 @@ function setTreeValues(tree, options) {
1415
1423
  }
1416
1424
  });
1417
1425
  // Set the values
1418
- const value = (0,external_highcharts_src_js_default_namespaceObject.pick)(optionsPoint.value, childrenTotal);
1426
+ const value = (optionsPoint.value ?? childrenTotal);
1419
1427
  tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
1420
1428
  tree.children = children;
1421
1429
  tree.childrenTotal = childrenTotal;
@@ -1441,7 +1449,7 @@ function updateRootId(series) {
1441
1449
  // Get the series options.
1442
1450
  options = (0,external_highcharts_src_js_default_namespaceObject.isObject)(series.options) ? series.options : {};
1443
1451
  // Calculate the rootId.
1444
- rootId = (0,external_highcharts_src_js_default_namespaceObject.pick)(series.rootNode, options.rootId, '');
1452
+ rootId = (series.rootNode ?? options.rootId ?? '');
1445
1453
  // Set rootId on series.userOptions to pick it up in exporting.
1446
1454
  if ((0,external_highcharts_src_js_default_namespaceObject.isObject)(series.userOptions)) {
1447
1455
  series.userOptions.rootId = rootId;
@@ -1939,9 +1947,15 @@ class SankeySeries extends SankeySeries_ColumnSeries {
1939
1947
  'linkOpacity',
1940
1948
  'opacity'
1941
1949
  ].reduce((obj, key) => {
1942
- obj[key] = (0,external_highcharts_src_js_default_namespaceObject.pick)(stateOptions[key], options[key], levelOptions[key], series.options[key]);
1950
+ obj[key] =
1951
+ stateOptions[key] ??
1952
+ options[key] ??
1953
+ levelOptions[key] ??
1954
+ series.options[key];
1943
1955
  return obj;
1944
- }, {}), color = (0,external_highcharts_src_js_default_namespaceObject.pick)(stateOptions.color, options.color, values.colorByPoint ? point.color : levelOptions.color);
1956
+ }, {}), color = stateOptions.color ??
1957
+ options.color ??
1958
+ (values.colorByPoint ? point.color : levelOptions.color);
1945
1959
  // Node attributes
1946
1960
  if (point.isNode) {
1947
1961
  return {
@@ -2042,7 +2056,7 @@ class SankeySeries extends SankeySeries_ColumnSeries {
2042
2056
  * @internal
2043
2057
  */
2044
2058
  translateLink(point, linkToY) {
2045
- const fromNode = point.fromNode, toNode = point.toNode, chart = this.chart, { inverted } = chart, translationFactor = this.translationFactor, options = this.options, linkColorMode = (0,external_highcharts_src_js_default_namespaceObject.pick)(point.linkColorMode, options.linkColorMode), curvy = ((chart.inverted ? -this.colDistance : this.colDistance) *
2059
+ const fromNode = point.fromNode, toNode = point.toNode, chart = this.chart, { inverted } = chart, translationFactor = this.translationFactor, options = this.options, linkColorMode = (point.linkColorMode ?? options.linkColorMode), curvy = ((chart.inverted ? -this.colDistance : this.colDistance) *
2046
2060
  options.curveFactor), nodeLeft = fromNode.nodeX, right = toNode.nodeX, outgoing = point.outgoing;
2047
2061
  let linkHeight = Math.max((point.weight || 0) * translationFactor, this.options.minLinkWidth || 0), fromY = this.getY(point, fromNode, 'linksFrom', linkHeight), toY = linkToY || this.getY(point, toNode, 'linksTo', linkHeight), nodeW = this.nodeWidth, straight = right > nodeLeft + nodeW;
2048
2062
  if (chart.inverted) {
@@ -2166,7 +2180,7 @@ class SankeySeries extends SankeySeries_ColumnSeries {
2166
2180
  * @internal
2167
2181
  */
2168
2182
  translateNode(node, column) {
2169
- const translationFactor = this.translationFactor, chart = this.chart, options = this.options, { borderRadius, borderWidth = 0 } = options, sum = node.getSum(), nodeHeight = Math.max(Math.round(sum * translationFactor), this.options.minLinkWidth), nodeWidth = Math.round(this.nodeWidth), nodeOffset = column.sankeyColumn.offset(node, translationFactor), fromNodeTop = (0,external_highcharts_src_js_default_namespaceObject.crisp)((0,external_highcharts_src_js_default_namespaceObject.pick)(nodeOffset.absoluteTop, (column.sankeyColumn.top(translationFactor) +
2183
+ const translationFactor = this.translationFactor, chart = this.chart, options = this.options, { borderRadius, borderWidth = 0 } = options, sum = node.getSum(), nodeHeight = Math.max(Math.round(sum * translationFactor), this.options.minLinkWidth), nodeWidth = Math.round(this.nodeWidth), nodeOffset = column.sankeyColumn.offset(node, translationFactor), fromNodeTop = (0,external_highcharts_src_js_default_namespaceObject.crisp)((nodeOffset.absoluteTop ?? (column.sankeyColumn.top(translationFactor) +
2170
2184
  nodeOffset.relativeTop)), borderWidth), left = (0,external_highcharts_src_js_default_namespaceObject.crisp)(this.colDistance * node.column +
2171
2185
  borderWidth / 2, borderWidth) + (0,external_highcharts_src_js_default_namespaceObject.relativeLength)(node.options[chart.inverted ?
2172
2186
  'offsetVertical' :