/**
 * Highcharts JS v11.3.0 (2024-01-10)
 *
 * Dot plot series type for Highcharts
 *
 * (c) 2010-2024 Torstein Honsi
 *
 * License: www.highcharts.com/license
 */!function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/modules/dotplot",["highcharts"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){"use strict";var e=t?t._modules:{};function o(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}o(e,"Series/DotPlot/DotPlotSeriesDefaults.js",[],function(){return{itemPadding:.2,marker:{symbol:"circle",states:{hover:{},select:{}}}}}),o(e,"Series/DotPlot/DotPlotSeries.js",[e["Series/DotPlot/DotPlotSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,o){var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=e.seriesTypes.column,n=o.extend,a=o.merge,d=o.pick,l=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return r(o,e),o.prototype.drawPoints=function(){for(var t=this.options,e=this.chart.renderer,o=t.marker,i=this.yAxis.transA*t.itemPadding,r=this.borderWidth%2?.5:1,s=0,a=this.points;s<a.length;s++){var l=a[s],c=l.marker||{},h=c.symbol||o.symbol,p=d(c.radius,o.radius),u="rect"!==h,f=void 0,y=void 0,v=void 0,m=void 0,g=void 0,A=void 0,P=void 0;l.graphics=v=l.graphics||[];var b=l.pointAttr?l.pointAttr[l.selected?"selected":""]||this.pointAttr[""]:this.pointAttribs(l,l.selected&&"select");if(delete b.r,this.chart.styledMode&&(delete b.stroke,delete b["stroke-width"]),null!==l.y){l.graphic||(l.graphic=e.g("point").add(this.group)),g=d(l.stackY,l.y),m=Math.min(l.pointWidth,this.yAxis.transA-i);var _=Math.floor(g);for(f=g;f>g-l.y;f--,_--){A=l.barX+(u?l.pointWidth/2-m/2:0),P=this.yAxis.toPixels(f,!0)+i/2,this.options.crisp&&(A=Math.round(A)-r,P=Math.round(P)+r),y={x:A,y:P,width:Math.round(u?m:l.pointWidth),height:Math.round(m),r:p};var j=v[_];j?j.animate(y):j=e.symbol(h).attr(n(y,b)).add(l.graphic),j.isActive=!0,v[_]=j}}for(var w=-1,x=0,S=v;x<S.length;x++){var j=S[x];++w,j&&(j.isActive?j.isActive=!1:(j.destroy(),v.splice(w,1)))}}},o.defaultOptions=a(s.defaultOptions,t),o}(s);return n(l.prototype,{markerAttribs:void 0}),e.registerSeriesType("dotplot",l),l}),o(e,"masters/modules/dotplot.src.js",[],function(){})});