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AMsE,EAAUC,OAAS,IAAM,GAC/Cb,GAASzH,KAAKqG,MAAMsC,IAPbvG,EAAOjB,UAAUqL,cAAclK,MAAMtC,KAAMuC,UAS1D,EACAoD,EAAa8G,eAAiB7H,EAAML,EAAakI,eAAgBC,GAC1D/G,CACX,CAxWkC,CAwWhCpB,GACFrC,EAAOyD,EAAaxE,UAAW,CAC3BW,WAAYK,EACZwK,aAAc,EACdC,oBAAoB,EACpBC,eAAgB,CAAC,IAAK,KAAM,KAC5BC,gBAAgB,EAChBvC,KAAM,SACNwC,QAASzI,EAAYyI,QACrBC,cAAe9I,EACf+I,YAAa/I,IAEjBtC,EAAAA,EAAesL,mBAAmB,SAAUvH,GAM5C,UCjcA,IAAIwH,EAAIC,EAAAA,EACRzH,EAAaG,QAAQqH,EAAEE","sources":["../../../../../node_modules/.pnpm/highcharts@10.3.3/node_modules/highcharts/es-modules/Series/XRange/XRangeSeriesDefaults.js","../../../../../node_modules/.pnpm/highcharts@10.3.3/node_modules/highcharts/es-modules/Series/XRange/XRangePoint.js","../../../../../node_modules/.pnpm/highcharts@10.3.3/node_modules/highcharts/es-modules/Series/XRange/XRangeSeries.js","../../../../../node_modules/.pnpm/highcharts@10.3.3/node_modules/highcharts/es-modules/masters/modules/xrange.src.js"],"sourcesContent":["/* *\n *\n * X-range series module\n *\n * (c) 2010-2021 Torstein Honsi, Lars A. V. Cabrera\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n'use strict';\nimport U from '../../Core/Utilities.js';\nvar correctFloat = U.correctFloat, isNumber = U.isNumber, isObject = U.isObject;\n/* *\n *\n * Constants\n *\n * */\n/**\n * The X-range series displays ranges on the X axis, typically time\n * intervals with a start and end date.\n *\n * @sample {highcharts} highcharts/demo/x-range/\n * X-range\n * @sample {highcharts} highcharts/css/x-range/\n * Styled mode X-range\n * @sample {highcharts} highcharts/chart/inverted-xrange/\n * Inverted X-range\n *\n * @extends plotOptions.column\n * @since 6.0.0\n * @product highcharts highstock gantt\n * @excluding boostThreshold, crisp, cropThreshold, depth, edgeColor,\n * edgeWidth, findNearestPointBy, getExtremesFromAll,\n * negativeColor, pointInterval, pointIntervalUnit,\n * pointPlacement, pointRange, pointStart, softThreshold,\n * stacking, threshold, data, dataSorting, boostBlending\n * @requires modules/xrange\n * @optionparent plotOptions.xrange\n */\nvar XRangeSeriesDefaults = {\n /**\n * A partial fill for each point, typically used to visualize how much\n * of a task is performed. The partial fill object can be set either on\n * series or point level.\n *\n * @sample {highcharts} highcharts/demo/x-range\n * X-range with partial fill\n *\n * @product highcharts highstock gantt\n * @apioption plotOptions.xrange.partialFill\n */\n /**\n * The fill color to be used for partial fills. Defaults to a darker\n * shade of the point color.\n *\n * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product highcharts highstock gantt\n * @apioption plotOptions.xrange.partialFill.fill\n */\n /**\n * A partial fill for each point, typically used to visualize how much\n * of a task is performed. See [completed](series.gantt.data.completed).\n *\n * @sample gantt/demo/progress-indicator\n * Gantt with progress indicator\n *\n * @product gantt\n * @apioption plotOptions.gantt.partialFill\n */\n /**\n * In an X-range series, this option makes all points of the same Y-axis\n * category the same color.\n */\n colorByPoint: true,\n dataLabels: {\n formatter: function () {\n var point = this.point, amount = point.partialFill;\n if (isObject(amount)) {\n amount = amount.amount;\n }\n if (isNumber(amount) && amount > 0) {\n return correctFloat(amount * 100) + '%';\n }\n },\n inside: true,\n verticalAlign: 'middle'\n },\n tooltip: {\n headerFormat: '{point.x} - {point.x2}
',\n pointFormat: '\\u25CF {series.name}: {point.yCategory}
'\n },\n borderRadius: 3,\n pointRange: 0\n};\n/* *\n *\n * Export Default\n *\n * */\nexport default XRangeSeriesDefaults;\n/* *\n *\n * API Options\n *\n * */\n/**\n * An `xrange` series. If the [type](#series.xrange.type) option is not\n * specified, it is inherited from [chart.type](#chart.type).\n *\n * @extends series,plotOptions.xrange\n * @excluding boostThreshold, crisp, cropThreshold, depth, edgeColor, edgeWidth,\n * findNearestPointBy, getExtremesFromAll, negativeColor,\n * pointInterval, pointIntervalUnit, pointPlacement, pointRange,\n * pointStart, softThreshold, stacking, threshold, dataSorting,\n * boostBlending\n * @product highcharts highstock gantt\n * @requires modules/xrange\n * @apioption series.xrange\n */\n/**\n * An array of data points for the series. For the `xrange` series type,\n * points can be given in the following ways:\n *\n * 1. An array of objects with named values. The objects are point configuration\n * objects as seen below.\n * ```js\n * data: [{\n * x: Date.UTC(2017, 0, 1),\n * x2: Date.UTC(2017, 0, 3),\n * name: \"Test\",\n * y: 0,\n * color: \"#00FF00\"\n * }, {\n * x: Date.UTC(2017, 0, 4),\n * x2: Date.UTC(2017, 0, 5),\n * name: \"Deploy\",\n * y: 1,\n * color: \"#FF0000\"\n * }]\n * ```\n *\n * @sample {highcharts} highcharts/series/data-array-of-objects/\n * Config objects\n *\n * @declare Highcharts.XrangePointOptionsObject\n * @type {Array<*>}\n * @extends series.line.data\n * @product highcharts highstock gantt\n * @apioption series.xrange.data\n */\n/**\n * The starting X value of the range point.\n *\n * @sample {highcharts} highcharts/demo/x-range\n * X-range\n *\n * @type {number}\n * @product highcharts highstock gantt\n * @apioption series.xrange.data.x\n */\n/**\n * The ending X value of the range point.\n *\n * @sample {highcharts} highcharts/demo/x-range\n * X-range\n *\n * @type {number}\n * @product highcharts highstock gantt\n * @apioption series.xrange.data.x2\n */\n/**\n * The Y value of the range point.\n *\n * @sample {highcharts} highcharts/demo/x-range\n * X-range\n *\n * @type {number}\n * @product highcharts highstock gantt\n * @apioption series.xrange.data.y\n */\n/**\n * A partial fill for each point, typically used to visualize how much of\n * a task is performed. The partial fill object can be set either on series\n * or point level.\n *\n * @sample {highcharts} highcharts/demo/x-range\n * X-range with partial fill\n *\n * @declare Highcharts.XrangePointPartialFillOptionsObject\n * @product highcharts highstock gantt\n * @apioption series.xrange.data.partialFill\n */\n/**\n * The amount of the X-range point to be filled. Values can be 0-1 and are\n * converted to percentages in the default data label formatter.\n *\n * @type {number}\n * @product highcharts highstock gantt\n * @apioption series.xrange.data.partialFill.amount\n */\n/**\n * The fill color to be used for partial fills. Defaults to a darker shade\n * of the point color.\n *\n * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}\n * @product highcharts highstock gantt\n * @apioption series.xrange.data.partialFill.fill\n */\n(''); // adds doclets above to transpiled file\n","/* *\n *\n * X-range series module\n *\n * (c) 2010-2021 Torstein Honsi, Lars A. V. Cabrera\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n'use strict';\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport SeriesRegistry from '../../Core/Series/SeriesRegistry.js';\nvar pointProto = SeriesRegistry.series.prototype.pointClass.prototype, ColumnPoint = SeriesRegistry.seriesTypes.column.prototype.pointClass;\nimport U from '../../Core/Utilities.js';\nvar extend = U.extend;\n/* *\n *\n * Class\n *\n * */\nvar XRangePoint = /** @class */ (function (_super) {\n __extends(XRangePoint, _super);\n function XRangePoint() {\n /* *\n *\n * Static Functions\n *\n * */\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /* *\n *\n * Properties\n *\n * */\n _this.options = void 0;\n _this.series = void 0;\n return _this;\n }\n /**\n * Return color of a point based on its category.\n *\n * @private\n * @function getColorByCategory\n *\n * @param {object} series\n * The series which the point belongs to.\n *\n * @param {object} point\n * The point to calculate its color for.\n *\n * @return {object}\n * Returns an object containing the properties color and colorIndex.\n */\n XRangePoint.getColorByCategory = function (series, point) {\n var colors = series.options.colors || series.chart.options.colors, colorCount = colors ?\n colors.length :\n series.chart.options.chart.colorCount, colorIndex = point.y % colorCount, color = colors && colors[colorIndex];\n return {\n colorIndex: colorIndex,\n color: color\n };\n };\n /* *\n *\n * Functions\n *\n * */\n /**\n * @private\n */\n XRangePoint.prototype.resolveColor = function () {\n var series = this.series;\n if (series.options.colorByPoint && !this.options.color) {\n var colorByPoint = XRangePoint.getColorByCategory(series, this);\n if (!series.chart.styledMode) {\n this.color = colorByPoint.color;\n }\n if (!this.options.colorIndex) {\n this.colorIndex = colorByPoint.colorIndex;\n }\n }\n else if (!this.color) {\n this.color = series.color;\n }\n };\n /**\n * Extend init to have y default to 0.\n *\n * @private\n */\n XRangePoint.prototype.init = function () {\n pointProto.init.apply(this, arguments);\n if (!this.y) {\n this.y = 0;\n }\n return this;\n };\n /**\n * @private\n */\n XRangePoint.prototype.setState = function () {\n pointProto.setState.apply(this, arguments);\n this.series.drawPoint(this, this.series.getAnimationVerb());\n };\n /**\n * Add x2 and yCategory to the available properties for tooltip formats.\n *\n * @private\n */\n XRangePoint.prototype.getLabelConfig = function () {\n var cfg = pointProto.getLabelConfig.call(this), yCats = this.series.yAxis.categories;\n cfg.x2 = this.x2;\n cfg.yCategory = this.yCategory = yCats && yCats[this.y];\n return cfg;\n };\n /**\n * @private\n */\n XRangePoint.prototype.isValid = function () {\n return typeof this.x === 'number' &&\n typeof this.x2 === 'number';\n };\n return XRangePoint;\n}(ColumnPoint));\nextend(XRangePoint.prototype, {\n ttBelow: false,\n tooltipDateKeys: ['x', 'x2']\n});\n/* *\n *\n * Default Export\n *\n * */\nexport default XRangePoint;\n/* *\n *\n * API Declarations\n *\n * */\n/**\n * The ending X value of the range point.\n * @name Highcharts.Point#x2\n * @type {number|undefined}\n * @requires modules/xrange\n */\n/**\n * Extend applyOptions so that `colorByPoint` for x-range means that one\n * color is applied per Y axis category.\n *\n * @private\n * @function Highcharts.Point#applyOptions\n *\n * @return {Highcharts.Series}\n */\n/**\n * @interface Highcharts.PointOptionsObject in parts/Point.ts\n */ /**\n* The ending X value of the range point.\n* @name Highcharts.PointOptionsObject#x2\n* @type {number|undefined}\n* @requires modules/xrange\n*/\n(''); // keeps doclets above in JS file\n","/* *\n *\n * X-range series module\n *\n * (c) 2010-2021 Torstein Honsi, Lars A. V. Cabrera\n *\n * License: www.highcharts.com/license\n *\n * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!\n *\n * */\n'use strict';\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport H from '../../Core/Globals.js';\nvar noop = H.noop;\nimport Color from '../../Core/Color/Color.js';\nvar color = Color.parse;\nimport SeriesRegistry from '../../Core/Series/SeriesRegistry.js';\nvar seriesProto = SeriesRegistry.series.prototype, ColumnSeries = SeriesRegistry.seriesTypes.column;\nimport U from '../../Core/Utilities.js';\nvar addEvent = U.addEvent, clamp = U.clamp, defined = U.defined, extend = U.extend, find = U.find, isNumber = U.isNumber, isObject = U.isObject, merge = U.merge, pick = U.pick;\nimport XRangeSeriesDefaults from './XRangeSeriesDefaults.js';\nimport XRangePoint from './XRangePoint.js';\n/* *\n *\n * Constants\n *\n * */\nvar composedClasses = [];\n/* *\n *\n * Functions\n *\n * */\n/**\n * Max x2 should be considered in xAxis extremes\n * @private\n */\nfunction onAxisAfterGetSeriesExtremes() {\n var dataMax, modMax;\n if (this.isXAxis) {\n dataMax = pick(this.dataMax, -Number.MAX_VALUE);\n for (var _i = 0, _a = this.series; _i < _a.length; _i++) {\n var series = _a[_i];\n if (series.x2Data) {\n for (var _b = 0, _c = series.x2Data; _b < _c.length; _b++) {\n var val = _c[_b];\n if (val && val > dataMax) {\n dataMax = val;\n modMax = true;\n }\n }\n }\n }\n if (modMax) {\n this.dataMax = dataMax;\n }\n }\n}\n/* *\n *\n * Class\n *\n * */\n/**\n * @private\n * @class\n * @name Highcharts.seriesTypes.xrange\n *\n * @augments Highcharts.Series\n */\nvar XRangeSeries = /** @class */ (function (_super) {\n __extends(XRangeSeries, _super);\n function XRangeSeries() {\n /* *\n *\n * Static Properties\n *\n * */\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /* *\n *\n * Properties\n *\n * */\n _this.data = void 0;\n _this.options = void 0;\n _this.points = void 0;\n return _this;\n /*\n // Override to remove stroke from points. For partial fill.\n pointAttribs: function () {\n let series = this,\n retVal = columnType.prototype.pointAttribs\n .apply(series, arguments);\n \n //retVal['stroke-width'] = 0;\n return retVal;\n }\n //*/\n /* eslint-enable valid-jsdoc */\n }\n /* *\n *\n * Static Functions\n *\n * */\n XRangeSeries.compose = function (AxisClass) {\n if (composedClasses.indexOf(AxisClass) === -1) {\n composedClasses.push(AxisClass);\n addEvent(AxisClass, 'afterGetSeriesExtremes', onAxisAfterGetSeriesExtremes);\n }\n };\n /* *\n *\n * Functions\n *\n * */\n /**\n * @private\n */\n XRangeSeries.prototype.init = function () {\n _super.prototype.init.apply(this, arguments);\n this.options.stacking = void 0; // #13161\n };\n /**\n * Borrow the column series metrics, but with swapped axes. This gives\n * free access to features like groupPadding, grouping, pointWidth etc.\n * @private\n */\n XRangeSeries.prototype.getColumnMetrics = function () {\n var _this = this;\n var swapAxes = function () {\n for (var _i = 0, _a = _this.chart.series; _i < _a.length; _i++) {\n var series = _a[_i];\n var xAxis = series.xAxis;\n series.xAxis = series.yAxis;\n series.yAxis = xAxis;\n }\n };\n swapAxes();\n var metrics = _super.prototype.getColumnMetrics.call(this);\n swapAxes();\n return metrics;\n };\n /**\n * Override cropData to show a point where x or x2 is outside visible range,\n * but one of them is inside.\n * @private\n */\n XRangeSeries.prototype.cropData = function (xData, yData, min, max) {\n // Replace xData with x2Data to find the appropriate cropStart\n var crop = seriesProto.cropData.call(this, this.x2Data, yData, min, max);\n // Re-insert the cropped xData\n crop.xData = xData.slice(crop.start, crop.end);\n return crop;\n };\n /**\n * Finds the index of an existing point that matches the given point\n * options.\n *\n * @private\n *\n * @param {Highcharts.XRangePointOptions} options\n * The options of the point.\n *\n * @return {number|undefined}\n * Returns index of a matching point, or undefined if no match is\n * found.\n */\n XRangeSeries.prototype.findPointIndex = function (options) {\n var _a = this, cropStart = _a.cropStart, points = _a.points;\n var id = options.id;\n var pointIndex;\n if (id) {\n var point = find(points, function (point) { return point.id === id; });\n pointIndex = point ? point.index : void 0;\n }\n if (typeof pointIndex === 'undefined') {\n var point = find(points, function (point) { return (point.x === options.x &&\n point.x2 === options.x2 &&\n !point.touched); });\n pointIndex = point ? point.index : void 0;\n }\n // Reduce pointIndex if data is cropped\n if (this.cropped &&\n isNumber(pointIndex) &&\n isNumber(cropStart) &&\n pointIndex >= cropStart) {\n pointIndex -= cropStart;\n }\n return pointIndex;\n };\n XRangeSeries.prototype.alignDataLabel = function (point) {\n var oldPlotX = point.plotX;\n point.plotX = pick(point.dlBox && point.dlBox.centerX, point.plotX);\n _super.prototype.alignDataLabel.apply(this, arguments);\n point.plotX = oldPlotX;\n };\n /**\n * @private\n */\n XRangeSeries.prototype.translatePoint = function (point) {\n var xAxis = this.xAxis, yAxis = this.yAxis, metrics = this.columnMetrics, options = this.options, minPointLength = options.minPointLength || 0, oldColWidth = (point.shapeArgs && point.shapeArgs.width || 0) / 2, seriesXOffset = this.pointXOffset = metrics.offset, posX = pick(point.x2, point.x + (point.len || 0));\n var plotX = point.plotX, plotX2 = xAxis.translate(posX, 0, 0, 0, 1);\n var length = Math.abs(plotX2 - plotX), inverted = this.chart.inverted, borderWidth = pick(options.borderWidth, 1), crisper = borderWidth % 2 / 2;\n var widthDifference, partialFill, yOffset = metrics.offset, pointHeight = Math.round(metrics.width), dlLeft, dlRight, dlWidth, clipRectWidth;\n if (minPointLength) {\n widthDifference = minPointLength - length;\n if (widthDifference < 0) {\n widthDifference = 0;\n }\n plotX -= widthDifference / 2;\n plotX2 += widthDifference / 2;\n }\n plotX = Math.max(plotX, -10);\n plotX2 = clamp(plotX2, -10, xAxis.len + 10);\n // Handle individual pointWidth\n if (defined(point.options.pointWidth)) {\n yOffset -= ((Math.ceil(point.options.pointWidth) - pointHeight) / 2);\n pointHeight = Math.ceil(point.options.pointWidth);\n }\n // Apply pointPlacement to the Y axis\n if (options.pointPlacement &&\n isNumber(point.plotY) &&\n yAxis.categories) {\n point.plotY = yAxis.translate(point.y, 0, 1, 0, 1, options.pointPlacement);\n }\n var x = Math.floor(Math.min(plotX, plotX2)) + crisper;\n var x2 = Math.floor(Math.max(plotX, plotX2)) + crisper;\n var shapeArgs = {\n x: x,\n y: Math.floor(point.plotY + yOffset) + crisper,\n width: x2 - x,\n height: pointHeight,\n r: this.options.borderRadius\n };\n point.shapeArgs = shapeArgs;\n // Move tooltip to default position\n if (!inverted) {\n point.tooltipPos[0] -= oldColWidth +\n seriesXOffset -\n shapeArgs.width / 2;\n }\n else {\n point.tooltipPos[1] += seriesXOffset +\n oldColWidth;\n }\n // Align data labels inside the shape and inside the plot area\n dlLeft = shapeArgs.x;\n dlRight = dlLeft + shapeArgs.width;\n if (dlLeft < 0 || dlRight > xAxis.len) {\n dlLeft = clamp(dlLeft, 0, xAxis.len);\n dlRight = clamp(dlRight, 0, xAxis.len);\n dlWidth = dlRight - dlLeft;\n point.dlBox = merge(shapeArgs, {\n x: dlLeft,\n width: dlRight - dlLeft,\n centerX: dlWidth ? dlWidth / 2 : null\n });\n }\n else {\n point.dlBox = null;\n }\n // Tooltip position\n var tooltipPos = point.tooltipPos;\n var xIndex = !inverted ? 0 : 1;\n var yIndex = !inverted ? 1 : 0;\n var tooltipYOffset = (this.columnMetrics ?\n this.columnMetrics.offset :\n -metrics.width / 2);\n // Centering tooltip position (#14147)\n if (!inverted) {\n tooltipPos[xIndex] += (xAxis.reversed ? -1 : 0) * shapeArgs.width;\n }\n else {\n tooltipPos[xIndex] += shapeArgs.width / 2;\n }\n tooltipPos[yIndex] = clamp(tooltipPos[yIndex] + ((inverted ? -1 : 1) * tooltipYOffset), 0, yAxis.len - 1);\n // Add a partShapeArgs to the point, based on the shapeArgs property\n partialFill = point.partialFill;\n if (partialFill) {\n // Get the partial fill amount\n if (isObject(partialFill)) {\n partialFill = partialFill.amount;\n }\n // If it was not a number, assume 0\n if (!isNumber(partialFill)) {\n partialFill = 0;\n }\n point.partShapeArgs = merge(shapeArgs, {\n r: this.options.borderRadius\n });\n clipRectWidth = Math.max(Math.round(length * partialFill + point.plotX -\n plotX), 0);\n point.clipRectArgs = {\n x: xAxis.reversed ? // #10717\n shapeArgs.x + length - clipRectWidth :\n shapeArgs.x,\n y: shapeArgs.y,\n width: clipRectWidth,\n height: shapeArgs.height\n };\n }\n };\n /**\n * @private\n */\n XRangeSeries.prototype.translate = function () {\n _super.prototype.translate.apply(this, arguments);\n for (var _i = 0, _a = this.points; _i < _a.length; _i++) {\n var point = _a[_i];\n this.translatePoint(point);\n }\n };\n /**\n * Draws a single point in the series. Needed for partial fill.\n *\n * This override turns point.graphic into a group containing the\n * original graphic and an overlay displaying the partial fill.\n *\n * @private\n *\n * @param {Highcharts.Point} point\n * An instance of Point in the series.\n *\n * @param {\"animate\"|\"attr\"} verb\n * 'animate' (animates changes) or 'attr' (sets options)\n */\n XRangeSeries.prototype.drawPoint = function (point, verb) {\n var seriesOpts = this.options, renderer = this.chart.renderer, type = point.shapeType, shapeArgs = point.shapeArgs, partShapeArgs = point.partShapeArgs, clipRectArgs = point.clipRectArgs, cutOff = seriesOpts.stacking && !seriesOpts.borderRadius, pointState = point.state, stateOpts = (seriesOpts.states[pointState || 'normal'] ||\n {}), pointStateVerb = typeof pointState === 'undefined' ?\n 'attr' : verb, pointAttr = this.pointAttribs(point, pointState), animation = pick(this.chart.options.chart.animation, stateOpts.animation);\n var graphic = point.graphic, pfOptions = point.partialFill;\n if (!point.isNull && point.visible !== false) {\n // Original graphic\n if (graphic) { // update\n graphic.rect[verb](shapeArgs);\n }\n else {\n point.graphic = graphic = renderer.g('point')\n .addClass(point.getClassName())\n .add(point.group || this.group);\n graphic.rect = renderer[type](merge(shapeArgs))\n .addClass(point.getClassName())\n .addClass('highcharts-partfill-original')\n .add(graphic);\n }\n // Partial fill graphic\n if (partShapeArgs) {\n if (graphic.partRect) {\n graphic.partRect[verb](merge(partShapeArgs));\n graphic.partialClipRect[verb](merge(clipRectArgs));\n }\n else {\n graphic.partialClipRect = renderer.clipRect(clipRectArgs.x, clipRectArgs.y, clipRectArgs.width, clipRectArgs.height);\n graphic.partRect =\n renderer[type](partShapeArgs)\n .addClass('highcharts-partfill-overlay')\n .add(graphic)\n .clip(graphic.partialClipRect);\n }\n }\n // Presentational\n if (!this.chart.styledMode) {\n graphic\n .rect[verb](pointAttr, animation)\n .shadow(seriesOpts.shadow, null, cutOff);\n if (partShapeArgs) {\n // Ensure pfOptions is an object\n if (!isObject(pfOptions)) {\n pfOptions = {};\n }\n if (isObject(seriesOpts.partialFill)) {\n pfOptions = merge(seriesOpts.partialFill, pfOptions);\n }\n var fill = (pfOptions.fill ||\n color(pointAttr.fill).brighten(-0.3).get() ||\n color(point.color || this.color)\n .brighten(-0.3).get());\n pointAttr.fill = fill;\n graphic\n .partRect[pointStateVerb](pointAttr, animation)\n .shadow(seriesOpts.shadow, null, cutOff);\n }\n }\n }\n else if (graphic) {\n point.graphic = graphic.destroy(); // #1269\n }\n };\n /**\n * @private\n */\n XRangeSeries.prototype.drawPoints = function () {\n var verb = this.getAnimationVerb();\n // Draw the columns\n for (var _i = 0, _a = this.points; _i < _a.length; _i++) {\n var point = _a[_i];\n this.drawPoint(point, verb);\n }\n };\n /**\n * Returns \"animate\", or \"attr\" if the number of points is above the\n * animation limit.\n *\n * @private\n */\n XRangeSeries.prototype.getAnimationVerb = function () {\n return (this.chart.pointCount < (this.options.animationLimit || 250) ?\n 'animate' :\n 'attr');\n };\n /**\n * @private\n */\n XRangeSeries.prototype.isPointInside = function (point) {\n var shapeArgs = point.shapeArgs, plotX = point.plotX, plotY = point.plotY;\n if (!shapeArgs) {\n return _super.prototype.isPointInside.apply(this, arguments);\n }\n var isInside = typeof plotX !== 'undefined' &&\n typeof plotY !== 'undefined' &&\n plotY >= 0 &&\n plotY <= this.yAxis.len &&\n (shapeArgs.x || 0) + (shapeArgs.width || 0) >= 0 &&\n plotX <= this.xAxis.len;\n return isInside;\n };\n XRangeSeries.defaultOptions = merge(ColumnSeries.defaultOptions, XRangeSeriesDefaults);\n return XRangeSeries;\n}(ColumnSeries));\nextend(XRangeSeries.prototype, {\n pointClass: XRangePoint,\n cropShoulder: 1,\n getExtremesFromAll: true,\n parallelArrays: ['x', 'x2', 'y'],\n requireSorting: false,\n type: 'xrange',\n animate: seriesProto.animate,\n autoIncrement: noop,\n buildKDTree: noop\n});\nSeriesRegistry.registerSeriesType('xrange', XRangeSeries);\n/* *\n *\n * Default Export\n *\n * */\nexport default XRangeSeries;\n","/**\n * @license Highcharts JS v10.3.3 (2023-01-20)\n * @module highcharts/modules/xrange\n * @requires highcharts\n *\n * X-range series\n *\n * (c) 2010-2021 Torstein Honsi, Lars A. V. Cabrera\n *\n * License: www.highcharts.com/license\n */\n'use strict';\nimport Highcharts from '../../Core/Globals.js';\nimport XRangeSeries from '../../Series/XRange/XRangeSeries.js';\nvar G = Highcharts;\nXRangeSeries.compose(G.Axis);\n"],"names":["correctFloat","U","isNumber","isObject","colorByPoint","dataLabels","formatter","amount","this","point","partialFill","inside","verticalAlign","tooltip","headerFormat","pointFormat","borderRadius","pointRange","extendStatics","__extends","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","TypeError","String","__","constructor","create","pointProto","SeriesRegistry","series","pointClass","ColumnPoint","seriesTypes","column","extend","XRangePoint","_super","_this","apply","arguments","options","getColorByCategory","colors","chart","colorCount","length","colorIndex","y","color","resolveColor","styledMode","init","setState","drawPoint","getAnimationVerb","getLabelConfig","cfg","yCats","yAxis","categories","x2","yCategory","isValid","x","ttBelow","tooltipDateKeys","noop","H","Color","parse","seriesProto","ColumnSeries","addEvent","clamp","defined","find","merge","pick","composedClasses","onAxisAfterGetSeriesExtremes","dataMax","modMax","isXAxis","Number","MAX_VALUE","_i","_a","x2Data","_b","_c","val","XRangeSeries","data","points","compose","AxisClass","indexOf","push","stacking","getColumnMetrics","swapAxes","xAxis","metrics","cropData","xData","yData","min","max","crop","slice","start","end","findPointIndex","pointIndex","cropStart","id","index","touched","cropped","alignDataLabel","oldPlotX","plotX","dlBox","centerX","translatePoint","widthDifference","dlLeft","dlRight","dlWidth","clipRectWidth","columnMetrics","minPointLength","oldColWidth","shapeArgs","width","seriesXOffset","pointXOffset","offset","posX","len","plotX2","translate","Math","abs","inverted","crisper","borderWidth","yOffset","pointHeight","round","pointWidth","ceil","pointPlacement","plotY","floor","height","r","tooltipPos","xIndex","yIndex","tooltipYOffset","reversed","partShapeArgs","clipRectArgs","verb","seriesOpts","renderer","type","shapeType","cutOff","pointState","state","stateOpts","states","pointStateVerb","pointAttr","pointAttribs","animation","graphic","pfOptions","isNull","visible","destroy","rect","g","addClass","getClassName","add","group","partRect","partialClipRect","clipRect","clip","shadow","fill","brighten","get","drawPoints","pointCount","animationLimit","isPointInside","defaultOptions","XRangeSeriesDefaults","cropShoulder","getExtremesFromAll","parallelArrays","requireSorting","animate","autoIncrement","buildKDTree","registerSeriesType","G","Highcharts","Axis"],"sourceRoot":""}