highcharts 13.0.2 → 13.1.0
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.
- package/bower.json +1 -1
- package/css/highcharts.css +6 -2
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +10 -6
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +2 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +25 -1
- package/es-modules/Accessibility/KeyboardNavigation.js +1 -1
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +13 -3
- package/es-modules/Core/Animation/AnimationUtilities.js +7 -2
- package/es-modules/Core/Animation/Fx.js +1 -0
- package/es-modules/Core/Axis/Axis.js +181 -211
- package/es-modules/Core/Axis/Axis3DComposition.js +13 -15
- package/es-modules/Core/Axis/AxisDefaults.js +9 -8
- package/es-modules/Core/Axis/BrokenAxis.js +5 -4
- package/es-modules/Core/Axis/Color/ColorAxis.js +66 -54
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -0
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +6 -4
- package/es-modules/Core/Axis/DateTimeAxis.js +4 -3
- package/es-modules/Core/Axis/GridAxis.js +17 -13
- package/es-modules/Core/Axis/LogarithmicAxis.js +4 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +3 -4
- package/es-modules/Core/Axis/OrdinalAxis.js +0 -15
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +135 -72
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +72 -124
- package/es-modules/Core/Axis/RadialAxis.js +50 -7
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -0
- package/es-modules/Core/Axis/Stacking/StackItem.js +49 -75
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +34 -22
- package/es-modules/Core/Axis/Tick.js +95 -92
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +9 -13
- package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
- package/es-modules/Core/Chart/Chart.js +13 -4
- package/es-modules/Core/Chart/StockChart.js +20 -26
- package/es-modules/Core/Defaults.js +18 -0
- package/es-modules/Core/Globals.js +9 -7
- package/es-modules/Core/Pointer.js +7 -8
- package/es-modules/Core/Renderer/HTML/AST.js +18 -11
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +5 -1
- package/es-modules/Core/Renderer/SVG/SVGElement.js +1 -0
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
- package/es-modules/Core/Renderer/SVG/Symbols.js +1 -1
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +6 -2
- package/es-modules/Core/Series/OverlappingDataLabels.js +41 -32
- package/es-modules/Core/Series/Point.js +14 -11
- package/es-modules/Core/Series/Series.js +21 -10
- package/es-modules/Core/Tooltip.js +35 -40
- package/es-modules/Data/DataCursor.js +3 -2
- package/es-modules/Data/DataTable.js +21 -2
- package/es-modules/Data/DataTableCore.js +28 -4
- package/es-modules/Data/Formula/FormulaParser.js +30 -10
- package/es-modules/Extensions/Annotations/Annotation.js +5 -7
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +4 -13
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -4
- package/es-modules/Extensions/Breadcrumbs/BreadcrumbsDefaults.js +1 -1
- package/es-modules/Extensions/Data.js +4 -2
- package/es-modules/Extensions/DragPanes/DragPanes.js +6 -9
- package/es-modules/Extensions/Drilldown/Drilldown.js +9 -4
- package/es-modules/Extensions/ExportData/ExportData.js +24 -4
- package/es-modules/Extensions/Pane/Pane.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +5 -4
- package/es-modules/Extensions/StaticScale.js +13 -11
- package/es-modules/Series/Area/AreaSeriesDefaults.js +1 -1
- package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +1 -1
- package/es-modules/Series/AreaSpline/AreaSplineSeries.js +1 -1
- package/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +1 -1
- package/es-modules/Series/Bar/BarSeries.js +1 -1
- package/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js +1 -1
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +1 -1
- package/es-modules/Series/Bubble/BubbleSeries.js +1 -1
- package/es-modules/Series/Bullet/BulletSeriesDefaults.js +1 -1
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +1 -1
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +6 -3
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js +2 -3
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +1 -1
- package/es-modules/Series/Contour/ContourSeriesDefaults.js +12 -14
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +1 -1
- package/es-modules/Series/Flags/FlagsPoint.js +4 -2
- package/es-modules/Series/Flags/FlagsPointOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSeries.js +8 -7
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +7 -7
- package/es-modules/Series/Flags/FlagsSeriesOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSymbols.js +5 -3
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +1 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +1 -1
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +1 -1
- package/es-modules/Series/HLC/HLCSeriesDefaults.js +1 -7
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -1
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +1 -1
- package/es-modules/Series/Histogram/HistogramSeriesDefaults.js +1 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +1 -1
- package/es-modules/Series/Item/ItemSeriesDefaults.js +1 -1
- package/es-modules/Series/Line/LineSeries.js +0 -1
- package/es-modules/Series/Map/MapSeriesDefaults.js +1 -1
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +0 -1
- package/es-modules/Series/MapLine/MapLineSeriesDefaults.js +1 -1
- package/es-modules/Series/MapPoint/MapPointSeriesDefaults.js +0 -1
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +5 -5
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +0 -1
- package/es-modules/Series/PackedBubble/PackedBubbleChart.js +18 -0
- package/es-modules/Series/PackedBubble/PackedBubbleDataLabelOptions.js +12 -0
- package/es-modules/Series/PackedBubble/PackedBubbleIntegration.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +2 -2
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubblePointOptions.js +12 -0
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +20 -20
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -2
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesOptions.js +12 -0
- package/es-modules/Series/ParetoSeries/ParetoPoint.js +17 -0
- package/es-modules/Series/ParetoSeries/ParetoPointOptions.js +12 -0
- package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -3
- package/es-modules/Series/ParetoSeries/ParetoSeriesDefaults.js +1 -1
- package/es-modules/Series/ParetoSeries/ParetoSeriesOptions.js +12 -0
- package/es-modules/Series/PathUtilities.js +3 -1
- package/es-modules/Series/Pictorial/PictorialPointOptions.js +12 -0
- package/es-modules/Series/Pictorial/PictorialSeries.js +5 -25
- package/es-modules/Series/Pictorial/PictorialSeriesDefaults.js +45 -0
- package/es-modules/Series/Pictorial/PictorialSeriesOptions.js +12 -0
- package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DPoint.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +6 -6
- package/es-modules/Series/PolarComposition.js +22 -21
- package/es-modules/Series/Polygon/PolygonPoint.js +17 -0
- package/es-modules/Series/Polygon/PolygonPointOptions.js +12 -0
- package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +1 -1
- package/es-modules/Series/Polygon/PolygonSeriesOptions.js +12 -0
- package/es-modules/Series/Pyramid/PyramidPoint.js +19 -0
- package/es-modules/Series/Pyramid/PyramidPointOptions.js +14 -0
- package/es-modules/Series/Pyramid/PyramidSeries.js +1 -1
- package/es-modules/Series/Pyramid/PyramidSeriesDefaults.js +1 -1
- package/es-modules/Series/Pyramid/PyramidSeriesOptions.js +14 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DPoint.js +19 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DPointOptions.js +14 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +1 -1
- package/es-modules/Series/Pyramid3D/Pyramid3DSeriesOptions.js +14 -0
- package/es-modules/Series/Renko/RenkoSeriesDefaults.js +1 -2
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +6 -7
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +1 -1
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +1 -1
- package/es-modules/Series/Spline/SplineSeries.js +1 -1
- package/es-modules/Series/Streamgraph/StreamgraphSeriesDefaults.js +1 -1
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +1 -1
- package/es-modules/Series/TiledWebMap/TiledWebMapSeriesDefaults.js +2 -2
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +1 -1
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +1 -1
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +1 -1
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +1 -1
- package/es-modules/Series/Variwide/VariwideComposition.js +11 -8
- package/es-modules/Series/Vector/VectorSeriesDefaults.js +1 -1
- package/es-modules/Series/Venn/VennSeriesDefaults.js +1 -1
- package/es-modules/Series/Waterfall/WaterfallSeriesDefaults.js +1 -1
- package/es-modules/Series/Windbarb/WindbarbSeriesDefaults.js +1 -1
- package/es-modules/Shared/Utilities.js +7 -0
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/AD/ADIndicator.js +0 -1
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
- package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +2 -2
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +3 -3
- package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +0 -1
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngleIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionInterceptIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopesIndicator.js +0 -1
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +0 -1
- package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +0 -1
- package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +0 -1
- package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +0 -1
- package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +0 -1
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -3
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +0 -1
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -1
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +0 -1
- package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +0 -1
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +5 -5
- package/es-modules/Stock/Navigator/Navigator.js +1 -5
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +38 -8
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +2 -2
- package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -3
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-autoload.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +1 -1
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/contour.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/flowmap.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +2 -2
- package/esm/highcharts-3d.src.js +38 -61
- package/esm/highcharts-autoload.js +2 -2
- package/esm/highcharts-autoload.src.js +18 -39
- package/esm/highcharts-gantt.js +1 -1
- package/esm/highcharts-gantt.src.js +1 -1
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +142 -120
- package/esm/highcharts.js +4 -4
- package/esm/highcharts.src.js +824 -750
- package/esm/highmaps.js +1 -1
- package/esm/highmaps.src.js +1 -1
- package/esm/highstock.js +1 -1
- package/esm/highstock.src.js +1 -1
- package/esm/i18n/fr-FR.js +2 -2
- package/esm/i18n/fr-FR.src.js +17 -38
- package/esm/i18n/nb-NO.js +2 -2
- package/esm/i18n/nb-NO.src.js +17 -38
- package/esm/i18n/zh-CN.js +2 -2
- package/esm/i18n/zh-CN.src.js +17 -38
- package/esm/indicators/acceleration-bands.js +2 -2
- package/esm/indicators/acceleration-bands.src.js +18 -39
- package/esm/indicators/accumulation-distribution.js +2 -2
- package/esm/indicators/accumulation-distribution.src.js +17 -39
- package/esm/indicators/ao.js +2 -2
- package/esm/indicators/ao.src.js +18 -39
- package/esm/indicators/apo.js +2 -2
- package/esm/indicators/apo.src.js +18 -39
- package/esm/indicators/aroon-oscillator.js +2 -2
- package/esm/indicators/aroon-oscillator.src.js +19 -40
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +18 -39
- package/esm/indicators/atr.js +2 -2
- package/esm/indicators/atr.src.js +17 -39
- package/esm/indicators/bollinger-bands.js +2 -2
- package/esm/indicators/bollinger-bands.src.js +17 -39
- package/esm/indicators/cci.js +2 -2
- package/esm/indicators/cci.src.js +17 -39
- package/esm/indicators/chaikin.js +2 -2
- package/esm/indicators/chaikin.src.js +18 -40
- package/esm/indicators/cmf.js +2 -2
- package/esm/indicators/cmf.src.js +17 -39
- package/esm/indicators/cmo.js +2 -2
- package/esm/indicators/cmo.src.js +17 -39
- package/esm/indicators/dema.js +2 -2
- package/esm/indicators/dema.src.js +18 -39
- package/esm/indicators/disparity-index.js +2 -2
- package/esm/indicators/disparity-index.src.js +20 -41
- package/esm/indicators/dmi.js +2 -2
- package/esm/indicators/dmi.src.js +20 -41
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +18 -39
- package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
- package/esm/indicators/ichimoku-kinko-hyo.src.js +18 -40
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +76 -99
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +48 -46
- package/esm/indicators/keltner-channels.js +2 -2
- package/esm/indicators/keltner-channels.src.js +18 -39
- package/esm/indicators/klinger.js +2 -2
- package/esm/indicators/klinger.src.js +17 -38
- package/esm/indicators/macd.js +2 -2
- package/esm/indicators/macd.src.js +17 -39
- package/esm/indicators/mfi.js +2 -2
- package/esm/indicators/mfi.src.js +17 -39
- package/esm/indicators/momentum.js +2 -2
- package/esm/indicators/momentum.src.js +17 -39
- package/esm/indicators/natr.js +2 -2
- package/esm/indicators/natr.src.js +17 -39
- package/esm/indicators/obv.js +2 -2
- package/esm/indicators/obv.src.js +17 -39
- package/esm/indicators/pivot-points.js +2 -2
- package/esm/indicators/pivot-points.src.js +17 -39
- package/esm/indicators/ppo.js +2 -2
- package/esm/indicators/ppo.src.js +18 -39
- package/esm/indicators/price-channel.js +2 -2
- package/esm/indicators/price-channel.src.js +18 -39
- package/esm/indicators/price-envelopes.js +2 -2
- package/esm/indicators/price-envelopes.src.js +17 -39
- package/esm/indicators/psar.js +2 -2
- package/esm/indicators/psar.src.js +17 -39
- package/esm/indicators/regressions.js +2 -2
- package/esm/indicators/regressions.src.js +17 -42
- package/esm/indicators/roc.js +2 -2
- package/esm/indicators/roc.src.js +17 -39
- package/esm/indicators/rsi.js +2 -2
- package/esm/indicators/rsi.src.js +17 -39
- package/esm/indicators/slow-stochastic.js +2 -2
- package/esm/indicators/slow-stochastic.src.js +17 -38
- package/esm/indicators/stochastic.js +2 -2
- package/esm/indicators/stochastic.src.js +20 -41
- package/esm/indicators/supertrend.js +2 -2
- package/esm/indicators/supertrend.src.js +19 -40
- package/esm/indicators/tema.js +2 -2
- package/esm/indicators/tema.src.js +18 -39
- package/esm/indicators/trendline.js +2 -2
- package/esm/indicators/trendline.src.js +17 -39
- package/esm/indicators/trix.js +2 -2
- package/esm/indicators/trix.src.js +18 -39
- package/esm/indicators/volume-by-price.js +2 -2
- package/esm/indicators/volume-by-price.src.js +18 -39
- package/esm/indicators/vwap.js +2 -2
- package/esm/indicators/vwap.src.js +17 -39
- package/esm/indicators/williams-r.js +2 -2
- package/esm/indicators/williams-r.src.js +18 -39
- package/esm/indicators/wma.js +2 -2
- package/esm/indicators/wma.src.js +17 -39
- package/esm/indicators/zigzag.js +2 -2
- package/esm/indicators/zigzag.src.js +17 -39
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +90 -76
- package/esm/modules/annotations-advanced.js +3 -3
- package/esm/modules/annotations-advanced.src.js +36 -58
- package/esm/modules/annotations.js +3 -3
- package/esm/modules/annotations.src.js +36 -58
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +18 -39
- package/esm/modules/arrow-symbols.js +3 -3
- package/esm/modules/arrow-symbols.src.js +17 -38
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +57 -63
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +56 -62
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +21 -41
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +18 -39
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +92 -96
- package/esm/modules/contour.js +3 -3
- package/esm/modules/contour.src.js +29 -52
- package/esm/modules/current-date-indicator.js +2 -2
- package/esm/modules/current-date-indicator.src.js +17 -38
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +18 -39
- package/esm/modules/data-sorting.js +2 -2
- package/esm/modules/data-sorting.src.js +18 -39
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +110 -67
- package/esm/modules/data.js +4 -4
- package/esm/modules/data.src.js +53 -48
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +52 -48
- package/esm/modules/debugger.js +2 -2
- package/esm/modules/debugger.src.js +17 -38
- package/esm/modules/dependency-wheel.js +2 -2
- package/esm/modules/dependency-wheel.src.js +17 -38
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +17 -38
- package/esm/modules/drag-panes.js +2 -2
- package/esm/modules/drag-panes.src.js +22 -46
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +17 -38
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +40 -54
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +18 -39
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +42 -43
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +26 -47
- package/esm/modules/flowmap.js +2 -2
- package/esm/modules/flowmap.src.js +17 -38
- package/esm/modules/full-screen.js +2 -2
- package/esm/modules/full-screen.src.js +17 -38
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +21 -42
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +18 -39
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +84 -104
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +18 -39
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +34 -51
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +20 -41
- package/esm/modules/heikinashi.js +2 -2
- package/esm/modules/heikinashi.src.js +18 -39
- package/esm/modules/histogram-bellcurve.js +2 -2
- package/esm/modules/histogram-bellcurve.src.js +19 -40
- package/esm/modules/hollowcandlestick.js +2 -2
- package/esm/modules/hollowcandlestick.src.js +18 -39
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +19 -40
- package/esm/modules/lollipop.js +2 -2
- package/esm/modules/lollipop.src.js +18 -39
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +64 -63
- package/esm/modules/marker-clusters.js +2 -2
- package/esm/modules/marker-clusters.src.js +49 -46
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +17 -38
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +72 -67
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +24 -45
- package/esm/modules/no-data-to-display.js +2 -2
- package/esm/modules/no-data-to-display.src.js +17 -38
- package/esm/modules/non-cartesian-zoom.js +2 -2
- package/esm/modules/non-cartesian-zoom.src.js +17 -38
- package/esm/modules/offline-exporting.js +2 -2
- package/esm/modules/offline-exporting.src.js +19 -40
- package/esm/modules/organization.js +2 -2
- package/esm/modules/organization.src.js +20 -39
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +24 -44
- package/esm/modules/pareto.js +2 -2
- package/esm/modules/pareto.src.js +21 -42
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +20 -39
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +17 -38
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +71 -65
- package/esm/modules/pointandfigure.js +2 -2
- package/esm/modules/pointandfigure.src.js +47 -44
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +17 -38
- package/esm/modules/pyramid3d.js +2 -2
- package/esm/modules/pyramid3d.src.js +18 -39
- package/esm/modules/renko.js +2 -2
- package/esm/modules/renko.src.js +18 -40
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +24 -46
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +17 -38
- package/esm/modules/series-on-point.js +2 -2
- package/esm/modules/series-on-point.src.js +47 -44
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +18 -39
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +18 -39
- package/esm/modules/static-scale.js +2 -2
- package/esm/modules/static-scale.src.js +30 -49
- package/esm/modules/stock-tools.js +2 -2
- package/esm/modules/stock-tools.src.js +29 -50
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +117 -141
- package/esm/modules/streamgraph.js +2 -2
- package/esm/modules/streamgraph.src.js +18 -39
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +38 -57
- package/esm/modules/textpath.js +2 -2
- package/esm/modules/textpath.src.js +17 -38
- package/esm/modules/tiledwebmap.js +3 -3
- package/esm/modules/tiledwebmap.src.js +19 -40
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +22 -40
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +19 -40
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +23 -42
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +47 -67
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +34 -53
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +19 -40
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +28 -46
- package/esm/modules/vector.js +2 -2
- package/esm/modules/vector.src.js +18 -39
- package/esm/modules/venn.js +2 -2
- package/esm/modules/venn.src.js +18 -39
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +18 -39
- package/esm/modules/wordcloud.js +2 -2
- package/esm/modules/wordcloud.src.js +18 -39
- package/esm/modules/xrange.js +2 -2
- package/esm/modules/xrange.src.js +18 -39
- package/esm/standalone-navigator.js +4 -4
- package/esm/standalone-navigator.src.js +876 -776
- package/esm/themes/adaptive.js +2 -2
- package/esm/themes/adaptive.src.js +17 -38
- package/esm/themes/avocado.js +2 -2
- package/esm/themes/avocado.src.js +17 -38
- package/esm/themes/dark-unica.js +2 -2
- package/esm/themes/dark-unica.src.js +17 -38
- package/esm/themes/grid-light.js +2 -2
- package/esm/themes/grid-light.src.js +17 -38
- package/esm/themes/high-contrast.js +2 -2
- package/esm/themes/high-contrast.src.js +17 -38
- package/esm/themes/sand-signika.js +2 -2
- package/esm/themes/sand-signika.src.js +17 -38
- package/esm/themes/sunset.js +2 -2
- package/esm/themes/sunset.src.js +17 -38
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +43 -66
- package/highcharts-autoload.d.ts +0 -1
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +0 -1
- package/highcharts-autoload.src.js +833 -778
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +895 -839
- package/highcharts-more.d.ts +10 -0
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +10 -0
- package/highcharts-more.src.js +147 -125
- package/highcharts.d.ts +2785 -80144
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +2785 -80144
- package/highcharts.src.js +832 -777
- package/highmaps.js +4 -4
- package/highmaps.src.js +915 -845
- package/highstock.js +4 -4
- package/highstock.src.js +903 -874
- package/i18n/fr-FR.js +2 -2
- package/i18n/fr-FR.src.js +26 -37
- package/i18n/nb-NO.js +2 -2
- package/i18n/nb-NO.src.js +26 -37
- package/i18n/zh-CN.js +2 -2
- package/i18n/zh-CN.src.js +26 -37
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +23 -44
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +22 -44
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +23 -44
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +23 -44
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +24 -45
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +23 -44
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +22 -44
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +22 -44
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +22 -44
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +23 -45
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +22 -44
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +22 -44
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +23 -44
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +25 -46
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +25 -46
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +23 -44
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +23 -45
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +81 -104
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +53 -51
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +23 -44
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +22 -43
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +22 -44
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +22 -44
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +22 -44
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +22 -44
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +22 -44
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +22 -44
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +23 -44
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +23 -44
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +22 -44
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +22 -44
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +22 -47
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +22 -44
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +22 -44
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +22 -43
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +25 -46
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +24 -45
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +23 -44
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +22 -44
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +23 -44
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +23 -44
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +22 -44
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +23 -44
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +22 -44
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +22 -44
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +95 -81
- package/modules/annotations-advanced.js +9 -9
- package/modules/annotations-advanced.src.js +41 -63
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.js +41 -63
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +23 -44
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +17 -38
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +62 -68
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +61 -67
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +26 -46
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +23 -44
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +97 -101
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +111 -117
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +17 -38
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +23 -44
- package/modules/data-sorting.js +2 -2
- package/modules/data-sorting.src.js +18 -39
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +110 -67
- package/modules/data.js +4 -4
- package/modules/data.src.js +58 -53
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +57 -53
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +17 -38
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.js +22 -43
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +22 -43
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +22 -46
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +17 -38
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +45 -59
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +23 -44
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +47 -48
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +31 -52
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +22 -43
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +22 -43
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +26 -47
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +23 -44
- package/modules/gantt.js +8 -8
- package/modules/gantt.src.js +93 -113
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.js +23 -44
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +39 -56
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.js +101 -105
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +23 -44
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +24 -45
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +23 -44
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +24 -45
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +23 -44
- package/modules/map.js +4 -4
- package/modules/map.src.js +146 -128
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +49 -46
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +17 -38
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +77 -72
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +29 -50
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +22 -43
- package/modules/non-cartesian-zoom.js +2 -2
- package/modules/non-cartesian-zoom.src.js +17 -38
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +24 -45
- package/modules/organization.js +3 -3
- package/modules/organization.src.js +25 -44
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +29 -49
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +26 -47
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +25 -44
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +17 -38
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +76 -70
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +52 -49
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +17 -38
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +23 -44
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +23 -45
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +29 -51
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +22 -43
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +52 -49
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +23 -44
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +23 -44
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +30 -49
- package/modules/stock-tools.js +2 -2
- package/modules/stock-tools.src.js +34 -55
- package/modules/stock.js +6 -6
- package/modules/stock.src.js +132 -154
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +23 -44
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +43 -62
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +17 -38
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +24 -45
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +27 -45
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +24 -45
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +28 -47
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +52 -72
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +39 -58
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +24 -45
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +33 -51
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +23 -44
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +23 -44
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +23 -44
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +23 -44
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +23 -44
- package/options/abands.d.ts +183 -8
- package/options/abands.src.d.ts +183 -8
- package/options/ad.d.ts +176 -5
- package/options/ad.src.d.ts +176 -5
- package/options/ao.d.ts +202 -0
- package/options/ao.src.d.ts +202 -0
- package/options/apo.d.ts +178 -8
- package/options/apo.src.d.ts +178 -8
- package/options/arcdiagram.d.ts +785 -0
- package/options/arcdiagram.src.d.ts +785 -0
- package/options/area.d.ts +226 -0
- package/options/area.src.d.ts +226 -0
- package/options/arearange.d.ts +229 -8
- package/options/arearange.src.d.ts +229 -8
- package/options/areaspline.d.ts +1344 -8
- package/options/areaspline.src.d.ts +1344 -8
- package/options/areasplinerange.d.ts +972 -8
- package/options/areasplinerange.src.d.ts +972 -8
- package/options/aroon.d.ts +219 -0
- package/options/aroon.src.d.ts +219 -0
- package/options/aroonoscillator.d.ts +1140 -8
- package/options/aroonoscillator.src.d.ts +1140 -8
- package/options/atr.d.ts +210 -0
- package/options/atr.src.d.ts +210 -0
- package/options/bar.d.ts +183 -10
- package/options/bar.src.d.ts +183 -10
- package/options/bb.d.ts +1232 -0
- package/options/bb.src.d.ts +1232 -0
- package/options/bellcurve.d.ts +1167 -8
- package/options/bellcurve.src.d.ts +1167 -8
- package/options/boxplot.d.ts +163 -10
- package/options/boxplot.src.d.ts +163 -10
- package/options/bubble.d.ts +1005 -8
- package/options/bubble.src.d.ts +1005 -8
- package/options/bullet.d.ts +953 -8
- package/options/bullet.src.d.ts +953 -8
- package/options/candlestick.d.ts +1309 -8
- package/options/candlestick.src.d.ts +1309 -8
- package/options/cci.d.ts +210 -0
- package/options/cci.src.d.ts +210 -0
- package/options/chaikin.d.ts +180 -8
- package/options/chaikin.src.d.ts +180 -8
- package/options/cmf.d.ts +211 -0
- package/options/cmf.src.d.ts +211 -0
- package/options/cmo.d.ts +175 -5
- package/options/cmo.src.d.ts +175 -5
- package/options/column.d.ts +252 -2
- package/options/column.src.d.ts +252 -2
- package/options/columnpyramid.d.ts +1296 -0
- package/options/columnpyramid.src.d.ts +1296 -0
- package/options/columnrange.d.ts +216 -2
- package/options/columnrange.src.d.ts +216 -2
- package/options/contour.d.ts +1148 -0
- package/options/contour.src.d.ts +1148 -0
- package/options/cylinder.d.ts +183 -2
- package/options/cylinder.src.d.ts +183 -2
- package/options/dema.d.ts +1181 -0
- package/options/dema.src.d.ts +1181 -0
- package/options/dependencywheel.d.ts +315 -0
- package/options/dependencywheel.src.d.ts +315 -0
- package/options/disparityindex.d.ts +1157 -8
- package/options/disparityindex.src.d.ts +1157 -8
- package/options/dmi.d.ts +1227 -0
- package/options/dmi.src.d.ts +1227 -0
- package/options/dpo.d.ts +1140 -8
- package/options/dpo.src.d.ts +1140 -8
- package/options/dumbbell.d.ts +286 -0
- package/options/dumbbell.src.d.ts +286 -0
- package/options/ema.d.ts +1156 -5
- package/options/ema.src.d.ts +1156 -5
- package/options/errorbar.d.ts +1286 -0
- package/options/errorbar.src.d.ts +1286 -0
- package/options/flags.d.ts +1269 -8
- package/options/flags.src.d.ts +1269 -8
- package/options/flowmap.d.ts +551 -0
- package/options/flowmap.src.d.ts +551 -0
- package/options/funnel.d.ts +728 -10
- package/options/funnel.src.d.ts +728 -10
- package/options/gantt.d.ts +1011 -0
- package/options/gantt.src.d.ts +1011 -0
- package/options/gauge.d.ts +675 -0
- package/options/gauge.src.d.ts +675 -0
- package/options/geoheatmap.d.ts +585 -8
- package/options/geoheatmap.src.d.ts +585 -8
- package/options/heatmap.d.ts +1054 -8
- package/options/heatmap.src.d.ts +1054 -8
- package/options/heikinashi.d.ts +178 -10
- package/options/heikinashi.src.d.ts +178 -10
- package/options/histogram.d.ts +1226 -0
- package/options/histogram.src.d.ts +1226 -0
- package/options/hlc.d.ts +223 -2
- package/options/hlc.src.d.ts +223 -2
- package/options/hollowcandlestick.d.ts +1335 -0
- package/options/hollowcandlestick.src.d.ts +1335 -0
- package/options/ikh.d.ts +228 -5
- package/options/ikh.src.d.ts +228 -5
- package/options/item.d.ts +217 -8
- package/options/item.src.d.ts +217 -8
- package/options/keltnerchannels.d.ts +1220 -0
- package/options/keltnerchannels.src.d.ts +1220 -0
- package/options/klinger.d.ts +1162 -0
- package/options/klinger.src.d.ts +1162 -0
- package/options/line.d.ts +1377 -8
- package/options/line.src.d.ts +1377 -8
- package/options/linearregression.d.ts +199 -5
- package/options/linearregression.src.d.ts +199 -5
- package/options/linearregressionangle.d.ts +1157 -5
- package/options/linearregressionangle.src.d.ts +1157 -5
- package/options/linearregressionintercept.d.ts +240 -0
- package/options/linearregressionintercept.src.d.ts +240 -0
- package/options/linearregressionslope.d.ts +240 -0
- package/options/linearregressionslope.src.d.ts +240 -0
- package/options/lollipop.d.ts +949 -0
- package/options/lollipop.src.d.ts +949 -0
- package/options/macd.d.ts +254 -0
- package/options/macd.src.d.ts +254 -0
- package/options/map.d.ts +150 -8
- package/options/map.src.d.ts +150 -8
- package/options/mapbubble.d.ts +1016 -8
- package/options/mapbubble.src.d.ts +1016 -8
- package/options/mapline.d.ts +994 -0
- package/options/mapline.src.d.ts +994 -0
- package/options/mappoint.d.ts +1105 -1
- package/options/mappoint.src.d.ts +1105 -1
- package/options/mfi.d.ts +181 -5
- package/options/mfi.src.d.ts +181 -5
- package/options/momentum.d.ts +215 -0
- package/options/momentum.src.d.ts +215 -0
- package/options/natr.d.ts +170 -5
- package/options/natr.src.d.ts +170 -5
- package/options/networkgraph.d.ts +365 -0
- package/options/networkgraph.src.d.ts +365 -0
- package/options/obv.d.ts +170 -5
- package/options/obv.src.d.ts +170 -5
- package/options/ohlc.d.ts +183 -7
- package/options/ohlc.src.d.ts +183 -7
- package/options/organization.d.ts +808 -0
- package/options/organization.src.d.ts +808 -0
- package/options/packedbubble.d.ts +877 -8
- package/options/packedbubble.src.d.ts +877 -8
- package/options/pareto.d.ts +1028 -0
- package/options/pareto.src.d.ts +1028 -0
- package/options/pc.d.ts +183 -8
- package/options/pc.src.d.ts +183 -8
- package/options/pictorial.d.ts +202 -2
- package/options/pictorial.src.d.ts +202 -2
- package/options/pie.d.ts +196 -8
- package/options/pie.src.d.ts +196 -8
- package/options/pivotpoints.d.ts +1199 -0
- package/options/pivotpoints.src.d.ts +1199 -0
- package/options/pointandfigure.d.ts +980 -0
- package/options/pointandfigure.src.d.ts +980 -0
- package/options/polygon.d.ts +234 -0
- package/options/polygon.src.d.ts +234 -0
- package/options/ppo.d.ts +1156 -8
- package/options/ppo.src.d.ts +1156 -8
- package/options/priceenvelopes.d.ts +1229 -0
- package/options/priceenvelopes.src.d.ts +1229 -0
- package/options/psar.d.ts +1156 -5
- package/options/psar.src.d.ts +1156 -5
- package/options/pyramid.d.ts +837 -2
- package/options/pyramid.src.d.ts +837 -2
- package/options/renko.d.ts +247 -10
- package/options/renko.src.d.ts +247 -10
- package/options/roc.d.ts +1215 -0
- package/options/roc.src.d.ts +1215 -0
- package/options/rsi.d.ts +1157 -5
- package/options/rsi.src.d.ts +1157 -5
- package/options/sankey.d.ts +276 -8
- package/options/sankey.src.d.ts +276 -8
- package/options/scatter.d.ts +3043 -1018
- package/options/scatter.src.d.ts +3043 -1018
- package/options/series.d.ts +175 -0
- package/options/series.src.d.ts +175 -0
- package/options/slowstochastic.d.ts +183 -0
- package/options/slowstochastic.src.d.ts +183 -0
- package/options/sma.d.ts +211 -0
- package/options/sma.src.d.ts +211 -0
- package/options/solidgauge.d.ts +218 -0
- package/options/solidgauge.src.d.ts +218 -0
- package/options/spline.d.ts +230 -0
- package/options/spline.src.d.ts +230 -0
- package/options/stochastic.d.ts +1170 -8
- package/options/stochastic.src.d.ts +1170 -8
- package/options/streamgraph.d.ts +1345 -8
- package/options/streamgraph.src.d.ts +1345 -8
- package/options/sunburst.d.ts +286 -9
- package/options/sunburst.src.d.ts +286 -9
- package/options/supertrend.d.ts +1208 -0
- package/options/supertrend.src.d.ts +1208 -0
- package/options/tema.d.ts +1140 -8
- package/options/tema.src.d.ts +1140 -8
- package/options/tiledwebmap.d.ts +164 -0
- package/options/tiledwebmap.src.d.ts +164 -0
- package/options/tilemap.d.ts +687 -0
- package/options/tilemap.src.d.ts +687 -0
- package/options/timeline.d.ts +282 -0
- package/options/timeline.src.d.ts +282 -0
- package/options/treegraph.d.ts +982 -0
- package/options/treegraph.src.d.ts +982 -0
- package/options/treemap.d.ts +1396 -22
- package/options/treemap.src.d.ts +1396 -22
- package/options/trendline.d.ts +211 -0
- package/options/trendline.src.d.ts +211 -0
- package/options/trix.d.ts +178 -8
- package/options/trix.src.d.ts +178 -8
- package/options/variablepie.d.ts +686 -8
- package/options/variablepie.src.d.ts +686 -8
- package/options/variwide.d.ts +178 -2
- package/options/variwide.src.d.ts +178 -2
- package/options/vbp.d.ts +576 -0
- package/options/vbp.src.d.ts +576 -0
- package/options/vector.d.ts +660 -0
- package/options/vector.src.d.ts +660 -0
- package/options/venn.d.ts +654 -0
- package/options/venn.src.d.ts +654 -0
- package/options/vwap.d.ts +1157 -5
- package/options/vwap.src.d.ts +1157 -5
- package/options/waterfall.d.ts +1254 -8
- package/options/waterfall.src.d.ts +1254 -8
- package/options/williamsr.d.ts +209 -0
- package/options/williamsr.src.d.ts +209 -0
- package/options/windbarb.d.ts +222 -2
- package/options/windbarb.src.d.ts +222 -2
- package/options/wma.d.ts +1156 -5
- package/options/wma.src.d.ts +1156 -5
- package/options/wordcloud.d.ts +682 -0
- package/options/wordcloud.src.d.ts +682 -0
- package/options/xrange.d.ts +1168 -0
- package/options/xrange.src.d.ts +1168 -0
- package/options/zigzag.d.ts +1197 -0
- package/options/zigzag.src.d.ts +1197 -0
- package/package.json +1 -1
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +884 -803
- package/themes/adaptive.js +2 -2
- package/themes/adaptive.src.js +22 -43
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +17 -38
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +17 -38
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +17 -38
- package/themes/high-contrast.js +2 -2
- package/themes/high-contrast.src.js +17 -38
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +17 -38
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +17 -38
package/modules/export-data.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v13.0
|
|
2
|
+
* Highcharts JS v13.1.0 (2026-09-18)
|
|
3
3
|
* @module highcharts/modules/export-data
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
* @requires highcharts/modules/exporting
|
|
@@ -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
|
-
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.AST,e._Highcharts.Chart):"function"==typeof define&&define.amd?define("highcharts/modules/export-data",["highcharts/highcharts"],function(e){return t(e,e.AST,e.Chart)}):"object"==typeof exports?exports["highcharts/modules/export-data"]=t(e._Highcharts,e._Highcharts.AST,e._Highcharts.Chart):e.Highcharts=t(e.Highcharts,e.Highcharts.AST,e.Highcharts.Chart)}("u"<typeof window?this:window,(e,t,a)=>(()=>{"use strict";var o,n={660(e){e.exports=t},960(e){e.exports=a},944(t){t.exports=e}};let i={};function r(e){let t=i[e];if(void 0!==t)return t.exports;let a=i[e]={exports:{}};return n[e](a,a.exports,r),a.exports}r.n=e=>{let t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{if(Array.isArray(t))for(var a=0;a<t.length;){var o=t[a++],n=t[a++];r.o(e,o)?0===n&&a++:0===n?Object.defineProperty(e,o,{enumerable:!0,value:t[a++]}):Object.defineProperty(e,o,{enumerable:!0,get:n})}else for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let l={};r.d(l,{default:()=>O});var s=r(944),h=r.n(s);let{isSafari:d,win:c,win:{document:p}}=h(),u=c.URL||c.webkitURL||c;function g(e){let t=e.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(t&&t.length>3&&c.atob&&c.ArrayBuffer&&c.Uint8Array&&c.Blob&&u.createObjectURL){let e=c.atob(t[3]),a=new c.ArrayBuffer(e.length),o=new c.Uint8Array(a);for(let t=0;t<o.length;++t)o[t]=e.charCodeAt(t);return u.createObjectURL(new c.Blob([o],{type:t[1]}))}}function f(e,t){let a=c.navigator,o=p.createElement("a");if("string"!=typeof e&&!(e instanceof String)&&a.msSaveOrOpenBlob)return void a.msSaveOrOpenBlob(e,t);if(e=""+e,a.userAgent.length>1e3)throw Error("Input too long");let n=/Edge\/\d+/.test(a.userAgent);if((d&&"string"==typeof e&&0===e.indexOf("data:application/pdf")||n||e.length>2e6)&&!(e=g(e)||""))throw Error("Failed to convert to blob");if(void 0!==o.download)o.href=e,o.download=t,p.body.appendChild(o),o.click(),p.body.removeChild(o);else try{if(!c.open(e,"chart"))throw Error("Failed to open window")}catch{c.location.href=e}}function m(e,t){let a=c.navigator,o=c.URL||c.webkitURL||c;try{if(a.msSaveOrOpenBlob&&c.MSBlobBuilder){let t=new c.MSBlobBuilder;return t.append(e),t.getBlob("image/svg+xml")}return o.createObjectURL(new c.Blob(["\uFEFF"+e],{type:t}))}catch(e){}}var x=r(660),b=r.n(x),y=r(960),w=r.n(y);let T={exporting:{csv:{annotations:{itemDelimiter:"; ",join:!1},columnHeaderFormatter:null,dateFormat:"%Y-%m-%d %H:%M:%S",decimalPoint:null,itemDelimiter:null,lineDelimiter:"\n"},menuItemDefinitions:{downloadCSV:{textKey:"downloadCSV",onclick:function(){this.exporting?.downloadCSV()}},downloadXLS:{textKey:"downloadXLS",onclick:function(){this.exporting?.downloadXLS()}},viewData:{textKey:"viewData",onclick:function(){this.exporting?.wrapLoading(this.exporting.toggleDataTable)}}},showExportInProgress:!0,showTable:!1,useMultiLevelHeaders:!0,useRowspanHeaders:!0},lang:{downloadCSV:"Download CSV",downloadXLS:"Download XLS",exportData:{annotationHeader:"Annotations",categoryHeader:"Category",categoryDatetimeHeader:"DateTime"},viewData:"View data table",hideData:"Hide data table",exportInProgress:"Exporting..."}},{getOptions:v,setOptions:D}=h(),{composed:S,doc:E,win:A}=h();!function(e){function t(){this.wrapLoading(()=>{let e=this.getCSV(!0);f(m(e,"text/csv")||"data:text/csv,\uFEFF"+encodeURIComponent(e),this.getFilename()+".csv")})}function a(){this.wrapLoading(()=>{let e='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head>\x3c!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>Ark1</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--\x3e<style>td{border:none;font-family: Calibri, sans-serif;} .number{mso-number-format:"0.00";} .text{ mso-number-format:"@";}</style><meta name=ProgId content=Excel.Sheet><meta charset=UTF-8></head><body>'+this.getTable(!0)+"</body></html>";f(m(e,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+A.btoa(unescape(encodeURIComponent(e))),this.getFilename()+".xls")})}function o(e){let t="",a=this.getDataRows(),o=this.options?.csv,n=o?.decimalPoint??(o?.itemDelimiter!==","&&e?1.1.toLocaleString()[1]:"."),i=o?.itemDelimiter??(","===n?";":","),r=o?.lineDelimiter;return a.forEach((e,o)=>{let l="",s=e.length;for(;s--;)"string"==typeof(l=e[s])&&(l=`"${l}"`),"number"==typeof l&&"."!==n&&(l=l.toString().replace(".",n)),e[s]=l;e.length=a.length?a[0].length:0,t+=e.join(i),o<a.length-1&&(t+=r)}),t}function n(e){let t,a,o=this.chart,n=o.hasParallelCoordinates,i=o.time,r=this.options?.csv||{},l=o.xAxis,h={},d=[],c=[],p=[],u=o.options.lang.exportData,g=u?.categoryHeader,f=u?.categoryDatetimeHeader,m=function(t,a,o){if(r.columnHeaderFormatter){let e=r.columnHeaderFormatter(t,a,o);if(!1!==e)return e}return!t&&g?g:!t.bindAxes&&f&&g?t.options.title&&t.options.title.text||(t.dateTime?f:g):e?{columnTitle:((o||0)>1?a:t.name)||"",topLevelColumnTitle:t.name}:t.name+((o||0)>1?" ("+a+")":"")},x=function(e,t,a){let o={},n={};return t.forEach(function(t){let i=(e.keyToAxis&&e.keyToAxis[t]||t)+"Axis",r=(0,s.isNumber)(a)?e.chart[i][a]:e[i];o[t]=r&&r.categories||[],n[t]=r&&r.dateTime}),{categoryMap:o,dateTimeValueAxisMap:n}},b=function(e,t){let a=e.pointArrayMap||["y"];return e.data.some(e=>void 0!==e.y&&e.name)&&t&&!t.categories&&"name"!==e.exportKey?["x",...a]:a},y=[],w,T,v,D=0,S,E;for(S in o.series.forEach(function(t){let a=t.options.keys,o=t.xAxis,d=a||b(t,o),u=d.length,g=!t.requireSorting&&{},f=l.indexOf(o),w=x(t,d),T,S;if(!1!==t.options.includeInDataExport&&!t.options.isInternal&&!1!==t.visible){for((0,s.find)(y,function(e){return e[0]===f})||y.push([f,D]),S=0;S<u;)v=m(t,d[S],d.length),p.push(v.columnTitle||v),e&&c.push(v.topLevelColumnTitle||v),S++;T={chart:t.chart,autoIncrement:t.autoIncrement,options:t.options,pointArrayMap:t.pointArrayMap,index:t.index,xAxis:t.xAxis};let a=Array(t.dataTable.rowCount).fill(void 0).map((e,a)=>t.dataTable.getRowObject(a)),l=t.getColumn("x");(a||[]).forEach(function(e,a){let s,c,p,m={series:T};n&&(w=x(t,d,a)),t.pointClass.prototype.applyOptions.call(m,e,l[a]);let b=t.data[a]&&t.data[a].name;if(s=(m.x??"")+","+b,S=0,(!o||"name"===t.exportKey||!n&&o&&o.hasNames&&b)&&(s=b),g&&(g[s]&&(s+="|"+a),g[s]=!0),h[s]){let e=`${s},${h[s].pointers[t.index]}`,a=s;h[s].pointers[t.index]&&(h[e]||(h[e]=[],h[e].xValues=[],h[e].pointers=[]),s=e),h[a].pointers[t.index]+=1}else{h[s]=[],h[s].xValues=[];let e=[];for(let a=0;a<t.chart.series.length;a++)e[a]=0;h[s].pointers=e,h[s].pointers[t.index]=1}for(h[s].x=m.x,h[s].name=b,h[s].xValues[f]=m.x;S<u;)c=d[S],p=t.pointClass.prototype.getNestedProperty.apply(m,[c]),h[s][D+S]=w.categoryMap[c][p]??(w.dateTimeValueAxisMap[c]?i.dateFormat(r.dateFormat,p):null)??p,S++}),D+=S}}),h)Object.hasOwnProperty.call(h,S)&&d.push(h[S]);for(T=e?[c,p]:[p],D=y.length;D--;)t=y[D][0],a=y[D][1],w=l[t],d.sort(function(e,a){return e.xValues[t]-a.xValues[t]}),E=m(w),T[0].splice(a,0,E),e&&T[1]&&T[1].splice(a,0,E),d.forEach(function(e){let t=e.name;w&&!(0,s.defined)(t)&&(w.dateTime?(e.x instanceof Date&&(e.x=e.x.getTime()),t=i.dateFormat(r.dateFormat,e.x)):t=w.categories?w.names[e.x]??w.categories[e.x]??e.x:e.x),e.splice(a,0,t)});return T=T.concat(d),(0,s.fireEvent)(o,"exportData",{dataRows:T}),T}function i(e){let t=e=>{if(!e.tagName||"#text"===e.tagName)return e.textContent||"";let a=e.attributes,o=`<${e.tagName}`;return a&&Object.keys(a).forEach(e=>{let t=a[e];o+=` ${e}="${t}"`}),o+=">",o+=e.textContent||"",(e.children||[]).forEach(e=>{o+=t(e)}),o+=`</${e.tagName}>`};return t(this.getTableAST(e))}function r(e){let t=0,a=[],o=this,n=o.chart,i=n.options,r=e?1.1.toLocaleString()[1]:void 0,l=o.options.useMultiLevelHeaders??!0,h=o.getDataRows(l),d=l?h.shift():null,c=h.shift(),p=function(e,t){let a=e.length;if(t.length!==a)return!1;for(;a--;)if(e[a]!==t[a])return!1;return!0},u=function(e,t,a,o){let i=[],l=o??"",h="highcharts-text"+(t?" "+t:"");"number"==typeof l?(l=n.numberFormatter(l,-1,r,"th"===e?"":void 0),h="highcharts-number"):o||(h="highcharts-empty"),"th"===e&&"col"===a.scope&&i.push({tagName:"button",textContent:l,style:{color:"inherit",borderWidth:0,backgroundColor:"transparent",cursor:"pointer",padding:0,fontSize:"inherit",fontWeight:"inherit"}});let d={tagName:e,attributes:a=(0,s.extend)({class:h},a)};return i.length>0?d.children=i:d.textContent=l,d},{tableCaption:g}=o.options||{};!1!==g&&a.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:"string"==typeof g?g:i.title?.text||i.lang.chartTitle});for(let e=0,a=h.length;e<a;++e)h[e].length>t&&(t=h[e].length);a.push(function(e,t,a){let n=[],i=0,r=a||t&&t.length,s,h=0,d;if(l&&e&&t&&!p(e,t)){let a=[];for(;i<r;++i)if((s=e[i])===e[i+1])++h;else if(h)a.push(u("th","highcharts-table-topheading",{scope:"col",colspan:h+1},s)),h=0;else{s===t[i]?o.options.useRowspanHeaders?(d=2,delete t[i]):(d=1,t[i]=""):d=1;let e=u("th","highcharts-table-topheading",{scope:"col"},s);d>1&&e.attributes&&(e.attributes.valign="top",e.attributes.rowspan=d),a.push(e)}n.push({tagName:"tr",children:a})}if(t){let e=[];for(i=0,r=t.length;i<r;++i)void 0!==t[i]&&e.push(u("th",null,{scope:"col"},t[i]));n.push({tagName:"tr",children:e})}return{tagName:"thead",children:n}}(d,c||[],Math.max(t,c?.length||0)));let f=[];h.forEach(function(e){let a=[];for(let o=0;o<t;o++)a.push(u(o?"td":"th",null,o?{}:{scope:"row"},e[o]));f.push({tagName:"tr",children:a})}),a.push({tagName:"tbody",children:f});let m={tree:{tagName:"table",id:`highcharts-data-table-${n.index}`,children:a}};return(0,s.fireEvent)(n,"afterGetTableAST",m),m.tree}function l(){this.toggleDataTable(!1)}function h(e){let t=this.chart,a=(e=e??!this.isDataTableVisible)&&!this.dataTableDiv;if(a&&(this.dataTableDiv=E.createElement("div"),this.dataTableDiv.className="highcharts-data-table",t.renderTo.parentNode.insertBefore(this.dataTableDiv,t.renderTo.nextSibling)),this.dataTableDiv){let o=this.dataTableDiv.style,n=o.display;o.display=e?"block":"none",e?(this.dataTableDiv.innerHTML=b().emptyHTML,new(b())([this.getTableAST()]).addToDOM(this.dataTableDiv),(0,s.fireEvent)(t,"afterViewData",{element:this.dataTableDiv,wasHidden:a||n!==o.display})):(0,s.fireEvent)(t,"afterHideData")}this.isDataTableVisible=e;let o=this.divElements,n=this.options,i=n.buttons?.contextButton.menuItems,r=t.options.lang;if(n&&n.menuItemDefinitions&&r&&r.viewData&&r.hideData&&i&&o){let e=o[i.indexOf("viewData")];e&&b().setElementHTML(e,this.isDataTableVisible?r.hideData:r.viewData)}}function d(){this.toggleDataTable(!0)}function c(e){let t=this.chart,a=!!this.options.showExportInProgress,o=A.requestAnimationFrame||setTimeout;o(()=>{a&&t.showLoading(t.options.lang.exportInProgress),o(()=>{try{e.call(this)}finally{a&&t.hideLoading()}})})}function p(){let e=this.exporting,t=e?.dataTableDiv,a=this.options.lang,o=a?.decimalPoint||".",n=a?.thousandsSep||",",i=(e,t)=>e.children[t].textContent||"",r=e=>{if(!e)return null;let t=e;n&&(t=t.split(n).join(""));let a=Number(t=t.replace(o,"."));return(0,s.isNumber)(a)?a:null};if(t&&e.options.allowTableSorting){let a=t.querySelector("thead tr");a&&a.childNodes.forEach(a=>{let o=t.querySelector("tbody");a.addEventListener("click",function(){let n=[...t.querySelectorAll("tr:not(thead tr)")],l=[...a.parentNode.children];if(e){let t,s;n.sort((t=l.indexOf(a),s=e.ascendingOrderInTable=!e.ascendingOrderInTable,(e,a)=>{let o=i(s?e:a,t),n=i(s?a:e,t),l=r(o),h=r(n);return null!==l&&null!==h?l-h:o.localeCompare(n)})).forEach(e=>{o?.appendChild(e)}),l.forEach(e=>{["highcharts-sort-ascending","highcharts-sort-descending"].forEach(t=>{e.classList.contains(t)&&e.classList.remove(t)}),e!==a&&e.removeAttribute("aria-sort")}),a.classList.add(e.ascendingOrderInTable?"highcharts-sort-ascending":"highcharts-sort-descending"),a.setAttribute("aria-sort",e.ascendingOrderInTable?"ascending":"descending")}})})}}function u(){this.options?.exporting?.showTable&&!this.options.chart.forExport&&this.exporting?.viewData()}function g(){this.exporting?.dataTableDiv?.remove()}e.compose=function(e,f,m){if(!(0,s.pushUnique)(S,"ExportData"))return;(0,s.extend)(w().prototype,{downloadCSV:function(){return this.exporting?.downloadCSV()},downloadXLS:function(){return this.exporting?.downloadXLS()},getCSV:function(e){return this.exporting?.getCSV(e)},getDataRows:function(e){return this.exporting?.getDataRows(e)},getTable:function(e){return this.exporting?.getTable(e)},getTableAST:function(e){return this.exporting?.getTableAST(e)},hideData:function(){return this.exporting?.hideData()},toggleDataTable:function(e){return this.exporting?.toggleDataTable(e)},viewData:function(){return this.exporting?.viewData()}});let x=f.prototype;if(!x.downloadCSV){(0,s.addEvent)(e,"afterViewData",p),(0,s.addEvent)(e,"render",u),(0,s.addEvent)(e,"destroy",g),x.downloadCSV=t,x.downloadXLS=a,x.getCSV=o,x.getDataRows=n,x.getTable=i,x.getTableAST=r,x.hideData=l,x.toggleDataTable=h,x.wrapLoading=c,x.viewData=d,D(T);let f=v().exporting?.buttons?.contextButton?.menuItems;f&&f.push("separator","downloadCSV","downloadXLS","viewData");let{arearange:b,gantt:y,map:w,mapbubble:S,treemap:E,xrange:A}=m.types;b&&(b.prototype.keyToAxis={low:"y",high:"y"}),y&&(y.prototype.exportKey="name",y.prototype.keyToAxis={start:"x",end:"x"}),w&&(w.prototype.exportKey="name"),S&&(S.prototype.exportKey="name"),E&&(E.prototype.exportKey="name"),A&&(A.prototype.keyToAxis={x2:"x"})}}}(o||(o={}));let C=o,L=h();L.dataURLtoBlob=L.dataURLtoBlob||g,L.downloadURL=L.downloadURL||f,C.compose(L.Chart,L.Exporting,L.Series);let O=h();return l.default})());
|
|
14
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts.AST,t._Highcharts.Chart,t._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/export-data",["highcharts/highcharts"],function(t){return e(t.AST,t.Chart,t)}):"object"==typeof exports?exports["highcharts/modules/export-data"]=e(t._Highcharts.AST,t._Highcharts.Chart,t._Highcharts):t.Highcharts=e(t.Highcharts.AST,t.Highcharts.Chart,t.Highcharts)}("u"<typeof window?this:window,(t,e,a)=>(()=>{"use strict";var o,n={660(e){e.exports=t},960(t){t.exports=e},944(t){t.exports=a}};let i={};function r(t){let e=i[t];if(void 0!==e)return e.exports;let a=i[t]={exports:{}};return n[t](a,a.exports,r),a.exports}r.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var a in e)r.o(e,a)&&!r.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let l={};r.d(l,{default:()=>H});var s=r(944),h=r.n(s);let{isSafari:d,win:c,win:{document:p}}=h(),u=c.URL||c.webkitURL||c;function g(t){let e=t.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(e&&e.length>3&&c.atob&&c.ArrayBuffer&&c.Uint8Array&&c.Blob&&u.createObjectURL){let t=c.atob(e[3]),a=new c.ArrayBuffer(t.length),o=new c.Uint8Array(a);for(let e=0;e<o.length;++e)o[e]=t.charCodeAt(e);return u.createObjectURL(new c.Blob([o],{type:e[1]}))}}function f(t,e){let a=c.navigator,o=p.createElement("a");if("string"!=typeof t&&!(t instanceof String)&&a.msSaveOrOpenBlob)return void a.msSaveOrOpenBlob(t,e);if(t=""+t,a.userAgent.length>1e3)throw Error("Input too long");let n=/Edge\/\d+/.test(a.userAgent);if((d&&"string"==typeof t&&0===t.indexOf("data:application/pdf")||n||t.length>2e6)&&!(t=g(t)||""))throw Error("Failed to convert to blob");if(void 0!==o.download)o.href=t,o.download=e,p.body.appendChild(o),o.click(),p.body.removeChild(o);else try{if(!c.open(t,"chart"))throw Error("Failed to open window")}catch{c.location.href=t}}function m(t,e){let a=c.navigator,o=c.URL||c.webkitURL||c;try{if(a.msSaveOrOpenBlob&&c.MSBlobBuilder){let e=new c.MSBlobBuilder;return e.append(t),e.getBlob("image/svg+xml")}return o.createObjectURL(new c.Blob(["\uFEFF"+t],{type:e}))}catch(t){}}var x=r(660),b=r.n(x),y=r(960),w=r.n(y);let T={exporting:{csv:{annotations:{itemDelimiter:"; ",join:!1},columnHeaderFormatter:null,dateFormat:"%Y-%m-%d %H:%M:%S",decimalPoint:null,itemDelimiter:null,lineDelimiter:"\n"},menuItemDefinitions:{downloadCSV:{textKey:"downloadCSV",onclick:function(){this.exporting?.downloadCSV()}},downloadXLS:{textKey:"downloadXLS",onclick:function(){this.exporting?.downloadXLS()}},viewData:{textKey:"viewData",onclick:function(){this.exporting?.wrapLoading(this.exporting.toggleDataTable)}}},showExportInProgress:!0,showTable:!1,useMultiLevelHeaders:!0,useRowspanHeaders:!0},lang:{downloadCSV:"Download CSV",downloadXLS:"Download XLS",exportData:{annotationHeader:"Annotations",categoryHeader:"Category",categoryDatetimeHeader:"DateTime"},viewData:"View data table",hideData:"Hide data table",exportInProgress:"Exporting..."}},{getOptions:v,setOptions:D}=h(),{composed:S,doc:E,win:C}=h();!function(t){function e(){this.chart.series.some(h)?this.wrapLoading(()=>{let t=this.getCSV(!0);f(m(t,"text/csv")||"data:text/csv,\uFEFF"+encodeURIComponent(t),this.getFilename()+".csv")}):(0,s.error)("Warning: No data to export",!1,this.chart)}function a(){this.chart.series.some(h)?this.wrapLoading(()=>{let t='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head>\x3c!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>Ark1</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--\x3e<style>td{border:none;font-family: Calibri, sans-serif;} .number{mso-number-format:"0.00";} .text{ mso-number-format:"@";}</style><meta name=ProgId content=Excel.Sheet><meta charset=UTF-8></head><body>'+this.getTable(!0)+"</body></html>";f(m(t,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+C.btoa(unescape(encodeURIComponent(t))),this.getFilename()+".xls")}):(0,s.error)("Warning: No data to export",!1,this.chart)}function o(t){let e="",a=this.getDataRows(),o=this.options?.csv,n=o?.decimalPoint??(o?.itemDelimiter!==","&&t?1.1.toLocaleString()[1]:"."),i=o?.itemDelimiter??(","===n?";":","),r=o?.lineDelimiter;return a.forEach((t,o)=>{let l="",s=t.length;for(;s--;)"string"==typeof(l=t[s])&&(l=`"${l}"`),"number"==typeof l&&"."!==n&&(l=l.toString().replace(".",n)),t[s]=l;t.length=a.length?a[0].length:0,e+=t.join(i),o<a.length-1&&(e+=r)}),e}function n(t){let e,a,o=this.chart,n=o.hasParallelCoordinates,i=o.time,r=this.options?.csv||{},l=o.xAxis,d={},c=[],p=[],u=[],g=o.options.lang.exportData,f=g?.categoryHeader,m=g?.categoryDatetimeHeader,x=function(e,a,o){if(r.columnHeaderFormatter){let t=r.columnHeaderFormatter(e,a,o);if(!1!==t)return t}return!e&&f?f:!e.bindAxes&&m&&f?e.options.title&&e.options.title.text||(e.dateTime?m:f):t?{columnTitle:((o||0)>1?a:e.name)||"",topLevelColumnTitle:e.name}:e.name+((o||0)>1?" ("+a+")":"")},b=function(t,e,a){let o={},n={};return e.forEach(function(e){let i=(t.keyToAxis&&t.keyToAxis[e]||e)+"Axis",r=(0,s.isNumber)(a)?t.chart[i][a]:t[i];o[e]=r&&r.categories||[],n[e]=r&&r.dateTime}),{categoryMap:o,dateTimeValueAxisMap:n}},y=function(t,e){let a=t.pointArrayMap||["y"];return t.data.some(t=>void 0!==t.y&&t.name)&&e&&!e.categories&&"name"!==t.exportKey?["x",...a]:a},w=[],T,v,D,S=0,E,C;for(E in o.series.forEach(function(e){let a=e.options.keys,o=e.xAxis,c=a||y(e,o),g=c.length,f=!e.requireSorting&&{},m=l.indexOf(o),T=b(e,c),v,E;if(h(e)){for((0,s.find)(w,function(t){return t[0]===m})||w.push([m,S]),E=0;E<g;)D=x(e,c[E],c.length),u.push(D.columnTitle||D),t&&p.push(D.topLevelColumnTitle||D),E++;v={chart:e.chart,autoIncrement:e.autoIncrement,options:e.options,pointArrayMap:e.pointArrayMap,index:e.index,xAxis:e.xAxis};let a=Array(e.dataTable.rowCount).fill(void 0).map((t,a)=>e.dataTable.getRowObject(a)),l=e.getColumn("x");(a||[]).forEach(function(t,a){let s,h,p,u={series:v};n&&(T=b(e,c,a)),e.pointClass.prototype.applyOptions.call(u,t,l[a]);let x=e.data[a]&&e.data[a].name;if(s=(u.x??"")+","+x,E=0,(!o||"name"===e.exportKey||!n&&o&&o.hasNames&&x)&&(s=x),f&&(f[s]&&(s+="|"+a),f[s]=!0),d[s]){let t=`${s},${d[s].pointers[e.index]}`,a=s;d[s].pointers[e.index]&&(d[t]||(d[t]=[],d[t].xValues=[],d[t].pointers=[]),s=t),d[a].pointers[e.index]+=1}else{d[s]=[],d[s].xValues=[];let t=[];for(let a=0;a<e.chart.series.length;a++)t[a]=0;d[s].pointers=t,d[s].pointers[e.index]=1}for(d[s].x=u.x,d[s].name=x,d[s].xValues[m]=u.x;E<g;)h=c[E],p=e.pointClass.prototype.getNestedProperty.apply(u,[h]),d[s][S+E]=T.categoryMap[h][p]??(T.dateTimeValueAxisMap[h]?i.dateFormat(r.dateFormat,p):null)??p,E++}),S+=E}}),d)Object.hasOwnProperty.call(d,E)&&c.push(d[E]);for(v=t?[p,u]:[u],S=w.length;S--;)e=w[S][0],a=w[S][1],T=l[e],c.sort(function(t,a){return t.xValues[e]-a.xValues[e]}),C=x(T),v[0].splice(a,0,C),t&&v[1]&&v[1].splice(a,0,C),c.forEach(function(t){let e=t.name;T&&!(0,s.defined)(e)&&(T.dateTime?(t.x instanceof Date&&(t.x=t.x.getTime()),e=i.dateFormat(r.dateFormat,t.x)):e=T.categories?T.names[t.x]??T.categories[t.x]??t.x:t.x),t.splice(a,0,e)});return v=v.concat(c),(0,s.fireEvent)(o,"exportData",{dataRows:v}),v}function i(t){let e=t=>{if(!t.tagName||"#text"===t.tagName)return t.textContent||"";let a=t.attributes,o=`<${t.tagName}`;return a&&Object.keys(a).forEach(t=>{let e=a[t];o+=` ${t}="${e}"`}),o+=">",o+=t.textContent||"",(t.children||[]).forEach(t=>{o+=e(t)}),o+=`</${t.tagName}>`};return e(this.getTableAST(t))}function r(t){let e=0,a=[],o=this,n=o.chart,i=n.options,r=t?1.1.toLocaleString()[1]:void 0,l=o.options.useMultiLevelHeaders??!0,h=o.getDataRows(l),d=l?h.shift():null,c=h.shift(),p=function(t,e){let a=t.length;if(e.length!==a)return!1;for(;a--;)if(t[a]!==e[a])return!1;return!0},u=function(t,e,a,o){let i=[],l=o??"",h="highcharts-text"+(e?" "+e:"");"number"==typeof l?(l=n.numberFormatter(l,-1,r,"th"===t?"":void 0),h="highcharts-number"):o||(h="highcharts-empty"),"th"===t&&"col"===a.scope&&i.push({tagName:"button",textContent:l,style:{color:"inherit",borderWidth:0,backgroundColor:"transparent",cursor:"pointer",padding:0,fontSize:"inherit",fontWeight:"inherit"}});let d={tagName:t,attributes:a=(0,s.extend)({class:h},a)};return i.length>0?d.children=i:d.textContent=l,d},{tableCaption:g}=o.options||{};!1!==g&&a.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:"string"==typeof g?g:i.title?.text||i.lang.chartTitle});for(let t=0,a=h.length;t<a;++t)h[t].length>e&&(e=h[t].length);a.push(function(t,e,a){let n=[],i=0,r=a||e&&e.length,s,h=0,d;if(l&&t&&e&&!p(t,e)){let a=[];for(;i<r;++i)if((s=t[i])===t[i+1])++h;else if(h)a.push(u("th","highcharts-table-topheading",{scope:"col",colspan:h+1},s)),h=0;else{s===e[i]?o.options.useRowspanHeaders?(d=2,delete e[i]):(d=1,e[i]=""):d=1;let t=u("th","highcharts-table-topheading",{scope:"col"},s);d>1&&t.attributes&&(t.attributes.valign="top",t.attributes.rowspan=d),a.push(t)}n.push({tagName:"tr",children:a})}if(e){let t=[];for(i=0,r=e.length;i<r;++i)void 0!==e[i]&&t.push(u("th",null,{scope:"col"},e[i]));n.push({tagName:"tr",children:t})}return{tagName:"thead",children:n}}(d,c||[],Math.max(e,c?.length||0)));let f=[];h.forEach(function(t){let a=[];for(let o=0;o<e;o++)a.push(u(o?"td":"th",null,o?{}:{scope:"row"},t[o]));f.push({tagName:"tr",children:a})}),a.push({tagName:"tbody",children:f});let m={tree:{tagName:"table",id:`highcharts-data-table-${n.index}`,children:a}};return(0,s.fireEvent)(n,"afterGetTableAST",m),m.tree}function l(){this.toggleDataTable(!1)}function h(t){return!1!==t.options.includeInDataExport&&!t.options.isInternal&&!1!==t.visible}function d(t){let e=this.chart,a=(t=t??!this.isDataTableVisible)&&!this.dataTableDiv;if(a&&(this.dataTableDiv=E.createElement("div"),this.dataTableDiv.className="highcharts-data-table",e.renderTo.parentNode.insertBefore(this.dataTableDiv,e.renderTo.nextSibling)),this.dataTableDiv){let o=this.dataTableDiv.style,n=o.display;o.display=t?"block":"none",t?(this.dataTableDiv.innerHTML=b().emptyHTML,new(b())([this.getTableAST()]).addToDOM(this.dataTableDiv),(0,s.fireEvent)(e,"afterViewData",{element:this.dataTableDiv,wasHidden:a||n!==o.display})):(0,s.fireEvent)(e,"afterHideData")}this.isDataTableVisible=t;let o=this.divElements,n=this.options,i=n.buttons?.contextButton.menuItems,r=e.options.lang;if(n&&n.menuItemDefinitions&&r&&r.viewData&&r.hideData&&i&&o){let t=o[i.indexOf("viewData")];t&&b().setElementHTML(t,this.isDataTableVisible?r.hideData:r.viewData)}}function c(){this.toggleDataTable(!0)}function p(t){let e=this.chart,a=!!this.options.showExportInProgress,o=C.requestAnimationFrame||setTimeout;o(()=>{a&&e.showLoading(e.options.lang.exportInProgress),o(()=>{try{t.call(this)}finally{a&&e.hideLoading()}})})}function u(){let t=this.exporting,e=t?.dataTableDiv,a=this.options.lang,o=a?.decimalPoint||".",n=a?.thousandsSep||",",i=(t,e)=>t.children[e].textContent||"",r=t=>{if(!t)return null;let e=t;n&&(e=e.split(n).join(""));let a=Number(e=e.replace(o,"."));return(0,s.isNumber)(a)?a:null};if(e&&t.options.allowTableSorting){let a=e.querySelector("thead tr");a&&a.childNodes.forEach(a=>{let o=e.querySelector("tbody");a.addEventListener("click",function(){let n=[...e.querySelectorAll("tr:not(thead tr)")],l=[...a.parentNode.children];if(t){let e,s;n.sort((e=l.indexOf(a),s=t.ascendingOrderInTable=!t.ascendingOrderInTable,(t,a)=>{let o=i(s?t:a,e),n=i(s?a:t,e),l=r(o),h=r(n);return null!==l&&null!==h?l-h:o.localeCompare(n)})).forEach(t=>{o?.appendChild(t)}),l.forEach(t=>{["highcharts-sort-ascending","highcharts-sort-descending"].forEach(e=>{t.classList.contains(e)&&t.classList.remove(e)}),t!==a&&t.removeAttribute("aria-sort")}),a.classList.add(t.ascendingOrderInTable?"highcharts-sort-ascending":"highcharts-sort-descending"),a.setAttribute("aria-sort",t.ascendingOrderInTable?"ascending":"descending")}})})}}function g(){this.options?.exporting?.showTable&&!this.options.chart.forExport&&this.exporting?.viewData()}function x(){this.exporting?.dataTableDiv?.remove()}t.compose=function(t,h,f){if(!(0,s.pushUnique)(S,"ExportData"))return;(0,s.extend)(w().prototype,{downloadCSV:function(){return this.exporting?.downloadCSV()},downloadXLS:function(){return this.exporting?.downloadXLS()},getCSV:function(t){return this.exporting?.getCSV(t)},getDataRows:function(t){return this.exporting?.getDataRows(t)},getTable:function(t){return this.exporting?.getTable(t)},getTableAST:function(t){return this.exporting?.getTableAST(t)},hideData:function(){return this.exporting?.hideData()},toggleDataTable:function(t){return this.exporting?.toggleDataTable(t)},viewData:function(){return this.exporting?.viewData()}});let m=h.prototype;if(!m.downloadCSV){(0,s.addEvent)(t,"afterViewData",u),(0,s.addEvent)(t,"render",g),(0,s.addEvent)(t,"destroy",x),m.downloadCSV=e,m.downloadXLS=a,m.getCSV=o,m.getDataRows=n,m.getTable=i,m.getTableAST=r,m.hideData=l,m.toggleDataTable=d,m.wrapLoading=p,m.viewData=c,D(T);let h=v().exporting?.buttons?.contextButton?.menuItems;h&&h.push("separator","downloadCSV","downloadXLS","viewData");let{arearange:b,gantt:y,map:w,mapbubble:S,treemap:E,xrange:C}=f.types;b&&(b.prototype.keyToAxis={low:"y",high:"y"}),y&&(y.prototype.exportKey="name",y.prototype.keyToAxis={start:"x",end:"x"}),w&&(w.prototype.exportKey="name"),S&&(S.prototype.exportKey="name"),E&&(E.prototype.exportKey="name"),C&&(C.prototype.keyToAxis={x2:"x"})}}}(o||(o={}));let A=o,L=h();L.dataURLtoBlob=L.dataURLtoBlob||g,L.downloadURL=L.downloadURL||f,A.compose(L.Chart,L.Exporting,L.Series);let H=h();return l.default})());
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0
|
|
3
|
+
* @license Highcharts JS v13.1.0 (2026-09-18)
|
|
4
4
|
* @module highcharts/modules/export-data
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
* @requires highcharts/modules/exporting
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
*/
|
|
16
16
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
17
17
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
18
|
-
module.exports = factory(root["_Highcharts"], root["_Highcharts"]["
|
|
18
|
+
module.exports = factory(root["_Highcharts"]["AST"], root["_Highcharts"]["Chart"], root["_Highcharts"]);
|
|
19
19
|
else if(typeof define === 'function' && define.amd)
|
|
20
|
-
define("highcharts/modules/export-data", ["highcharts/highcharts"], function (amd1) {return factory(amd1
|
|
20
|
+
define("highcharts/modules/export-data", ["highcharts/highcharts"], function (amd1) {return factory(amd1["AST"],amd1["Chart"],amd1);});
|
|
21
21
|
else if(typeof exports === 'object')
|
|
22
|
-
exports["highcharts/modules/export-data"] = factory(root["_Highcharts"], root["_Highcharts"]["
|
|
22
|
+
exports["highcharts/modules/export-data"] = factory(root["_Highcharts"]["AST"], root["_Highcharts"]["Chart"], root["_Highcharts"]);
|
|
23
23
|
else
|
|
24
|
-
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["
|
|
25
|
-
})(typeof window === 'undefined' ? this : window, (
|
|
24
|
+
root["Highcharts"] = factory(root["Highcharts"]["AST"], root["Highcharts"]["Chart"], root["Highcharts"]);
|
|
25
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__660__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__944__) => {
|
|
26
26
|
return /******/ (() => { // webpackBootstrap
|
|
27
27
|
/******/ "use strict";
|
|
28
28
|
/******/ var __webpack_modules__ = ({
|
|
@@ -76,48 +76,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__944__;
|
|
|
76
76
|
/******/
|
|
77
77
|
/************************************************************************/
|
|
78
78
|
/******/ /* webpack/runtime/compat get default export */
|
|
79
|
-
/******/
|
|
80
|
-
/******/
|
|
81
|
-
/******/
|
|
82
|
-
/******/
|
|
83
|
-
/******/
|
|
84
|
-
/******/
|
|
85
|
-
/******/
|
|
86
|
-
/******/
|
|
87
|
-
/******/ };
|
|
88
|
-
/******/ })();
|
|
79
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
80
|
+
/******/ __webpack_require__.n = (module) => {
|
|
81
|
+
/******/ const getter = module && module.__esModule ?
|
|
82
|
+
/******/ () => (module['default']) :
|
|
83
|
+
/******/ () => (module);
|
|
84
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
85
|
+
/******/ return getter;
|
|
86
|
+
/******/ };
|
|
89
87
|
/******/
|
|
90
88
|
/******/ /* webpack/runtime/define property getters */
|
|
91
|
-
/******/
|
|
92
|
-
/******/
|
|
93
|
-
/******/
|
|
94
|
-
/******/ if(
|
|
95
|
-
/******/
|
|
96
|
-
/******/ while(i < definition.length) {
|
|
97
|
-
/******/ var key = definition[i++];
|
|
98
|
-
/******/ var binding = definition[i++];
|
|
99
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
100
|
-
/******/ if(binding === 0) {
|
|
101
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
102
|
-
/******/ } else {
|
|
103
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
104
|
-
/******/ }
|
|
105
|
-
/******/ } else if(binding === 0) { i++; }
|
|
106
|
-
/******/ }
|
|
107
|
-
/******/ } else {
|
|
108
|
-
/******/ for(var key in definition) {
|
|
109
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
110
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
111
|
-
/******/ }
|
|
112
|
-
/******/ }
|
|
89
|
+
/******/ // define getter/value functions for harmony exports
|
|
90
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
91
|
+
/******/ for(var key in definition) {
|
|
92
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
93
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
113
94
|
/******/ }
|
|
114
|
-
/******/ }
|
|
115
|
-
/******/ }
|
|
95
|
+
/******/ }
|
|
96
|
+
/******/ };
|
|
116
97
|
/******/
|
|
117
98
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
118
|
-
/******/ (
|
|
119
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
120
|
-
/******/ })();
|
|
99
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
121
100
|
/******/
|
|
122
101
|
/************************************************************************/
|
|
123
102
|
let __webpack_exports__ = {};
|
|
@@ -719,6 +698,7 @@ const { getOptions, setOptions } = (highcharts_commonjs_highcharts_commonjs2_hig
|
|
|
719
698
|
|
|
720
699
|
const { composed, doc: ExportData_doc, win: ExportData_win } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
721
700
|
|
|
701
|
+
|
|
722
702
|
/* *
|
|
723
703
|
*
|
|
724
704
|
* Composition
|
|
@@ -759,7 +739,7 @@ var ExportData;
|
|
|
759
739
|
return;
|
|
760
740
|
}
|
|
761
741
|
// Adding wrappers for the deprecated functions
|
|
762
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.extend)((highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default()).prototype, {
|
|
742
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.extend)((highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default()).prototype, {
|
|
763
743
|
downloadCSV: function () {
|
|
764
744
|
return this.exporting?.downloadCSV();
|
|
765
745
|
},
|
|
@@ -853,6 +833,10 @@ var ExportData;
|
|
|
853
833
|
* @requires modules/export-data
|
|
854
834
|
*/
|
|
855
835
|
function downloadCSV() {
|
|
836
|
+
if (!this.chart.series.some(isExportableSeries)) {
|
|
837
|
+
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.error)('Warning: No data to export', false, this.chart);
|
|
838
|
+
return;
|
|
839
|
+
}
|
|
856
840
|
this.wrapLoading(() => {
|
|
857
841
|
const csv = this.getCSV(true);
|
|
858
842
|
downloadURL(getBlobFromContent(csv, 'text/csv') ||
|
|
@@ -872,6 +856,10 @@ var ExportData;
|
|
|
872
856
|
* @requires modules/export-data
|
|
873
857
|
*/
|
|
874
858
|
function downloadXLS() {
|
|
859
|
+
if (!this.chart.series.some(isExportableSeries)) {
|
|
860
|
+
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.error)('Warning: No data to export', false, this.chart);
|
|
861
|
+
return;
|
|
862
|
+
}
|
|
875
863
|
this.wrapLoading(() => {
|
|
876
864
|
const uri = 'data:application/vnd.ms-excel;base64,', template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" ' +
|
|
877
865
|
'xmlns:x="urn:schemas-microsoft-com:office:excel" ' +
|
|
@@ -1039,10 +1027,7 @@ var ExportData;
|
|
|
1039
1027
|
chart.series.forEach(function (series) {
|
|
1040
1028
|
const keys = series.options.keys, xAxis = series.xAxis, pointArrayMap = keys || getPointArray(series, xAxis), valueCount = pointArrayMap.length, xTaken = !series.requireSorting && {}, xAxisIndex = xAxes.indexOf(xAxis);
|
|
1041
1029
|
let categoryAndDatetimeMap = getCategoryAndDateTimeMap(series, pointArrayMap), mockSeries, j;
|
|
1042
|
-
if (series
|
|
1043
|
-
!series.options.isInternal &&
|
|
1044
|
-
series.visible !== false // #55
|
|
1045
|
-
) {
|
|
1030
|
+
if (isExportableSeries(series)) {
|
|
1046
1031
|
// Build a lookup for X axis index and the position of the first
|
|
1047
1032
|
// series that belongs to that X axis. Includes -1 for non-axis
|
|
1048
1033
|
// series types like pies.
|
|
@@ -1472,6 +1457,20 @@ var ExportData;
|
|
|
1472
1457
|
function hideData() {
|
|
1473
1458
|
this.toggleDataTable(false);
|
|
1474
1459
|
}
|
|
1460
|
+
/**
|
|
1461
|
+
* Whether the series contributes columns to the exported data.
|
|
1462
|
+
*
|
|
1463
|
+
* @internal
|
|
1464
|
+
*
|
|
1465
|
+
* @requires modules/exporting
|
|
1466
|
+
* @requires modules/export-data
|
|
1467
|
+
*/
|
|
1468
|
+
function isExportableSeries(series) {
|
|
1469
|
+
return (series.options.includeInDataExport !== false &&
|
|
1470
|
+
!series.options.isInternal &&
|
|
1471
|
+
series.visible !== false // #55
|
|
1472
|
+
);
|
|
1473
|
+
}
|
|
1475
1474
|
/**
|
|
1476
1475
|
* Toggle showing data table.
|
|
1477
1476
|
*
|
package/modules/exporting.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v13.0
|
|
2
|
+
* Highcharts JS v13.1.0 (2026-09-18)
|
|
3
3
|
* @module highcharts/modules/exporting
|
|
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
|
-
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.AST,e._Highcharts.Chart):"function"==typeof define&&define.amd?define("highcharts/modules/exporting",["highcharts/highcharts"],function(e){return t(e,e.AST,e.Chart)}):"object"==typeof exports?exports["highcharts/modules/exporting"]=t(e._Highcharts,e._Highcharts.AST,e._Highcharts.Chart):e.Highcharts=t(e.Highcharts,e.Highcharts.AST,e.Highcharts.Chart)}("u"<typeof window?this:window,(e,t,n)=>(()=>{"use strict";var i,r,o={660(e){e.exports=t},960(e){e.exports=n},944(t){t.exports=e}};let a={};function s(e){let t=a[e];if(void 0!==t)return t.exports;let n=a[e]={exports:{}};return o[e](n,n.exports,s),n.exports}s.n=e=>{let t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var i=t[n++],r=t[n++];s.o(e,i)?0===r&&n++:0===r?Object.defineProperty(e,i,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,i,{enumerable:!0,get:r})}else for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let l={};s.d(l,{default:()=>$});var c=s(944),h=s.n(c),d=s(660),p=s.n(d),u=s(960),g=s.n(u),f=i||(i={});f.compose=function(e){return e.navigation||(e.navigation=new m(e)),e};class m{constructor(e){this.updates=[],this.chart=e}addUpdate(e){this.chart.navigation.updates.push(e)}update(e,t){this.updates.forEach(n=>{n.call(this.chart,e,t)})}}f.Additions=m;let y=i,{isSafari:x,win:v,win:{document:w}}=h(),b=v.URL||v.webkitURL||v;function S(e,t){let n=v.navigator,i=w.createElement("a");if("string"!=typeof e&&!(e instanceof String)&&n.msSaveOrOpenBlob)return void n.msSaveOrOpenBlob(e,t);if(e=""+e,n.userAgent.length>1e3)throw Error("Input too long");let r=/Edge\/\d+/.test(n.userAgent);if((x&&"string"==typeof e&&0===e.indexOf("data:application/pdf")||r||e.length>2e6)&&!(e=function(e){let t=e.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(t&&t.length>3&&v.atob&&v.ArrayBuffer&&v.Uint8Array&&v.Blob&&b.createObjectURL){let e=v.atob(t[3]),n=new v.ArrayBuffer(e.length),i=new v.Uint8Array(n);for(let t=0;t<i.length;++t)i[t]=e.charCodeAt(t);return b.createObjectURL(new v.Blob([i],{type:t[1]}))}}(e)||""))throw Error("Failed to convert to blob");if(void 0!==i.download)i.href=e,i.download=t,w.body.appendChild(i),i.click(),w.body.removeChild(i);else try{if(!v.open(e,"chart"))throw Error("Failed to open window")}catch{v.location.href=e}}let{isTouchDevice:E}=h(),C={exporting:{allowHTML:!0,allowTableSorting:!0,local:!0,type:"image/png",url:`https://export-svg.highcharts.com?v=${h().version}`,pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:["viewFullscreen","printChart","separator","downloadPNG","downloadJPEG","downloadSVG"]}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen?.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.exporting?.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:async function(){await this.exporting?.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:async function(){await this.exporting?.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:async function(){await this.exporting?.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:async function(){await this.exporting?.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:14.5,symbolY:13.5,align:"right",buttonSpacing:5,height:28,y:-5,verticalAlign:"top",width:28,symbolFill:"var(--highcharts-neutral-color-60)",symbolStroke:"var(--highcharts-neutral-color-60)",symbolStrokeWidth:3,theme:{fill:"var(--highcharts-background-color)",padding:5,stroke:"none","stroke-linecap":"round"}},menuStyle:{border:"none",borderRadius:"3px",background:"var(--highcharts-background-color)",padding:"0.5em"},menuItemStyle:{background:"none",borderRadius:"3px",color:"var(--highcharts-neutral-color-80)",padding:"0.5em",fontSize:E?"0.9em":"0.8em",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"var(--highcharts-neutral-color-5)"}}};!function(e){let t=[];function n(e,t,n,i){return[["M",e,t+2.5],["L",e+n,t+2.5],["M",e,t+i/2+.5],["L",e+n,t+i/2+.5],["M",e,t+i-1.5],["L",e+n,t+i-1.5]]}function i(e,t,n,i){let r=i/3-2,o=[];return o.concat(this.circle(n-r,t,r,r),this.circle(n-r,t+r+4,r,r),this.circle(n-r,t+2*(r+4),r,r))}e.compose=function(e){if(-1===t.indexOf(e)){t.push(e);let r=e.prototype.symbols;r.menu=n,r.menuball=i.bind(r)}}}(r||(r={}));let O=r,{composed:T}=h();function F(){this.fullscreen=new k(this)}class k{static compose(e){(0,c.pushUnique)(T,"Fullscreen")&&(0,c.addEvent)(e,"beforeRender",F)}constructor(e){this.chart=e,this.isOpen=!1;const t=e.renderTo;!this.browserProps&&("function"==typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}close(){let e=this,t=e.chart,n=t.options.chart;(0,c.fireEvent)(t,"fullscreenClose",void 0,function(){e.isOpen&&e.browserProps&&t.container.ownerDocument instanceof Document&&t.container.ownerDocument[e.browserProps.exitFullscreen](),e.unbindFullscreenEvent&&(e.unbindFullscreenEvent=e.unbindFullscreenEvent()),t.setSize(e.origWidth,e.origHeight,!1),e.origWidth=void 0,e.origHeight=void 0,n.width=e.origWidthOption,n.height=e.origHeightOption,e.origWidthOption=void 0,e.origHeightOption=void 0,e.isOpen=!1,e.setButtonText()})}open(){let e=this,t=e.chart,n=t.options.chart;(0,c.fireEvent)(t,"fullscreenOpen",void 0,function(){if(n&&(e.origWidthOption=n.width,e.origHeightOption=n.height),e.origWidth=t.chartWidth,e.origHeight=t.chartHeight,e.browserProps){let n=(0,c.addEvent)(t.container.ownerDocument,e.browserProps.fullscreenChange,function(){e.isOpen?(e.isOpen=!1,e.close()):(t.setSize(null,null,!1),e.isOpen=!0,e.setButtonText())}),i=(0,c.addEvent)(t,"destroy",n);e.unbindFullscreenEvent=()=>{n(),i()};let r=t.renderTo[e.browserProps.requestFullscreen]();r&&r.catch(function(){alert("Full screen is not supported inside a frame.")})}})}setButtonText(){let e=this.chart,t=e.exporting?.divElements,n=e.options.exporting,i=n&&n.buttons&&n.buttons.contextButton.menuItems,r=e.options.lang;if(n?.menuItemDefinitions&&r?.exitFullscreen&&r.viewFullscreen&&i&&t){let e=t[i.indexOf("viewFullscreen")];e&&p().setElementHTML(e,this.isOpen?r.exitFullscreen:n.menuItemDefinitions.viewFullscreen?.text||r.viewFullscreen)}}toggle(){this.isOpen?this.close():this.open()}}let{win:R}=h(),A={ajax:function(e){let t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},n=new XMLHttpRequest;function i(t,n){e.error&&e.error(t,n)}if(!e.url)return!1;n.open((e.type||"get").toUpperCase(),e.url,!0),e.headers?.["Content-Type"]||n.setRequestHeader("Content-Type",t[e.dataType||"json"]||t.text),(0,c.objectEach)(e.headers,function(e,t){n.setRequestHeader(t,e)}),e.responseType&&(n.responseType=e.responseType),n.onreadystatechange=function(){let t;if(4===n.readyState){if(200===n.status){if("blob"!==e.responseType&&(t=n.responseText,"json"===e.dataType))try{t=JSON.parse(t)}catch(e){if(e instanceof Error)return i(n,e)}return e.success?.(t,n)}i(n,n.responseText)}},e.data&&"string"!=typeof e.data&&(e.data=JSON.stringify(e.data)),n.send(e.data)},getJSON:function(e,t){A.ajax({url:e,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})}};A.post=async function(e,t,n){let i=new R.FormData;(0,c.objectEach)(t,function(e,t){i.append(t,e)}),i.append("b64","true");let r=await R.fetch(e,{method:"POST",body:i,...n});if(r.ok){let e=await r.text(),n=document.createElement("a");n.href=`data:${t.type};base64,${e}`,n.download=t.filename,n.click(),(0,c.discardElement)(n)}};let{defaultOptions:N,setOptions:P}=h(),{composed:M,doc:D,isFirefox:H,isMS:L,isSafari:I,SVG_NS:U,win:G}=h();p().allowedAttributes.push("data-z-index","fill-opacity","filter","preserveAspectRatio","rx","ry","stroke-dasharray","stroke-linejoin","stroke-opacity","text-anchor","transform","transform-origin","version","viewBox","visibility","xmlns","xmlns:xlink"),p().allowedTags.push("desc","clippath","fedropshadow","femorphology","g","image");let j=G.URL||G.webkitURL||G;class B{constructor(e,t){this.options={},this.chart=e,this.options=t,this.btnCount=0,this.buttonOffset=0,this.divElements=[],this.svgElements=[]}static hyphenate(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()})}static async imageToDataURL(e,t,n){let i=await B.loadImage(e),r=D.createElement("canvas"),o=r?.getContext("2d");if(o)return r.height=i.height*t,r.width=i.width*t,o.drawImage(i,0,0,r.width,r.height),r.toDataURL(n);throw Error("No canvas found!")}static async fetchCSS(e){try{let t=await fetch(e),n=await t.text(),i=new CSSStyleSheet;return i.replaceSync(n),i}catch{(0,c.error)(`Warning: Failed to fetch CSS from ${e}`,!1)}}static extractFontFamilies(e){return e?e.split(",").map(e=>e.trim().replace(/^['"]|['"]$/g,"")).filter(Boolean):[]}static selectorAffectsSVG(e,t){try{if(t.matches(e))return!0;return!!t.querySelector(e)}catch{return!1}}static collectSVGInlineFonts(e,t){for(let n of[e,...Array.from(e.querySelectorAll("text, tspan"))]){let e=n.getAttribute("style")||"",i=n.getAttribute("font-family")||"";if(e.indexOf("font-family")>-1){let n=e.match(/font-family\s*:\s*([^;]+)/i);for(let e of B.extractFontFamilies(n?.[1]))t.add(e)}for(let e of B.extractFontFamilies(i))t.add(e)}}static async handleStyleSheet(e,t,n,i,r=new Set){let o=e.href;if(o){if(r.has(o))return;r.add(o)}try{for(let a of Array.from(e.cssRules)){if(a instanceof CSSImportRule)try{let e=await B.fetchCSS(a.href);e&&await B.handleStyleSheet(e,t,n,i,r)}catch{}if(a instanceof CSSStyleRule&&B.selectorAffectsSVG(a.selectorText,i))for(let e of B.extractFontFamilies(a.style.fontFamily))n.add(e);if(a instanceof CSSFontFaceRule){let e=a.cssText;if(o){let t=/url\(\s*(['"]?)(?![a-z]+:|\/\/)([^'")]+?)\1\s*\)/gi;e=e.replace(t,(e,t,n)=>{let i=new URL(n,o).href;return`url(${t}${i}${t})`})}t.push(e)}}}catch(e){if("SecurityError"===e.name&&o)try{let e=await B.fetchCSS(o);e&&await B.handleStyleSheet(e,t,n,i,r)}catch{}}}static async fetchStyleSheets(e){let t=[],n=new Set;for(let i of(B.collectSVGInlineFonts(e,n),Array.from(D.styleSheets)))await B.handleStyleSheet(i,t,n,e);return n.size?t.filter(e=>{let t=e.match(/font-family\s*:\s*([^;]+);?/i);return B.extractFontFamilies(t?.[1]).some(e=>n.has(e))}):t}static async inlineFonts(e){let t=await B.fetchStyleSheets(e),n=/url\(([^)]+)\)/g,i=[],r=t.join("\n"),o;for(;o=n.exec(r);){let e=o[1].replace(/['"]/g,"");i.includes(e)||i.push(e)}let a=e=>{let t="",n=new Uint8Array(e);for(let e=0;e<n.byteLength;e++)t+=String.fromCharCode(n[e]);return btoa(t)},s={};for(let e of i)try{let t=await fetch(e),n=t.headers.get("Content-Type")||"",i=a(await t.arrayBuffer());s[e]=`data:${n};base64,${i}`}catch{}r=r.replace(n,(e,t)=>{let n=t.replace(/['"]/g,"");return`url(${s[n]||n})`});let l=document.createElementNS("http://www.w3.org/2000/svg","style");return l.textContent=r,e.append(l),e}static loadImage(e){return new Promise((t,n)=>{let i=new G.Image;i.crossOrigin="Anonymous",i.onload=()=>{setTimeout(()=>{t(i)},B.loadEventDeferDelay)},i.onerror=e=>{n(e)},i.src=e})}static prepareImageOptions(e){let t=e?.type||"image/png",n=e?.libURL||N.exporting?.libURL;return{type:t,filename:(e?.filename||"chart")+"."+("image/svg+xml"===t?"svg":t.split("/")[1]),scale:e?.scale||1,libURL:n?.slice(-1)!=="/"?n+"/":n}}static sanitizeDOM(e){e.querySelectorAll("foreignObject").forEach(e=>{["width","height"].forEach(t=>{let n=e.getAttribute(t);n&&e.setAttribute(t,Math.ceil(1.15*parseInt(n,10)))})})}static sanitizeSVG(e,t){let n=e.lastIndexOf("</svg>");return n>-1&&(e=e.substr(0,n+6)),e=e.replace(/(<(?:img|br).*?(?=\>))>/g,"$1 />").replace(/(<svg(?![^>]*xmlns=)[^>]*)>/g,'$1 xmlns="http://www.w3.org/2000/svg">').replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery\d+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|")\;?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (NS\d+\:)?href=/g," xlink:href=").replace(/(<image[^>]*) xlink:href=/g,"$1 href=").replace(/\n+/g," ").replace(/ /g,"\xa0").replace(/­/g,"\xad")}static svgToDataURL(e){let t=G.navigator.userAgent,n=t.indexOf("WebKit")>-1&&0>t.indexOf("Chrome");try{if(!n&&-1===e.indexOf("<foreignObject"))return j.createObjectURL(new G.Blob([e],{type:"image/svg+xml;charset-utf-16"}))}catch{}return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(e)}addButton(e){let t,n=this,i=n.chart,r=i.renderer,o=(0,c.merge)(i.options.navigation?.buttonOptions,e),a=o.onclick,s=o.menuItems,l=o.symbolSize||12;if(!1===o.enabled||!o.theme)return;let h=i.styledMode?{}:o.theme,d=()=>{};a?d=function(e){e&&e.stopPropagation(),a.call(i,e,i)}:s&&(d=function(e){e&&e.stopPropagation(),n.contextMenu(p.menuClassName,s,p.translateX||0,p.translateY||0,p.width||0,p.height||0,p),p.setState(2)}),o.text&&o.symbol?h.paddingLeft=h.paddingLeft??30:o.text||(0,c.extend)(h,{width:o.width,height:o.height,padding:0});let p=r.button(o.text||"",0,0,d,h,void 0,void 0,void 0,void 0,o.useHTML).addClass(e.className||"").attr({title:i.options.lang[o._titleKey||o.titleKey]??""});p.menuClassName=e.menuClassName||"highcharts-menu-"+n.btnCount++,o.symbol&&(t=r.symbol(o.symbol,Math.round((o.symbolX||0)-l/2),Math.round((o.symbolY||0)-l/2),l,l,{width:l,height:l}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(p),i.styledMode||t.attr({stroke:o.symbolStroke,fill:o.symbolFill,"stroke-width":o.symbolStrokeWidth||1})),p.add(n.group).align((0,c.extend)(o,{width:p.width,x:o.x??n.buttonOffset}),!0,"spacingBox"),n.buttonOffset+=((p.width||0)+(o.buttonSpacing||0))*("right"===o.align?-1:1),n.svgElements.push(p,t)}afterPrint(){let e=this.chart;if(!this.printReverseInfo)return;let{childNodes:t,origDisplay:n,resetParams:i}=this.printReverseInfo;this.moveContainers(e.renderTo),[].forEach.call(t,function(e,t){1===e.nodeType&&(e.style.display=n[t]||"")}),this.isPrinting=!1,i&&e.setSize.apply(e,i),delete this.printReverseInfo,B.printingChart=void 0,(0,c.fireEvent)(e,"afterPrint")}beforePrint(){let e=this.chart,t=D.body,n=this.options.printMaxWidth,i={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,e.pointer?.reset(void 0,0),(0,c.fireEvent)(e,"beforePrint"),n&&e.chartWidth>n&&(i.resetParams=[e.options.chart.width,void 0,!1],e.setSize(n,void 0,!1)),[].forEach.call(i.childNodes,function(e,t){1===e.nodeType&&(i.origDisplay[t]=e.style.display,e.style.display="none")}),this.moveContainers(t),this.printReverseInfo=i}contextMenu(e,t,n,i,r,o,a){let s=this,l=s.chart,h=l.options.navigation,{chartWidth:d,chartHeight:u}=l,g="cache-"+e,f=Math.max(r,o),m,y=l[g];y||(s.contextMenuEl=l[g]=y=(0,c.createElement)("div",{className:e},{position:"absolute",zIndex:1e3,padding:f+"px",pointerEvents:"auto",...l.renderer.style},l.scrollablePlotArea?.fixedDiv||l.container),m=(0,c.createElement)("ul",{className:"highcharts-menu"},l.styledMode?{}:{listStyle:"none",margin:0,padding:0},y),l.styledMode||(0,c.css)(m,(0,c.extend)({MozBoxShadow:"3px 3px 10px #0008",WebkitBoxShadow:"3px 3px 10px #0008",boxShadow:"3px 3px 10px #0008"},h?.menuStyle||{})),y.hideMenu=function(){(0,c.css)(y,{display:"none"}),a&&a.setState(0),l.exporting&&(l.exporting.openMenu=!1),(0,c.css)(l.renderTo,{overflow:"hidden"}),(0,c.css)(l.container,{overflow:"hidden"}),(0,c.internalClearTimeout)(y.hideTimer),(0,c.fireEvent)(l,"exportMenuHidden")},s.events?.push((0,c.addEvent)(y,"mouseleave",function(){y.hideTimer=G.setTimeout(y.hideMenu,500)}),(0,c.addEvent)(y,"mouseenter",function(){(0,c.internalClearTimeout)(y.hideTimer)}),(0,c.addEvent)(D,"mouseup",function(t){l.pointer?.inClass(t.target,e)||y.hideMenu()}),(0,c.addEvent)(y,"click",function(){l.exporting?.openMenu&&y.hideMenu()})),t.forEach(function(e){if("string"==typeof e&&s.options.menuItemDefinitions?.[e]&&(e=s.options.menuItemDefinitions[e]),(0,c.isObject)(e,!0)){let t;e.separator?(t=(0,c.createElement)("li",{className:"highcharts-menu-item highcharts-separator",role:"separator"},void 0,m),l.styledMode||(0,c.css)(t,{border:"none",backgroundColor:"var(--highcharts-neutral-color-40)",height:"0.5px",margin:"10px 0",padding:0,listStyle:"none","pointer-events":"none"})):("viewData"===e.textKey&&s.isDataTableVisible&&(e.textKey="hideData"),t=(0,c.createElement)("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),y.hideMenu(),"string"!=typeof e&&e.onclick&&e.onclick.apply(l,arguments)}},void 0,m),p().setElementHTML(t,e.text||l.options.lang[e.textKey]),l.styledMode||(t.onmouseover=function(){(0,c.css)(this,h?.menuItemHoverStyle||{})},t.onmouseout=function(){(0,c.css)(this,h?.menuItemStyle||{})},(0,c.css)(t,(0,c.extend)({cursor:"pointer"},h?.menuItemStyle||{})))),s.divElements.push(t)}}),s.divElements.push(m,y),s.menuHeight=y.offsetHeight,s.menuWidth=y.offsetWidth);let x={display:"block"};n+(s.menuWidth||0)>d?x.right=d-n-r-f+"px":x.left=n-f+"px",i+o+(s.menuHeight||0)>u&&a.alignOptions?.verticalAlign!=="top"?x.bottom=u-i-f+"px":x.top=i+o-f+"px",(0,c.css)(y,x),(0,c.css)(l.renderTo,{overflow:""}),(0,c.css)(l.container,{overflow:""}),l.exporting&&(l.exporting.openMenu=!0),(0,c.fireEvent)(l,"exportMenuShown")}destroy(e){let t,n=e?e.target:this.chart,{divElements:i,events:r,svgElements:o}=this;o.forEach((e,i)=>{e&&(e.onclick=e.ontouchstart=null,n[t="cache-"+e.menuClassName]&&delete n[t],o[i]=e.destroy())}),o.length=0,this.group&&(this.group.destroy(),delete this.group),i.forEach(function(e,t){e&&((0,c.internalClearTimeout)(e.hideTimer),(0,c.removeEvent)(e,"mouseleave"),i[t]=e.onmouseout=e.onmouseover=e.ontouchstart=e.onclick=null,(0,c.discardElement)(e))}),i.length=0,r&&(r.forEach(function(e){e()}),r.length=0)}async downloadSVG(e,t){let n,i={svg:e,exportingOptions:t,exporting:this};if((0,c.fireEvent)(B.prototype,"downloadSVG",i),i.defaultPrevented)return;let{type:r,filename:o,scale:a,libURL:s}=B.prepareImageOptions(t);if("application/pdf"===r)throw Error("Offline exporting logic for PDF type is not found.");if("image/svg+xml"===r){if(void 0!==G.MSBlobBuilder){let t=new G.MSBlobBuilder;t.append(e),n=t.getBlob("image/svg+xml")}else n=B.svgToDataURL(e);S(n,o)}else{n=B.svgToDataURL(e);try{B.objectURLRevoke=!0;let e=await B.imageToDataURL(n,a,r);S(e,o)}catch(d){if("No canvas found!"===d.message)throw d;if(e.length>1e8)throw Error("Input too long");let t=D.createElement("canvas"),n=t.getContext("2d"),i=e.match(/^<svg[^>]*\s{,1000}width\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/),h=e.match(/^<svg[^>]*\s{0,1000}height\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/);if(n&&i&&h){let d=i[1]*a,p=h[1]*a;if(t.width=d,t.height=p,!G.canvg){var l;if(!s)throw Error("Image export requires canvg. Set exporting.libURL or preload canvg.");B.objectURLRevoke=!0,await (l=s+"canvg.js",new Promise((e,t)=>{let n=w.getElementsByTagName("head")[0],i=w.createElement("script");i.type="text/javascript",i.src=l,i.onload=()=>{e()},i.onerror=()=>{let e=`Error loading script ${l}`;(0,c.error)(e),t(Error(e))},n.appendChild(i)}))}G.canvg.Canvg.fromString(n,e).start(),S(G.navigator.msSaveOrOpenBlob?t.msToBlob():t.toDataURL(r),o)}}finally{if(B.objectURLRevoke)try{j.revokeObjectURL(n)}catch{}}}}async exportChart(e,t){if((e=(0,c.merge)(this.options,e)).local)await this.localExport(e,t||{});else{let n=await this.getSVGForExport(e,t);e.url&&await A.post(e.url,{filename:e.filename?e.filename.replace(/\//g,"-"):this.getFilename(),type:e.type,width:e.width,scale:e.scale,svg:n},e.fetchOptions)}}async fallbackToServer(e,t){!1===e.fallbackToExportServer?e.error?e.error(e,t):(0,c.error)(t?.message||28,!0,this.chart):"application/pdf"===e.type?(e.local=!1,await this.exportChart(e)):(0,c.error)(t.message,!1)}getChartHTML(e){let t=this.chart;return e&&this.inlineStyles(),this.resolveCSSVariables(),B.sanitizeDOM(t.renderer.box),t.container.querySelectorAll("canvas").forEach(function(e){let n=e.toDataURL("image/png"),i=e.parentNode,r=t.renderer.image(n,0,0,e.width,e.height);(0,c.css)(r.element,{width:e.style.width,height:e.style.height}),i.parentNode.insertBefore(r.element,i),i.remove()}),t.container.innerHTML}getFilename(){let e=this.chart.userOptions.title?.text,t=this.options.filename;return t?t.replace(/\//g,"-"):("string"==typeof e&&(t=e.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z\d\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!t||t.length<5)&&(t="chart"),t)}getSVG(e,t){let n=this.chart,i,r,o=(0,c.merge)(n.options,e);o.plotOptions=(0,c.merge)(n.userOptions.plotOptions,e?.plotOptions),o.time=(0,c.merge)(n.userOptions.time,e?.time);let a=(0,c.createElement)("div",void 0,{position:"absolute",top:"-9999em",width:n.chartWidth+"px",height:n.chartHeight+"px"},D.body),s=n.renderTo.style.width,l=n.renderTo.style.height,h=o.exporting?.sourceWidth||o.chart.width||/px$/.test(s)&&parseInt(s,10)||(o.isGantt?800:600),d=o.exporting?.sourceHeight||o.chart.height||/px$/.test(l)&&parseInt(l,10)||400;(0,c.extend)(o.chart,{animation:!1,renderTo:a,forExport:!0,renderer:"SVGRenderer",width:h,height:d}),o.exporting&&(o.exporting.enabled=!1),delete o.data,o.series=[],n.series.forEach(function(e){(r=(0,c.merge)(e.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:e.visible})).isInternal||o?.series?.push(r)});let p={};n.axes.forEach(function(e){e.userOptions.internalKey||(e.userOptions.internalKey=(0,c.uniqueKey)()),o&&!e.options.isInternal&&(p[e.coll]||(p[e.coll]=!0,o[e.coll]=[]),o[e.coll].push((0,c.merge)(e.userOptions,{visible:e.visible,type:e.type,uniqueNames:e.uniqueNames})))}),o.colorAxis=n.userOptions.colorAxis;let u=t=>{e&&["xAxis","yAxis","series"].forEach(function(n){e[n]&&t.update({[n]:e[n]})}),n.axes.forEach(function(n){let i=(0,c.find)(t.axes,e=>e.options.internalKey===n.userOptions.internalKey);if(i){let t=n.getExtremes(),r=(0,c.splat)(e?.[n.coll]||{})[0],o="min"in r?r.min:t.userMin,a="max"in r?r.max:t.userMax;(void 0!==o&&o!==i.min||void 0!==a&&a!==i.max)&&i.setExtremes(o??void 0,a??void 0,!0,!1)}});let r=t.exporting;return r?.options.applyStyleSheets&&this.applyShadowDOMStyles(t),(0,c.fireEvent)(n,"getSVG",{chartCopy:t}),i=r?.getChartHTML(n.styledMode||o?.exporting?.applyStyleSheets)||"",i=B.sanitizeSVG(i,o),(0,c.fireEvent)(n,"afterGetSVG",{chartCopy:t,svg:i}),o=void 0,t.destroy(),(0,c.discardElement)(a),i};return t?new Promise(e=>new n.constructor(o||{},function(t){n.callback?.call(this,t);let i=(0,c.addEvent)(this,"render",function(){i(),e(u(this))})})):u(new n.constructor(o,n.callback))}applyShadowDOMStyles(e){let t=this.chart,n=[],i=t.container,r;for(;i&&(!(r=i.getRootNode())||"object"!=typeof r.host);)i=i.parentNode,r=null;r?.querySelectorAll("style").forEach(t=>{let i=t.cloneNode(!0);e.renderer.defs.element.appendChild(i),n.push(i)}),(0,c.addEvent)(t,"afterGetSVG",()=>{n.forEach(e=>{e.remove()})})}async getSVGForExport(e,t){let n=this.options;return await this.getSVG((0,c.merge)({chart:{borderRadius:0}},n.chartOptions,t,{exporting:{sourceWidth:e?.sourceWidth||n.sourceWidth,sourceHeight:e?.sourceHeight||n.sourceHeight}}),!0)}inlineStyles(){let e,t=B.inlineDenylist,n=B.inlineAllowlist,i={},r=(0,c.createElement)("iframe",void 0,{width:"1px",height:"1px",visibility:"hidden"},D.body),o=r.contentWindow?.document;o&&o.body.appendChild(o.createElementNS(U,"svg")),!function r(a){let s,l,h,d,p,u,g={};if(o&&1===a.nodeType&&-1===B.unstyledElements.indexOf(a.nodeName)){if(s=G.getComputedStyle(a,null),l="svg"===a.nodeName?{}:G.getComputedStyle(a.parentNode,null),!i[a.nodeName]){e=o.getElementsByTagName("svg")[0],h=o.createElementNS(a.namespaceURI,a.nodeName),e.appendChild(h);let t=G.getComputedStyle(h,null),n={};for(let e in t)e.length<1e3&&"string"==typeof t[e]&&!/^\d+$/.test(e)&&(n[e]=t[e]);i[a.nodeName]=n,"text"===a.nodeName&&delete i.text.fill,e.removeChild(h)}for(let e in s)(H||L||I||Object.hasOwnProperty.call(s,e))&&function(e,r){if(d=p=!1,n.length){for(u=n.length;u--&&!p;)p=n[u].test(r);d=!p}for("transform"===r&&"none"===e&&(d=!0),u=t.length;u--&&!d;){if(r.length>1e3)throw Error("Input too long");d=t[u].test(r)||"function"==typeof e}!d&&(l[r]!==e||"svg"===a.nodeName)&&i[a.nodeName][r]!==e&&(B.inlineToAttributes&&-1===B.inlineToAttributes.indexOf(r)?g[r]=e:e&&a.setAttribute(B.hyphenate(r),e))}(s[e],e);if((0,c.css)(a,g),"svg"===a.nodeName&&a.setAttribute("stroke-width","1px"),"text"===a.nodeName)return;[].forEach.call(a.children||a.childNodes,r)}}(this.chart.container.querySelector("svg")),e.parentNode.removeChild(e),r.parentNode.removeChild(r)}async localExport(e,t){let n=this.chart,i,r,o=null,a;if(L&&n.styledMode&&!B.inlineAllowlist.length&&B.inlineAllowlist.push(/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/,/^outline/,/^parentRule/,/^rx$/,/^ry$/,/^stroke/,/^textAlign/,/^textAnchor/,/^textDecoration/,/^transform/,/^vectorEffect/,/^visibility/,/^x$/,/^y$/),L&&("application/pdf"===e.type||n.container.getElementsByTagName("image").length&&"image/svg+xml"!==e.type)||"application/pdf"===e.type&&[].some.call(n.container.getElementsByTagName("image"),function(e){let t=e.getAttribute("href");return""!==t&&"string"==typeof t&&0!==t.indexOf("data:")}))return void await this.fallbackToServer(e,Error("Image type not supported for this chart/browser."));let s=(0,c.addEvent)(n,"afterGetSVG",e=>{r=e.chartCopy.options,a=(i=e.chartCopy.container.cloneNode(!0))&&i.getElementsByTagName("image")||[]});try{let n;for(let n of(await this.getSVGForExport(e,t),a?Array.from(a):[]))if(o=n.getAttributeNS("http://www.w3.org/1999/xlink","href")){B.objectURLRevoke=!1;let t=await B.imageToDataURL(o,e?.scale||1,e?.type||"image/png");n.setAttributeNS("http://www.w3.org/1999/xlink","href",t)}else n.parentNode.removeChild(n);let s=i?.querySelector("svg");s&&!e.chartOptions?.chart?.style?.fontFamily&&await B.inlineFonts(s);let l=(n=i?.innerHTML,B.sanitizeSVG(n||"",r));if(l.indexOf("<foreignObject")>-1&&"image/svg+xml"!==e.type&&(L||"application/pdf"===e.type))throw Error("Image type not supported for charts with embedded HTML");return await this.downloadSVG(l,(0,c.extend)({filename:this.getFilename()},e)),l}catch(t){await this.fallbackToServer(e,t)}finally{s()}}moveContainers(e){let t=this.chart,{scrollablePlotArea:n}=t;(n?[n.fixedDiv,n.scrollingContainer]:[t.container]).forEach(function(t){e.appendChild(t)})}print(){let e=this.chart;this.isPrinting||(B.printingChart=e,I||this.beforePrint(),setTimeout(()=>{G.focus(),G.print(),I||setTimeout(()=>{e.exporting?.afterPrint()},1e3)},1))}render(){let e=this,{chart:t,options:n}=e,i=e?.isDirty||!e?.svgElements.length;e.buttonOffset=0,e.isDirty&&e.destroy(),i&&!1!==n.enabled&&(e.events=[],e.group||(e.group=t.renderer.g("exporting-group").attr({zIndex:3}).add()),(0,c.objectEach)(n?.buttons,function(t){e.addButton(t)}),e.isDirty=!1)}resolveCSSVariables(){Array.from(this.chart.container.querySelectorAll("*")).forEach(e=>{["color","fill","stop-color","stroke"].forEach(t=>{let n=e.getAttribute(t);n?.includes("var(")&&e.setAttribute(t,getComputedStyle(e).getPropertyValue(t));let i=e.style?.[t];i?.includes("var(")&&(e.style[t]=getComputedStyle(e).getPropertyValue(t))})})}update(e,t){this.isDirty=!0,(0,c.merge)(!0,this.options,e),(t??!0)&&this.chart.redraw()}}B.inlineAllowlist=[],B.inlineDenylist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/^parentRule$/,/^(cssRules|ownerRules)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/,/^\d+$/],B.inlineToAttributes=["fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","textAnchor","x","y"],B.loadEventDeferDelay=150*!!L,B.unstyledElements=["clipPath","defs","desc"],function(e){function t(e){let t=e.exporting;t&&(t.render(),(0,c.addEvent)(e,"redraw",function(){this.exporting?.render()}),(0,c.addEvent)(e,"destroy",function(){this.exporting?.destroy()}))}function n(){let t=this;t.options.exporting&&(t.exporting=new e(t,t.options.exporting),y.compose(t).navigation.addUpdate((e,n)=>{t.exporting&&(t.exporting.isDirty=!0,(0,c.merge)(!0,t.options.navigation,e),(n??!0)&&t.redraw())}))}function i({alignTo:e,key:t,textPxLength:n}){let i=this.options.exporting,{align:r,buttonSpacing:o=0,verticalAlign:a,width:s=0}=(0,c.merge)(this.options.navigation?.buttonOptions,i?.buttons?.contextButton),l=e.width-n,h=s+o;(i?.enabled??!0)&&"title"===t&&"right"===r&&"top"===a&&l<2*h&&(l<h?e.width-=h:this.title?.alignValue!=="left"&&(e.x-=h-l/2))}e.compose=function(r,o){O.compose(o),k.compose(r),(0,c.pushUnique)(M,"Exporting")&&((0,c.extend)(g().prototype,{exportChart:async function(e,t){await this.exporting?.exportChart(e,t)},getChartHTML:function(e){return this.exporting?.getChartHTML(e)},getFilename:function(){return this.exporting?.getFilename()},getSVG:function(e){return this.exporting?.getSVG(e,!1)},print:function(){return this.exporting?.print()}}),r.prototype.callbacks.push(t),(0,c.addEvent)(r,"afterInit",n),(0,c.addEvent)(r,"layOutTitle",i),I&&G.matchMedia("print").addListener(function(t){e.printingChart&&(t.matches?e.printingChart.exporting?.beforePrint():e.printingChart.exporting?.afterPrint())}),P(C))}}(B||(B={}));let V=h();V.Exporting=B,V.HttpUtilities=V.HttpUtilities||A,V.ajax=V.HttpUtilities.ajax,V.getJSON=V.HttpUtilities.getJSON,V.post=V.HttpUtilities.post,B.compose(V.Chart,V.Renderer);let $=h();return l.default})());
|
|
13
|
+
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts.AST,e._Highcharts.Chart,e._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/exporting",["highcharts/highcharts"],function(e){return t(e.AST,e.Chart,e)}):"object"==typeof exports?exports["highcharts/modules/exporting"]=t(e._Highcharts.AST,e._Highcharts.Chart,e._Highcharts):e.Highcharts=t(e.Highcharts.AST,e.Highcharts.Chart,e.Highcharts)}("u"<typeof window?this:window,(e,t,n)=>(()=>{"use strict";var i,r,o={660(t){t.exports=e},960(e){e.exports=t},944(e){e.exports=n}};let a={};function s(e){let t=a[e];if(void 0!==t)return t.exports;let n=a[e]={exports:{}};return o[e](n,n.exports,s),n.exports}s.n=e=>{let t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let l={};s.d(l,{default:()=>$});var c=s(944),h=s.n(c),d=s(660),p=s.n(d),u=s(960),g=s.n(u),f=i||(i={});f.compose=function(e){return e.navigation||(e.navigation=new m(e)),e};class m{constructor(e){this.updates=[],this.chart=e}addUpdate(e){this.chart.navigation.updates.push(e)}update(e,t){this.updates.forEach(n=>{n.call(this.chart,e,t)})}}f.Additions=m;let y=i,{isSafari:x,win:v,win:{document:w}}=h(),b=v.URL||v.webkitURL||v;function S(e,t){let n=v.navigator,i=w.createElement("a");if("string"!=typeof e&&!(e instanceof String)&&n.msSaveOrOpenBlob)return void n.msSaveOrOpenBlob(e,t);if(e=""+e,n.userAgent.length>1e3)throw Error("Input too long");let r=/Edge\/\d+/.test(n.userAgent);if((x&&"string"==typeof e&&0===e.indexOf("data:application/pdf")||r||e.length>2e6)&&!(e=function(e){let t=e.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(t&&t.length>3&&v.atob&&v.ArrayBuffer&&v.Uint8Array&&v.Blob&&b.createObjectURL){let e=v.atob(t[3]),n=new v.ArrayBuffer(e.length),i=new v.Uint8Array(n);for(let t=0;t<i.length;++t)i[t]=e.charCodeAt(t);return b.createObjectURL(new v.Blob([i],{type:t[1]}))}}(e)||""))throw Error("Failed to convert to blob");if(void 0!==i.download)i.href=e,i.download=t,w.body.appendChild(i),i.click(),w.body.removeChild(i);else try{if(!v.open(e,"chart"))throw Error("Failed to open window")}catch{v.location.href=e}}let{isTouchDevice:E}=h(),C={exporting:{allowHTML:!0,allowTableSorting:!0,local:!0,type:"image/png",url:`https://export-svg.highcharts.com?v=${h().version}`,pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:["viewFullscreen","printChart","separator","downloadPNG","downloadJPEG","downloadSVG"]}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen?.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.exporting?.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:async function(){await this.exporting?.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:async function(){await this.exporting?.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:async function(){await this.exporting?.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:async function(){await this.exporting?.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:14.5,symbolY:13.5,align:"right",buttonSpacing:5,height:28,y:-5,verticalAlign:"top",width:28,symbolFill:"var(--highcharts-neutral-color-60)",symbolStroke:"var(--highcharts-neutral-color-60)",symbolStrokeWidth:3,theme:{fill:"var(--highcharts-background-color)",padding:5,stroke:"none","stroke-linecap":"round"}},menuStyle:{border:"none",borderRadius:"3px",background:"var(--highcharts-background-color)",padding:"0.5em"},menuItemStyle:{background:"none",borderRadius:"3px",color:"var(--highcharts-neutral-color-80)",padding:"0.5em",fontSize:E?"0.9em":"0.8em",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"var(--highcharts-neutral-color-5)"}}};!function(e){let t=[];function n(e,t,n,i){return[["M",e,t+2.5],["L",e+n,t+2.5],["M",e,t+i/2+.5],["L",e+n,t+i/2+.5],["M",e,t+i-1.5],["L",e+n,t+i-1.5]]}function i(e,t,n,i){let r=i/3-2,o=[];return o.concat(this.circle(n-r,t,r,r),this.circle(n-r,t+r+4,r,r),this.circle(n-r,t+2*(r+4),r,r))}e.compose=function(e){if(-1===t.indexOf(e)){t.push(e);let r=e.prototype.symbols;r.menu=n,r.menuball=i.bind(r)}}}(r||(r={}));let O=r,{composed:T}=h();function F(){this.fullscreen=new k(this)}class k{static compose(e){(0,c.pushUnique)(T,"Fullscreen")&&(0,c.addEvent)(e,"beforeRender",F)}constructor(e){this.chart=e,this.isOpen=!1;let t=e.renderTo;!this.browserProps&&("function"==typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}close(){let e=this,t=e.chart,n=t.options.chart;(0,c.fireEvent)(t,"fullscreenClose",void 0,function(){e.isOpen&&e.browserProps&&t.container.ownerDocument instanceof Document&&t.container.ownerDocument[e.browserProps.exitFullscreen](),e.unbindFullscreenEvent&&(e.unbindFullscreenEvent=e.unbindFullscreenEvent()),t.setSize(e.origWidth,e.origHeight,!1),e.origWidth=void 0,e.origHeight=void 0,n.width=e.origWidthOption,n.height=e.origHeightOption,e.origWidthOption=void 0,e.origHeightOption=void 0,e.isOpen=!1,e.setButtonText()})}open(){let e=this,t=e.chart,n=t.options.chart;(0,c.fireEvent)(t,"fullscreenOpen",void 0,function(){if(n&&(e.origWidthOption=n.width,e.origHeightOption=n.height),e.origWidth=t.chartWidth,e.origHeight=t.chartHeight,e.browserProps){let n=(0,c.addEvent)(t.container.ownerDocument,e.browserProps.fullscreenChange,function(){e.isOpen?(e.isOpen=!1,e.close()):(t.setSize(null,null,!1),e.isOpen=!0,e.setButtonText())}),i=(0,c.addEvent)(t,"destroy",n);e.unbindFullscreenEvent=()=>{n(),i()};let r=t.renderTo[e.browserProps.requestFullscreen]();r&&r.catch(function(){alert("Full screen is not supported inside a frame.")})}})}setButtonText(){let e=this.chart,t=e.exporting?.divElements,n=e.options.exporting,i=n&&n.buttons&&n.buttons.contextButton.menuItems,r=e.options.lang;if(n?.menuItemDefinitions&&r?.exitFullscreen&&r.viewFullscreen&&i&&t){let e=t[i.indexOf("viewFullscreen")];e&&p().setElementHTML(e,this.isOpen?r.exitFullscreen:n.menuItemDefinitions.viewFullscreen?.text||r.viewFullscreen)}}toggle(){this.isOpen?this.close():this.open()}}let{win:R}=h(),N={ajax:function(e){let t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},n=new XMLHttpRequest;function i(t,n){e.error&&e.error(t,n)}if(!e.url)return!1;n.open((e.type||"get").toUpperCase(),e.url,!0),e.headers?.["Content-Type"]||n.setRequestHeader("Content-Type",t[e.dataType||"json"]||t.text),(0,c.objectEach)(e.headers,function(e,t){n.setRequestHeader(t,e)}),e.responseType&&(n.responseType=e.responseType),n.onreadystatechange=function(){let t;if(4===n.readyState){if(200===n.status){if("blob"!==e.responseType&&(t=n.responseText,"json"===e.dataType))try{t=JSON.parse(t)}catch(e){if(e instanceof Error)return i(n,e)}return e.success?.(t,n)}i(n,n.responseText)}},e.data&&"string"!=typeof e.data&&(e.data=JSON.stringify(e.data)),n.send(e.data)},getJSON:function(e,t){N.ajax({url:e,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})}};N.post=async function(e,t,n){let i=new R.FormData;(0,c.objectEach)(t,function(e,t){i.append(t,e)}),i.append("b64","true");let r=await R.fetch(e,{method:"POST",body:i,...n});if(r.ok){let e=await r.text(),n=document.createElement("a");n.href=`data:${t.type};base64,${e}`,n.download=t.filename,n.click(),(0,c.discardElement)(n)}};let{defaultOptions:A,setOptions:M}=h(),{composed:P,doc:D,isFirefox:H,isMS:L,isSafari:I,SVG_NS:U,win:G}=h();p().allowedAttributes.push("data-z-index","fill-opacity","filter","preserveAspectRatio","rx","ry","stroke-dasharray","stroke-linejoin","stroke-opacity","text-anchor","transform","transform-origin","version","viewBox","visibility","xmlns","xmlns:xlink"),p().allowedTags.push("desc","clippath","fedropshadow","femorphology","g","image");let j=G.URL||G.webkitURL||G;class B{constructor(e,t){this.options={},this.chart=e,this.options=t,this.btnCount=0,this.buttonOffset=0,this.divElements=[],this.svgElements=[]}static hyphenate(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()})}static async imageToDataURL(e,t,n){let i=await B.loadImage(e),r=D.createElement("canvas"),o=r?.getContext("2d");if(o)return r.height=i.height*t,r.width=i.width*t,o.drawImage(i,0,0,r.width,r.height),r.toDataURL(n);throw Error("No canvas found!")}static async fetchCSS(e){try{let t=await fetch(e),n=await t.text(),i=new CSSStyleSheet;return i.replaceSync(n),i}catch{(0,c.error)(`Warning: Failed to fetch CSS from ${e}`,!1)}}static extractFontFamilies(e){return e?e.split(",").map(e=>e.trim().replace(/^['"]|['"]$/g,"")).filter(Boolean):[]}static selectorAffectsSVG(e,t){try{if(t.matches(e))return!0;return!!t.querySelector(e)}catch{return!1}}static collectSVGInlineFonts(e,t){for(let n of[e,...Array.from(e.querySelectorAll("text, tspan"))]){let e=n.getAttribute("style")||"",i=n.getAttribute("font-family")||"";if(e.indexOf("font-family")>-1){let n=e.match(/font-family\s*:\s*([^;]+)/i);for(let e of B.extractFontFamilies(n?.[1]))t.add(e)}for(let e of B.extractFontFamilies(i))t.add(e)}}static async handleStyleSheet(e,t,n,i,r=new Set){let o=e.href;if(o){if(r.has(o))return;r.add(o)}try{for(let a of Array.from(e.cssRules)){if(a instanceof CSSImportRule)try{let e=await B.fetchCSS(a.href);e&&await B.handleStyleSheet(e,t,n,i,r)}catch{}if(a instanceof CSSStyleRule&&B.selectorAffectsSVG(a.selectorText,i))for(let e of B.extractFontFamilies(a.style.fontFamily))n.add(e);if(a instanceof CSSFontFaceRule){let e=a.cssText;if(o){let t=/url\(\s*(['"]?)(?![a-z]+:|\/\/)([^'")]+?)\1\s*\)/gi;e=e.replace(t,(e,t,n)=>{let i=new URL(n,o).href;return`url(${t}${i}${t})`})}t.push(e)}}}catch(e){if("SecurityError"===e.name&&o)try{let e=await B.fetchCSS(o);e&&await B.handleStyleSheet(e,t,n,i,r)}catch{}}}static async fetchStyleSheets(e){let t=[],n=new Set;for(let i of(B.collectSVGInlineFonts(e,n),Array.from(D.styleSheets)))await B.handleStyleSheet(i,t,n,e);return n.size?t.filter(e=>{let t=e.match(/font-family\s*:\s*([^;]+);?/i);return B.extractFontFamilies(t?.[1]).some(e=>n.has(e))}):t}static async inlineFonts(e){let t=await B.fetchStyleSheets(e),n=/url\(([^)]+)\)/g,i=[],r=t.join("\n"),o;for(;o=n.exec(r);){let e=o[1].replace(/['"]/g,"");i.includes(e)||i.push(e)}let a=e=>{let t="",n=new Uint8Array(e);for(let e=0;e<n.byteLength;e++)t+=String.fromCharCode(n[e]);return btoa(t)},s={};for(let e of i)try{let t=await fetch(e),n=t.headers.get("Content-Type")||"",i=a(await t.arrayBuffer());s[e]=`data:${n};base64,${i}`}catch{}r=r.replace(n,(e,t)=>{let n=t.replace(/['"]/g,"");return`url(${s[n]||n})`});let l=document.createElementNS("http://www.w3.org/2000/svg","style");return l.textContent=r,e.append(l),e}static loadImage(e){return new Promise((t,n)=>{let i=new G.Image;i.crossOrigin="Anonymous",i.onload=()=>{setTimeout(()=>{t(i)},B.loadEventDeferDelay)},i.onerror=e=>{n(e)},i.src=e})}static prepareImageOptions(e){let t=e?.type||"image/png",n=e?.libURL||A.exporting?.libURL;return{type:t,filename:(e?.filename||"chart")+"."+("image/svg+xml"===t?"svg":t.split("/")[1]),scale:e?.scale||1,libURL:n?.slice(-1)!=="/"?n+"/":n}}static sanitizeDOM(e){e.querySelectorAll("foreignObject").forEach(e=>{["width","height"].forEach(t=>{let n=e.getAttribute(t);n&&e.setAttribute(t,Math.ceil(1.15*parseInt(n,10)))})})}static sanitizeSVG(e,t){let n=e.lastIndexOf("</svg>");return n>-1&&(e=e.substr(0,n+6)),e=e.replace(/(<(?:img|br).*?(?=\>))>/g,"$1 />").replace(/(<svg(?![^>]*xmlns=)[^>]*)>/g,'$1 xmlns="http://www.w3.org/2000/svg">').replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery\d+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|")\;?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (NS\d+\:)?href=/g," xlink:href=").replace(/(<image[^>]*) xlink:href=/g,"$1 href=").replace(/\n+/g," ").replace(/ /g,"\xa0").replace(/­/g,"\xad")}static svgToDataURL(e){let t=G.navigator.userAgent,n=t.indexOf("WebKit")>-1&&0>t.indexOf("Chrome");try{if(!n&&-1===e.indexOf("<foreignObject"))return j.createObjectURL(new G.Blob([e],{type:"image/svg+xml;charset-utf-16"}))}catch{}return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(e)}addButton(e){let t,n=this,i=n.chart,r=i.renderer,o=(0,c.merge)(i.options.navigation?.buttonOptions,e),a=o.onclick,s=o.menuItems,l=o.symbolSize||12;if(!1===o.enabled||!o.theme)return;let h=i.styledMode?{}:o.theme,d=()=>{};a?d=function(e){e&&e.stopPropagation(),a.call(i,e,i)}:s&&(d=function(e){e&&e.stopPropagation(),n.contextMenu(p.menuClassName,s,p.translateX||0,p.translateY||0,p.width||0,p.height||0,p),p.setState(2)}),o.text&&o.symbol?h.paddingLeft=h.paddingLeft??30:o.text||(0,c.extend)(h,{width:o.width,height:o.height,padding:0});let p=r.button(o.text||"",0,0,d,h,void 0,void 0,void 0,void 0,o.useHTML).addClass(e.className||"").attr({title:i.options.lang[o._titleKey||o.titleKey]??""});p.menuClassName=e.menuClassName||"highcharts-menu-"+n.btnCount++,o.symbol&&(t=r.symbol(o.symbol,Math.round((o.symbolX||0)-l/2),Math.round((o.symbolY||0)-l/2),l,l,{width:l,height:l}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(p),i.styledMode||t.attr({stroke:o.symbolStroke,fill:o.symbolFill,"stroke-width":o.symbolStrokeWidth||1})),p.add(n.group).align((0,c.extend)(o,{width:p.width,x:o.x??n.buttonOffset}),!0,"spacingBox"),n.buttonOffset+=((p.width||0)+(o.buttonSpacing||0))*("right"===o.align?-1:1),n.svgElements.push(p,t)}afterPrint(){let e=this.chart;if(!this.printReverseInfo)return;let{childNodes:t,origDisplay:n,resetParams:i}=this.printReverseInfo;this.moveContainers(e.renderTo),[].forEach.call(t,function(e,t){1===e.nodeType&&(e.style.display=n[t]||"")}),this.isPrinting=!1,i&&e.setSize.apply(e,i),delete this.printReverseInfo,B.printingChart=void 0,(0,c.fireEvent)(e,"afterPrint")}beforePrint(){let e=this.chart,t=D.body,n=this.options.printMaxWidth,i={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,e.pointer?.reset(void 0,0),(0,c.fireEvent)(e,"beforePrint"),n&&e.chartWidth>n&&(i.resetParams=[e.options.chart.width,void 0,!1],e.setSize(n,void 0,!1)),[].forEach.call(i.childNodes,function(e,t){1===e.nodeType&&(i.origDisplay[t]=e.style.display,e.style.display="none")}),this.moveContainers(t),this.printReverseInfo=i}contextMenu(e,t,n,i,r,o,a){let s=this,l=s.chart,h=l.options.navigation,{chartWidth:d,chartHeight:u}=l,g="cache-"+e,f=Math.max(r,o),m,y=l[g];y||(s.contextMenuEl=l[g]=y=(0,c.createElement)("div",{className:e},{position:"absolute",zIndex:1e3,padding:f+"px",pointerEvents:"auto",...l.renderer.style},l.scrollablePlotArea?.fixedDiv||l.container),m=(0,c.createElement)("ul",{className:"highcharts-menu"},l.styledMode?{}:{listStyle:"none",margin:0,padding:0},y),l.styledMode||(0,c.css)(m,(0,c.extend)({MozBoxShadow:"3px 3px 10px #0008",WebkitBoxShadow:"3px 3px 10px #0008",boxShadow:"3px 3px 10px #0008"},h?.menuStyle||{})),y.hideMenu=function(){(0,c.css)(y,{display:"none"}),a&&a.setState(0),l.exporting&&(l.exporting.openMenu=!1),(0,c.css)(l.renderTo,{overflow:"hidden"}),(0,c.css)(l.container,{overflow:"hidden"}),(0,c.internalClearTimeout)(y.hideTimer),(0,c.fireEvent)(l,"exportMenuHidden")},s.events?.push((0,c.addEvent)(y,"mouseleave",function(){y.hideTimer=G.setTimeout(y.hideMenu,500)}),(0,c.addEvent)(y,"mouseenter",function(){(0,c.internalClearTimeout)(y.hideTimer)}),(0,c.addEvent)(D,"mouseup",function(t){l.pointer?.inClass(t.target,e)||y.hideMenu()}),(0,c.addEvent)(y,"click",function(){l.exporting?.openMenu&&y.hideMenu()})),t.forEach(function(e){if("string"==typeof e&&s.options.menuItemDefinitions?.[e]&&(e=s.options.menuItemDefinitions[e]),(0,c.isObject)(e,!0)){let t;e.separator?(t=(0,c.createElement)("li",{className:"highcharts-menu-item highcharts-separator",role:"separator"},void 0,m),l.styledMode||(0,c.css)(t,{border:"none",backgroundColor:"var(--highcharts-neutral-color-40)",height:"0.5px",margin:"10px 0",padding:0,listStyle:"none","pointer-events":"none"})):("viewData"===e.textKey&&s.isDataTableVisible&&(e.textKey="hideData"),t=(0,c.createElement)("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),y.hideMenu(),"string"!=typeof e&&e.onclick&&e.onclick.apply(l,arguments)}},void 0,m),p().setElementHTML(t,e.text||l.options.lang[e.textKey]),l.styledMode||(t.onmouseover=function(){(0,c.css)(this,h?.menuItemHoverStyle||{})},t.onmouseout=function(){(0,c.css)(this,h?.menuItemStyle||{})},(0,c.css)(t,(0,c.extend)({cursor:"pointer"},h?.menuItemStyle||{})))),s.divElements.push(t)}}),s.divElements.push(m,y),s.menuHeight=y.offsetHeight,s.menuWidth=y.offsetWidth);let x={display:"block"};n+(s.menuWidth||0)>d?x.right=d-n-r-f+"px":x.left=n-f+"px",i+o+(s.menuHeight||0)>u&&a.alignOptions?.verticalAlign!=="top"?x.bottom=u-i-f+"px":x.top=i+o-f+"px",(0,c.css)(y,x),(0,c.css)(l.renderTo,{overflow:""}),(0,c.css)(l.container,{overflow:""}),l.exporting&&(l.exporting.openMenu=!0),(0,c.fireEvent)(l,"exportMenuShown")}destroy(e){let t,n=e?e.target:this.chart,{divElements:i,events:r,svgElements:o}=this;o.forEach((e,i)=>{e&&(e.onclick=e.ontouchstart=null,n[t="cache-"+e.menuClassName]&&delete n[t],o[i]=e.destroy())}),o.length=0,this.group&&(this.group.destroy(),delete this.group),i.forEach(function(e,t){e&&((0,c.internalClearTimeout)(e.hideTimer),(0,c.removeEvent)(e,"mouseleave"),i[t]=e.onmouseout=e.onmouseover=e.ontouchstart=e.onclick=null,(0,c.discardElement)(e))}),i.length=0,r&&(r.forEach(function(e){e()}),r.length=0)}async downloadSVG(e,t){let n,i={svg:e,exportingOptions:t,exporting:this};if((0,c.fireEvent)(B.prototype,"downloadSVG",i),i.defaultPrevented)return;let{type:r,filename:o,scale:a,libURL:s}=B.prepareImageOptions(t);if("application/pdf"===r)throw Error("Offline exporting logic for PDF type is not found.");if("image/svg+xml"===r){if(void 0!==G.MSBlobBuilder){let t=new G.MSBlobBuilder;t.append(e),n=t.getBlob("image/svg+xml")}else n=B.svgToDataURL(e);S(n,o)}else{n=B.svgToDataURL(e);try{B.objectURLRevoke=!0;let e=await B.imageToDataURL(n,a,r);S(e,o)}catch(d){if("No canvas found!"===d.message)throw d;if(e.length>1e8)throw Error("Input too long");let t=D.createElement("canvas"),n=t.getContext("2d"),i=e.match(/^<svg[^>]*\s{,1000}width\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/),h=e.match(/^<svg[^>]*\s{0,1000}height\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/);if(n&&i&&h){let d=i[1]*a,p=h[1]*a;if(t.width=d,t.height=p,!G.canvg){var l;if(!s)throw Error("Image export requires canvg. Set exporting.libURL or preload canvg.");B.objectURLRevoke=!0,await (l=s+"canvg.js",new Promise((e,t)=>{let n=w.getElementsByTagName("head")[0],i=w.createElement("script");i.type="text/javascript",i.src=l,i.onload=()=>{e()},i.onerror=()=>{let e=`Error loading script ${l}`;(0,c.error)(e),t(Error(e))},n.appendChild(i)}))}G.canvg.Canvg.fromString(n,e).start(),S(G.navigator.msSaveOrOpenBlob?t.msToBlob():t.toDataURL(r),o)}}finally{if(B.objectURLRevoke)try{j.revokeObjectURL(n)}catch{}}}}async exportChart(e,t){if((e=(0,c.merge)(this.options,e)).local)await this.localExport(e,t||{});else{let n=await this.getSVGForExport(e,t);e.url&&await N.post(e.url,{filename:e.filename?e.filename.replace(/\//g,"-"):this.getFilename(),type:e.type,width:e.width,scale:e.scale,svg:n},e.fetchOptions)}}async fallbackToServer(e,t){!1===e.fallbackToExportServer?e.error?e.error(e,t):(0,c.error)(t?.message||28,!0,this.chart):"application/pdf"===e.type?(e.local=!1,await this.exportChart(e)):(0,c.error)(t.message,!1)}getChartHTML(e){let t=this.chart;return e&&this.inlineStyles(),this.resolveCSSVariables(),B.sanitizeDOM(t.renderer.box),t.container.querySelectorAll("canvas").forEach(function(e){let n=e.toDataURL("image/png"),i=e.parentNode,r=t.renderer.image(n,0,0,e.width,e.height);(0,c.css)(r.element,{width:e.style.width,height:e.style.height}),i.parentNode.insertBefore(r.element,i),i.remove()}),t.container.innerHTML}getFilename(){let e=this.chart.userOptions.title?.text,t=this.options.filename;return t?t.replace(/\//g,"-"):("string"==typeof e&&(t=e.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z\d\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!t||t.length<5)&&(t="chart"),t)}getSVG(e,t){let n=this.chart,i,r,o=(0,c.merge)(n.options,e);o.plotOptions=(0,c.merge)(n.userOptions.plotOptions,e?.plotOptions),o.time=(0,c.merge)(n.userOptions.time,e?.time);let a=(0,c.createElement)("div",void 0,{position:"absolute",top:"-9999em",width:n.chartWidth+"px",height:n.chartHeight+"px"},D.body),s=n.renderTo.style.width,l=n.renderTo.style.height,h=o.exporting?.sourceWidth||o.chart.width||/px$/.test(s)&&parseInt(s,10)||(o.isGantt?800:600),d=o.exporting?.sourceHeight||o.chart.height||/px$/.test(l)&&parseInt(l,10)||400;(0,c.extend)(o.chart,{animation:!1,renderTo:a,forExport:!0,renderer:"SVGRenderer",width:h,height:d}),o.exporting&&(o.exporting.enabled=!1),delete o.data,o.series=[],n.series.forEach(function(e){(r=(0,c.merge)(e.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:e.visible})).isInternal||o?.series?.push(r)});let p={};n.axes.forEach(function(e){e.userOptions.internalKey||(e.userOptions.internalKey=(0,c.uniqueKey)()),o&&!e.options.isInternal&&(p[e.coll]||(p[e.coll]=!0,o[e.coll]=[]),o[e.coll].push((0,c.merge)(e.userOptions,{visible:e.visible,type:e.type,uniqueNames:e.uniqueNames})))}),o.colorAxis=n.userOptions.colorAxis;let u=t=>{e&&["xAxis","yAxis","series"].forEach(function(n){e[n]&&t.update({[n]:e[n]})}),n.axes.forEach(function(n){let i=(0,c.find)(t.axes,e=>e.options.internalKey===n.userOptions.internalKey);if(i){let t=n.getExtremes(),r=(0,c.splat)(e?.[n.coll]||{})[0],o="min"in r?r.min:t.userMin,a="max"in r?r.max:t.userMax;(void 0!==o&&o!==i.min||void 0!==a&&a!==i.max)&&i.setExtremes(o??void 0,a??void 0,!0,!1)}});let r=t.exporting;return r?.options.applyStyleSheets&&this.applyShadowDOMStyles(t),(0,c.fireEvent)(n,"getSVG",{chartCopy:t}),i=r?.getChartHTML(n.styledMode||o?.exporting?.applyStyleSheets)||"",i=B.sanitizeSVG(i,o),(0,c.fireEvent)(n,"afterGetSVG",{chartCopy:t,svg:i}),o=void 0,t.destroy(),(0,c.discardElement)(a),i};return t?new Promise(e=>new n.constructor(o||{},function(t){n.callback?.call(this,t);let i=(0,c.addEvent)(this,"render",function(){i(),e(u(this))})})):u(new n.constructor(o,n.callback))}applyShadowDOMStyles(e){let t=this.chart,n=[],i=t.container,r;for(;i&&(!(r=i.getRootNode())||"object"!=typeof r.host);)i=i.parentNode,r=null;r?.querySelectorAll("style").forEach(t=>{let i=t.cloneNode(!0);e.renderer.defs.element.appendChild(i),n.push(i)}),(0,c.addEvent)(t,"afterGetSVG",()=>{n.forEach(e=>{e.remove()})})}async getSVGForExport(e,t){let n=this.options;return await this.getSVG((0,c.merge)({chart:{borderRadius:0}},n.chartOptions,t,{exporting:{sourceWidth:e?.sourceWidth||n.sourceWidth,sourceHeight:e?.sourceHeight||n.sourceHeight}}),!0)}inlineStyles(){let e,t=B.inlineDenylist,n=B.inlineAllowlist,i={},r=(0,c.createElement)("iframe",void 0,{width:"1px",height:"1px",visibility:"hidden"},D.body),o=r.contentWindow?.document;o&&o.body.appendChild(o.createElementNS(U,"svg")),!function r(a){let s,l,h,d,p,u,g={};if(o&&1===a.nodeType&&-1===B.unstyledElements.indexOf(a.nodeName)){if(s=G.getComputedStyle(a,null),l="svg"===a.nodeName?{}:G.getComputedStyle(a.parentNode,null),!i[a.nodeName]){e=o.getElementsByTagName("svg")[0],h=o.createElementNS(a.namespaceURI,a.nodeName),e.appendChild(h);let t=G.getComputedStyle(h,null),n={};for(let e in t)e.length<1e3&&"string"==typeof t[e]&&!/^\d+$/.test(e)&&(n[e]=t[e]);i[a.nodeName]=n,"text"===a.nodeName&&delete i.text.fill,e.removeChild(h)}for(let e in s)(H||L||I||Object.hasOwnProperty.call(s,e))&&function(e,r){if(d=p=!1,n.length){for(u=n.length;u--&&!p;)p=n[u].test(r);d=!p}for("transform"===r&&"none"===e&&(d=!0),u=t.length;u--&&!d;){if(r.length>1e3)throw Error("Input too long");d=t[u].test(r)||"function"==typeof e}!d&&(l[r]!==e||"svg"===a.nodeName)&&i[a.nodeName][r]!==e&&(B.inlineToAttributes&&-1===B.inlineToAttributes.indexOf(r)?g[r]=e:e&&a.setAttribute(B.hyphenate(r),e))}(s[e],e);if((0,c.css)(a,g),"svg"===a.nodeName&&a.setAttribute("stroke-width","1px"),"text"===a.nodeName)return;[].forEach.call(a.children||a.childNodes,r)}}(this.chart.container.querySelector("svg")),e.parentNode.removeChild(e),r.parentNode.removeChild(r)}async localExport(e,t){let n=this.chart,i,r,o=null,a;if(L&&n.styledMode&&!B.inlineAllowlist.length&&B.inlineAllowlist.push(/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/,/^outline/,/^parentRule/,/^rx$/,/^ry$/,/^stroke/,/^textAlign/,/^textAnchor/,/^textDecoration/,/^transform/,/^vectorEffect/,/^visibility/,/^x$/,/^y$/),L&&("application/pdf"===e.type||n.container.getElementsByTagName("image").length&&"image/svg+xml"!==e.type)||"application/pdf"===e.type&&[].some.call(n.container.getElementsByTagName("image"),function(e){let t=e.getAttribute("href");return""!==t&&"string"==typeof t&&0!==t.indexOf("data:")}))return void await this.fallbackToServer(e,Error("Image type not supported for this chart/browser."));let s=(0,c.addEvent)(n,"afterGetSVG",e=>{r=e.chartCopy.options,a=(i=e.chartCopy.container.cloneNode(!0))&&i.getElementsByTagName("image")||[]});try{let n;for(let n of(await this.getSVGForExport(e,t),a?Array.from(a):[]))if(o=n.getAttributeNS("http://www.w3.org/1999/xlink","href")){B.objectURLRevoke=!1;let t=await B.imageToDataURL(o,e?.scale||1,e?.type||"image/png");n.setAttributeNS("http://www.w3.org/1999/xlink","href",t)}else n.parentNode.removeChild(n);let s=i?.querySelector("svg");s&&!e.chartOptions?.chart?.style?.fontFamily&&await B.inlineFonts(s);let l=(n=i?.innerHTML,B.sanitizeSVG(n||"",r));if(l.indexOf("<foreignObject")>-1&&"image/svg+xml"!==e.type&&(L||"application/pdf"===e.type))throw Error("Image type not supported for charts with embedded HTML");return await this.downloadSVG(l,(0,c.extend)({filename:this.getFilename()},e)),l}catch(t){await this.fallbackToServer(e,t)}finally{s()}}moveContainers(e){let t=this.chart,{scrollablePlotArea:n}=t;(n?[n.fixedDiv,n.scrollingContainer]:[t.container]).forEach(function(t){e.appendChild(t)})}print(){let e=this.chart;this.isPrinting||(B.printingChart=e,I||this.beforePrint(),setTimeout(()=>{G.focus(),G.print(),I||setTimeout(()=>{e.exporting?.afterPrint()},1e3)},1))}render(){let e=this,{chart:t,options:n}=e,i=e?.isDirty||!e?.svgElements.length;e.buttonOffset=0,e.isDirty&&e.destroy(),i&&!1!==n.enabled&&(e.events=[],e.group||(e.group=t.renderer.g("exporting-group").attr({zIndex:3}).add()),(0,c.objectEach)(n?.buttons,function(t){e.addButton(t)}),e.isDirty=!1)}resolveCSSVariables(){Array.from(this.chart.container.querySelectorAll("*")).forEach(e=>{["color","fill","stop-color","stroke"].forEach(t=>{let n=e.getAttribute(t);n?.includes("var(")&&e.setAttribute(t,getComputedStyle(e).getPropertyValue(t));let i=e.style?.[t];i?.includes("var(")&&(e.style[t]=getComputedStyle(e).getPropertyValue(t))})})}update(e,t){this.isDirty=!0,(0,c.merge)(!0,this.options,e),(t??!0)&&this.chart.redraw()}}B.inlineAllowlist=[],B.inlineDenylist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/^parentRule$/,/^(cssRules|ownerRules)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/,/^\d+$/],B.inlineToAttributes=["fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","textAnchor","x","y"],B.loadEventDeferDelay=150*!!L,B.unstyledElements=["clipPath","defs","desc"],function(e){function t(e){let t=e.exporting;t&&(t.render(),(0,c.addEvent)(e,"redraw",function(){this.exporting?.render()}),(0,c.addEvent)(e,"destroy",function(){this.exporting?.destroy()}))}function n(){let t=this;t.options.exporting&&(t.exporting=new e(t,t.options.exporting),y.compose(t).navigation.addUpdate((e,n)=>{t.exporting&&(t.exporting.isDirty=!0,(0,c.merge)(!0,t.options.navigation,e),(n??!0)&&t.redraw())}))}function i({alignTo:e,key:t,textPxLength:n}){let r=this.options.exporting,{align:o,buttonSpacing:a=0,verticalAlign:s,width:l=0}=(0,c.merge)(this.options.navigation?.buttonOptions,r?.buttons?.contextButton),h=e.width-n,d=l+a;(r?.enabled??!0)&&"title"===t&&"right"===o&&"top"===s&&h<2*d&&(h<d?e.width-=d:this.title?.alignValue!=="left"&&(e.x-=d-h/2))}e.compose=function(r,o){O.compose(o),k.compose(r),(0,c.pushUnique)(P,"Exporting")&&((0,c.extend)(g().prototype,{exportChart:async function(e,t){await this.exporting?.exportChart(e,t)},getChartHTML:function(e){return this.exporting?.getChartHTML(e)},getFilename:function(){return this.exporting?.getFilename()},getSVG:function(e){return this.exporting?.getSVG(e,!1)},print:function(){return this.exporting?.print()}}),r.prototype.callbacks.push(t),(0,c.addEvent)(r,"afterInit",n),(0,c.addEvent)(r,"layOutTitle",i),I&&G.matchMedia("print").addListener(function(t){e.printingChart&&(t.matches?e.printingChart.exporting?.beforePrint():e.printingChart.exporting?.afterPrint())}),M(C))}}(B||(B={}));let V=h();V.Exporting=B,V.HttpUtilities=V.HttpUtilities||N,V.ajax=V.HttpUtilities.ajax,V.getJSON=V.HttpUtilities.getJSON,V.post=V.HttpUtilities.post,B.compose(V.Chart,V.Renderer);let $=h();return l.default})());
|
package/modules/exporting.src.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0
|
|
3
|
+
* @license Highcharts JS v13.1.0 (2026-09-18)
|
|
4
4
|
* @module highcharts/modules/exporting
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
16
16
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
17
|
-
module.exports = factory(root["_Highcharts"], root["_Highcharts"]["
|
|
17
|
+
module.exports = factory(root["_Highcharts"]["AST"], root["_Highcharts"]["Chart"], root["_Highcharts"]);
|
|
18
18
|
else if(typeof define === 'function' && define.amd)
|
|
19
|
-
define("highcharts/modules/exporting", ["highcharts/highcharts"], function (amd1) {return factory(amd1
|
|
19
|
+
define("highcharts/modules/exporting", ["highcharts/highcharts"], function (amd1) {return factory(amd1["AST"],amd1["Chart"],amd1);});
|
|
20
20
|
else if(typeof exports === 'object')
|
|
21
|
-
exports["highcharts/modules/exporting"] = factory(root["_Highcharts"], root["_Highcharts"]["
|
|
21
|
+
exports["highcharts/modules/exporting"] = factory(root["_Highcharts"]["AST"], root["_Highcharts"]["Chart"], root["_Highcharts"]);
|
|
22
22
|
else
|
|
23
|
-
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["
|
|
24
|
-
})(typeof window === 'undefined' ? this : window, (
|
|
23
|
+
root["Highcharts"] = factory(root["Highcharts"]["AST"], root["Highcharts"]["Chart"], root["Highcharts"]);
|
|
24
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__660__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__944__) => {
|
|
25
25
|
return /******/ (() => { // webpackBootstrap
|
|
26
26
|
/******/ "use strict";
|
|
27
27
|
/******/ var __webpack_modules__ = ({
|
|
@@ -75,48 +75,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__944__;
|
|
|
75
75
|
/******/
|
|
76
76
|
/************************************************************************/
|
|
77
77
|
/******/ /* webpack/runtime/compat get default export */
|
|
78
|
-
/******/
|
|
79
|
-
/******/
|
|
80
|
-
/******/
|
|
81
|
-
/******/
|
|
82
|
-
/******/
|
|
83
|
-
/******/
|
|
84
|
-
/******/
|
|
85
|
-
/******/
|
|
86
|
-
/******/ };
|
|
87
|
-
/******/ })();
|
|
78
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
79
|
+
/******/ __webpack_require__.n = (module) => {
|
|
80
|
+
/******/ const getter = module && module.__esModule ?
|
|
81
|
+
/******/ () => (module['default']) :
|
|
82
|
+
/******/ () => (module);
|
|
83
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
84
|
+
/******/ return getter;
|
|
85
|
+
/******/ };
|
|
88
86
|
/******/
|
|
89
87
|
/******/ /* webpack/runtime/define property getters */
|
|
90
|
-
/******/
|
|
91
|
-
/******/
|
|
92
|
-
/******/
|
|
93
|
-
/******/ if(
|
|
94
|
-
/******/
|
|
95
|
-
/******/ while(i < definition.length) {
|
|
96
|
-
/******/ var key = definition[i++];
|
|
97
|
-
/******/ var binding = definition[i++];
|
|
98
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
99
|
-
/******/ if(binding === 0) {
|
|
100
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
101
|
-
/******/ } else {
|
|
102
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
103
|
-
/******/ }
|
|
104
|
-
/******/ } else if(binding === 0) { i++; }
|
|
105
|
-
/******/ }
|
|
106
|
-
/******/ } else {
|
|
107
|
-
/******/ for(var key in definition) {
|
|
108
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
109
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
110
|
-
/******/ }
|
|
111
|
-
/******/ }
|
|
88
|
+
/******/ // define getter/value functions for harmony exports
|
|
89
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
90
|
+
/******/ for(var key in definition) {
|
|
91
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
92
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
112
93
|
/******/ }
|
|
113
|
-
/******/ }
|
|
114
|
-
/******/ }
|
|
94
|
+
/******/ }
|
|
95
|
+
/******/ };
|
|
115
96
|
/******/
|
|
116
97
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
117
|
-
/******/ (
|
|
118
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
119
|
-
/******/ })();
|
|
98
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
120
99
|
/******/
|
|
121
100
|
/************************************************************************/
|
|
122
101
|
let __webpack_exports__ = {};
|
|
@@ -1855,7 +1834,7 @@ function ajax(settings) {
|
|
|
1855
1834
|
if (!settings.headers?.['Content-Type']) {
|
|
1856
1835
|
r.setRequestHeader('Content-Type', headers[settings.dataType || 'json'] || headers.text);
|
|
1857
1836
|
}
|
|
1858
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.objectEach)(settings.headers, function (val, key) {
|
|
1837
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.objectEach)(settings.headers, function (val, key) {
|
|
1859
1838
|
r.setRequestHeader(key, val);
|
|
1860
1839
|
});
|
|
1861
1840
|
if (settings.responseType) {
|
|
@@ -2146,7 +2125,7 @@ class Exporting {
|
|
|
2146
2125
|
return newSheet;
|
|
2147
2126
|
}
|
|
2148
2127
|
catch {
|
|
2149
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.error)(`Warning: Failed to fetch CSS from ${href}`, false);
|
|
2128
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.error)(`Warning: Failed to fetch CSS from ${href}`, false);
|
|
2150
2129
|
}
|
|
2151
2130
|
}
|
|
2152
2131
|
/** @internal */
|
|
@@ -2726,7 +2705,7 @@ class Exporting {
|
|
|
2726
2705
|
}
|
|
2727
2706
|
// Hide on mouse out
|
|
2728
2707
|
menu.hideMenu = function () {
|
|
2729
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(menu, { display: 'none' });
|
|
2708
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(menu, { display: 'none' });
|
|
2730
2709
|
if (button) {
|
|
2731
2710
|
button.setState(0);
|
|
2732
2711
|
}
|
|
@@ -2734,7 +2713,7 @@ class Exporting {
|
|
|
2734
2713
|
chart.exporting.openMenu = false;
|
|
2735
2714
|
}
|
|
2736
2715
|
// #10361, #9998
|
|
2737
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(chart.renderTo, { overflow: 'hidden' });
|
|
2716
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(chart.renderTo, { overflow: 'hidden' });
|
|
2738
2717
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(chart.container, { overflow: 'hidden' });
|
|
2739
2718
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.internalClearTimeout)(menu.hideTimer);
|
|
2740
2719
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(chart, 'exportMenuHidden');
|
|
@@ -2840,14 +2819,14 @@ class Exporting {
|
|
|
2840
2819
|
else {
|
|
2841
2820
|
menuStyle.top = (y + height - menuPadding) + 'px';
|
|
2842
2821
|
}
|
|
2843
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(menu, menuStyle);
|
|
2822
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(menu, menuStyle);
|
|
2844
2823
|
// #10361, #9998
|
|
2845
2824
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(chart.renderTo, { overflow: '' });
|
|
2846
2825
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(chart.container, { overflow: '' });
|
|
2847
2826
|
if (chart.exporting) {
|
|
2848
2827
|
chart.exporting.openMenu = true;
|
|
2849
2828
|
}
|
|
2850
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(chart, 'exportMenuShown');
|
|
2829
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(chart, 'exportMenuShown');
|
|
2851
2830
|
}
|
|
2852
2831
|
/**
|
|
2853
2832
|
* Destroy the export buttons.
|
|
@@ -3327,7 +3306,7 @@ class Exporting {
|
|
|
3327
3306
|
if (exporting?.options.applyStyleSheets) {
|
|
3328
3307
|
this.applyShadowDOMStyles(chartCopy);
|
|
3329
3308
|
}
|
|
3330
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(chart, 'getSVG', { chartCopy });
|
|
3309
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(chart, 'getSVG', { chartCopy });
|
|
3331
3310
|
// Get the SVG from the container's innerHTML
|
|
3332
3311
|
svg = exporting?.getChartHTML(chart.styledMode ||
|
|
3333
3312
|
options?.exporting?.applyStyleSheets) || '';
|
|
@@ -3575,7 +3554,7 @@ class Exporting {
|
|
|
3575
3554
|
}
|
|
3576
3555
|
}
|
|
3577
3556
|
// Apply styles
|
|
3578
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(node, filteredStyles);
|
|
3557
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.css)(node, filteredStyles);
|
|
3579
3558
|
// Set default stroke width (needed at least for IE)
|
|
3580
3559
|
if (node.nodeName === 'svg') {
|
|
3581
3560
|
node.setAttribute('stroke-width', '1px');
|
|
@@ -3936,7 +3915,7 @@ Exporting.unstyledElements = [
|
|
|
3936
3915
|
return;
|
|
3937
3916
|
}
|
|
3938
3917
|
// Adding wrappers for the deprecated functions
|
|
3939
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.extend)((highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default()).prototype, {
|
|
3918
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.extend)((highcharts_Chart_commonjs_highcharts_Chart_commonjs2_highcharts_Chart_root_Highcharts_Chart_default()).prototype, {
|
|
3940
3919
|
exportChart: async function (exportingOptions, chartOptions) {
|
|
3941
3920
|
await this.exporting?.exportChart(exportingOptions, chartOptions);
|
|
3942
3921
|
return;
|