!/**
 * Highcharts JS v13.0.0 (2026-06-11)
 * @module highcharts/modules/series-on-point
 * @requires highcharts
 *
 * Series on point module
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Rafał Sebestjański and Piotr Madej
 *
 * A commercial license may be required depending on use,
 * see www.highcharts.com/license
 */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.Point,t._Highcharts.SeriesRegistry,t._Highcharts.SVGRenderer):"function"==typeof define&&define.amd?define("highcharts/modules/series-on-point",["highcharts/highcharts"],function(t){return e(t,t.Point,t.SeriesRegistry,t.SVGRenderer)}):"object"==typeof exports?exports["highcharts/modules/series-on-point"]=e(t._Highcharts,t._Highcharts.Point,t._Highcharts.SeriesRegistry,t._Highcharts.SVGRenderer):t.Highcharts=e(t.Highcharts,t.Highcharts.Point,t.Highcharts.SeriesRegistry,t.Highcharts.SVGRenderer)}("u"<typeof window?this:window,(t,e,s,i)=>(()=>{"use strict";var o,r={260:t=>{t.exports=e},512:t=>{t.exports=s},540:t=>{t.exports=i},944:e=>{e.exports=t}},n={};function h(t){var e=n[t];if(void 0!==e)return e.exports;var s=n[t]={exports:{}};return r[t](s,s.exports,h),s.exports}h.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return h.d(e,{a:e}),e},h.d=(t,e)=>{for(var s in e)h.o(e,s)&&!h.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},h.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var a={};h.d(a,{default:()=>j});var l=h(944),d=h.n(l);let{setLength:u,splice:c}={convertToNumber:function(t,e){switch(typeof t){case"boolean":return+!!t;case"number":return isNaN(t)&&!e?null:t;default:return isNaN(t=parseFloat(`${t??""}`))&&!e?null:t}},setLength:function(t,e,s){return Array.isArray(t)?(t.length=e,t):t[s?"subarray":"slice"](0,e)},splice:function(t,e,s,i,o=[]){if(Array.isArray(t))return Array.isArray(o)||(o=Array.from(o)),{removed:t.splice(e,s,...o),array:t};let r=Object.getPrototypeOf(t).constructor,n=t[i?"subarray":"slice"](e,e+s),h=new r(t.length-s+o.length);return h.set(t.subarray(0,e),0),h.set(o,e),h.set(t.subarray(e+s),e+o.length),{removed:n,array:h}}},p=class{constructor(t={}){this.isDataTable=!0,this.autoId=!t.id,this.columns={},this.id=t.id||(0,l.uniqueKey)(),this.rowCount=0,this.versionTag=(0,l.uniqueKey)();let e=0;(0,l.objectEach)(t.columns||{},(t,s)=>{this.columns[s]=t.slice(),e=Math.max(e,t.length)}),this.applyRowCount(e)}applyRowCount(t){this.rowCount=t,(0,l.objectEach)(this.columns,(e,s)=>{e.length!==t&&(this.columns[s]=u(e,t))})}deleteRows(t,e=1){if(e>0&&t<this.rowCount){let s=0;(0,l.objectEach)(this.columns,(i,o)=>{this.columns[o]=c(i,t,e).array,s=i.length}),this.rowCount=s}(0,l.fireEvent)(this,"afterDeleteRows",{rowIndex:t,rowCount:e}),this.versionTag=(0,l.uniqueKey)()}getColumn(t,e){return this.columns[t]}getColumns(t,e){return(t||Object.keys(this.columns)).reduce((t,e)=>(t[e]=this.columns[e],t),{})}getRowObject(t,e){let s={},i=this.columns;for(let o of(e??(e=Object.keys(this.columns)),e))s[o]=i[o]?.[t];return s}setColumn(t,e=[],s=0,i){this.setColumns({[t]:e},s,i)}setColumns(t,e,s){let i=this.rowCount;(0,l.objectEach)(t,(t,e)=>{this.columns[e]=t.slice(),i=t.length}),this.applyRowCount(i),s?.silent||((0,l.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,l.uniqueKey)())}setRow(t,e=this.rowCount,s,i){var o;let{columns:r}=this,n=s?this.rowCount+1:e+1,h=Object.keys(t);if(i?.addColumns!==!1)for(let t=0,e=h.length;t<e;t++)r[o=h[t]]||(r[o]=Array(this.rowCount));(0,l.objectEach)(r,(i,o)=>{i&&(s?i=c(i,e,0,!0,[t[o]]).array:i[e]=o in t?t[o]:i[e],r[o]=i)}),this.applyRowCount(Math.max(n,this.rowCount)),i?.silent||((0,l.fireEvent)(this,"afterSetRows",{rowIndex:e}),this.versionTag=(0,l.uniqueKey)())}getModified(){return this.modified||this}};var f=h(260),y=h.n(f),g=h(512),m=h.n(g),b=h(540),w=h.n(b);let{composed:v}=d(),{bubble:C}=m().seriesTypes;var x=o||(o={});x.compose=function(t,e){if((0,l.pushUnique)(v,"SeriesOnPoint")){let{chartGetZData:s,seriesAfterInit:i,seriesAfterRender:o,seriesGetCenter:r,seriesShowOrHide:n,seriesTranslate:h}=P.prototype;t.types.pie.prototype.onPointSupported=!0,(0,l.addEvent)(t,"afterInit",i),(0,l.addEvent)(t,"afterRender",o),(0,l.addEvent)(t,"afterGetCenter",r),(0,l.addEvent)(t,"hide",n),(0,l.addEvent)(t,"show",n),(0,l.addEvent)(t,"translate",h),(0,l.addEvent)(e,"beforeRender",s),(0,l.addEvent)(e,"beforeRedraw",s)}return t};class P{constructor(t){this.getColumn=C.prototype.getColumn,this.getRadii=C.prototype.getRadii,this.getRadius=C.prototype.getRadius,this.getPxExtremes=C.prototype.getPxExtremes,this.getZExtremes=C.prototype.getZExtremes,this.chart=t.chart,this.series=t,this.options=t.options.onPoint}drawConnector(){this.connector||(this.connector=this.series.chart.renderer.path().addClass("highcharts-connector-seriesonpoint").attr({zIndex:-1}).add(this.series.markerGroup));let t=this.getConnectorAttributes();t&&this.connector.animate(t)}getConnectorAttributes(){let t=this.series.chart,e=this.options;if(!e)return;let s=e.connectorOptions||{},i=e.position,o=t.get(e.id);if(!(o instanceof y())||!i||!(0,l.defined)(o.plotX)||!(0,l.defined)(o.plotY))return;let r=(0,l.defined)(i.x)?i.x:o.plotX,n=(0,l.defined)(i.y)?i.y:o.plotY,h=r+(i.offsetX||0),a=n+(i.offsetY||0),d=s.width||1,u=s.stroke||this.series.color,c=s.dashstyle,p={d:w().prototype.crispLine([["M",r,n],["L",h,a]],d),"stroke-width":d};return t.styledMode||(p.stroke=u,p.dashstyle=c),p}seriesAfterInit(){this.onPointSupported&&this.options.onPoint&&(this.bubblePadding=!0,this.useMapGeometry=!0,this.onPoint=new P(this))}seriesAfterRender(){delete this.chart.bubbleZExtremes,this.onPoint&&this.onPoint.drawConnector()}seriesGetCenter(t){let e=this.options.onPoint,s=t.positions;if(e){let t=this.chart.get(e.id);t instanceof y()&&(0,l.defined)(t.plotX)&&(0,l.defined)(t.plotY)&&(s[0]=t.plotX,s[1]=t.plotY);let i=e.position;i&&((0,l.defined)(i.x)&&(s[0]=i.x),(0,l.defined)(i.y)&&(s[1]=i.y),i.offsetX&&(s[0]+=i.offsetX),i.offsetY&&(s[1]+=i.offsetY))}let i=this.radii&&this.radii[this.index];(0,l.isNumber)(i)&&(s[2]=2*i),t.positions=s}seriesShowOrHide(){let t=this.chart.series;this.points?.forEach(e=>{let s=(0,l.find)(t,t=>{let s=((t.onPoint||{}).options||{}).id;return!!s&&s===e.id});s&&s.setVisible(!s.visible,!1)})}seriesTranslate(){this.onPoint&&(this.onPoint.getRadii(),this.radii=this.onPoint.radii)}chartGetZData(){let t=[];this.series.forEach(e=>{let s=e.options.onPoint;t.push(s?.z??null)});let e=new p({columns:{z:t}});this.series.forEach(t=>{t.onPoint&&(t.onPoint.dataTable=t.dataTable=e)})}}x.Additions=P;let R=o,E=d();R.compose(E.Series,E.Chart);let j=d();return a.default})());