Hacked By AnonymousFox
{"version":3,"sources":["<anon>"],"sourcesContent":["/**\n * @license Highcharts JS v12.1.2 (2025-01-09)\n * @module highcharts/modules/color-axis\n * @requires highcharts\n *\n * ColorAxis module\n *\n * (c) 2012-2024 Pawel Potaczek\n *\n * License: www.highcharts.com/license\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"highcharts\"), require(\"highcharts\")[\"Axis\"], require(\"highcharts\")[\"Color\"], require(\"highcharts\")[\"LegendSymbol\"], require(\"highcharts\")[\"SeriesRegistry\"]);\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"highcharts/modules/coloraxis\", [[\"highcharts/highcharts\"], [\"highcharts/highcharts\",\"Axis\"], [\"highcharts/highcharts\",\"Color\"], [\"highcharts/highcharts\",\"LegendSymbol\"], [\"highcharts/highcharts\",\"SeriesRegistry\"]], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"highcharts/modules/coloraxis\"] = factory(require(\"highcharts\"), require(\"highcharts\")[\"Axis\"], require(\"highcharts\")[\"Color\"], require(\"highcharts\")[\"LegendSymbol\"], require(\"highcharts\")[\"SeriesRegistry\"]);\n\telse\n\t\troot[\"Highcharts\"] = factory(root[\"Highcharts\"], root[\"Highcharts\"][\"Axis\"], root[\"Highcharts\"][\"Color\"], root[\"Highcharts\"][\"LegendSymbol\"], root[\"Highcharts\"][\"SeriesRegistry\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__532__, __WEBPACK_EXTERNAL_MODULE__620__, __WEBPACK_EXTERNAL_MODULE__500__, __WEBPACK_EXTERNAL_MODULE__512__) {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 532:\n/***/ (function(module) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__532__;\n\n/***/ }),\n\n/***/ 620:\n/***/ (function(module) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__620__;\n\n/***/ }),\n\n/***/ 500:\n/***/ (function(module) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__500__;\n\n/***/ }),\n\n/***/ 512:\n/***/ (function(module) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__512__;\n\n/***/ }),\n\n/***/ 944:\n/***/ (function(module) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__944__;\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t!function() {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = function(module) {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\tfunction() { return module['default']; } :\n/******/ \t\t\t\tfunction() { return module; };\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(exports, definition) {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }\n/******/ \t}();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ coloraxis_src; }\n});\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\"],\"commonjs\":[\"highcharts\"],\"commonjs2\":[\"highcharts\"],\"root\":[\"Highcharts\"]}\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_ = __webpack_require__(944);\nvar highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default = /*#__PURE__*/__webpack_require__.n(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Axis\"],\"commonjs\":[\"highcharts\",\"Axis\"],\"commonjs2\":[\"highcharts\",\"Axis\"],\"root\":[\"Highcharts\",\"Axis\"]}\nvar highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_ = __webpack_require__(532);\nvar highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default = /*#__PURE__*/__webpack_require__.n(highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"Color\"],\"commonjs\":[\"highcharts\",\"Color\"],\"commonjs2\":[\"highcharts\",\"Color\"],\"root\":[\"Highcharts\",\"Color\"]}\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_ = __webpack_require__(620);\nvar highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default = /*#__PURE__*/__webpack_require__.n(highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_);\n;// ./code/es5/es-modules/Core/Axis/Color/ColorAxisComposition.js\n/* *\n *\n * (c) 2010-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nvar color = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default()).parse;\n\nvar addEvent = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).addEvent, extend = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).extend, merge = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).merge, pick = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).pick, splat = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).splat;\n/* *\n *\n * Composition\n *\n * */\nvar ColorAxisComposition;\n(function (ColorAxisComposition) {\n /* *\n *\n * Declarations\n *\n * */\n /* *\n *\n * Variables\n *\n * */\n var ColorAxisConstructor;\n /* *\n *\n * Functions\n *\n * */\n /**\n * @private\n */\n function compose(ColorAxisClass, ChartClass, FxClass, LegendClass, SeriesClass) {\n var chartProto = ChartClass.prototype,\n fxProto = FxClass.prototype,\n seriesProto = SeriesClass.prototype;\n if (!chartProto.collectionsWithUpdate.includes('colorAxis')) {\n ColorAxisConstructor = ColorAxisClass;\n chartProto.collectionsWithUpdate.push('colorAxis');\n chartProto.collectionsWithInit.colorAxis = [\n chartProto.addColorAxis\n ];\n addEvent(ChartClass, 'afterCreateAxes', onChartAfterCreateAxes);\n wrapChartCreateAxis(ChartClass);\n fxProto.fillSetter = wrapFxFillSetter;\n fxProto.strokeSetter = wrapFxStrokeSetter;\n addEvent(LegendClass, 'afterGetAllItems', onLegendAfterGetAllItems);\n addEvent(LegendClass, 'afterColorizeItem', onLegendAfterColorizeItem);\n addEvent(LegendClass, 'afterUpdate', onLegendAfterUpdate);\n extend(seriesProto, {\n optionalAxis: 'colorAxis',\n translateColors: seriesTranslateColors\n });\n extend(seriesProto.pointClass.prototype, {\n setVisible: pointSetVisible\n });\n addEvent(SeriesClass, 'afterTranslate', onSeriesAfterTranslate, { order: 1 });\n addEvent(SeriesClass, 'bindAxes', onSeriesBindAxes);\n }\n }\n ColorAxisComposition.compose = compose;\n /**\n * Extend the chart createAxes method to also make the color axis.\n * @private\n */\n function onChartAfterCreateAxes() {\n var _this = this;\n var userOptions = this.userOptions;\n this.colorAxis = [];\n // If a `colorAxis` config is present in the user options (not in a\n // theme), instanciate it.\n if (userOptions.colorAxis) {\n userOptions.colorAxis = splat(userOptions.colorAxis);\n userOptions.colorAxis.map(function (axisOptions) { return (new ColorAxisConstructor(_this, axisOptions)); });\n }\n }\n /**\n * Add the color axis. This also removes the axis' own series to prevent\n * them from showing up individually.\n * @private\n */\n function onLegendAfterGetAllItems(e) {\n var _this = this;\n var colorAxes = this.chart.colorAxis || [],\n destroyItem = function (item) {\n var i = e.allItems.indexOf(item);\n if (i !== -1) {\n // #15436\n _this.destroyItem(e.allItems[i]);\n e.allItems.splice(i, 1);\n }\n };\n var colorAxisItems = [],\n options,\n i;\n colorAxes.forEach(function (colorAxis) {\n options = colorAxis.options;\n if (options && options.showInLegend) {\n // Data classes\n if (options.dataClasses && options.visible) {\n colorAxisItems = colorAxisItems.concat(colorAxis.getDataClassLegendSymbols());\n // Gradient legend\n }\n else if (options.visible) {\n // Add this axis on top\n colorAxisItems.push(colorAxis);\n }\n // If dataClasses are defined or showInLegend option is not set\n // to true, do not add color axis' series to legend.\n colorAxis.series.forEach(function (series) {\n if (!series.options.showInLegend || options.dataClasses) {\n if (series.options.legendType === 'point') {\n series.points.forEach(function (point) {\n destroyItem(point);\n });\n }\n else {\n destroyItem(series);\n }\n }\n });\n }\n });\n i = colorAxisItems.length;\n while (i--) {\n e.allItems.unshift(colorAxisItems[i]);\n }\n }\n /**\n * @private\n */\n function onLegendAfterColorizeItem(e) {\n if (e.visible && e.item.legendColor) {\n e.item.legendItem.symbol.attr({\n fill: e.item.legendColor\n });\n }\n }\n /**\n * Updates in the legend need to be reflected in the color axis. (#6888)\n * @private\n */\n function onLegendAfterUpdate(e) {\n var _a;\n (_a = this.chart.colorAxis) === null || _a === void 0 ? void 0 : _a.forEach(function (colorAxis) {\n colorAxis.update({}, e.redraw);\n });\n }\n /**\n * Calculate and set colors for points.\n * @private\n */\n function onSeriesAfterTranslate() {\n if (this.chart.colorAxis &&\n this.chart.colorAxis.length ||\n this.colorAttribs) {\n this.translateColors();\n }\n }\n /**\n * Add colorAxis to series axisTypes.\n * @private\n */\n function onSeriesBindAxes() {\n var axisTypes = this.axisTypes;\n if (!axisTypes) {\n this.axisTypes = ['colorAxis'];\n }\n else if (axisTypes.indexOf('colorAxis') === -1) {\n axisTypes.push('colorAxis');\n }\n }\n /**\n * Set the visibility of a single point\n * @private\n * @function Highcharts.colorPointMixin.setVisible\n * @param {boolean} visible\n */\n function pointSetVisible(vis) {\n var point = this,\n method = vis ? 'show' : 'hide';\n point.visible = point.options.visible = Boolean(vis);\n // Show and hide associated elements\n ['graphic', 'dataLabel'].forEach(function (key) {\n if (point[key]) {\n point[key][method]();\n }\n });\n this.series.buildKDTree(); // Rebuild kdtree #13195\n }\n ColorAxisComposition.pointSetVisible = pointSetVisible;\n /**\n * In choropleth maps, the color is a result of the value, so this needs\n * translation too\n * @private\n * @function Highcharts.colorSeriesMixin.translateColors\n */\n function seriesTranslateColors() {\n var series = this,\n points = this.getPointsCollection(), // #17945\n nullColor = this.options.nullColor,\n colorAxis = this.colorAxis,\n colorKey = this.colorKey;\n points.forEach(function (point) {\n var value = point.getNestedProperty(colorKey),\n color = point.options.color || (point.isNull || point.value === null ?\n nullColor :\n (colorAxis && typeof value !== 'undefined') ?\n colorAxis.toColor(value,\n point) :\n point.color || series.color);\n if (color && point.color !== color) {\n point.color = color;\n if (series.options.legendType === 'point' &&\n point.legendItem &&\n point.legendItem.label) {\n series.chart.legend.colorizeItem(point, point.visible);\n }\n }\n });\n }\n /**\n * @private\n */\n function wrapChartCreateAxis(ChartClass) {\n var superCreateAxis = ChartClass.prototype.createAxis;\n ChartClass.prototype.createAxis = function (type, options) {\n var chart = this;\n if (type !== 'colorAxis') {\n return superCreateAxis.apply(chart, arguments);\n }\n var axis = new ColorAxisConstructor(chart,\n merge(options.axis, {\n index: chart[type].length,\n isX: false\n }));\n chart.isDirtyLegend = true;\n // Clear before 'bindAxes' (#11924)\n chart.axes.forEach(function (axis) {\n axis.series = [];\n });\n chart.series.forEach(function (series) {\n series.bindAxes();\n series.isDirtyData = true;\n });\n if (pick(options.redraw, true)) {\n chart.redraw(options.animation);\n }\n return axis;\n };\n }\n /**\n * Handle animation of the color attributes directly.\n * @private\n */\n function wrapFxFillSetter() {\n this.elem.attr('fill', color(this.start).tweenTo(color(this.end), this.pos), void 0, true);\n }\n /**\n * Handle animation of the color attributes directly.\n * @private\n */\n function wrapFxStrokeSetter() {\n this.elem.attr('stroke', color(this.start).tweenTo(color(this.end), this.pos), void 0, true);\n }\n})(ColorAxisComposition || (ColorAxisComposition = {}));\n/* *\n *\n * Default Export\n *\n * */\n/* harmony default export */ var Color_ColorAxisComposition = (ColorAxisComposition);\n\n;// ./code/es5/es-modules/Core/Axis/Color/ColorAxisDefaults.js\n/* *\n *\n * (c) 2010-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n/* *\n *\n * API Options\n *\n * */\n/**\n * A color axis for series. Visually, the color\n * axis will appear as a gradient or as separate items inside the\n * legend, depending on whether the axis is scalar or based on data\n * classes.\n *\n * For supported color formats, see the\n * [docs article about colors](https://www.highcharts.com/docs/chart-design-and-style/colors).\n *\n * A scalar color axis is represented by a gradient. The colors either\n * range between the [minColor](#colorAxis.minColor) and the\n * [maxColor](#colorAxis.maxColor), or for more fine grained control the\n * colors can be defined in [stops](#colorAxis.stops). Often times, the\n * color axis needs to be adjusted to get the right color spread for the\n * data. In addition to stops, consider using a logarithmic\n * [axis type](#colorAxis.type), or setting [min](#colorAxis.min) and\n * [max](#colorAxis.max) to avoid the colors being determined by\n * outliers.\n *\n * When [dataClasses](#colorAxis.dataClasses) are used, the ranges are\n * subdivided into separate classes like categories based on their\n * values. This can be used for ranges between two values, but also for\n * a true category. However, when your data is categorized, it may be as\n * convenient to add each category to a separate series.\n *\n * Color axis does not work with: `sankey`, `sunburst`, `dependencywheel`,\n * `networkgraph`, `wordcloud`, `venn`, `gauge` and `solidgauge` series\n * types.\n *\n * Since v7.2.0 `colorAxis` can also be an array of options objects.\n *\n * See [the Axis object](/class-reference/Highcharts.Axis) for\n * programmatic access to the axis.\n *\n * @sample {highcharts} highcharts/coloraxis/custom-color-key\n * Column chart with color axis\n * @sample {highcharts} highcharts/coloraxis/horizontal-layout\n * Horizontal layout\n * @sample {highmaps} maps/coloraxis/dataclasscolor\n * With data classes\n * @sample {highmaps} maps/coloraxis/mincolor-maxcolor\n * Min color and max color\n *\n * @extends xAxis\n * @excluding alignTicks, allowDecimals, alternateGridColor, breaks,\n * categories, crosshair, dateTimeLabelFormats, left,\n * lineWidth, linkedTo, maxZoom, minRange, minTickInterval,\n * offset, opposite, pane, plotBands, plotLines,\n * reversedStacks, scrollbar, showEmpty, title, top,\n * zoomEnabled\n * @product highcharts highstock highmaps\n * @type {*|Array<*>}\n * @optionparent colorAxis\n */\nvar colorAxisDefaults = {\n /**\n * Whether to allow decimals on the color axis.\n * @type {boolean}\n * @default true\n * @product highcharts highstock highmaps\n * @apioption colorAxis.allowDecimals\n */\n /**\n * Determines how to set each data class' color if no individual\n * color is set. The default value, `tween`, computes intermediate\n * colors between `minColor` and `maxColor`. The other possible\n * value, `category`, pulls colors from the global or chart specific\n * [colors](#colors) array.\n *\n * @sample {highmaps} maps/coloraxis/dataclasscolor/\n * Category colors\n *\n * @type {string}\n * @default tween\n * @product highcharts highstock highmaps\n * @validvalue [\"tween\", \"category\"]\n * @apioption colorAxis.dataClassColor\n */\n /**\n * An array of data classes or ranges for the choropleth map. If\n * none given, the color axis is scalar and values are distributed\n * as a gradient between the minimum and maximum colors.\n *\n * @sample {highmaps} maps/demo/data-class-ranges/\n * Multiple ranges\n *\n * @sample {highmaps} maps/demo/data-class-two-ranges/\n * Two ranges\n *\n * @type {Array<*>}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.dataClasses\n */\n /**\n * The layout of the color axis. Can be `'horizontal'` or `'vertical'`.\n * If none given, the color axis has the same layout as the legend.\n *\n * @sample highcharts/coloraxis/horizontal-layout/\n * Horizontal color axis layout with vertical legend\n *\n * @type {string|undefined}\n * @since 7.2.0\n * @product highcharts highstock highmaps\n * @apioption colorAxis.layout\n */\n /**\n * The color of each data class. If not set, the color is pulled\n * from the global or chart-specific [colors](#colors) array. In\n * styled mode, this option is ignored. Instead, use colors defined\n * in CSS.\n *\n * @sample {highmaps} maps/demo/data-class-two-ranges/\n * Explicit colors\n *\n * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.dataClasses.color\n */\n /**\n * The start of the value range that the data class represents,\n * relating to the point value.\n *\n * The range of each `dataClass` is closed in both ends, but can be\n * overridden by the next `dataClass`.\n *\n * @type {number}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.dataClasses.from\n */\n /**\n * The name of the data class as it appears in the legend.\n * If no name is given, it is automatically created based on the\n * `from` and `to` values. For full programmatic control,\n * [legend.labelFormatter](#legend.labelFormatter) can be used.\n * In the formatter, `this.from` and `this.to` can be accessed.\n *\n * @sample {highmaps} maps/coloraxis/dataclasses-name/\n * Named data classes\n *\n * @sample {highmaps} maps/coloraxis/dataclasses-labelformatter/\n * Formatted data classes\n *\n * @type {string}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.dataClasses.name\n */\n /**\n * The end of the value range that the data class represents,\n * relating to the point value.\n *\n * The range of each `dataClass` is closed in both ends, but can be\n * overridden by the next `dataClass`.\n *\n * @type {number}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.dataClasses.to\n */\n /** @ignore-option */\n lineWidth: 0,\n /**\n * Padding of the min value relative to the length of the axis. A\n * padding of 0.05 will make a 100px axis 5px longer.\n *\n * @product highcharts highstock highmaps\n */\n minPadding: 0,\n /**\n * The maximum value of the axis in terms of map point values. If\n * `null`, the max value is automatically calculated. If the\n * `endOnTick` option is true, the max value might be rounded up.\n *\n * @sample {highmaps} maps/coloraxis/gridlines/\n * Explicit min and max to reduce the effect of outliers\n *\n * @type {number}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.max\n */\n /**\n * The minimum value of the axis in terms of map point values. If\n * `null`, the min value is automatically calculated. If the\n * `startOnTick` option is true, the min value might be rounded\n * down.\n *\n * @sample {highmaps} maps/coloraxis/gridlines/\n * Explicit min and max to reduce the effect of outliers\n *\n * @type {number}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.min\n */\n /**\n * Padding of the max value relative to the length of the axis. A\n * padding of 0.05 will make a 100px axis 5px longer.\n *\n * @product highcharts highstock highmaps\n */\n maxPadding: 0,\n /**\n * Color of the grid lines extending from the axis across the\n * gradient.\n *\n * @sample {highmaps} maps/coloraxis/gridlines/\n * Grid lines demonstrated\n *\n * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product highcharts highstock highmaps\n */\n gridLineColor: \"#ffffff\" /* Palette.backgroundColor */,\n /**\n * The width of the grid lines extending from the axis across the\n * gradient of a scalar color axis.\n *\n * @sample {highmaps} maps/coloraxis/gridlines/\n * Grid lines demonstrated\n *\n * @product highcharts highstock highmaps\n */\n gridLineWidth: 1,\n /**\n * The interval of the tick marks in axis units. When `null`, the\n * tick interval is computed to approximately follow the\n * `tickPixelInterval`.\n *\n * @type {number}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.tickInterval\n */\n /**\n * If [tickInterval](#colorAxis.tickInterval) is `null` this option\n * sets the approximate pixel interval of the tick marks.\n *\n * @product highcharts highstock highmaps\n */\n tickPixelInterval: 72,\n /**\n * Whether to force the axis to start on a tick. Use this option\n * with the `maxPadding` option to control the axis start.\n *\n * @product highcharts highstock highmaps\n */\n startOnTick: true,\n /**\n * Whether to force the axis to end on a tick. Use this option with\n * the [maxPadding](#colorAxis.maxPadding) option to control the\n * axis end.\n *\n * @product highcharts highstock highmaps\n */\n endOnTick: true,\n /** @ignore */\n offset: 0,\n /**\n * The triangular marker on a scalar color axis that points to the\n * value of the hovered area. To disable the marker, set\n * `marker: null`.\n *\n * @sample {highmaps} maps/coloraxis/marker/\n * Black marker\n *\n * @declare Highcharts.PointMarkerOptionsObject\n * @product highcharts highstock highmaps\n */\n marker: {\n /**\n * Animation for the marker as it moves between values. Set to\n * `false` to disable animation. Defaults to `{ duration: 50 }`.\n *\n * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}\n * @product highcharts highstock highmaps\n */\n animation: {\n /** @internal */\n duration: 50\n },\n /** @internal */\n width: 0.01,\n /**\n * The color of the marker.\n *\n * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product highcharts highstock highmaps\n */\n color: \"#999999\" /* Palette.neutralColor40 */\n },\n /**\n * The axis labels show the number for each tick.\n *\n * For more live examples on label options, see [xAxis.labels in the\n * Highcharts API.](/highcharts#xAxis.labels)\n *\n * @extends xAxis.labels\n * @product highcharts highstock highmaps\n */\n labels: {\n distance: 8,\n /**\n * How to handle overflowing labels on horizontal color axis. If set\n * to `\"allow\"`, it will not be aligned at all. By default it\n * `\"justify\"` labels inside the chart area. If there is room to\n * move it, it will be aligned to the edge, else it will be removed.\n *\n * @validvalue [\"allow\", \"justify\"]\n * @product highcharts highstock highmaps\n */\n overflow: 'justify',\n rotation: 0\n },\n /**\n * The color to represent the minimum of the color axis. Unless\n * [dataClasses](#colorAxis.dataClasses) or\n * [stops](#colorAxis.stops) are set, the gradient starts at this\n * value.\n *\n * If dataClasses are set, the color is based on minColor and\n * maxColor unless a color is set for each data class, or the\n * [dataClassColor](#colorAxis.dataClassColor) is set.\n *\n * @sample {highmaps} maps/coloraxis/mincolor-maxcolor/\n * Min and max colors on scalar (gradient) axis\n * @sample {highmaps} maps/coloraxis/mincolor-maxcolor-dataclasses/\n * On data classes\n *\n * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product highcharts highstock highmaps\n */\n minColor: \"#e6e9ff\" /* Palette.highlightColor10 */,\n /**\n * The color to represent the maximum of the color axis. Unless\n * [dataClasses](#colorAxis.dataClasses) or\n * [stops](#colorAxis.stops) are set, the gradient ends at this\n * value.\n *\n * If dataClasses are set, the color is based on minColor and\n * maxColor unless a color is set for each data class, or the\n * [dataClassColor](#colorAxis.dataClassColor) is set.\n *\n * @sample {highmaps} maps/coloraxis/mincolor-maxcolor/\n * Min and max colors on scalar (gradient) axis\n * @sample {highmaps} maps/coloraxis/mincolor-maxcolor-dataclasses/\n * On data classes\n *\n * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product highcharts highstock highmaps\n */\n maxColor: \"#0022ff\" /* Palette.highlightColor100 */,\n /**\n * Color stops for the gradient of a scalar color axis. Use this in\n * cases where a linear gradient between a `minColor` and `maxColor`\n * is not sufficient. The stops is an array of tuples, where the\n * first item is a float between 0 and 1 assigning the relative\n * position in the gradient, and the second item is the color.\n *\n * @sample highcharts/coloraxis/coloraxis-stops/\n * Color axis stops\n * @sample highcharts/coloraxis/color-key-with-stops/\n * Color axis stops with custom colorKey\n * @sample {highmaps} maps/demo/heatmap/\n * Heatmap with three color stops\n *\n * @type {Array<Array<number,Highcharts.ColorString>>}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.stops\n */\n /**\n * The pixel length of the main tick marks on the color axis.\n */\n tickLength: 5,\n /**\n * The type of interpolation to use for the color axis. Can be\n * `linear` or `logarithmic`.\n *\n * @sample highcharts/coloraxis/logarithmic-with-emulate-negative-values/\n * Logarithmic color axis with extension to emulate negative\n * values\n *\n * @type {Highcharts.ColorAxisTypeValue}\n * @default linear\n * @product highcharts highstock highmaps\n * @apioption colorAxis.type\n */\n /**\n * Whether to reverse the axis so that the highest number is closest\n * to the origin. Defaults to `false` in a horizontal legend and\n * `true` in a vertical legend, where the smallest value starts on\n * top.\n *\n * @type {boolean}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.reversed\n */\n /**\n * @product highcharts highstock highmaps\n * @excluding afterBreaks, pointBreak, pointInBreak\n * @apioption colorAxis.events\n */\n /**\n * Fires when the legend item belonging to the colorAxis is clicked.\n * One parameter, `event`, is passed to the function.\n *\n * **Note:** This option is deprecated in favor of\n * [legend.events.itemClick](#legend.events.itemClick).\n *\n * @deprecated 11.4.4\n * @type {Function}\n * @product highcharts highstock highmaps\n * @apioption colorAxis.events.legendItemClick\n */\n /**\n * The width of the color axis. If it's a number, it is interpreted as\n * pixels.\n *\n * If it's a percentage string, it is interpreted as percentages of the\n * total plot width.\n *\n * @sample highcharts/coloraxis/width-and-height\n * Percentage width and pixel height for color axis\n *\n * @type {number|string}\n * @since 11.3.0\n * @product highcharts highstock highmaps\n * @apioption colorAxis.width\n */\n /**\n * The height of the color axis. If it's a number, it is interpreted as\n * pixels.\n *\n * If it's a percentage string, it is interpreted as percentages of the\n * total plot height.\n *\n * @sample highcharts/coloraxis/width-and-height\n * Percentage width and pixel height for color axis\n *\n * @type {number|string}\n * @since 11.3.0\n * @product highcharts highstock highmaps\n * @apioption colorAxis.height\n */\n /**\n * Whether to display the colorAxis in the legend.\n *\n * @sample highcharts/coloraxis/hidden-coloraxis-with-3d-chart/\n * Hidden color axis with 3d chart\n *\n * @see [heatmap.showInLegend](#series.heatmap.showInLegend)\n *\n * @since 4.2.7\n * @product highcharts highstock highmaps\n */\n showInLegend: true\n};\n/* *\n *\n * Default Export\n *\n * */\n/* harmony default export */ var ColorAxisDefaults = (colorAxisDefaults);\n\n;// ./code/es5/es-modules/Core/Axis/Color/ColorAxisLike.js\n/* *\n *\n * (c) 2010-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\n\nvar ColorAxisLike_color = (highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default()).parse;\n\nvar ColorAxisLike_merge = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).merge;\n/* *\n *\n * Namespace\n *\n * */\nvar ColorAxisLike;\n(function (ColorAxisLike) {\n /* *\n *\n * Declarations\n *\n * */\n /* *\n *\n * Functions\n *\n * */\n /**\n * Initialize defined data classes.\n * @private\n */\n function initDataClasses(userOptions) {\n var axis = this,\n chart = axis.chart,\n legendItem = axis.legendItem = axis.legendItem || {},\n options = axis.options,\n userDataClasses = userOptions.dataClasses || [];\n var dataClass,\n dataClasses,\n colorCount = chart.options.chart.colorCount,\n colorCounter = 0,\n colors;\n axis.dataClasses = dataClasses = [];\n legendItem.labels = [];\n for (var i = 0, iEnd = userDataClasses.length; i < iEnd; ++i) {\n dataClass = userDataClasses[i];\n dataClass = ColorAxisLike_merge(dataClass);\n dataClasses.push(dataClass);\n if (!chart.styledMode && dataClass.color) {\n continue;\n }\n if (options.dataClassColor === 'category') {\n if (!chart.styledMode) {\n colors = chart.options.colors || [];\n colorCount = colors.length;\n dataClass.color = colors[colorCounter];\n }\n dataClass.colorIndex = colorCounter;\n // Loop back to zero\n colorCounter++;\n if (colorCounter === colorCount) {\n colorCounter = 0;\n }\n }\n else {\n dataClass.color = ColorAxisLike_color(options.minColor).tweenTo(ColorAxisLike_color(options.maxColor), iEnd < 2 ? 0.5 : i / (iEnd - 1) // #3219\n );\n }\n }\n }\n ColorAxisLike.initDataClasses = initDataClasses;\n /**\n * Create initial color stops.\n * @private\n */\n function initStops() {\n var axis = this,\n options = axis.options,\n stops = axis.stops = options.stops || [\n [0,\n options.minColor || ''],\n [1,\n options.maxColor || '']\n ];\n for (var i = 0, iEnd = stops.length; i < iEnd; ++i) {\n stops[i].color = ColorAxisLike_color(stops[i][1]);\n }\n }\n ColorAxisLike.initStops = initStops;\n /**\n * Normalize logarithmic values.\n * @private\n */\n function normalizedValue(value) {\n var axis = this,\n max = axis.max || 0,\n min = axis.min || 0;\n if (axis.logarithmic) {\n value = axis.logarithmic.log2lin(value);\n }\n return 1 - ((max - value) /\n ((max - min) || 1));\n }\n ColorAxisLike.normalizedValue = normalizedValue;\n /**\n * Translate from a value to a color.\n * @private\n */\n function toColor(value, point) {\n var axis = this;\n var dataClasses = axis.dataClasses;\n var stops = axis.stops;\n var pos,\n from,\n to,\n color,\n dataClass,\n i;\n if (dataClasses) {\n i = dataClasses.length;\n while (i--) {\n dataClass = dataClasses[i];\n from = dataClass.from;\n to = dataClass.to;\n if ((typeof from === 'undefined' || value >= from) &&\n (typeof to === 'undefined' || value <= to)) {\n color = dataClass.color;\n if (point) {\n point.dataClass = i;\n point.colorIndex = dataClass.colorIndex;\n }\n break;\n }\n }\n }\n else {\n pos = axis.normalizedValue(value);\n i = stops.length;\n while (i--) {\n if (pos > stops[i][0]) {\n break;\n }\n }\n from = stops[i] || stops[i + 1];\n to = stops[i + 1] || from;\n // The position within the gradient\n pos = 1 - (to[0] - pos) / ((to[0] - from[0]) || 1);\n color = from.color.tweenTo(to.color, pos);\n }\n return color;\n }\n ColorAxisLike.toColor = toColor;\n})(ColorAxisLike || (ColorAxisLike = {}));\n/* *\n *\n * Default Export\n *\n * */\n/* harmony default export */ var Color_ColorAxisLike = (ColorAxisLike);\n\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"LegendSymbol\"],\"commonjs\":[\"highcharts\",\"LegendSymbol\"],\"commonjs2\":[\"highcharts\",\"LegendSymbol\"],\"root\":[\"Highcharts\",\"LegendSymbol\"]}\nvar highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_ = __webpack_require__(500);\nvar highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_default = /*#__PURE__*/__webpack_require__.n(highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_);\n// EXTERNAL MODULE: external {\"amd\":[\"highcharts/highcharts\",\"SeriesRegistry\"],\"commonjs\":[\"highcharts\",\"SeriesRegistry\"],\"commonjs2\":[\"highcharts\",\"SeriesRegistry\"],\"root\":[\"Highcharts\",\"SeriesRegistry\"]}\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_ = __webpack_require__(512);\nvar highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default = /*#__PURE__*/__webpack_require__.n(highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_);\n;// ./code/es5/es-modules/Core/Axis/Color/ColorAxis.js\n/* *\n *\n * (c) 2010-2024 Torstein Honsi\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d,\n b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d,\n b) { d.__proto__ = b; }) ||\n function (d,\n b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n\n\nvar defaultOptions = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).defaultOptions;\n\n\nvar Series = (highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default()).series;\n\nvar defined = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).defined, ColorAxis_extend = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).extend, fireEvent = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).fireEvent, isArray = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isArray, isNumber = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isNumber, ColorAxis_merge = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).merge, ColorAxis_pick = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).pick, relativeLength = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).relativeLength;\ndefaultOptions.colorAxis = ColorAxis_merge(defaultOptions.xAxis, ColorAxisDefaults);\n/* *\n *\n * Class\n *\n * */\n/**\n * The ColorAxis object for inclusion in gradient legends.\n *\n * @class\n * @name Highcharts.ColorAxis\n * @augments Highcharts.Axis\n *\n * @param {Highcharts.Chart} chart\n * The related chart of the color axis.\n *\n * @param {Highcharts.ColorAxisOptions} userOptions\n * The color axis options for initialization.\n */\nvar ColorAxis = /** @class */ (function (_super) {\n __extends(ColorAxis, _super);\n /* *\n *\n * Constructors\n *\n * */\n /**\n * @private\n */\n function ColorAxis(chart, userOptions) {\n var _this = _super.call(this,\n chart,\n userOptions) || this;\n _this.coll = 'colorAxis';\n _this.visible = true;\n _this.init(chart, userOptions);\n return _this;\n }\n /* *\n *\n * Static Functions\n *\n * */\n ColorAxis.compose = function (ChartClass, FxClass, LegendClass, SeriesClass) {\n Color_ColorAxisComposition.compose(ColorAxis, ChartClass, FxClass, LegendClass, SeriesClass);\n };\n /* *\n *\n * Functions\n *\n * */\n /**\n * Initializes the color axis.\n *\n * @function Highcharts.ColorAxis#init\n *\n * @param {Highcharts.Chart} chart\n * The related chart of the color axis.\n *\n * @param {Highcharts.ColorAxisOptions} userOptions\n * The color axis options for initialization.\n */\n ColorAxis.prototype.init = function (chart, userOptions) {\n var axis = this;\n var legend = chart.options.legend || {},\n horiz = userOptions.layout ?\n userOptions.layout !== 'vertical' :\n legend.layout !== 'vertical';\n axis.side = userOptions.side || horiz ? 2 : 1;\n axis.reversed = userOptions.reversed || !horiz;\n axis.opposite = !horiz;\n _super.prototype.init.call(this, chart, userOptions, 'colorAxis');\n // `super.init` saves the extended user options, now replace it with the\n // originals\n this.userOptions = userOptions;\n if (isArray(chart.userOptions.colorAxis)) {\n chart.userOptions.colorAxis[this.index] = userOptions;\n }\n // Prepare data classes\n if (userOptions.dataClasses) {\n axis.initDataClasses(userOptions);\n }\n axis.initStops();\n // Override original axis properties\n axis.horiz = horiz;\n axis.zoomEnabled = false;\n };\n /**\n * Returns true if the series has points at all.\n *\n * @function Highcharts.ColorAxis#hasData\n *\n * @return {boolean}\n * True, if the series has points, otherwise false.\n */\n ColorAxis.prototype.hasData = function () {\n return !!(this.tickPositions || []).length;\n };\n /**\n * Override so that ticks are not added in data class axes (#6914)\n * @private\n */\n ColorAxis.prototype.setTickPositions = function () {\n if (!this.dataClasses) {\n return _super.prototype.setTickPositions.call(this);\n }\n };\n /**\n * Extend the setOptions method to process extreme colors and color stops.\n * @private\n */\n ColorAxis.prototype.setOptions = function (userOptions) {\n var options = ColorAxis_merge(defaultOptions.colorAxis,\n userOptions, \n // Forced options\n {\n showEmpty: false,\n title: null,\n visible: this.chart.options.legend.enabled &&\n userOptions.visible !== false\n });\n _super.prototype.setOptions.call(this, options);\n this.options.crosshair = this.options.marker;\n };\n /**\n * @private\n */\n ColorAxis.prototype.setAxisSize = function () {\n var _a;\n var axis = this,\n chart = axis.chart,\n symbol = (_a = axis.legendItem) === null || _a === void 0 ? void 0 : _a.symbol;\n var _b = axis.getSize(),\n width = _b.width,\n height = _b.height;\n if (symbol) {\n this.left = +symbol.attr('x');\n this.top = +symbol.attr('y');\n this.width = width = +symbol.attr('width');\n this.height = height = +symbol.attr('height');\n this.right = chart.chartWidth - this.left - width;\n this.bottom = chart.chartHeight - this.top - height;\n this.pos = this.horiz ? this.left : this.top;\n }\n // Fake length for disabled legend to avoid tick issues\n // and such (#5205)\n this.len = (this.horiz ? width : height) ||\n ColorAxis.defaultLegendLength;\n };\n /**\n * Override the getOffset method to add the whole axis groups inside the\n * legend.\n * @private\n */\n ColorAxis.prototype.getOffset = function () {\n var _a;\n var axis = this;\n var group = (_a = axis.legendItem) === null || _a === void 0 ? void 0 : _a.group;\n var sideOffset = axis.chart.axisOffset[axis.side];\n if (group) {\n // Hook for the getOffset method to add groups to this parent\n // group\n axis.axisParent = group;\n // Call the base\n _super.prototype.getOffset.call(this);\n var legend_1 = this.chart.legend;\n // Adds `maxLabelLength` needed for label padding corrections done\n // by `render()` and `getMargins()` (#15551).\n legend_1.allItems.forEach(function (item) {\n if (item instanceof ColorAxis) {\n item.drawLegendSymbol(legend_1, item);\n }\n });\n legend_1.render();\n this.chart.getMargins(true);\n // If not drilling down/up\n if (!this.chart.series.some(function (series) {\n return series.isDrilling;\n })) {\n axis.isDirty = true; // Flag to fire drawChartBox\n }\n // First time only\n if (!axis.added) {\n axis.added = true;\n axis.labelLeft = 0;\n axis.labelRight = axis.width;\n }\n // Reset it to avoid color axis reserving space\n axis.chart.axisOffset[axis.side] = sideOffset;\n }\n };\n /**\n * Create the color gradient.\n * @private\n */\n ColorAxis.prototype.setLegendColor = function () {\n var axis = this;\n var horiz = axis.horiz;\n var reversed = axis.reversed;\n var one = reversed ? 1 : 0;\n var zero = reversed ? 0 : 1;\n var grad = horiz ? [one, 0,\n zero, 0] : [0,\n zero, 0,\n one]; // #3190\n axis.legendColor = {\n linearGradient: {\n x1: grad[0],\n y1: grad[1],\n x2: grad[2],\n y2: grad[3]\n },\n stops: axis.stops\n };\n };\n /**\n * The color axis appears inside the legend and has its own legend symbol.\n * @private\n */\n ColorAxis.prototype.drawLegendSymbol = function (legend, item) {\n var _a;\n var axis = this,\n legendItem = item.legendItem || {},\n padding = legend.padding,\n legendOptions = legend.options,\n labelOptions = axis.options.labels,\n itemDistance = ColorAxis_pick(legendOptions.itemDistance, 10),\n horiz = axis.horiz,\n _b = axis.getSize(),\n width = _b.width,\n height = _b.height,\n labelPadding = ColorAxis_pick(\n // @todo: This option is not documented, nor implemented when\n // vertical\n legendOptions.labelPadding,\n horiz ? 16 : 30);\n this.setLegendColor();\n // Create the gradient\n if (!legendItem.symbol) {\n legendItem.symbol = this.chart.renderer.symbol('roundedRect')\n .attr({\n r: (_a = legendOptions.symbolRadius) !== null && _a !== void 0 ? _a : 3,\n zIndex: 1\n }).add(legendItem.group);\n }\n legendItem.symbol.attr({\n x: 0,\n y: (legend.baseline || 0) - 11,\n width: width,\n height: height\n });\n // Set how much space this legend item takes up\n legendItem.labelWidth = (width +\n padding +\n (horiz ?\n itemDistance :\n ColorAxis_pick(labelOptions.x, labelOptions.distance) +\n (this.maxLabelLength || 0)));\n legendItem.labelHeight = height + padding + (horiz ? labelPadding : 0);\n };\n /**\n * Fool the legend.\n * @private\n */\n ColorAxis.prototype.setState = function (state) {\n this.series.forEach(function (series) {\n series.setState(state);\n });\n };\n /**\n * @private\n */\n ColorAxis.prototype.setVisible = function () {\n };\n /**\n * @private\n */\n ColorAxis.prototype.getSeriesExtremes = function () {\n var axis = this;\n var series = axis.series;\n var colorValArray,\n colorKey,\n calculatedExtremes,\n cSeries,\n i = series.length;\n this.dataMin = Infinity;\n this.dataMax = -Infinity;\n while (i--) { // X, y, value, other\n cSeries = series[i];\n colorKey = cSeries.colorKey = ColorAxis_pick(cSeries.options.colorKey, cSeries.colorKey, cSeries.pointValKey, cSeries.zoneAxis, 'y');\n calculatedExtremes = cSeries[colorKey + 'Min'] &&\n cSeries[colorKey + 'Max'];\n // Find the first column that has values\n for (var _i = 0, _a = [colorKey, 'value', 'y']; _i < _a.length; _i++) {\n var key = _a[_i];\n colorValArray = cSeries.getColumn(key);\n if (colorValArray.length) {\n break;\n }\n }\n // If color key extremes are already calculated, use them.\n if (calculatedExtremes) {\n cSeries.minColorValue = cSeries[colorKey + 'Min'];\n cSeries.maxColorValue = cSeries[colorKey + 'Max'];\n }\n else {\n var cExtremes = Series.prototype.getExtremes.call(cSeries,\n colorValArray);\n cSeries.minColorValue = cExtremes.dataMin;\n cSeries.maxColorValue = cExtremes.dataMax;\n }\n if (defined(cSeries.minColorValue) &&\n defined(cSeries.maxColorValue)) {\n this.dataMin =\n Math.min(this.dataMin, cSeries.minColorValue);\n this.dataMax =\n Math.max(this.dataMax, cSeries.maxColorValue);\n }\n if (!calculatedExtremes) {\n Series.prototype.applyExtremes.call(cSeries);\n }\n }\n };\n /**\n * Internal function to draw a crosshair.\n *\n * @function Highcharts.ColorAxis#drawCrosshair\n *\n * @param {Highcharts.PointerEventObject} [e]\n * The event arguments from the modified pointer event, extended with\n * `chartX` and `chartY`\n *\n * @param {Highcharts.Point} [point]\n * The Point object if the crosshair snaps to points.\n *\n * @emits Highcharts.ColorAxis#event:afterDrawCrosshair\n * @emits Highcharts.ColorAxis#event:drawCrosshair\n */\n ColorAxis.prototype.drawCrosshair = function (e, point) {\n var axis = this,\n legendItem = axis.legendItem || {},\n plotX = point && point.plotX,\n plotY = point && point.plotY,\n axisPos = axis.pos,\n axisLen = axis.len;\n var crossPos;\n if (point) {\n crossPos = axis.toPixels(point.getNestedProperty(point.series.colorKey));\n if (crossPos < axisPos) {\n crossPos = axisPos - 2;\n }\n else if (crossPos > axisPos + axisLen) {\n crossPos = axisPos + axisLen + 2;\n }\n point.plotX = crossPos;\n point.plotY = axis.len - crossPos;\n _super.prototype.drawCrosshair.call(this, e, point);\n point.plotX = plotX;\n point.plotY = plotY;\n if (axis.cross &&\n !axis.cross.addedToColorAxis &&\n legendItem.group) {\n axis.cross\n .addClass('highcharts-coloraxis-marker')\n .add(legendItem.group);\n axis.cross.addedToColorAxis = true;\n if (!axis.chart.styledMode &&\n typeof axis.crosshair === 'object') {\n axis.cross.attr({\n fill: axis.crosshair.color\n });\n }\n }\n }\n };\n /**\n * @private\n */\n ColorAxis.prototype.getPlotLinePath = function (options) {\n var axis = this,\n left = axis.left,\n pos = options.translatedValue,\n top = axis.top;\n // Crosshairs only\n return isNumber(pos) ? // `pos` can be 0 (#3969)\n (axis.horiz ? [\n ['M', pos - 4, top - 6],\n ['L', pos + 4, top - 6],\n ['L', pos, top],\n ['Z']\n ] : [\n ['M', left, pos],\n ['L', left - 6, pos + 6],\n ['L', left - 6, pos - 6],\n ['Z']\n ]) :\n _super.prototype.getPlotLinePath.call(this, options);\n };\n /**\n * Updates a color axis instance with a new set of options. The options are\n * merged with the existing options, so only new or altered options need to\n * be specified.\n *\n * @function Highcharts.ColorAxis#update\n *\n * @param {Highcharts.ColorAxisOptions} newOptions\n * The new options that will be merged in with existing options on the color\n * axis.\n *\n * @param {boolean} [redraw]\n * Whether to redraw the chart after the color axis is altered. If doing\n * more operations on the chart, it is a good idea to set redraw to `false`\n * and call {@link Highcharts.Chart#redraw} after.\n */\n ColorAxis.prototype.update = function (newOptions, redraw) {\n var axis = this,\n chart = axis.chart,\n legend = chart.legend;\n this.series.forEach(function (series) {\n // Needed for Axis.update when choropleth colors change\n series.isDirtyData = true;\n });\n // When updating data classes, destroy old items and make sure new\n // ones are created (#3207)\n if (newOptions.dataClasses && legend.allItems || axis.dataClasses) {\n axis.destroyItems();\n }\n _super.prototype.update.call(this, newOptions, redraw);\n if (axis.legendItem && axis.legendItem.label) {\n axis.setLegendColor();\n legend.colorizeItem(this, true);\n }\n };\n /**\n * Destroy color axis legend items.\n * @private\n */\n ColorAxis.prototype.destroyItems = function () {\n var axis = this,\n chart = axis.chart,\n legendItem = axis.legendItem || {};\n if (legendItem.label) {\n chart.legend.destroyItem(axis);\n }\n else if (legendItem.labels) {\n for (var _i = 0, _a = legendItem.labels; _i < _a.length; _i++) {\n var item = _a[_i];\n chart.legend.destroyItem(item);\n }\n }\n chart.isDirtyLegend = true;\n };\n // Removing the whole axis (#14283)\n ColorAxis.prototype.destroy = function () {\n this.chart.isDirtyLegend = true;\n this.destroyItems();\n _super.prototype.destroy.apply(this, [].slice.call(arguments));\n };\n /**\n * Removes the color axis and the related legend item.\n *\n * @function Highcharts.ColorAxis#remove\n *\n * @param {boolean} [redraw=true]\n * Whether to redraw the chart following the remove.\n */\n ColorAxis.prototype.remove = function (redraw) {\n this.destroyItems();\n _super.prototype.remove.call(this, redraw);\n };\n /**\n * Get the legend item symbols for data classes.\n * @private\n */\n ColorAxis.prototype.getDataClassLegendSymbols = function () {\n var axis = this,\n chart = axis.chart,\n legendItems = (axis.legendItem &&\n axis.legendItem.labels ||\n []),\n legendOptions = chart.options.legend,\n valueDecimals = ColorAxis_pick(legendOptions.valueDecimals, -1),\n valueSuffix = ColorAxis_pick(legendOptions.valueSuffix, '');\n var getPointsInDataClass = function (i) {\n return axis.series.reduce(function (points,\n s) {\n points.push.apply(points,\n s.points.filter(function (point) {\n return point.dataClass === i;\n }));\n return points;\n }, []);\n };\n var name;\n if (!legendItems.length) {\n axis.dataClasses.forEach(function (dataClass, i) {\n var from = dataClass.from,\n to = dataClass.to,\n numberFormatter = chart.numberFormatter;\n var vis = true;\n // Assemble the default name. This can be overridden\n // by legend.options.labelFormatter\n name = '';\n if (typeof from === 'undefined') {\n name = '< ';\n }\n else if (typeof to === 'undefined') {\n name = '> ';\n }\n if (typeof from !== 'undefined') {\n name += numberFormatter(from, valueDecimals) + valueSuffix;\n }\n if (typeof from !== 'undefined' && typeof to !== 'undefined') {\n name += ' - ';\n }\n if (typeof to !== 'undefined') {\n name += numberFormatter(to, valueDecimals) + valueSuffix;\n }\n // Add a mock object to the legend items\n legendItems.push(ColorAxis_extend({\n chart: chart,\n name: name,\n options: {},\n drawLegendSymbol: (highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_default()).rectangle,\n visible: true,\n isDataClass: true,\n // Override setState to set either normal or inactive\n // state to all points in this data class\n setState: function (state) {\n for (var _i = 0, _a = getPointsInDataClass(i); _i < _a.length; _i++) {\n var point = _a[_i];\n point.setState(state);\n }\n },\n // Override setState to show or hide all points in this\n // data class\n setVisible: function () {\n this.visible = vis = axis.visible = !vis;\n var affectedSeries = [];\n for (var _i = 0, _a = getPointsInDataClass(i); _i < _a.length; _i++) {\n var point = _a[_i];\n point.setVisible(vis);\n point.hiddenInDataClass = !vis; // #20441\n if (affectedSeries.indexOf(point.series) === -1) {\n affectedSeries.push(point.series);\n }\n }\n chart.legend.colorizeItem(this, vis);\n affectedSeries.forEach(function (series) {\n fireEvent(series, 'afterDataClassLegendClick');\n });\n }\n }, dataClass));\n });\n }\n return legendItems;\n };\n /**\n * Get size of color axis symbol.\n * @private\n */\n ColorAxis.prototype.getSize = function () {\n var axis = this,\n chart = axis.chart,\n horiz = axis.horiz,\n _a = axis.options,\n colorAxisHeight = _a.height,\n colorAxisWidth = _a.width,\n legendOptions = chart.options.legend,\n width = ColorAxis_pick(defined(colorAxisWidth) ?\n relativeLength(colorAxisWidth,\n chart.chartWidth) : void 0,\n legendOptions === null || legendOptions === void 0 ? void 0 : legendOptions.symbolWidth,\n horiz ? ColorAxis.defaultLegendLength : 12),\n height = ColorAxis_pick(defined(colorAxisHeight) ?\n relativeLength(colorAxisHeight,\n chart.chartHeight) : void 0,\n legendOptions === null || legendOptions === void 0 ? void 0 : legendOptions.symbolHeight,\n horiz ? 12 : ColorAxis.defaultLegendLength);\n return {\n width: width,\n height: height\n };\n };\n /* *\n *\n * Static Properties\n *\n * */\n ColorAxis.defaultLegendLength = 200;\n /**\n * @private\n */\n ColorAxis.keepProps = [\n 'legendItem'\n ];\n return ColorAxis;\n}((highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default())));\nColorAxis_extend(ColorAxis.prototype, Color_ColorAxisLike);\n/* *\n *\n * Registry\n *\n * */\n// Properties to preserve after destroy, for Axis.update (#5881, #6025).\nArray.prototype.push.apply((highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default()).keepProps, ColorAxis.keepProps);\n/* *\n *\n * Default Export\n *\n * */\n/* harmony default export */ var Color_ColorAxis = (ColorAxis);\n/* *\n *\n * API Declarations\n *\n * */\n/**\n * Color axis types\n *\n * @typedef {\"linear\"|\"logarithmic\"} Highcharts.ColorAxisTypeValue\n */\n''; // Detach doclet above\n\n;// ./code/es5/es-modules/masters/modules/coloraxis.src.js\n\n\n\n\nvar G = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());\nG.ColorAxis = G.ColorAxis || Color_ColorAxis;\nG.ColorAxis.compose(G.Chart, G.Fx, G.Legend, G.Series);\n/* harmony default export */ var coloraxis_src = ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()));\n\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});"],"names":["root","factory","exports","module","require","define","amd","__WEBPACK_EXTERNAL_MODULE__944__","__WEBPACK_EXTERNAL_MODULE__532__","__WEBPACK_EXTERNAL_MODULE__620__","__WEBPACK_EXTERNAL_MODULE__500__","__WEBPACK_EXTERNAL_MODULE__512__","ColorAxisLike","extendStatics","ColorAxisComposition","__webpack_modules__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","__webpack_exports__","coloraxis_src","highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_","highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default","highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_","highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default","highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_","highcharts_Color_commonjs_highcharts_Color_commonjs2_highcharts_Color_root_Highcharts_Color_default","color","parse","addEvent","extend","merge","pick","splat","ColorAxisConstructor","onChartAfterCreateAxes","_this","userOptions","colorAxis","map","axisOptions","onLegendAfterGetAllItems","e","options","i","colorAxes","chart","destroyItem","item","allItems","indexOf","splice","colorAxisItems","forEach","showInLegend","dataClasses","visible","concat","getDataClassLegendSymbols","push","series","legendType","points","point","length","unshift","onLegendAfterColorizeItem","legendColor","legendItem","symbol","attr","fill","onLegendAfterUpdate","_a","update","redraw","onSeriesAfterTranslate","colorAttribs","translateColors","onSeriesBindAxes","axisTypes","pointSetVisible","vis","method","Boolean","buildKDTree","seriesTranslateColors","getPointsCollection","nullColor","colorKey","value","getNestedProperty","isNull","toColor","label","legend","colorizeItem","wrapFxFillSetter","elem","start","tweenTo","end","pos","wrapFxStrokeSetter","compose","ColorAxisClass","ChartClass","FxClass","LegendClass","SeriesClass","superCreateAxis","chartProto","fxProto","seriesProto","collectionsWithUpdate","includes","collectionsWithInit","addColorAxis","createAxis","type","apply","arguments","axis","index","isX","isDirtyLegend","axes","bindAxes","isDirtyData","animation","fillSetter","strokeSetter","optionalAxis","pointClass","setVisible","order","Color_ColorAxisComposition","ColorAxisLike_color","ColorAxisLike_merge","initDataClasses","dataClass","colors","userDataClasses","colorCount","colorCounter","labels","iEnd","styledMode","dataClassColor","colorIndex","minColor","maxColor","initStops","stops","normalizedValue","max","min","logarithmic","log2lin","from","to","Color_ColorAxisLike","highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_","highcharts_LegendSymbol_commonjs_highcharts_LegendSymbol_commonjs2_highcharts_LegendSymbol_root_Highcharts_LegendSymbol_default","highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_","highcharts_SeriesRegistry_commonjs_highcharts_SeriesRegistry_commonjs2_highcharts_SeriesRegistry_root_Highcharts_SeriesRegistry_default","__extends","b","setPrototypeOf","__proto__","Array","p","__","constructor","create","defaultOptions","Series","defined","ColorAxis_extend","fireEvent","isArray","isNumber","ColorAxis_merge","ColorAxis_pick","relativeLength","xAxis","lineWidth","minPadding","maxPadding","gridLineColor","gridLineWidth","tickPixelInterval","startOnTick","endOnTick","offset","marker","duration","width","distance","overflow","rotation","tickLength","ColorAxis","_super","coll","init","horiz","layout","side","reversed","opposite","zoomEnabled","hasData","tickPositions","setTickPositions","setOptions","showEmpty","title","enabled","crosshair","setAxisSize","_b","getSize","height","left","top","right","chartWidth","bottom","chartHeight","len","defaultLegendLength","getOffset","group","sideOffset","axisOffset","axisParent","legend_1","drawLegendSymbol","render","getMargins","some","isDrilling","isDirty","added","labelLeft","labelRight","setLegendColor","one","zero","grad","linearGradient","x1","y1","x2","y2","padding","legendOptions","labelOptions","itemDistance","labelPadding","renderer","r","symbolRadius","zIndex","add","x","y","baseline","labelWidth","maxLabelLength","labelHeight","setState","state","getSeriesExtremes","colorValArray","calculatedExtremes","cSeries","dataMin","Infinity","dataMax","pointValKey","zoneAxis","_i","getColumn","minColorValue","maxColorValue","cExtremes","getExtremes","Math","applyExtremes","drawCrosshair","crossPos","plotX","plotY","axisPos","axisLen","toPixels","cross","addedToColorAxis","addClass","getPlotLinePath","translatedValue","newOptions","destroyItems","destroy","slice","remove","name","legendItems","valueDecimals","valueSuffix","getPointsInDataClass","reduce","s","filter","numberFormatter","rectangle","is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