!/**
 * Highcharts JS v12.5.0 (2026-01-12)
 * @module highcharts/modules/dumbbell
 * @requires highcharts
 *
 * (c) 2009-2026 Highsoft AS
 * Author: Sebastian Bochan, Rafal Sebestjanski
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(t,o){"object"==typeof exports&&"object"==typeof module?module.exports=o(require("highcharts"),require("highcharts").SeriesRegistry,require("highcharts").SVGRenderer):"function"==typeof define&&define.amd?define("highcharts/modules/dumbbell",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"],["highcharts/highcharts","SVGRenderer"]],o):"object"==typeof exports?exports["highcharts/modules/dumbbell"]=o(require("highcharts"),require("highcharts").SeriesRegistry,require("highcharts").SVGRenderer):t.Highcharts=o(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.SVGRenderer)}(this,function(t,o,r){return function(){"use strict";var e,i,n,s={512:function(t){t.exports=o},540:function(t){t.exports=r},944:function(o){o.exports=t}},h={};function p(t){var o=h[t];if(void 0!==o)return o.exports;var r=h[t]={exports:{}};return s[t](r,r.exports,p),r.exports}p.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return p.d(o,{a:o}),o},p.d=function(t,o){for(var r in o)p.o(o,r)&&!p.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},p.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)};var a={};p.d(a,{default:function(){return W}});var l=p(944),c=p.n(l),u=p(512),y=p.n(u),d=(e=function(t,o){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)o.hasOwnProperty(r)&&(t[r]=o[r])})(t,o)},function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),f=y().seriesTypes.area.prototype,g=f.pointClass,v=f.pointClass.prototype,w=c().defined,C=c().isNumber,m=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return d(o,t),o.prototype.setState=function(){var t=this.state,o=this.series,r=o.chart.polar;w(this.plotHigh)||(this.plotHigh=o.yAxis.toPixels(this.high,!0)),w(this.plotLow)||(this.plotLow=this.plotY=o.yAxis.toPixels(this.low,!0)),o.lowerStateMarkerGraphic=o.stateMarkerGraphic,o.stateMarkerGraphic=o.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,r&&C(this.plotHighX)&&(this.plotX=this.plotHighX),v.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],r&&C(this.plotLowX)&&(this.plotX=this.plotLowX),o.upperStateMarkerGraphic=o.stateMarkerGraphic,o.stateMarkerGraphic=o.lowerStateMarkerGraphic,o.lowerStateMarkerGraphic=void 0;var e=o.modifyMarkerSettings();v.setState.apply(this,arguments),o.restoreMarkerSettings(e)},o.prototype.haloPath=function(){var t=this.series.chart.polar,o=[];return this.plotY=this.plotLow,t&&C(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(o=v.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&C(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(o=o.concat(v.haloPath.apply(this,arguments))),o},o.prototype.isValid=function(){return C(this.low)&&C(this.high)},o}(g),S=(i=function(t,o){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])})(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=t}i(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),b=c().extend,x=c().pick,k=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return S(o,t),o.prototype.setState=function(){var t,o,r,e=this.series,i=e.chart,n=e.options.lowColor,s=e.options.marker,h=e.options.lowMarker,p=this.options,a=p.lowColor,l=this.zone&&this.zone.color,c=x(a,null==h?void 0:h.fillColor,n,p.color,l,this.color,e.color),u="attr";if(this.pointSetState.apply(this,arguments),!this.state){u="animate";var y=this.graphics||[],d=y[0],f=y[1];d&&!i.styledMode&&(d.attr({fill:c}),f&&(r={y:this.y,zone:this.zone},this.y=this.high,this.zone=this.zone?this.getZone():void 0,o=x(this.marker?this.marker.fillColor:void 0,s?s.fillColor:void 0,p.color,this.zone?this.zone.color:void 0,this.color),f.attr({fill:o}),b(this,r)))}null==(t=this.connector)||t[u](e.getConnectorAttribs(this))},o.prototype.destroy=function(){return this.graphic||(this.graphic=this.connector,this.connector=void 0),t.prototype.destroy.call(this)},o}(m);b(k.prototype,{pointSetState:m.prototype.setState});var P={trackByArea:!1,fillColor:"none",lineWidth:0,pointRange:1,connectorWidth:1,stickyTracking:!1,groupPadding:.2,crisp:!1,pointPadding:.1,legendSymbol:"rectangle",lowColor:"#333333",states:{hover:{lineWidthPlus:0,connectorWidthPlus:1,halo:!1}}},_=p(540),M=p.n(_),X=(n=function(t,o){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])})(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),z=c().noop,O=y().seriesTypes,A=O.arearange,G=O.column,j=O.columnrange,H=c().extend,L=c().merge,T=c().pick,R=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return X(o,t),o.prototype.getConnectorAttribs=function(t){var o,r=this.chart,e=t.options,i=this.options,n=this.xAxis,s=this.yAxis,h=T(i.states&&i.states.hover&&i.states.hover.connectorWidthPlus,1),p=T(e.dashStyle,i.dashStyle),a=s.toPixels(i.threshold||0,!0),l=r.inverted?s.len-a:a,c=T(e.connectorWidth,i.connectorWidth),u=T(e.connectorColor,i.connectorColor,e.color,t.zone?t.zone.color:void 0,t.color),y=T(t.plotLow,t.plotY),d=T(t.plotHigh,l);if("number"!=typeof y)return{};t.state&&(c+=h),y<0?y=0:y>=s.len&&(y=s.len),d<0?d=0:d>=s.len&&(d=s.len),(t.plotX<0||t.plotX>n.len)&&(c=0),t.graphics&&t.graphics[1]&&(o={y:t.y,zone:t.zone},t.y=t.high,t.zone=t.zone?t.getZone():void 0,u=T(e.connectorColor,i.connectorColor,e.color,t.zone?t.zone.color:void 0,t.color),H(t,o));var f={d:M().prototype.crispLine([["M",t.plotX,y],["L",t.plotX,d]],c)};return!r.styledMode&&(f.stroke=u,f["stroke-width"]=c,p&&(f.dashstyle=p)),f},o.prototype.drawConnector=function(t){var o=T(this.options.animationLimit,250),r=t.connector&&this.chart.pointCount<o?"animate":"attr";t.connector||(t.connector=this.chart.renderer.path().addClass("highcharts-lollipop-stem").attr({zIndex:-1}).add(this.group)),t.connector[r](this.getConnectorAttribs(t))},o.prototype.getColumnMetrics=function(){var t=G.prototype.getColumnMetrics.apply(this,arguments);return t.offset+=t.width/2,t},o.prototype.translate=function(){var t=this.chart.inverted;this.setShapeArgs.apply(this),this.translatePoint.apply(this,arguments);for(var o=0,r=this.points;o<r.length;o++){var e=r[o],i=e.pointWidth,n=e.shapeArgs,s=void 0===n?{}:n,h=e.tooltipPos;e.plotX=s.x||0,s.x=e.plotX-i/2,h&&(t?h[1]=this.xAxis.len-e.plotX:h[0]=e.plotX)}this.columnMetrics.offset-=this.columnMetrics.width/2},o.prototype.drawPoints=function(){var t,o,r,e=this.chart,i=this.points.length,n=this.lowColor=this.options.lowColor,s=this.options.lowMarker,h=0;for(this.seriesDrawPoints.apply(this,arguments);h<i;){var p=(o=this.points[h]).graphics||[],a=p[0],l=p[1];this.drawConnector(o),l&&(l.element.point=o,l.addClass("highcharts-lollipop-high")),o.connector&&(o.connector.element.point=o),a&&(r=o.zone&&o.zone.color,t=T(o.options.lowColor,null==s?void 0:s.fillColor,n,o.options.color,r,o.color,this.color),e.styledMode||a.attr({fill:t}),a.addClass("highcharts-lollipop-low")),h++}},o.prototype.pointAttribs=function(o,r){var e=t.prototype.pointAttribs.apply(this,arguments);return"hover"===r&&delete e.fill,e},o.prototype.setShapeArgs=function(){G.prototype.translate.apply(this),j.prototype.afterColumnTranslate.apply(this)},o.defaultOptions=L(A.defaultOptions,P),o}(A);H(R.prototype,{crispCol:G.prototype.crispCol,drawGraph:z,drawTracker:G.prototype.drawTracker,pointClass:k,seriesDrawPoints:A.prototype.drawPoints,trackerGroups:["group","markerGroup","dataLabelsGroup"],translatePoint:A.prototype.translate}),y().registerSeriesType("dumbbell",R);var W=c();return a.default}()});